A method and device for creating a house type, an electronic device, and a storage medium

CN117171844BActive Publication Date: 2026-09-25CHINA CONSTRUCTION SCIENCE & TECHNOLOGY GROUP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311029054.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-15
Publication Date
2026-09-25
Estimated Expiration
2043-08-15

AI Technical Summary

Technical Problem

[0003]为解决上述问题,本发明实施例的目的在于提供一种创建户型的方法、创建户型的装置、电子设备及计算机可读存储介质,旨在解决现有技术中户型设计图难以拆分成模块的问题

Benefits of technology

[0044]本发明实施例提供的方案中,在创建当前户型时,根据当前户型中的已创建模块的信息,确定正在被创建的当前模块在当前户型中的位置;在创建当前模块时,接收用户为当前模块选择的当前功能区,如果当前功能区和当前模块中的已选功能区的结合,符合预设的模块要求,则将当前功能区新增为当前模块的已选功能区。相较于现有技术中先生成户型设计图,再将户型设计图拆分成多个模块的方式,本申请采用模块化的思维创建户型,在创建当前户型的同时,创建出组成当前户型的多个模块,并且每个模块中的多个功能区的结合符合模块要求,因此后续不需要对户型设计图进行拆分,从而有效解决了现有技术中户型设计图难以拆分成模块的问题。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117171844B_ABST
    Figure CN117171844B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a method and device for creating a house type, electronic equipment and a storage medium, aiming at solving the problem that the house type design drawing is difficult to be split into modules in the prior art. The method for creating a house type comprises: determining the position of a current module in a current house type according to the information of the created modules in the current house type; receiving a current functional area selected by a user for the current module; and adding the current functional area as a selected functional area of the current module under the condition that the combination of the current functional area and the selected functional area in the current module meets the preset module requirement. The present application creates a house type by modular thinking, creates multiple modules constituting the current house type while creating the current house type, and the combination of each functional area in each module meets the module requirement, thereby solving the problem that the house type design drawing is difficult to be split into modules in the prior art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of modular construction, and more specifically, to a method for creating a unit type, an apparatus for creating a unit type, an electronic device, and a computer-readable storage medium. Background Technology

[0002] In the construction of modular buildings, various types of modules are typically prefabricated in a prefabrication plant, then transported to the construction site, and finally installed in their respective positions using hoisting equipment to assemble complete apartment layouts and floors. In existing technologies, before prefabricating modules, it is necessary to obtain the apartment layout design drawings in advance and break them down into multiple modules. Only then can the prefabrication plant prefabricate the modules based on this breakdown information. However, when breaking down the apartment layout design drawings, each module must meet specific requirements (such as the prefabrication plant's processing requirements), making the breakdown process difficult, or even impossible, thus impacting the construction progress of the modular building. Summary of the Invention

[0003] To address the aforementioned problems, the present invention aims to provide a method for creating apartment layouts, an apparatus for creating apartment layouts, an electronic device, and a computer-readable storage medium, thereby resolving the issue that apartment layout designs are difficult to break down into modules in the prior art.

[0004] In a first aspect, embodiments of the present invention provide a method for creating apartment layouts, the method comprising:

[0005] Based on the information of the modules already created in the current apartment type, determine the position of the current module within the current apartment type; the current apartment type is the apartment type that is being created, and the current module is the module that is being created within the current apartment type;

[0006] The system receives the current function area selected by the user for the current module. If the combination of the current function area and the selected function areas in the current module meets the preset module requirements, the current function area is added as a selected function area of ​​the current module.

[0007] Optionally, the method further includes:

[0008] Based on the information of the selected function areas in the current module, display function area options that meet the requirements of the module to the user;

[0009] The step of receiving the current function area selected by the user for the current module includes:

[0010] Receive the current function area selected by the user for the current module from the function area options.

[0011] Optionally, the module requirements include module size requirements; the step of displaying function area options that meet the module requirements to the user based on the information of the selected function areas in the current module includes:

[0012] For the extendable side of the selected functional area, candidate functional areas corresponding to the extendable side are determined according to the module size requirements and the current size of the current module; wherein, after each candidate functional area is added to the current module, the new size of the current module meets the module size requirements;

[0013] Based on the candidate functional areas corresponding to the extendable side, generate functional area options corresponding to the extendable side, and display the functional area options.

[0014] Optionally, the step of determining the position of the current module within the current apartment type based on the information of the modules already created in the current apartment type includes:

[0015] Based on the first target information of the created modules in the current apartment type, determine the starting point of the current module in the current apartment type; wherein, the first target information includes at least one of the following: the corner position of the selected functional area in the created module, and the standard width of the corridor.

[0016] Optionally, the step of determining the position of the current module within the current apartment type based on the information of the modules already created in the current apartment type further includes:

[0017] Based on the second target information and starting point of the existing modules in the current apartment type, determine the extension direction of the current module in the current apartment type.

[0018] Optionally, the method further includes:

[0019] When creating the first module for the current apartment type, the user selects a living room, which is either a vertical living room or a horizontal living room.

[0020] For the extendable side of the living room, candidate functional areas are determined according to the type of the living room. The combination of each candidate functional area and the living room meets the module requirements.

[0021] Optionally, the method further includes:

[0022] The current module is identified as an already created module.

[0023] Optionally, the step of determining the current module as a created module includes:

[0024] In response to receiving a module confirmation operation from the user, the current module is determined to be a created module.

[0025] Optionally, the method further includes:

[0026] The type of the created module is determined based on the functional areas included in the created module;

[0027] Based on the type of the created module, display the decoration standard options corresponding to the type to the user, and receive the decoration standard selected by the user for the created module.

[0028] Optionally, the step of determining the type of the created module based on the functional areas included in the created module includes:

[0029] If the created module includes a kitchen, the type of the created module is determined to be a first type;

[0030] If the created module includes a bathroom but not a kitchen, the type of the created module will be determined as the second type.

[0031] If the created module does not include a kitchen or a bathroom, the type of the created module is determined to be a third type.

[0032] Optionally, the method further includes:

[0033] Calculate the total renovation cost of the apartment based on the renovation standards of each created module;

[0034] Determine whether the total renovation cost exceeds a preset cost threshold and output the determination result.

[0035] Alternatively, each module can be a prefabricated product of a prefabrication plant.

[0036] Secondly, embodiments of the present invention also provide an apparatus for creating apartment layouts, the apparatus comprising:

[0037] The location determination unit is used to determine the location of the current module within the current apartment type based on information about the modules already created in the current apartment type; the current apartment type is the apartment type being created, and the current module is the module being created within the current apartment type;

[0038] The function area determination unit is used to receive the current function area selected by the user for the current module, and if the combination of the current function area and the selected function areas in the current module meets the preset module requirements, the current function area is added as a selected function area of ​​the current module.

[0039] Thirdly, embodiments of the present invention also provide an electronic device, the electronic device comprising:

[0040] Memory, used to store executable instructions;

[0041] A processor, when executing executable instructions stored in the memory, implements the method for creating a house type as described in any of the first aspects above.

[0042] Fourthly, embodiments of the present invention also provide a computer-readable storage medium storing executable instructions, which, when executed by a processor, implement the method for creating a house type as described in any of the first aspects above.

[0043] This application has the following beneficial effects:

[0044] In the solution provided by this invention, when creating the current apartment type, the position of the current module being created within the current apartment type is determined based on the information of the modules already created in the current apartment type. When creating the current module, the current functional area selected by the user for the current module is received. If the combination of the current functional area and the selected functional areas in the current module meets the preset module requirements, the current functional area is added as a selected functional area of ​​the current module. Compared to the prior art method of first generating an apartment design drawing and then splitting it into multiple modules, this application adopts a modular approach to create the apartment type. While creating the current apartment type, multiple modules constituting the current apartment type are created simultaneously, and the combination of multiple functional areas in each module meets the module requirements. Therefore, it is not necessary to split the apartment design drawing subsequently, thus effectively solving the problem of the difficulty in splitting apartment design drawings into modules in the prior art. Attached Figure Description

[0045] The accompanying drawings, which are provided to further illustrate this application and form part of this application, illustrate exemplary embodiments of this application and are used to explain this application, but do not constitute an undue limitation of this application.

[0046] Figure 1 This is a flowchart illustrating a method for creating a house type according to an embodiment of this application;

[0047] Figure 2 This is a flowchart illustrating a method for creating a house type according to another embodiment of this application;

[0048] Figure 3(a) is a schematic diagram of the apartment type creation process provided in an embodiment of this application;

[0049] Figure 3(b) is a schematic diagram of the apartment type creation process provided in an embodiment of this application;

[0050] Figure 3(c) is a schematic diagram of the apartment type creation process provided in an embodiment of this application;

[0051] Figure 4 This is a schematic diagram of the apartment type creation process provided in one embodiment of this application;

[0052] Figure 5 This is a flowchart illustrating a method for creating a house type according to another embodiment of this application;

[0053] Figure 6(a) is a schematic diagram of the apartment type creation process provided in an embodiment of this application;

[0054] Figure 6(b) is a schematic diagram of the apartment type creation process provided in an embodiment of this application;

[0055] Figure 6(c) is a schematic diagram of the apartment type creation process provided in an embodiment of this application;

[0056] Figure 6(d) is a schematic diagram of the apartment type creation process provided in an embodiment of this application;

[0057] Figure 7(a) is a schematic diagram of the apartment type creation process provided in an embodiment of this application;

[0058] Figure 7(b) is a schematic diagram of the apartment type creation process provided in an embodiment of this application;

[0059] Figure 8 This is a flowchart illustrating a method for creating a house type according to another embodiment of this application;

[0060] Figure 9 This is a schematic diagram of the structure of a device for creating apartment layouts according to an embodiment of this application;

[0061] Figure 10 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0062] To make the technical solutions and advantages of the embodiments of this application clearer, the exemplary embodiments of this application will be described in further detail below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not an exhaustive list of all embodiments. It should be noted that, unless otherwise specified, the embodiments and features in the embodiments of this application can be combined with each other.

[0063] In the description of this invention, it should be understood that the terms "vertical," "horizontal," "inner," "outer," "upper," "lower," "front," "rear," "left," "right," "center," "longitudinal," "transverse," "length," "width," and "thickness," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this invention.

[0064] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this invention, "a plurality of" means two or more, unless otherwise explicitly specified.

[0065] In this invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," "linking," and "fixing," etc., should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.

[0066] In existing technologies, before prefabricating modules for modular buildings, it is necessary to obtain the floor plan design drawings in advance and break them down into multiple modules. Only then can the prefabrication plant prefabricate the modules based on the module breakdown information. However, when breaking down the floor plan design drawings, each module must meet module requirements (such as the prefabrication plant's processing requirements for the modules), which makes the breakdown process difficult or even impossible, thus affecting the construction progress of the modular building.

[0067] To address the problem of existing floor plan designs being difficult to break down into modules, this application provides a method for creating floor plans through the following embodiments. (Reference) Figure 1 , Figure 1 This is a flowchart illustrating a method for creating a house type according to an embodiment of this application. Figure 1 As shown, the method includes:

[0068] S110: Determine the position of the current module within the current apartment type based on the information of the modules already created in the current apartment type; where the current apartment type is the apartment type being created, and the current module is the module being created within the current apartment type.

[0069] S120: Receive the current function area selected by the user for the current module. If the combination of the current function area and the selected function areas in the current module meets the preset module requirements, add the current function area as the selected function area of ​​the current module.

[0070] In practice, the system (i.e., the apartment type creation system) displays the apartment type currently being created to the user. Initially, the first module of the apartment type is not yet complete. As the creation process progresses, one or more modules are completed, forming the apartment type. At the beginning of module creation, no functional areas are selected within the module. As the module creation process progresses, one or more functional areas are selected, forming the module. These functional areas include, but are not limited to, the living room, dining room, kitchen, bedroom, and bathroom. In this application, the apartment type being created is referred to as the current apartment type, the module being created is referred to as the current module, the module that has already been created is referred to as the created module, the functional areas already selected within the module are referred to as the selected functional areas, and the functional area just selected by the user is referred to as the current functional area. In this application, each module is treated as a prefabricated product by the prefabrication plant, and the prefabrication plant produces each module as a whole.

[0071] By executing the methods described above, including steps S110 and S120, when creating the current apartment type, the position of the current module being created within the current apartment type is determined based on the information of the already created modules in the current apartment type. When creating the current module, the current functional area selected by the user for the current module is received. If the combination of the current functional area and the selected functional areas in the current module meets the preset module requirements, the current functional area is added as a selected functional area of ​​the current module. Compared to the prior art method of first generating an apartment type design drawing and then splitting the apartment type design drawing into multiple modules, this application adopts a modular approach to create apartment types. While creating the current apartment type, multiple modules constituting the current apartment type are created simultaneously, and the combination of multiple functional areas in each module meets the module requirements. Therefore, it is not necessary to split the apartment type design drawing subsequently, thus effectively solving the problem of the difficulty in splitting apartment type design drawings into modules in the prior art.

[0072] When performing the above steps S110 and S120, the specific execution order may be as follows: first, execute step S110 to determine the position of the current module in the current apartment type, and then execute step S120 once or multiple times to select one or more functional areas for the current module.

[0073] refer to Figure 2 , Figure 2 This is a flowchart illustrating a method for creating a house type according to another embodiment of this application. For example... Figure 2 As shown, the method includes:

[0074] S210: Determine the position of the current module within the current apartment type based on the information of the modules already created in the current apartment type; where the current apartment type is the apartment type being created, and the current module is the module being created within the current apartment type.

[0075] S220: Based on the information of the selected function areas in the current module, display function area options that meet the module requirements to the user.

[0076] S230: Receive the current ribbon selected by the user for the current module from the ribbon options.

[0077] In this application, by displaying function area options that meet the module requirements to the user, the user can only select function areas for the current module from the displayed function area options, thereby ensuring that the combination of the currently selected function area and the selected function areas meets the module requirements. Therefore, upon receiving the current function area selected by the user from the function area options, the currently selected function area can be directly added to the selected function areas of the current module.

[0078] In some specific implementations, module requirements include module size requirements. The detailed steps of step S220 include: S220-1, for the extendable side of the selected functional area, determining the candidate functional areas corresponding to the extendable side based on the module size requirements and the current size of the current module; wherein, after each candidate functional area is added to the current module, the new size of the current module meets the module size requirements; S220-2, generating functional area options corresponding to the extendable side based on the candidate functional areas corresponding to the extendable side, and displaying the functional area options.

[0079] The module size requirements can be: the module length does not exceed a length threshold X, and the module width does not exceed a width threshold Y. By limiting the module length to no more than the length threshold X and the module width to no more than the width threshold Y, the module size can meet the production conditions of the prefabrication plant and / or the transportation conditions of the transfer equipment (such as trucks). For ease of understanding, for example, due to the size limitations of the prefabrication plant's workbench and the length and width limitations of the transfer equipment, the maximum module size that can be produced and transferred is 12 meters long and 4 meters wide. Therefore, the specific module size requirements are: the module length does not exceed 12 meters, and the module width does not exceed 4 meters.

[0080] In this application, the extendable side of the selected functional area refers to the side of the selected functional area that can be connected to a new functional area.

[0081] In some specific implementations A, the extendable side of the selected functional area specifically includes the following two cases: 1) Among the multiple sides of the selected functional area, if one side has been connected to another selected functional area of ​​the current module, and the other side opposite to that side has not been connected to any functional area, then that other side is the extendable side of the selected functional area; 2) Among the multiple sides of the selected functional area, none of the sides are connected to another selected functional area of ​​the current module (in other words, the selected functional area is the only selected functional area of ​​the current module), then among the multiple sides of the selected functional area, any side that is not connected to a selected functional area of ​​another module is the extendable side of the selected functional area.

[0082] For situation 1) above, for ease of understanding, as exemplified in Figure 3(a), the solid box represents a created module, and the dashed box represents the current module (i.e., the module being created). The created module includes three selected functional areas: living room, dining room, and kitchen. The current module includes two selected functional areas: bedroom 1 and bedroom 2. For the four sides a, b, c, and d of bedroom 1, side c connects to another selected functional area of ​​the current module (i.e., bedroom 2). However, side a, opposite to side c, already connects to the living room functional area. Therefore, side a of bedroom 1 cannot be considered an extendable side of bedroom 1. For the four sides a, b, c, and d of bedroom 2, side a connects to another selected functional area of ​​the current module (i.e., bedroom 1). Side c, opposite to side a, has not yet connected to any functional area. Therefore, side c of bedroom 2 is an extendable side of bedroom 2.

[0083] For situation 2) above, for ease of understanding, as exemplarily shown in Figure 3(b), the solid box represents a created module, and the dashed box represents the current module (i.e., the module being created). The created module includes three selected functional areas: living room, dining room, and kitchen. The current module only includes one selected functional area: bedroom 1. For the four sides a, b, c, and d of bedroom 1, none are connected to other selected functional areas of the current module. Since sides b, c, and d are not connected to selected functional areas of other modules, sides b, c, and d of bedroom 1 are all extendable sides of bedroom 1. Furthermore, if we combine this with the embodiments mentioned later in the specification, i.e., determining the extension direction of the current module in the current apartment layout based on the second target information and starting point of the created modules in the current apartment layout, then side d cannot be considered an extendable side of bedroom 1; only sides b and c can be considered extendable sides of bedroom 1, as shown in Figure 3(b).

[0084] In some other specific implementations B, the extendable side of a selected functional area specifically refers to the side of the selected functional area that has not yet been connected to another functional area. For ease of understanding, exemplarily, as shown in Figure 3(c), the solid box represents a created module, and the dashed box represents the current module (i.e., the module being created). The created module includes three selected functional areas: living room, dining room, and kitchen. The current module includes two selected functional areas: bedroom 1 and bedroom 2. For the four sides a, b, c, and d of bedroom 1, sides b and d are not connected to any functional areas, therefore sides b and d are both extendable sides of bedroom 1. For the four sides a, b, c, and d of bedroom 2, sides b, c, and d are not connected to any functional areas, therefore sides b, c, and d are all extendable sides of bedroom 2.

[0085] In this application, for each extendable side of each selected functional area, candidate functional areas corresponding to each extendable side can be determined, and functional area options corresponding to each extendable side can be generated based on the candidate functional areas, thereby displaying the functional area options corresponding to each extendable side to the user. Alternatively, based on the user's selection of an extendable side, the functional area options corresponding to that extendable side can be displayed for the user's selected extendable side.

[0086] When determining the candidate functional areas for a given extendable side, the current size of the current module is first determined based on the dimensions of each selected functional area within the current module. For ease of understanding, as follows: Figure 4 As shown, the solid-lined box represents a created module, and the dashed-lined box represents the current module (i.e., the module being created). The created module includes three selected functional areas: living room, dining room, and kitchen. The current module includes two selected functional areas: bedroom 1 and bedroom 2. Bedroom 1 has a width of 3.6 meters and a length of 3.3 meters, and bedroom 2 also has a width of 3.6 meters and a length of 3.3 meters. Therefore, the current module's current width is 3.6 meters and its current length is 6.6 meters. Then, based on the module size requirements and the current module's current dimensions, the candidate functional areas corresponding to the extendable side are determined. For ease of understanding, the following explanation is divided into case a and case b.

[0087] Scenario a: The dimensions of each functional area are fixed and unique. For example, the bedroom dimensions can only be 3.6 × 3.3 meters, and the bathroom dimensions can only be 2.5 × 1.5 meters. Assume the module size requirements are: module length not exceeding 12 meters, and module width not exceeding 4 meters. Then, when determining candidate functional areas for the extendable side a of bedroom 2, for each functional area, add the length of that functional area to the current length of the current module. If the sum does not exceed 12 meters, and the width of that functional area does not exceed 4 meters, then that functional area belongs to a candidate functional area corresponding to extendable side a. When determining candidate functional areas for the extendable side b of bedroom 2, for each functional area, the width of the functional area is added to the current width of the current module. If the sum does not exceed 4 meters and the length of the functional area does not exceed 12 meters, then the functional area belongs to a candidate functional area corresponding to the extendable side b. However, since the current width of the current module is already 3.6 meters, under normal circumstances, the sum of the width of any functional area and the current width of the current module will exceed 4 meters. Therefore, the extendable side b does not have any candidate functional areas.

[0088] Scenario b: The dimensions of each functional area are fixed but not unique. For example, the width of a bedroom can only be chosen from 3.0 meters, 3.3 meters, and 3.6 meters, and the length can only be chosen from 2.7 meters, 3.0 meters, and 3.3 meters. Similarly, the width of a bathroom can only be chosen from 2.7 meters, 3.0 meters, and 3.3 meters, and the length can only be chosen from 1.5 meters and 1.8 meters. Assume the specific module size requirements are: module length not exceeding 12 meters, and module width not exceeding 4 meters. When determining candidate functional areas for the extendable side a of bedroom 2, for each functional area, each optional length of the functional area is added to the current length of the current module. If some optional lengths of the functional area, when added to the current length of the current module, do not exceed 12 meters, and some optional widths of the functional area do not exceed 4 meters, then the functional area is determined as a candidate functional area for the extendable side a, and these optional lengths and these optional widths are determined as candidate dimensions of the candidate functional area. If the user subsequently selects the candidate functional area for the current module, the length and width of the selected functional area can be configured from the candidate dimensions. When determining candidate functional areas for the extendable side b of bedroom 2, for each functional area, each optional width of the functional area is added to the current width of the current module. If some optional widths of the functional area, when added to the current width of the current module, do not exceed 4 meters, and some optional lengths of the functional area do not exceed 12 meters, then the functional area is determined as a candidate functional area of ​​the extendable side b, and these optional lengths and these optional widths are determined as candidate dimensions of the candidate functional area. However, since the current width of the current module is already 3.6 meters, under normal circumstances, the sum of any optional width of any functional area and the current width of the current module will exceed 4 meters. Therefore, the extendable side b does not have any candidate functional areas.

[0089] It should be noted that in cases a and b above, the extendable side of the selected functional area is determined according to the method described in specific implementation B above. If the extendable side of the selected functional area is determined according to specific implementation A above, then... Figure 4 In the middle bedroom, there is only one extendable side a, and no extendable side b. In this case, if the optional width of each functional area does not exceed 4 meters, then the aforementioned module size requirement does not need to limit the width to no more than 4 meters (because this will be naturally satisfied), and it is only necessary to limit the module length to no more than 12 meters.

[0090] It should also be noted that the above-described specific embodiments have provided detailed specifications for the preset module requirements in terms of module size. However, this application does not limit the module requirements to only module size. For example, considering the different decoration standards of different functional areas, such as functional area x and functional area y having significantly different decoration standards, if functional area x and functional area y are placed in the same module, it would be difficult for the prefabrication plant to decorate functional area x and functional area y separately according to their respective decoration standards when producing the module. Therefore, module requirements can also be mutual exclusion requirements between functional areas, such as functional area x and functional area y not being able to appear in the same module.

[0091] In addition, besides being able to follow Figure 2 As shown, the system can also choose not to display the function area options to the user. The user can input the currently selected function area for the current module based on their own judgment. After receiving the user's input, the system determines whether the combination of the current function area and the selected function areas in the current module meets the preset module requirements. If yes, the current function area is added as a selected function area of ​​the current module; otherwise, it is not added, and a prompt message can be output to the user. When determining whether the combination of the current function area and the selected function areas in the current module meets the module requirements, as mentioned earlier, the system can determine whether the combination of the current function area and the selected function areas meets module size requirements and / or function area mutual exclusion requirements, etc.

[0092] In some specific implementations, after receiving the current functional area selected by the user for the current module, the user can also be shown the optional length and optional width of the current functional area, so that the user can configure the length and width of the current functional area from the optional length and optional width.

[0093] refer to Figure 5 , Figure 5 This is a flowchart illustrating a method for creating a house type according to another embodiment of this application. For example... Figure 5 As shown, the method includes:

[0094] S510: Determine the starting point of the current module in the current apartment type based on the first target information of the modules already created in the current apartment type.

[0095] S520: Receive the current function area selected by the user for the current module. If the combination of the current function area and the selected function areas in the current module meets the preset module requirements, add the current function area as the selected function area of ​​the current module.

[0096] The first target information includes at least one of the following: the location of the corner point of the selected functional area in the created module, and the standard corridor width. For example, the standard corridor width could be: the corridor width should be greater than or equal to 1.3 meters. Or, the standard corridor width could be: the corridor width is equal to 1.3 meters.

[0097] In this application, after determining the starting point of the current module based on the first target information of the existing modules in the current apartment type, the first functional area can be selected for the current module from the starting point. When determining the position of the first functional area, the corner points of the first functional area should coincide with the starting point.

[0098] In some specific implementations, based on the first target information of the modules already created in the current apartment type, the number of starting points determined for the current module is multiple. These multiple starting points can be displayed to the user, allowing the user to select one starting point from among them.

[0099] To determine the starting point of the current module within the current apartment layout, in some specific implementations, each corner point of each selected functional area in an existing module can be designated as the starting point. The user can then select one of these starting points as the actual starting point and begin creating a new module from that point. For ease of understanding, as shown in Figure 6(a), the solid line box represents an existing module, which includes three selected functional areas: the living room, dining room, and kitchen. Each corner point of each selected functional area can serve as the starting point for a new module, totaling starting points 1 to 8. As shown in Figure 6(b), the user selected starting point 4 from multiple starting points as the actual starting point and selected the first module (i.e., bedroom 1) from starting point 4. The upper left corner of bedroom 1 coincides with starting point 4. It should be noted that in Figure 6(a), for clarity and to avoid overlapping lines and points, the upper left corner of bedroom 1 is not aligned with starting point 4.

[0100] To determine the starting point of the current module within the current apartment layout, in some specific implementations, each module has its own orientation. If two created modules (e.g., module a and module b) are perpendicular, when a third module (e.g., module c) needs to be created, if module c is parallel to module a and located on the same side of module b, a corridor should be set between module c and module a, and the distance between them should meet the corridor width standard. Therefore, the corridor width standard should be considered when determining the starting point of module c. Specifically, the starting point is set on the side of module b closest to module a, and this starting point is 1.3 meters away from module a. For ease of understanding, as shown in Figure 6(c), the two solid-line boxes represent two created modules, module a and module b. Module a includes the three selected functional areas of living room, dining room, and kitchen, and its orientation is horizontal, as indicated by the arrow in module a. Module b includes the two selected functional areas of bedroom 1 and bathroom 1, and its orientation is vertical, as indicated by the arrow in module b. In Figure 6(c), a starting point x is set on the side of module b closer to module a, and the distance between the starting point x and module a is 1.3 meters. As shown in Figure 6(d), the user selects the starting point x as the actual starting point, and selects the first module (i.e., bedroom 2) for the current module from the starting point x. The lower right corner of bedroom 2 coincides with the starting point x.

[0101] After determining the starting point of the current module, the extension direction of the current module within the current apartment type can be determined based on the second target information and starting points of the already created modules in the current apartment type. In this application, the starting point and extension direction of the current module jointly determine the position of the current module within the current apartment type.

[0102] In some specific implementations, after the user selects a starting point, the extension direction of the current module (i.e., the new module to be created) can be determined based on the static / dynamic type of the existing modules at that starting point and the location of the dynamic modules. The static / dynamic types of the existing modules include dynamic modules, static modules, and may also include semi-dynamic modules. A dynamic module is one that includes a living room, a static module is one that does not include a living room, dining room, or kitchen, and a semi-dynamic module is one that consists of a kitchen and a bedroom.

[0103] Specifically, if the created module where the starting point is located is a dynamic module, the extension direction of the current module can be perpendicular to the dynamic module or parallel to it without deviating from it. For ease of understanding, as shown in Figure 7(a), the two solid-line boxes represent two created modules. Created module a includes three selected functional areas: living room, dining room, and kitchen. Created module a is a dynamic module. Created module b includes three selected functional areas: bedroom 1, bathroom 1, and bedroom 2. Created module b is a static module. When the user selects the starting point p, and the user selects the first functional area (i.e., bedroom 3) for the current module at the starting point p, since the starting point p is on the dynamic module, the extension direction of the current module can be either the x-direction or the y-direction, but not the z-direction. In other words, the user can choose to select the next functional area for the current module along the x-direction or along the y-direction. Specifically, the x-direction is parallel to the dynamic module and does not deviate from it, the y-direction is perpendicular to the dynamic module, and the z-direction is parallel to the dynamic module but deviates from it.

[0104] If the starting point is not a moving module, the extension direction of the current module cannot be simultaneously perpendicular to and away from the moving module, nor can it be simultaneously parallel to and away from the moving module. For ease of understanding, as shown in Figure 7(b), the two solid boxes represent two created modules. Created module a includes three selected functional areas: living room, dining room, and kitchen; created module a is a moving module. Created module b includes two selected functional areas: bedroom 1 and bedroom 2; created module b is a static module. When the user selects the starting point q, and selects the first functional area (i.e., bedroom 3) for the current module at starting point q, since starting point q is not on a moving module, the extension direction of the current module can only be the x-direction, not the y-direction or z-direction. In other words, the user can only select the next functional area for the current module along the x-direction. Specifically, the x-direction is parallel to the moving module and in the same direction as the moving module, and does not move away from the moving module; the y-direction is perpendicular to the moving module and away from it; and the z-direction is parallel to the moving module and simultaneously moves away from it.

[0105] In some specific implementations, based on the second target information and starting point of the created module, the number of extension directions determined for the current module is multiple. These multiple extension directions can be displayed to the user, allowing the user to select one extension direction from among them.

[0106] In addition, to determine the location of the current module within the current apartment layout, besides following... Figure 5As shown, the system can also use other methods to determine the starting edge. For example, each free edge of each selected functional area in each created module can be designated as the starting edge of the new module. The user can select one starting edge from multiple starting edges and choose the first functional area for the new module from the selected starting edge. One side of the first functional area completely or partially overlaps with the starting edge. Here, a free edge refers to a side that is not connected to any other functional area.

[0107] In some specific implementations, when creating the first module for the current apartment type, the user's selected living room is received. The living room type is either a vertical or horizontal living room. For the extendable side of the living room, candidate functional areas corresponding to the extendable side are determined based on the living room type. The combination of each candidate functional area and the living room meets the module requirements. It should be noted that, compared to other functional areas, the living room has two types: horizontal and vertical. In this application, fixing the living room as the first functional area when creating the apartment type and selecting either a horizontal or vertical living room for it helps reduce system complexity, improves the convenience of apartment type creation, and enhances the user experience.

[0108] In practical implementation, for each extendable side of the vertical living room, the system pre-configures the functional areas that can be connected to each extendable side. These functional areas are the candidate functional areas corresponding to that extendable side. The integration of each candidate functional area corresponding to an extendable side with the living room should meet the aforementioned module requirements, such as module size requirements or mutual exclusion requirements between functional areas within the module. Similarly, for each extendable side of the horizontal living room, the system pre-configures the functional areas that can be connected to each extendable side. These functional areas are the candidate functional areas corresponding to that extendable side. The integration of each candidate functional area corresponding to an extendable side with the living room should meet the aforementioned module requirements, such as module size requirements or mutual exclusion requirements between functional areas within the module.

[0109] Once the user selects a living room, the system retrieves the configuration information corresponding to that type of living room, which includes the candidate functional areas for each extendable side of that type of living room.

[0110] refer to Figure 8 , Figure 8 This is a flowchart illustrating a method for creating a house type according to another embodiment of this application. For example... Figure 8 As shown, the method includes:

[0111] S810: Determine the position of the current module within the current apartment type based on the information of the modules already created in the current apartment type; where the current apartment type is the apartment type being created, and the current module is the module being created within the current apartment type.

[0112] S820: Receives the current function area selected by the user for the current module. If the combination of the current function area and the selected function areas in the current module meets the preset module requirements, the current function area is added as a selected function area of ​​the current module.

[0113] S830: Identify the current module as an already created module.

[0114] When performing steps S810 to S830, the specific execution order may be as follows: first, execute step S810 to determine the position of the current module in the current apartment type; then, execute step S820 once or multiple times to select one or more functional areas for the current module; finally, execute step S830 to determine the current module as a created module.

[0115] To identify the current module as a created module, in some implementations, in response to receiving a module confirmation operation from the user, the current module is identified as a created module. Specifically, a "Module Confirm" button can be displayed on the user interface. When the system detects that the user has clicked this "Module Confirm" button, the function areas that the user has selected and that do not belong to other created modules can be grouped into a created module. For ease of understanding, an example is provided, such as... Figure 9 As shown, the solid-line box represents a created module, and the dashed-line box represents the current module (i.e., the module being created). The created module includes three selected functional areas: living room, dining room, and kitchen. The current module includes two selected functional areas: bedroom 1 and bathroom 1. Bedroom 1 and bathroom 1 are not yet part of the created module. When the system detects that the user clicks the "Module Confirm" button, it will combine bedroom 1 and bathroom 1 into a created module, thus confirming the current module as a created module.

[0116] In some specific implementations, to determine whether the current module is a created module, the current module is automatically determined to be a created module if no functional area can be combined with it to meet the module requirements. In other words, if no functional area can be combined with the current module to meet the module requirements, the current module is automatically determined to be a created module.

[0117] In some specific implementations, the type of the created module can be determined based on the functional areas included in the created module; then, based on the type of the created module, the user is shown the decoration standard options corresponding to that type, and the decoration standard selected by the user for the created module is received.

[0118] In this application, considering that the renovation of a kitchen includes a smoke extraction system and a water supply and drainage system, and the renovation standard of a bathroom includes a water supply and drainage system, the specific method for determining the module type is as follows: if the created module includes a kitchen, the type of the created module is determined as Type 1; if the created module includes a bathroom but not a kitchen, the type of the created module is determined as Type 2; if the created module does not include a kitchen or a bathroom, the type of the created module is determined as Type 3.

[0119] The first type of module has two decoration standards: The first type includes smoke extraction and water supply / drainage systems. The options for this type include various levels of smoke extraction systems (e.g., high, medium, and low), various levels of water supply / drainage systems, and various levels of other decoration requirements (e.g., walls, floors, cabinets, lighting). The second type of module includes water supply / drainage systems. The options for this type also include various levels of water supply / drainage systems and various levels of other decoration requirements (e.g., walls, floors, cabinets, lighting). The third type includes various levels of other decoration requirements (e.g., walls, floors, cabinets, lighting). After determining the type of a created module, the system displays the corresponding decoration standard options to the user, allowing the user to select the appropriate standard for the created module.

[0120] Furthermore, after determining the decoration standards for each created module, the system can calculate the total decoration cost of the apartment based on these standards. It then determines whether the total decoration cost exceeds a preset cost threshold and outputs the result. In practice, each decoration standard corresponds to a different unit price, and the system can calculate the total decoration cost for the entire apartment based on the unit price corresponding to the decoration standard selected by the user for each module.

[0121] This application provides a method for creating apartment layouts through the above embodiments. Based on the same inventive concept, this application provides an apparatus for creating apartment layouts through the following embodiments. It should be noted that since the following apparatus and the above method are based on the same inventive concept, to avoid repetition, the apparatus will only be briefly described below. For related aspects, please refer to the foregoing method.

[0122] refer to Figure 9 , Figure 9 This is a schematic diagram of the structure of a device for creating apartment layouts provided in an embodiment of this application.

[0123] like Figure 9 As shown, the device includes:

[0124] The location determination unit 910 is used to determine the location of the current module in the current apartment type based on the information of the modules already created in the current apartment type; the current apartment type is the apartment type that is being created, and the current module is the module that is being created in the current apartment type.

[0125] The function area determination unit 920 is used to receive the current function area selected by the user for the current module, and when the combination of the current function area and the selected function areas in the current module meets the preset module requirements, the current function area is added as the selected function area of ​​the current module.

[0126] In some specific embodiments, the device further includes:

[0127] The function area option display unit is used to display function area options that meet the module requirements to the user based on the information of the selected function areas in the current module;

[0128] When the function area determination unit 920 receives the current function area selected by the user for the current module, it is specifically used to receive the current function area selected by the user from the function area options for the current module.

[0129] In some specific implementations, module requirements include module size requirements; the function area option display unit is specifically used for:

[0130] For the extendable side of the selected functional area, candidate functional areas corresponding to the extendable side are determined according to the module size requirements and the current size of the current module; wherein, after each candidate functional area is added to the current module, the new size of the current module meets the module size requirements;

[0131] Based on the candidate functional areas corresponding to the extendable side, generate functional area options corresponding to the extendable side and display the functional area options.

[0132] In some specific embodiments, the position determination unit 910 is specifically used for:

[0133] Based on the first target information of the created modules in the current apartment type, determine the starting point of the current module in the current apartment type; wherein, the first target information includes at least one of the following: the corner point position of the selected functional area in the created module, and the standard width of the corridor.

[0134] In some specific embodiments, the position determination unit 910 is also specifically used for:

[0135] Based on the second target information and starting point of the existing modules in the current apartment type, determine the extension direction of the current module in the current apartment type.

[0136] In some specific embodiments, the device further includes:

[0137] The first module creation unit is used to receive the living room selected by the user when creating the first module for the current apartment type. The type of living room is either vertical or horizontal. It is also used to determine the candidate functional areas corresponding to the extendable side of the living room based on the type of the living room. The combination of each candidate functional area and the living room meets the module requirements.

[0138] In some specific embodiments, the device further includes:

[0139] The module determination unit is used to determine the current module as an already created module.

[0140] In some specific implementations, the module determining unit is specifically used for:

[0141] In response to receiving a module confirmation operation from the user, the current module is identified as a created module.

[0142] In some specific embodiments, the device further includes:

[0143] The module type determination unit is used to determine the type of a created module based on the functional areas included in the created module.

[0144] The decoration standard determination unit determines the decoration standard for the created modules based on their types.

[0145] In some specific implementations, the module type determination unit is specifically used for:

[0146] If a kitchen is included in an existing module, the type of the existing module will be determined as the first type;

[0147] If a module includes a bathroom but not a kitchen, the type of the created module will be determined as the second type.

[0148] If the created module does not include a kitchen or a bathroom, the type of the created module will be determined as the third type.

[0149] In some specific embodiments, the device further includes:

[0150] The total cost calculation unit is used to calculate the total renovation cost of the apartment based on the renovation standards of each created module.

[0151] The judgment result output unit is used to determine whether the total renovation cost exceeds the preset cost threshold and output the judgment result.

[0152] In some specific implementations, each module serves as a prefabricated product of the prefabrication plant.

[0153] Please see Figure 10 , Figure 10This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. The electronic device 1000 includes a processor 1100, a memory 1200, and one or more application programs. The one or more application programs are stored in the memory 1200 and configured to be executed by one or more processors 1100. The one or more programs are configured to perform the above-described method for creating apartment layouts.

[0154] In some embodiments, the electronic device 1000 of this disclosure may include one or more of the following components: a processor 1100, a memory 1200, and one or more application programs, wherein the one or more application programs may be stored in the memory 1200 and configured to be executed by one or more processors 1100, and the one or more programs are configured to perform the methods as described in the foregoing method embodiments.

[0155] Processor 1100 may include one or more processing cores. Processor 1100 connects to various parts within the electronic device 1000 using various interfaces and lines, and performs various functions and processes data of the electronic device 1000 by running or executing instructions, programs, code sets, or instruction sets stored in memory 1200, and by calling data stored in memory 1200. Optionally, processor 1100 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). Processor 1100 may integrate one or more of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the displayed content; and the modem handles wireless communication. It is understood that the modem may also not be integrated into processor 1100 and may be implemented separately through a communication chip.

[0156] The memory 1200 may include random access memory (RAM) or read-only memory (ROM). The memory 1200 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 1200 may include a program storage area and a data storage area. The program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as touch functionality, sound playback functionality, image playback functionality, etc.), and instructions for implementing the various method embodiments described above. The data storage area may also store data created by the electronic device 1000 during use.

[0157] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0158] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0159] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0160] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0161] Although preferred embodiments of this application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of this application.

[0162] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.

Claims

1. A method for creating apartment layouts, characterized in that, The method includes: Based on the information of the created modules in the current apartment type, the position of the current module within the current apartment type is determined; the current apartment type is the apartment type being created, and the current module is the module being created within the current apartment type, with each module serving as a prefabricated product from the prefabrication plant; wherein, determining the position of the current module within the current apartment type based on the information of the created modules includes: determining the starting point of the current module within the current apartment type based on the first target information of the created modules, the first target information including at least one of the following: the corner position of the selected functional area in the created module, the standard corridor width; displaying multiple starting points to the user, allowing the user to select the starting point of the current module, and selecting the first functional area for the current module from the selected starting point; For the extendable side of the selected functional area in the current module, candidate functional areas corresponding to the extendable side are determined according to the module size requirements and the current size of the current module; based on the candidate functional areas corresponding to the extendable side, functional area options corresponding to the extendable side are generated and displayed; wherein, after each candidate functional area is added to the current module, the new size of the current module meets the module size requirements; the extendable side is the side of the selected functional area that can continue to connect to new functional areas; The system receives the current function area selected by the user for the current module from the function area options. If the combination of the current function area and the selected function areas in the current module meets the preset module requirements, the current function area is added as a selected function area of ​​the current module. The module requirements include module size requirements, which are that the length and width of the module do not exceed the corresponding thresholds, so that the size of the module meets the production conditions of the prefabrication plant and / or the transfer conditions of the transfer equipment.

2. The method according to claim 1, characterized in that, The step of determining the position of the current module within the current apartment type based on the information of the modules already created in the current apartment type further includes: Based on the second target information of the existing modules in the current apartment type and the starting point, the extension direction of the current module in the current apartment type is determined.

3. The method according to claim 1, characterized in that, The method further includes: When creating the first module for the current apartment type, the user selects a living room, which is either a vertical living room or a horizontal living room. For the extendable side of the living room, candidate functional areas are determined according to the type of the living room. The combination of each candidate functional area and the living room meets the requirements of the module.

4. The method according to claim 1, characterized in that, The method further includes: The current module is identified as an already created module.

5. The method according to claim 4, characterized in that, The step of determining the current module as a created module includes: In response to receiving a module confirmation operation from the user, the current module is determined to be a created module.

6. The method according to claim 4, characterized in that, The method further includes: The type of the created module is determined based on the functional areas included in the created module; Based on the type of the created module, display the decoration standard options corresponding to the type to the user, and receive the decoration standard selected by the user for the created module.

7. The method according to claim 6, characterized in that, The step of determining the type of the created module based on the functional areas included in the created module includes: If the created module includes a kitchen, the type of the created module is determined to be a first type; If the created module includes a bathroom but not a kitchen, the type of the created module will be determined as the second type. If the created module does not include a kitchen or a bathroom, the type of the created module is determined to be a third type.

8. The method according to claim 6, characterized in that, The method further includes: Calculate the total renovation cost of the apartment based on the renovation standards of each created module; Determine whether the total renovation cost exceeds a preset cost threshold and output the determination result.

9. A device for creating apartment layouts, characterized in that, The device includes: The location determination unit is used to determine the location of the current module within the current apartment type based on information about existing modules in the current apartment type. The current apartment type is an apartment type currently being created, and the current module is a module being created within the current apartment type, with each module representing a prefabricated component from a prefabrication plant. Determining the location of the current module within the current apartment type based on information about existing modules includes: determining the starting point of the current module within the current apartment type based on first target information of the existing modules, where the first target information includes at least one of the following: the corner position of the selected functional area in the existing module, and the standard corridor width; displaying multiple starting points to the user, allowing the user to select the starting point of the current module, and selecting the first functional area for the current module from the selected starting point. The function area option display unit is used to determine candidate function areas corresponding to the extendable side of the selected function area in the current module, based on the module size requirements and the current size of the current module; generate function area options corresponding to the extendable side based on the candidate function areas, and display the function area options; wherein, after each candidate function area is added to the current module, the new size of the current module meets the module size requirements; the extendable side is the side of the selected function area that can continue to connect to the new function area; The function area determination unit is used to receive the current function area selected by the user for the current module from the function area options. If the combination of the current function area and the selected function areas in the current module meets the preset module requirements, the current function area is added as the selected function area of ​​the current module. The module requirements include module size requirements, which are that the length and width of the module do not exceed the corresponding thresholds, so that the size of the module meets the production conditions of the prefabrication plant and / or the transfer conditions of the transfer equipment.

10. An electronic device, characterized in that, The electronic device includes: Memory, used to store executable instructions; A processor, when executing executable instructions stored in the memory, implements the method according to any one of claims 1 to 8.

11. A computer-readable storage medium storing executable instructions, characterized in that, When the executable instructions are executed by the processor, they implement the method described in any one of claims 1 to 8.