Method and device for generating two-dimensional building table by building three-dimensional property right space entity

By generating a two-dimensional real estate table based on three-dimensional property rights space entities, the problem of insufficient expression of two-dimensional real estate tables in the existing technology is solved, and the precise expression and intuitive display of three-dimensional building space relationships are achieved, which is suitable for smart cities and smart real estate. field.

CN118536485APending Publication Date: 2024-08-23NANJING NORMAL UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410587287.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-13
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

The existing two-dimensional real estate table cannot accurately express the spatial structure, spatial distribution and spatial relationship of complex three-dimensional buildings, and the display effect is not rich enough to meet the needs of real estate surveying and mapping business personnel for intuitive understanding and rapid identification of real estate information.

Method used

By loading the three-dimensional property rights space entity information of the building, the surveying and mapping household entities are constructed and a two-dimensional real estate table is generated. The dynamic table structure is used to merge the same and adjacent cells, and the information of surveying and mapping households and property rights households is combined to generate an intuitive and rich two-dimensional real estate table. surface.

Benefits of technology

It achieves the precise expression of three-dimensional architectural spatial relationships, enhances the intuitiveness and display effect of real estate tables, simplifies data management, and is suitable for fields such as smart cities and smart real estate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118536485A
    Figure CN118536485A
Patent Text Reader

Abstract

The invention discloses a method and device for generating a two-dimensional building table through a building three-dimensional property space entity, and the method comprises the steps: loading the building three-dimensional property space entity, and constructing N surveying and mapping user entities according to the information of the building three-dimensional property space entity, creating an associated surveying and mapping user list for each surveying and mapping user entity and adding the associated surveying and mapping users into the list; generating a surveying and mapping user mode two-dimensional building table, namely sorting all surveying and mapping user entities, adding the surveying and mapping user entities and surveying and mapping user entities in an association list into a dynamic two-dimensional table data structure, deleting redundant columns, sorting, deleting and merging cells and the like; s3, generating a property right user mode two-dimensional building table, including merging cells in horizontal and vertical directions; and S4, exporting a two-dimensional building table according to the two-dimensional table data structures T1 and T2 obtained in the steps S2 and S3. According to the method, the two-dimensional building table with comprehensive and fine spatial information expression and rich display effects can be generated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to real estate surveying and mapping, and in particular to a method and device for generating a two-dimensional real estate table from a three-dimensional property space entity of a building. Background Art

[0002] The two-dimensional property table and three-dimensional property model are respectively the two-dimensional and three-dimensional carriers of the three-dimensional property space entity of the building, serving the data access, data analysis, data governance, data push, data release and other links of various real estate business systems.

[0003] The existing two-dimensional real estate table expresses the spatial structure, spatial relationship, spatial distribution and attribute information of households through a two-dimensional table, that is, the horizontal rows represent the floors, the vertical columns represent the units, and the rows and columns are cross-combined to form a cell with uniform length and width to represent the households, as shown in Table 1. In this mode, households of different sizes, shapes and types are represented by cells of the same size, which fails to take into account special spatial structures such as leap floors, overhead floors and merged households, fails to fully utilize the spatial topological relationship (inclusion, adjacent and separated relationship) of households on the same floor or between upper and lower floors, and fails to effectively consider the spatial position and spatial distribution of households in the two-dimensional table in combination with the actual spatial position. Therefore, the existing two-dimensional real estate table is difficult to accurately express the spatial structure, spatial distribution and spatial relationship of households in complex three-dimensional buildings, and it is difficult to meet the one-time comprehensive and intuitive understanding of real estate surveying and mapping business personnel on real estate information, and is not conducive to the rapid identification, rapid response and knowledge mining of two-dimensional real estate information in combination with three-dimensional spatial relationships.

[0004] Table 1 Traditional two-dimensional real estate table

[0005]

[0006] On the other hand, the existing 3D property model mainly simulates the external contour and texture of the property, focusing on display. Although the 3D property model that takes into account the integration of the inside and outside can accurately express the spatial information and attribute information of each floor and each household in the building, the stacking of multiple floors easily causes occlusion between households, requiring managers to perform various rotations, translations, and switch operations to locate and select the households of interest. In addition, the display of the 3D property model has certain requirements on the 3D model data quality, computer hardware, and graphics engine, which is not convenient for low-cost applications. Summary of the invention

[0007] Purpose of the invention: The first purpose of the present invention is to provide a method for generating a two-dimensional property table from a three-dimensional property space entity of a building, making full use of the spatial information of a three-dimensional property model to solve the problems of a traditional two-dimensional property table having a single layout structure, incomplete and imprecise expression of spatial information, and insufficient display effect; The second purpose of the present invention is to provide a device for generating a two-dimensional property table from a three-dimensional property space entity of a building.

[0008] Technical solution: The method for generating a two-dimensional building table from a three-dimensional property space entity of a building according to the present invention comprises the following steps:

[0009] S1. Loading a three-dimensional property space entity of a building, including: obtaining the three-dimensional property space entity information of the building, including the surveying household ID, the property household ID, the surveying household geometry, the floor where the surveying household is located, and the unit where the surveying household is located, wherein the surveying household geometry is the two-dimensional geometry after the three-dimensional geometry of the surveying household is projected onto a two-dimensional plane; constructing N surveying household entities according to the three-dimensional property space entity information of the building, and creating an associated surveying household list R(Hi) for each surveying household entity Hi, and adding the associated surveying household to R(Hi), 1≤i≤N;

[0010] S2, generating a two-dimensional building table of surveying and mapping household mode, including: receiving all surveying and mapping household entities and corresponding associated surveying and mapping household lists; summarizing the floor information of the surveying and mapping households of all surveying and mapping household entities to obtain the total number of floors Fmax; constructing a two-dimensional table data structure T with a row number of Fmax, a column number of 0 and the ability to increase dynamically; sorting all surveying and mapping household entities from bottom to top according to the floor where the surveying and mapping household is located, adding the surveying and mapping household entities to T, and adding the surveying and mapping household entities in the surveying and mapping household entity associated list to T; deleting columns with redundant information in T, sorting the columns of T, deleting redundant blank cells in T, merging the same surveying and mapping household entity cells in the row, adding a row to the top row of T to indicate the unit where the surveying and mapping household entity is located, and finally generating the first two-dimensional table data structure T1;

[0011] S3, generating a two-dimensional property table of a property owner mode, including: receiving a first two-dimensional table data structure T1, merging adjacent surveying and mapping household entity cells with the same property owner ID in the horizontal direction in T1, merging surveying and mapping household entity cells with the same property owner ID in the vertical direction, blank cells are used as placeholders and do not participate in any merging, and generating a second table data structure T2 after the merging is completed;

[0012] S4, exporting a two-dimensional property table, including: receiving a first two-dimensional table data structure T1 and a second table data structure T2, and outputting the two-dimensional property table data according to a file format required by a configuration file.

[0013] Furthermore, in step S1, adding the associated surveying and mapping household to R(Hi) includes:

[0014] For each pair of surveying and mapping household entities Hi and Hj, 1≤j≤N and i≠j, perform the following judgment:

[0015] 1) If the floor where the surveying households of Hi and Hj are located is the same, then skip this pair of surveying household entities and determine the next pair of surveying household entities;

[0016] 2) If the surveying and mapping household geometry of Hi completely contains the surveying and mapping household geometry of Hj, or the surveying and mapping household geometry of Hi intersects with the surveying and mapping household geometry of Hj and the intersection area is greater than half of the area of ​​Hj, then Hj is added to R(Hi).

[0017] Furthermore, in step S2, the adding of the surveying and mapping household entity to T includes: for each sorted surveying and mapping household entity Hi, first marking Hi as visited, and then calculating the row number Row(Hi) of Hi in T from bottom to top according to the floor information of the surveying and mapping household of Hi, 1≤Hi≤Fmax; if each surveying and mapping household entity Rik in R(Hi) is marked as visited, then adding a new column to T, and adding Hi to the position of the column row number Row(Hi), 1≤k.

[0018] Further, in step S2, the surveying and mapping household entities in the surveying and mapping household entity association list are added to T, including: for each surveying and mapping household entity Rik in the association list R(Hi) of Hi, if Rik does not exist in a column of T but all other surveying and mapping household entities in the column are in R(Rik), then Rik is added to the column; if Rik is not added to any column, then a new column is created for Rik, and the surveying and mapping household entities in Hi and R(Hi) whose row number is less than Row(Rik) are added to the new column.

[0019] Furthermore, in step S2, the columns of T are sorted, including: calculating the enclosing rectangle of all surveying and mapping household geometries after merging, if the X span of the enclosing rectangle is greater than the Y span, then sorting all the columns from small to large according to the X coordinate of the average centroid of the surveying and mapping household geometries in the column, otherwise sorting by the Y coordinate.

[0020] Further, in step S2, the deletion of redundant blank cells in T includes: in T, determining row by row whether there are one or more blank cells between surveying and mapping household entities with the same surveying and mapping household ID; if so, filling the blank cells with the surveying and mapping household entity information on the left.

[0021] Further, in step S2, the merging of the cells of the same surveying and mapping household entity in the row includes: in T, determining row by row whether there are surveying and mapping household entities with the same surveying and mapping household ID and adjacent positions; if so, merging the cells where these adjacent surveying and mapping household entities with the same surveying and mapping household ID are located.

[0022] Further, in step S2, a row is added to the top row in T to indicate the unit where the surveying and mapping household entity is located, including: counting the unit names of all surveying and mapping household entities in each column, and taking the unit name with the most occurrences as the unit name of the column; after counting and processing all columns, for the newly added rows, merging adjacent cells with the same unit name.

[0023] Further, in step S3, the merging of surveying and mapping household entity cells with the same property owner ID in the vertical direction includes: judging whether there are surveying and mapping household entity cells with the same property owner ID, adjacent positions, equal widths, and vertical alignment between adjacent rows, and if so, merging the cells.

[0024] The device for generating a two-dimensional building table from a three-dimensional property space entity of a building according to the present invention comprises:

[0025] The building three-dimensional property space entity loading module is used to load the building three-dimensional property space entity, including: obtaining the building three-dimensional property space entity information, including the surveying and mapping household ID, the property household ID, the surveying and mapping household geometry, the floor where the surveying and mapping household is located, and the unit where the surveying and mapping household is located, wherein the surveying and mapping household geometry is the two-dimensional geometry after the three-dimensional geometry of the surveying and mapping household is projected onto the two-dimensional plane; constructing N surveying and mapping household entities according to the building three-dimensional property space entity information, and creating an associated surveying and mapping household list R(Hi) for each surveying and mapping household entity Hi, and adding the associated surveying and mapping household to R(Hi), 1≤i≤N;

[0026] The two-dimensional building table generation module of the surveying and mapping household mode is used to generate a two-dimensional building table of the surveying and mapping household mode, including: receiving all surveying and mapping household entities and the corresponding associated surveying and mapping household lists; summarizing the floor information of the surveying and mapping households of all surveying and mapping household entities to obtain the total number of floors Fmax; constructing a two-dimensional table data structure T with a row number of Fmax, a column number of 0 and the ability to increase dynamically; sorting all surveying and mapping household entities from bottom to top according to the floor where the surveying and mapping household is located, adding the surveying and mapping household entities to T, and adding the surveying and mapping household entities in the surveying and mapping household entity associated list to T; deleting columns with redundant information in T, sorting the columns of T, deleting redundant blank cells in T, merging the same surveying and mapping household entity cells in the row, adding a row to the top row of T to indicate the unit where the surveying and mapping household entity is located, and finally generating the first two-dimensional table data structure T1;

[0027] The two-dimensional building table generation module of the property household mode is used to generate the two-dimensional building table of the property household mode, including: receiving the first two-dimensional table data structure T1, in T1, merging the surveying and mapping household entity cells with the same property household ID and adjacent in the horizontal direction, merging the surveying and mapping household entity cells with the same property household ID in the vertical direction, and blank cells are used as placeholders and do not participate in any merging, and generating a second table data structure T2 after the merging is completed;

[0028] And, a two-dimensional property table exporting module is used to export the two-dimensional property table, including: receiving a first two-dimensional table data structure T1 and a second table data structure T2, and outputting the two-dimensional property table data according to the file format required by the configuration file.

[0029] Beneficial effects: Compared with the prior art, the present invention has the following significant advantages: the present invention quickly generates a two-dimensional building table that takes into account the spatial structure, spatial relationship and spatial distribution based on the three-dimensional property space entity of the building, solves the problem of missing spatial information expression in the traditional two-dimensional building table, enhances the intuitiveness, richness and inspiration of the building table display, avoids the complex three-dimensional property model interactive application, and provides a simple and convenient building layout plan for the efficient management of real estate surveying and mapping results data. The present invention can be applied to many fields such as smart cities, digital cities, smart real estate, smart buildings, etc., and has great promotion value and broad application prospects. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 It is a flow chart of loading a building three-dimensional property space entity in an embodiment of the present invention;

[0031] Figure 2 It is a flow chart of generating a two-dimensional building table of a surveying and mapping household model in an embodiment of the present invention;

[0032] Figure 3 It is a flow chart of generating a two-dimensional building table of property owner mode in an embodiment of the present invention;

[0033] Figure 4 is a flow chart of exporting a two-dimensional building table in an embodiment of the present invention;

[0034] Figure 5 It is a schematic diagram of the module structure of a device for generating a two-dimensional building table from a three-dimensional building property space entity provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0035] The present invention will be further described below in conjunction with the accompanying drawings.

[0036] The embodiment of the present invention provides a method for generating a two-dimensional building table from a three-dimensional property space entity, comprising the following steps:

[0037] S1. Load the three-dimensional property space entity of the building.

[0038] like Figure 1 As shown, loading the building 3D property space entity includes the following steps:

[0039] S101. Acquire the three-dimensional property space entity information of the building, including the surveying household ID, property household ID, surveying household geometry, the floor where the surveying household is located, the unit where the surveying household is located, and other optional business information. Taking Room 102 in Table 1 as an example, read the surveying household ID, property household ID, surveying household geometry, the floor where the surveying household is located is the first floor, and the unit where the surveying household is located is the first unit.

[0040] The three-dimensional property space entity of the building is generated by converting various data formats. The surveying household is the smallest household right unit within a single floor. The property household is an aggregate of a single or multiple surveying households formed due to business reasons such as leap-floor, sale and purchase. The surveying household ID is the unique identifier of the surveying household. The surveying households with the same surveying household ID are the same surveying household. The property household ID is the unique identifier of the property household. The surveying households with the same property household ID are aggregated into the same property household. The property households with the same property household ID are the same property household. The surveying household geometry is the two-dimensional geometry after the three-dimensional geometry of the surveying household is projected onto the two-dimensional plane.

[0041] S102. Construct N surveying and mapping household entities according to the building three-dimensional property space entity information, each surveying and mapping household entity represents an independent building three-dimensional property space entity.

[0042] S103. Create an associated surveying and mapping household list R(Hi) for each surveying and mapping household entity Hi, 1≤i≤N.

[0043] S104. Add the associated surveying and mapping households into R(Hi).

[0044] For each pair of surveying and mapping household entities Hi and Hj, 1≤j≤N and i≠j, perform the following judgment:

[0045] 1) If the floor where the surveying households of Hi and Hj are located is the same, then skip this pair of surveying household entities and determine the next pair of surveying household entities;

[0046] 2) If the surveying and mapping household geometry of Hi completely contains the surveying and mapping household geometry of Hj, or the surveying and mapping household geometry of Hi intersects with the surveying and mapping household geometry of Hj and the intersection area is greater than half of the area of ​​Hj, then Hj is added to R(Hi).

[0047] Take Room 102 in Table 2 as an example. Its associated surveying and mapping household list includes storage room 1, storage room 2, room 202, room 302, room 402, room 502, and two rooms 602 on the sixth and seventh floors. Since Room 102 and Room 103 are located on the same floor, they do not have an associated relationship. Room 102 will not be added to the associated list of Room 103, and Room 103 will not be added to the associated list of Room 102. Room 102 and Room 201 are not located on the same floor, but they do not have an inclusion relationship in which one contains the other, nor do they have an intersection relationship or an intersection area greater than half of the area of ​​Room 102 or Room 201. Therefore, Room 102 will not be added to the associated list of Room 201, and Room 201 will not be added to the associated list of Room 102.

[0048] S105. Output all surveying and mapping household entities and the corresponding associated surveying and mapping household lists.

[0049] S2. Generate a two-dimensional building table in the surveying and mapping household model.

[0050] like Figure 2 As shown in the figure, generating a two-dimensional building table of the surveying household model includes the following steps:

[0051] S201. Receive all surveying and mapping household entities and the corresponding associated surveying and mapping household lists.

[0052] S202, summarizing the floor information of all surveying households of the surveying household entities to obtain the total number of floors Fmax. For example, in the process of generating Table 2, Fmax=8, including the basement floor, the first floor, the second floor, and up to the seventh floor, the total number of floors is 8.

[0053] S203, construct a two-dimensional table data structure T with a row number of Fmax and a column number of 0 but capable of being increased dynamically.

[0054] S204, sorting all surveying and mapping household entities from bottom to top according to the floors where the surveying and mapping households are located. For example, in the process of generating Table 2, Room 101, Room 102, Room 103, and Room 104 are correspondingly arranged below Room 201, Room 202, Room 203, and Room 204.

[0055] S205. Add the surveying and mapping household entity to T.

[0056] For each surveying household entity Hi after sorting, first mark Hi as visited, and then calculate the number of rows of Hi in T Row(Hi) from bottom to top according to the floor information of Hi's surveying household, 1≤Hi≤Fmax; if each surveying household entity Rik in R(Hi) is marked as visited, then add a new column in T, and add Hi to the position of the column with the number of rows of Row(Hi), 1≤k. For example, when traversing Room 101 in the basement, first mark it as visited, and then calculate to get Row(Hi)=1. At this time, Room 101 on the first floor, Room 201, Room 301, Room 401, Room 501, and Room 601 on the second floor and above in R(Hi) have not been marked as visited, so add a new column in T, and add Room 101 in the basement to the first row of the column.

[0057] S206. Add the surveying and mapping household entities in the surveying and mapping household entity association list to T.

[0058] For each surveying and mapping household entity Rik in Hi's association list R(Hi), if Rik does not exist in a column of T but all other surveying and mapping household entities in that column are in R(Rik), then Rik is added to that column; if Rik is not added to any column, then a new column is created for Rik, and Hi and surveying and mapping household entities with less rows than Row(Rik) in R(Hi) are added to the new column. For example, after adding Room 101 in the basement, other surveying and mapping households in its association list also need to be added to T.

[0059] S207, delete the columns with redundant information in T. In a complex building structure, step S206 will repeatedly add two columns with identical cells in each row, so it is necessary to delete a column with redundant information.

[0060] S208. Sort the columns of T.

[0061] Calculate the bounding rectangle of all the surveying and mapping households after the geometry is merged. If the X span of the bounding rectangle is greater than the Y span, sort all the columns from small to large according to the X coordinate of the average centroid of the surveying and mapping households in the column, otherwise sort by Y coordinate. The X span is greater than the Y span, which reflects that the surveying and mapping households are generally arranged along the X axis, so sort by the X coordinate of the centroid, otherwise sort by Y coordinate.

[0062] S209. Delete the extra blank cells in T.

[0063] In T, determine row by row whether there are one or more blank cells between surveying and mapping household entities with the same surveying and mapping household ID. If so, fill the blank cells with the surveying and mapping household entity information on the left.

[0064] S210. Merge the same surveying and mapping household entity cells in the row.

[0065] In T, determine row by row whether there are adjacent surveying and mapping household entities with the same surveying and mapping household ID. If so, merge the cells where these adjacent surveying and mapping household entities with the same surveying and mapping household ID are located. For example, in the generation process of Table 2, there is a room 102 above each storage room 1 and storage room 2, and these two rooms 102 have the same surveying and mapping household ID, so they can be merged into one cell.

[0066] S211. Add a row to the top of T to indicate the unit where the surveying and mapping household entity is located. Count the unit names of all surveying and mapping household entities in each column, and use the unit name with the most occurrences as the unit name of the column. After counting and processing all columns, merge adjacent cells with the same unit name for the newly added rows. For example, in the process of generating Table 2, by counting the unit names of Room 104, Room 204, Room 304, Room 404, Room 504, and Room 604, select the two units with the most occurrences as the unit name of this column. It should be noted that the unit names in T are statistically obtained and do not strictly represent the unit situation of all surveying and mapping households in a certain column.

[0067] S212. Take the generated first two-dimensional table data structure T1 as output.

[0068] S3. Generate a two-dimensional property table of property owners model.

[0069] like Figure 3As shown, generating a two-dimensional property table in the property ownership model includes the following steps:

[0070] S301, receiving a first two-dimensional table data structure T1.

[0071] S302. In T1, in the horizontal direction, that is, in each row, adjacent surveying and mapping household entity cells with the same property household ID are merged into one cell. Blank cells are used as placeholders and do not participate in any merging.

[0072] S303. In T1, in the vertical direction, that is, between adjacent rows, determine whether there are surveying and mapping household entity cells with the same property owner ID, adjacent positions, equal widths, and vertical alignment. If so, merge the cells. Blank cells are used as placeholders and do not participate in any merging.

[0073] S304: After the merging is completed, the second table data structure T2 generated is used as output.

[0074] S4. Export the two-dimensional property table.

[0075] like Figure 4 As shown, exporting a two-dimensional property table includes the following steps:

[0076] S401 , receiving a first two-dimensional table data structure T1 and a second two-dimensional table data structure T2 .

[0077] S402. Obtain the export file format of the two-dimensional real estate table according to the configuration file, and support exporting common file formats such as xlsx and json.

[0078] S403, output two-dimensional real estate table data.

[0079] The two-dimensional building table generated in the embodiment of the present invention includes a two-dimensional building table of the surveying household mode and a two-dimensional building table of the property household mode. The two-dimensional building table of the surveying household mode is a two-dimensional building table in which the cells only represent the surveying households, as shown in Table 2. The two-dimensional building table of the property household mode is a two-dimensional building table in which the cells only represent the property households, as shown in Table 3.

[0080] Table 2 Two-dimensional building table of surveying and mapping household model generated by the present invention

[0081]

[0082] Table 3 Two-dimensional building table of property owner model generated by the present invention

[0083]

[0084] like Figure 5 As shown, the embodiment of the present invention also provides a device for generating a two-dimensional building table from a three-dimensional property space entity, including:

[0085] The building three-dimensional property space entity loading module is used to load the building three-dimensional property space entity, including: obtaining the building three-dimensional property space entity information, including the surveying and mapping household ID, the property household ID, the surveying and mapping household geometry, the floor where the surveying and mapping household is located, and the unit where the surveying and mapping household is located, wherein the surveying and mapping household geometry is the two-dimensional geometry after the three-dimensional geometry of the surveying and mapping household is projected onto the two-dimensional plane; constructing N surveying and mapping household entities according to the building three-dimensional property space entity information, and creating an associated surveying and mapping household list R(Hi) for each surveying and mapping household entity Hi, and adding the associated surveying and mapping household to R(Hi), 1≤i≤N;

[0086] The two-dimensional building table generation module of the surveying and mapping household mode is used to generate a two-dimensional building table of the surveying and mapping household mode, including: receiving all surveying and mapping household entities and the corresponding associated surveying and mapping household lists; summarizing the floor information of the surveying and mapping households of all surveying and mapping household entities to obtain the total number of floors Fmax; constructing a two-dimensional table data structure T with a row number of Fmax, a column number of 0 and the ability to increase dynamically; sorting all surveying and mapping household entities from bottom to top according to the floor where the surveying and mapping household is located, adding the surveying and mapping household entities to T, and adding the surveying and mapping household entities in the surveying and mapping household entity associated list to T; deleting columns with redundant information in T, sorting the columns of T, deleting redundant blank cells in T, merging the same surveying and mapping household entity cells in the row, adding a row to the top row of T to indicate the unit where the surveying and mapping household entity is located, and finally generating the first two-dimensional table data structure T1;

[0087] The two-dimensional building table generation module of the property household mode is used to generate the two-dimensional building table of the property household mode, including: receiving the first two-dimensional table data structure T1, in T1, merging the surveying and mapping household entity cells with the same property household ID and adjacent in the horizontal direction, merging the surveying and mapping household entity cells with the same property household ID in the vertical direction, and blank cells are used as placeholders and do not participate in any merging, and generating a second table data structure T2 after the merging is completed;

[0088] And, a two-dimensional property table exporting module is used to export the two-dimensional property table, including: receiving a first two-dimensional table data structure T1 and a second table data structure T2, and outputting the two-dimensional property table data according to the file format required by the configuration file.

[0089] In summary, the present invention can generate a two-dimensional building table of a surveying household mode and a two-dimensional building table of a property household mode in sequence from a three-dimensional property space entity of a building, and output the two-dimensional building table according to the file format required by the input configuration file. It has a high promotion value and application prospect, and can be applied to many fields such as urban modernization, digital city, and digital real estate. For example, in the field of digital real estate, for massive two- and three-dimensional data of real estate in the city, the present invention can provide reliable data support for a unified building table management system that integrates architecture and property rights. For building managers, an accurate, concise, and intuitive two-dimensional building layout makes it easier to obtain building information, and can provide clearer decision support, thereby forming a more convenient and efficient building management plan. For buyers or renters, understanding the location of the purchased or rented house in the building and the spatial relationship with other households and other public spaces can bring better user experience and living experience. In addition, the present invention can also provide a unified, shared, and dynamically serviced building table layout view for real estate departments such as real estate transactions and real estate registration, house rentals, and house security, thereby avoiding the duplication of building layout structures and styles. This will help reduce the waste of repeated resource investment caused by "data barriers" between departments and reduce the overall expenses of various departments.

Claims

1. A method for generating a two-dimensional building table from a three-dimensional property space entity, characterized in that: The steps include: S1. Loading a three-dimensional property space entity of a building, including: obtaining the three-dimensional property space entity information of the building, including the surveying household ID, the property household ID, the surveying household geometry, the floor where the surveying household is located, and the unit where the surveying household is located, wherein the surveying household geometry is the two-dimensional geometry after the three-dimensional geometry of the surveying household is projected onto a two-dimensional plane; constructing N surveying household entities according to the three-dimensional property space entity information of the building, and creating an associated surveying household list R(Hi) for each surveying household entity Hi, and adding the associated surveying household to R(Hi), 1≤i≤N; S2, generating a two-dimensional building table of surveying and mapping household mode, including: receiving all surveying and mapping household entities and corresponding associated surveying and mapping household lists; summarizing the floor information of the surveying and mapping households of all surveying and mapping household entities to obtain the total number of floors Fmax; constructing a two-dimensional table data structure T with a row number of Fmax, a column number of 0 and the ability to increase dynamically; sorting all surveying and mapping household entities from bottom to top according to the floor where the surveying and mapping household is located, adding the surveying and mapping household entities to T, and adding the surveying and mapping household entities in the surveying and mapping household entity associated list to T; deleting columns with redundant information in T, sorting the columns of T, deleting redundant blank cells in T, merging the same surveying and mapping household entity cells in the row, adding a row to the top row of T to indicate the unit where the surveying and mapping household entity is located, and finally generating the first two-dimensional table data structure T1; S3, generating a two-dimensional property table of a property owner mode, including: receiving a first two-dimensional table data structure T1, merging adjacent surveying and mapping household entity cells with the same property owner ID in the horizontal direction in T1, merging surveying and mapping household entity cells with the same property owner ID in the vertical direction, blank cells are used as placeholders and do not participate in any merging, and generating a second table data structure T2 after the merging is completed; S4, exporting a two-dimensional property table, including: receiving a first two-dimensional table data structure T1 and a second table data structure T2, and outputting the two-dimensional property table data according to a file format required by a configuration file.

2. The method for generating a two-dimensional building table from a three-dimensional property space entity according to claim 1, characterized in that: In step S1, adding the associated surveying and mapping households to R(Hi) includes: For each pair of surveying and mapping household entities Hi and Hj, 1≤j≤N and i≠j, perform the following judgment: 1) If the floor where the surveying households of Hi and Hj are located is the same, then skip this pair of surveying household entities and determine the next pair of surveying household entities; 2) If the surveying and mapping household geometry of Hi completely contains the surveying and mapping household geometry of Hj, or the surveying and mapping household geometry of Hi intersects with the surveying and mapping household geometry of Hj and the intersection area is greater than half of the area of ​​Hj, then Hj is added to R(Hi).

3. The method for generating a two-dimensional building table from a three-dimensional property space entity according to claim 1, characterized in that: In step S2, the surveying and mapping household entity is added to T, including: for each surveying and mapping household entity Hi after sorting, first mark Hi as visited, and then calculate the row number Row(Hi) of Hi in T from bottom to top according to the floor information of the surveying and mapping household of Hi, 1≤Hi≤Fmax; if each surveying and mapping household entity Rik in R(Hi) is marked as visited, then add a new column to T, and add Hi to the position of the column row number Row(Hi), 1≤k.

4. The method for generating a two-dimensional building table from a three-dimensional property space entity according to claim 3, characterized in that: In step S2, the surveying and mapping household entities in the surveying and mapping household entity association list are added to T, including: for each surveying and mapping household entity Rik in the association list R(Hi) of Hi, if Rik does not exist in a column of T but all other surveying and mapping household entities in the column are in R(Rik), then Rik is added to the column; if Rik is not added to any column, a new column is created for Rik, and the surveying and mapping household entities in Hi and R(Hi) whose row number is less than Row(Rik) are added to the new column.

5. The method for generating a two-dimensional building table from a three-dimensional property space entity according to claim 1, characterized in that: In step S2, the columns of T are sorted, including: calculating the bounding rectangle of all surveying and mapping household geometries after merging, if the X span of the enclosing rectangle is greater than the Y span, then sorting all the columns from small to large according to the X coordinate of the average centroid of the surveying and mapping household geometries in the column, otherwise sorting by the Y coordinate.

6. The method for generating a two-dimensional building table from a three-dimensional property space entity according to claim 1, characterized in that: In step S2, the deletion of redundant blank cells in T includes: in T, determining row by row whether there are one or more blank cells between surveying and mapping household entities with the same surveying and mapping household ID; if so, filling the blank cells with the surveying and mapping household entity information on the left.

7. The method for generating a two-dimensional building table from a three-dimensional property space entity according to claim 1, characterized in that: In step S2, merging the cells of the same surveying and mapping household entity in the row includes: in T, determining row by row whether there are surveying and mapping household entities with the same surveying and mapping household ID and adjacent positions; if so, merging the cells where these adjacent surveying and mapping household entities with the same surveying and mapping household ID are located.

8. The method for generating a two-dimensional building table from a three-dimensional property space entity according to claim 1, characterized in that: In step S2, a row is added to the top row of T to indicate the unit where the surveying and mapping household entity is located, including: counting the unit names of all surveying and mapping household entities in each column, and taking the unit name with the most occurrences as the unit name of the column; after counting and processing all columns, for the newly added rows, adjacent cells with the same unit name are merged.

9. The method for generating a two-dimensional building table from a three-dimensional property space entity according to claim 1, characterized in that: In step S3, the vertical merging of surveying and mapping household entity cells with the same property owner ID includes: judging whether there are surveying and mapping household entity cells with the same property owner ID, adjacent positions, equal widths, and vertical alignment between adjacent rows, and if so, merging the cells.

10. A device for generating a two-dimensional building table from a three-dimensional property space entity, characterized in that: include: The building three-dimensional property space entity loading module is used to load the building three-dimensional property space entity, including: obtaining the building three-dimensional property space entity information, including the surveying and mapping household ID, the property household ID, the surveying and mapping household geometry, the floor where the surveying and mapping household is located, and the unit where the surveying and mapping household is located, wherein the surveying and mapping household geometry is the two-dimensional geometry after the three-dimensional geometry of the surveying and mapping household is projected onto the two-dimensional plane; constructing N surveying and mapping household entities according to the building three-dimensional property space entity information, and creating an associated surveying and mapping household list R(Hi) for each surveying and mapping household entity Hi, and adding the associated surveying and mapping household to R(Hi), 1≤i≤N; The two-dimensional building table generation module of the surveying and mapping household mode is used to generate a two-dimensional building table of the surveying and mapping household mode, including: receiving all surveying and mapping household entities and the corresponding associated surveying and mapping household lists; summarizing the floor information of the surveying and mapping households of all surveying and mapping household entities to obtain the total number of floors Fmax; constructing a two-dimensional table data structure T with a row number of Fmax, a column number of 0 and the ability to increase dynamically; sorting all surveying and mapping household entities from bottom to top according to the floor where the surveying and mapping household is located, adding the surveying and mapping household entities to T, and adding the surveying and mapping household entities in the surveying and mapping household entity associated list to T; deleting columns with redundant information in T, sorting the columns of T, deleting redundant blank cells in T, merging the same surveying and mapping household entity cells in the row, adding a row to the top row of T to indicate the unit where the surveying and mapping household entity is located, and finally generating the first two-dimensional table data structure T1; The two-dimensional building table generation module of the property household mode is used to generate the two-dimensional building table of the property household mode, including: receiving the first two-dimensional table data structure T1, in T1, merging the surveying and mapping household entity cells with the same property household ID and adjacent in the horizontal direction, merging the surveying and mapping household entity cells with the same property household ID in the vertical direction, and blank cells are used as placeholders and do not participate in any merging, and generating a second table data structure T2 after the merging is completed; And, a two-dimensional property table exporting module is used to export the two-dimensional property table, including: receiving a first two-dimensional table data structure T1 and a second table data structure T2, and outputting the two-dimensional property table data according to the file format required by the configuration file.