House information processing method, device and equipment, and storage medium
By acquiring house attribute information and preset renovation constraints, the system automatically generates renovation plans and renders them in a 3D real-world space, solving the problem of low efficiency in manually drawing renderings and achieving efficient and reasonable house renovation.
Patent Information
- Application Number
- CN202210833885.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-14
- Publication Date
- 2026-01-13
- Estimated Expiration
- 2042-07-14
AI Technical Summary
In the current process of house renovation, manually drawing renderings is inefficient and not intuitive enough, and cannot meet the renovation needs of users.
By acquiring the property's attribute information and combining it with preset renovation constraints, the system automatically generates renovation plan information and renders the renovation effect in a 3D real-world space, providing a reasonable renovation plan.
It improves the efficiency and rationality of house renovation, and the generated renovation plan matches the actual information, saving time and labor costs.
Smart Images

Figure CN115310174B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of housing type modification technology, and in particular to a housing information processing method, apparatus, equipment and storage medium. Background Technology
[0002] In home renovation scenarios, there are situations where the existing house layout cannot meet the user's needs. For example, the existing house may be a one-bedroom apartment, but the user wants to transform it into a two-bedroom or multi-bedroom apartment, thus creating a demand for house renovation. When users have a demand for house layout modifications, it is usually necessary to manually draw house renovation renderings, and then renovate the house based on the renderings. However, this method of manually drawing house renovation renderings is not only inefficient but also not intuitive. Summary of the Invention
[0003] This application provides a housing information processing method, apparatus, equipment, and storage medium from multiple perspectives, which can automatically generate housing renovation information based on the actual information inside the house, thereby improving the efficiency of housing renovation.
[0004] This application provides a method for processing housing information, comprising: acquiring attribute information corresponding to a target housing, wherein the attribute information includes at least type information and structural information of at least one spatial object in the target housing; determining a target spatial object to be modified from the at least one spatial object based on the type information and structural information of the at least one spatial object and in combination with preset modification constraints of the spatial object; generating modification scheme information adapted to the target spatial object based on preset modification constraints adapted to the type information and structural information of the target spatial object; modifying the target real-world space corresponding to the target spatial object according to the modification scheme information, and rendering the modified target real-world space into the three-dimensional real-world space corresponding to the target housing.
[0005] In one optional embodiment, obtaining the attribute information corresponding to the target house includes: obtaining a two-dimensional floor plan of the target house and extracting the attribute information corresponding to the target house from the two-dimensional floor plan; or, obtaining a panoramic view of the target house and extracting the attribute information corresponding to the target house from the panoramic view.
[0006] In an optional embodiment, determining the target space object to be modified from the at least one space object based on the type information and structural information of the at least one space object, combined with the preset modification constraints of the space object, includes: determining the target space object to be modified from the at least one space object based on the type information, shape information and size information corresponding to the at least one space object, combined with the preset modification constraints of different shapes and sizes corresponding to each type of space object.
[0007] In one optional embodiment, determining the target space object to be modified from the at least one space object based on the type information and structural information of the at least one space object, combined with the preset modification constraints of the space object, includes: determining at least one modifiable space object from the at least one space object based on the type information, shape information, and size information corresponding to the at least one space object, combined with the preset modification constraints of different shapes and sizes corresponding to each type of space object; displaying the three-dimensional real-world space corresponding to the target house, marking at least one real-world space corresponding to the at least one modifiable space object in the three-dimensional real-world space; and in response to the selection operation of at least one real-world space in the three-dimensional real-world space, determining the space object corresponding to the selected real-world space as the target space object to be modified.
[0008] In one optional embodiment, based on the type information of the target spatial object and combined with preset modification constraints that adapt the shape and size of the target spatial object, modification scheme information adapted to the target spatial object is generated, including: obtaining modification requirement information of the target spatial object, the modification requirement information including the type information and structural information of the newly modified spatial object; generating modification parameters, modification instructions, and modification methods for modifying the target spatial object based on the modification requirement information and combined with preset modification constraints that adapt the type information and structural information of the target spatial object; and generating modification scheme information adapted to the target spatial object based on the modification parameters, modification instructions, and modification methods for modifying the target spatial object, the modification scheme information including the type information and structural information of the newly modified spatial object.
[0009] In one optional embodiment, generating modification scheme information adapted to the target spatial object based on preset modification constraints that match the type and structural information of the target spatial object includes: when the target spatial object is an independent spatial object, generating independent spatial object modification scheme information adapted to the target spatial object based on the type information of the target spatial object and preset modification constraints that match the shape and size of the target spatial object; when the target spatial object is a combined spatial object including at least two independent spatial objects, generating combined spatial object modification scheme information adapted to the target spatial object based on the type information corresponding to each of the at least two independent spatial objects and preset modification constraints that match the shape and size of each of the at least two independent spatial objects; wherein, the modification scheme information includes the type and structural information of the newly modified spatial object.
[0010] In one optional embodiment, generating renovation scheme information adapted to the target space object based on preset renovation constraints that match the type and structural information of the target space object includes: inputting the attribute information of the target house into a house renovation model so that the house renovation model can obtain the house structure information of the target house after renovation based on the preset renovation constraints of the space object; extracting renovation scheme information adapted to the target space object from the house structure information based on the type and structural information of the target space object; or, inputting the attribute information of the target house into a house renovation model and specifying that the target house is to be renovated so that the house renovation model can obtain renovation scheme information adapted to the target space object based on the type information of the target space object and the preset renovation constraints that match the shape and size of the target space object.
[0011] In one optional embodiment, the target real-world space corresponding to the target space object is modified according to the modification scheme information, including: displaying a three-dimensional real-world space corresponding to the target house, the three-dimensional real-world space including modification controls; responding to a trigger operation on the modification controls and loading the modification scheme information; and modifying the target real-world space corresponding to the target space object in the three-dimensional real-world space according to the modification scheme information.
[0012] In one optional embodiment, the renovation scheme information includes renovation information for adding wall objects to the target space object. Based on the renovation scheme information, the target real-world space corresponding to the target space object is renovated, including: determining first location information for adding wall objects to the target space object; and adding a wall model at the corresponding location in the target real-world space corresponding to the target space object based on the first location information.
[0013] In an optional embodiment, the renovation scheme information further includes renovation information for creating a space object on the wall object, and the method further includes: determining second location information for creating a space object on the wall object based on the location information of the entrance door of the target house and the activity range of the door object; and creating a accommodating space at the corresponding location on the wall model based on the second location information.
[0014] This application embodiment also provides a housing information processing device, including: an acquisition module, a determination module, a first processing module, and a second processing module; the acquisition module is used to acquire attribute information corresponding to a target house, the attribute information including at least type information and structural information of at least one spatial object in the target house; the determination module is used to determine a target spatial object to be modified from the at least one spatial object based on the type information and structural information of the at least one spatial object, combined with preset modification constraints of the spatial object; the first processing module is used to generate modification scheme information adapted to the target spatial object based on preset modification constraints adapted to the type information and structural information of the target spatial object; the second processing module is used to modify the target real-world space corresponding to the target spatial object according to the modification scheme information, and render the modified target real-world space into the three-dimensional real-world space corresponding to the target house.
[0015] This application also provides a housing information processing device, including: a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program for any step in the method.
[0016] This application also provides a computer-readable storage medium storing a computer program / instructions, which, when executed by a processor, causes the processor to perform any step of the method.
[0017] In this embodiment, preset modification constraints are set for the structural information corresponding to different types of spatial objects. Based on these constraints, the modifiable target spatial objects in the target house, as well as modification scheme information that matches the type and structural information of the target spatial objects, can be determined. Based on the determined modification scheme information, the target spatial objects can be reasonably modified, and the modified effect can be presented to the user so that the user can decide whether to modify the target house according to the effect. In this way, modification scheme information corresponding to the target house can be generated quickly and efficiently, saving time and manpower costs. Moreover, the obtained modification scheme information matches the actual information of the target house, making the modification more reasonable. Attached Figure Description
[0018] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:
[0019] Figure 1 A flowchart illustrating a housing information processing method provided in this application embodiment;
[0020] Figure 2a A schematic diagram illustrating a method for modifying an independent spatial object, as provided in an embodiment of this application;
[0021] Figure 2b A schematic diagram illustrating a method for modifying combined spatial objects according to an embodiment of this application;
[0022] Figure 2c A schematic diagram illustrating another method of modifying combined spatial objects provided in an embodiment of this application;
[0023] Figure 2d A schematic diagram illustrating another method for modifying an independent spatial object as provided in an embodiment of this application;
[0024] Figure 2e A schematic diagram illustrating another method for modifying an independent spatial object as provided in an embodiment of this application;
[0025] Figure 3 This is a schematic diagram of another housing information processing device provided in an embodiment of this application;
[0026] Figure 4 This is a schematic diagram of the structure of a housing information processing device provided in an embodiment of this application. Detailed Implementation
[0027] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0028] To enable online home decoration products to meet both users' needs for online house design and renovation, this application provides a house information processing method. This method automatically generates renovation plan information for the house based on its actual attribute information, renovates the corresponding 3D real-world space of the house based on the generated plan, and presents the renovated 3D real-world effect to the user. This allows the user to further renovate the house based on the results, provided the effect meets their needs. This approach not only generates house renovation information quickly and efficiently but also ensures that the generated information is tailored to the actual conditions of the house, leading to more reasonable renovations.
[0029] The steps of the housing information processing method provided in this application embodiment will be described in detail below with reference to specific implementation methods.
[0030] Figure 1 A flowchart of the housing information processing method provided in the embodiments of this application is shown below. Figure 1 As shown, the method includes:
[0031] S1. Obtain the attribute information corresponding to the target house. The attribute information shall include at least the type information and structural information of at least one spatial object in the target house.
[0032] S2. Based on the type and structure information of at least one spatial object, and combined with the preset modification constraints of the spatial object, determine the target spatial object to be modified from at least one spatial object.
[0033] S3. Generate modification scheme information that is compatible with the target space object based on the preset modification constraints that are adapted to the type and structure information of the target space object.
[0034] S4. Based on the renovation plan information, renovate the target real-world space corresponding to the target space object, and render the renovated target real-world space onto the three-dimensional real-world space corresponding to the target house.
[0035] In this embodiment of the application, when a user has a need to modify the layout of the target house, the layout of the target house can be modified through an online home decoration product. Based on this, when the online home decoration product responds to the user's triggered layout modification operation, it can obtain the attribute information corresponding to the target house. The attribute information corresponding to the target house refers to the type information and structural information of at least one spatial object in the target house. At least one spatial object refers to at least one of the independent space, open space, and combined space in the target house. These spatial objects include, but are not limited to, balconies, living rooms, kitchens, bathrooms, or bedrooms.
[0036] In this embodiment, based on the type of the spatial object, pre-defined modification constraints conforming to the structure of the spatial object are established. Therefore, upon obtaining the type and structural information of at least one spatial object in the target house, the target spatial object to be modified can be determined from the at least one spatial object by combining the pre-defined modification constraints. Modification scheme information adapted to the target spatial object is then generated based on the pre-defined modification constraints matching the type and structural information of the target spatial object. The modification scheme information may include information such as the main modification locations and modification methods within the target space. Furthermore, upon obtaining the modification scheme information corresponding to the target spatial object, the target real-world space corresponding to the target spatial object can be modified according to the modification scheme information. The modified target real-world space is then rendered into the three-dimensional real-world space corresponding to the target house. This three-dimensional real-world space is applied to the online home decoration product used by the user.
[0037] In this embodiment, the specific method for obtaining the attribute information corresponding to the target house is not limited. Optionally, a two-dimensional floor plan of the target house can be obtained, and the attribute information corresponding to the target house can be extracted from the two-dimensional floor plan. For example, the type and structure of each spatial object in the two-dimensional floor plan can be identified, and then type information and structure information corresponding to each spatial object can be generated. Alternatively, a panoramic view of the target house can be obtained, and the attribute information corresponding to the target house can be extracted from the panoramic view. For example, the pixel coordinates corresponding to each corner point can be identified from the panoramic view, and based on the conversion relationship between pixel coordinates, camera coordinates, and world coordinates, the type and structure of each spatial object in the target house can be determined, and then type information and structure information corresponding to each spatial object can be generated. Among them, the type information refers to classifying each spatial object into types such as bedroom, living room, balcony, kitchen, bathroom, and storage room according to the location and function of each spatial object in the target house; the structure information is the shape and size information corresponding to each spatial object.
[0038] It should be noted that the methods for obtaining the attribute information of the target house in this application embodiment are not limited to the two methods mentioned above. In practical applications, a suitable method can be adopted to obtain the attribute information corresponding to the target house according to specific needs. For example, the pre-stored attribute information corresponding to the target house can also be read directly. Any method that can obtain the attribute information corresponding to the target house is applicable to this application embodiment.
[0039] In home renovation scenarios, not every type of space can be modified. Typically, users want to modify spaces like balconies, living rooms, kitchens, or bathrooms, but rarely existing bedrooms. Modifiable spaces can be modified individually or in combination. For example, if the original layout is a two-bedroom apartment but the living room is large, the user might want to convert part of the living room into a new bedroom, or combine the living room and balcony into a secondary bedroom. Another example is a small kitchen; the user might want to open up the kitchen and living room to create an open-plan kitchen. Yet another example is a large bathroom; the user might want to divide it into two parts for wet and dry separation, and so on.
[0040] Furthermore, during home renovation, to ensure a smooth process, the new space must meet the minimum requirements for its corresponding type, and the remaining portion of the original space must fulfill its functional needs. For example, if a user wants to convert part of the living room into a secondary bedroom, the constraints for this conversion are that the new secondary bedroom must meet the minimum area requirement for a bedroom while ensuring that the remaining portion of the living room is not too small. Typically, the minimum area of a secondary bedroom should be large enough to accommodate a single bed and a bedside table. For example, with a single bed measuring 1.5m x 1.8m and a bedside table measuring 0.5m x 0.8m, the area of the new secondary bedroom should be greater than 2.3m x 1.8m. Similarly, the constraint for dividing the living room is based on half its area; therefore, the area of the renovated living room cannot be less than half the original living room area. Based on this, if the original living room meets the above constraints, a secondary bedroom can be converted into a secondary bedroom. Of course, depending on the actual needs, whether the secondary bedroom needs to be furnished with furniture such as a desk or wardrobe can be flexibly determined according to the standard dimensions of such furniture. The specific method of determination is not limited here.
[0041] Based on the above, this application embodiment sets corresponding preset modification constraints for each type of space object with different shapes and sizes, according to the type and structural information of the modifiable space objects in the house object and the type of target space object to be modified. This allows online home decoration products to determine the target space object to be modified from at least one space object in the target house based on the preset modification constraints. It should be noted that for the same modifiable space object, the preset modification constraints corresponding to transforming it into different types of target space objects can be different or the same, and are not limited here. For example, the preset modification constraints corresponding to transforming a balcony and living room into a bedroom, nursery, playroom, or storage room can be different or the same, and are not limited here.
[0042] In this embodiment of the application, taking the same preset modification constraints as the modifiable spatial objects as an example, the preset modification constraints are set according to the type information, shape and size of the modified spatial objects. Figures 2a-2e Taking the separate renovation of the balcony and living room as examples, and the combined renovation of the balcony and living room as examples, the requirements for setting preset renovation constraints in the embodiments of this application will be illustrated. Assuming that the target space for the new renovation is the secondary bedroom, the corresponding preset renovation constraint is that the minimum area of the newly renovated bedroom is 3.2m*2.5m. Each renovation method will be illustrated below.
[0043] Figure 2a One way to convert a balcony into a separate secondary bedroom is, for example... Figure 2aAs shown in the image of the balcony before renovation, the balcony is rectangular with a length and width both greater than or equal to 3.2m, meeting the renovation requirements. Therefore, the balcony can be converted into a separate secondary bedroom. To maintain the regularity of the apartment layout, the boundary between the living room and the balcony can be used as the basis for space division, separating the new bedroom from the living room. The renovated apartment layout will then look like this. Figure 2a The balcony on the right has been renovated as shown.
[0044] Figure 2b One way to convert a balcony and living room into a secondary bedroom is, for example... Figure 2b As shown on the left side before the renovation of the living room and balcony, both the balcony and living room are rectangular. The balcony is connected to the entire living room, and its length is equal to the width of the living room, meeting the renovation requirements. However, the balcony's width is less than 2.5 meters, which does not meet the renovation requirements. Therefore, a portion of the living room can be combined with the balcony to create a secondary bedroom. To maintain the regularity of the floor plan, the extended boundary line of the open space in the living room near the balcony can be used as the basis for space division, separating the new bedroom from the living room. The renovated floor plan will then look like this. Figure 2b The living room and balcony on the right side are shown after the renovation.
[0045] Figure 2c Another way to convert a balcony and living room combination into a secondary bedroom, such as... Figure 2c As shown on the left side before the renovation of the living room and balcony, the living room is an irregular shape composed of two rectangles of different sizes, and the balcony is rectangular, connected to one of the rectangular sections of the living room. The length of the balcony is the same as the width of the connected section of the living room, meeting the renovation requirements. However, the width of the balcony is less than 2.5m, not meeting the renovation requirements. The common width of the connecting section of the balcony and living room is greater than 2.5m, meeting the renovation requirements. Therefore, the section connecting the balcony and living room can be combined and converted into a secondary bedroom. To maintain the regularity of the floor plan, the intersection of the two rectangular sections in the living room can be used as the basis for space division, separating the new bedroom from the living room. The renovated floor plan will look like this. Figure 2c The living room and balcony on the right side are shown after the renovation.
[0046] Figure 2d One way to convert a living room into a separate secondary bedroom, such as Figure 2d As shown on the left side of the living room before renovation, the living room is a single rectangle without a balcony. The length and width of the living room meet the renovation requirements; therefore, part of the living room can be converted into a secondary bedroom. To maintain the regularity of the floor plan, the side of the living room opposite the entrance, i.e., the side closest to the window, can be converted into a secondary bedroom. The extended boundary line of the open space in the living room near the window can be used as the basis for space division, separating the new bedroom from the living room. The renovated floor plan will look like this. Figure 2d The living room on the right is shown after the renovation.
[0047] Figure 2eAnother way to convert a living room into a separate secondary bedroom is, for example... Figure 2e As shown on the left before the renovation, the living room is an irregular shape formed by two rectangles and has no balcony. The smaller rectangle's length meets the renovation requirements, but its width is less than 2.5m, which does not. Therefore, the smaller rectangle and a portion of the larger rectangle can be combined to create a secondary bedroom. To maintain the regularity of the layout, the central axis of the living room, or a point near it depending on specific needs, can be used as a dividing line to separate the new bedroom from the living room. The renovated layout will then look like this. Figure 2e The living room on the right is shown after the renovation.
[0048] It should be noted that in the above examples, if the length and width of the balcony meet the renovation requirements, but the balcony is not a regular rectangle but a polygon or other irregular shape, then the balcony is determined to be unsuitable for individual renovation. Furthermore, the above examples only illustrate how to determine the preset renovation constraints by converting a balcony and living room, individually or in combination, into a bedroom. If the space to be renovated is not a living room or balcony, and the new target space to be renovated is not a bedroom, then the corresponding preset renovation constraints will be different. The corresponding determination methods can be found in the above examples and will not be described in detail here.
[0049] Based on the above, having obtained the type and structural information of at least one spatial object in the target house, the target spatial object to be modified can be determined from the at least one spatial object by combining the type, shape, and size information corresponding to each spatial object with preset modification constraints for different shapes and sizes corresponding to each type of spatial object. In this embodiment, the specific method for determining the target spatial object to be modified from the at least one spatial object is not limited; the method may vary depending on the functions supported by the online home decoration product.
[0050] In an optional embodiment, if the online home decoration product does not support the function of users actively selecting target space objects, then, upon obtaining the attribute information corresponding to the target house, the target space objects that meet the renovation requirements can be determined directly from the space objects in the target house based on the type, shape, and size of each space object in the target house, combined with the preset renovation constraints corresponding to different shapes and sizes for each type of space object. The number of determined target space objects can be one or more, and is not limited here. For example, if only the living room in the target house meets the renovation requirements, then the number of determined target space objects is one, namely the living room; or, for another example, if the balcony, living room, kitchen, and bathroom in the target house all meet the renovation requirements, then the number of determined target space objects is four, namely the balcony, living room, kitchen, and bathroom.
[0051] In another optional embodiment, if the online home decoration product supports the function of users actively selecting target space objects, then, upon obtaining the attribute information corresponding to the target house, at least one modifiable space object can be determined from at least one space object based on the type information, shape information, and size information corresponding to at least one space object in the target house, combined with the preset modification constraints corresponding to different shapes and sizes for each type of space object; furthermore, a three-dimensional real-world space corresponding to the target house can be displayed, and at least one real-world space corresponding to at least one modifiable space object can be marked in the three-dimensional real-world space for users to select the target space object to be modified; based on this, upon responding to the user's selection operation of at least one real-world space marked in the three-dimensional real-world space, the space object corresponding to the selected real-world space can be determined as the target space object to be modified.
[0052] In the above embodiments, the specific method of marking at least one real-world space corresponding to each modifiable spatial object in the 3D real-world space corresponding to the target house is not limited. For example, at least one real-world space corresponding to each modifiable spatial object can be displayed in a normal form, while the real-world spaces corresponding to other non-modifiable spatial objects can be displayed in a non-editable grayed-out form. Alternatively, at least one real-world space corresponding to each modifiable spatial object can be displayed in a highlighted form, while the real-world spaces corresponding to other non-modifiable spatial objects can be displayed in a normal form, and so on. Correspondingly, the number of target spatial objects selected by the user can be one or more, which is not limited here. If there is one modifiable spatial object, then the user selects one target spatial object; if there are multiple modifiable spatial objects, then the user selects one or more target spatial objects.
[0053] Based on the above, when the target spatial object is determined, transformation scheme information corresponding to the target spatial object can be generated. Optionally, the transformation scheme information includes transformation parameters, transformation instructions, transformation methods, and type and structural information of the new transformed spatial object corresponding to the transformation method, so as to execute the corresponding transformation instructions according to the transformation parameters to transform the target spatial object. Among them, the transformation methods include spatial division and spatial merging. In this embodiment of the application, the spatial division method is used as an example for explanation, but it is not limited to this.
[0054] In this embodiment, the specific method for generating the renovation plan information corresponding to the target space object is not limited. Optionally, the online home decoration product can provide the function of user-defined renovation plans, allowing users to edit renovation requirement information. Based on this, when the target space object is determined, the renovation plan information corresponding to the target space object can be generated according to the user's renovation requirement information and the preset renovation constraints corresponding to the target space object. If the online home decoration product does not support user-defined renovation plans, then when the target space object is determined, the corresponding renovation plan information can be directly generated according to the preset space renovation constraints corresponding to the target space object. The specific implementation method is not limited here.
[0055] In one optional embodiment, when the online home decoration product supports user-defined renovation plans, users can edit renovation requirement information through the renovation plan editing interface. Optionally, users can edit renovation requirement information for the target house before determining the target space object, or they can edit the corresponding renovation requirement information for the target space object after determining the target space object. For example, if a user wants to add a bedroom to the target house, the edited renovation requirement information can be: add a space object, type is bedroom (secondary bedroom or master bedroom), area is not less than 2.5m * 3.2m. Based on this, when the target space object is determined, the user-edited renovation requirement information can be obtained, and combined with preset renovation constraints that are adapted to the type and structural information of the target space object, renovation parameters and renovation instructions for renovating the target space object can be generated. Furthermore, by executing the corresponding renovation instructions according to the renovation parameters corresponding to the target space object, the target space object can be renovated and corresponding renovation plan information can be generated.
[0056] In another optional embodiment, if the online home decoration product does not support user-defined renovation plans, then the preset renovation constraints that match the type and structural information of the target space object are regarded as the user's renovation requirement information. Based on this, renovation parameters and renovation instructions for renovating the target space object can be generated according to the preset renovation constraints that match the type and structural information of the target space object. Furthermore, by executing the corresponding renovation instructions according to the renovation parameters of the target space object, the target space object can be renovated and corresponding renovation plan information can be generated.
[0057] It should be noted that when online home improvement products support user-defined renovation plans, if the user's edited renovation requirements do not match the type and structural information of the target space object, a prompt message can be displayed to the user so that they can re-edit the appropriate renovation requirements. If the user does not modify and confirms the generation of renovation requirements, renovation parameters and instructions for renovating the target space object can be generated based on preset renovation constraints that match the type and structural information of the target space object. The corresponding renovation instructions can then be executed according to the renovation parameters to renovate the target space object and generate the corresponding renovation plan information. Optionally, the renovation parameters include the target location information of the object to be renovated within the target space object. The object to be renovated refers to a wall object in the target space. If the renovation method is space division, the corresponding renovation instruction is to add a wall object at the corresponding location in the target space object based on the target location information. If the renovation method is space merging, the corresponding renovation instruction is to delete a wall object at the corresponding location in the target space object based on the target location information.
[0058] In this embodiment, the corresponding transformation scheme information generated varies depending on the type of the target spatial object. Optionally, when the target spatial object is an independent spatial object, transformation scheme information for an independent spatial object adapted to the target spatial object is generated based on the type information of the target spatial object and the preset transformation constraints for the shape and size of the target spatial object. When the target spatial object is a combined spatial object including at least two independent spatial objects, transformation scheme information for a combined spatial object adapted to the target spatial object is generated based on the type information corresponding to each of the at least two independent spatial objects and the preset transformation constraints for the shape and size of each of the at least two independent spatial objects.
[0059] For example, in Figure 2a , Figure 2d and Figure 2e In the example shown, the target space object is an independent space object, with Figure 2aFor example, the target space object is the independent space object corresponding to the balcony. Based on this, the initial location information for adding wall objects to the space object corresponding to the balcony can be determined according to the shape and size information of the balcony, as well as the preset renovation constraints (3.2m*2.5m). Furthermore, combined with the overall layout information of the target house, in order to ensure the regularity of the house layout, the initial location information for adding wall objects can be appropriately adjusted, thereby determining the corresponding location information of the boundary between the living room and the balcony in the house object as the target location information for adding walls. Based on this, renovation plan information corresponding to the balcony can be generated. The renovation plan information includes the renovation parameters for performing renovations on the balcony, the renovation... The system includes a creation command, a modification method, and the type and structural information of the newly modified spatial object (a bedroom converted from a balcony). The modification parameters are the target location information for adding wall objects. The modification command instructs the addition of a wall object at the location corresponding to the target location information between the balcony and the living room. The modification method is a space division method. The type of the newly modified spatial object is a bedroom, and the corresponding structural information includes the shape and size information of the bedroom. Further, based on the division method and target location information, the modification command to add wall objects is executed, adding wall objects at the location corresponding to the target location information in the target house, thus dividing the balcony and living room into two spatial objects.
[0060] For example, in Figure 2b and Figure 2c In the example shown, the target space object is a composite space object, with Figure 2bFor example, the target space object is a combined space object consisting of a balcony and part of the living room. Based on this, the initial location information for adding wall objects in the space object corresponding to the living room can be determined according to the shape and size information of the balcony and the living room, as well as the preset renovation constraints (3.2m*2.5m). Furthermore, combined with the overall layout information of the target house, in order to ensure the regularity of the house layout, the initial location information for adding wall objects can be appropriately adjusted, thereby determining the location information of the extended boundary line of the open space in the living room near the balcony in the target house as the target location information for adding walls. Based on this, renovation plan information corresponding to both the balcony and the living room can be generated. The renovation plan information includes modifications to the balcony and the living room. The renovation parameters, instructions, and methods for the living room renovation, as well as the type and structural information of the newly renovated space object (the bedroom jointly renovated from the balcony and living room), are as follows: The renovation parameters are the target location information for adding wall objects; the renovation instructions are used to instruct the addition of wall objects at the locations corresponding to the target location information in the living room; the renovation method is a space division method; the type of the newly renovated space object is a bedroom; and the corresponding structural information is the shape and size information of the bedroom. Furthermore, based on the division method and the target location information, the renovation instruction to add wall objects is executed, adding wall objects at the locations corresponding to the target location information in the target house object, thereby dividing the living room and forming a new space object from the divided portion of the balcony and living room.
[0061] In this embodiment of the application, the specific method of generating the renovation scheme information corresponding to the target space object is not limited. Optionally, when the attribute information corresponding to the target house is obtained, the target space object can be determined in the above manner, and the renovation parameters and renovation instructions corresponding to the target space object can be generated according to the preset renovation constraints that are adapted to the type information and structural information of the target space object. The corresponding execution instructions are executed according to the renovation parameters to generate the renovation scheme information corresponding to the target space object. In another optional embodiment, a house type renovation model can be pre-trained using machine learning based on the attribute information of a large number of house objects and preset renovation constraints. Based on this, when the attribute information corresponding to the target house object is obtained, the attribute information of the target house can be input into the house renovation model so that the house renovation model can renovate the target house according to the preset renovation constraints of the space object to obtain the house structure information after the target house is renovated. Further, based on the type information and structure information of the target space object, renovation scheme information adapted to the target space object is extracted from the house structure information. Alternatively, the attribute information of the target house can be input into the house renovation model and the target house can be specified to be renovated so that the house renovation model can obtain renovation scheme information adapted to the target space object based on the type information of the target space object and the preset renovation constraints adapted to the shape and size of the target space object.
[0062] Based on the above, having obtained the renovation plan information corresponding to the target space object, the target real-world space corresponding to the target space object can be renovated according to the renovation plan information. Optionally, the online home decoration product can display the three-dimensional real-world space corresponding to the target house. The three-dimensional real-world space includes renovation controls, which users can trigger to renovate the target space object determined in the target house and view the effect after renovation. Based on this, in response to the user's trigger operation of the renovation controls, the renovation plan information corresponding to the target space object can be loaded, and the target real-world space corresponding to the target space object in the three-dimensional real-world space can be renovated according to the renovation plan information. In this embodiment of the application, the renovation plan information includes renovation information for adding wall objects to the target space object and renovation information for creating space objects on the wall objects; wherein, the space objects created on the wall objects are used to install door objects.
[0063] Based on the above, after loading the renovation plan information corresponding to the target space object, the first position information for adding wall objects to the target space object can be determined according to the renovation plan information, and a wall model can be added at the corresponding position in the target real-world space corresponding to the target space object according to the first position information. Furthermore, based on the entrance door position information of the target house and the activity range of the door object, the second position information for creating space objects on the wall object can be determined, and a accommodating space can be created at the corresponding position on the wall model according to the second position information. The accommodating space is used to install the door object. Determining the second position information based on the entrance door position information of the target house and the activity range of the door object is to ensure that the newly added door object and the original entrance door will not collide when both are in the open state. Of course, the method of using the entrance door as a reference to determine the second position information in this embodiment is only an illustrative example. In practical applications, it is not limited to this. The door closest to the newly added wall object can also be used as the reference. This door can be a door leading to other space objects, such as a door from the living room to other bedrooms, kitchens, bathrooms, etc. Different doors can be used as references depending on the different house types. Furthermore, by adding wall objects to the target space object and creating accommodating spaces on the wall objects, the modified effect can be rendered and displayed in the corresponding 3D real-world space of the target house, allowing users to determine whether to modify the target house according to this style.
[0064] In this embodiment, preset modification constraints are set for the structural information corresponding to different types of spatial objects. Based on these constraints, the modifiable target spatial objects in the target house, as well as modification scheme information that matches the type and structural information of the target spatial objects, can be determined. Based on the determined modification scheme information, the target spatial objects can be reasonably modified, and the modified effect can be presented to the user so that the user can decide whether to modify the target house according to the effect. In this way, modification scheme information corresponding to the target house can be generated quickly and efficiently, saving time and manpower costs. Moreover, the obtained modification scheme information matches the actual information of the target house, making the modification more reasonable.
[0065] It should be noted that the specific implementation methods of each step of the above method can be found in the descriptions of the corresponding parts of the above system embodiments, and will not be repeated here. The execution subject of each step of the method provided in the above embodiments can be the same device, or the method can be executed by different devices. For example, the execution subject of steps S1 to S4 can be device A; or, for example, the execution subject of step S1 can be device A, and the execution subject of steps S2 to S4 can be device B; and so on.
[0066] Furthermore, in some of the processes described in the above embodiments and accompanying drawings, multiple operations appear in a specific order. However, it should be clearly understood that these operations may not be executed in the order they appear herein, or they may be executed in parallel. The operation numbers, such as S1, S2, etc., are merely used to distinguish different operations and do not represent any execution order. Additionally, these processes may include more or fewer operations, and these operations may be executed sequentially or in parallel. It should be noted that the descriptions such as "first" and "second" in this document are used to distinguish different messages, devices, modules, etc., and do not represent a sequential order, nor do they limit "first" and "second" to different types.
[0067] Based on the above, this application also provides a housing information processing device, which can be implemented as a virtual device in a Communication Control Unit (CCU), such as an application program. Figure 3 As shown, the housing information processing device includes: an acquisition module 301, a determination module 302, a first processing module 303, and a second processing module 304; wherein, the acquisition module 301 is used to acquire attribute information corresponding to the target house, the attribute information including at least the type information and structural information of at least one spatial object in the target house; the determination module 302 is used to determine the target spatial object to be modified from at least one spatial object based on the type information and structural information of at least one spatial object, combined with the preset modification constraints of the spatial object; the first processing module 303 is used to generate modification scheme information adapted to the target spatial object based on the preset modification constraints adapted to the type information and structural information of the target spatial object; the second processing module 304 is used to modify the target real-world space corresponding to the target spatial object according to the modification scheme information, and render the modified target real-world space into the three-dimensional real-world space corresponding to the target house.
[0068] It should be noted that the specific functions and implementation processes of each module in the above-mentioned device can be found in the above-mentioned method embodiments, and will not be repeated here.
[0069] Based on the above, this application also provides a housing information processing device. Figure 4 This is a structural diagram of a building information processing device, such as... Figure 4 As shown, the housing information processing device includes: a processor 41 and a memory 42 storing a computer program; wherein the processor 41 and the memory 42 may be one or more.
[0070] Memory 42 is primarily used to store computer programs that can be executed by processor 41, causing processor 41 to control the home information processing device to perform corresponding functions, actions, or tasks. In addition to storing computer programs, memory 42 can also be configured to store various other data to support operation on the home information processing device. Examples of this data include instructions for any application or method used to operate on the home information processing device.
[0071] The memory 42 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.
[0072] In this embodiment, the implementation of processor 41 is not limited; it may be, for example, but not limited to, a CPU, GPU, or MCU. Processor 41 can be considered as a control system for the housing information processing device, capable of executing computer programs stored in memory 42 to control the housing information processing device to perform corresponding functions, actions, or tasks. It is worth noting that, depending on the implementation of the housing information processing device and the specific scenario, the required functions, actions, or tasks may differ; correspondingly, the computer programs stored in memory 42 will also differ, and processor 41 can control the housing information processing device to perform different functions and complete different actions or tasks by executing different computer programs.
[0073] In some alternative embodiments, such as Figure 4 As shown, the housing information processing equipment may also include other components such as a display 43, a power supply component 44, and a communication component 45. Figure 4 The diagram only shows some components and does not mean that the housing information processing equipment includes only these components. Figure 4 The components shown are optional. To meet different application needs, the housing information processing device may also include other components, such as those required for voice interaction. Figure 4 As shown, the housing information processing device may also include an audio component 46. The specific components that the housing information processing device may include depend on the product form of the housing information processing device and are not limited here.
[0074] In this embodiment, when the processor executes the computer program in the memory, it is used to: obtain attribute information corresponding to the target house, the attribute information including at least type information and structural information of at least one spatial object in the target house; determine the target spatial object to be modified from at least one spatial object based on the type information and structural information of at least one spatial object and in combination with the preset modification constraints of the spatial object; generate modification scheme information adapted to the target spatial object based on the preset modification constraints adapted to the type information and structural information of the target spatial object; modify the target real-world space corresponding to the target spatial object based on the modification scheme information, and render the modified target real-world space into the three-dimensional real-world space corresponding to the target house.
[0075] It should be noted that the specific functions of the processor in the aforementioned housing information processing equipment can be found in the above method embodiments, and will not be repeated here.
[0076] Accordingly, embodiments of this application also provide a computer-readable storage medium storing a computer program, which, when executed, can perform the steps that can be executed by the housing information processing device in the above method embodiments.
[0077] The communication components in the above embodiments are configured to facilitate wired or wireless communication between the device containing the communication component and other devices. The device containing the communication component can access wireless networks based on communication standards, such as WiFi, 2G, 3G, 4G / LTE, 5G, or combinations thereof. In one exemplary embodiment, the communication component receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component also includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID), Infrared Data Association (IrDA) technology, Ultra-Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0078] The display in the above embodiments includes a screen, which may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touchscreen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors can sense not only the boundaries of touch or swipe actions but also the duration and pressure associated with the touch or swipe operation.
[0079] The power supply component in the above embodiments provides power to various components of the device in which the power supply component is located. The power supply component may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device in which the power supply component is located.
[0080] The audio component in the above embodiments can be configured to output and / or input audio signals. For example, the audio component includes a microphone (MIC) configured to receive external audio signals when the device containing the audio component is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals can be further stored in memory or transmitted via a communication component. In some embodiments, the audio component also includes a speaker for outputting audio signals.
[0081] 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.
[0082] 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.
[0083] 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.
[0084] 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 1The steps of the function specified in one or more boxes.
[0085] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0086] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0087] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0088] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0089] The above are merely embodiments of this application and are not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.
Claims
1. A method for processing housing information, characterized in that, include: Obtain the attribute information corresponding to the target house, wherein the attribute information includes at least the type information and structural information of at least one spatial object in the target house; Based on the type and structural information of the at least one spatial object, and combined with the preset modification constraints for each type of spatial object, the target spatial object to be modified is determined from the at least one spatial object, including: based on the type, shape, and size information corresponding to the at least one spatial object, and combined with the preset modification constraints for different shapes and sizes corresponding to each type of spatial object, at least one modifiable spatial object is determined from the at least one spatial object; a three-dimensional real-world space corresponding to the target house is displayed, and at least one real-world space corresponding to the at least one modifiable spatial object is marked in the three-dimensional real-world space; in response to the selection operation of at least one real-world space in the three-dimensional real-world space, the spatial object corresponding to the selected real-world space is determined as the target spatial object to be modified; Based on preset modification constraints that match the type and structural information of the target space object, modification scheme information adapted to the target space object is generated, including: obtaining modification requirement information of the target space object; based on the modification requirement information and the preset modification constraints that match the type and structural information of the target space object, generating modification parameters, modification instructions, and modification methods for modifying the target space object; and generating modification scheme information adapted to the target space object based on the modification parameters, modification instructions, and modification methods for modifying the target space object, wherein the modification scheme information includes the modification parameters, the modification instructions, the modification methods, and the type and structural information of the newly modified space object corresponding to the modification methods. Based on the transformation plan information, the target real-world space corresponding to the target space object is transformed, and the transformed target real-world space is rendered into the three-dimensional real-world space corresponding to the target house. The modification parameters include the target location information of the object to be modified within the target space object.
2. The method according to claim 1, characterized in that, Obtain the attribute information corresponding to the target house, including: Obtain a two-dimensional floor plan of the target house, and extract the attribute information of the target house from the two-dimensional floor plan; or... Obtain a panoramic image of the target house, and extract the attribute information of the target house from the panoramic image.
3. The method according to claim 1, characterized in that, Based on preset modification constraints that are compatible with the type and structural information of the target space object, modification scheme information compatible with the target space object is generated, including: When the target space object is an independent space object, based on the type information of the target space object and combined with the preset transformation constraints for the shape and size adaptation of the target space object, transformation scheme information for an independent space object adapted to the target space object is generated. When the target space object is a combined space object including at least two independent space objects, based on the type information corresponding to the at least two independent space objects respectively, and combined with the preset transformation constraints that the shapes and sizes of the at least two independent space objects are adapted together, transformation scheme information of the combined space object adapted to the target space object is generated.
4. The method according to claim 1, characterized in that, Based on preset modification constraints that are compatible with the type and structural information of the target space object, modification scheme information compatible with the target space object is generated, including: The attribute information of the target house is input into the house renovation model, so that the house renovation model can obtain the house structure information of the target house after renovation based on the preset renovation constraints of the spatial object; according to the type information and structural information of the target spatial object, renovation scheme information adapted to the target spatial object is extracted from the house structure information; or... The attribute information of the target house is input into the house renovation model, and the target house is specified to be renovated. The house renovation model then obtains renovation scheme information that is compatible with the target space object based on the type information of the target space object and the preset renovation constraints that adapt the shape and size of the target space object.
5. The method according to any one of claims 1-4, characterized in that, Based on the aforementioned renovation plan information, the target real-world space corresponding to the target space object is renovated, including: Display the three-dimensional real-world space corresponding to the target house, and the three-dimensional real-world space includes renovation controls; In response to a trigger operation on the modified control, the modification scheme information is loaded; Based on the transformation plan information, the target real-world space corresponding to the target space object in the three-dimensional real-world space is transformed.
6. The method according to claim 5, characterized in that, The renovation plan information includes renovation information for adding wall objects to the target space object. Based on the renovation plan information, the target real-world space corresponding to the target space object is renovated, including: Determine the first location information for adding the wall object to the target space object; Based on the first location information, add a wall model at the corresponding location in the target real-world space corresponding to the target space object.
7. The method according to claim 6, characterized in that, The renovation plan information also includes renovation information on creating space objects on the wall object, and the method further includes: Based on the location information of the entrance door of the target house and the range of motion of the door object, determine the second location information of the space object to be opened on the wall object; Based on the second location information, an accommodating space is created at the corresponding location on the wall model.
8. A housing information processing device, characterized in that, include: Acquisition module, determination module, first processing module, and second processing module; The acquisition module is used to acquire attribute information corresponding to the target house, and the attribute information includes at least the type information and structural information of at least one spatial object in the target house; The determining module is used to determine the target space object to be modified from the at least one space object based on the type information and structural information of the at least one space object, combined with the preset modification constraints of each type of space object; The first processing module is used to generate modification scheme information adapted to the target space object based on preset modification constraints that are compatible with the type and structure information of the target space object. The second processing module is used to modify the target real-world space corresponding to the target space object according to the modification scheme information, and render the modified target real-world space into the three-dimensional real-world space corresponding to the target house. The modification parameters include the target location information of the object to be modified in the target space object; The acquisition module, the determination module, the first processing module, and the second processing module are specifically used to perform the operations in the corresponding steps of the method according to any one of claims 1-7.
9. A housing information processing device, characterized in that, include: A memory and a processor, wherein the memory stores a computer program and the processor executes the computer program to implement any one of the steps of the method according to claims 1-7.
10. A computer-readable storage medium storing a computer program / instructions, characterized in that, When the computer program / instructions are executed by the processor, the processor causes the processor to perform any one of the steps in the method of claims 1-7.
Citation Information
Patent Citations
Information display method and device and storage medium
CN114186311A