CN115758499A - Home model map display method, device, electronic device, and storage medium - Google Patents
Home model map display method, device, electronic device, and storage medium Download PDFInfo
- Publication number
- CN115758499A CN115758499A CN202211280534.5A CN202211280534A CN115758499A CN 115758499 A CN115758499 A CN 115758499A CN 202211280534 A CN202211280534 A CN 202211280534A CN 115758499 A CN115758499 A CN 115758499A
- Authority
- CN
- China
- Prior art keywords
- model
- home
- target
- home model
- target home
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Processing Or Creating Images (AREA)
Abstract
The embodiment of the application provides a method and a device for displaying a home model map, electronic equipment and a storage medium. The method comprises the following steps: drawing to obtain a model line drawing corresponding to the target home scene; a home model position of the touchable line home model in the target home scene is displayed in the model line graph; responding to the received touch operation aiming at a target home model position in the home model positions, and displaying a home model corresponding to the target home model position; acquiring a target home model which is matched with the target home model in the home models; replacing the target line home model at the target home model position with the target home model, and rendering and displaying a home model diagram of the target home scene. The embodiment of the application can enable a user to clearly and intuitively focus the eye on the placing position of a home in the panoramic VR, reduces the time of calculating the placing position of the home by an algorithm, and enables the arrangement process to be simpler and more convenient.
Description
Technical Field
The present application relates to the field of home model display technologies, and in particular, to a home model map display method and apparatus, an electronic device, and a storage medium.
Background
The home decoration design is a subject that people must face all the time, and at present, most of existing home decoration is communicated with users by designers, uses a specific style overall design, produces an overall design drawing, an effect overlook view and the like, and before decoration is completed, the users cannot see the effect of actual decoration completion, and the decoration design process lacks the actual experience of the users.
Designs using Virtual Reality (VR) technology as a carrier are currently on the market. The existing realization is distinguished through the text description of the space and the model position, a user firstly configures design rules between plans, furniture to be arranged in the panoramic VR is added in the model position corresponding to the space, then the configured design rules are selected when a project scheme is created, the design rules can be intelligently arranged and applied, the furniture configured in the design rules are generated into the panoramic VR one by one, and the matching effect of the furniture configured in the model position in the whole house customization scheme during the roaming of the panoramic VR is achieved. However, in the existing scheme, the model is replaced by the furniture model position text description, so that the model is not intuitive enough, has no picture sense, and lacks of graphic display, and a user is difficult to quickly imagine the size, position and layout realization effect of the model in a space, so that the user is difficult to accurately operate according to the assumption when configuring the home model position.
Disclosure of Invention
The embodiment of the application provides a home model map display method and device, electronic equipment and a storage medium, so that a user can clearly and intuitively focus the eye on the placement position of a home in a panoramic VR (virtual reality), the final matching effect is more accurately highlighted, the time for calculating the placement position of the home by an algorithm is greatly shortened, and the arrangement process is simpler and more convenient.
In order to solve the above technical problem, the embodiment of the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a method for displaying a home model map, where the method includes:
drawing to obtain a model line drawing corresponding to the target home scene; a home model position of the touchable line home model in the target home scene is displayed in the model line graph;
responding to the received touch operation aiming at a target home model position in the home model positions, and displaying a home model corresponding to the target home model position;
acquiring a target home model matched with the target home model in the home models;
replacing the target line home model at the target home model position with the target home model, and rendering and displaying a home model diagram of the target home scene.
Optionally, the drawing to obtain a model line drawing corresponding to the target home scene includes:
drawing to obtain a home model plane graph corresponding to the target home scene according to the model position information in the target home scene; the home model platform diagram comprises the line home model of the home model position;
and displaying model position text information corresponding to the home model positions at the positions associated with the home model positions in the home model plane graph to generate the model line graph.
Optionally, the displaying, in response to the received touch operation for the target home model position in the home model positions, the home model corresponding to the target home model position includes:
obtaining a model design rule selected by a user;
and acquiring and displaying the home model matched with the target home model according to the model design rule.
Optionally, the obtaining of the target home model in the home models, which is matched with the target home model position, includes:
and acquiring a target home model which is selected by the user from the home models and matched with the target home model.
Optionally, the obtaining a target home model in the home models, which is matched with the target home model position, includes:
acquiring the matching degree of the home model and the target home scene;
and determining a target household model matched with the target household model in the household models according to the matching degree and a preset model placing rule.
Optionally, replacing the target line home model at the target home model position with the target home model, and rendering a home model map displaying the target home scene includes:
determining whether the target household model meets a preset model placement rule;
if so, replacing the target line home model at the target home model position with the target home model, and rendering and displaying a home model diagram of the target home scene.
In a second aspect, an embodiment of the present application provides a home model map display apparatus, where the apparatus includes:
the model line drawing module is used for drawing a model line drawing corresponding to the target home scene; a home model position of the touchable line home model in the target home scene is displayed in the model line graph;
the home model display module is used for responding to the received touch operation aiming at the target home model position in the home model positions and displaying the home model corresponding to the target home model position;
the target home model acquisition module is used for acquiring a target home model which is matched with the target home model in the home models;
and the home model map display module is used for replacing the target line home model at the target home model position with the target home model and rendering and displaying the home model map of the target home scene.
Optionally, the model line drawing module comprises:
the model plan drawing unit is used for drawing a home model plan corresponding to the target home scene according to the model bit information in the target home scene; the home model platform diagram comprises the line home model of the home model position;
and the model line drawing generation unit is used for displaying model position text information corresponding to the home model positions at the positions associated with the home model positions in the home model plan drawing to generate the model line drawing.
Optionally, the home model display module includes:
a design rule obtaining unit for obtaining a model design rule selected by a user;
and the home model display unit is used for acquiring and displaying the home model matched with the target home model according to the model design rule.
Optionally, the target household model obtaining module includes:
and the first target model acquisition unit is used for acquiring a target home model which is selected by the user from the home models and is matched with the target home model.
Optionally, the target household model obtaining module includes:
the matching degree obtaining unit is used for obtaining the matching degree of the home model and the target home scene;
and the second target model acquisition unit is used for determining a target home model which is matched with the target home model in the home models according to the matching degree and a preset model placement rule.
Optionally, the household model map display module includes:
the placement rule determining unit is used for determining whether the target household model meets a preset model placement rule or not;
and the home model map display unit is used for replacing the target line home model at the target home model position with the target home model and rendering and displaying the home model map of the target home scene when the target home model meets the preset model placing rule.
In a third aspect, an embodiment of the present application provides an electronic device, including:
the household model map display device comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein when the computer program is executed by the processor, the household model map display method of any one of the above is realized.
In a fourth aspect, an embodiment of the present application provides a readable storage medium, where instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform any one of the above-mentioned home model map display methods.
In the embodiment of the application, a model line graph corresponding to the target home scene is obtained through drawing, and home model positions of the touchable line home model in the target home scene are displayed in the model line graph. And responding to the received touch operation aiming at the target home model position in the home model positions, and displaying the home model corresponding to the target home model position. And acquiring a target home model which is matched with the target home model in the home models. And replacing the target line home model at the target home model position with the target home model, and rendering and displaying a home model diagram of the target home scene. Compared with the prior art, the user can clearly and intuitively focus the eyes to the placing position of the house in the panoramic VR, so that the final matching effect can be more accurately highlighted. And moreover, the arrangement process can be subdivided into each model position for arrangement by model position division, so that the time for calculating the home placement position by an algorithm is greatly shortened, and the arrangement process is simpler and more convenient. The user is on the final panoramic VR presentation effect.
The foregoing description is only an overview of the technical solutions of the present application, and the present application can be implemented according to the content of the description in order to make the technical means of the present application more clearly understood, and the following detailed description of the present application is given in order to make the above and other objects, features, and advantages of the present application more clearly understandable.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments of the present application will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart illustrating steps of a method for displaying a home model diagram according to an embodiment of the present disclosure;
fig. 2 is a line plan view of a home model site provided in the embodiment of the present application;
FIG. 3 is a schematic diagram of a home model material provided by an embodiment of the present application;
fig. 4 is a schematic diagram of a relationship between a home model bit and upstream and downstream data structures provided in an embodiment of the present application;
FIG. 5 is a top view of an arrangement of smart furniture selection provided in an embodiment of the present application;
fig. 6 is a schematic diagram of a home VR rendering result provided in an embodiment of the present application;
fig. 7 is a schematic structural diagram of a home model map display device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Example one
Referring to fig. 1, a flowchart illustrating steps of a method for displaying a home model map provided in an embodiment of the present application is shown, and as shown in fig. 1, the method for displaying a measured home model map may include the following steps:
step 101: drawing to obtain a model line drawing corresponding to the target home scene; and a home model position of the touchable line home model in the target home scene is displayed in the model line graph.
In this embodiment, the target home scene refers to a home scene that needs to be subjected to the simulated VR display, in this example, the target home scene may be a scene such as a bedroom, a living room, a dining room, a study room, a kitchen, and the like, and specifically, a specific type of the target home scene may be determined according to an actual situation, which is not limited in this embodiment. In specific implementation, a home scene can be divided according to 8 large spaces of a living room, a dining room, a bedroom, a kitchen, a washroom, a balcony, a study room and a corridor, a plane graph is drawn in each space through a linear white line drawing method, the layout positions of furniture corresponding to soft clothes and hard clothes in the space are intuitively displayed to a user through the plane graph in a detailed mode in combination with pictures and characters, and the user can clearly realize which furniture is placed at which positions.
The model line drawing refers to a drawn line drawing of the target home scene, and in this example, the model line drawing of the target home scene may include a home model position of a line home model that is touched by the target home scene internal medicine. As can be seen in fig. 2 for the model line graph. Fig. 2 is a line drawing of a schematic bedroom, in which home model positions such as floor tiles, televisions, side tables, leisure sofas, tea tables, sofa background walls, ceiling lights, television background walls, wall decorations, curtains, television cabinets, sofas and the like can be drawn, and the home model positions are all touch-controllable, so that a subsequent user can conveniently perform replacement operation of the home model.
It should be understood that the above examples are only examples for better understanding of the technical solutions of the embodiments of the present application, and are not to be taken as the only limitation to the embodiments.
In specific implementation, when a VR home map of a target home scene needs to be simulated and displayed, a model line map corresponding to the target home scene can be drawn. The implementation can be described in detail in conjunction with the following specific implementation.
In a specific implementation manner of the present application, the step 101 may include:
substep A1: drawing to obtain a home model plane graph corresponding to the target home scene according to the model position information in the target home scene; the home model platform diagram comprises the line home model of the home model position.
In this embodiment, when drawing a model line graph corresponding to a target home scene, model bit information in the target home scene may be obtained first. Wherein the model bit information may include: the type, style, number, position and other information of the home model. For example, taking fig. 2 as an example, when drawing a model line graph corresponding to a bedroom, model position information of each piece of furniture in the bedroom, such as information of the floor tile, the television, the table, the leisure sofa, the tea table, the sofa background wall, the ceiling lamp, the television background wall, the wall decoration, the curtain, the television cabinet, the style, the number, the position, the size and the like of the sofa can be obtained.
After the model bit information in the target home scene is obtained, a home model plane graph corresponding to the target home scene can be obtained according to the model bit information in the target home scene, and the home model plane graph contains line home models of home model bits, namely line graphs corresponding to all homes.
And after a home model plane graph corresponding to the target home scene is drawn according to the model bit information in the target home scene, executing the substep A2.
Substep A2: and displaying model position text information corresponding to the home model positions at the positions associated with the home model positions in the home model plane graph to generate the model line graph.
After the home model plan corresponding to the target home scene is obtained by drawing according to the model position information in the target home scene, model position text information corresponding to the home model position may be displayed at a position associated with each home model position in the home model plan, and a model line graph is generated, as shown in fig. 2, after the model line graph is obtained by drawing, corresponding model position may be generated at a position associated with each home model position as local information, such as a tea table, a sofa, a leisure sofa, a television, and the like.
After the model line drawing corresponding to the target home scene is obtained, step 102 is executed.
Step 102: and responding to the received touch operation aiming at the target home model position in the home model positions, and displaying the home model corresponding to the target home model position.
The target home model position is a home model position used in the model line graph for replacing with a home model, in this example, the target home model position may be one home model position or multiple home model positions, and specifically, may be determined according to an actual situation, which is not limited in this embodiment.
After the model line drawing corresponding to the target home scene is obtained through drawing, if a user wants to replace one or more home model bits in the model line drawing, the one or more home model bits can be regarded as the target home model bits.
The touch operation refers to an operation executed by a user for triggering and executing replacement of the home model bit by the home model.
In some examples, the touch operation may be an operation performed by the user clicking or pressing a target home model position, for example, taking fig. 2 as an example, when the user wants to replace home model positions of an tea table and a sofa in a model line drawing, at this time, the home model position corresponding to the tea table and the sofa may be taken as the target home model position. Then, the user may sequentially click or press the tea table and the home model position corresponding to the sofa (or sequentially click the sofa or the tea table) in the model line graph, and at this time, the operation of sequentially clicking or pressing the target home model position in the model line graph by the user may be regarded as a touch operation or the like.
In some examples, the touch operation may be an operation performed by the user clicking or pressing a model replacement control. For example, a model replacement control may be preset in an interface for making a model home map, and when a user wants to use all home model positions in a model line map as target home model positions, the user may click or press the model replacement control, and at this time, an operation of clicking or pressing the model replacement control by the user may be regarded as a touch operation, and the like.
It should be understood that the above examples are only examples for better understanding of the technical solutions of the embodiments of the present application, and are not to be taken as the only limitation to the embodiments.
The method comprises the steps that after touch operation aiming at a target home model position in home model positions is received, the touch operation can be responded to display a home model corresponding to the target home model position, and the home model is used as a home model screened by a user and placed at the target home model position.
In this embodiment, a model design rule may also be preset, and when the home model is displayed, the home model may be screened and displayed according to the model design rule selected by the user in advance. The implementation can be described in detail in conjunction with the following specific implementation.
In a specific implementation manner of the present application, the step 102 may include:
substep B1: and acquiring the model design rule selected by the user.
In this embodiment, the model design rule may be selected in advance by the user. In this example, the model design rule may be a stylistic constraint on the panoramic VR, i.e., different model design rules correspond to different styles of home models.
In this example, the model design rule may be selected in advance by the user, and when the model home is screened, the model design rule selected in advance by the user may be obtained, and then, the substep B2 is performed.
Substep B2: and acquiring and displaying the home model matched with the target home model according to the model design rule.
After the model design rule selected by the user is obtained, the home model matched with the target home model can be obtained according to the model design rule, and the screened home model is displayed. As shown in fig. 3, the target home model position is a sofa model position, and the sofa home model screened according to the model design rule selected by the user is shown in fig. 3. And further, the screened home models and the like can be displayed.
In the concrete implementation, the model position where the material is to be set is selected, so that all furniture material models matched with the suitable model position can be popped up, the data bottom layer follows the data structure that one model position corresponds to a plurality of pieces of furniture, namely, a plurality of different furniture material models (as shown in a relational diagram in fig. 4) can be set in one model position, for example, a plurality of different sets of sofas can be added to the sofa model position. And selecting proper furniture, adding the proper furniture into the model position definition, and storing. The design rule includes a plurality of model positions and furniture definitions, so that the set of model position definitions stored at this time is collectively called the design rule and is used for replacing the base library when subsequently generating the panoramic VR.
After the home model corresponding to the target home model position is displayed, step 103 is executed.
Step 103: and acquiring a target home model which is matched with the target home model in the home models.
The target home model is a home model which is screened from home models and is placed at a target home model position.
After the home model corresponding to the target home model position is displayed, a target home model matched with the target home model position in the home models can be obtained.
In this embodiment, the target home model may be a home model selected by the user from the displayed home models for placing at the target home position. Specifically, after the home models corresponding to the target home model positions are displayed, the user may select a target home model matching the target home model positions from the home models.
In this embodiment, the target home model may be a home model screened according to a matching degree between the home model and the target home scene. The implementation can be described in detail in conjunction with the following specific implementation.
In a specific implementation manner of the present application, the step 103 may include:
substep C1: and obtaining the matching degree of the home model and the target home scene.
In this embodiment, after the home model corresponding to the target home model position is displayed, the matching degree between the home model and the target home scene may be obtained. In specific implementation, the euclidean distance between each home model and the target home scene may be calculated, and the matching degree between each home model and the target home scene is determined according to the euclidean distance, that is, the larger the euclidean distance is, the higher the matching degree is, and otherwise, the smaller the euclidean distance is, the smaller the matching degree is.
Certainly, the method is not limited to this, in practical application, the matching degree between the home model and the target home scene may also be obtained in other manners, specifically, the obtaining manner of the matching degree may be determined according to business requirements, and this embodiment is not limited to this.
And after the matching degree of the home model and the target home scene is obtained, executing the substep C2.
And a substep C2: and determining a target household model matched with the target household model in the household models according to the matching degree and a preset model placing rule.
After the matching degree of the home models and the target home scene is obtained, the target home model matched with the target home model in the home models can be determined according to the matching degree and a preset model placing rule. In this example, the model placement rule refers to a rule for placing the home model at the home model position, and in a specific implementation, the model placement rule may be information of the size, height, and the like of the placed home model.
In the specific implementation, in an AI (Artificial Intelligence) intelligent arrangement algorithm, a series of base libraries with different styles are built in the AI intelligent arrangement algorithm, if a user uses a configured design rule and furniture materials are configured in a home model position in the design rule, the AI intelligent arrangement algorithm preferentially uses the furniture materials in the configured furniture model position to replace the materials in the original base library, so that the effect of previewing the matching of furniture manually added in the model position in the whole house customized panoramic VR in the panoramic VR expected by the user is achieved. Selection principle of AI intelligent arrangement: the AI algorithm firstly judges whether a design rule and a model position are set or not, then judges whether furniture is set or not, if only 1 set of furniture is set, the AI algorithm identifies whether the furniture meets the placement rule or not, if the furniture meets the placement rule, the furniture is placed on the corresponding model position, and if the furniture does not meet the placement rule, the furniture is replaced by a substrate library. If n sets of furniture are set, an algorithm is used for identifying that the best matched set of furniture is placed on the corresponding model position, and if the set of furniture does not meet the placing rule, a base library is used for replacing the best matched set of furniture. The AI intelligent arrangement top view of the selected arrangement of furniture can be as shown in fig. 5.
After a target home model matched with the target home model in the home models is obtained, step 104 is executed.
Step 104: replacing the target line home model at the target home model position with the target home model, and rendering and displaying a home model diagram of the target home scene.
After a target home model matched with the target home model position in the home models is obtained, the target line home model at the target home model position can be replaced by the target home model, and a home model graph of a target home scene is rendered and displayed. The rendered home model map may be as shown in figure 6,
of course, if the target home model is a home model manually selected by the user, when the target home model is replaced, it is further determined whether the target home model meets a preset model placement rule, if so, the target line home model at the position of the target home model is replaced by the target home model, and a home model map displaying the target home scene is rendered. If not, a substrate library can be used instead.
Compared with the prior art, the user can clearly and intuitively focus the eyes to the placing position of the house in the panoramic VR, so that the final matching effect can be more accurately highlighted.
According to the home model graph display method provided by the embodiment of the application, the model line graph corresponding to the target home scene is obtained through drawing, and the home model position of the touch-control line home model in the target home scene is displayed in the model line graph. And responding to the received touch operation aiming at the target home model position in the home model positions, and displaying the home model corresponding to the target home model position. And acquiring a target home model which is matched with the target home model in the home models. And replacing the target line home model at the target home model position with the target home model, and rendering and displaying a home model diagram of the target home scene. Compared with the prior art, the user can clearly and intuitively focus the eyes to the placing position of the house in the panoramic VR, so that the final matching effect can be more accurately highlighted. And moreover, the arrangement process can be subdivided into each model position for arrangement by model position division, so that the time for calculating the home placement position by an algorithm is greatly shortened, and the arrangement process is simpler and more convenient. The user is on the final panoramic VR presentation effect.
Example two
Referring to fig. 7, a schematic structural diagram of a home model map display apparatus provided in an embodiment of the present application is shown, and as shown in fig. 7, the home model map display apparatus 700 may include the following modules:
the model line drawing module 710 is used for drawing a model line drawing corresponding to the target home scene; a home model position of the touchable line home model in the target home scene is displayed in the model line graph;
the home model display module 720 is configured to display a home model corresponding to a target home model position in the home model positions in response to a received touch operation for the target home model position;
the target home model obtaining module 730 is configured to obtain a target home model in the home models, where the target home model is matched with the target home model;
and a home model map display module 740, configured to replace the target line home model at the target home model position with the target home model, and render and display a home model map of the target home scene.
Optionally, the model line drawing module 710 includes:
the model plan drawing unit is used for drawing a home model plan corresponding to the target home scene according to the model bit information in the target home scene; the home model platform diagram comprises the line home model of the home model position;
and the model line drawing generation unit is used for displaying model position text information corresponding to the home model positions at the positions associated with the home model positions in the home model plan drawing to generate the model line drawing.
Optionally, the home model display module 720 includes:
a design rule obtaining unit for obtaining a model design rule selected by a user;
and the home model display unit is used for acquiring and displaying the home model matched with the target home model according to the model design rule.
Optionally, the target household model obtaining module 730 includes:
and the first target model acquisition unit is used for acquiring a target home model which is selected by the user from the home models and is matched with the target home model.
Optionally, the target household model obtaining module 730 includes:
the matching degree obtaining unit is used for obtaining the matching degree of the home model and the target home scene;
and the second target model obtaining unit is used for determining a target household model which is matched with the target household model in the household models according to the matching degree and a preset model placing rule.
Optionally, the home model map display module 740 includes:
the placement rule determining unit is used for determining whether the target household model meets a preset model placement rule or not;
and the home model map display unit is used for replacing the target line home model at the target home model position with the target home model and rendering and displaying the home model map of the target home scene when the target home model meets the preset model placing rule.
The home model map display device provided by the embodiment of the application obtains a model line map corresponding to a target home scene through drawing, and home model positions of a touch-controllable line home model in the target home scene are displayed in the model line map. And responding to the received touch operation aiming at the target home model position in the home model positions, and displaying the home model corresponding to the target home model position. And acquiring a target home model which is matched with the target home model in the home models. And replacing the target line home model at the target home model position with the target home model, and rendering and displaying a home model diagram of the target home scene. Compared with the prior art, the user can clearly and intuitively focus the eyes to the placing position of the house in the panoramic VR, so that the final matching effect can be more accurately highlighted. And moreover, the arrangement process can be subdivided into each model position for arrangement by model position division, so that the time for calculating the home placement position by an algorithm is greatly shortened, and the arrangement process is simpler and more convenient. The user is on the final panoramic VR presentation effect.
Additionally, an embodiment of the present application further provides an electronic device, including: the household model map display method comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein when the computer program is executed by the processor, the household model map display method is realized.
Fig. 8 is a schematic structural diagram of an electronic device 800 according to an embodiment of the present invention. As shown in fig. 8, electronic device 800 includes a Central Processing Unit (CPU) 801 that can perform various appropriate actions and processes in accordance with computer program instructions stored in a Read Only Memory (ROM) 802 or computer program instructions loaded from a storage unit 808 into a Random Access Memory (RAM) 803. In the RAM803, various programs and data necessary for the operation of the electronic apparatus 800 can also be stored. The CPU801, ROM802, and RAM803 are connected to each other via a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
A number of components in the electronic device 800 are connected to the I/O interface 805, including: an input unit 806, such as a keyboard, a mouse, a microphone, and the like; an output unit 807 such as various types of displays, speakers, and the like; a storage unit 808, such as a magnetic disk, optical disk, or the like; and a communication unit 809 such as a network card, modem, wireless communication transceiver, etc. The communication unit 809 allows the electronic device 800 to exchange information/data with other devices through a computer network such as the internet and/or various telecommunication networks.
The various processes and processes described above may be performed by processing unit 801. For example, the methods of any of the above embodiments may be implemented as a computer software program tangibly embodied on a computer-readable medium, such as storage unit 808. In some embodiments, part or all of the computer program can be loaded and/or installed onto the electronic device 800 via the ROM802 and/or the communication unit 809. When loaded into RAM803 and executed by CPU801, a computer program may perform one or more of the actions of the methods described above.
The embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the processes of the embodiment of the home model map display method are implemented, and the same technical effects can be achieved. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application or portions thereof that contribute to the prior art may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the present embodiments are not limited to those precise embodiments, which are intended to be illustrative rather than restrictive, and that various changes and modifications may be effected therein by one skilled in the art without departing from the scope of the appended claims.
Those of ordinary skill in the art would appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed in the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions may be stored in a computer-readable storage medium if they are implemented in the form of software functional units and sold or used as separate products. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (10)
1. A method for displaying a home model map is characterized by comprising the following steps:
drawing to obtain a model line drawing corresponding to the target home scene; a home model position of the touchable line home model in the target home scene is displayed in the model line graph;
responding to received touch operation aiming at a target home model position in the home model positions, and displaying a home model corresponding to the target home model position;
acquiring a target home model which is matched with the target home model in the home models;
replacing the target line home model at the target home model position with the target home model, and rendering and displaying a home model diagram of the target home scene.
2. The method according to claim 1, wherein the drawing to obtain the model line graph corresponding to the target home scene comprises:
drawing to obtain a home model plane graph corresponding to the target home scene according to the model position information in the target home scene; the home model platform diagram comprises the line home model of the home model position;
and displaying model position text information corresponding to the home model positions at the positions associated with the home model positions in the home model plane graph to generate the model line graph.
3. The method according to claim 1, wherein the displaying the home model corresponding to the target home model position in response to the received touch operation for the target home model position comprises:
obtaining a model design rule selected by a user;
and acquiring and displaying the home model matched with the target home model according to the model design rule.
4. The method according to claim 1, wherein the obtaining of the target home model in the home models that matches the target home model comprises:
and acquiring a target home model which is selected by the user from the home models and matched with the target home model.
5. The method according to claim 1, wherein the obtaining of the target home model in the home models that matches the target home model comprises:
acquiring the matching degree of the home model and the target home scene;
and determining a target household model matched with the target household model in the household models according to the matching degree and a preset model placing rule.
6. The method according to claim 4, wherein replacing the target line home model at the target home model location with the target home model, rendering a home model map showing the target home scene comprises:
determining whether the target household model meets a preset model placement rule;
if so, replacing the target line home model at the target home model position with the target home model, and rendering and displaying a home model diagram of the target home scene.
7. A home model map display apparatus, comprising:
the model line drawing module is used for drawing a model line drawing corresponding to the target home scene; a home model position of the touchable line home model in the target home scene is displayed in the model line graph;
the home model display module is used for responding to the received touch operation aiming at a target home model position in the home model positions and displaying a home model corresponding to the target home model position;
the target home model acquisition module is used for acquiring a target home model which is matched with the target home model in the home models;
and the home model map display module is used for replacing the target line home model at the target home model position with the target home model and rendering and displaying the home model map of the target home scene.
8. The apparatus of claim 7, wherein the model line drawing module comprises:
the model plan drawing unit is used for drawing a home model plan corresponding to the target home scene according to the model bit information in the target home scene; the home model platform diagram comprises the line home model of the home model position;
and the model line drawing generation unit is used for displaying model position text information corresponding to the home model positions at the positions associated with the home model positions in the home model plan drawing to generate the model line drawing.
9. An electronic device, comprising:
a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the home model map display method according to any one of claims 1 to 6.
10. A readable storage medium, wherein instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the home model map display method according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211280534.5A CN115758499A (en) | 2022-10-19 | 2022-10-19 | Home model map display method, device, electronic device, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211280534.5A CN115758499A (en) | 2022-10-19 | 2022-10-19 | Home model map display method, device, electronic device, and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115758499A true CN115758499A (en) | 2023-03-07 |
Family
ID=85353878
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211280534.5A Pending CN115758499A (en) | 2022-10-19 | 2022-10-19 | Home model map display method, device, electronic device, and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115758499A (en) |
-
2022
- 2022-10-19 CN CN202211280534.5A patent/CN115758499A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20240289500A1 (en) | Method for replacing 3d objects in 2d environment | |
JP2022547319A (en) | User interface based on 3D virtual room for home automation system | |
CN106096153A (en) | Indoor decoration outdoor scene is experienced scene and is provided method and system | |
US11158134B2 (en) | Method, apparatus and storage medium for displaying three-dimensional space view | |
CN111369424A (en) | Method, device, equipment and storage medium for generating three-dimensional space of target house | |
CN109872216A (en) | One kind have furniture made to order design method and design device | |
US20160048497A1 (en) | System and method for generating an interior design | |
CN104572125B (en) | Method for drafting, storage method, drawing apparatus and the storage device of entity relationship diagram | |
CN112001997B (en) | Furniture display method and device | |
CN108009848A (en) | A kind of household emulation mode and equipment | |
US20130135303A1 (en) | System and Method for Visualizing a Virtual Environment Online | |
CN109033549A (en) | Design method, designing system and the electronic equipment of interior decoration scheme | |
CN111369664A (en) | Method, device, equipment and storage medium for displaying house type scene | |
KR101829019B1 (en) | Method for providing auto-resizing and arranging facility service using drag and drop based on html5 | |
Xu et al. | Wall grid structure for interior scene synthesis | |
CN113886911A (en) | Household design scheme generation method and device and computer readable storage medium | |
US11120618B2 (en) | Display of item information in current space | |
CN115758499A (en) | Home model map display method, device, electronic device, and storage medium | |
CN112818434B (en) | Design drawing generation method, terminal and storage device | |
CN112381606B (en) | Household article recommendation method and device, electronic equipment and storage medium | |
EP3789967A1 (en) | Three-dimensional space view display method, apparatus, and storage medium | |
CN115544632B (en) | Indoor design imaging data processing system based on cloud platform | |
CN115146360A (en) | Home decoration scheme generation method and device and storage medium | |
CN114049168A (en) | Method and device for displaying commodity object information and electronic equipment | |
CN116486057A (en) | Method, storage medium and system for layout container assembly in three-dimensional virtual scene |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |