CN112687003A - Building model unitization method and device - Google Patents

Building model unitization method and device Download PDF

Info

Publication number
CN112687003A
CN112687003A CN202011597830.9A CN202011597830A CN112687003A CN 112687003 A CN112687003 A CN 112687003A CN 202011597830 A CN202011597830 A CN 202011597830A CN 112687003 A CN112687003 A CN 112687003A
Authority
CN
China
Prior art keywords
room
cuboid
rooms
user
dimensional model
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011597830.9A
Other languages
Chinese (zh)
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.)
Hisense TransTech Co Ltd
Original Assignee
Hisense TransTech 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 Hisense TransTech Co Ltd filed Critical Hisense TransTech Co Ltd
Priority to CN202011597830.9A priority Critical patent/CN112687003A/en
Publication of CN112687003A publication Critical patent/CN112687003A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The application discloses a building model monomer method and device, which are used for generating monomers in a three-dimensional visual scene and performing association binding with family room information. The method comprises the following steps: obtaining a three-dimensional model of a building; picking up the floor elevation and the roof elevation of the unit building to be singulated in the three-dimensional model; determining the plane position of a unit building to be individualized in the three-dimensional model; generating cuboid blocks respectively corresponding to N layers of residential rooms with the same plane position according to the floor elevation and the roof elevation, wherein the layer heights of the N layers of residential rooms are the same, the plane positions of the N layers of residential rooms are the same, and the cuboid block corresponding to each layer of residential room comprises the space position of each layer of residential room in the three-dimensional model; and storing the cuboid block data respectively corresponding to the N layers of the rooms and the room information used for representing the N layers of the rooms in a one-to-one correspondence manner in a room database, wherein the cuboid block data corresponding to each layer of the room is used for describing the cuboid blocks respectively corresponding to each layer of the room.

Description

Building model unitization method and device
Technical Field
The application relates to the technical field of geographic information, in particular to a building model unitization method and device.
Background
With the rapid development of smart cities and smart park construction, a service system which is combined with a three-dimensional visual building model to perform three-dimensional management becomes a mainstream scheme for smart park system platform construction.
At present, when a three-dimensional building model is integrated, professional software is needed, and the single body and the building model are required to keep consistent spatial relation, so that the single body is complicated to manufacture.
Disclosure of Invention
The embodiment of the application provides a building model unitization method and device, which are used for unitizing each room according to a three-dimensional model of a building and associating the room information with room information in a room database.
In a first aspect, an embodiment of the present application provides a building model singulation method, including:
obtaining a three-dimensional model of a building;
picking up the floor elevation and the roof elevation of the unit building to be singulated in the three-dimensional model;
determining the plane position of a unit building to be individualized in the three-dimensional model;
generating cuboid blocks respectively corresponding to N layers of residential rooms with the same plane position according to the floor elevation and the roof elevation, wherein the layer heights of the N layers of residential rooms are the same, the plane positions of the N layers of residential rooms are the same, and the cuboid block corresponding to each layer of residential room comprises the space position of each layer of residential room in the three-dimensional model;
and storing the cuboid block data respectively corresponding to the N layers of the rooms and the room information used for representing the N layers of the rooms in a one-to-one correspondence manner in a room database, wherein the cuboid block data corresponding to each layer of the room is used for describing the cuboid blocks respectively corresponding to each layer of the room.
Based on the scheme, the method and the device operate on a visual three-dimensional model of the building, generate the cuboid block data in a WYSIWYG (what you see is what you get) mode by combining the characteristics of the building, directly associate the cuboid block data with the room information and store the data in the room database, ensure the accuracy of data association and save time.
In one possible implementation, determining a plane position of a unit building to be singulated in the three-dimensional model includes:
responding to the marking operation on a display interface, and acquiring four marking points for describing the plane position;
wherein the display interface displays a three-dimensional model of the building.
Based on the scheme, the plane position of the unit building to be individualized in the three-dimensional model is described by four mark points, and the quadrangle formed by the four mark points can cover the plane position of the unit building, so that the phenomenon that the plane position is incomplete is avoided.
In one possible implementation manner, generating cuboid blocks respectively corresponding to N floors of houses with the same plane position according to the floor elevation and the roof elevation comprises:
acquiring the floor height of the unit building and the floor number of the unit building from the family room database;
and dividing the unit building into N cuboid blocks according to the floor average according to the plane position, the floor elevation, the roof elevation, the floor height and the floor number of the unit building.
Based on the scheme, the cuboid blocks corresponding to the N floors of the house rooms are generated in batches by utilizing the characteristic that the house rooms of different floors have the same plane range, and the efficiency of the three-dimensional model singulation is improved.
In a possible implementation manner, storing cuboid block data respectively corresponding to N layers of rooms and room information used for representing the N layers of rooms in a room database in an associated manner, includes:
responding to the association operation on the display interface, and storing a first user room in the N layers of user rooms and user room information used for representing the first user room in an associated manner in the user room database;
the first user room is any one of the N layers of user rooms, the display interface displays the first cuboid block identifier and the first user room identifier, the first cuboid block identifier is used for identifying a cuboid block of the first user room, the cuboid block data of the first user room comprises the first cuboid block identifier, the first user room identifier is used for identifying the first user room, the user room information of the first user room comprises the first user room identifier, and the association operation is directed at association of the first cuboid block identifier and the first user room identifier.
Based on the scheme, association is performed according to the corresponding relation between the first cuboid block identifier contained in the cuboid block data of the first user room and the first user room identifier contained in the user room information of the first user room, and therefore association accuracy is guaranteed.
In a possible implementation manner, the cuboid block data respectively corresponding to the N layers of the rooms is in a WKT format.
Based on the scheme, the cuboid block data is stored in the WKT format, and the data in the WKT format is convenient to store and transmit.
In one possible implementation, the rectangular block data of the first user room includes one or more of the following:
the first cuboid block identifier, a planar position of the cuboid block of the first room, a bottom height of the cuboid block of the first room, or a top height of the cuboid block of the first room.
Based on the scheme, the data content of the cuboid blocks of the first user room is comprehensive, and the cuboid blocks of the first user room can be better described.
In one possible implementation, the method further includes: responding to a clicking operation on the three-dimensional model on a display interface; and the clicking operation is used for selecting a second room in the unit building, acquiring cuboid block data of the second room in the room database, fitting a cuboid block corresponding to the cuboid block data of the second room to the outer surface contour of the three-dimensional model, cutting to obtain a single block of the second room, and rendering the cut single block to the three-dimensional model.
Based on the scheme, the monomer data in the room database are cut, so that the monomer data can be attached to the outer surface contour of the three-dimensional model, and more visual experience can be brought to a user.
In a second aspect, based on the same inventive concept as that of the first aspect, embodiments of the present application provide a building model singulation apparatus, where the building model singulation apparatus may include any one of the possible implementation manners for implementing the first aspect, and beneficial effects may be seen in the first aspect, and are not described herein again. The building model's monomer ization device includes: an acquisition unit for acquiring a three-dimensional model of a building;
the acquisition unit is also used for picking up the floor elevation and the roof elevation of the unit building to be individualized in the three-dimensional model;
the acquisition unit is further used for determining the plane position of the unit building to be individualized in the three-dimensional model;
the processing unit is used for generating cuboid blocks corresponding to N layers of residential rooms with the same plane position according to the floor elevation and the roof elevation, the layer heights of the N layers of residential rooms are the same, the plane positions of the N layers of residential rooms are the same, and the cuboid blocks corresponding to each layer of residential room comprise the space position of each layer of residential room in the three-dimensional model;
and the association storage unit is also used for storing the cuboid block data respectively corresponding to the N layers of the rooms and the room information used for representing the N layers of the rooms in a one-to-one association manner in a room database, wherein the cuboid block data corresponding to each layer of the room is used for describing the cuboid blocks respectively corresponding to each layer of the room.
In a possible implementation manner, the obtaining unit, when determining a plane position of the unit floor to be singulated, is specifically configured to:
responding to the marking operation on a display interface, and acquiring four marking points for describing the plane position;
wherein the display interface displays a three-dimensional model of the building.
In a possible implementation manner, when generating the cuboid blocks corresponding to the N floors of the home with the same plane position according to the floor elevation and the roof elevation, the processing unit is specifically configured to:
acquiring the floor height of the unit building and the floor number of the unit building from the family room database;
and dividing the unit building into N cuboid blocks according to the floor average according to the plane position, the floor elevation, the roof elevation, the floor height and the floor number of the unit building.
In a possible implementation manner, when storing the cuboid block data respectively corresponding to N layers of user rooms and the user room information used for representing the N layers of user rooms in the user room database in a correlated manner, the correlation storage unit is specifically configured to:
responding to the association operation on the display interface, and storing a first user room in the N layers of user rooms and user room information used for representing the first user room in an associated manner in the user room database;
the first user room is any one of the N layers of user rooms, the display interface displays the first cuboid block identifier and the first user room identifier, the first cuboid block identifier is used for identifying a cuboid block of the first user room, the cuboid block data of the first user room comprises the first cuboid block identifier, the first user room identifier is used for identifying the first user room, the user room information of the first user room comprises the first user room identifier, and the association operation is directed at association of the first cuboid block identifier and the first user room identifier.
In a possible implementation manner, the cuboid block data respectively corresponding to the N layers of the rooms is in a WKT format.
In one possible implementation, the rectangular block data of the first user room includes one or more of the following:
the first cuboid block identifier, a planar position of the cuboid block of the first room, a bottom height of the cuboid block of the first room, or a top height of the cuboid block of the first room.
In a possible implementation manner, the obtaining unit is further configured to respond to a click operation on the three-dimensional model on a display interface; the click operation is used for selecting a second user room in the unit building and acquiring cuboid block data of the second user room in the user room database;
and the processing unit is further used for fitting the cuboid blocks corresponding to the cuboid block data of the second room to the outer surface contour of the three-dimensional model for cutting to obtain the single block of the second room, and rendering the cut single block into the three-dimensional model.
In a third aspect, a terminal device is provided that includes a processor and a memory. The memory is used for storing computer-executable instructions, and the processor executes the computer-executable instructions in the memory to perform the operational steps of the method of the first aspect or any one of the possible implementations of the first aspect by using hardware resources in the controller.
In a fourth aspect, the present application provides a computer-readable storage medium having stored therein instructions, which when executed on a computer, cause the computer to perform the method of the above-described aspects.
In addition, the beneficial effects of the second aspect to the fourth aspect can be referred to as the beneficial effects of the first aspect, and are not described herein again.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application.
FIG. 1 is a flow chart of a method for unitizing a building model according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a display interface of a three-dimensional model of a building according to an embodiment of the present application;
FIG. 3 is a schematic diagram of generating a monomer in a three-dimensional model according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a page of data binding provided in an embodiment of the present application;
FIG. 5 is a schematic diagram of rendering a monomer into a three-dimensional model according to an embodiment of the present disclosure;
fig. 6 is a specific operation page of a singulation system according to an embodiment of the present disclosure;
FIG. 7 is a diagram of an apparatus with a building model singulation function provided in an embodiment of the present application;
fig. 8 is a schematic diagram of a terminal device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments, but not all embodiments, of the technical solutions of the present application. All other embodiments obtained by a person skilled in the art without any inventive step based on the embodiments described in the present application are within the scope of the protection of the present application.
The terms "first" and "second" in the description and claims of the present application and the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the term "comprises" and any variations thereof, which are intended to cover non-exclusive protection. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus. The "plurality" in the present application may mean at least two, for example, two, three or more, and the embodiments of the present application are not limited.
In addition, the term "and/or" herein is only one kind of association relationship describing an associated object, and means that there may be three kinds of relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" in this document generally indicates that the preceding and following related objects are in an "or" relationship unless otherwise specified.
At present, when a three-dimensional building model is integrated, professional software is needed, and the single body and the building model are required to keep consistent spatial relation, so that the single body is complicated to manufacture. And the generated monomers are separated from the family information, so that manual association is needed, and the method is time-consuming and easy to make mistakes. In view of the above, the present application provides a method and an apparatus for unitizing a building model, which are capable of producing a single body from a three-dimensional model of an existing building, and thus, do not have a problem that the three-dimensional model deviates from the actual model. In addition, the method and the system directly correlate the single information with the room information and store the single information in the room database, so that the time is saved.
The embodiment of the application can be used in scenes such as smart cities and smart parks.
In order to facilitate understanding of the embodiments of the present application, the following specifically describes the scheme proposed in the embodiments of the present application by taking the flowchart shown in fig. 1 as an example.
In a possible manner, the flowchart shown in fig. 1 may be implemented by a terminal device, or may be implemented by a single system, which is used to unify the three-dimensional model of the building and perform the association binding with the room information in the room database. The singulation system may include a terminal device and at least one server. Specifically, the room information may be maintained in advance and stored in a room database of the single-system. The terminal Device related to the present application is a terminal Device with a display screen, and may be a Mobile Phone (Mobile Phone), a tablet computer, a notebook computer, a palm computer, a Mobile Internet Device (MID), a wearable Device, and so on. The wearable device may include, for example, a smart watch or smart glasses, a smart bracelet, and the like.
101, a three-dimensional model of a building is obtained.
The three-dimensional model of the building can be made by professional software in advance and stored in the single-body system or the terminal equipment. For example, a three-dimensional model of a building may be created using professional software such as 3D MAX (3D Studio MAX) software and Computer Aided Design (CAD) software.
The three-dimensional model of the building can be stored in the terminal device in advance, or the terminal device acquires the three-dimensional model of the building from the server.
And 102, picking up the floor elevation and the roof elevation of the unit building to be singulated in the three-dimensional model.
The terminal equipment can obtain the floor elevation and the roof elevation of the unit building to be individualized from the server. The address of the unit building, such as the gold water source 12 # building 3 unit, can be input.
And the floor elevation and the roof elevation of the unit building to be individualized are used for representing the altitude of the lowest point and the highest point of the unit building. The floor elevation and the roof elevation may be pre-stored in the home database. Referring to the position of the upper left corner in the display interface of the terminal equipment shown in fig. 2, the floor elevation and the roof elevation of the picked unit building to be singulated are displayed. Alternatively, the picked-up ceiling elevation and floor elevation may adopt the elevation height under wgs-84 geographic coordinate system, the wgs-84 geographic coordinate system is an internationally adopted geocentric coordinate system, the origin of coordinates is the centroid of the earth, the Z-axis of the geocentric space rectangular coordinate system points to the direction of protocol earth polar (CTP) defined by the International time service organization (Bureau International de l' heart, BIH), the X-axis points to the intersection point of the meridian plane zero and the CTP of the BIH, and the Y-axis is perpendicular to the Z-axis and the X-axis to form a right-hand coordinate system, which is called a world geodetic coordinate system.
And 103, determining the plane position of the unit building to be individualized in the three-dimensional model.
The terminal equipment detects the marking operation of a user on a display interface and acquires four marking points for describing the plane position; wherein the display interface is as shown in fig. 2 for displaying a three-dimensional model of the building. It is to be understood that the quadrangle formed by the four marked points can enclose one apartment of the unit building to be singulated. Optionally, the four marked points for describing the plane position may be described by latitude and longitude under the geographic coordinate system of wgs-84, for example:
[Pws,Pes,Pen,Pwn];
pws is a southwest orientation plane marking point;
the Pes is a southeast orientation plane mark point;
pen is a marker point of the northeast azimuth plane;
pwn is a marker point of the northwest azimuth plane.
When the flow of fig. 1 is implemented by a terminal device, step 103 is performed by the terminal device. When the process of fig. 1 is implemented by a single unified system, step 103 may be obtained by the terminal device and sent to the server.
And 104, generating cuboid blocks respectively corresponding to the N floors of rooms with the same plane position according to the floor elevation and the roof elevation.
When the flow of fig. 1 is implemented by a terminal device, step 104 is performed by the terminal device. When the process of fig. 1 is implemented by a single unified system, step 104 may be executed by the server and sent to the terminal device. Further, the terminal device displays the cuboid blocks on the display interface.
The floor heights of the N layers of rooms are the same, the plane positions of the N layers of rooms are the same, and the cuboid blocks corresponding to each layer of room comprise the space positions of each layer of room in the three-dimensional model.
It should be understood that, according to the characteristics of the residential building, in most cases, the flat type of the rooms on different floors in the same plane position of the same unit building is consistent, so that after the flat position of one room is determined, other rooms on different floors can be reused. In addition, the floor spacing is also kept consistent in most cases, and batch construction is also possible.
Specifically, the floor height of the unit building and the floor number of the unit building are firstly obtained from the family room database; and dividing the unit building into N cuboid blocks according to the floor average according to the plane position, the floor elevation, the roof elevation, the floor height and the floor number of the unit building. For example, the family database contains family information, cell names, building numbers, unit building numbers, and the like. The information of the apartment may include identity information of the resident, such as name, sex, age, physical condition, identification number, etc.
As an example, as shown in fig. 3, a rectangular parallelepiped block of a unit building to be singulated, which includes a spatial position of the unit building to be singulated, may be determined according to a ceiling elevation and a floor elevation and a plane position of the unit building to be singulated. And further averagely cutting the cuboid blocks of the unit building to be individualized according to the floor height and the floor number of the unit building to be individualized in the apartment database to obtain N cuboid blocks corresponding to N floors of apartment of the unit building to be individualized. For example, the units to be singulated are a-cell No. 8 building 1 unit 101-N01 rooms (N represents the number of floors of the highest floor of the a-cell No. 8 building 1 unit), and the cuboid blocks including the a-cell No. 8 building 1 unit 101-N01 rooms are cut according to the floor height and the number of floors to obtain N cuboid blocks corresponding to N floors of the apartment, and each cuboid block of the N cuboid blocks can surround the spatial range of the apartment corresponding to the floor.
And 105, storing the cuboid block data respectively corresponding to the N layers of the rooms and the room information for representing the N layers of the rooms in a one-to-one correspondence manner in a room database, wherein the cuboid block data corresponding to each layer of the room is used for describing the cuboid blocks respectively corresponding to each layer of the room.
In the first aspect, the terminal device associates N cuboids corresponding to N levels of user rooms with user room information of N levels of user rooms in the user room database in response to an association operation of a user on a display interface. Next, the first room of the N-level rooms is described as an example. Storing a first room in the N layers of rooms and room information used for representing the first room in a room database in a related manner; the first user room is any one of the N layers of user rooms, the display interface displays the first cuboid block identifier and the first user room identifier, the first cuboid block identifier is used for identifying a cuboid block of the first user room, the cuboid block data of the first user room comprises the first cuboid block identifier, the first user room identifier is used for identifying the first user room, the user room information of the first user room comprises the first user room identifier, and the association operation is directed at association of the first cuboid block identifier and the first user room identifier.
The cuboid block data of the first room may comprise one or more of a first cuboid block identification, a planar position of the cuboid block of the first room, a bottom surface height of the cuboid block of the first room, or a top surface height of the cuboid block of the first room, etc.
A first cuboid block identifier for characterizing a number of layers of the first cuboid block;
the plane position of the cuboid block of the first household room is used for representing a plane range covered by a quadrangle formed by plane marking points of the cuboid block of the first household room in four directions of southwest, southeast, northeast and northwest;
the bottom surface height of the cuboid block of the first household room is used for representing the bottom surface elevation of the cuboid block of the first household room in a three-dimensional space, the elevation refers to the distance from a certain point to an absolute base surface along the direction of a plumb line, and the absolute base surface is a leveling base surface with the average seawater plane elevation of a certain seashore place fixed as zero;
the top surface height of the cuboid block of the first room is used for representing the top surface elevation of the cuboid block of the first room in three-dimensional space.
In one possible implementation, as shown in fig. 4, the association between the cuboid data of the first user room and the user room information of the first user room may be performed in a cascaded manner. When two objects are in cascade relation, and when any object is modified, deleted and the like, the other object can be synchronously executed with the same operation. In the embodiment of the present application, when the cuboid data of the first room and the room information of the first room are in the cascade relationship, the room information of the first room is modified, and then the cuboid data of the first room is modified in the same way, and repeated modification operations do not need to be manually performed.
On the other hand, after the first room cuboid data and the room information of the first room are correlated, the first room cuboid data is stored in the room database in the WKT format, and the WKT format is a text mark format.
Next, for example, the four marked points used for representing the plane position in the cuboid data of the first room in the above step 103 are: [ Pws, Pes, Pen, Pwn ];
storing in a WKT format upon storing, the WKT format being as follows:
POLYGON ((Pws [0] Pws [1], Pes [0] Pws [1], Pen [0] Pen [1], Pwn [0] Pwn [1])), wherein Pws [0] is the longitude of the southwest azimuth plane marking point, Pws [1] is the latitude of the southwest azimuth plane marking point, and the data stored in the southeast, northeast and northwest are also the longitude and latitude.
Similarly, the roof elevation and the floor elevation in the single data can also be stored in the WKT format, and are not described again.
Referring to fig. 5, in a possible implementation manner, when the method provided in the embodiment of the present application is specifically used, the terminal device detects a click operation of a user on the three-dimensional model in a display interface; and the clicking operation is used for selecting a second room in the unit building, acquiring cuboid block data of the second room in the room database, and fitting a cuboid block corresponding to the cuboid block data of the second room to the outer surface contour of the three-dimensional model for cutting to obtain a single block of the second room. Optionally, the cutting of the cuboid block corresponding to the cuboid block data of the second user room, which is attached to the outer surface contour of the three-dimensional model, may be performed automatically by a single system. For example, the three-dimensional model may be a model in an Irregular Triangulated Network (TIN) format, and the above-mentioned clipping operation is to eliminate a redundant portion outside a polygon according to a portion that is reserved as a constraint polygon on the outer surface of the three-dimensional model in the TIN-format three-dimensional model. In the embodiment of the application, when the constraint polygon is a closed polygon, redundant parts of a cuboid block to be cut are eliminated according to the closed polygon; when the constraint polygon is a non-closed polygon, the non-closed polygon and the outer boundary of the cuboid block to be cut form a new closed polygon, so that the cutting of the non-closed polygon can be substantially converted into the cutting of the closed polygon. And after finishing cutting, rendering the cut monomer blocks into the three-dimensional model.
The embodiment of the application can be applied to practical scenes such as a smart park, a smart city and the like or can be applied to a public security system, and the method provided by the embodiment of the application is specifically explained by taking a unit building as an example.
Referring to fig. 6, fig. 6 is a flowchart illustrating a specific process for building a monomer by a user using a monomer system, and the specific interface format is not limited. In the following, the functions of the unified system will be described by taking as an example that the functions are realized by a terminal device with a display screen.
601, the terminal device detects that the user clicks the 'single configuration' option at the upper left corner in the display page, and displays the plane position of the unit building to be singulated, the roof elevation, the floor elevation and the floor number of the building in the display page of the terminal device. In fig. 6, the unit building to be singulated is exemplified by a four-story building. Specifically, the displayed square points of the plane position are represented by longitude and latitude under a geographic coordinate system of wgs-48, and the displayed elevation of the top floor and the elevation of the bottom floor are represented by altitude under a geographic coordinate system of wgs-48. It should be noted that the numbers shown in the page 601 are only used as an example.
And 602, when the terminal device detects that the user clicks the 'generate monomer' option at the upper left corner in the display page, firstly generating rectangular blocks corresponding to four floors of rooms with the same plane position according to the floor elevation and the roof elevation. For ease of description, we will refer to the resulting cuboid blocks as monomers herein. Further, the terminal device displays a monomer list composed of the monomer identifications in the generated monomer data corresponding to the four monomers on the right side of the display page 602. The position and form of the monomer list in the display page 602 are not specifically limited in this application, and fig. 6 is only an example. The monomer data includes a monomer identification, a monomer plane position, a monomer ground height, and a monomer top height. In fig. 6, the number of layers of the generated monomer is taken as the monomer identifier, such as the first layer, the second layer, and so on shown in fig. 6. Still further, the terminal device displays the room identifier in the room information of the unit building to be individualized in the room database on the right side of the individual list in the display page 602.
After the steps are completed, the terminal device detects that the user sequentially clicks the monomer identification and the room identification in the monomer list, associates the monomer data corresponding to the monomer identification clicked by the user with the room information corresponding to the room identification, and stores the associated monomer data corresponding to the monomer identification clicked by the user in the room database. The present application is not intended to be limited to the particular form of operation described, and fig. 6 is intended as an example.
For example, when detecting that the user sequentially clicks the first layer in the cell identifier and 101 in the room identifier, the terminal device associates the generated first layer cell data with the room information of the 101 room, and stores the associated first layer cell data in the room database.
603, after detecting that the user association is successfully stored, the terminal device displays the user room identifier associated with the user unit identifier after associating and storing the successfully stored single user identifier, and displays the mark point after associating and storing the successfully stored user room identifier, where the form of the mark point is not limited in this application. See the display page 603 in detail, which is a display page after the monomer data of the four-layer family room are all stored in association.
604, when detecting that the user clicks an area of a certain room on the outer surface of the three-dimensional model of the building, for example, the user clicks the outer surface of the 301 room, the terminal device first acquires the monomer data of the 301 room from the room database, fits the monomer corresponding to the monomer data of the 301 room to the outer surface profile of the 301 room for clipping, renders the clipped monomer of the 301 room into the three-dimensional model, and highlights the outer surface of the 301 room. The rendering form of the clipped monomer in the three-dimensional model is not particularly limited in the present application, and the highlight display is only taken as an example in the present application. Further, the terminal device displays the room information of the 301 room associated with the cell data of the 301 room in the display page 604 after the rendering is completed.
Based on the same concept as the above-described building model unitization method, as shown in fig. 7, there is provided an apparatus 700 having a unitization function of a building model. The apparatus 700 is capable of performing the steps performed by the terminal device in the method, and will not be described in detail herein to avoid repetition. The apparatus 700 comprises: an acquisition unit 701, a processing unit 702, and an association storage unit 703.
The obtaining unit 701 is further configured to pick up a floor elevation and a roof elevation of a unit building to be singulated in the three-dimensional model;
the obtaining unit 701 is further configured to determine a plane position of a unit building to be individualized in the three-dimensional model;
the processing unit 702 is configured to generate cuboid blocks corresponding to N floors of residential rooms with the same plane position according to the floor elevation and the roof elevation, where the N floors of residential rooms have the same floor height and the same plane position, and the cuboid block corresponding to each floor of residential room includes a spatial position of each floor of residential room in the three-dimensional model;
the association storage unit 703 is further configured to store, in the room database, the cuboid block data corresponding to each of the N layers of rooms and the room information used for representing the N layers of rooms in a one-to-one association manner, where the cuboid block data corresponding to each layer of room is used to describe the cuboid block corresponding to each layer of room.
In a possible implementation manner, the obtaining unit 701, when determining a plane position of a unit floor to be singulated, is specifically configured to:
responding to the marking operation on a display interface, and acquiring four marking points for describing the plane position;
wherein the display interface displays a three-dimensional model of the building.
In a possible implementation manner, when generating the cuboid blocks corresponding to the N floors of the building respectively with the same plane position according to the floor elevation and the roof elevation, the processing unit 702 is specifically configured to:
acquiring the floor height of the unit building and the floor number of the unit building from the family room database;
and dividing the unit building into N cuboid blocks according to the floor average according to the plane position, the floor elevation, the roof elevation, the floor height and the floor number of the unit building.
In a possible implementation manner, when storing the cuboid block data respectively corresponding to N layers of user rooms and the user room information used for representing the N layers of user rooms in the user room database in an associated manner, the association storage unit 703 is specifically configured to:
responding to the association operation on the display interface, and storing a first user room in the N layers of user rooms and user room information used for representing the first user room in an associated manner in the user room database;
the first user room is any one of the N layers of user rooms, the display interface displays the first cuboid block identifier and the first user room identifier, the first cuboid block identifier is used for identifying a cuboid block of the first user room, the cuboid block data of the first user room comprises the first cuboid block identifier, the first user room identifier is used for identifying the first user room, the user room information of the first user room comprises the first user room identifier, and the association operation is directed at association of the first cuboid block identifier and the first user room identifier.
In a possible implementation manner, the cuboid block data respectively corresponding to the N layers of the rooms is in a WKT format.
In one possible implementation, the rectangular block data of the first user room includes one or more of the following:
the first cuboid block identifier, a planar position of the cuboid block of the first room, a bottom height of the cuboid block of the first room, or a top height of the cuboid block of the first room.
In a possible implementation manner, the obtaining unit 701 is further configured to respond to a click operation on the three-dimensional model on a display interface; the click operation is used for selecting a second user room in the unit building and acquiring cuboid block data of the second user room in the user room database;
the processing unit 702 is further configured to attach the rectangular block corresponding to the rectangular block data of the second user room to the outer surface profile of the three-dimensional model, trim the rectangular block to obtain a single block of the second user room, and render the trimmed single block into the three-dimensional model.
Fig. 8 shows a schematic structural diagram of a terminal device provided in an embodiment of the present invention. The terminal device in this embodiment of the application may further include a communication interface 803, where the communication interface 803 is, for example, a network port, and the terminal device may transmit data through the communication interface 803. The terminal equipment further comprises a display screen, and the display screen is used for displaying a display interface.
In the present embodiment, the memory 802 stores instructions executable by the at least one processor 801, and the at least one processor 801 executes the instructions stored by the memory 802.
The processor 801 is a control center of the terminal device, and may connect various parts of the entire terminal device by using various interfaces and lines, by executing or executing instructions stored in the memory 802, and by calling up data stored in the memory 802. Alternatively, the processor 801 may include one or more processing units, and the processor 801 may integrate an application processor, which mainly handles operating systems, application programs, and the like, and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 801. In some embodiments, the processor 801 and the memory 802 may be implemented on the same chip, or in some embodiments, they may be implemented separately on separate chips.
The processor 801 may be a general-purpose processor, such as a Central Processing Unit (CPU), digital signal processor, application specific integrated circuit, field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like, that may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps executed by the single system disclosed in the embodiments of the present application may be directly executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.
Memory 802, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The Memory 802 may include at least one type of storage medium, and may include, for example, a flash Memory, a hard disk, a multimedia card, a card-type Memory, a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Programmable Read Only Memory (PROM), a Read Only Memory (ROM), a charge Erasable Programmable Read Only Memory (EEPROM), a magnetic Memory, a magnetic disk, an optical disk, and so on. The memory 802 is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such. The memory 802 in the embodiments of the present application may also be circuitry or any other device capable of performing a storage function for storing program instructions and/or data.
By programming the processor 801, for example, codes corresponding to the training method of the neural network model described in the foregoing embodiment may be fixed in a chip, so that the chip can execute the steps of the training method of the neural network model when running, and how to program the processor 801 is a technique known by those skilled in the art and will not be described herein again.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A method of unitizing a building model, comprising:
obtaining a three-dimensional model of a building;
picking up the floor elevation and the roof elevation of the unit building to be singulated in the three-dimensional model;
determining the plane position of a unit building to be individualized in the three-dimensional model;
generating cuboid blocks respectively corresponding to N layers of residential rooms with the same plane position according to the floor elevation and the roof elevation, wherein the layer heights of the N layers of residential rooms are the same, the plane positions of the N layers of residential rooms are the same, and the cuboid block corresponding to each layer of residential room comprises the space position of each layer of residential room in the three-dimensional model;
and storing the cuboid block data respectively corresponding to the N layers of the rooms and the room information used for representing the N layers of the rooms in a one-to-one correspondence manner in a room database, wherein the cuboid block data corresponding to each layer of the room is used for describing the cuboid blocks respectively corresponding to each layer of the room.
2. The method of claim 1, wherein determining a planar position of a cell to be singulated in the three-dimensional model comprises:
responding to the marking operation on a display interface, and acquiring four marking points for describing the plane position;
wherein the display interface displays a three-dimensional model of the building.
3. The method of claim 1, wherein generating the cuboid blocks corresponding to the N stories of the apartment with the same plane position according to the floor elevation and the roof elevation comprises:
acquiring the floor height of the unit building and the floor number of the unit building from the family room database;
and dividing the unit building into N cuboid blocks according to the floor average according to the plane position, the floor elevation, the roof elevation, the floor height and the floor number of the unit building.
4. The method of claim 1, wherein storing cuboid block data respectively corresponding to the N levels of the rooms in association with room information for characterizing the N levels of the rooms in a room database comprises:
responding to the association operation on the display interface, and storing a first user room in the N layers of user rooms and user room information used for representing the first user room in an associated manner in the user room database;
the first user room is any one of the N layers of user rooms, the display interface displays the first cuboid block identifier and the first user room identifier, the first cuboid block identifier is used for identifying a cuboid block of the first user room, the cuboid block data of the first user room comprises the first cuboid block identifier, the first user room identifier is used for identifying the first user room, the user room information of the first user room comprises the first user room identifier, and the association operation is directed at association of the first cuboid block identifier and the first user room identifier.
5. The method of claim 4, wherein the cuboid block data respectively corresponding to the N floors of the apartment is in WKT format.
6. The method of claim 4, wherein the cuboid block data of the first room comprises one or more of:
the first cuboid block identifier, a planar position of the cuboid block of the first room, a bottom height of the cuboid block of the first room, or a top height of the cuboid block of the first room.
7. The method of any one of claims 1-6, further comprising:
responding to a clicking operation on the three-dimensional model on a display interface; and the clicking operation is used for selecting a second room in the unit building, acquiring cuboid block data of the second room in the room database, fitting a cuboid block corresponding to the cuboid block data of the second room to the outer surface contour of the three-dimensional model, cutting to obtain a single block of the second room, and rendering the cut single block to the three-dimensional model.
8. An apparatus for unitizing a building model, comprising:
an acquisition unit for acquiring a three-dimensional model of a building;
the acquisition unit is also used for picking up the floor elevation and the roof elevation of the unit building to be individualized in the three-dimensional model;
the acquisition unit is further used for determining the plane position of the unit building to be individualized in the three-dimensional model;
the processing unit is used for generating cuboid blocks corresponding to N layers of residential rooms with the same plane position according to the floor elevation and the roof elevation, the layer heights of the N layers of residential rooms are the same, the plane positions of the N layers of residential rooms are the same, and the cuboid blocks corresponding to each layer of residential room comprise the space position of each layer of residential room in the three-dimensional model;
and the association storage unit is also used for storing the cuboid block data respectively corresponding to the N layers of the rooms and the room information used for representing the N layers of the rooms in a one-to-one association manner in a room database, wherein the cuboid block data corresponding to each layer of the room is used for describing the cuboid blocks respectively corresponding to each layer of the room.
9. A terminal device, characterized in that the terminal device comprises a processor and a memory,
the memory for storing computer programs or instructions;
the processor for executing a computer program or instructions in a memory, such that the method of any of claims 1-7 is performed.
10. A computer-readable storage medium having stored thereon computer-executable instructions which, when invoked by a computer, cause the computer to perform the method of any one of claims 1 to 7.
CN202011597830.9A 2020-12-29 2020-12-29 Building model unitization method and device Pending CN112687003A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011597830.9A CN112687003A (en) 2020-12-29 2020-12-29 Building model unitization method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011597830.9A CN112687003A (en) 2020-12-29 2020-12-29 Building model unitization method and device

Publications (1)

Publication Number Publication Date
CN112687003A true CN112687003A (en) 2021-04-20

Family

ID=75454201

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011597830.9A Pending CN112687003A (en) 2020-12-29 2020-12-29 Building model unitization method and device

Country Status (1)

Country Link
CN (1) CN112687003A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115081079A (en) * 2022-06-30 2022-09-20 广联达科技股份有限公司 Building model modeling method and device, computer equipment and readable storage medium

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008102843A (en) * 2006-10-20 2008-05-01 Ntt Facilities Inc Device and method for creating three-dimensional building data, and program and storage medium therefor
CN101763656A (en) * 2010-01-28 2010-06-30 北京航空航天大学 Construction and display control method for floor and house division model of three-dimensional urban building
CN106846494A (en) * 2017-01-16 2017-06-13 青岛海大新星软件咨询有限公司 Oblique photograph three-dimensional building thing model automatic single-body algorithm
CN106897418A (en) * 2017-02-22 2017-06-27 湖南腾琨信息科技有限公司 A kind of three real data integrated approaches based on oblique photograph three-dimensional map
CN107240146A (en) * 2016-03-24 2017-10-10 华为技术有限公司 The method and apparatus that operational indicator is shown
CN107424220A (en) * 2017-08-03 2017-12-01 武汉华正空间软件技术有限公司 Three dimensional monolithic family room expression body and its production method and application system in building
CN108648269A (en) * 2018-05-11 2018-10-12 北京建筑大学 The monomerization approach and system of three-dimensional building object model
CN109035423A (en) * 2018-06-06 2018-12-18 链家网(北京)科技有限公司 A kind of method for partitioning storey and device of the virtual three-dimensional model in house
CN110648401A (en) * 2019-08-30 2020-01-03 贝壳技术有限公司 Method and device for unitizing oblique photography model, electronic equipment and storage medium
CN110826136A (en) * 2019-11-11 2020-02-21 网易(杭州)网络有限公司 Virtual building model generation method and device, processor and electronic device
CN110874391A (en) * 2019-09-29 2020-03-10 北京旋极伏羲科技有限公司 Data fusion and display method based on urban space three-dimensional grid model
CN111339600A (en) * 2020-03-17 2020-06-26 飞燕航空遥感技术有限公司 Layered household three-dimensional display method and system in building tilt model and storage medium
CN111462305A (en) * 2020-03-17 2020-07-28 中国电建集团昆明勘测设计研究院有限公司 Three-dimensional real estate management method applied to rural house-ground integration
CN112037327A (en) * 2020-08-13 2020-12-04 江河水利水电咨询中心 Method, device, equipment and storage medium for monitoring construction progress of building at arrangement point
CN112053440A (en) * 2020-09-29 2020-12-08 北京世纪高通科技有限公司 Method for determining individualized model and communication device
CN112132845A (en) * 2020-08-13 2020-12-25 当家移动绿色互联网技术集团有限公司 Three-dimensional model unitization method and device, electronic equipment and readable medium

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008102843A (en) * 2006-10-20 2008-05-01 Ntt Facilities Inc Device and method for creating three-dimensional building data, and program and storage medium therefor
CN101763656A (en) * 2010-01-28 2010-06-30 北京航空航天大学 Construction and display control method for floor and house division model of three-dimensional urban building
CN107240146A (en) * 2016-03-24 2017-10-10 华为技术有限公司 The method and apparatus that operational indicator is shown
CN106846494A (en) * 2017-01-16 2017-06-13 青岛海大新星软件咨询有限公司 Oblique photograph three-dimensional building thing model automatic single-body algorithm
CN106897418A (en) * 2017-02-22 2017-06-27 湖南腾琨信息科技有限公司 A kind of three real data integrated approaches based on oblique photograph three-dimensional map
CN107424220A (en) * 2017-08-03 2017-12-01 武汉华正空间软件技术有限公司 Three dimensional monolithic family room expression body and its production method and application system in building
CN108648269A (en) * 2018-05-11 2018-10-12 北京建筑大学 The monomerization approach and system of three-dimensional building object model
CN109035423A (en) * 2018-06-06 2018-12-18 链家网(北京)科技有限公司 A kind of method for partitioning storey and device of the virtual three-dimensional model in house
CN110648401A (en) * 2019-08-30 2020-01-03 贝壳技术有限公司 Method and device for unitizing oblique photography model, electronic equipment and storage medium
CN110874391A (en) * 2019-09-29 2020-03-10 北京旋极伏羲科技有限公司 Data fusion and display method based on urban space three-dimensional grid model
CN110826136A (en) * 2019-11-11 2020-02-21 网易(杭州)网络有限公司 Virtual building model generation method and device, processor and electronic device
CN111339600A (en) * 2020-03-17 2020-06-26 飞燕航空遥感技术有限公司 Layered household three-dimensional display method and system in building tilt model and storage medium
CN111462305A (en) * 2020-03-17 2020-07-28 中国电建集团昆明勘测设计研究院有限公司 Three-dimensional real estate management method applied to rural house-ground integration
CN112037327A (en) * 2020-08-13 2020-12-04 江河水利水电咨询中心 Method, device, equipment and storage medium for monitoring construction progress of building at arrangement point
CN112132845A (en) * 2020-08-13 2020-12-25 当家移动绿色互联网技术集团有限公司 Three-dimensional model unitization method and device, electronic equipment and readable medium
CN112053440A (en) * 2020-09-29 2020-12-08 北京世纪高通科技有限公司 Method for determining individualized model and communication device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115081079A (en) * 2022-06-30 2022-09-20 广联达科技股份有限公司 Building model modeling method and device, computer equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN109816745B (en) Human body thermodynamic diagram display method and related products
CN112163251A (en) Building model unitization method and device, storage medium and electronic equipment
CN110794955B (en) Positioning tracking method, device, terminal equipment and computer readable storage medium
CN106679665A (en) Route planning method and route planning device
US9466149B2 (en) Lighting of graphical objects based on environmental conditions
EP2595118A2 (en) Methods for providing 3d building information
CN108846899B (en) Method and system for improving area perception of user for each function in house source
CN111899323B (en) Three-dimensional earth drawing method and device
CN108846900B (en) Method and system for improving spatial sense of user in room source virtual three-dimensional space diagram
CN114119900A (en) Building model construction method, building model construction device, building model construction equipment, building model storage medium and program product
CN112687003A (en) Building model unitization method and device
KR20210054408A (en) Apparatus and method for modeling using gis
CN105698794A (en) A map acquiring method
CN107221030B (en) Augmented reality providing method, augmented reality providing server, and recording medium
CN112070901A (en) AR scene construction method and device for garden, storage medium and terminal
CN108763414B (en) Live-action display method and device, terminal equipment and storage medium
US20160349409A1 (en) Photovoltaic shade impact prediction
CN116975170A (en) Map display method, map data generation method, map display device and electronic equipment
CN103970539A (en) Design method for university 3D navigation system
CN110458715B (en) Risk scoring method, apparatus and computer readable storage medium
CN111757284A (en) Indoor entrance positioning method and electronic equipment
CN108932088B (en) Virtual object collection method and portable electronic device
CN118069106B (en) Method for adding collision volumes in batches
CN114238537B (en) House general survey data grouping processing method and system
CN113744396B (en) Method, device, equipment and storage medium for establishing model based on three-dimensional map

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210420

RJ01 Rejection of invention patent application after publication