CN111951374B - House decoration data processing method and device, electronic equipment and storage medium - Google Patents

House decoration data processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111951374B
CN111951374B CN202010665222.0A CN202010665222A CN111951374B CN 111951374 B CN111951374 B CN 111951374B CN 202010665222 A CN202010665222 A CN 202010665222A CN 111951374 B CN111951374 B CN 111951374B
Authority
CN
China
Prior art keywords
data
house
target
decoration
online
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
CN202010665222.0A
Other languages
Chinese (zh)
Other versions
CN111951374A (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 CN202010665222.0A priority Critical patent/CN111951374B/en
Publication of CN111951374A publication Critical patent/CN111951374A/en
Application granted granted Critical
Publication of CN111951374B publication Critical patent/CN111951374B/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
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/003Navigation within 3D models or images
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/20Editing of 3D images, e.g. changing shapes or colours, aligning objects or positioning parts
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2219/00Indexing scheme for manipulating 3D models or images for computer graphics
    • G06T2219/20Indexing scheme for editing of 3D models
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2219/00Indexing scheme for manipulating 3D models or images for computer graphics
    • G06T2219/20Indexing scheme for editing of 3D models
    • G06T2219/2004Aligning objects, relative positioning of parts
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2219/00Indexing scheme for manipulating 3D models or images for computer graphics
    • G06T2219/20Indexing scheme for editing of 3D models
    • G06T2219/2012Colour editing, changing, or manipulating; Use of colour codes

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Graphics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Architecture (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Geometry (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention provides a house decoration data processing method and device, electronic equipment and a storage medium. The method comprises the following steps: acquiring three-dimensional house decoration data of a target house, wherein the three-dimensional house decoration data comprises at least one of three-dimensional space data and decoration data of each functional area in the target house, the three-dimensional space data at least comprises marker data and observation point data, and the decoration data comprises at least one of hard decoration data and soft decoration data; according to the three-dimensional space data, an editable online house model is built in a browser of a preset terminal, and the online house model comprises a model object corresponding to the specified marker; and/or rendering an editable online decoration result in the online house model according to the decoration data, wherein the online decoration result comprises a model object corresponding to the specified decoration component. Thereby effectively improving the operation flexibility when the house decoration data is displayed.

Description

House decoration data processing method and device, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of three-dimensional space, in particular to a house decoration data processing method and device, electronic equipment and a storage medium.
Background
With the rapid development of the home decoration industry, the house decoration requirements are more and more diversified. As general consumers, there is a demand for intuitive experiences of different decoration styles, and as businesses, there is a demand for quick and intuitive display of on-site display effects of various furniture in different display modes.
At present, three-dimensional house decoration data such as 3D model data, decoration data and the like of a target house can be constructed through three-dimensional modeling software. However, since the data constructed in the three-dimensional modeling software is relatively fixed and the data contained therein is relatively complicated, it is difficult to directly render and display in a browser, and custom editing cannot be performed. After finishing house source decoration, the on-line display can not be carried out at the browser end, the design styles of decoration components and the like displayed in the browser end can not be adjusted in real time, and the flexibility is poor.
Disclosure of Invention
The embodiment of the invention provides a house decoration data processing method and device, electronic equipment and a storage medium, and aims to solve the problems that existing house source decoration data cannot be displayed on a browser end, current design styles of decoration components displayed in the house source decoration data cannot be adjusted in real time, and flexibility is poor.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a method for processing house decoration data, including:
acquiring three-dimensional house decoration data of a target house, wherein the three-dimensional house decoration data comprises at least one of three-dimensional space data and decoration data of each functional area in the target house, the three-dimensional space data at least comprises marker data and observation point data, and the decoration data comprises at least one of hard decoration data and soft decoration data;
according to the three-dimensional space data, an editable online house model is built in a browser of a preset terminal, and the online house model comprises a model object corresponding to the specified marker;
and/or rendering an editable online decoration result in the online house model according to the decoration data, wherein the online decoration result comprises a model object corresponding to the appointed decoration component.
Optionally, the step of obtaining target house data of the target house according to the three-dimensional space data includes:
analyzing the three-dimensional space data of the functional area aiming at each functional area in the target house, and extracting first target data of the functional area from the analyzed three-dimensional space data;
according to the first target data, an editable online house model is built in a browser of a preset terminal;
wherein the first target data includes at least one of interior and exterior wall data, door data, window data, roaming point data, ceiling data, and attribute data of the functional area.
Optionally, the step of constructing an editable online house model in a browser of a preset terminal according to the first target data includes:
analyzing decoration data of the functional areas aiming at each functional area in the target house, and extracting second target data of the functional areas from the analyzed decoration data;
and rendering an editable online decoration result in the online house model according to the second target data.
Optionally, the step of rendering an editable online decoration result in the online house model according to the decoration data includes:
analyzing decoration data of the functional areas aiming at each functional area in the target house, and extracting second target data of the functional areas from the analyzed decoration data;
rendering an editable online decoration result in the online house model according to the second target data;
the second target data comprises at least one of target hardpack data and target softpack data, the target softpack data comprises furniture layout data, and the furniture layout data comprises at least one furniture model object and position information corresponding to the furniture model object; the target hardcover data comprises at least one of door and window layout data, ceiling layout data and material data of a target surface, and the target surface comprises at least one of a ceiling surface, a wall surface, a floor surface, a skirting line surface and a passerby surface.
Optionally, the step of constructing an editable online house model in a browser of a preset terminal according to the first target data includes:
generating target house data for constructing the online house model based on the first target data and the specified format of each first target data, and outputting the target house data to the preset terminal;
responding to a viewing instruction triggered by a browser, and constructing and displaying an editable online house model in the browser according to the target house data;
optionally, the step of rendering an editable online decoration result in the online house model according to the second target data includes:
generating target decoration data for rendering the online decoration result based on second target data and the specified format of each second target data, and outputting the target decoration data to the preset terminal;
and rendering an editable online decoration result in the online house model according to the target decoration data.
Optionally, the method further comprises:
in response to receiving an editing operation on the online house model and/or the online decoration result, adjusting the three-dimensional house decoration data according to the editing operation;
and generating VR panoramic data of the target house and updating display content in a VR display page of the target house according to the adjusted three-dimensional house decoration data.
In a second aspect, an embodiment of the present invention provides a house decoration data processing apparatus, including:
the three-dimensional modeling data acquisition module is used for acquiring three-dimensional house decoration data of a target house, wherein the three-dimensional house decoration data comprises at least one of three-dimensional space data and decoration data of each functional area in the target house, the three-dimensional space data at least comprises marker data and observation point data, and the decoration data comprises at least one of hard decoration data and soft decoration data; and (c) a second step of,
the house data processing module is used for constructing an editable online house model in a browser of a preset terminal according to the three-dimensional space data, and the online house model comprises a model object corresponding to the specified marker; and/or the presence of a gas in the gas,
and the decoration data processing module is used for rendering an editable online decoration result in the online house model according to the decoration data, and the online decoration result comprises a model object corresponding to the appointed decoration component.
Optionally, the house data processing module includes:
the first data extraction submodule is used for analyzing the three-dimensional space data of the functional area aiming at each functional area in the target house and extracting first target data of the functional area from the analyzed three-dimensional space data;
the online house model building submodule is used for building an editable online house model in a browser of a preset terminal according to the first target data;
the first target data comprises at least one of internal and external wall data, door data, window data, roaming point data, ceiling data and attribute data of the functional area.
Optionally, the online house model building submodule is specifically configured to:
analyzing decoration data of the functional areas aiming at each functional area in the target house, and extracting second target data of the functional areas from the analyzed decoration data;
and rendering an editable online decoration result in the online house model according to the second target data.
Optionally, the decoration data processing module includes:
the second data extraction submodule is used for analyzing decoration data of the functional areas aiming at each functional area in the target house and extracting second target data of the functional areas from the analyzed decoration data;
the online decoration result rendering submodule is used for rendering an editable online decoration result in the online house model according to the second target data;
the second target data comprises at least one of target hardpack data and target softpack data, the target softpack data comprises furniture layout data, and the furniture layout data comprises at least one furniture model object and position information corresponding to the furniture model object; the target hardcover data comprises at least one of door and window layout data, ceiling layout data and material data of a target surface, and the target surface comprises at least one of a ceiling surface, a wall surface, a floor surface, a skirting line surface and a passerby surface.
Optionally, the online house model building submodule is specifically configured to:
generating target house data for constructing the online house model based on the first target data and the specified format of each first target data, and outputting the target house data to the preset terminal;
responding to a viewing instruction triggered by a browser, and constructing and displaying an editable online house model in the browser according to the target house data;
optionally, the online decoration result rendering sub-module is specifically configured to:
generating target decoration data used for rendering the online decoration result based on second target data and the specified format of each second target data, and outputting the target decoration data to the preset terminal;
and rendering an editable online decoration result in the online house model according to the target decoration data.
Optionally, the apparatus further comprises:
the first data updating module is used for responding to the received editing operation aiming at the online house model and/or the online decoration result and adjusting the three-dimensional house decoration data according to the editing operation;
and the second data updating module is used for generating VR panoramic data of the target house and updating display content in a VR display page of the target house according to the adjusted three-dimensional house decoration data.
In a third aspect, an embodiment of the present invention additionally provides an electronic device, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the method of processing house renovation data according to the first aspect.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when executed by a processor, the computer program implements the steps of the house decoration data processing method according to the first aspect.
In the embodiment of the invention, after the house is constructed in 3D modeling software and the like, the three-dimensional space data of each functional area in the house can be converted into an editable online house model. And/or after house decoration such as furniture placement and the like is completed in 3D modeling software and the like according to a furniture layout scheme, decoration data can be converted into editable online decoration results, so that custom editing can be performed on currently displayed house models and decoration results according to requirements at a browser end, different house models and decoration results can be simulated flexibly and in real time, and the operation flexibility in the house and decoration effect display process is effectively improved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the description below are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart illustrating steps of a method for processing house decoration data according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating steps of another house improvement data processing method according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a house finishing data processing apparatus according to an embodiment of the present invention;
FIG. 4 is a schematic configuration diagram of another house finishing data processing apparatus according to the embodiment of the present invention;
fig. 5 is a schematic diagram of a hardware structure of an electronic device in the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The house decoration data processing method in the embodiment of the invention can be operated on electronic equipment or terminals such as a server and the like. The electronic device may be a local electronic device. The three-dimensional house decoration data may include all three-dimensional house decoration data related to the target house in a VR (Virtual Reality), AR (Augmented Reality), panorama, and the like, for example, the three-dimensional house decoration data may include, but is not limited to, at least one of three-dimensional space data and decoration data of each functional area in the target house.
In an optional embodiment, 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, the three-dimensional house decoration data conversion process, and the operation of an editable online house model and/or an online decoration result which are constructed after conversion can be 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 electronic device for processing the information data is a cloud display server at the cloud end. When browsing the online house model and the online decoration result thereof, a user can operate the cloud display client to send an operation instruction to the cloud display server, the cloud display server displays relevant commodity information according to the operation instruction, codes and compresses data such as the commodity 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 commodity information.
In another alternative embodiment, the electronic device may be a local electronic device. The local electronic device stores an application program and is used to present an application interface. The local electronic device is used to interact with the user through a graphical user interface, i.e. the installation application is downloaded and run conventionally through the electronic device. The manner in which the local electronic device 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 via holographic projection. By way of example, the local electronic device may include a display screen for presenting a graphical user interface including an application screen and a processor for running the application program, generating the graphical user interface, and controlling display of the graphical user interface on the display screen.
When the preset terminal is a local electronic device, the preset terminal may be an electronic device such as a desktop computer, a notebook computer, a tablet computer, a mobile terminal, and a VR (Virtual Reality) device. The VR device may include a computer, a VR headset, a VR control device, and the like, and the user may roam in a designated area through an online house model and/or an online decoration result displayed in the VR headset, so as to implement real roaming of the user in the virtual house source, and may interact with the virtual house source through the VR control device, for example, edit or adjust a model object (for example, a wall height, a length, a width, a wall position, a window position, and the like) corresponding to a marker therein or a model object (for example, a door and window type, a wall color, a floor color, a furniture type, a furniture position, and the like) of a decoration component.
The terminal can run application programs, such as life application programs, audio application programs, game application programs and the like. The life-type application programs can be further divided according to different types, such as a rental and sale room application program, a home service application program, a leisure and entertainment application program and the like. The embodiment of the present application is exemplified by running a life application on a mobile terminal, and it is understood that the present invention is not limited thereto.
Referring to fig. 1, a flow chart of steps of a house decoration data processing method according to an embodiment of the present invention is shown.
Step 110, obtaining three-dimensional house decoration data of a target house, wherein the three-dimensional house decoration data comprises at least one of three-dimensional space data and decoration data of each functional area in the target house, the three-dimensional space data at least comprises marker data and observation point data, and the decoration data comprises at least one of hard decoration data and soft decoration data; and the number of the first and second groups,
step 120, according to the three-dimensional space data, an editable online house model is built in a browser of a preset terminal, and the online house model comprises a model object corresponding to the specified marker; and/or the presence of a gas in the gas,
and step 130, rendering an editable online decoration result in the online house model according to the decoration data, wherein the online decoration result comprises a model object corresponding to the appointed decoration component.
In the embodiment of the present invention, the three-dimensional house decoration data such as the three-dimensional space data and the decoration data may be obtained by any available method, which is not limited in the embodiment of the present invention. For example, three-dimensional spatial data of each functional area in the target house may be generated based on at least one of 2D house type data such as a 2D house type diagram and a hand-drawn house type diagram of the target house, 3D house type data in a VR house and the like, or may also be constructed by 3D modeling software such as a blender; and so on. And then constructing the obtained three-dimensional house space based on the three-dimensional space data, further performing house decoration on the three-dimensional space of each functional area, determining decoration data of each functional area, and the like.
And the three-dimensional space data at least comprises marker data and observation point data, and the decoration data comprises at least one of hard decoration data and soft decoration data. The soft-ware data may include furniture layout data, and the furniture layout data may include at least one furniture model object and position information of the furniture model object.
When the three-dimensional space data may be a three-dimensional room space of the target room constructed based on 3D modeling software, the three-dimensional space data may include all three-dimensional space data corresponding to the three-dimensional space of each functional area, for example, the three-dimensional space data may include at least, but is not limited to, marker data of markers related to the three-dimensional space of the functional area, such as walls, doors, windows, ceilings, and data of observation points (i.e., roaming points, camera point locations, etc.), and the like. Hardbanding data may include any data related to the hardbanding of a house, such as wall finishing data, door finishing data, floor finishing data, ceiling finishing data, and the like. The soft-fit data may then include any data related to the house soft-fit, such as furniture layout data. The furniture layout data may include layout data related to movable interior decoration such as furniture, home appliances, curtain cloth, green plants, and the like. Furthermore, at least one furniture model object and position information corresponding to each furniture model object can be included in the furniture layout data. The furniture model object may be any of the above-described interior decoration model objects. In addition, in the embodiment of the present invention, the model object corresponding to the designated identifier and the model object corresponding to the designated decoration assembly may be obtained in any available manner, which is not limited in the embodiment of the present invention.
For example, when an online house model is constructed, spatial attributes such as position information and size information of each designated marker included in the online house model can be confirmed according to the three-dimensional spatial data, and then a model object of the corresponding marker is placed at a corresponding position according to the spatial attributes, so that the online house model is constructed; accordingly, the spatial attributes such as the position information of each specified decoration component contained in the online decoration result can be confirmed according to the decoration data, and then the model object of the corresponding specified decoration component is placed at the corresponding position according to the spatial attributes.
As described above, the three-dimensional house decoration data may include data that can be used for online display, such as wall data, door data, window data, orientation information, roaming point data (i.e., camera point data/hotspot data/observation point data), furniture layout data, and the like of each functional area in a target house, and may further include other data that is irrelevant to online display, such as a cover picture, map data of each functional area, default roaming point data, and the like. In addition, in order to facilitate the user to perform self-defined adjustment on the display content according to the self-requirements in scenes such as VR, AR, panorama and the like, the three-dimensional house decoration data can be converted into an editable online house model and/or an online decoration result, so that online rendering display and editing can be performed in a browser.
Specifically, for example, in a VR decoration scenario, three-dimensional spatial data of each functional area in a target house can be constructed in any available 3D modeling software, and after the construction of the three-dimensional spatial data is completed, the three-dimensional spatial data of each functional area in the target house needs to be converted into an editable online house model of an online design (i.e., online decoration).
Accordingly, for example, in a VR decoration scenario, if the three-dimensional house decoration data includes the decoration data, house hardwear is completed in any available 3D modeling software, and/or house softwear such as furniture placement is completed according to a furniture layout scheme, etc., the decoration data can be converted into target decoration data of online design, that is, according to the decoration data, an editable online decoration result is rendered in the online house model for online house decoration and real-time editing at a browser end.
The online house model comprises a model object corresponding to the appointed marker, the online decoration result comprises a model object corresponding to the appointed decoration component, and the target decoration data comprises preset editable decoration component model data. The designated identifier and the designated decoration component may be set by self-definition according to a specific requirement or a specific application scenario when the browser performs online processing, and the embodiment of the present invention is not limited thereto.
For example, the designated decoration components can be set to include target hard-mounted components such as door and window types in the functional area, materials of wall surface, floor and ceiling, target soft-mounted components such as furniture, household appliances, curtains and greens, and the like; the designated markers can be set to include walls (wall position, wall height, wall width, wall thickness, etc.), doors and windows (door and window position, door and window height, door and window width, etc.), and the like. In addition, roaming point data of each functional area may also be used in the online house model, and the embodiment of the present invention is not limited thereto.
In addition, in practical application, a house may be a combination of a plurality of functional areas, and the division manner of the functional areas included in the target house may also be set by self-definition according to requirements, for example, the functional areas may be divided according to the functions of each area in the target house, so that the divided functional areas may include bedrooms, living rooms, restaurants, toilets, hallways, galleries, kitchens, balconies, and the like; alternatively, the functional area included in the target house may be divided according to a rectangular area included in the recognition target house, or the like.
Moreover, in practical applications, the space plans inside different houses may be different, and the connection modes between different spaces may also be different, for example, a wall exists between some spaces (bedrooms and living rooms) and is connected through a door, and an open wall exists between some spaces (living rooms and dining rooms) (i.e., a solid wall does not exist and is connected through an open space). For two spaces which are separated by a wall and connected by a door at the same time, the two spaces can be identified as two functional areas through the wall, and for two spaces between which no wall exists, the functional areas contained in the two spaces can be identified in any available mode such as rectangular areas, and the like, and the embodiment of the invention is not limited.
For example, in the case of a living room space and a restaurant space connected by an open space, they may be divided into two functional areas, i.e., a living room and a restaurant, by identifying a rectangular area, or the like, or may be directly identified as a whole as one functional area, or the like.
Referring to fig. 2, in the embodiment of the present invention, the step 120 may further include:
step 121, analyzing the three-dimensional space data of the functional area for each functional area in the target house, and extracting the first target data of the functional area from the analyzed three-dimensional space data.
Step 122, establishing an editable online house model in a browser of a preset terminal according to the first target data; wherein the first target data includes at least one of interior and exterior wall data, door data, window data, roaming point data, ceiling data, and attribute data of the functional area.
In the embodiment of the present invention, when data conversion is performed, only three-dimensional space data of at least one functional area in a target house may be converted, and a specific functional area that needs to be subjected to data conversion may be set by a user according to a requirement, or certainly, three-dimensional space data of each functional area included in the target house may be converted by default, which is not limited in the embodiment of the present invention.
Specifically, for each functional area in the target house, three-dimensional space data of the functional area may be parsed, and first target data of the functional area may be extracted from the parsed three-dimensional space data; furthermore, an editable online house model can be constructed in a browser of a preset terminal according to the first target data. Wherein the first target data includes at least one of interior and exterior wall data, door data, window data, roaming point data, ceiling data, and attribute data of the functional area.
In the embodiment of the present invention, the three-dimensional spatial data may be parsed in any available manner, and the first target data in the three-dimensional spatial data may be extracted, which is not limited in this embodiment of the present invention.
For example, the three-dimensional spatial data of each functional area may be traversed, and the first target data, such as wall data, door data, window data, roaming point data, and ceiling data, of each functional area may be processed.
The three-dimensional space data of each functional area is assumed to be a data packet named from, and different processing functions can be defined according to different data dimensions to extract first target data under different data dimensions, so that the data packet of each functional area can be processed by calling different processing functions to obtain first target data corresponding to the corresponding functional area, and the obtained first target data of each functional area can be stored in a specified data packet, so that a subsequent browser can call to generate an online house model.
For example, functions for acquiring interior and exterior wall (walls) data, door (doors) data, window (windows) data, waypoint (hotspots) data, ceiling (ceiling) data, and attribute data (room _ info) of the functional region may be set and defined as get _ wall _ from _ data (), get _ door _ from _ data (), get _ window _ from _ data (), get _ hotspots _ from _ data (), get _ ceiling _ from _ data (), get _ doors _ data (), get _ rooms _ info _ from _ data (), and get _ room _ data (). Then, in order to obtain the internal and external wall data of any functional area at this time, the three-dimensional space data of the corresponding functional area may be parsed by get _ wall _ from _ data (from) and the internal and external wall data may be read therefrom, and so on.
In addition, in practical application, in order to ensure that the online house model constructed by the processed first target data is editable, the data format of part of the data in the first target data for constructing the online house model may be different from the data format of the corresponding data in the three-dimensional space data, so that when the first target data is extracted, the format of the data directly extracted can be correspondingly adjusted to meet the format requirement for constructing the online house model, and the first target data is constructed by the format-adjusted data.
For example, for the wall data, the wall data may be a whole in the three-dimensional space data, which includes information of wall height, wall width, wall thickness, wall position, etc., but in the target house data, the wall in the editable online house model obtained for the subsequent construction may be edited, for example, data of wall thickness, wall height, etc. is adjusted, so that it may be processed as internal and external wall data, which includes internal wall data and external wall data, etc.
Of course, in the embodiment of the present invention, the first target data may be extracted and processed at the same time, and then the online house model may be constructed based on the processed first target data, or the first target data may be processed after the first target data is extracted and when the online house model is constructed based on the first target data, which is not limited in the embodiment of the present invention.
Further, an editable online house model can be constructed in a browser of a preset terminal according to the first target data.
Optionally, in an embodiment, in order to facilitate the subsequent generation of the online house model of the target house at any time, for each functional area, a data packet for constructing the online house model corresponding to the functional area may be generated based on the first target data of the functional area; further, a data packet for constructing an online house model of the target house may be constructed based on the data packet corresponding to each of the functional areas. For example, for any functional area, the first target data in each data dimension obtained by extraction may be converted into a specified data packet (e.g., an online _ percentage _ room data packet) of the corresponding functional area, and then the specified data packet of each functional area may be converted into a specified data packet (e.g., an online _ percentage _ data packet) of the target house, so that the obtained data is the data used for building the online house model of the target house.
For example, for the data dimension described above, in order to construct online _ percentage _ room = { }, the first target data of any functional area may be processed in the following manner, so as to generate a data packet for constructing the online house model corresponding to the functional area.
online_decorate_room['walls']=walls
online_decorate_room['doors']=doors
online_decorate_room['windows']=windows
online_decorate_room['hotspots']=hotspots
online_decorate_room['ceilings']=ceilings
The specified data packet of the target house can be generated by the following functions:
online_decorate_data.append(online_decorate_room)
the online _ percentage _ data.applied function may be understood as a function for storing the online _ percentage _ room data packet into the online _ percentage _ data packet.
It should be noted that the inside and outside wall data may include any data related to the inside and outside walls of the wall body, such as the inside and outside wall coordinates, the inside and outside wall dimensions, the inside and outside wall positions, the functional areas where the inside and outside walls are connected, and the like of each wall body; door data may also include any data related to the door, such as the coordinates, size, location, orientation, connected functional area, etc. of each door; the window data may also include any data related to the windows, such as coordinates, dimensions, position, orientation, connected functional areas, etc. of each window; the roaming point data may also include any data related to the roaming point, such as position coordinates of the roaming point, height data from the ground, and the like, and the ceiling data may also include any data related to the ceiling, such as coordinates, size, position, shape, connected functional area, and the like of each ceiling; the attribute data of the functional area may also include any data related to the attribute of the functional area, such as the type of the functional area, position information of the functional area, shape information, entrance door information, orientation information of the functional area, and the like.
In addition, in practical application, when three-dimensional space data is constructed, the three-dimensional space data is generally constructed based on house type data or panoramic data, and the wall height data of different functional areas in the same house can be different. However, when constructing the online house model of the target house, in order to improve the subsequent exhibition effect at the browser end, any data having special requirements, such as the above-mentioned wall height data, may be subjected to corresponding special processing, for example, a specified height (for example, 2.8 m) is uniformly set for the wall height data in the first target data of each functional area, and so on.
An example of a transformed pseudo code for building an online house model is shown below,
Figure BDA0002580092280000131
Figure BDA0002580092280000141
referring to fig. 2, in an embodiment of the present invention, the step 130 may further include:
131, analyzing decoration data of the functional areas aiming at each functional area in the target house, and extracting second target data of the functional areas from the analyzed decoration data;
step 132, rendering an editable online decoration result in the online house model according to the second target data; the second target data comprises at least one of target hardpack data and target softpack data, the target softpack data comprises furniture layout data, and the furniture layout data comprises at least one furniture model object and position information corresponding to the furniture model object; the target hardcover data comprises at least one of door and window layout data, ceiling layout data and material data of a target surface, and the target surface comprises at least one of a ceiling surface, a wall surface, a floor surface, a skirting line surface and a passerby surface.
If the decoration data are contained in the three-dimensional house decoration data, the decoration data of the functional areas can be analyzed for each functional area in the target house, the second target data of the functional areas are extracted from the analyzed decoration data, and editable online decoration results are rendered in the online house model according to the second target data. The analysis process of the decoration data and the extraction process of the second target data are similar to the analysis process of the three-dimensional space data and the extraction process of the first target data, and the above contents may be specifically referred to and are not repeated herein.
Optionally, in an embodiment, for each functional area, a data packet corresponding to the functional area and used for rendering an online decoration result may also be generated based on second target data of the functional area; and then, constructing a data packet which corresponds to the target house and is used for rendering an online decoration result based on the data packet of each functional area. The data packet at this time is different from the data packet in the target house data construction process, and may be a corresponding data packet, which is not limited in the embodiment of the present invention.
For example, the decoration data of each corresponding functional area may be traversed, and second target data such as door and window placement data, ceiling placement data, furniture placement data, ceiling surface material data, floor surface material data, and the like of each functional area may be obtained through processing.
Assuming that decoration data of any functional area is located in a data packet named from, and different processing functions can be defined according to different data dimensions in the process of analyzing the decoration data and extracting second target data, the data packet of each functional area can be processed by calling different processing functions to obtain the second target data corresponding to the corresponding functional area, and the obtained second target data of each functional area can be stored in a specified data packet so as to be called by a subsequent browser.
For example, functions for acquiring door (doors) layout data, window (windows) layout data, and furniture (furniture) layout data may be set and defined as get _ door _ from _ data (), get _ window _ from _ data (), get _ furniture _ from _ data (), and get _ ceiling _ from _ data (), respectively. Then, in order to obtain the furniture layout data of any functional area at this time, the decoration data of the corresponding functional area can be parsed by get _ furniture _ from _ data (room) and the furniture layout data can be read therefrom, and so on.
Further, editable online decoration results may be rendered in the online house model according to the second target data. Specifically, for each functional area, an online decoration result of the functional area may be generated based on the second target data of the functional area, so as to obtain an online decoration result of the target house. For example, for any functional area, the extracted second target data in each data dimension may be converted into a specified data packet (e.g., an online _ percentage _ furniture data packet) of the corresponding functional area, and then the specified data packet of each functional area may be converted into a specified data packet (e.g., an online _ percentage _ furniture _ data packet) of the target house, and the obtained data is the data for generating the online decoration effect of the target house.
For example, for each data dimension under the second target data, in order to construct online _ percentage _ funitures = { }, the second target data of any functional area may be processed in the following manner, so as to generate a specific data packet of the corresponding functional area.
online_decorate_funitures['doors']=doors
online_decorate_funitures['windows']=windows
online_decorate_funitures['funitures']=funitures
online_decorate_funitures['ceilings']=ceilings
The specified data packet of the target house can be generated by the following functions:
online_decorate_funiture_data.append(online_decorate_funitures)
the "online _ percentage _ future _ data _ allowed () function may be understood as a function for storing the online _ percentage _ future packet into the online _ percentage _ future _ data packet.
An example of pseudo code for rendering an on-line finishing effect of a target house after processing is shown below,
Figure BDA0002580092280000161
Figure BDA0002580092280000171
Figure BDA0002580092280000181
it should be noted that the above code example is only a structured example, and for the sake of brevity, some code details that are included or referred to in the actual code operation process are not shown.
Optionally, in an embodiment of the present invention, the step 122 further includes:
step 1221, generating target house data for constructing the online house model based on the first target data and the specified format of each first target data, and outputting the target house data to the preset terminal;
step 1222, in response to a viewing instruction triggered by the browser, building an editable online house model in the browser according to the target house data and displaying the editable online house model;
optionally, in an embodiment of the present invention, the step 132 further includes:
step 1321, generating target decoration data for rendering the online decoration result based on second target data and a designated format of each second target data, and outputting the target decoration data to the preset terminal;
and step 1322, rendering an editable online decoration result in the online house model according to the target decoration data.
In practical applications, the data formats of the data for generating the editable on-line house model and the data for generating the on-line finishing result may differ with respect to the data formats of the corresponding data in the original three-dimensional house finishing data. Therefore, in the embodiment of the present invention, in order to avoid that the data format abnormality affects the display effect of the online editable page, before the editable online house model is constructed, based on the first target data and the specified format of each first target data, format conversion may be performed on the first target data according to the specified format of the first target data, so as to generate target house data for constructing the online house model, and output the target house data to the preset terminal; then, at the preset terminal, if a viewing instruction triggered by the browser is received, an editable online house model can be built in the browser according to the target house data and displayed.
The designated format of the first target data under different data dimensions can be set by user according to requirements, and the embodiment of the invention is not limited. For example, the designated format of the wall data may be set to two parts of the inner wall structure and the outer wall structure, and the contents and data format specifically contained in the inner wall structure and the outer wall structure may be set at the same time, and so on.
Correspondingly, target decoration data used for rendering the online decoration result can be generated based on second target data and the specified format of each second target data, and the target decoration data is output to the preset terminal; and further rendering an editable online decoration result in the online house model according to the target decoration data.
The designated format of the second target data under different data dimensions can also be set by self-definition according to requirements, and the embodiment of the invention is not limited. For example, the specified format of the furniture model object may be set to be split into a plurality of structural bodies, and the content and data format specifically included in each structural body may be set, and so on.
After the target house data and the target decoration data of the target house are generated, the target house data and the target decoration data can be output to corresponding preset terminals. And in response to a viewing instruction triggered by the browser, constructing and displaying an editable online house model in the browser according to the target house data, and rendering an editable online decoration result in the online house model according to the target decoration data, thereby realizing online display of house decoration effects at a browser (for example, a web) end, where the displayed content can be edited and adjusted, for example, editing operations such as deletion, replacement, adjustment, addition and the like can be performed on a furniture model object therein, or editing and adjusting can be performed on hardcover data therein, and the like. In addition, the performance of free roaming when VR, AR or panorama display is carried out at the browser end is not influenced at this time.
Optionally, in the embodiment of the present invention, the method may further include:
step 140, in response to receiving an editing operation for the online house model and/or the online decoration result, adjusting the three-dimensional house decoration data according to the editing operation.
And 150, generating VR panoramic data of the target house according to the adjusted three-dimensional house decoration data and updating display contents in a VR display page of the target house.
As described above, in practical applications, the online house model can be displayed on a browser side and an online decoration result can be rendered, so as to obtain an editable decoration display page for a target house. Moreover, the user can trigger the editing operation aiming at the online house model and/or the online decoration result in the editable decoration display page of the browser according to the requirement. For example, adjusting the position, size, etc. of a part of the furniture model object, or replacing, deleting, adding a new furniture model object, etc., or adjusting a part of the hard package, or adjusting the marker therein (for example, adjusting the wall thickness, window size, etc.), etc.
Moreover, while the display content in the browser is adjusted, the data corresponding to the editing operation may be updated in reverse accordingly, that is, the target house data and/or the target decoration data used for constructing the display content in the editable decoration display page are adjusted. The specific adjustment content corresponds to an editing operation, for example, the editing operation is to adjust the orientation of the furniture model object a therein, so that the orientation data of the furniture model object a in the target decoration data can be correspondingly adjusted to keep synchronization with the browser-side display content.
In addition, in practical application, an uneditable three-dimensional house space can be generated in 3D modeling software based on the three-dimensional house decoration data of the target house, an uneditable decoration result can be rendered, and then a VR panorama and the like of each functional area can be rendered in application scenes such as a VR house-watching scene. Moreover, in the case that the user triggers an editing operation in the browser to adjust the target house data and/or the target decoration data, in order to render the house decoration result again accordingly to display the desired effect edited by the user, the VR panorama data of the target house may be further generated according to the adjusted three-dimensional house decoration data and the display content in the VR display page of the target house may be updated. For example, the three-dimensional house space can be reconstructed from the adjusted three-dimensional space data, and then operations such as house hardwearing and house soft-wearing can be performed on the currently constructed three-dimensional house space again based on the adjusted decoration data, so that the current VR panorama data is obtained through rendering and the display content in the VR display page is updated. Compared with the editable online house model and the editable online house decoration result, the three-dimensional house decoration data has more contents and different formats, so that a more real and comprehensive VR simulation effect can be rendered based on the 3D modeling software.
In the embodiment of the invention, in scenes such as VR decoration, after a house is built in 3D modeling software, three-dimensional space data of each functional area in the house can be converted into an editable online house model. And/or after house decoration such as furniture placement and the like is completed in 3D modeling software and the like according to a furniture layout scheme, decoration data can be converted into editable online decoration results, so that custom editing can be performed on currently displayed house models and decoration results according to requirements at a browser end, different house models and decoration results can be simulated flexibly and in real time, and the operation flexibility in the house and decoration effect display process is effectively improved.
Moreover, the online house model or the online decoration result can be edited in real time in an online editing mode, and the edited effect is displayed in real time in a page. Therefore, the situation that the three-dimensional house space needs to be reconstructed each time when the editing requirement exists in the VR house watching scene can be avoided, the processes of house hard mounting, house soft mounting and the like are executed again based on the three-dimensional house space obtained through construction, the process of rendering the VR display page again can effectively improve the editing efficiency of house or decoration data, and different house decoration schemes can be simulated rapidly in a short time.
Referring to fig. 3, a schematic structural diagram of a house decoration data processing apparatus according to an embodiment of the present invention is shown.
The house decoration data processing device comprises: a three-dimensional modeling data acquisition module 210, and a house data processing module 220, and/or a decoration data processing module 230.
The functions of the modules and the interaction relationship between the modules are described in detail below.
The three-dimensional modeling data acquisition module 210 is configured to acquire three-dimensional house decoration data of a target house, where the three-dimensional house decoration data includes at least one of three-dimensional space data and decoration data of each functional area in the target house, the three-dimensional space data at least includes marker data and observation point data, and the decoration data includes at least one of hard decoration data and soft decoration data; and the number of the first and second groups,
the house data processing module 220 is configured to construct an editable online house model in a browser of a preset terminal according to the three-dimensional space data, where the online house model includes a model object corresponding to the designated identifier; and/or the presence of a gas in the atmosphere,
and the decoration data processing module 230 is configured to render an editable online decoration result in the online house model according to the decoration data, where the online decoration result includes a model object corresponding to the specified decoration component.
Referring to fig. 4, in an embodiment, the house data processing module 220 further includes:
the first data extraction sub-module 221 is configured to, for each functional area in the target house, analyze three-dimensional spatial data of the functional area, and extract first target data of the functional area from the analyzed three-dimensional spatial data;
an online house model building sub-module 222, configured to build an editable online house model in a browser of a preset terminal according to the first target data; wherein the first target data includes at least one of interior and exterior wall data, door data, window data, roaming point data, ceiling data, and attribute data of the functional area.
Optionally, in an embodiment, the online house model building sub-module 222 is specifically configured to:
generating target house data for constructing the online house model based on the first target data and the specified format of each first target data, and outputting the target house data to the preset terminal;
and responding to a viewing instruction triggered by a browser, and constructing and displaying an editable online house model in the browser according to the target house data.
Referring to fig. 4, in an embodiment, the decoration data processing module 230 may further include:
the second data extraction submodule 231 is configured to, for each functional area in the target house, analyze decoration data of the functional area, and extract second target data of the functional area from the analyzed decoration data;
an online decoration result rendering submodule 232, configured to render an editable online decoration result in the online house model according to the second target data; the second target data comprises at least one of target hardpack data and target softpack data, the target softpack data comprises furniture layout data, and the furniture layout data comprises at least one furniture model object and position information corresponding to the furniture model object; the target hard mounting data comprises at least one of door and window layout data, suspended ceiling layout data and material data of a target surface, and the target surface comprises at least one of a ceiling surface, a wall surface, a floor surface, a skirting line surface and a threshold stone surface.
Optionally, in an embodiment, the online decoration result rendering sub-module 232 is specifically configured to:
generating target decoration data for rendering the online decoration result based on second target data and the specified format of each second target data, and outputting the target decoration data to the preset terminal;
and rendering an editable online decoration result in the online house model according to the target decoration data.
Optionally, in an embodiment, the apparatus may further include:
the first data updating module is used for responding to the received editing operation aiming at the online house model and/or the online decoration result and adjusting the three-dimensional house decoration data according to the editing operation;
and the second data updating module is used for generating VR panoramic data of the target house and updating display content in a VR display page of the target house according to the adjusted three-dimensional house decoration data.
The house decoration data processing device provided by the embodiment of the invention can realize each process realized in the method embodiments of fig. 1 to fig. 2, and is not described again to avoid repetition.
Preferably, an embodiment of the present invention further provides an electronic device, including: the processor, the memory, and the computer program stored in the memory and capable of running on the processor, when being executed by the processor, implement each process of the above-mentioned house decoration data processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The embodiment of the invention further provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when being executed by a processor, the computer program realizes each process of the house decoration data processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
Fig. 5 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention.
The electronic device 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 5 does not constitute a limitation of electronic devices, which may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 may be used for receiving and sending signals during a process of sending and receiving information or a call, and specifically, receives downlink data from a base station and then processes the downlink data to the processor 510; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 501 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 502, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the electronic apparatus 500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used to receive an audio or video signal. The input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 506. The image frames processed by the graphic processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. The microphone 5042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 501 in case of the phone call mode.
The electronic device 500 also includes at least one sensor 505, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 5061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 5061 and/or a backlight when the electronic device 500 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 505 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 506 is used to display information input by the user or information provided to the user. The Display unit 506 may include a Display panel 5061, and the Display panel 5061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 507 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen, can collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 5071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 5071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 510, receives a command from the processor 510, and executes the command. In addition, the touch panel 5071 may be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 5071 may be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Although in fig. 5, the touch panel 5071 and the display panel 5061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the electronic device, and is not limited herein.
The interface unit 508 is an interface for connecting an external device to the electronic apparatus 500. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 508 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic apparatus 500 or may be used to transmit data between the electronic apparatus 500 and external devices.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 509 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 510 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 509 and calling data stored in the memory 509, thereby performing overall monitoring of the electronic device. Processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The electronic device 500 may further include a power supply 511 (e.g., a battery) for supplying power to various components, and preferably, the power supply 511 may be logically connected to the processor 510 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system.
In addition, the electronic device 500 includes some functional modules that are not shown, and are not described in detail here.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the particular illustrative embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, but is intended to cover various modifications, equivalent arrangements, and equivalents thereof, which may be made by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one type of logical functional division, and other divisions may be realized in practice, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions may be stored in a computer-readable storage medium if they are implemented in the form of software functional units and sold or used as separate products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (12)

1. A house decoration data processing method is characterized by comprising the following steps:
acquiring three-dimensional house decoration data of a target house, wherein the three-dimensional house decoration data is constructed by 3D modeling software, the three-dimensional house decoration data comprises three-dimensional space data and decoration data of each functional area in the target house, the three-dimensional space data at least comprises marker data and observation point data, and the decoration data comprises at least one of hard decoration data and soft decoration data;
according to first target data in the three-dimensional space data, an editable online house model is built in a browser of a preset terminal, and the online house model comprises a model object corresponding to the designated marker;
rendering an editable online decoration result in the online house model according to second target data in the decoration data to obtain an editable decoration display page for a target house, wherein the online decoration result comprises a model object corresponding to a specified decoration component;
generating an uneditable three-dimensional house space in 3D modeling software based on the three-dimensional house decoration data of the target house and rendering an uneditable decoration result so as to render the VR panorama of each functional area and obtain a VR display page of the target house;
responding to the editing operation aiming at the online house model and/or the online decoration result in an editable decoration display page, and adjusting the three-dimensional house decoration data according to the editing operation;
and generating VR panoramic data of the target house and updating display content in a VR display page of the target house according to the adjusted three-dimensional house decoration data.
2. The method according to claim 1, wherein the step of constructing an editable online house model in a browser of a preset terminal according to the first target data in the three-dimensional space data comprises:
analyzing the three-dimensional space data of the functional area aiming at each functional area in the target house, and extracting first target data of the functional area from the analyzed three-dimensional space data;
according to the first target data, an editable online house model is built in a browser of a preset terminal;
the first target data comprises at least one of internal and external wall data, door data, window data, roaming point data, ceiling data and attribute data of the functional area.
3. The method of claim 1, wherein the step of rendering an editable online decoration result in the online house model based on second target data in the decoration data comprises:
analyzing decoration data of the functional areas aiming at each functional area in the target house, and extracting second target data of the functional areas from the analyzed decoration data;
rendering an editable online decoration result in the online house model according to the second target data;
the second target data comprises at least one of target hardpack data and target softpack data, the target softpack data comprises furniture layout data, and the furniture layout data comprises at least one furniture model object and position information corresponding to the furniture model object; the target hardcover data comprises at least one of door and window layout data, ceiling layout data and material data of a target surface, and the target surface comprises at least one of a ceiling surface, a wall surface, a floor surface, a skirting line surface and a passerby surface.
4. The method according to claim 2, wherein the step of constructing an editable online house model in a browser of a preset terminal according to the first target data comprises:
generating target house data for constructing the online house model based on the first target data and the specified format of each first target data, and outputting the target house data to the preset terminal;
and in response to a viewing instruction triggered by a browser, constructing and displaying an editable online house model in the browser according to the target house data.
5. The method of claim 3, wherein the step of rendering an editable online finishing result in the online house model based on the second target data comprises:
generating target decoration data for rendering the online decoration result based on second target data and the specified format of each second target data, and outputting the target decoration data to the preset terminal;
and rendering an editable online decoration result in the online house model according to the target decoration data.
6. A house-finishing-data processing apparatus, comprising:
the system comprises a three-dimensional modeling data acquisition module, a three-dimensional modeling data acquisition module and a three-dimensional display module, wherein the three-dimensional modeling data acquisition module is used for acquiring three-dimensional house decoration data of a target house, the three-dimensional house decoration data is constructed by 3D modeling software, the three-dimensional house decoration data comprises three-dimensional space data and decoration data of each functional area in the target house, the three-dimensional space data at least comprises marker data and observation point data, and the decoration data comprises at least one of hard decoration data and soft decoration data; and the number of the first and second groups,
the house data processing module is used for constructing an editable online house model in a browser of a preset terminal according to first target data in the three-dimensional space data, and the online house model comprises a model object corresponding to the designated marker;
the decoration data processing module is used for rendering editable online decoration results in the online house model according to second target data in the decoration data to obtain an editable decoration display page aiming at a target house, and the online decoration results comprise model objects corresponding to the appointed decoration components;
wherein, still include: generating an uneditable three-dimensional house space in 3D modeling software based on the three-dimensional house decoration data of the target house and rendering an uneditable decoration result to render a VR panorama of each functional area to obtain a VR display page of the target house;
the device further comprises: the first data updating module is used for responding to the editing operation aiming at the online house model and/or the online decoration result in the editable decoration display page and adjusting the three-dimensional house decoration data according to the editing operation;
and the second data updating module is used for generating VR panoramic data of the target house and updating display content in a VR display page of the target house according to the adjusted three-dimensional house decoration data.
7. The apparatus of claim 6, wherein the premises data processing module comprises:
the first data extraction submodule is used for analyzing the three-dimensional space data of the functional area aiming at each functional area in the target house and extracting first target data of the functional area from the analyzed three-dimensional space data;
the online house model building submodule is used for building an editable online house model in a browser of a preset terminal according to the first target data;
wherein the first target data includes at least one of interior and exterior wall data, door data, window data, roaming point data, ceiling data, and attribute data of the functional area.
8. The apparatus of claim 6, wherein the finishing data processing module comprises:
the second data extraction submodule is used for analyzing decoration data of the functional areas aiming at each functional area in the target house and extracting second target data of the functional areas from the analyzed decoration data;
the online decoration result rendering submodule is used for rendering an editable online decoration result in the online house model according to the second target data;
the second target data comprises at least one of target hardpack data and target softpack data, the target softpack data comprises furniture layout data, and the furniture layout data comprises at least one furniture model object and position information corresponding to the furniture model object; the target hardcover data comprises at least one of door and window layout data, ceiling layout data and material data of a target surface, and the target surface comprises at least one of a ceiling surface, a wall surface, a floor surface, a skirting line surface and a passerby surface.
9. The apparatus of claim 6, wherein the online house model building submodule is configured to:
generating target house data for constructing the online house model based on the first target data and the specified format of each first target data, and outputting the target house data to the preset terminal;
and responding to a viewing instruction triggered by a browser, and constructing and displaying an editable online house model in the browser according to the target house data.
10. The apparatus of claim 7, wherein the online decoration result rendering sub-module is specifically configured to:
generating target decoration data for rendering the online decoration result based on second target data and the specified format of each second target data, and outputting the target decoration data to the preset terminal;
and rendering an editable online decoration result in the online house model according to the target decoration data.
11. An electronic device, comprising: memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the method of processing house fitment data as claimed in any of claims 1 to 5.
12. A computer-readable storage medium, characterized in that a computer program is stored thereon, which, when being executed by a processor, realizes the steps of the house finishing data processing method according to any one of claims 1 to 5.
CN202010665222.0A 2020-07-10 2020-07-10 House decoration data processing method and device, electronic equipment and storage medium Active CN111951374B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010665222.0A CN111951374B (en) 2020-07-10 2020-07-10 House decoration data processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010665222.0A CN111951374B (en) 2020-07-10 2020-07-10 House decoration data processing method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111951374A CN111951374A (en) 2020-11-17
CN111951374B true CN111951374B (en) 2023-01-24

Family

ID=73340405

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010665222.0A Active CN111951374B (en) 2020-07-10 2020-07-10 House decoration data processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111951374B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112784342A (en) * 2021-01-29 2021-05-11 广联达科技股份有限公司 Online editing method and device for three-dimensional model of building component
CN113593005A (en) * 2021-06-10 2021-11-02 瑞祥集团(河北)科技材料有限公司 Customized decoration management method and system combining three-dimensional model
CN113704855A (en) * 2021-08-31 2021-11-26 杭州群核信息技术有限公司 Application method and device of model material attribute, electronic equipment and medium
CN114168022A (en) * 2021-11-04 2022-03-11 厦门知本家科技有限公司 Vibration feedback system and method for editing house type structure model
CN114462117A (en) * 2021-12-29 2022-05-10 北京五八信息技术有限公司 House decoration processing method and device, electronic equipment and storage medium
CN114791964B (en) * 2022-03-24 2023-05-09 北京城市网邻信息技术有限公司 House decoration video processing method and device, electronic equipment and storage medium
CN114463104B (en) * 2022-04-12 2022-07-26 贝壳技术有限公司 Method, apparatus, and computer-readable storage medium for processing VR scene

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104778756B (en) * 2015-04-10 2017-11-21 北京明兰网络科技有限公司 Smart home Art Design system
CN105931098A (en) * 2016-04-18 2016-09-07 厦门汇利伟业科技有限公司 Method and system for online sales of houses based on virtual reality technology
CN111125807A (en) * 2019-11-06 2020-05-08 贝壳技术有限公司 Decoration three-dimensional model rendering display method and system
CN111145352A (en) * 2019-12-20 2020-05-12 北京乐新创展科技有限公司 House live-action picture display method and device, terminal equipment and storage medium
CN111369664A (en) * 2020-02-10 2020-07-03 北京城市网邻信息技术有限公司 Method, device, equipment and storage medium for displaying house type scene

Also Published As

Publication number Publication date
CN111951374A (en) 2020-11-17

Similar Documents

Publication Publication Date Title
CN111951374B (en) House decoration data processing method and device, electronic equipment and storage medium
CN111968247B (en) Method and device for constructing three-dimensional house space, electronic equipment and storage medium
CN109597481B (en) AR virtual character drawing method and device, mobile terminal and storage medium
CN111417028B (en) Information processing method, information processing device, storage medium and electronic equipment
CN111145352A (en) House live-action picture display method and device, terminal equipment and storage medium
CN112068752B (en) Space display method and device, electronic equipment and storage medium
CN109215007B (en) Image generation method and terminal equipment
CN109409244B (en) Output method of object placement scheme and mobile terminal
CN113170058B (en) Electronic apparatus and control method thereof
JPWO2019069575A1 (en) Information processing equipment, information processing methods and programs
CN110087149A (en) A kind of video image sharing method, device and mobile terminal
CN112435069A (en) Advertisement putting method and device, electronic equipment and storage medium
CN113485626A (en) Intelligent display device, mobile terminal and display control method
CN116027895A (en) Virtual content interaction method, device, equipment and storage medium
CN110717964A (en) Scene modeling method, terminal and readable storage medium
CN109472825B (en) Object searching method and terminal equipment
CN113963108A (en) Medical image cooperation method and device based on mixed reality and electronic equipment
CN111882650A (en) Spatial light processing method and device, electronic equipment and storage medium
CN111163264B (en) Information display method and electronic equipment
CN111093033B (en) Information processing method and device
CN112232898A (en) Space display method and device, electronic equipment and storage medium
CN109857299A (en) A kind of display methods and terminal
CN115731349A (en) Method and device for displaying house type graph, electronic equipment and storage medium
CN115729393A (en) Prompting method and device in information processing process, electronic equipment and storage medium
CN111882651B (en) Spatial light processing method and device, electronic equipment and storage medium

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