Nothing Special   »   [go: up one dir, main page]

CN111882648B - Furniture display method and device - Google Patents

Furniture display method and device Download PDF

Info

Publication number
CN111882648B
CN111882648B CN202010583458.XA CN202010583458A CN111882648B CN 111882648 B CN111882648 B CN 111882648B CN 202010583458 A CN202010583458 A CN 202010583458A CN 111882648 B CN111882648 B CN 111882648B
Authority
CN
China
Prior art keywords
balcony
furniture
target
furniture model
space
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.)
Active
Application number
CN202010583458.XA
Other languages
Chinese (zh)
Other versions
CN111882648A (en
Inventor
不公告发明人
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Chengshi Wanglin Information Technology Co Ltd
Original Assignee
Beijing Chengshi Wanglin Information Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Chengshi Wanglin Information Technology Co Ltd filed Critical Beijing Chengshi Wanglin Information Technology Co Ltd
Priority to CN202010583458.XA priority Critical patent/CN111882648B/en
Publication of CN111882648A publication Critical patent/CN111882648A/en
Application granted granted Critical
Publication of CN111882648B publication Critical patent/CN111882648B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/10Geometric effects

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Geometry (AREA)
  • Computer Graphics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The application discloses a furniture display method and device. The virtual three-dimensional house space of the target house is displayed through the image user interface of the terminal, the balcony object may be an area belonging to a balcony in the three-dimensional house space established according to the target house, a space attribute of the balcony object may be acquired, furniture layout data of the balcony object may be acquired based on at least the space attribute, the furniture layout data including a target furniture model object for layout in the balcony object and target location information corresponding to the target furniture model object, in the balcony object, the target furniture model object is displayed according to the target position information, so that the furniture model object matched with the balcony object is selected and displayed by the terminal according to the space attribute of the balcony object, full-automatic virtual decoration is realized, the user can sense the decoration style of the target house in advance, and the placement condition of furniture in the target house in advance, so that the user experience can be improved.

Description

Furniture display method and device
Technical Field
The application relates to the technical field of computers, in particular to a furniture display method and device.
Background
As a common consumer, the planar drawing is difficult to understand when buying a house or decorating and designing, the relation of the whole space of the house source is difficult to embody by the paper effect drawing, and a user can only perceive the decoration style, the space arrangement, the furniture arrangement and the like of the house source after finishing decoration of the house source. After finishing house source decoration, if the expectation of a user cannot be met, the decoration is time-consuming and resource-consuming, and the current design style cannot be adjusted, so that the user expectation is very low, the requirements of the user cannot be met, and the user experience is low.
Disclosure of Invention
In order to improve user experience, the application shows a furniture display method and device.
In a first aspect, the present application shows a furniture display method, where contents displayed through a graphical user interface of a terminal at least include a balcony object, where the balcony object is an area belonging to a balcony in a three-dimensional room space established according to a target room, the method including:
acquiring the space attribute of the balcony object;
acquiring furniture layout data of the balcony object at least according to the space attribute, wherein the furniture layout data comprise a target furniture model object for layout in the balcony object and target position information corresponding to the target furniture model object;
and displaying the target furniture model object in the balcony object according to the target position information.
In an optional implementation manner, the displaying, in the balcony object, the target furniture model object according to the target position information includes:
selecting first furniture layout data with highest priority from the at least two furniture layout data under the condition that the number of the furniture layout data is at least two; the first furniture layout data comprises a first target furniture model object and first target position information corresponding to the first target furniture model object;
and displaying the first target furniture model object in the balcony object according to the first target position information.
In an optional implementation, the method further includes:
under the condition that a switching operation for switching furniture layout data is received, acquiring second furniture layout data in the at least two pieces of furniture layout data according to the switching operation; the second furniture layout data comprises a second target furniture model object and second target position information corresponding to the second target furniture model object;
hiding the first target furniture model object in the balcony object, and displaying the second target furniture model object according to the second target position information.
In an optional implementation manner, the obtaining, according to at least the spatial attribute, furniture layout data of the balcony object includes:
acquiring at least one preset furniture model object for layout in the balcony object according to the space attribute;
acquiring the layout position information of each preset furniture model object in the balcony object at least according to the space attribute;
and acquiring the furniture layout data according to the acquired preset furniture model object and the acquired position information.
In an optional implementation manner, the obtaining, according to at least the spatial attribute, position information of a layout of each preset furniture model object in the balcony object includes:
acquiring the priority of each preset furniture model object;
and sequentially acquiring the position information of the layout of each preset furniture model object in the balcony object according to the spatial attributes and the sequence of the priorities from high to low.
In an optional implementation manner, the obtaining, according to the spatial attribute, at least one preset furniture model object for layout in the balcony object includes:
acquiring the space type of the balcony object according to the space attribute;
and acquiring the at least one preset furniture model object at least according to the space type.
In an alternative implementation, the space attribute includes a space object to which a preset connection object among the balcony objects is connected;
the acquiring the space type of the balcony object according to the space attribute comprises:
and acquiring the space type according to the space object.
In an alternative implementation, the spatial attribute includes size information of the balcony object;
the obtaining of the at least one preset furniture model object at least according to the space type comprises:
selecting at least one preset furniture model object among a plurality of preset furniture model objects for layout in the balcony object of the space type according to the size information.
In an alternative implementation, the selecting at least one preset furniture model object among a plurality of preset furniture model objects for layout in a balcony object of the space type according to the size information includes:
searching a size information set where the size information is located in a corresponding relation between a size information set and a preset furniture model object corresponding to the space type;
and searching a preset furniture model object corresponding to the size information set in the corresponding relation.
In an optional implementation manner, the obtaining the at least one preset furniture model object according to at least the space type includes:
under the condition that the priorities of different space objects in the three-dimensional house space are different, for any one preset furniture model object in a plurality of preset furniture model objects which are used for being distributed in the balcony objects of the space type, under the condition that the furniture type of the preset furniture model object is a preset type, the priority of the balcony object is obtained according to the space type;
acquiring a space object in the three-dimensional house space, wherein the space object is higher than the priority;
judging whether the preset furniture model object is displayed in the space object or not;
and under the condition that the preset furniture model object is not displayed in the space object, acquiring the preset furniture model object.
In a second aspect, the present application shows a presentation apparatus of furniture, contents presented through a graphical user interface of a terminal including at least a balcony object, wherein the balcony object is an area belonging to a balcony in a three-dimensional room space established according to a target room, the apparatus comprising:
the first acquisition module is used for acquiring the space attribute of the balcony object;
a second obtaining module, configured to obtain furniture layout data of the balcony object at least according to the space attribute, where the furniture layout data includes a target furniture model object for layout in the balcony object and target position information corresponding to the target furniture model object;
and the display module is used for displaying the target furniture model object in the balcony object according to the target position information.
In an alternative implementation, the display module includes:
a selecting unit configured to select, when the number of the furniture layout data is at least two, a first furniture layout data having a highest priority from the at least two furniture layout data; the first furniture layout data comprises a first target furniture model object and first target position information corresponding to the first target furniture model object;
and the first display unit is used for displaying the first target furniture model object in the balcony object according to the first target position information.
In an optional implementation, the apparatus further comprises:
a first acquisition unit configured to acquire, in a case where a switching operation for switching furniture layout data is received, second furniture layout data of the at least two furniture layout data according to the switching operation; the second furniture layout data comprises a second target furniture model object and second target position information corresponding to the second target furniture model object;
a hiding unit for hiding the first target furniture model object in the balcony object, and a second display unit for displaying the second target furniture model object according to the second target position information.
In an optional implementation manner, the second obtaining module includes:
a second obtaining unit, configured to obtain at least one preset furniture model object for layout in the balcony object according to the space attribute;
a third obtaining unit, configured to obtain, according to at least the space attribute, position information of layout of each preset furniture model object in the balcony object;
and the fourth acquisition unit is used for acquiring the furniture layout data according to the acquired preset furniture model object and the acquired position information.
In an optional implementation manner, the third obtaining unit includes:
the first acquiring subunit is used for acquiring the priority of each preset furniture model object;
and the second acquiring subunit is used for sequentially acquiring the position information of the layout of each preset furniture model object in the balcony object according to the spatial attributes and the sequence of the priorities from high to low.
In an optional implementation manner, the second obtaining unit includes:
the third acquisition subunit is used for acquiring the space type of the balcony object according to the space attribute;
a fourth obtaining subunit, configured to obtain the at least one preset furniture model object at least according to the space type.
In an alternative implementation, the space attribute includes a space object to which a preset connection object among the balcony objects is connected;
the third obtaining subunit is specifically configured to: and acquiring the space type according to the space object.
In an alternative implementation, the spatial attribute includes size information of the balcony object;
the fourth obtaining subunit is specifically configured to: selecting at least one preset furniture model object among a plurality of preset furniture model objects for layout in the balcony object of the space type according to the size information.
In an optional implementation manner, the fourth obtaining subunit is specifically configured to: searching a size information set where the size information is located in a corresponding relation between a size information set and a preset furniture model object corresponding to the space type; and searching a preset furniture model object corresponding to the size information set in the corresponding relation.
In an optional implementation manner, the fourth obtaining subunit is specifically configured to:
for any one of a plurality of preset furniture model objects arranged in a balcony object of the space type under the condition that priorities of different space objects in the three-dimensional house space are different, acquiring the priority of the balcony object according to the space type under the condition that the furniture type of the preset furniture model object is a preset type;
acquiring a space object in the three-dimensional house space, wherein the space object is higher than the priority;
judging whether the preset furniture model object is displayed in the space object or not;
and under the condition that the preset furniture model object is not displayed in the space object, acquiring the preset furniture model object.
In a third aspect, the present application shows an electronic device comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the method of displaying furniture as described in the first aspect.
In a fourth aspect, the present application shows a non-transitory computer readable storage medium having instructions which, when executed by a processor of an electronic device, enable the electronic device to perform the method of presenting furniture as described in the first aspect.
In a fifth aspect, the present application shows a computer program product, in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform the presentation method of furniture as described in the first aspect.
The technical scheme provided by the application can comprise the following beneficial effects:
in the embodiment of the application, the virtual three-dimensional house space of the target house can be displayed through the image user interface of the terminal, and a user can roam in the three-dimensional house space so as to browse the interior decoration condition of the target house. Wherein, the balcony object can be according to the region that belongs to the balcony among the three-dimensional house space that the target house established, then the terminal includes the mode of the show of furniture in the balcony object: the method comprises the steps of obtaining the space attribute of a balcony object, obtaining furniture layout data of the balcony object at least according to the space attribute, wherein the furniture layout data comprise a target furniture model object used for being arranged in the balcony object and target position information corresponding to the target furniture model object, and then displaying the target furniture model object in the balcony object according to the target position information.
Drawings
FIG. 1 is a flow chart of the steps of a furniture display method of the present application;
FIG. 2 is a flow chart of steps of a method of acquiring furniture layout data according to the present application;
FIG. 3 is a flow chart of the steps of a method of obtaining a furniture model object of the present application;
FIG. 4 is a flow chart of steps of a method of obtaining location information of the present application;
FIG. 5 is a schematic view of a balcony object of the present application;
FIG. 6 is a schematic view of a balcony object of the present application;
FIG. 7 is a schematic view of a balcony object of the present application;
FIG. 8 is a schematic view of a balcony object of the present application;
FIG. 9 is a schematic view of a balcony object of the present application;
FIG. 10 is a schematic view of a balcony object of the present application;
FIG. 11 is a schematic view of a balcony object of the present application;
FIG. 12 is a schematic view of a balcony object of the present application;
FIG. 13 is a schematic view of a balcony object of the present application;
FIG. 14 is a schematic view of a balcony object of the present application;
FIG. 15 is a schematic view of a balcony object of the present application;
FIG. 16 is a block diagram of a display device for furniture according to the present application;
FIG. 17 is a block diagram of an electronic device shown in the present application;
fig. 18 is a block diagram of an electronic device shown in the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
The furniture display method in the embodiment of the application can be applied to electronic equipment, and the electronic equipment comprises a terminal and a server. The terminal may be a local device, such as a mobile phone, a notebook computer, or a tablet computer. When the furniture display method is applied to the server, cloud display can be performed.
In an alternative implementation manner, the cloud presentation refers to an information presentation manner based on cloud computing. In the cloud display operation mode, an operation main body and an information picture presentation main body of an information processing program are separated, storage and operation of a furniture display method are completed on a cloud display server, and a cloud display client is used for receiving and sending data and presenting an information picture, for example, the cloud display client can be a display device with a data transmission function close to a user side, such as a mobile terminal, a television, a computer, a palm computer and the like; however, the terminal device for processing the information data is a cloud display server at the cloud end. When browsing furniture display, a user operates the cloud display client to send an operation instruction to the cloud display server, the cloud display server displays relevant information according to the operation instruction, encodes and compresses data such as the relevant information, returns the data to the cloud display client through a network, and finally decodes the data through the cloud display client and outputs the relevant information.
In another alternative implementation, the terminal may be a local device. The terminal stores an application program and is used for presenting an application interface. The terminal is used for interacting with a user through a graphical user interface, namely, downloading and installing an application program through the electronic equipment and running the application program conventionally. The manner in which the terminal provides the graphical user interface to the user may include a variety of ways, for example, it may be rendered for display on a display screen of the terminal or provided to the user by holographic projection. For example, a terminal may include a display screen for presenting a graphical user interface including an application screen and a processor for running the application, generating the graphical user interface, and controlling display of the graphical user interface on the display screen.
The terminal may include a desktop computer, a notebook computer, a tablet computer, a mobile phone, and a VR (Virtual Reality) device. The VR equipment can comprise a computer, VR head-mounted equipment, VR control equipment and the like, and a user can roam in a specified area through a virtual house source picture displayed in the VR head-mounted equipment, so that the user can roam really in the virtual house source, and meanwhile can interact with the virtual house source through the VR control equipment.
The terminal can run application programs, such as life application programs, audio application programs, game application programs and the like. The life-type applications can be further divided according to different types, such as a house renting application, a home service application, a leisure and entertainment application, and the like. The embodiment of the present application takes the example of running the life application on the terminal as an example, and it is understood that the present application is not limited thereto.
Referring to fig. 1, a flowchart of steps of a furniture display method according to the present application is shown, where the method is applied to an electronic device, and the method specifically includes the following steps:
in step S101, a spatial attribute of a balcony object is acquired;
in the present application, the contents displayed through the image user interface of the electronic device include at least a balcony object, wherein the balcony object is an area belonging to a balcony in a three-dimensional room space established according to the target room, that is, an area of the balcony where the target room is displayed through the three-dimensional space.
In this application, the spatial attributes of the balcony object include at least size information of an area of the balcony object under the three-dimensional house space, but may also include shape information, etc., and may also include the case where the balcony object is adjacent to other space objects in the target house, which is not limited in this application.
The size information may include, among other things, the length and height of the wall object in the balcony object.
In step S102, acquiring furniture layout data of a balcony object according to at least a space attribute of the balcony object, the furniture layout data including a target furniture model object for layout in the balcony object and target position information corresponding to the target furniture model object;
in the present application, the target furniture model object includes objects for layout in a balcony, such as a washing machine, a washing machine cabinet, a rack, a green plant, a washing machine rack, a balcony table and chair, and the like.
The step can be referred to the embodiment shown in fig. 2 later, and is not described in detail here.
In step S103, the target furniture model object is presented in accordance with the target position information in the balcony object.
In the embodiment of the application, the virtual three-dimensional house space of the target house can be displayed through the image user interface of the terminal, and a user can roam in the three-dimensional house space so as to browse the interior decoration condition of the target house. Wherein, the balcony object can be according to the region that belongs to the balcony among the three-dimensional house space that the target house established, then the terminal includes the mode of the show of furniture in the balcony object: the method comprises the steps of obtaining the space attribute of a balcony object, obtaining furniture layout data of the balcony object at least according to the space attribute, wherein the furniture layout data comprise a target furniture model object used for being arranged in the balcony object and target position information corresponding to the target furniture model object, and then displaying the target furniture model object in the balcony object according to the target position information.
In an embodiment of the present application, the number of the furniture layout data acquired in step S102 may sometimes be at least two, in which case, in step S103, the furniture model object may be displayed according to one furniture layout data in the balcony object, for example, the first furniture layout data with the highest priority is selected from the at least two furniture layout data; the first furniture layout data comprises a first target furniture model object for layout in the balcony object and first target position information corresponding to the first target furniture model object, and then the first target furniture model object is displayed in the balcony object according to the first target position information. In this way, the user can see the first target furniture model object of the first target position information presentation in the balcony object.
In addition, prompt information can be output at the same time to inform a user that at least two furniture layout data exist at the moment, and the user can switch the display of the furniture layout data, for example, after the user perceives the prompt information, the user can know that other furniture layout data still exist, and if the user needs to check the furniture model objects displayed according to the other furniture layout data, the user can input switching operation for switching the displayed furniture model objects on the electronic equipment.
This way. The electronic equipment can acquire second furniture layout data in at least two pieces of furniture layout data according to the switching operation under the condition that the switching operation for switching the furniture layout data is received; the second furniture layout data includes a second target furniture model object for layout in the balcony object and second target location information corresponding to the second target furniture model object, and then the first target furniture model object may be hidden in the balcony object and the second target furniture model object may be presented according to the second target location information. So that the user can see the second target furniture model object on which the second target position information is presented in the balcony object.
The user may designate the furniture layout data to be switched from among the at least two furniture layout data according to the switching operation, or may not designate the furniture layout data to be switched, so that the electronic device switches the next furniture layout data in the order of priority from high to low.
In one embodiment of the present application, referring to fig. 2, step S102 includes:
in step S201, at least one preset furniture model object for layout in a balcony object is acquired according to a spatial attribute of the balcony object;
in this step, at least one preset furniture model object may be selected from a plurality of preset furniture model objects for layout in the balcony object, for example, all of the preset furniture model objects may be selected, or some of the preset furniture model objects may be selected, and which preset furniture model objects are specifically selected may be determined according to actual conditions. Reference may be made in detail to the embodiment shown in fig. 3, which will not be described in detail herein.
In step S202, obtaining position information of the layout of each preset furniture model object in the balcony object according to at least the spatial attribute of the balcony object;
this step can be referred to the embodiment shown in fig. 4 later, and will not be described in detail here.
In step S203, furniture layout data is acquired according to the acquired preset furniture model object and the acquired position information.
For example, for any one of the acquired preset furniture model objects, the preset furniture model object and the acquired position information of the preset furniture model object in the balcony object may be combined into one furniture layout data, and the same is true for each of the acquired other preset furniture model objects.
In another embodiment, referring to fig. 3, step S201 includes:
in step S301, a space type of a balcony object is obtained according to a space attribute of the balcony object;
in this application, there may be, in general, balconies in living rooms in houses, balconies in bedrooms, balconies in living rooms, balconies in restaurants, balconies in halls, balconies in toilets, and the like. Thus, more than two balconies may be included in a single house.
Therefore, in the present application, the space type of the balcony object may be determined according to a space to which the balcony object is directly connected in the three-dimensional house space of the target house.
In one embodiment of the present application, the space attribute of the balcony object includes a space object to which a preset connection object among the balcony objects is connected; the preset space object includes a door object or the like entering a balcony. As such, the space type of the balcony object can be acquired according to the space object.
For example, in the case where a space object to which a preset connection object among the balcony objects is connected is a living room object, the space type of the balcony object may be determined as a living room class. In the case where the space object to which the preset connection object among the balcony objects is connected is a bedroom object, the space type of the balcony object may be determined as a bedroom class. In case that a space object to which a preset connection object among the balcony objects is connected is an entrance object, the space type of the balcony object may be determined as an entrance class. In the case where the space object to which the preset connection object among the balcony objects is connected is a restaurant object, the space type of the balcony object may be determined as a restaurant class. In case that a space object to which a preset connection object among the balcony objects is connected is a kitchen object, the space type of the balcony object may be determined as a kitchen class. And, in case that a space object to which a preset connection object among the balcony objects is connected is a toilet object, the space type of the balcony object may be determined as a toilet class, etc.
In step S302, at least one preset furniture model object is obtained according to at least the space type of the balcony object.
In the present application, the furniture model objects that can be arranged in balcony objects of different space types are not all identical.
For example, a washing machine model object, a green plant model object, a washing machine cabinet object, and the like may be arranged in a balcony object of a living room class.
In the balcony object of the bedroom type, a balcony table object, a balcony chair object, a washing machine object, a green plant object, a washing machine cabinet object, and the like may be arranged.
Furniture model objects that can be arranged in the respective space-type balcony objects can be provided in advance. Thus, in this step, at least one preset furniture model object may be selected from a plurality of preset furniture model objects for layout in the balcony object of the space type, for example, all of the preset furniture model objects may be selected, or some of the preset furniture model objects may be selected, and which preset furniture model objects are specifically selected may be determined according to actual conditions.
In one embodiment of the application, the spatial attribute of the balcony object includes size information of the balcony object; the size information of different balconies is different, and for example, the size information includes the length, width, height, etc. of the balcony. In general, the larger the size information of the balcony object, the more furniture model objects can be accommodated in the balcony object, and thus, the more the number of preset furniture model objects can be arranged in the balcony object. However, the smaller the size information of the balcony object, the less furniture model objects can be accommodated in the balcony object, and thus, the fewer the number of preset furniture model objects that can be arranged in the balcony object can be.
Furniture model objects that can be arranged in balcony objects of different size information for each space type can be set in advance, respectively.
In this way, when at least one preset furniture model object is acquired at least according to the space type of the balcony object, at least one preset furniture model object can be selected among a plurality of preset furniture model objects for layout in the balcony object of the space type according to the size information of the balcony object.
Wherein, for any space type, the size information of the balcony object of the space type can be divided into a plurality of different size information sets. The size information set may include at least a length set, a width set, and the like, and of course, a height set, and the like, and then, for any one size information set, at least one preset furniture model object that can be arranged in the balcony object of the space type of the size information set may be determined; and then forming a corresponding table entry by the size information set and the determined at least one preset furniture model object, and storing the corresponding table entry in the corresponding relation between the size information set and the preset furniture model object corresponding to the space type. The above operation is also performed for each of the other size information sets.
The above operation is also performed for each of the other spatial types.
In this way, when at least one preset furniture model object is selected from a plurality of preset furniture model objects arranged in the balcony object of the space type according to the size information of the balcony object, the size information set where the size information is located can be searched in the corresponding relationship between the size information set and the preset furniture model object corresponding to the space type, and then the preset furniture model object corresponding to the size information set is searched in the corresponding relationship.
In the present application, the plurality of space objects in the three-dimensional house space includes a plurality of balcony objects and the like.
For any one of the preset furniture model objects, the preset furniture model object has an arrangement qualification in at least two space objects, but there is a limit to the number of the preset furniture model objects arranged as a whole in the entire three-dimensional house space.
For example, in one instance, a large number of users typically have at most one washing machine disposed in a balcony. Without placing the washing machine in both the living room balcony and the bedroom balcony.
However, in the case where a plurality of balcony objects exist in the three-dimensional house space, it is necessary to determine in which balcony object the washing machine is to be disposed with priority.
Specifically, the priorities of different space objects in the three-dimensional house space may be set in advance, and the priorities of the different space objects are different.
When different furniture model objects are respectively displayed in the plurality of spatial objects to a user so that the user can perceive the decoration style of the spatial objects in advance, the different furniture model objects can be respectively displayed in the plurality of spatial objects to the user sequentially according to the sequence of the priorities of the spatial objects from high to low through the method shown in fig. 1.
Wherein the plurality of space objects include a plurality of balcony objects, such that, for any one balcony object, when at least one preset furniture model object for layout in the balcony object is acquired at least according to a space type of the balcony object, for any one preset furniture model object among the plurality of preset furniture model objects for layout in the balcony object of the space type, in a case where a furniture type of the preset furniture model object is a preset type, a priority of the balcony object may be acquired according to the space type; the furniture model objects of the preset type are arranged in a plurality of space objects, but can be arranged in only one space object. Then, a space object with a priority higher than that in the three-dimensional house space can be obtained, and whether the preset furniture model object is displayed in the space object or not is judged. In case the preset furniture model object is not shown in the space object, the preset furniture model object may then be acquired and then shown in the balcony object. In the case where the preset furniture model object has been displayed in the space object, the preset furniture model object may not be acquired.
The same is true for each of the other ones of the plurality of preset furniture model objects for layout in the balcony object of the space type.
In one embodiment of the present application, referring to fig. 4, step S202 includes:
in step S401, the priority of each preset furniture model object is obtained;
in the case that there are at least two preset furniture model objects for layout in the balcony object, which are obtained in step S201, the priority of each preset furniture model object may be obtained, and then the position information of the layout of each preset furniture model object in the balcony object is obtained in sequence according to the order from high to low of the priority.
Wherein the technician has previously set the priorities for the respective preset furniture model objects laid out in the balcony object, and thus, the priorities of the respective preset furniture model objects can be directly acquired.
For example, it is assumed that the preset furniture model objects for layout in the balcony object include a washing machine object, a green plant object, a washing machine cabinet object, a balcony desk and chair object, and the like. The priority of the green plant object is greater than that of the washing machine object, the priority of the washing machine object is greater than that of the washing machine cabinet object, and the priority of the washing machine cabinet object is greater than that of the balcony table and chair object.
In step S402, the position information of the layout of each preset furniture model object in the balcony object is sequentially obtained according to the order of priority from high to low at least according to the spatial attributes.
In one example, assuming that the acquired preset furniture model object for layout in the balcony object includes a preset furniture model object a, a preset furniture model object B and the like, and the priority of the preset furniture model object a is greater than the priority of the preset furniture model object B, the position information a of the preset furniture model object a laid out in the balcony object may be preferentially acquired, and then the position information B of the preset furniture model object B laid out in the balcony object may be preferentially acquired in the position information other than the position information a in the balcony object.
Wherein, for any one preset furniture model object, the position information of the layout of the preset furniture model object in the balcony object can be obtained as follows, specifically comprising:
4021. according to the space attribute of the balcony object and the position information of the layout of other preset furniture model objects in the balcony object, a plurality of candidate areas with different priorities are obtained in the balcony object, wherein the priority of the preset furniture model object is lower than the priorities of the other preset furniture model objects.
In the present application, a door object is included in the balcony object, and the door object is used to communicate the balcony object with other objects.
The balcony object includes: the wall object where the door object is located, the wall object adjacent to the wall object where the door object is located, and the wall object not adjacent to the wall object where the door object is located.
According to the statistics of the inventor on the actual situation, generally, a great number of users tend to preferentially place furniture in the area where the wall object adjacent to the wall object where the door object is located.
If furniture cannot be placed preferentially in the area where the wall object adjacent to the wall object where the door object is located, then furniture tends to be placed preferentially in the area where the wall object where the door object is located, and if furniture cannot be placed, furniture is placed in the area where the wall object not adjacent to the wall object where the door object is located. And often furniture is placed against a wall.
Therefore, in the present application, the obtained candidate regions may include at least: a first area where a first wall object where a door object is located in the balcony object is located; a second region where a second wall object adjacent to the first wall object is located among the balcony objects; a third area where a third wall object, which is not adjacent to the first wall object, of the balcony objects is located.
The priority of the second area is higher than that of the first area, and the priority of the first area is higher than that of the third area.
4022. Respectively matching the preset furniture model object with each candidate region according to the sequence of the priority of the candidate region from high to low;
in the application, for any one candidate region, whether the candidate region can accommodate the preset furniture model object or not can be judged according to the size information of the preset furniture model object, the position information of the layout of other preset furniture model objects in the balcony object and the size information of the candidate region; and under the condition that the candidate area can accommodate the preset furniture model object, determining that the candidate area is successfully matched with the preset furniture model object. And in the case that the candidate area cannot accommodate the preset furniture model object, determining that the candidate area is not successfully matched with the preset furniture model object.
4033. And acquiring the position information of the layout of the preset furniture model object in the balcony object according to the highest candidate region successfully matched with the preset furniture model object.
For example, the position information of the candidate region of the highest level that is successfully matched with the preset furniture model object may be acquired, and then the position information of the candidate region may be determined as the position information of the layout of the preset furniture model object in the balcony object.
The present application is exemplified by an example in which, assuming that a balcony object is a living room class balcony object, it is found that size information of the living room class balcony object has a size after counting a large number of houses.
When the size information of the living room balcony objects is large, the fact that the space of the living room balcony objects is large is often indicated, and a large number of furniture model objects with large size information can be distributed in the living room balcony objects to fill the living room balcony objects and avoid bringing the feeling that the living room balcony objects are free and swing to users.
When the size information of the balcony objects of the living room class is small, the small space of the balcony objects of the living room class is often indicated, and a small number of furniture model objects with small size information can be distributed in the balcony objects of the living room class, so that enough free space is reserved for the balcony objects of the living room class, and the user is prevented from feeling crowded.
In this application, the size information of the balcony object of living room class can be divided into a plurality of different size information sets, and the size information sets at least can include a length set, a width set and the like, and of course, can also include a height set and the like, and the number and/or size information of the furniture model objects that can be laid out in different size information sets are different and the like.
The restaurant class balcony object can refer to the living room class balcony object for illustration, and is not detailed here.
For example, in one example, the size information of the balcony object of living room class may be divided into three different size information sets, namely, a size information set 1, a size information set 2, a size information set 3, and the like.
The length, width and height in the size information set 1 are respectively greater than those in the size information set 2, and the length, width and height in the size information set 2 are respectively greater than those in the size information set 3.
For the size information set 1, it is assumed that the size information of the living room class balcony object includes: the length is 3m and the width is 1.5 m, and under the condition that the dimension information of the living room type balcony object is positioned in the dimension information set 1, a plurality of furniture model objects with larger dimension information can be arranged in the living room type balcony object, for example, a green plant with larger dimension information, a washing machine cabinet with larger dimension information, a washing machine and the like can be arranged to fill the living room type balcony object, so that the feeling of the living room type balcony object swinging is avoided for users.
In order to avoid wasting space in the living room class balcony object as much as possible, the furniture model object may be laid out against the wall object in the living room class balcony object.
For example, referring to fig. 5, a green plant having a larger size information may be laid out against one of the short-side wall objects in the living room type balcony object, a washing machine cabinet may be laid out against the other of the short-side wall objects in the living room type balcony object, and a washing machine (not shown) may be laid out in the washing machine cabinet, and since the size information of the living room type balcony object is larger, the size information of the washing machine cabinet may be larger, for example, the width of the washing machine cabinet may be larger, the width thereof may be slightly smaller than the length of one of the short-side wall objects, etc., or the washing machine cabinet may fill the entire short-side wall object.
For the size information set 2, assuming that the size information of the living room balcony object includes a length of 2.3m and a width of 1.1 m, in the case that the size information of the living room balcony object is located in the size information set 2, a furniture model object with a moderate number and size information can be laid out in the living room balcony object, for example, a green plant with a moderate size information, a washing machine frame with a moderate size information, a washing machine and the like can be laid out, so that a sufficient free space is reserved for the living room balcony object while the living room balcony object is filled, a feeling that the living room balcony object is free from swinging is avoided for a user, and a feeling that the living room balcony object is crowded is brought for the user is avoided.
In order to avoid wasting space in the living room class balcony object as much as possible, the furniture model object may be laid out against the wall object in the living room class balcony object.
For example, referring to fig. 6, a green plant having smaller dimension information may be laid out against one of the short-side wall objects in the living room-like balcony object, a laundry rack may be laid out against the other of the short-side wall objects in the living room-like balcony object, the laundry rack may be laid against the wall object where the door object is located at the same time, and a laundry machine (not shown in the drawings) may be laid out in the laundry rack, and since the dimension information of the living room-like balcony object is moderate, the dimension information of the laundry rack may be moderate, for example, the width of the laundry rack may be moderate, the width thereof may be between one-half to two-thirds of the length of the short-side wall object, and the like.
For the size information set 3, assuming that the size information of the living room balcony object includes a length of 1.9m and a width of 1.1 m, in the case that the size information of the living room balcony object is located in the size information set 3, a small number of furniture model objects with small size information, for example, a green plant with small size information, a washing machine rack with small size information, a washing machine, etc., can be laid out in the living room balcony object to reserve enough free space for the living room balcony object, thereby avoiding the feeling of crowding the living room balcony object for the user.
In order to avoid wasting space in the living room class balcony object as much as possible, the furniture model object may be laid out against the wall object in the living room class balcony object.
For example, referring to fig. 7, a green plant of a moderate size may be laid out against one of the short-side wall objects in the living room-like balcony object, a washing machine may be laid out against the other short-side wall object in the living room-like balcony object, and the washing machine may be laid against the wall object where the door object is located at the same time, and since the size information of the living room-like balcony object is small, the size information of the washing machine may be small, for example, the width of the washing machine may be small, the width of which is less than one-half of the length of the short-side wall object, and so on.
The present application is exemplified by an example in which, assuming that a balcony object is a kitchen-like balcony object, it is found that size information of the kitchen-like balcony object has a size after counting a large number of houses.
When the dimension information of the kitchen balcony object is large, the space of the kitchen balcony object is often large, and a large number of furniture model objects with large dimension information can be distributed in the kitchen balcony object to fill the kitchen balcony object, so that the user is prevented from feeling that the kitchen balcony object is swung.
When the size information of the kitchen balcony objects is small, the space of the kitchen balcony objects is often indicated to be small, and a small number of furniture model objects with small size information can be arranged in the kitchen balcony objects, so that enough free space is reserved for the kitchen balcony objects, and the user is prevented from feeling crowded with the kitchen balcony objects.
In the present application, the dimension information of the kitchen-like balcony object may be divided into a plurality of different dimension information sets, and the number and/or dimension information of the furniture model objects that may be laid out in the different dimension information sets may be different, and the like.
For example, in one example, the size information of the kitchen-like balcony object may be divided into three different size information sets, and the size information set may include at least a length set, a width set, and the like, and may also include a height set, and the like, which are respectively the size information set 1, the size information set 2, the size information set 3, and the like.
The length, width and height in the size information set 1 are respectively greater than those in the size information set 2, and the length, width and height in the size information set 2 are respectively greater than those in the size information set 3.
For the size information set 1, it is assumed that the size information of the kitchen-like balcony object includes: the length is 2.3m and the width is 1.1 m, and when the dimension information of the kitchen balcony object is located in the dimension information set 1, a large number of furniture model objects with large dimension information can be laid out in the kitchen balcony object, for example, green plants with large dimension information, washing machine frames with large dimension information, washing machines and the like can be laid out to fill the kitchen balcony object, so that the user is prevented from feeling that the kitchen balcony object is swayed.
In order to avoid wasting space in the kitchen-like balcony object as much as possible, the furniture model object may be laid out against a wall object in the kitchen-like balcony object.
For example, referring to fig. 8, a green plant having a larger size information may be laid against one of the short-side wall objects of the kitchen-like balcony objects, a laundry rack may be laid against the other of the short-side wall objects of the kitchen-like balcony objects, the laundry rack may be laid against the wall object where the door object is located at the same time, and a laundry machine (not shown) may be laid in the laundry rack, and since the size information of the kitchen-like balcony object is larger, the size information of the laundry rack may be larger, for example, the width of the laundry rack may be larger, the width thereof may be between one-half to two-thirds of the length of the short-side wall object, and so on. Alternatively, the washing machine cabinet may fill the entire short-edge wall object.
For the size information set 2, assuming that the size information of the kitchen-like balcony object includes a length of 1.9m and a width of 1.1 m, in the case that the size information of the kitchen-like balcony object is located in the size information set 2, a furniture model object with a moderate number and size information, for example, a green plant with a moderate size information, a washing machine with a moderate size information, or the like, may be laid out in the kitchen-like balcony object to reserve a sufficient free space for the kitchen-like balcony object while filling the kitchen-like balcony object, to avoid giving the user a feeling of empty swinging of the kitchen-like balcony object, and to avoid giving the user a feeling of crowding the kitchen-like balcony object.
In order to avoid wasting space in the kitchen-like balcony object as much as possible, the furniture model object may be laid out against a wall object in the kitchen-like balcony object.
For example, referring to fig. 9, a green plant of a moderate size may be laid out against one of the short side wall objects in the kitchen-like balcony object, a washing machine may be laid out against the other short side wall object in the kitchen-like balcony object, and the washing machine may be laid against the wall object where the door object is located at the same time, and since the size information of the kitchen-like balcony object is small, the size information of the washing machine may be small, for example, the width of the washing machine may be small, the width of which is less than one-half of the length of the short side wall object, and so on.
For the size information set 3, assuming that the size information of the kitchen-like balcony object includes a length of 1.6m and a width of 1.1 m, in the case that the size information of the kitchen-like balcony object is located in the size information set 3, a smaller number of furniture model objects with smaller size information can be laid out in the kitchen-like balcony object, for example, only green plants with smaller size information can be laid out to reserve enough free space for the kitchen-like balcony object, avoiding giving the user a feeling of crowding the kitchen-like balcony object.
In order to avoid wasting space in the kitchen-like balcony object as much as possible, the furniture model object may be laid out against a wall object in the kitchen-like balcony object.
For example, referring to fig. 10, a moderately sized greenery may be placed against one of the kitchen-like balcony objects, and in one embodiment, may also be placed against a wall object that is not adjacent to the wall object on which the door object is located (the opposite wall object to the door object).
The present application is illustrated by an example in which, assuming that the balcony object is a bedroom type balcony object, it is found that the size information of the bedroom type balcony object has a size after counting a large number of houses.
When the dimension information of the bedroom balcony object is large, the fact that the space of the bedroom balcony object is large is often indicated, a large number of furniture model objects with large dimension information can be arranged in the bedroom balcony object to fill the bedroom balcony object, and the feeling that the bedroom balcony object is swung in an empty mode is avoided for a user.
When the size information of the bedroom balcony objects is small, the fact that the space of the bedroom balcony objects is small is often indicated, and a small number of furniture model objects with small size information can be arranged in the bedroom balcony objects, so that enough free space is reserved for the bedroom balcony objects, and the user is prevented from being crowded with the bedroom balcony objects.
In this application, the size information of the bedroom balcony object can be divided into a plurality of different size information sets, and the size information sets at least include a length set, a width set and the like, and of course, the size information sets also include a height set and the like, and the number and/or size information of the furniture model objects that can be laid out in the different size information sets are different.
For example, in one example, the size information of the bedroom balcony object may be divided into five different size information sets, namely, a size information set 1, a size information set 2, a size information set 3, a size information set 4, a size information set 5, and the like.
The length, width and height in the size information set 1 are respectively greater than the length, width and height in the size information set 2, the length, width and height in the size information set 2 are respectively greater than the length, width and height in the size information set 3, the length, width and height in the size information set 3 are respectively greater than the length, width and height in the size information set 4, and the length, width and height in the size information set 4 are respectively greater than the length, width and height in the size information set 5.
The size information set 1 is larger than the size information set 2, the size information set 2 is larger than the size information set 3, the size information set 3 is larger than the size information set 4, and the size information set 4 is larger than the size information set 5.
In the case where the size information of the bedroom balcony object is located in the size information set 1, assuming that the size information of the bedroom balcony object includes a length of 3.2m and a width of 1.6m, a furniture model object having larger size information, for example, a balcony table and a balcony chair, may be laid out in the bedroom balcony object.
For example, referring to fig. 11, a balcony table and a balcony chair may be placed in an intermediate position in a bedroom-type balcony object.
For the size information set 2, assuming that the size information of the bedroom balcony object includes a length of 3m and a width of 1.5 m, in the case that the size information of the bedroom balcony object is located in the size information set 2, a large number of furniture model objects with large size information can be laid out in the bedroom balcony object, for example, a green plant with large size information and a washing machine cabinet with large size information and the like can be laid out, so that sufficient free space is reserved for the bedroom balcony object while the bedroom balcony object is filled, the feeling that the bedroom balcony object is free from swinging is avoided, and the feeling that the bedroom balcony object is crowded is avoided for the user.
In order to avoid wasting space in the bedroom type balcony object as much as possible, the furniture model object can be laid out against the wall object in the bedroom type balcony object.
For example, referring to fig. 12, a green plant having a larger size information may be laid against one of the short-side wall objects in the bedroom balcony objects, a washing machine cabinet may be laid against the other of the short-side wall objects in the bedroom balcony objects, and a washing machine (not shown) may be laid in the washing machine cabinet, and since the size information of the bedroom balcony objects is larger, the size information of the washing machine cabinet may be larger, for example, the width of the washing machine cabinet may be larger, the width thereof may be slightly smaller than the length of one of the short-side wall objects, and the like, or the washing machine cabinet may fill the entire short-side wall object.
For the size information set 3, assuming that the size information of the bedroom balcony object includes a length of 2.3m and a width of 1.1 m, when the size information of the bedroom balcony object is located in the size information set 3, a large number of furniture model objects with large size information can be laid out in the bedroom balcony object, for example, a green plant with large size information, a washing machine frame with large size information, a washing machine and the like can be laid out to fill the bedroom balcony object, so as to avoid giving the user a feeling that the bedroom balcony object is swayed.
In order to avoid wasting space in the bedroom type balcony object as much as possible, the furniture model object can be laid out against the wall object in the bedroom type balcony object.
For example, referring to fig. 13, a green plant having a larger layout size information may be laid against one of the short-side wall objects in the bedroom type balcony object, a laundry rack may be laid against the other of the short-side wall objects in the bedroom type balcony object, the laundry rack may be laid against the wall object where the door object is located at the same time, and a laundry machine (not shown) may be laid in the laundry rack, and since the size information of the bedroom type balcony object is larger, the size information of the laundry rack may be larger, for example, the width of the laundry rack may be larger, the width thereof may be between one-half to two-thirds of the length of the short-side wall object, and so on. Alternatively, the washing machine cabinet may fill the entire short-edge wall object.
For the size information set 4, assuming that the size information of the bedroom balcony object includes a length of 1.9m and a width of 1.1 m, in the case that the size information of the bedroom balcony object is located in the size information set 4, a furniture model object with a moderate number and size information can be laid out in the bedroom balcony object, for example, a green plant with a moderate size information and a washing machine with a moderate size information can be laid out, so that sufficient free space is reserved for the bedroom balcony object while the bedroom balcony object is filled, the feeling that the bedroom balcony object is swung freely is avoided, and the feeling that the bedroom balcony object is crowded is avoided.
In order to avoid wasting space in the bedroom type balcony object as much as possible, the furniture model object can be laid out against the wall object in the bedroom type balcony object.
For example, referring to fig. 14, a green plant of a moderate size may be laid out against one of the short-side wall objects in the bedroom-type balcony object, a washing machine may be laid out against the other short-side wall object in the bedroom-type balcony object, and the washing machine may be laid against the wall object where the door object is located at the same time.
For the size information set 5, assuming that the size information of the bedroom balcony object includes a length of 1.6m and a width of 1.1 m, in the case that the size information of the bedroom balcony object is located in the size information set 5, a small number of furniture model objects with small size information can be laid out in the bedroom balcony object, for example, only green plants with small size information can be laid out to reserve enough free space for the bedroom balcony object, so as to avoid giving the user a feeling of crowding the bedroom balcony object.
In order to avoid wasting space in the bedroom type balcony object as much as possible, the furniture model object can be laid out against the wall object in the bedroom type balcony object.
For example, referring to fig. 15, a moderately sized green plant may be placed against one of the short-edge wall objects in the bedroom-type balcony object, while the green plant is placed against a wall object that is not adjacent to the wall object on which the door object is located (the opposite wall object to the door object).
It is noted that, for simplicity of explanation, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will appreciate that the present application is not limited by the order of acts, as some steps may, in accordance with the present application, occur in other orders and concurrently. Further, those skilled in the art will also appreciate that the embodiments described in the specification are exemplary and that no action is necessarily required in this application.
Referring to fig. 16, there is shown a block diagram illustrating a display apparatus of furniture according to the present application, in which contents displayed through a graphical user interface of a terminal include at least a balcony object, wherein the balcony object is an area belonging to a balcony in a three-dimensional room space established according to a target room, the apparatus including:
a first obtaining module 11, configured to obtain a spatial attribute of the balcony object;
a second obtaining module 12, configured to obtain, according to at least the space attribute, furniture layout data of the balcony object, where the furniture layout data includes a target furniture model object for being laid out in the balcony object and target position information corresponding to the target furniture model object;
and the display module 13 is used for displaying the target furniture model object in the balcony object according to the target position information.
In an alternative implementation, the display module includes:
a selecting unit configured to select, when the number of the furniture layout data is at least two, a first furniture layout data having a highest priority from the at least two furniture layout data; the first furniture layout data comprises a first target furniture model object and first target position information corresponding to the first target furniture model object;
and the first display unit is used for displaying the first target furniture model object in the balcony object according to the first target position information.
In an optional implementation, the apparatus further comprises:
a first acquisition unit configured to acquire, in a case where a switching operation for switching furniture layout data is received, second furniture layout data of the at least two furniture layout data according to the switching operation; the second furniture layout data comprises a second target furniture model object and second target position information corresponding to the second target furniture model object;
a hiding unit for hiding the first target furniture model object in the balcony object, and a second display unit for displaying the second target furniture model object according to the second target position information.
In an optional implementation manner, the second obtaining module includes:
a second obtaining unit, configured to obtain at least one preset furniture model object for layout in the balcony object according to the space attribute;
a third obtaining unit, configured to obtain, according to at least the space attribute, position information of layout of each preset furniture model object in the balcony object;
and the fourth acquisition unit is used for acquiring the furniture layout data according to the acquired preset furniture model object and the acquired position information.
In an optional implementation manner, the third obtaining unit includes:
the first acquiring subunit is used for acquiring the priority of each preset furniture model object;
and the second acquiring subunit is used for sequentially acquiring the position information of the layout of each preset furniture model object in the balcony object according to the spatial attributes and the sequence of the priorities from high to low.
In an optional implementation manner, the second obtaining unit includes:
the third acquisition subunit is used for acquiring the space type of the balcony object according to the space attribute;
a fourth obtaining subunit, configured to obtain the at least one preset furniture model object at least according to the space type.
In an alternative implementation, the space attribute includes a space object to which a preset connection object among the balcony objects is connected;
the third obtaining subunit is specifically configured to: and acquiring the space type according to the space object.
In an alternative implementation, the spatial attribute includes size information of the balcony object;
the fourth obtaining subunit is specifically configured to: selecting at least one preset furniture model object among a plurality of preset furniture model objects for layout in the balcony object of the space type according to the size information.
In an optional implementation manner, the fourth obtaining subunit is specifically configured to: searching a size information set where the size information is located in a corresponding relation between a size information set and a preset furniture model object corresponding to the space type; and searching a preset furniture model object corresponding to the size information set in the corresponding relation.
In an optional implementation manner, the fourth obtaining subunit is specifically configured to:
under the condition that the priorities of different space objects in the three-dimensional house space are different, for any one preset furniture model object in a plurality of preset furniture model objects which are used for being distributed in the balcony objects of the space type, under the condition that the furniture type of the preset furniture model object is a preset type, the priority of the balcony object is obtained according to the space type;
acquiring a space object in the three-dimensional house space, wherein the space object is higher than the priority;
judging whether the preset furniture model object is displayed in the space object or not;
and under the condition that the preset furniture model object is not displayed in the space object, acquiring the preset furniture model object.
In the embodiment of the application, the virtual three-dimensional house space of the target house can be displayed through the image user interface of the terminal, and a user can roam in the three-dimensional house space so as to browse the interior decoration condition of the target house. Wherein, the balcony object can be according to the region that belongs to the balcony among the three-dimensional house space that the target house established, then the terminal includes the mode of the show of furniture in the balcony object: the method comprises the steps of obtaining the space attribute of a balcony object, obtaining furniture layout data of the balcony object at least according to the space attribute, wherein the furniture layout data comprise a target furniture model object used for being arranged in the balcony object and target position information corresponding to the target furniture model object, and then displaying the target furniture model object in the balcony object according to the target position information.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
Fig. 17 is a block diagram of an electronic device 800 shown in the present application. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 17, electronic device 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the electronic device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operation at the device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phonebook data, messages, images, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 806 provides power to the various components of the electronic device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 800.
The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the electronic device 800. For example, the sensor assembly 814 may detect an open/closed state of the device 800, the relative positioning of components, such as a display and keypad of the electronic device 800, the sensor assembly 814 may also detect a change in the position of the electronic device 800 or a component of the electronic device 800, the presence or absence of user contact with the electronic device 800, orientation or acceleration/deceleration of the electronic device 800, and a change in the temperature of the electronic device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 may access a wireless network based on a communication standard, such as WiFi, a carrier network (such as 2G, 3G, 4G, or 5G), or a combination thereof. In an exemplary embodiment, the communication component 816 receives broadcast signals or broadcast operation information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the electronic device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Fig. 18 is a block diagram of an electronic device 1900 shown in the present application. For example, the electronic device 1900 may be provided as a server.
Referring to fig. 18, electronic device 1900 includes a processing component 1922 further including one or more processors and memory resources, represented by memory 1932, for storing instructions, e.g., applications, executable by processing component 1922. The application programs stored in memory 1932 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1922 is configured to execute instructions to perform the above-described method.
The electronic device 1900 may also include a power component 1926 configured to perform power management of the electronic device 1900, a wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network, and an input/output (I/O) interface 1958. The electronic device 1900 may operate based on an operating system stored in memory 1932, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, apparatus, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal 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 terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The method and the device for displaying furniture provided by the application are introduced in detail, specific examples are applied in the description to explain the principle and the implementation manner of the application, and the description of the embodiments is only used for helping to understand the method and the core idea of the application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (16)

1. A furniture presentation method, wherein contents presented through a graphical user interface of a terminal include at least a balcony object, wherein the balcony object is an area belonging to a balcony in a three-dimensional room space established according to a target room, the method comprising:
acquiring the space attribute of the balcony object;
acquiring furniture layout data of the balcony object at least according to the space attribute, wherein the furniture layout data comprise a target furniture model object for layout in the balcony object and target position information corresponding to the target furniture model object;
displaying the target furniture model object in the balcony object according to the target position information;
wherein the spatial attributes comprise: size information of the balcony object; the acquiring furniture layout data of the balcony object at least according to the space attribute comprises:
acquiring a candidate area in the balcony object according to the space attribute and the position information of the layout of the other preset furniture model objects in the balcony object;
acquiring the space type of the balcony object according to the space attribute;
selecting at least one preset furniture model object as a target furniture model object among a plurality of preset furniture model objects for layout in the balcony object of the space type according to the size information;
matching the target furniture model object with the candidate area to obtain target position information of the target furniture model object in the balcony object;
wherein, the obtaining of the candidate region in the balcony object according to the spatial attributes and the positional information of the layout of the other preset furniture model objects in the balcony object includes:
according to the space attribute of the balcony object and the position information of the layout of other preset furniture model objects in the balcony object, acquiring a plurality of candidate areas with different priorities in the balcony object, wherein the priority of the preset furniture model object is lower than the priorities of the other preset furniture model objects;
the candidate regions may include at least: a first area where a first wall object where a door object is located in the balcony object is located; a second region where a second wall object adjacent to the first wall object is located among the balcony objects; a third area where a third wall object, which is not adjacent to the first wall object, of the balcony objects is located;
the priority of the second area is greater than that of the first area, and the priority of the first area is greater than that of the third area;
wherein the matching the target furniture model object with the candidate region to obtain the target position information of the target furniture model object in the balcony object includes:
in a plurality of target furniture model objects with different priorities and a plurality of candidate areas with different priorities, according to the sequence from high priority to low priority, for any one target furniture model object and any one candidate area, judging whether the candidate area can accommodate the target furniture model object or not according to the size information of the target furniture model object and the size information of the candidate area, and determining that the candidate area and the target furniture model object are successfully matched under the condition that the candidate area can accommodate the target furniture model object;
and according to the candidate region of the highest level successfully matched with the target furniture model object, the candidate region is used as the target position information of the target furniture model object in the balcony object.
2. The method of claim 1, wherein the presenting the target furniture model object in the balcony object according to the target location information comprises:
selecting first furniture layout data with highest priority from the at least two furniture layout data under the condition that the number of the furniture layout data is at least two; the first furniture layout data comprises a first target furniture model object and first target position information corresponding to the first target furniture model object;
and displaying the first target furniture model object in the balcony object according to the first target position information.
3. The method of claim 2, further comprising:
under the condition that a switching operation for switching furniture layout data is received, acquiring second furniture layout data in the at least two pieces of furniture layout data according to the switching operation; the second furniture layout data comprises a second target furniture model object and second target position information corresponding to the second target furniture model object;
hiding the first target furniture model object in the balcony object, and displaying the second target furniture model object according to the second target position information.
4. The method according to claim 1, wherein the matching the target furniture model object with the candidate area to obtain the target position information of the target furniture model object in the balcony object comprises:
acquiring the priority of each target furniture model object;
and sequentially acquiring the position information of the candidate areas matched with the target furniture model objects according to the spatial attributes and the sequence of the priority from high to low, and determining the target position information distributed in the balcony objects.
5. The method according to claim 1, wherein the spatial attribute includes a spatial object to which a preset connection object among the balcony objects is connected;
the acquiring the space type of the balcony object according to the space attribute comprises:
and acquiring the space type according to the space object.
6. The method according to claim 1, wherein the selecting at least one preset furniture model object among a plurality of preset furniture model objects for layout in a balcony object of the space type according to the size information comprises:
searching a size information set where the size information is located in a corresponding relation between a size information set and a preset furniture model object corresponding to the space type;
and searching a preset furniture model object corresponding to the size information set in the corresponding relation.
7. The method according to claim 1, wherein after the obtaining the space type of the balcony object according to the space attribute, the method further comprises:
under the condition that the priorities of different space objects in the three-dimensional house space are different, for any one preset furniture model object in a plurality of preset furniture model objects which are used for being distributed in the balcony objects of the space type, under the condition that the furniture type of the preset furniture model object is a preset type, the priority of the balcony object is obtained according to the space type;
acquiring a space object in the three-dimensional house space, wherein the space object is higher than the priority;
judging whether the preset furniture model object is displayed in the space object or not;
and under the condition that the preset furniture model object is not displayed in the space object, acquiring the preset furniture model object.
8. A presentation apparatus of furniture, characterized in that contents presented through a graphic user interface of a terminal include at least a balcony object, wherein the balcony object is an area belonging to a balcony in a three-dimensional room space established according to a target room, the apparatus comprising:
the first acquisition module is used for acquiring the space attribute of the balcony object;
a second obtaining module, configured to obtain furniture layout data of the balcony object at least according to the space attribute, where the furniture layout data includes a target furniture model object for layout in the balcony object and target position information corresponding to the target furniture model object;
the display module is used for displaying the target furniture model object in the balcony object according to the target position information;
wherein the spatial attributes comprise: size information of the balcony object; the second acquisition module includes:
a fifth obtaining unit, configured to obtain a candidate region in the balcony object according to the spatial attribute and position information of the layout of the other preset furniture model objects in the balcony object;
a second obtaining unit, configured to obtain a space type of the balcony object according to the space attribute, and select at least one preset furniture model object as a target furniture model object from a plurality of preset furniture model objects for layout in the balcony object of the space type according to the size information;
a sixth obtaining unit, configured to match the target furniture model object with the candidate region, and obtain target position information of the target furniture model object in the balcony object;
wherein the fifth obtaining unit is further configured to:
according to the space attribute of the balcony object and the position information of the layout of other preset furniture model objects in the balcony object, acquiring a plurality of candidate areas with different priorities in the balcony object, wherein the priority of the preset furniture model object is lower than the priorities of the other preset furniture model objects;
the candidate regions may include at least: a first area where a first wall object where a door object is located in the balcony object is located; a second region where a second wall object adjacent to the first wall object is located among the balcony objects; a third area where a third wall object, which is not adjacent to the first wall object, of the balcony objects is located;
the priority of the second area is greater than that of the first area, and the priority of the first area is greater than that of the third area;
wherein the sixth obtaining unit is further configured to:
in a plurality of target furniture model objects with different priorities and a plurality of candidate areas with different priorities, according to the sequence from high priority to low priority, for any one target furniture model object and any one candidate area, judging whether the candidate area can accommodate the target furniture model object or not according to the size information of the target furniture model object and the size information of the candidate area, and determining that the candidate area and the target furniture model object are successfully matched under the condition that the candidate area can accommodate the target furniture model object;
and according to the candidate region of the highest level successfully matched with the target furniture model object, the candidate region is used as the target position information of the target furniture model object in the balcony object.
9. The apparatus of claim 8, wherein the display module comprises:
a selecting unit configured to select, when the number of the furniture layout data is at least two, a first furniture layout data having a highest priority from the at least two furniture layout data; the first furniture layout data comprises a first target furniture model object and first target position information corresponding to the first target furniture model object;
and the first display unit is used for displaying the first target furniture model object in the balcony object according to the first target position information.
10. The apparatus of claim 9, further comprising:
a first acquisition unit configured to acquire, in a case where a switching operation for switching furniture layout data is received, second furniture layout data of the at least two furniture layout data according to the switching operation; the second furniture layout data comprises a second target furniture model object and second target position information corresponding to the second target furniture model object;
a hiding unit for hiding the first target furniture model object in the balcony object, and a second display unit for displaying the second target furniture model object according to the second target position information.
11. The apparatus of claim 8, wherein the seventh obtaining unit comprises:
the first acquisition subunit is used for acquiring the priority of each target furniture model object;
and the second obtaining subunit is configured to, at least according to the spatial attributes, sequentially obtain position information of candidate regions matched with each target furniture model object in an order from high priority to low priority, and determine target position information of the layout in the balcony object.
12. The apparatus of claim 8, wherein the spatial attribute includes a spatial object to which a preset connection object among the balcony objects is connected;
the second obtaining unit is specifically configured to: and acquiring the space type according to the space object.
13. The apparatus according to claim 8, wherein the second obtaining unit is specifically configured to: searching a size information set where the size information is located in a corresponding relation between a size information set and a preset furniture model object corresponding to the space type; and searching a preset furniture model object corresponding to the size information set in the corresponding relation.
14. The apparatus according to claim 8, wherein the second obtaining subunit is further configured to:
under the condition that the priorities of different space objects in the three-dimensional house space are different, for any one preset furniture model object in a plurality of preset furniture model objects which are used for being distributed in the balcony objects of the space type, under the condition that the furniture type of the preset furniture model object is a preset type, the priority of the balcony object is obtained according to the space type;
acquiring a space object in the three-dimensional house space, wherein the space object is higher than the priority;
judging whether the preset furniture model object is displayed in the space object or not;
and under the condition that the preset furniture model object is not displayed in the space object, acquiring the preset furniture model object.
15. An electronic device, characterized in that the electronic device comprises:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform a method of displaying an item of furniture as claimed in any one of claims 1 to 7.
16. A non-transitory computer readable storage medium having instructions therein which, when executed by a processor of an electronic device, enable the electronic device to perform a method of displaying an item of furniture as claimed in any one of claims 1 to 7.
CN202010583458.XA 2020-06-23 2020-06-23 Furniture display method and device Active CN111882648B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010583458.XA CN111882648B (en) 2020-06-23 2020-06-23 Furniture display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010583458.XA CN111882648B (en) 2020-06-23 2020-06-23 Furniture display method and device

Publications (2)

Publication Number Publication Date
CN111882648A CN111882648A (en) 2020-11-03
CN111882648B true CN111882648B (en) 2022-04-22

Family

ID=73157942

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010583458.XA Active CN111882648B (en) 2020-06-23 2020-06-23 Furniture display method and device

Country Status (1)

Country Link
CN (1) CN111882648B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104778756A (en) * 2015-04-10 2015-07-15 北京明兰网络科技有限公司 Intelligent home decoration design system
CN106504073A (en) * 2016-11-09 2017-03-15 大连文森特软件科技有限公司 House for sale based on AR virtual reality technologies is investigated and decorating scheme Ask-Bid System
CN109685900A (en) * 2018-12-19 2019-04-26 努比亚技术有限公司 Furniture adaptation method, device, terminal and storage medium based on dual camera
KR20190085269A (en) * 2018-01-10 2019-07-18 (주) 군월드 System, server and method for providing lot-solid interior service
CN110363853A (en) * 2019-07-15 2019-10-22 贝壳技术有限公司 Furniture puts scheme generation method, device and equipment, storage medium
CN110851902A (en) * 2019-11-06 2020-02-28 广东博智林机器人有限公司 Method and device for generating spatial arrangement scheme
WO2020054203A1 (en) * 2018-09-10 2020-03-19 富士フイルム株式会社 Display device, method, and program
CN111028333A (en) * 2019-11-25 2020-04-17 贝壳技术有限公司 Method and device for generating article placement effect image

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108460840A (en) * 2018-01-17 2018-08-28 链家网(北京)科技有限公司 The methods of exhibiting and displaying device of virtual house decoration
CN111047379B (en) * 2018-10-12 2024-06-07 阿里巴巴集团控股有限公司 House decoration information processing method, device and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104778756A (en) * 2015-04-10 2015-07-15 北京明兰网络科技有限公司 Intelligent home decoration design system
CN106504073A (en) * 2016-11-09 2017-03-15 大连文森特软件科技有限公司 House for sale based on AR virtual reality technologies is investigated and decorating scheme Ask-Bid System
KR20190085269A (en) * 2018-01-10 2019-07-18 (주) 군월드 System, server and method for providing lot-solid interior service
WO2020054203A1 (en) * 2018-09-10 2020-03-19 富士フイルム株式会社 Display device, method, and program
CN109685900A (en) * 2018-12-19 2019-04-26 努比亚技术有限公司 Furniture adaptation method, device, terminal and storage medium based on dual camera
CN110363853A (en) * 2019-07-15 2019-10-22 贝壳技术有限公司 Furniture puts scheme generation method, device and equipment, storage medium
CN110851902A (en) * 2019-11-06 2020-02-28 广东博智林机器人有限公司 Method and device for generating spatial arrangement scheme
CN111028333A (en) * 2019-11-25 2020-04-17 贝壳技术有限公司 Method and device for generating article placement effect image

Also Published As

Publication number Publication date
CN111882648A (en) 2020-11-03

Similar Documents

Publication Publication Date Title
US10564833B2 (en) Method and apparatus for controlling devices
EP3035738B1 (en) Method for connecting appliance to network and corresponding device
US20170125035A1 (en) Controlling smart device by voice
EP3163549B1 (en) Interface display method and device
US9667774B2 (en) Methods and devices for sending virtual information card
EP3145164A1 (en) Method and device for displaying answer extension function
CN104391626B (en) Method and device for dynamically displaying equipment list
US10489169B2 (en) Method and device for performing subset of functions of application
JP6496805B2 (en) WiFi signal icon display method, apparatus, mobile terminal, program, and recording medium
CN107526591B (en) Method and device for switching types of live broadcast rooms
EP2947567A1 (en) User interface text appearance customization
CN111882645B (en) Furniture display method and device
CN106155703B (en) Emotional state display method and device
CN114025180A (en) Game operation synchronization system, method, device, equipment and storage medium
US20160309041A1 (en) Calling methods and devices
CN113596603B (en) Virtual article display control method, virtual article display method and device
CN110321042B (en) Interface information display method and device and electronic equipment
US11075811B2 (en) Method and apparatus for device identification
CN111882648B (en) Furniture display method and device
CN111541922A (en) Method, device and storage medium for displaying interface input information
CN114268802B (en) Virtual space display method and device, electronic equipment and storage medium
CN115499479A (en) Commodity comparison display method and device and electronic equipment
CN112232901A (en) Information processing method and device
CN108717373B (en) Name display method and device of intelligent equipment and storage medium
CN111882647A (en) Furniture display method and device

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
GR01 Patent grant
GR01 Patent grant