Hierarchical household modeling method, device and equipment and readable storage medium
Patent Information
- Application Number
- CN202210701422.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-20
- Publication Date
- 2026-09-22
- Estimated Expiration
- 2042-06-20
AI Technical Summary
[0004]有鉴于此,本发明实施例提供了一种分层分户的建模方法、装置、设备及可读存储介质,以解决现有技术中分层分户模型的建模效率较低、建模效率较低、人工成本较高、适用范围受限的问题
[0016]本发明实施例提供的分层分户的建模方法,用户在进行二维显示界面的交互时,可在三维显示界面实时反馈相应的三维模型,实现了建模效果实时查看,相较于二维显示界面的二维模型而言,能够更加直观的观察出问题所在,便于用户进行模型修正。
Smart Images

Figure CN117290917B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer-aided design technology, specifically to a hierarchical and modular modeling method, apparatus, device, and readable storage medium. Background Technology
[0002] The process of real estate registration generates real estate survey drawings and data, which include the building area and property rights information. Based on these drawings and data, the three-dimensional model of the floor and unit is built by reverse molding and has a wide range of applications in urban operation and maintenance, property management and other fields. At present, the reverse molding methods on the market mainly include: (1) Three-dimensional building automatic modeling method, which uses algorithms to extract floor and unit drawing information, identify unit objects, and perform base surface stretching to obtain a three-dimensional model of the floor and unit, and then associates it with the floor and unit database to realize the loading of model information. However, the main objects of unit identification are the unit outline and annotation information, and their acquisition and identification depend on the two-dimensional drawing recognition algorithm; (2) Using three-dimensional modeling platforms such as Revit, with the help of reverse molding plugins, a geometric model is built based on the floor and unit drawings, and then the floor and unit data is manually entered to realize the loading of model information; (3) Using the three-dimensional modeling function of real estate surveying software, a three-dimensional model can be built directly in the real estate surveying process.
[0003] The automatic 3D building modeling methods are heavily influenced by the quality of the drawings during the base surface extraction and attribute recognition stages. If the drawings are misidentified, attribute assignment will fail. For low-quality drawings, manual extraction and assignment are necessary. Using 3D modeling platforms like Revit requires reliance on third-party platforms, incurring a learning curve. Furthermore, after establishing the geometric model, business data needs to be manually entered, which is time-consuming, inefficient, and prone to errors. Real estate surveying software, being a CAD plugin, has a narrow compatibility range and struggles to handle surveying results from other software. In these methods, when merging and modeling areas within the same unit, the handling of common areas is lacking, leading to discrepancies between the final model and the actual building, such as inconsistent balcony heights or the absence of openwork in courtyards and excavated areas. Therefore, existing technologies suffer from low modeling accuracy, low modeling efficiency, high labor costs, and limited applicability during the construction of layered and unit-specific models. Summary of the Invention
[0004] In view of this, embodiments of the present invention provide a hierarchical household modeling method, apparatus, device, and readable storage medium to solve the problems of low modeling efficiency, high labor costs, and limited applicability of hierarchical household models in the prior art.
[0005] According to a first aspect, embodiments of the present invention provide a method for modeling a hierarchical and unit-based system, comprising: acquiring a hierarchical and unit-based drawing to be modeled and hierarchical and unit-based data; identifying closed regions in the hierarchical and unit-based drawing to obtain pre-identified region objects; in response to a division operation on the pre-identified region objects, dividing the pre-identified region objects into multiple sub-regions based on the division operation, and displaying the multiple sub-regions on an interactive interface; performing inter-layer alignment on the multiple sub-regions to obtain an alignment model for each region; in response to a model generation operation on the pre-identified region objects, generating a target hierarchical and unit-based model corresponding to the pre-identified region objects based on the hierarchical and unit-based data and the alignment model, and displaying the target hierarchical and unit-based model on the interactive interface.
[0006] The layered and unit-based modeling method provided in this invention acquires the layered and unit-based drawings and data to be modeled, identifies closed regions in the drawings, and obtains pre-identified region objects. Users can then divide these pre-identified region objects, avoiding misidentification caused by low-quality drawings. Users combine the layered and unit-based data with the alignment models of each region through an interactive interface to generate the target layered and unit-based model. This simple interaction enables efficient, fast, and autonomous information input, improving modeling efficiency and reducing manual workload. Furthermore, this modeling process only requires the layered and unit-based drawings and data, making it applicable to more scenarios and expanding its scope of application.
[0007] In conjunction with the first aspect, in a first embodiment of the first aspect, the step of dividing the pre-identified region object into multiple sub-regions based on the division operation in response to the division operation of the pre-identified region object includes: obtaining a closed polygon corresponding to the drawing operation in response to the drawing operation of the pre-identified region object; and dividing the pre-identified region object into multiple floor regions based on the closed polygon.
[0008] In conjunction with the first embodiment of the first aspect, in the second embodiment of the first aspect, the method further includes: displaying a first editing area corresponding to the closed polygon; and generating floor attribute information corresponding to the floor area based on the first editing operation in response to a first editing operation in the first editing area.
[0009] In conjunction with the first embodiment of the first aspect, in the third embodiment of the first aspect, the step of dividing the pre-identified region object into multiple sub-regions based on the division operation in response to the division operation of the pre-identified region object further includes: obtaining a dividing line corresponding to the dividing line drawing operation in response to the division operation of the pre-identified region object; and dividing the pre-identified region object into multiple unit regions based on the dividing line.
[0010] In conjunction with the third embodiment of the first aspect, in the fourth embodiment of the first aspect, the method further includes: displaying a second editing area corresponding to the dividing line; and generating cell attribute information corresponding to the cell region based on the second editing operation in response to a second editing operation in the second editing area.
[0011] The layered and unit-based modeling method provided in this invention allows users to divide pre-identified area objects by simply drawing (drawing closed polygons, dividing lines, etc.) and assigning them floor attribute information, unit attribute information, etc. This achieves efficient, fast, and autonomous information input, eliminating the need for users to manually input division data, avoiding input errors, and improving users' modeling efficiency.
[0012] In conjunction with the third embodiment of the first aspect, in the fifth embodiment of the first aspect, the step of dividing the pre-identified region object into multiple sub-regions based on the division operation in response to the division operation of the pre-identified region object further includes: generating a household number and a household relationship based on the household identification operation in response to the household identification operation of the pre-identified region object.
[0013] The hierarchical and household-based modeling method provided in this invention allows users to identify households in a pre-identified area through an interactive interface, generating the corresponding household number and household relationship for each pre-identified area object. This eliminates the need for manual input by the user, reducing labor costs, avoiding input errors, and improving modeling accuracy.
[0014] In conjunction with any one of the first to fifth embodiments of the first aspect, in the sixth embodiment of the first aspect, the interactive interface includes a two-dimensional display interface and a three-dimensional display interface, and displaying the plurality of sub-regions on the interactive interface includes: displaying a two-dimensional model of each region on the two-dimensional display interface, the two-dimensional model including the region shape, region name and region type; and displaying a three-dimensional model of each region on the three-dimensional display interface.
[0015] In conjunction with the sixth embodiment of the first aspect, in the seventh embodiment of the first aspect, the method further includes: in response to a region selection operation on a two-dimensional model on the two-dimensional display interface, displaying a three-dimensional model corresponding to the region selection operation on the three-dimensional display interface.
[0016] The layered and unit-specific modeling method provided in this invention allows users to interact with the two-dimensional display interface while receiving real-time feedback of the corresponding three-dimensional model on the three-dimensional display interface. This enables real-time viewing of the modeling effect and, compared to the two-dimensional model on the two-dimensional display interface, allows for more intuitive observation of problems, facilitating model correction for users.
[0017] In conjunction with the sixth embodiment of the first aspect, in the eighth embodiment of the first aspect, the interactive interface further includes an attribute information display area, and the step of displaying the plurality of sub-areas on the interactive interface further includes: in response to an attribute selection operation in the attribute information display area, displaying a two-dimensional model corresponding to the attribute selection operation on the two-dimensional display interface, and displaying a three-dimensional model corresponding to the attribute selection operation on the three-dimensional display interface.
[0018] The hierarchical and segmented modeling method provided in this embodiment of the invention allows users to interact in the attribute information display area, displaying the corresponding two-dimensional model on the two-dimensional display interface and simultaneously displaying the corresponding three-dimensional model in real time on the three-dimensional display interface. This achieves the linkage display of two-dimensional and three-dimensional models, facilitating timely model correction by users and improving the accuracy of modeling.
[0019] In conjunction with the sixth embodiment of the first aspect, in the ninth embodiment of the first aspect, when the two-dimensional model is a household area model, the method further includes: calibrating the household area model based on the hierarchical household data to obtain a calibrated household area model; when the calibrated household area model matches preset information, generating a three-dimensional model corresponding to the household area model on the three-dimensional display interface.
[0020] The hierarchical household modeling method provided in this invention calibrates a two-dimensional household area model by referencing hierarchical household data. When the calibrated household area model matches preset information, the hierarchical household data and the two-dimensional household area model are combined to generate a three-dimensional model. Matching information within the two-dimensional model facilitates model modification and adjustment, not only improving the accuracy of household area identification but also avoiding reliance on household area identification results, thus enhancing the accuracy and efficiency of subsequent hierarchical household model construction.
[0021] In conjunction with the first aspect, in the tenth embodiment of the first aspect, obtaining the layered and unit-specific drawings and data to be modeled includes: in response to an upload operation of the layered and unit-specific drawings and data, obtaining the layered and unit-specific drawings and data corresponding to the upload operation.
[0022] The hierarchical and unit-based modeling method provided in this invention obtains the corresponding hierarchical and unit-based drawings and data through user upload operations, making the acquisition of drawings and data more flexible.
[0023] In conjunction with the tenth embodiment of the first aspect, in the eleventh embodiment of the first aspect, the method further includes: parsing the layered and unit-specific data to determine the common areas in the layered and unit-specific drawings.
[0024] The hierarchical and unit-based modeling method provided in this invention solves the problem of difficulty in determining the category of closed areas based on preset rules by parsing hierarchical and unit-based data, and avoids discrepancies between the generated model and the actual building.
[0025] In conjunction with the first aspect, in the twelfth embodiment of the first aspect, the step of performing inter-layer alignment on the plurality of sub-regions to obtain an alignment model for each region includes: in response to a selection operation on a reference layer, determining a target reference layer based on the selection operation; identifying connected sub-regions in non-target reference layers and determining the connected sub-regions as the minimum alignment unit; obtaining a reference point corresponding to the target reference layer and a positioning point corresponding to the minimum alignment unit, wherein the reference point and the positioning point correspond one-to-one; connecting the positioning point and the reference point to generate an alignment positioning line between the minimum alignment unit and the target reference layer; and performing inter-layer alignment on each of the minimum alignment units based on the alignment positioning line.
[0026] The layered and unit-based modeling method provided in this invention generates positioning lines by connecting the reference point of the target reference layer selected by the user with the positioning points corresponding to each minimum alignment unit. Then, based on the positioning lines, each minimum alignment unit is aligned with the target reference layer, providing users with a highly flexible and convenient method for aligning inter-layer models, which facilitates the subsequent accurate and efficient generation of layered and unit-based models.
[0027] In conjunction with the first aspect, in a thirteenth embodiment of the first aspect, the method further includes: in response to an export operation on the target hierarchical household model, exporting the target hierarchical household model to a target location.
[0028] The hierarchical and household-based modeling method provided in this embodiment of the invention facilitates users' flexible viewing of the target hierarchical and household-based model by exporting the target hierarchical and household-based model to the target location.
[0029] According to a second aspect, embodiments of the present invention provide a modeling apparatus for layered and individual households, comprising: an acquisition module for acquiring layered and individual household drawings and layered and individual household data to be modeled; an identification module for identifying closed regions in the layered and individual household drawings to obtain pre-identified region objects; a first response module for responding to a division operation on the pre-identified region objects, dividing the pre-identified region objects into multiple sub-regions based on the division operation, and displaying the multiple sub-regions on an interactive interface; an alignment module for performing inter-layer alignment on the multiple sub-regions to obtain an alignment model for each region; and a second response module for responding to a model generation operation on the pre-identified region objects, generating a target layered and individual household model corresponding to the pre-identified region objects based on the layered and individual household data and the alignment model, and displaying the target layered and individual household model on the interactive interface.
[0030] According to a third aspect, an embodiment of the present invention provides an electronic device, including: a memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the computer instructions to perform the hierarchical and subdivided household modeling method described in the first aspect or any embodiment of the first aspect.
[0031] According to a fourth aspect, embodiments of the present invention provide a computer-readable storage medium storing computer instructions for causing a computer to perform the hierarchical and unit-based modeling method described in the first aspect or any embodiment of the first aspect.
[0032] It should be noted that the beneficial effects of the hierarchical and household-specific modeling device, electronic device, and computer-readable storage medium provided in the embodiments of the present invention can be found in the description of the corresponding content in the hierarchical and household-specific modeling method, and will not be repeated here. Attached Figure Description
[0033] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0034] Figure 1 This is a flowchart of a hierarchical and household-based modeling method according to an embodiment of the present invention;
[0035] Figure 2 This is another flowchart of the hierarchical and household-based modeling method according to an embodiment of the present invention;
[0036] Figure 3 This is another flowchart of the hierarchical and household-based modeling method according to an embodiment of the present invention;
[0037] Figure 4 This is a schematic diagram illustrating the uploading of drawings and data according to an embodiment of the present invention;
[0038] Figure 5 This is a schematic diagram of drawing a closed polygon according to an embodiment of the present invention;
[0039] Figure 6 This is a schematic diagram of the floor area division according to an embodiment of the present invention;
[0040] Figure 7 This is a schematic diagram of the drawing of the dividing line according to an embodiment of the present invention;
[0041] Figure 8This is a schematic diagram of user identification according to an embodiment of the present invention;
[0042] Figure 9 This is a schematic diagram of a two-dimensional display interface according to an embodiment of the present invention;
[0043] Figure 10 This is a schematic diagram illustrating the linkage between a two-dimensional model and a three-dimensional model according to an embodiment of the present invention;
[0044] Figure 11 This is another schematic diagram illustrating the linkage between a two-dimensional model and a three-dimensional model according to an embodiment of the present invention;
[0045] Figure 12 This is another schematic diagram illustrating the linkage between a two-dimensional model and a three-dimensional model according to an embodiment of the present invention;
[0046] Figure 13 This is a structural block diagram of a hierarchical and household-specific modeling device according to an embodiment of the present invention;
[0047] Figure 14 This is a schematic diagram of the hardware structure of the electronic device provided in an embodiment of the present invention. Detailed Implementation
[0048] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0049] Existing methods for constructing 3D models based on floor-to-floor and unit-specific drawings mainly include: automatic 3D building modeling methods, using 3D modeling platforms such as Revit, and using the 3D modeling functions of real estate surveying software. However, all of these methods cannot avoid manual data extraction or entry, or incompatibility with other applications during the construction of floor-to-floor and unit-specific models, making it difficult to simultaneously balance modeling efficiency, labor costs, and applicability.
[0050] Based on this, the embodiments of the present invention enable users to divide areas by simply annotating drawings. Through simple interaction, efficient, fast, and autonomous information input can be achieved, improving the user's modeling efficiency and reducing the user's manual workload. Moreover, the modeling process only requires obtaining the layered and unit-specific drawings and data to carry out the relevant modeling process, which can be applied to more application scenarios and improve the scope of application.
[0051] According to an embodiment of the present invention, an embodiment of a hierarchical and unit-based modeling method is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0052] This embodiment provides a hierarchical and segmented modeling method that can be used in electronic devices such as mobile phones, tablets, and computers. Figure 1 This is a flowchart of a hierarchical and household-based modeling method according to an embodiment of the present invention, such as... Figure 1 As shown, the process includes the following steps:
[0053] S11, obtain the floor plan and floor data of the unit to be modeled.
[0054] The layered and unit-specific drawings are the survey drawings to be modeled. These drawings can be in DWG format and can be uploaded by users, read from storage space by electronic devices, or obtained through other means. No specific limitations are made here.
[0055] Layered and unit-specific data is used to represent the modeling data required in the modeling process. This layered and unit-specific data can be in xls or xlsx format. It can be uploaded by users, read by electronic devices from the database corresponding to the layered and unit-specific drawings, or obtained through other means, which are not specifically limited here.
[0056] S12 identifies closed areas in the layered and unit-specific drawings to obtain pre-identified area objects.
[0057] The pre-identified area object is an area object obtained by electronic equipment from the pre-identification of the floor plan. This area object can include attribute information such as closed area, area name, type of closed area, and the unit to which the closed area belongs. Among them, the type of closed area can include interior room, shop, balcony, courtyard, staircase / elevator, public area, non-public area, etc., but the specific type of closed area is not limited here.
[0058] Specifically, the electronic device can use image recognition algorithms to identify the layered and unit-specific drawings it has acquired, and identify closed regions and their corresponding area names from the drawings. Based on the currently identified closed regions and their names, it further determines the type of each closed region and the unit to which each closed region belongs. The electronic device then identifies the closed regions, their names, types, and the units to which they belong as pre-identified area objects.
[0059] S13, in response to the division operation of the pre-identified region object, the pre-identified region object is divided into multiple sub-regions based on the division operation, and the multiple sub-regions are displayed on the interactive interface.
[0060] The segmentation operation refers to the user's actions of dividing the pre-identified area into floors, units, and households. Multiple sub-areas represent the multiple sub-area objects obtained by the electronic device from dividing the pre-identified area. Specifically, the user can mark and segment the pre-identified area through the interactive interface. Correspondingly, the electronic device can respond to the user's segmentation operation, divide the pre-identified area into various floor areas, unit areas, and household areas, and display the segmentation results on the interactive interface for the user to confirm whether the segmentation is correct. If the segmentation is incorrect, manual correction can be performed.
[0061] It should be noted that during the pre-identification process, if there are any areas that are missed or misidentified, the user can mark them on the drawing through the interactive interface of the electronic device to correct the missed or misidentified areas.
[0062] Specifically, for omission detection, users can use polylines to draw the outline of the omission detection area in the two-dimensional interface of the interactive interface (or directly select the graphic element of the area outline), and edit the name of the area to label the omission detection area.
[0063] For misidentification, users can select the name of the misidentified area and delete it using a preset deletion method (such as the delete key).
[0064] S14, perform inter-layer alignment on multiple sub-regions to obtain the alignment model of each region.
[0065] After dividing the floor areas, the electronic device can select any floor as the reference floor and perform alignment processing on the corresponding floor models of each floor based on the reference floor to complete the inter-floor alignment of each area and obtain the aligned model of each area after inter-floor alignment.
[0066] Specifically, each floor contains multiple closed areas, which constitute the user area. That is, each floor has its own inter-floor model. After the user confirms that the sub-area division is correct through the interactive interface, the user can select any floor as the reference floor through the interactive interface. Based on the inter-floor model of the reference floor, the inter-floor models of each floor are aligned to obtain the final aligned model.
[0067] S15, in response to the model generation operation for the pre-identified area object, generates the target hierarchical household model corresponding to the pre-identified area object based on the hierarchical household data and the alignment model, and displays the target hierarchical household model on the interactive interface.
[0068] After aligning the inter-layer models, users can assemble the models of each sub-region through an interactive interface to generate a new model. Correspondingly, the electronic device can respond to user input for model generation, generating a 3D spatial model corresponding to the floor-by-floor drawings, and incorporating the corresponding data from the floor-by-floor data to create the target floor-by-floor model. Simultaneously, this target floor-by-floor model is displayed on the interactive interface, allowing users to easily view it on the front of the electronic device. For example, the electronic device can display project / building information in a pop-up window, presenting project-building-floor-unit-region information in a directory tree structure. When the user clicks on a unit / region in the directory tree, the electronic device can display the corresponding unit / region information.
[0069] The layered and unit-based modeling method provided in this embodiment acquires the layered and unit-based drawings and data to be modeled, identifies closed regions in the drawings, and obtains pre-identified region objects. Users can then divide these pre-identified region objects, avoiding misidentification caused by low-quality drawings. Users combine the layered and unit-based data with the alignment models of each region through an interactive interface to generate the target layered and unit-based model. This simple interaction enables efficient, fast, and autonomous information input, improving modeling efficiency and reducing manual workload. Furthermore, this modeling process only requires the layered and unit-based drawings and data, making it applicable to more scenarios and expanding its scope of application.
[0070] This embodiment provides a hierarchical and segmented modeling method that can be used in electronic devices such as mobile phones, tablets, and computers. Figure 2 This is a flowchart of a hierarchical and household-based modeling method according to an embodiment of the present invention, such as... Figure 2 As shown, the process includes the following steps:
[0071] S21, Obtain the floor plan and floor plan data of the units to be modeled. For detailed explanations, please refer to the relevant descriptions in the above embodiments; they will not be repeated here.
[0072] S22, identify closed areas in the floor plan and unit-specific drawings to obtain pre-identified area objects. For detailed explanations, please refer to the relevant descriptions in the above embodiments; they will not be repeated here.
[0073] S23, in response to the division operation of the pre-identified region object, the pre-identified region object is divided into multiple sub-regions based on the division operation, and the multiple sub-regions are displayed on the interactive interface.
[0074] Specifically, step S23 above may include:
[0075] S231, in response to the drawing operation on the pre-identified region object, obtain the closed polygon corresponding to the drawing operation.
[0076] Closed polygons are used to select floor elements within a pre-identified area object. The drawing operation involves the user drawing a closed wireframe on the pre-identified area object. Specifically, when a user needs to divide floors, they can access the floor division operation through the floor division tab on the interactive interface, draw a closed polygon for floor division, and the electronic device can respond to the user's drawing operation and obtain the corresponding closed polygon, such as... Figure 5 As shown. The closed polygon is a closed wireframe composed of multiple line segments. The closed polygon can be a regular polygon, such as a rectangle, or an irregular polygon. Here, the drawing operation of the closed polygon does not involve line segments, as long as the drawn polygon is closed.
[0077] S232, divides the pre-identified area object into multiple floor areas based on closed polygons.
[0078] The electronic device selects each floor element within the pre-identified area object based on the closed polygon drawn by the user, thus obtaining multiple floor areas corresponding to the floor and unit drawings, such as... Figure 6 As shown.
[0079] Optionally, when the electronic device recognizes the closed polygon drawn by the user, step S232 may also include:
[0080] (1) Display the first editing area corresponding to the closed polygon.
[0081] The first editing area is used for editing floor information. This first editing area is a text editing box, and it can be located on one side of a closed polygon, such as... Figure 5 The left side of the rectangle shown is not specifically defined here; those skilled in the art can determine it according to actual needs.
[0082] Specifically, once the electronic device determines that the user has completed drawing a closed polygon, it can automatically pop up a text editing box on one side of the closed polygon so that the user can enter relevant information.
[0083] (2) In response to the first editing operation in the first editing area, generate the floor attribute information corresponding to the floor area based on the first editing operation.
[0084] Floor attribute information is used to represent relevant information about the current floor, such as the floor number. Specifically, the user can edit the floor attribute information based on the floor currently selected by the closed polygon. Correspondingly, the electronic device can respond to the user's editing operation in the first editing area and generate floor attribute information corresponding to that editing operation.
[0085] As an optional implementation, step S23 may further include:
[0086] S233, in response to the drawing operation of the dividing line of the pre-identified region object, obtain the dividing line corresponding to the drawing operation.
[0087] Dividing lines are used to separate different units on the same floor. The drawing operation involves the user drawing a line segment on a pre-identified area object. Specifically, when a user needs to divide units, they can access the unit division operation through the unit division tab on the interactive interface, draw the dividing lines used for unit division, and correspondingly, the electronic device can respond to the user's dividing line drawing operation and obtain the corresponding dividing line, such as... Figure 7 As shown.
[0088] S234, divide the pre-identified region object into multiple unit regions based on the dividing line.
[0089] The electronic device segments the different unit elements contained in the same floor of the pre-identified area object according to the dividing lines drawn by the user, and obtains multiple unit areas corresponding to each floor in the pre-identified area object, such as... Figure 7 As shown.
[0090] Optionally, when the electronic device recognizes the dividing line drawn by the user, step S234 may also include:
[0091] (1) Display the second editing area corresponding to the dividing line.
[0092] The second editing area is used for editing unit information. This second editing area is a text editing box, and it can be located on different sides of the dividing line, such as... Figure 7 The dividing line shown is displayed on both sides. Specifically, after the electronic device determines that the user has completed drawing the dividing line, it can automatically pop up text editing boxes on both sides of the dividing line so that the user can enter relevant information.
[0093] (2) In response to the second editing operation in the second editing area, generate the cell attribute information corresponding to the cell area based on the second editing operation.
[0094] Unit attribute information is used to represent relevant information about different units corresponding to the current floor, such as the unit number. Specifically, users can edit unit attribute information based on the unit division point of the current floor according to the dividing line. Correspondingly, the electronic device can respond to the user's editing operation in the second editing area and generate unit attribute information corresponding to that editing operation.
[0095] As an optional implementation, step S23 may further include:
[0096] S235, in response to the household identification operation on the pre-identified area object, generates a household number and household relationship based on the household identification operation.
[0097] Household identification is an operation triggered by the user through an interactive interface to divide the same unit within a pre-identified area into households. Household numbers and household relationships can be generated by pre-defined rules. Here, the rules for generating household numbers and household relationships are not limited, and those skilled in the art can determine them according to actual needs.
[0098] like Figure 8 As shown, when a user clicks the "Household Identification" function in the function display area of the interactive interface, the electronic device can respond to the user's household identification operation. Following pre-set generation rules, based on floor division information, unit division information, and area names, it generates household numbers and household relationships, which are then displayed on the interactive interface. Specifically, the electronic device can change the area name to the household name, and areas within the same household are connected by association lines, all of which can be edited by the user.
[0099] As an optional implementation, the interactive interface may include a two-dimensional display interface and a three-dimensional display interface, and step S23 above may further include:
[0100] S236 displays the two-dimensional models of each region on the two-dimensional display interface and the three-dimensional models of each region on the three-dimensional display interface.
[0101] The two-dimensional model includes the region shape, region name, and region type. The two-dimensional display interface can provide real-time feedback to the user on the drawing's recognition results; that is, the two-dimensional display interface can display the two-dimensional model corresponding to the drawing. For example... Figure 9 As shown, different area shapes are filled with different colors; area names can be displayed in bold text of a certain color in the center of the area, such as black or white; area types can be divided into six categories: interior, balcony, courtyard, non-public area, balcony, and recessed area. Different area types are displayed with specific icons, and all of them can be edited by the user.
[0102] The 3D display interface can provide users with real-time feedback on the modeling effect of the 3D model and display the 3D model of each area in a layered manner, such as... Figure 6 The three-dimensional display interface shown.
[0103] As an optional implementation, the above method may further include: in response to a region selection operation on a two-dimensional model on a two-dimensional display interface, displaying a three-dimensional model corresponding to the region selection operation on a three-dimensional display interface.
[0104] The area selection operation refers to the area selected by the user through the two-dimensional display interface, such as a floor area or a unit area. Specifically, the user can click on a certain area of the two-dimensional model displayed in the two-dimensional display interface, and the electronic device can respond to the user's area selection operation by displaying a three-dimensional model of the selected area on the three-dimensional display interface.
[0105] For example, a user can click on a specific floor area in the 2D display interface, and the 3D display interface will only show the model of that corresponding floor, achieving real-time linkage between the 2D and 3D display interfaces. Figure 10 As shown.
[0106] For example, a user can click on a specific area in the 2D display interface, and the 3D display interface will only show the model of that corresponding area, achieving real-time interaction between the 2D and 3D display interfaces. Figure 11 As shown.
[0107] As an optional implementation, the interactive interface also includes an attribute information display area, and step S23 may further include:
[0108] S237, in response to an attribute selection operation in the attribute information display area, displays a two-dimensional model corresponding to the attribute selection operation on the two-dimensional display interface, and displays a three-dimensional model corresponding to the attribute selection operation on the three-dimensional display interface.
[0109] The attribute information display area displays the household information, floor information, and unit information contained in the pre-identified area object. Users can select any attribute in the attribute information display area, and the corresponding model can be displayed on the two-dimensional display interface and the three-dimensional display interface of the electronic device.
[0110] like Figure 12 As shown, the user can click on any household name in the attribute information display area. Correspondingly, the electronic device can respond to the user's click operation to determine the selected household name, display a two-dimensional model corresponding to the household name on the two-dimensional display interface, and display the corresponding three-dimensional model on the three-dimensional display interface.
[0111] Optionally, when identifying the household area and obtaining a two-dimensional household area model, the above method may further include the following when generating a three-dimensional model of the household area:
[0112] (1) The household area model is calibrated based on the hierarchical household data to obtain the calibrated household area model.
[0113] Electronic devices determine pre-set household information by analyzing hierarchical and sub-household data. When obtaining a two-dimensional household area model based on the "household identification" operation, the electronic device can check whether it matches the household information. If the two-dimensional household area model does not match the household information, the electronic device can calibrate the household area model with reference to the hierarchical and sub-household data to obtain a calibrated household area model.
[0114] If the two-dimensional household area model cannot match the household information, the electronic device will generate a prompt message so that the user can correct the household identification result according to the prompt message, so that the household area model can match the household information.
[0115] (2) When the calibrated household area model matches the preset information, a three-dimensional model corresponding to the household area model is generated on the three-dimensional display interface.
[0116] The preset information consists of user-defined information archived on the electronic device. When the calibrated user area model matches the preset information, the electronic device integrates the hierarchical user data with the user area model to generate the corresponding 3D model.
[0117] S24, perform inter-layer alignment on multiple sub-regions to obtain the alignment model for each region. For detailed explanations, please refer to the relevant descriptions in the above embodiments; they will not be repeated here.
[0118] S25, in response to the model generation operation for the pre-identified area object, a target hierarchical household model corresponding to the pre-identified area object is generated based on the hierarchical household data and the alignment model, and the target hierarchical household model is displayed on the interactive interface. For detailed explanation, please refer to the relevant descriptions in the above embodiments, which will not be repeated here.
[0119] It should be noted that, after completing the floor division, unit division and household identification can be skipped, and steps S24 and S25 can be executed to obtain the target hierarchical household model without household information and unit area information; alternatively, after completing the floor division, unit division can be executed, household identification can be skipped, and steps S24 and S25 can be executed to obtain the target hierarchical household model without household information; alternatively, after completing the floor division, unit division can be skipped, household identification can be executed, and then steps S24 and S25 can be executed to obtain the target hierarchical household model without unit area information; alternatively, floor division, unit division, and household identification can be executed sequentially, and after completing floor division, unit division, and household identification, steps S24 and S25 can be executed to obtain the target hierarchical household model with floor information, household information, and unit area information.
[0120] The layered and unit-based modeling method provided in this embodiment introduces interactive information on the basis of layered and unit-based drawing recognition. By performing simple drawing on the pre-identified area object (drawing closed polygons, dividing lines, etc.), the user can divide the pre-identified area object and assign it floor attribute information, unit attribute information, etc., which realizes efficient, fast and autonomous information input and ensures that the user can input the correct floor, unit and other information at the lowest cost.
[0121] The hierarchical and household-based modeling method provided in this embodiment, based on the recognition of hierarchical and household-based drawings, calibrates the two-dimensional household area model by referring to hierarchical and household-based data. When the calibrated household area model is matched with preset information, the hierarchical and household-based data are combined with the two-dimensional household area model to generate a three-dimensional model. Matching information within the two-dimensional model makes model modification and adjustment easier, not only improving the accuracy of household area recognition but also avoiding dependence on household area recognition results, thus improving the accuracy and efficiency of subsequent hierarchical and household-based model construction.
[0122] The layered and unit-specific modeling method provided in this embodiment allows users to interact with the two-dimensional display interface while receiving real-time feedback of the corresponding three-dimensional model on the three-dimensional display interface. This enables real-time viewing of the modeling effect and the linked display of the two-dimensional and three-dimensional models. Compared with the two-dimensional model on the two-dimensional display interface, it allows for more intuitive observation of problems, making it easier for users to correct the model and improve the accuracy of modeling.
[0123] This embodiment provides a hierarchical and segmented modeling method that can be used in electronic devices such as mobile phones, tablets, and computers. Figure 3 This is a flowchart of a hierarchical and household-based modeling method according to an embodiment of the present invention, such as... Figure 3 As shown, the process includes the following steps:
[0124] S31, obtain the floor plan and floor data of the unit to be modeled.
[0125] Specifically, step S31 may include: in response to the upload operation of the floor plan and floor data, obtaining the floor plan and floor data corresponding to the upload operation.
[0126] The upload operation involves users uploading drawings or data through an interactive interface. Specifically, the interface displays "Drawing Upload" and "Data Upload" tabs. Users can select the upload tab using a mouse, keyboard, or touchscreen to upload the floor plan drawings and floor plan data to the electronic device. Correspondingly, the electronic device can retrieve the corresponding floor plan drawings and floor plan data based on the user's upload operation.
[0127] like Figure 4 As shown, the interactive interface displays labels such as project name, uploaded drawings, and basic information. Users can enter the building name corresponding to the drawings in the text box for project name, facilitating later searching. In the "Upload File" section for uploaded drawings, users can upload files in the appropriate format (e.g., dwg). The "Upload File" section for basic information refers to the upload of floor and unit data. This data does not necessarily have to be uploaded when creating a new project; those skilled in the art can upload it later or retrieve it directly from a relevant database. When uploading floor and unit data during the creation of a new project, users can directly select the appropriate data file format for upload.
[0128] Optionally, the above method may further include: parsing the layered and unit-specific data to determine the common areas in the layered and unit-specific drawings.
[0129] After acquiring the floor plan and unit data uploaded by the user, the electronic device can analyze the building information contained in the floor plan and thus determine the unit area and public area (such as property management room, fire control room, etc.) of the floor plan. This allows for the differentiation between unit area and public area and avoids misidentification.
[0130] This method identifies public areas by parsing hierarchical and unit-specific data, solving the problem of difficulty in determining the category of closed areas based on preset rules and avoiding discrepancies between the generated model and the actual building.
[0131] S32, identify closed areas in the floor plan and unit-specific drawings to obtain pre-identified area objects. For detailed explanations, please refer to the relevant descriptions in the above embodiments; they will not be repeated here.
[0132] S33, in response to the segmentation operation of the pre-identified region object, the pre-identified region object is divided into multiple sub-regions based on the segmentation operation, and the multiple sub-regions are displayed on the interactive interface. For detailed explanation, please refer to the relevant descriptions in the above embodiments, which will not be repeated here.
[0133] S34 performs inter-layer alignment on multiple sub-regions to obtain the alignment model for each region.
[0134] Specifically, step S34 above may include:
[0135] S341, in response to the selection operation of the reference layer, determines the target reference layer based on the selection operation.
[0136] The reference layer is a floor that the user selects from various floors for inter-layer alignment within a region. Specifically, after dividing the pre-identified area into multiple sub-regions, the electronic device can issue a prompt. Upon observing this prompt, the user can select any floor from the sub-regions as the target reference layer, such as the first floor. Correspondingly, the electronic device can determine the floor corresponding to the user's selection and designate that selected floor as the target reference layer.
[0137] S342, identify connected sub-regions in the non-target base layer and determine the connected sub-regions as the smallest alignment unit.
[0138] The electronic device detects the sub-regions contained in other non-target base layers, determines whether the sub-regions are connected, that is, identifies multiple interconnected sub-regions of the non-target reference layer, and uses the connected sub-regions as the minimum alignment unit to perform inter-layer alignment between the non-target base layer and the target reference layer.
[0139] S343, obtain the reference point corresponding to the target reference layer and the positioning point corresponding to the smallest alignment unit. The reference point and the positioning point correspond one-to-one.
[0140] A reference point is a location point corresponding to a reference layer used to confirm the reference features. The reference features may include reference planes, reference axes, reference curves, coordinate systems, etc. The reference features are not specifically limited here. Those skilled in the art can know how to obtain the reference points corresponding to the reference layer, so they will not be described in detail here.
[0141] The positioning point corresponding to the smallest alignment unit is the position point corresponding to the reference point. This positioning point corresponds one-to-one with the reference point, that is, the positioning point corresponding to the smallest alignment unit and the reference point corresponding to the target reference layer are mutually corresponding in position.
[0142] S344 connects the positioning point and the reference point to generate the alignment positioning line between the smallest alignment unit and the target reference layer.
[0143] Positioning lines are used for model alignment between different floors. The electronic device connects the positioning point corresponding to each minimum alignment unit with the reference point corresponding to the reference layer to form an alignment positioning line. That is, the electronic device can sequentially connect the reference point and the positioning point corresponding to each minimum alignment unit to generate alignment positioning lines between each minimum alignment unit and the target reference layer.
[0144] S345, performs inter-layer alignment of each smallest alignment unit based on the alignment positioning line.
[0145] After obtaining the alignment positioning lines, the electronic device can use these alignment positioning lines to perform interlayer alignment processing between the target reference layer and the non-target reference layer to obtain an interlayer alignment model.
[0146] S35, in response to the model generation operation for the pre-identified area object, based on the hierarchical household data and the alignment model, a target hierarchical household model corresponding to the pre-identified area object is generated, and the target hierarchical household model is displayed on the interactive interface. For detailed explanations, please refer to the relevant descriptions in the above embodiments, which will not be repeated here.
[0147] S36, in response to the export operation of the target hierarchical household model, export the target hierarchical household model to the target location.
[0148] The target location is the export location for the target hierarchical and individual household model. After the electronic device completes the assembly of the models for each area and obtains the target hierarchical and individual household model, the user can export the target hierarchical and individual household model to the local machine or other application platforms.
[0149] For example, the interactive interface can display a "Model Export" tab, which the user can click to export the model. Upon confirming the export, the electronic device can display a selection box for the export location, allowing the user to choose the desired location for the target floor plan model. Accordingly, the electronic device can export the target floor plan model to the corresponding location based on the user's export operation. Of course, other export methods can also be used, and this application does not impose specific limitations on this; those skilled in the art can determine the appropriate method based on actual needs.
[0150] The layered and unit-based modeling method provided in this embodiment obtains the corresponding layered and unit-based drawings and data through user upload operations, making the acquisition of drawings and data more flexible. By connecting the reference point of the target reference layer selected by the user with the corresponding connected areas of each sub-region, positioning lines are generated. Based on these positioning lines, the sub-regions are aligned between layers, providing users with a highly flexible and convenient method for aligning inter-layer models, facilitating the subsequent accurate and efficient generation of layered and unit-based models. By exporting the target layered and unit-based model to the target location, users can flexibly view the target layered and unit-based model.
[0151] This embodiment also provides a hierarchical and unit-based modeling device, which is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. The term "module" as used below refers to a combination of software and / or hardware that performs a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation or a combination of software and hardware is also possible and contemplated.
[0152] This embodiment provides a layered and unit-based modeling device, such as... Figure 13 As shown, it includes:
[0153] Module 41 is used to acquire the floor plan and floor plan data to be modeled. For detailed explanations, please refer to the relevant descriptions in the above method embodiments; they will not be repeated here.
[0154] The identification module 42 is used to identify closed areas in the layered and unit-specific drawings to obtain pre-identified area objects. For detailed explanations, please refer to the relevant descriptions in the above method embodiments; they will not be repeated here.
[0155] The first response module 43 is used to respond to the segmentation operation of the pre-identified region object, divide the pre-identified region object into multiple sub-regions based on the segmentation operation, and display the multiple sub-regions on the interactive interface. For detailed explanation, please refer to the relevant descriptions in the above method embodiments, which will not be repeated here.
[0156] Alignment module 44 is used to perform inter-layer alignment of multiple sub-regions to obtain alignment models for each region. For detailed explanations, please refer to the relevant descriptions in the above method embodiments; they will not be repeated here.
[0157] The second response module 45 is used to respond to the model generation operation of the pre-identified area object, generate the target hierarchical household model corresponding to the pre-identified area object based on the hierarchical household data and the alignment model, and display the target hierarchical household model on the interactive interface. For detailed explanation, please refer to the relevant descriptions in the above method embodiments, which will not be repeated here.
[0158] The layered and unit-specific modeling device provided in this embodiment acquires the layered and unit-specific drawings and data to be modeled, identifies closed regions in the drawings, and obtains pre-identified region objects. Users can divide these pre-identified region objects, avoiding misidentification caused by low-quality drawings. Users combine the layered and unit-specific data with the alignment models of each region through an interactive interface to generate the target layered and unit-specific model. This simple interaction enables efficient, fast, and autonomous information input, improving modeling efficiency and reducing manual workload. Furthermore, this modeling process only requires the layered and unit-specific drawings and data, making it applicable to more scenarios and expanding its scope of application.
[0159] In this embodiment, the hierarchical and household-specific modeling device is presented in the form of functional units. Here, a unit refers to an ASIC circuit, a processor and memory that execute one or more software or fixed programs, and / or other devices that can provide the above functions.
[0160] Further functional descriptions of the above modules are the same as those in the corresponding embodiments described above, and will not be repeated here.
[0161] This invention also provides an electronic device having the above-described features. Figure 13The modeling device shown is for a hierarchical and unit-specific layout.
[0162] Please see Figure 14 , Figure 14 This is a schematic diagram of the structure of an electronic device provided in an optional embodiment of the present invention, such as... Figure 14 As shown, the electronic device may include: at least one processor 501, such as a CPU (Central Processing Unit), at least one communication interface 503, memory 504, and at least one communication bus 502. The communication bus 502 is used to enable communication between these components. The communication interface 503 may include a display screen or a keyboard; optionally, the communication interface 503 may also include a standard wired interface or a wireless interface. The memory 504 may be high-speed RAM (Random Access Memory) or non-volatile memory, such as at least one disk storage device. Optionally, the memory 504 may also be at least one storage device located remotely from the aforementioned processor 501. The processor 501 may be combined with... Figure 13 The described apparatus has an application program stored in memory 504, and a processor 501 calls the program code stored in memory 504 to perform any of the above method steps.
[0163] The communication bus 502 can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The communication bus 502 can be divided into an address bus, a data bus, and a control bus, etc. For ease of representation, Figure 14 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.
[0164] The memory 504 may include volatile memory, such as random-access memory (RAM); the memory may also include non-volatile memory, such as flash memory, hard disk drive (HDD) or solid-state drive (SSD); the memory 504 may also include a combination of the above types of memory.
[0165] The processor 501 can be a central processing unit (CPU), a network processor (NP), or a combination of CPU and NP.
[0166] The processor 501 may further include a hardware chip. This hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.
[0167] Optionally, memory 504 is also used to store program instructions. Processor 501 can call the program instructions to implement the functions described in this application. Figures 1 to 3 The hierarchical and household-specific modeling method shown in the embodiment.
[0168] This invention also provides a non-transitory computer storage medium storing computer-executable instructions that can execute the processing method of the hierarchical and segmented modeling method in any of the above method embodiments. The storage medium can be a magnetic disk, optical disk, read-only memory (ROM), random access memory (RAM), flash memory, hard disk drive (HDD), or solid-state drive (SSD), etc.; the storage medium may also include combinations of the above types of memory.
[0169] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations all fall within the scope defined by the appended claims.
Claims
1. A hierarchical and household-based modeling method, characterized in that, include: Obtain the floor plan and floor plan data of the unit to be modeled; Closed areas in the layered and unit-specific drawings are identified to obtain pre-identified area objects; In response to the segmentation operation of the pre-identified region object, the pre-identified region object is divided into multiple sub-regions based on the segmentation operation, and the multiple sub-regions are displayed on the interactive interface; In response to a selection operation on a reference layer, a target reference layer is determined based on the selection operation; Identify connected sub-regions in the non-target base layer and determine the connected sub-regions as the smallest alignment unit; Obtain the reference point corresponding to the target reference layer and the positioning point corresponding to the minimum alignment unit, wherein the reference point and the positioning point correspond one-to-one; Connect the positioning point with the reference point to generate the alignment positioning line between the minimum alignment unit and the target reference layer; Based on the alignment positioning lines, inter-layer alignment is performed on each of the smallest alignment units to obtain the alignment model of each region; In response to the model generation operation for the pre-identified area object, a target hierarchical household model corresponding to the pre-identified area object is generated based on the hierarchical household data and the alignment model, and the target hierarchical household model is displayed on the interactive interface; Specifically, in response to a division operation on the pre-identified region object, dividing the pre-identified region object into multiple sub-regions based on the division operation includes: in response to a drawing operation on the pre-identified region object, obtaining a closed polygon corresponding to the drawing operation; dividing the pre-identified region object into multiple floor regions based on the closed polygon; in response to a dividing line drawing operation on the pre-identified region object, obtaining a dividing line corresponding to the dividing line drawing operation; and dividing the pre-identified region object into multiple unit regions based on the dividing line, wherein the multiple sub-regions include the multiple floor regions and the multiple unit regions.
2. The method according to claim 1, characterized in that, Also includes: Display the first editing area corresponding to the closed polygon; In response to a first editing operation in the first editing area, floor attribute information corresponding to the floor area is generated based on the first editing operation.
3. The method according to claim 1, characterized in that, Also includes: Displays a second editing area corresponding to the dividing line; In response to a second editing operation in the second editing area, cell attribute information corresponding to the cell region is generated based on the second editing operation.
4. The method according to claim 1, characterized in that, The step of responding to the segmentation operation of the pre-identified region object, and dividing the pre-identified region object into multiple sub-regions based on the segmentation operation, further includes: In response to the household identification operation on the pre-identified area object, a household number and household relationship are generated based on the household identification operation.
5. The method according to any one of claims 1-4, characterized in that, The interactive interface includes a two-dimensional display interface and a three-dimensional display interface, and displaying the plurality of sub-regions on the interactive interface includes: The two-dimensional display interface displays two-dimensional models of each region, including region shape, region name, and region type. The three-dimensional model of each region is displayed on the three-dimensional display interface.
6. The method according to claim 5, characterized in that, Also includes: In response to a region selection operation on a two-dimensional model on the two-dimensional display interface, a three-dimensional model corresponding to the region selection operation is displayed on the three-dimensional display interface.
7. The method according to claim 5, characterized in that, The interactive interface further includes an attribute information display area, and displaying the plurality of sub-areas on the interactive interface further includes: In response to an attribute selection operation in the attribute information display area, a two-dimensional model corresponding to the attribute selection operation is displayed on the two-dimensional display interface, and a three-dimensional model corresponding to the attribute selection operation is displayed on the three-dimensional display interface.
8. The method according to claim 5, characterized in that, When the two-dimensional model is a household area model, the hierarchical household modeling method further includes: The household area model is calibrated based on the hierarchical and household-specific data to obtain the calibrated household area model. When the calibrated household area model matches the preset information, a three-dimensional model corresponding to the household area model is generated on the three-dimensional display interface.
9. The method according to claim 1, characterized in that, The process of obtaining the floor plan drawings and floor plan data to be modeled includes: In response to the upload operation of the floor plan and the floor data, the floor plan and the floor data corresponding to the upload operation are obtained.
10. The method according to claim 9, characterized in that, Also includes: The hierarchical and unit-specific data is analyzed to determine the common areas in the hierarchical and unit-specific drawings.
11. The method according to claim 1, characterized in that, Also includes: In response to the export operation of the target hierarchical household model, the target hierarchical household model is exported to the target location.
12. A layered and unit-based modeling device, characterized in that, include: The acquisition module is used to acquire the floor plan and floor data to be modeled. The identification module is used to identify closed areas in the layered and subdivided drawings to obtain pre-identified area objects; The first response module is used to respond to the division operation of the pre-identified region object, divide the pre-identified region object into multiple sub-regions based on the division operation, and display the multiple sub-regions on the interactive interface; An alignment module is used to perform inter-layer alignment on the multiple sub-regions to obtain an alignment model for each region. The module includes: responding to a selection operation on a reference layer, determining a target reference layer based on the selection operation; identifying connected sub-regions in non-target reference layers and determining the connected sub-regions as the smallest alignment unit; obtaining a reference point corresponding to the target reference layer and a positioning point corresponding to the smallest alignment unit, wherein the reference point and the positioning point correspond one-to-one; connecting the positioning point and the reference point to generate an alignment positioning line between the smallest alignment unit and the target reference layer; and performing inter-layer alignment on each of the smallest alignment units based on the alignment positioning line to obtain an alignment model for each region. The second response module is used to respond to the model generation operation of the pre-identified area object, generate the target hierarchical household model corresponding to the pre-identified area object based on the hierarchical household data and the alignment model, and display the target hierarchical household model on the interactive interface; The first response module is further configured to: in response to a drawing operation on the pre-identified region object, obtain a closed polygon corresponding to the drawing operation; divide the pre-identified region object into multiple floor regions based on the closed polygon; in response to a drawing operation on the dividing line of the pre-identified region object, obtain a dividing line corresponding to the drawing operation; and divide the pre-identified region object into multiple unit regions based on the dividing line, wherein the multiple sub-regions include the multiple floor regions and the multiple unit regions.
13. An electronic device, characterized in that, include: The system includes a memory and a processor, which are interconnected. The memory stores computer instructions, and the processor executes the computer instructions to perform the hierarchical and unit-based modeling method according to any one of claims 1-11.
14. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing a computer to execute the hierarchical and unit-based modeling method according to any one of claims 1-11.
Citation Information
Patent Citations
Construction and display control method for floor and house division model of three-dimensional urban building
CN101763656A
Method for constructing three-dimensional data model based on real estate registration result
CN111161417A