Decoration effect picture display method, electronic equipment and computer program product

By matching the room's feature data with the pre-generated mapping relationship, and directly displaying the pre-generated decoration renderings, the problem of slow display of decoration renderings in the prior art is solved, and a faster display of decoration renderings is achieved.

CN119540490APending Publication Date: 2025-02-28KE COM (BEIJING) TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411657960.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-19
Publication Date
2025-02-28

AI Technical Summary

Technical Problem

In the prior art, the generation and display process of decoration renderings consumes a lot of GPU resources, which causes users to wait for a long time to view the decoration renderings, and there is a problem of slow display of decoration renderings.

Method used

By determining the room's feature data and matching it with the feature data in the pre-generated mapping relationship, the pre-generated decoration renderings corresponding to the matching feature data are obtained and displayed directly to avoid regenerating the decoration renderings in real time.

Benefits of technology

It reduces the demand for GPU resources, shortens the generation time of decoration renderings, and improves the display speed of decoration renderings.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119540490A_ABST
    Figure CN119540490A_ABST
Patent Text Reader

Abstract

The invention provides a decoration effect picture display method, electronic equipment and a computer program product. The decoration effect picture display method comprises the steps of determining feature data of a room; the feature data of the room are matched with feature data in a pre-generated mapping relation, feature data matched with the feature data of the room are obtained, and the mapping relation is the mapping relation between the feature data and a pre-generated decoration effect picture; and displaying the pre-generated decoration effect picture corresponding to the matched feature data as a decoration effect picture of the room.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of computers and the like, and in particular to a decoration effect diagram display method, electronic equipment and computer program product. Background Art

[0002] With the continuous development of computer technology, the decoration method has gradually changed. For example, the generation method of decoration renderings has gradually evolved from manual drawing by designers to automatic generation by computers. In the related art, each time the computer automatically generates a decoration rendering, it consumes a lot of GPU resources and takes a long time, which causes users to wait for a long time before they can view the decoration rendering. In other words, there are problems such as slow display speed of decoration renderings in the related art. Summary of the invention

[0003] In order to solve at least one of the above technical problems, the present disclosure provides a decoration effect picture display method, electronic device, storage medium and computer program product.

[0004] According to one aspect of the present disclosure, a method for displaying a decoration rendering is provided, comprising: determining feature data of a room; matching the feature data of the room with each feature data in a pre-generated mapping relationship respectively to obtain feature data matching the feature data of the room, wherein the mapping relationship is a mapping relationship between feature data and a pre-generated decoration rendering; and displaying the pre-generated decoration rendering corresponding to the matched feature data as the decoration rendering of the room.

[0005] According to the decoration effect display method of at least one embodiment of the present disclosure, determining the characteristic data of a room includes: in response to receiving an interior image of the room, converting the interior image of the room into a vector, and using the obtained vector as the characteristic data of the room.

[0006] According to at least one embodiment of the decoration rendering display method of the present disclosure, determining the characteristic data of a room includes: determining the size information and door and window information of the room; generating a first three-dimensional model according to the size information and door and window information of the room, wherein the first three-dimensional model is a three-dimensional model of the room; acquiring an internal image of the first three-dimensional model under a target perspective; and converting the internal image of the first three-dimensional model into a vector, and using the obtained vector as the characteristic data of the room.

[0007] According to the decoration effect display method of at least one embodiment of the present disclosure, the room is split from the floor plan input by the user, the size information and door and window information of the room are extracted from the floor plan, and the floor plan includes the size information and door and window information of the room.

[0008] According to the decoration effect display method of at least one embodiment of the present disclosure, the feature data of the room are matched with each feature data in a pre-stored mapping relationship to obtain feature data matching the feature data of the room, including: calculating the similarity between the feature data of the room and each feature data in the pre-stored mapping relationship; and taking the feature data whose similarity is greater than or equal to a similarity threshold as the feature data matching the feature data of the room.

[0009] According to at least one embodiment of the present disclosure, the decoration rendering display method further includes: when feature data matching the feature data of the room cannot be obtained, inputting the feature data of the room into a decoration rendering generation model, generating a decoration rendering of the room through the decoration rendering generation model; and displaying the decoration rendering of the room.

[0010] According to at least one embodiment of the decoration rendering display method of the present disclosure, after the decoration rendering of the room is generated by the decoration rendering generation model, it also includes: storing the feature data of the room and the decoration rendering in the mapping relationship.

[0011] According to the decoration rendering display method of at least one embodiment of the present disclosure, the mapping relationship is generated by the following steps: acquiring feature data of a target room; inputting the feature data of the target room into a decoration rendering generation model, and using the decoration rendering generation model to generate a decoration rendering of the target room; and generating a mapping relationship between the feature data of the target room and the decoration rendering.

[0012] According to at least one embodiment of the decoration rendering display method disclosed herein, the characteristic data of the target room is obtained, including: determining the size information and door and window information of the target room; generating a second three-dimensional model according to the size information and door and window information of the target room, wherein the second three-dimensional model is the three-dimensional model of the target room; obtaining an internal image of the second three-dimensional model from a target perspective; and converting the internal image of the second three-dimensional model into a vector, and using the obtained vector as the characteristic data of the target room.

[0013] According to the decoration rendering display method of at least one embodiment of the present disclosure, the target room is split from the target floor plan, the size information and door and window information of the target room are extracted from the target floor plan, the target floor plan includes the size information and door and window information of the target room, and the target floor plan is the floor plan of a house sold in a historical real estate transaction and / or the floor plan of a house already owned by the user.

[0014] According to another aspect of the present disclosure, an electronic device is provided, comprising: a memory storing a computer program; and a processor executing the computer program stored in the memory, so that the processor executes the decoration effect picture display method of any embodiment of the present disclosure.

[0015] According to another aspect of the present disclosure, a readable storage medium is provided, in which a computer program is stored. When the computer program is executed by a processor, it is used to implement the decoration effect picture display method of any embodiment of the present disclosure.

[0016] According to another aspect of the present disclosure, a computer program product is provided, including a computer program, wherein when the computer program is executed by a processor, the method for displaying a decoration effect diagram of any embodiment of the present disclosure is implemented. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The accompanying drawings illustrate exemplary embodiments of the present disclosure and together with the description serve to explain the principles of the present disclosure. These drawings are included to provide a further understanding of the present disclosure and are incorporated in and constitute a part of this specification.

[0018] Figure 1 It is a schematic diagram of the overall process of a decoration effect diagram display method according to an embodiment of the present disclosure.

[0019] Figure 2 It is a schematic diagram of a process of determining characteristic data of a room according to an embodiment of the present disclosure.

[0020] Figure 3 It is a schematic diagram of a process of determining matching feature data according to one embodiment of the present disclosure.

[0021] Figure 4 It is a schematic diagram of a process of determining matching feature data according to another embodiment of the present disclosure.

[0022] Figure 5 It is a schematic diagram of the overall process of a decoration effect diagram display method according to another embodiment of the present disclosure.

[0023] Figure 6 It is a schematic diagram of the overall process of a decoration effect diagram display method according to another embodiment of the present disclosure.

[0024] Figure 7 It is a schematic diagram of a process of generating a mapping relationship according to an embodiment of the present disclosure.

[0025] Figure 8 It is a flowchart of a method for displaying decoration effect pictures according to an embodiment of the present disclosure.

[0026] Fig. 9 It is a schematic structural block diagram of a decoration effect picture display device according to an embodiment of the present invention.

[0027] Fig.10 It is a schematic block diagram of the structure of an electronic device equipped with a decoration effect picture display device according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0028] The present disclosure is further described in detail below in conjunction with the accompanying drawings and examples. It is understood that the specific examples described herein are only used to explain the relevant content, rather than to limit the present disclosure. It should also be noted that, for ease of description, only the parts related to the present disclosure are shown in the accompanying drawings.

[0029] It should be noted that, in the absence of conflict, the embodiments and features of the embodiments in the present disclosure can be combined with each other. The technical solution of the present disclosure will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0030] In the related art, every time an electronic device receives a decoration rendering generation request, it needs to allocate certain GPU resources for the decoration rendering generation request to generate the decoration rendering in real time. Each generation of the decoration rendering takes a certain amount of time. Even if the previous and subsequent decoration rendering generation requests are the same request, it is still necessary to allocate GPU resources for each request separately, and generate the decoration rendering separately in real time. This involves duplication of work, which will not only waste GPU resources, but also lead to meaningless growth in time consumption. In summary, the related art has problems such as slow display speed of decoration renderings.

[0031] To this end, the present disclosure proposes a method for displaying a decoration effect diagram.

[0032] The decoration effect picture display method disclosed in the present invention can be used for electronic devices to display decoration effect pictures of rooms. In the present invention, electronic devices include but are not limited to mobile phones, tablet computers, laptop computers, personal computers, wearable devices, ATMs, etc.

[0033] For the convenience of description and to make the technical solution of the specific implementation of the present disclosure easier to understand, before describing the decoration effect picture display method implemented by the present disclosure, the technical terms involved in the specific implementation of the present disclosure are explained as follows: A graphics processing unit (GPU), also known as a display core, visual processor, or display chip, is a microprocessor that specializes in performing image and graphics-related calculations on electronic devices such as personal computers, workstations, game consoles, tablets, and smartphones.

[0034] The characteristic data of a room refers to the data that can represent relevant information such as the size or type of the room.

[0035] The decoration rendering of a room refers to a schematic diagram of the expected effect of the room after decoration.

[0036] A mapping relationship refers to the "corresponding" relationship between elements of two element sets.

[0037] The interior image of a room refers to the scene inside the room from the target perspective.

[0038] A vector is a data set consisting of an ordered set of numerical values.

[0039] A floor plan refers to the floor plan of a house, which may include information such as the function, location, size, etc. of each independent room.

[0040] The three-dimensional model of a room refers to a model that includes multiple information such as the length, width, height, door and window installation positions, and door and window sizes of the room.

[0041] The internal image of a 3D model refers to the scene inside the 3D model from the target perspective.

[0042] Similarity refers to the degree of similarity between two things.

[0043] The decoration rendering generation model refers to a pre-trained model that can automatically generate decoration renderings based on input data.

[0044] Figure 1 FIG. 1 is a schematic diagram showing the overall process of a decoration effect diagram display method M100 according to an embodiment of the present disclosure. Figure 1 The method shown includes steps S110 to S130. The method can be executed by electronic devices such as mobile phones and tablet computers.

[0045] Specifically, Figure 1 The methods shown include: S110, determining characteristic data of the room; The characteristic data of a room refers to data that can represent relevant information such as the size or type of the room. Since the characteristic data can clearly represent relevant information such as the size or type of the room, the electronic device can accurately distinguish different rooms based on the characteristic data.

[0046] S120, matching the feature data of the room with each feature data in the pre-generated mapping relationship respectively, to obtain feature data matching the feature data of the room, wherein the mapping relationship is a mapping relationship between the feature data and the pre-generated decoration rendering; The mapping relationship refers to the "corresponding" relationship between the elements of the feature data set and the pre-generated decoration effect picture data set. The mapping relationship may include at least one feature data and at least one pre-generated decoration effect picture corresponding to the feature data. In the mapping relationship, one feature data may correspond to one pre-generated decoration effect picture, or multiple feature data may correspond to one pre-generated decoration effect picture, which is not limited here. The mapping relationship can be generated by the first electronic device and stored in the database, and the second electronic device that executes the decoration effect picture display method can communicate with the database to obtain the pre-generated mapping relationship. The second electronic device can communicate with the database to obtain the latest mapping relationship every time the mapping relationship is needed, thereby improving the accuracy of the decoration effect picture display; or, the second electronic device can also communicate with the database periodically at a certain frequency to periodically obtain the mapping relationship, and store the obtained mapping relationship locally in the second electronic device, which is conducive to saving the communication time when the decoration effect picture is displayed multiple times in each cycle, and improving the display speed of the decoration effect picture. The characteristic data in the mapping relationship may be the characteristic data of the target room, and the target room may be obtained through the target floor plan. Thus, the characteristic data obtained in step S110 and the characteristic data in the mapping relationship belong to the same type of data, and the two can be effectively matched, thereby determining the characteristic data that matches the characteristic data of the room in step S110 from the mapping relationship.

[0047] S130, displaying the pre-generated decoration effect picture corresponding to the matched feature data as the decoration effect picture of the room; The decoration rendering of a room refers to a schematic diagram of the effect that is expected to be presented after the room is decorated. Since the pre-generated decoration rendering in the mapping relationship can be the pre-generated decoration rendering of the target room, when the feature data of the target room matches the feature data of the room, the pre-generated decoration rendering of the target room can be used as the decoration rendering of the room. Exemplarily, when the number of pre-generated decoration renderings corresponding to the matched feature data is one, the one pre-generated decoration rendering can be directly displayed as the decoration rendering of the room; when the number of pre-generated decoration renderings corresponding to the matched feature data is multiple, at least one of the multiple pre-generated decoration renderings can be displayed, for example, the pre-generated decoration rendering that has not been displayed to the current user in the multiple pre-generated decoration renderings is displayed or highlighted, and the pre-generated decoration rendering that has been displayed to the current user in the multiple pre-generated decoration renderings is not displayed or is faded, so that the decoration rendering displayed to the current user can be guaranteed as much as possible that the current user has never seen it, thereby improving the data exposure rate, which is conducive to the current user to understand more diverse decoration renderings.

[0048] The decoration rendering display method provided by the embodiment of the present disclosure has the following advantages: since the decoration rendering corresponding to the feature data matching the room feature data in the mapping relationship is pre-generated, the pre-generated decoration rendering corresponding to the feature data matching the room feature data in the mapping relationship is directly displayed as the decoration rendering of the room, which can avoid the use of complex algorithms to regenerate the decoration rendering of the room in real time, thereby avoiding duplication of work and saving GPU resources. In addition, it is obviously less time-consuming to directly use the pre-generated decoration rendering than to regenerate the decoration rendering. In summary, the display speed of the decoration rendering is improved.

[0049] Regarding step S110, in some embodiments of the present disclosure, it may include: in response to receiving the interior image of the room, converting the interior image of the room into a vector, and using the obtained vector as feature data of the room.

[0050] Among them, the interior image of the room refers to the scene inside the room under the target perspective. The target perspective, for example, is looking into the room from the door of the room, or looking into the room from the window of the room, or looking into the room from any corner of the room, or looking into the room from other positions in the room. In one example, the electronic device can prompt the user to upload the interior image of the room. After the user uploads the interior image of the room to the electronic device, the electronic device determines that the interior image of the room is received. In another example, the electronic device is provided with a camera device, and the electronic device can prompt the user to take a picture of the interior image of the room. After the user uses the electronic device to take a picture of the interior of the room from the first perspective, the electronic device can receive the interior image of the room.

[0051] A vector is a set of data consisting of an ordered set of numerical values. The internal image can be converted into a vector with the help of image processing software, online tools or feature extraction networks in related technologies. Since the feature data is in the form of a vector, it can more comprehensively represent the relevant information of the room, which is conducive to improving the accuracy of feature data matching.

[0052] The decoration rendering display method of the above-mentioned embodiment extracts the characteristic data of the room from the interior image of the room based on the image steering method, providing a basis for the subsequent steps of the decoration rendering display method, thereby meeting the user's needs of obtaining room decoration renderings by taking pictures of the interior of the room.

[0053] Regarding step S110, in some embodiments of the present disclosure, it may include: Figure 2 Steps S111 to S114 are shown.

[0054] S111, determining the size information and door and window information of the room; The size information of the room may include one or more of the length information, width information and height information of the room. The door and window information of the room may include one or more of the door and window installation position information and the door and window size information. The door and window installation position information refers to the installation position of the door and / or window in the room. The door and window size information refers to the length and width of the door and / or window. Determining the size information and door and window information of the room is conducive to the electronic device to accurately understand the room structure, and then accurately generate a three-dimensional model of the room, providing a basis for the execution of subsequent steps. In one example, the electronic device may prompt the user to upload a floor plan, which refers to the floor plan of the house, and may include the use function, corresponding position, size and other information of each independent room. After the user uploads the floor plan, the electronic device can split the room from the floor plan input by the user, and extract the size information and door and window information of the room from the floor plan, thereby meeting the user's need to obtain the room decoration rendering by uploading the floor plan.

[0055] S112, generating a first three-dimensional model according to the size information and the door and window information of the room, where the first three-dimensional model is a three-dimensional model of the room; The three-dimensional model of a room refers to a model that includes multiple information including the length, width, height, door and window installation positions, and door and window sizes of the room. The three-dimensional model of the room can provide a clear and intuitive understanding of the room structure. For example, a closed and hollow cube can be generated based on the length information, width information, and height information of the room. The length of the cube is the length of the room, the width is the width of the room, and the height is the height of the room. Then, doors and / or windows with the same door and window size information are added to the position on the cube corresponding to the door and window installation position, thereby obtaining a three-dimensional model of the room.

[0056] S113, acquiring an internal image of the first three-dimensional model from a target perspective; The internal image of the first three-dimensional model refers to the scene inside the first three-dimensional model under the target perspective. Since the first three-dimensional model is a three-dimensional model of a room, which may include room structures such as doors and windows, the target perspective may be looking at the first three-dimensional model from the doorway of the first three-dimensional model, or looking at the first three-dimensional model from the window of the first three-dimensional model, or looking at the first three-dimensional model from any corner of the first three-dimensional model, or looking at the first three-dimensional model from other positions in the first three-dimensional model. In one example, the first three-dimensional model is generated by three-dimensional modeling software, and the camera position is set to the doorway by default in the three-dimensional modeling software, and the target perspective is to look at the first three-dimensional model from the doorway of the first three-dimensional model, and then the first three-dimensional model is photographed by the camera of the three-dimensional modeling software to obtain the internal image of the first three-dimensional model under the target perspective.

[0057] S114: Convert the internal image of the first three-dimensional model into a vector, and use the obtained vector as feature data of the room.

[0058] A vector is a data set consisting of a set of ordered numerical values. The internal image of the three-dimensional model can be converted into a vector with the help of image processing software, online tools or feature extraction networks in related technologies. Since the feature data is in the form of a vector, it can more comprehensively characterize the relevant information of the room, which is conducive to improving the accuracy of feature data matching. Since the first three-dimensional model is generated based on the relevant information of the room, the internal image of the first three-dimensional model is equivalent to the internal image of the room, and then the vector converted from the internal image of the first three-dimensional model can be used as the feature data of the room.

[0059] The decoration rendering display method of the above-mentioned embodiment adopts a first three-dimensional model to simulate the real room structure, and then extracts the characteristic data of the room from the internal image of the first three-dimensional model based on the method of image steering, thereby providing a basis for the subsequent steps of the decoration rendering display method.

[0060] Regarding step S120, in some embodiments of the present disclosure, it may include the following steps: Figure 3 Step S121 and step S122 are shown.

[0061] S121, calculating the similarity between the feature data of the room and each feature data in the pre-stored mapping relationship; Among them, similarity refers to the degree of similarity between the feature data of a room and the feature data in the mapping relationship. In one example, the cosine similarity, Jaccard similarity or correlation coefficient between the feature data of a room and a feature data in the mapping relationship is used as the similarity between the feature data of the room and the feature data in the mapping relationship; in another example, the negative of the Euclidean distance or the negative of the Manhattan distance between the feature data of a room and a feature data in the mapping relationship is used as the similarity between the feature data of the room and the feature data in the mapping relationship. In this way, the greater the similarity, the more similar the feature data of the room is to the feature data in the mapping relationship; the smaller the similarity, the more different the feature data of the room is from the feature data in the mapping relationship. By comparing the size of the similarity, it is possible to accurately determine which feature data in the mapping relationship is more similar to the feature data of the room.

[0062] S122: Taking feature data whose similarity is greater than or equal to the similarity threshold as feature data that matches the feature data of the room.

[0063] The similarity threshold can be set according to actual conditions and is not limited here. If there is no feature data in the mapping relationship whose similarity is greater than or equal to the similarity threshold, that is, the similarity between any feature data in the mapping relationship and the feature data of the room is less than the similarity threshold, then feature data matching the feature data of the room cannot be obtained.

[0064] The decoration effect picture display method of the above-mentioned embodiment can accurately filter out the feature data that matches the feature data of the room in the mapping relationship through the similarity threshold, thereby facilitating improving the matching degree between the decoration effect picture determined subsequently and the room.

[0065] Regarding step S120, in some embodiments of the present disclosure, it may include the following steps: Figure 4 Step S121' and step S122' are shown.

[0066] S121', calculating the similarity between the characteristic data of the room and each characteristic data in the pre-stored mapping relationship; Among them, similarity refers to the degree of similarity between the feature data of a room and the feature data in the mapping relationship. In one example, the cosine similarity, Jaccard similarity or correlation coefficient between the feature data of a room and a feature data in the mapping relationship is used as the similarity between the feature data of the room and the feature data in the mapping relationship; in another example, the negative of the Euclidean distance or the negative of the Manhattan distance between the feature data of a room and a feature data in the mapping relationship is used as the similarity between the feature data of the room and the feature data in the mapping relationship. In this way, the greater the similarity, the more similar the feature data of the room is to the feature data in the mapping relationship; the smaller the similarity, the more different the feature data of the room is from the feature data in the mapping relationship. By comparing the size of the similarity, it is possible to accurately determine which feature data in the mapping relationship is more similar to the feature data of the room.

[0067] S122', taking the N feature data with the greatest similarity as feature data matching the feature data of the room, where N≥1.

[0068] Wherein, N can be set according to actual conditions and is not limited here. When the similarity is sorted in descending order, the N feature data with the greatest similarity are the feature data ranked in the first N places; when the similarity is sorted in descending order, the N feature data with the greatest similarity are the feature data ranked in the last N places.

[0069] The decoration rendering display method of the above-mentioned implementation method can ensure to the greatest extent that feature data matching the feature data of the room can be obtained from the mapping relationship, so as to use the pre-generated decoration rendering corresponding to the feature data in the pre-stored mapping relationship as the decoration rendering of the room instead of regenerating the decoration rendering of the room. While ensuring the matching degree between the decoration rendering determined subsequently and the room as much as possible, problems such as slow display speed of the decoration rendering caused by regenerating the decoration rendering of the room are avoided as much as possible.

[0070] In some embodiments of the present disclosure, the decoration effect diagram display method M100 may also include: Figure 5 Step S140 and step S150 are shown.

[0071] S140, when feature data matching the feature data of the room cannot be obtained, inputting the feature data of the room into a decoration rendering generation model, and generating a decoration rendering of the room through the decoration rendering generation model; Among them, the decoration rendering generation model refers to a pre-trained model that can automatically generate decoration renderings based on input data.

[0072] S150: Display the decoration effect diagram of the room.

[0073] The decoration rendering display method of the above-mentioned implementation mode can generate the decoration rendering of the room in a timely manner through the decoration rendering generation model even if there is no feature data matching the feature data of the room in the mapping relationship, thereby ensuring that the decoration rendering of the room can be displayed normally to meet the user's usage needs.

[0074] In some embodiments of the present disclosure, after step S140, the decoration effect diagram display method M100 may further include: Figure 6 Step S160 is shown.

[0075] S160: storing the room feature data and the decoration rendering into a mapping relationship.

[0076] It is worth noting that in Figure 6 In the implementation manner, step S160 is executed before step S150. In other implementation manners, step S160 may also be executed after step S150, or step S160 and step S150 may be executed simultaneously, which is not limited here.

[0077] The decoration rendering display method of the above-mentioned embodiment can increase the data volume of the mapping relationship by storing the decoration rendering and feature data of the room generated in real time in the mapping relationship. Then, next time when a decoration rendering needs to be generated for a similar or identical room, the corresponding decoration rendering can be quickly determined directly through the mapping relationship, thereby avoiding repeated real-time generation of the decoration rendering of the room, saving GPU resources, reducing the time spent on generating images, and improving the display speed of the decoration rendering.

[0078] In some embodiments of the present disclosure, the mapping relationship can be Figure 7 Steps S210 to S230 are shown.

[0079] S210, acquiring characteristic data of the target room; Exemplarily, step S210 may include: determining the size information and door and window information of the target room; generating a second three-dimensional model according to the size information and door and window information of the target room, the second three-dimensional model being the three-dimensional model of the target room; obtaining the internal image of the second three-dimensional model under the target perspective; and converting the internal image of the second three-dimensional model into a vector, and using the obtained vector as the characteristic data of the target room. For details, please refer to the description of steps S111 to S114, which will not be repeated here for the sake of brevity. The target room is obtained by splitting from the target floor plan, and the size information and door and window information of the target room are extracted from the target floor plan. The target floor plan includes the size information and door and window information of the target room, and the target floor plan is the floor plan of the house sold in the historical real estate transaction and / or the floor plan of the house already owned by the user. The target floor plan may include information such as the use function, corresponding position, size, etc. of each independent room.

[0080] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the type, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0081] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.

[0082] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0083] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0084] At the same time, it is understandable that the data involved in the technical solution of the present disclosure (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.

[0085] S220, inputting the characteristic data of the target room into a decoration rendering generation model, and generating a decoration rendering of the target room through the decoration rendering generation model; Among them, the decoration rendering generation model refers to a pre-trained model that can automatically generate decoration renderings based on input data.

[0086] S230: Generate a mapping relationship between the feature data of the target room and the decoration rendering.

[0087] The decoration rendering display method of the above-mentioned embodiment improves the possibility of pre-generating the mapping relationship between the characteristic data of the target room and the decoration rendering, because the size information and the door and window information of the target room are easier to obtain, and ensures that the pre-generated mapping relationship between the characteristic data of the target room and the decoration rendering has a large data volume, so that more rooms can be covered. When displaying the decoration renderings of more rooms, the pre-generated decoration renderings in the mapping relationship can be directly used, without real-time and re-generating the decoration renderings, which is beneficial to improving the display speed of the decoration renderings.

[0088] Figure 8 Taking the generation of a decoration rendering based on a house plan as an example, the decoration rendering display method of the embodiment of the present disclosure is explained.

[0089] like Figure 8As shown, after receiving the floor plan input by the user, the data in the floor plan is extracted to obtain the length information, width information, height information, door and window installation position information and door and window size information of each room in the floor plan. Then, for each room in the floor plan, the following operations are performed respectively: a three-dimensional model of the room is generated according to the length information, width information, height information, door and window installation position information and door and window size information of the room, and the interior of the three-dimensional model of the room is photographed to obtain the internal image of the three-dimensional model of the room, and the internal image of the three-dimensional model of the room is converted into a vector, and the obtained vector is used as the feature data of the room, and the feature data of the room is matched with each feature data in the pre-generated mapping relationship respectively, and it is judged whether there is feature data matching the feature data of the room in the mapping relationship, if so, the pre-generated decoration effect picture corresponding to the feature data matching the feature data of the room is used as the decoration effect picture of the room; if not, the feature data of the room is input into the decoration effect picture generation model, and the decoration effect picture of the room is generated by the decoration effect picture generation model. Finally, after the decoration effect pictures of each room in the floor plan are determined, the decoration effect pictures of each room are summarized and displayed.

[0090] Based on any of the above embodiments, the present disclosure also provides a decoration effect picture display device.

[0091] Fig. 9 It is a schematic structural block diagram of a decoration effect picture display device according to an embodiment of the present invention.

[0092] like Fig. 9 As shown, the decoration effect picture display device includes: The determination module 110 is used to determine characteristic data of the room.

[0093] The matching module 120 is used to match the feature data of the room with each feature data in the pre-generated mapping relationship to obtain feature data matching the feature data of the room, wherein the mapping relationship is a mapping relationship between the feature data and the pre-generated decoration rendering.

[0094] The display module 130 is used to display the pre-generated decoration effect picture corresponding to the matched characteristic data as the decoration effect picture of the room.

[0095] The above modules can be implemented by computer program modules.

[0096] In some embodiments of the present disclosure, the determination module 110 is configured to, in response to receiving an interior image of the room, convert the interior image of the room into a vector, and use the obtained vector as feature data of the room.

[0097] In some embodiments of the present disclosure, the determination module 110 is used to determine the size information and door and window information of the room; generate a first three-dimensional model according to the size information and door and window information of the room, the first three-dimensional model being a three-dimensional model of the room; obtain an internal image of the first three-dimensional model under a target perspective; and convert the internal image of the first three-dimensional model into a vector, and use the obtained vector as feature data of the room. The room is obtained by splitting the floor plan input by the user, the size information and door and window information of the room are extracted from the floor plan, and the floor plan includes the size information and door and window information of the room.

[0098] In some embodiments of the present disclosure, the matching module 120 is used to calculate the similarity between the feature data of the room and each feature data in the pre-stored mapping relationship; and take the feature data whose similarity is greater than or equal to the similarity threshold as the feature data matching the feature data of the room.

[0099] In some embodiments of the present disclosure, the matching module 120 is used to calculate the similarity between the feature data of the room and each feature data in the pre-stored mapping relationship; and take the N feature data with the greatest similarity as the feature data matching the feature data of the room, where N≥1.

[0100] In some embodiments of the present disclosure, the decoration rendering display device also includes: a generation module, which is used to input the characteristic data of the room into a decoration rendering generation model when characteristic data matching the characteristic data of the room cannot be obtained, and generate a decoration rendering of the room through the decoration rendering generation model; and display the decoration rendering of the room.

[0101] In some embodiments of the present disclosure, the decoration rendering display device further includes: a storage module, which is used to store the feature data of the room and the decoration rendering into a mapping relationship.

[0102] In some embodiments of the present disclosure, the mapping relationship is generated by the following steps: obtaining the characteristic data of the target room; inputting the characteristic data of the target room into the decoration rendering generation model, generating the decoration rendering of the target room through the decoration rendering generation model; and generating a mapping relationship between the characteristic data of the target room and the decoration rendering. Wherein, obtaining the characteristic data of the target room includes: determining the size information and door and window information of the target room; generating a second three-dimensional model according to the size information and door and window information of the target room, the second three-dimensional model being the three-dimensional model of the target room; obtaining the internal image of the second three-dimensional model under the target perspective; and converting the internal image of the second three-dimensional model into a vector, and using the obtained vector as the characteristic data of the target room. The target room is obtained by splitting from the target floor plan, the size information and door and window information of the target room are extracted from the target floor plan, the target floor plan includes the size information and door and window information of the target room, and the target floor plan is the floor plan of the house sold in the historical real estate transaction and / or the floor plan of the house already owned by the user.

[0103] The implementation process of the functions and effects of each module in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned method, which will not be repeated here.

[0104] The execution subject of the decoration effect picture display method in the specific implementation manner of the present disclosure may be a mobile phone, a tablet computer, a server or other electronic device.

[0105] Therefore, based on any of the above-mentioned embodiments, the present disclosure also provides an electronic device, which can execute the decoration effect picture display method of any of the embodiments described above in the present disclosure, and the decoration effect picture display device of any of the embodiments described above can be configured on the electronic device.

[0106] Fig.10 It is a schematic block diagram of the structure of an electronic device 1000 equipped with a decoration effect picture display device according to an embodiment of the present disclosure.

[0107] The hardware structure of the electronic device 1000 can be implemented using a bus architecture. The bus architecture can include any number of interconnected buses and bridges, depending on the specific application and overall design constraints of the hardware. The bus 1100 connects various circuits including one or more processors 1200, memory 1300 and / or hardware modules together. The bus 1100 can also connect various other circuits 1400 such as peripherals, voltage regulators, power management circuits, external antennas, etc.

[0108] The bus 1100 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Component (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the figure only uses one connecting line, but does not mean that there is only one bus or one type of bus.

[0109] The present disclosure also provides a readable storage medium, in which a computer program is stored, and the computer program is used to implement the above method when executed by a processor. "Readable storage medium" can be any device that can contain, store, communicate, propagate or transmit a program for use in an instruction execution system, device or equipment or in combination with these instruction execution systems, devices or equipment. More specific examples of readable storage media include the following: an electrical connection portion (electronic device) with one or more wirings, a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and editable read-only memory (EPROM or flash memory), an optical fiber device, and a portable read-only memory (CDROM), etc.

[0110] The present disclosure also provides a computer program product. The method of the present disclosure can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instruction is loaded and executed, the process or function of the present disclosure is executed in whole or in part.

[0111] A computer program or instruction may be stored in a readable storage medium or transmitted from one readable storage medium to another readable storage medium, for example, a computer program or instruction may be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired or wireless means. The readable storage medium may be any available medium that can be accessed or a data storage device such as a server, data center, etc. that integrates one or more available media. The available medium may be a magnetic medium, such as a floppy disk, a hard disk, or a magnetic tape; it may also be an optical medium, such as a digital video disk; it may also be a semiconductor medium, such as a solid state drive. The computer readable storage medium may be a volatile or non-volatile storage medium, or may include both volatile and non-volatile types of storage media.

[0112] Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present disclosure may take the form of a computer program product implemented 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.

[0113] The present disclosure is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to the present disclosure. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0114] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0115] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0116] In the description of this specification, the description with reference to the terms "one embodiment / method", "some embodiments / methods", "example", "specific example", or "some examples" etc. means that the specific features, structures, or characteristics described in conjunction with the embodiment / method or example are included in at least one embodiment / method or example of the present disclosure. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment / method or example. Moreover, the specific features, structures, or characteristics described may be combined in any one or more embodiments / methods or examples in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments / methods or examples described in this specification and features of different embodiments / methods or examples, unless they are contradictory.

[0117] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present disclosure, "plurality" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0118] Those skilled in the art should understand that the above embodiments are only for the purpose of clearly illustrating the present disclosure, and are not intended to limit the scope of the present disclosure. For those skilled in the art, other changes or modifications may be made based on the above disclosure, and these changes or modifications are still within the scope of the present disclosure.

Claims

1. A decoration effect picture display method, characterized in that: include: Determine the characteristic data of the room; Matching the feature data of the room with each feature data in a pre-generated mapping relationship respectively to obtain feature data matching the feature data of the room, wherein the mapping relationship is a mapping relationship between the feature data and a pre-generated decoration rendering; and The pre-generated decoration effect picture corresponding to the matched characteristic data is displayed as the decoration effect picture of the room.

2. The decoration effect diagram display method according to claim 1, characterized in that: Determine the room's characteristic data, including: In response to receiving the interior image of the room, the interior image of the room is converted into a vector, and the obtained vector is used as feature data of the room.

3. The decoration effect diagram display method according to claim 1, characterized in that: Determine the room's characteristic data, including: Determine the size information and door and window information of the room; Generate a first three-dimensional model according to the size information and the door and window information of the room, where the first three-dimensional model is a three-dimensional model of the room; Acquire an internal image of the first three-dimensional model from a target perspective; and The internal image of the first three-dimensional model is converted into a vector, and the obtained vector is used as the feature data of the room.

4. The decoration effect diagram display method according to claim 3, characterized in that: The room is obtained by splitting from a floor plan input by a user, and the size information and door and window information of the room are extracted from the floor plan, which includes the size information and door and window information of the room.

5. The decoration effect diagram display method according to claim 1, characterized in that: Matching the characteristic data of the room with each characteristic data in the pre-stored mapping relationship respectively to obtain characteristic data matching the characteristic data of the room includes: Calculating the similarity between the feature data of the room and each feature data in the pre-stored mapping relationship; and The feature data whose similarity is greater than or equal to the similarity threshold is used as feature data that matches the feature data of the room.

6. The decoration effect diagram display method according to any one of claims 1 to 5, characterized in that: Also includes: In the case where feature data matching the feature data of the room cannot be obtained, inputting the feature data of the room into a decoration rendering generation model, and generating a decoration rendering of the room through the decoration rendering generation model; and The decoration effect diagram of the room is displayed.

7. The decoration effect diagram display method according to claim 6, characterized in that: After the decoration effect picture of the room is generated by the decoration effect picture generation model, the method further includes: The characteristic data and decoration renderings of the room are stored in the mapping relationship.

8. The decoration effect diagram display method according to any one of claims 1 to 5, characterized in that: The mapping relationship is generated by the following steps: Obtain feature data of the target room; Inputting the characteristic data of the target room into a decoration rendering generation model, and generating a decoration rendering of the target room through the decoration rendering generation model; and Generate a mapping relationship between the feature data of the target room and the decoration rendering.

9. The decoration effect diagram display method according to claim 8, characterized in that: Get the characteristic data of the target room, including: Determine the size information and door and window information of the target room; Generate a second three-dimensional model according to the size information and the door and window information of the target room, where the second three-dimensional model is the three-dimensional model of the target room; Acquire an internal image of the second three-dimensional model from a target perspective; and The internal image of the second three-dimensional model is converted into a vector, and the obtained vector is used as the feature data of the target room.

10. The decoration effect picture display method according to claim 9, characterized in that: The target room is split from the target floor plan, and the size information and door and window information of the target room are extracted from the target floor plan. The target floor plan includes the size information and door and window information of the target room, and the target floor plan is the floor plan of a house sold in a historical real estate transaction and / or the floor plan of a house already owned by the user.

11. An electronic device, characterized in that: include: a memory storing a computer program; as well as A processor, wherein the processor executes the computer program stored in the memory, so that the processor executes the decoration effect picture display method according to any one of claims 1 to 10.

12. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the decoration effect diagram display method described in any one of claims 1 to 10 is implemented.