Building function automatic labeling and area calculation method, device, equipment, medium and product

CN122820384APending Publication Date: 2026-09-25GUANGZHOU URBAN PLANNING & DESIGN SURVEY RES INST +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611077992.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-20
Publication Date
2026-09-25

AI Technical Summary

Technical Problem

随着建筑工程的项目规模扩大、建筑形态复杂、功能复杂、验收时限缩短,传统方式测量、绘制规划核实平面图过程中暴露出效率低、易出错等问题,难以满足规划核实测量对高精度以及高时效的迫切需求

Benefits of technology

[0013]本发明实施例还提供了一种计算机程序产品,所述计算机程序产品包括计算机程序或计算机指令,所述计算机程序或所述计算机指令被处理器执行时实现上述任一项所述的建筑功能自动标记与面积计算方法。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122820384A_ABST
    Figure CN122820384A_ABST
Patent Text Reader

Abstract

The application discloses a kind of building function automatic marking and area calculation method, device, equipment, medium and product, the method includes: obtaining the planning report building map and planning verification plan of building engineering;Respectively construct the layer index and spatial position index of layered graph in planning report building map and planning verification plan;Based on layer index and spatial position index, the building function in planning report building map is mapped to planning verification plan, and the building function automatic marking result of planning verification plan is obtained;According to the area calculation rule of preestablished, construct area calculation semantic library;Based on area calculation semantic library and the building function automatic marking result of planning verification plan, corresponding area calculation rule is automatically matched, geometric operation is executed, and area calculation result is output.The application can automatically mark building function and carry out area calculation, reduce artificial judgment and marking, degree of automation is high, effectively improve the accuracy and efficiency of building engineering planning verification measurement.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of building engineering planning and surveying technology, and in particular to a method, device, equipment, medium and product for automatic marking of building functions and area calculation. Background Technology

[0002] Planning verification surveying for building construction projects is a crucial part of urban and rural planning management. After construction is completed, a planning verification survey is required to verify whether the construction project was carried out in accordance with the approved permit requirements. While advancements in surveying technology, such as laser point cloud scanning, can quickly obtain the coordinates of target points, their accuracy still falls short of the area accuracy requirements for planning verification surveying. Currently, planning verification surveying primarily relies on the traditional method of "field surveying + manual interpretation + manual drawing." However, with the increasing scale, complexity, and functionality of building projects, coupled with shorter acceptance deadlines, traditional methods of surveying and drawing planning verification plans have revealed inefficiencies and a high risk of errors, failing to meet the urgent demands for high precision and timeliness in planning verification surveying. Summary of the Invention

[0003] The purpose of this invention is to provide a method, device, equipment, medium, and product for automatic marking of building functions and area calculation, which can automatically mark building functions and calculate area, reduce human judgment and marking, have a high degree of automation, and effectively improve the accuracy and efficiency of building engineering planning verification and measurement.

[0004] To achieve the above objectives, embodiments of the present invention provide a method for automatic marking of building functions and calculation of area, including: Obtain the planning and approval drawings and the planning verification plan for the building project; Construct the layer index and spatial location index of the layered diagrams in the planning application map and the planning verification plan, respectively; Based on the layer index and the spatial location index, the building functions in the planning application drawing are mapped to the planning verification plan to obtain the automatic marking result of the building functions in the planning verification plan; Construct an area calculation semantic library based on preset area calculation rules; Based on the area calculation semantic library and the building function automatic labeling results of the planning verification plan, the corresponding area calculation rules are automatically matched, geometric operations are performed, and the area calculation results are output.

[0005] As an improvement to the above solution, the step of constructing the layer index and spatial location index of the layered map in the planning application map and the planning verification plan respectively includes: For the planning application drawings and the planning verification plan, the floor index is constructed using the floor number or floor name of the building in the layered drawings, respectively; For the planning application drawing and the planning verification plan, the layer space index is constructed by using the coordinate values ​​of the smallest outer rectangle of the plan position of the layer in the layered drawing, and the building function space index is constructed by using the coordinate values ​​of the geometric boundary of the building function, so as to obtain the spatial location index.

[0006] As an improvement to the above solution, the step of mapping the building functions in the planning application drawing to the planning verification plan based on the layer index and the spatial location index, to obtain the automatic building function labeling result of the planning verification plan, includes: Based on the layer index and the spatial location index, spatial index matching calculation is performed, and the building functions in the planning application drawing are mapped to the planning verification plan according to the calculation results, so as to obtain the automatic marking result of building functions in the planning verification plan.

[0007] As an improvement to the above scheme, the step of performing spatial index matching calculation based on the layer index and the spatial location index, and mapping the building functions in the planning application drawing to the planning verification plan according to the calculation results, to obtain the automatic building function labeling result of the planning verification plan, includes: Based on the layer index and the layer space index, the layer correspondence between the planning application map and the planning verification plan is determined; Based on the layer correspondence, traverse all building function space indices under the corresponding layer, and calculate the overlap ratio of the corresponding building functions between the planning application drawing and the planning verification plan. When the overlap ratio is greater than a preset threshold, it is determined that the two building functions correspond, and the building functions in the planning application drawing are assigned to the building functions corresponding to the planning verification plan, so as to obtain the automatic marking result of the building functions in the planning verification plan.

[0008] As an improvement to the above solution, the step of constructing an area calculation semantic library based on preset area calculation rules includes: Based on preset area calculation rules, a third-order area calculation semantic library is constructed; wherein, the third-order area calculation semantic library includes a first-order building type dimension, a second-order building function dimension, and a third-order calculation coefficient dimension in sequence; The first-order building type dimension is used to match the area calculation rules for the corresponding building type; The second-order building function dimension is used to determine the area calculation rules for building functions under the corresponding building types; The third-order calculation coefficient dimension is used to construct a Boolean matrix with the three elements of floor height, enclosure, and roof, and map the corresponding area calculation coefficients.

[0009] As an improvement to the above solution, the method further includes: The calculated building area is automatically verified in multiple dimensions according to the preset verification operator rule library; wherein, each verification rule in the verification operator rule library corresponds to an independent single-function verification operator; the verification types include geometric consistency verification, logical rationality verification, standard compliance verification and data integrity verification, and each verification type includes multiple verification rules.

[0010] This invention also provides an automatic building function marking and area calculation device, comprising: The drawing acquisition module is used to acquire the planning and approval drawings and planning verification floor plans for building projects; An index construction module is used to construct the layer index and spatial location index of the layered map in the planning application map and the planning verification plan, respectively. The function marking module is used to map the building functions in the planning application drawing to the planning verification plan based on the layer index and the spatial location index, so as to obtain the automatic marking result of the building functions in the planning verification plan; The semantic library construction module is used to build an area calculation semantic library based on preset area calculation rules; The area calculation module is used to automatically mark the building function based on the area calculation semantic library and the planning verification plan, automatically match the corresponding area calculation rules, perform geometric operations, and output the area calculation results.

[0011] This invention also provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, it implements the automatic marking and area calculation method for building functions as described above.

[0012] This invention also provides a computer-readable storage medium, which includes a stored computer program, wherein the computer program, when running, controls the device where the computer-readable storage medium is located to execute the automatic marking and area calculation method for building functions described above.

[0013] This invention also provides a computer program product, which includes a computer program or computer instructions. When the computer program or computer instructions are executed by a processor, they implement the automatic marking and area calculation method for building functions described above.

[0014] Compared to existing technologies, the beneficial effects of the automatic building function marking and area calculation method, apparatus, equipment, medium, and product provided by this invention are as follows: By acquiring the planning and approval drawings and the planning verification plan of a building project; constructing layer indices and spatial location indices for the layered diagrams in the planning and approval drawings and the planning verification plan respectively; mapping the building functions in the planning and approval drawings to the planning verification plan based on the layer indices and the spatial location indices, obtaining the automatic marking results of the building functions in the planning verification plan; constructing an area calculation semantic library according to preset area calculation rules; and automatically matching the corresponding area calculation rules based on the area calculation semantic library and the automatic marking results of the building functions in the planning verification plan, performing geometric operations, and outputting the area calculation results. This invention can automatically mark building functions and perform area calculations, reducing manual judgment and marking, achieving a high degree of automation, and effectively improving the accuracy and efficiency of building project planning verification measurements. Attached Figure Description

[0015] Figure 1 This is a flowchart illustrating a preferred embodiment of the automatic marking and area calculation method for building functions provided by the present invention; Figure 2 This is a schematic diagram of the layer index and spatial location index in the automatic marking and area calculation method for building functions provided by the present invention; Figure 3 This is a schematic diagram of a preferred embodiment of the automatic marking and area calculation device for building functions provided by the present invention; Figure 4 This is a schematic diagram of a preferred embodiment of a terminal device provided by the present invention. Detailed Implementation

[0016] 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, and 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.

[0017] Please see Figure 1 , Figure 1 This is a flowchart illustrating a preferred embodiment of a method for automatically marking building functions and calculating area provided by the present invention. The method includes: S1, obtain the planning application drawings and planning verification floor plans for the building project; S2, respectively construct the layer index and spatial location index of the layered map in the planning application map and the planning verification plan; S3, based on the layer index and the spatial location index, map the building functions in the planning application drawing to the planning verification plan to obtain the automatic marking result of the building functions in the planning verification plan; S4. Construct an area calculation semantic library based on preset area calculation rules; S5. Based on the area calculation semantic library and the building function automatic labeling results of the planning verification plan, automatically match the corresponding area calculation rules, perform geometric operations, and output the area calculation results.

[0018] Specifically, this invention addresses the problems of low automation, low accuracy, and low efficiency in existing construction project planning verification and measurement processes. Combining the principles and processes of creating floor plans for construction project planning verification and measurement, it proposes an automatic marking and area calculation method for building functions. First, the planning application drawings and planning verification floor plans of the construction project are obtained. The planning application drawings are detailed construction project planning drawings provided by the construction unit to the administrative approval department, containing information such as the site plan and floor plans. The site plan determines the construction location (plane coordinates), and the floor plans determine the building function, structure, size, and other information for each floor. The planning verification floor plan is used after the construction project is completed to verify whether the construction has been carried out in accordance with the requirements of the application approval. It needs to accurately mark the functional areas of the building and accurately calculate the area to meet regulatory requirements. After obtaining the planning application drawings and planning verification floor plans, layer indices and spatial location indices are constructed for the floor plans in both the planning application drawings and the planning verification floor plans. Then, based on layer index and spatial location index, the building functions in the planning application drawings are mapped to the planning verification floor plan, resulting in automatic building function labeling results for the planning verification floor plan. Next, an area calculation semantic library is constructed according to preset area calculation rules. Finally, based on the constructed area calculation semantic library and the automatic building function labeling results from the planning verification floor plan, the corresponding area calculation rules are automatically matched, geometric operations are performed, and the building area calculation results are output.

[0019] This invention, based on automatic building function marking and area calculation, can automatically mark building functions and calculate area, reducing human judgment and marking, and achieving a high degree of automation. This effectively improves the accuracy and efficiency of building engineering planning verification measurements. It also enhances the calculation efficiency, accuracy, and data security of building area in building engineering planning condition verification measurements.

[0020] In a preferred embodiment, step S2, which involves constructing the layer index and spatial location index of the layered map in the planning application map and the planning verification plan, respectively, includes: S21, For the planning application drawing and the planning verification plan, construct the layer index based on the layer number or layer name of the building in the layer drawing; S22, for the planning application drawing and the planning verification plan, construct the layer space index using the coordinate values ​​of the smallest outer rectangle of the plan position of the layer in the layered drawing, and construct the building function space index using the coordinate values ​​of the geometric boundary of the building function, to obtain the spatial location index.

[0021] For details, please refer to Figure 2 , Figure 2 This is a schematic diagram of the layer index and spatial location index in the automatic marking and area calculation method for building functions provided by this invention. In this embodiment of the invention, for both the planning and approval drawings and the planning verification plan, layer indexes are constructed based on the floor numbers of the buildings in the layered drawings. For example, the layer index is either a floor number or a floor name, named after the floor number or floor name of the building in the layered drawing; for example, the layer index corresponding to the first floor of a building is 1. The spatial location index includes a layer spatial index and a building function spatial index. For both the planning and approval drawings and the planning verification plan, the layer spatial index is constructed based on the coordinate values ​​of the smallest bounding rectangle (top left, bottom left, top right, bottom right) of the planar position of each layer in the layered drawing. For example, the layer spatial index MBR is: TopLeft: X1, Y1, H1 TopRight: X2, Y2, H2 BottomLeft: X3, Y3, H3 BottomRight: X4, Y4, H4 A building function space index (COORS) is constructed using the coordinate values ​​of the building's functional geometric boundaries. For example, assuming the corresponding floor's planar position is used as a reference to establish an independent coordinate system, with the origin (0,0,0) at the bottom left corner (BottomLeft), north as the X-axis (BottomLeft-TopLeft), and east as the Y-axis (BottomLeft-BottomRight), the coordinate values ​​of the building's functional geometric boundaries are obtained counter-clockwise from the bottom left corner coordinates to form a coordinate set, which serves as the building function space index (COORS). Point0: X0, Y0, H0 Point 1: X1, Y1, H1 Point 2: X2, Y2, H2 Point 3: X3, Y3, H3 Point 4: X4, Y4, H4 … In another preferred embodiment, step S3, based on the layer index and the spatial location index, maps the building functions in the planning application drawing to the planning verification plan, obtaining the automatic building function labeling result of the planning verification plan, including: S31, based on the layer index and the spatial location index, perform spatial index matching calculation, and map the building functions in the planning application drawing to the planning verification plan according to the calculation result, so as to obtain the building function automatic marking result of the planning verification plan.

[0022] Specifically, in this embodiment of the invention, based on layer index and spatial location index, spatial index matching calculation is performed on the planning application drawing and the planning verification plan layer by layer, and the building functions in the planning application drawing are mapped to the planning verification plan according to the spatial index matching calculation results, so as to obtain the automatic marking result of building functions in the planning verification plan.

[0023] In another preferred embodiment, step S31 involves performing spatial index matching calculations based on the layer index and the spatial location index, and mapping the building functions in the planning application drawing to the planning verification plan according to the calculation results, thereby obtaining the automatic building function labeling results of the planning verification plan, including: S311, Based on the layer index and the layer space index, determine the layer correspondence between the planning application map and the planning verification plan; S312, based on the layer correspondence, traverse all building function space indices under the corresponding layer, and calculate the overlap ratio of the corresponding building functions between the planning application drawing and the planning verification plan; S313, when the overlap ratio is greater than a preset threshold, it is determined that the two building functions correspond, and the building functions in the planning application drawing are assigned to the building functions corresponding to the planning verification plan, so as to obtain the automatic marking result of the building functions in the planning verification plan.

[0024] Specifically, this embodiment of the invention determines the layer correspondence between the planning application drawing and the planning verification plan based on layer index and layer spatial index MBR. Then, according to the layer correspondence, it traverses all building function space indices under the corresponding layer, i.e., COORS1, COORS2, ..., and calculates the overlap ratio of corresponding building functions between the planning application drawing and the planning verification plan. For example, the formula for calculating the overlap ratio is: ; In the formula, , These represent the area of ​​the building functions in the layered diagrams of the planning application drawings and the planning verification floor plan, respectively.

[0025] When the calculated overlap ratio is greater than a preset threshold, the two building functions in the planning application drawing and the planning verification plan are determined to correspond. After successful building function matching, the building functions in the planning application drawing are assigned to the corresponding building functions in the planning verification plan, resulting in an automatic building function labeling result for the planning verification plan. For example, in this embodiment of the invention, the preset threshold is preferably 95%.

[0026] In another preferred embodiment, step S4 involves constructing an area calculation semantic library based on preset area calculation rules, including: S41, construct a third-order area calculation semantic library according to the preset area calculation rules; wherein, the third-order area calculation semantic library includes a first-order building type dimension, a second-order building function dimension, and a third-order calculation coefficient dimension in sequence; The first-order building type dimension is used to match the area calculation rules for the corresponding building type; The second-order building function dimension is used to determine the area calculation rules for building functions under the corresponding building types; The third-order calculation coefficient dimension is used to construct a Boolean matrix with the three elements of floor height, enclosure, and roof, and map the corresponding area calculation coefficients.

[0027] Specifically, this embodiment of the invention constructs a third-order area calculation semantic library based on preset area calculation rules. For example, the area calculation rules are shown in Table 1 below: Table 1. Rules for Calculating Building Area (Partial)

[0028] Based on the above area calculation rules, a third-order area calculation semantic library for building area calculation is constructed, and it can be freely expanded according to the area calculation rules. In this embodiment of the invention, the third-order area calculation semantic library sequentially includes a first-order building type dimension, a second-order building function dimension, and a third-order calculation coefficient dimension. The first-order building type dimension is used to match the area calculation rules for the corresponding building type, because different building types may have different calculation rules for the same building function space. Building types include residential, commercial, industrial, and others. The second-order building function dimension is used to determine the area calculation rules for the building function under the corresponding building type. For example, building functions include elevator shafts, pipe shafts, lobbies, halls, enclosed balconies, etc. The third-order calculation coefficient dimension is used to construct a Boolean matrix using the three elements of floor height, enclosure, and roof, mapping to obtain the corresponding area calculation coefficients. For example, the area coefficients are 1.0, 0.5, and 0, representing the calculation of full area, half area, and no area, respectively. It is mainly used to determine the calculable mathematical judgment, that is, to directly obtain the area calculation coefficient, multiply it by the geometric area to obtain the final building area.

[0029] For example, the Boolean matrix based on the three elements of floor height, enclosure, and roof yields the corresponding area coefficient as shown below: The mapping relationship is: f(story height, enclosure, roof) → {1.0, 0.5, 0} Floor height: H≥2.2m→1, H<2.2m→0 Enclosure: W=present → 1, W=absent → 0 Top cover: R=present → 1, R=absent → 0 JSON matrix: {"111": 1.0, "110": 0.5, "101": 0.0, "011": 0.0, ... } Assuming a building has a function, a floor height of 3m, an enclosure, and a roof, the key value for the query is determined to be "111" according to the above rules, and the area calculation coefficient is 1.0.

[0030] Based on the above-mentioned third-order area calculation semantic library, the calculation process is as follows: 1) Based on the building type, such as residential or commercial, obtain the corresponding JSON area calculation rules. For example, JSON["residential"] retrieves the area calculation rules for residential buildings, and the result is also a JSON semantic library. 2) Based on the building function, obtain the three elements of the building function: floor height, enclosure, and roof, and determine the area calculation rules for the building function under the corresponding building type; 3) Obtain the area calculation coefficient based on the three elements of floor height, enclosure, and roof, and calculate the building area.

[0031] Based on the above planning, the automatic marking results of the building functions in the layered plan of the floor plan are verified. The building functions of the building elements are automatically identified. By querying the area calculation semantic library, the function type of the building elements is automatically matched, the corresponding area calculation rules are called, geometric operations are performed, and the building area calculation results are output.

[0032] In yet another preferred embodiment, the method further includes: The calculated building area is automatically verified in multiple dimensions according to the preset verification operator rule library; wherein, each verification rule in the verification operator rule library corresponds to an independent single-function verification operator; the verification types include geometric consistency verification, logical rationality verification, standard compliance verification and data integrity verification, and each verification type includes multiple verification rules.

[0033] Specifically, after calculating the building area, this embodiment of the invention also performs multi-dimensional automatic verification of the calculated building area according to a preset verification operator rule library. Each verification rule in the verification operator rule library corresponds to an independent single-function verification operator to avoid confusion between verification operator functions, which would hinder maintenance. Verification types include geometric consistency verification, logical rationality verification, specification compliance verification, and data integrity verification. Each verification type includes multiple verification rules, as shown in Table 2 below: Table 2. Area Verification Rules (Partial)

[0034] According to the preset verification operator rule library, the present invention iterates through and executes each verification operator to automatically verify the calculated building area in multiple dimensions. After the verification is completed, the output error results are classified and corresponding modification guidelines are generated to improve the rectification efficiency of construction project planning verification measurement, avoid the omissions of manual inspection, and ensure the accuracy and efficiency of planning verification measurement.

[0035] Accordingly, the present invention also provides an automatic building function marking and area calculation device, which can realize all the processes of the automatic building function marking and area calculation method in the above embodiments.

[0036] Please see Figure 3 , Figure 3 This is a schematic diagram of a preferred embodiment of the automatic building function marking and area calculation device provided by the present invention. The automatic building function marking and area calculation device includes: The drawing acquisition module 301 is used to acquire the planning and approval drawings and planning verification floor plans of the building project; Index construction module 302 is used to construct the layer index and spatial location index of the layered map in the planning application map and the planning verification plan, respectively; The function marking module 303 is used to map the building functions in the planning application drawing to the planning verification plan based on the layer index and the spatial location index, so as to obtain the automatic marking result of the building functions in the planning verification plan; The semantic library construction module 304 is used to construct an area calculation semantic library according to preset area calculation rules; The area calculation module 305 is used to automatically mark the building function based on the area calculation semantic library and the planning verification plan, automatically match the corresponding area calculation rules, perform geometric operations, and output the area calculation results.

[0037] Preferably, the index building module 302 is specifically used for: For the planning application drawings and the planning verification plan, the floor index is constructed using the floor number or floor name of the building in the layered drawings, respectively; For the planning application drawing and the planning verification plan, the layer space index is constructed by using the coordinate values ​​of the smallest outer rectangle of the plan position of the layer in the layered drawing, and the building function space index is constructed by using the coordinate values ​​of the geometric boundary of the building function, so as to obtain the spatial location index.

[0038] Preferably, the function marking module 303 is specifically used for: Based on the layer index and the spatial location index, spatial index matching calculation is performed, and the building functions in the planning application drawing are mapped to the planning verification plan according to the calculation results, so as to obtain the automatic marking result of building functions in the planning verification plan.

[0039] Preferably, the function marking module 303 is specifically used for: Based on the layer index and the layer space index, the layer correspondence between the planning application map and the planning verification plan is determined; Based on the layer correspondence, traverse all building function space indices under the corresponding layer, and calculate the overlap ratio of the corresponding building functions between the planning application drawing and the planning verification plan. When the overlap ratio is greater than a preset threshold, it is determined that the two building functions correspond, and the building functions in the planning application drawing are assigned to the building functions corresponding to the planning verification plan, so as to obtain the automatic marking result of the building functions in the planning verification plan.

[0040] Preferably, the semantic library construction module 304 is specifically used for: Based on preset area calculation rules, a third-order area calculation semantic library is constructed; wherein, the third-order area calculation semantic library includes a first-order building type dimension, a second-order building function dimension, and a third-order calculation coefficient dimension in sequence; The first-order building type dimension is used to match the area calculation rules for the corresponding building type; The second-order building function dimension is used to determine the area calculation rules for building functions under the corresponding building types; The third-order calculation coefficient dimension is used to construct a Boolean matrix with the three elements of floor height, enclosure, and roof, and map the corresponding area calculation coefficients.

[0041] Preferably, the device further includes an area verification module, used for: The calculated building area is automatically verified in multiple dimensions according to the preset verification operator rule library; wherein, each verification rule in the verification operator rule library corresponds to an independent single-function verification operator; the verification types include geometric consistency verification, logical rationality verification, standard compliance verification and data integrity verification, and each verification type includes multiple verification rules.

[0042] In specific implementation, the working principle, control process and technical effects of the building function automatic marking and area calculation device provided in the embodiments of the present invention are the same as those of the building function automatic marking and area calculation method in the above embodiments, and will not be repeated here.

[0043] Please see Figure 4 , Figure 4 This is a schematic diagram of a preferred embodiment of a terminal device provided by the present invention. The terminal device includes a processor 401, a memory 402, and a computer program stored in the memory 402 and configured to be executed by the processor 401. When the processor 401 executes the computer program, it implements the automatic marking and area calculation method for building functions as described in any of the above embodiments.

[0044] Preferably, the computer program can be divided into one or more modules / units (such as computer program 1, computer program 2, ...), and the one or more modules / units are stored in the memory 402 and executed by the processor 401 to complete the present invention. The one or more modules / units can be a series of computer program instruction segments capable of performing specific functions, and the instruction segments are used to describe the execution process of the computer program in the terminal device.

[0045] The processor 401 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor, or the processor 401 can be any conventional processor. The processor 401 is the control center of the terminal device, connecting various parts of the terminal device through various interfaces and lines.

[0046] The memory 402 mainly includes a program storage area and a data storage area. The program storage area can store the operating system, applications required for at least one function, etc., while the data storage area can store related data, etc. Furthermore, the memory 402 can be a high-speed random access memory, or a non-volatile memory, such as a plug-in hard disk, a smart media card (SMC), a secure digital card (SD), and a flash card, or it can be other volatile solid-state storage devices.

[0047] It should be noted that the aforementioned terminal devices may include, but are not limited to, processors and memory, as will be understood by those skilled in the art. Figure 4 The structural diagram is merely an example of the terminal device described above and does not constitute a limitation on the terminal device described above. It may include more or fewer components than shown in the diagram, or combine certain components, or use different components.

[0048] This invention also provides a computer-readable storage medium, which includes a stored computer program, wherein the computer program, when running, controls the device where the computer-readable storage medium is located to execute the automatic building function marking and area calculation method described in any of the above embodiments.

[0049] This invention also provides a computer program product, which includes a computer program or computer instructions. When the computer program or computer instructions are executed by a processor, they implement the automatic marking and area calculation method for building functions as described in any of the above embodiments.

[0050] This invention provides a method, apparatus, device, medium, and product for automatic building function marking and area calculation. It involves acquiring the planning and approval drawings and the planning verification plan of a building project; constructing layer indices and spatial location indices for the layered diagrams in both drawings; mapping the building functions in the planning and approval drawings to the planning verification plan based on these indices to obtain the automatic marking results of the building functions in the planning verification plan; constructing an area calculation semantic library according to preset area calculation rules; and automatically matching the corresponding area calculation rules based on the area calculation semantic library and the automatic marking results of the building functions in the planning verification plan, performing geometric operations, and outputting the area calculation results. This invention can automatically mark building functions and calculate their areas, reducing manual judgment and marking, achieving a high degree of automation, and effectively improving the accuracy and efficiency of planning verification measurements for building projects.

[0051] It should be noted that the system embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Furthermore, in the accompanying drawings of the system embodiments provided by this invention, the connection relationships between modules indicate that they have communication connections, which can be specifically implemented as one or more communication buses or signal lines. Those skilled in the art can understand and implement this without any creative effort.

[0052] The above description represents the preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. A method for automatically marking building functions and calculating area, characterized in that, include: Obtain the planning and approval drawings and the planning verification plan for the building project; Construct the layer index and spatial location index of the layered diagrams in the planning application map and the planning verification plan, respectively; Based on the layer index and the spatial location index, the building functions in the planning application drawing are mapped to the planning verification plan to obtain the automatic marking result of the building functions in the planning verification plan; Based on the preset area calculation rules, construct an area calculation semantic library; Based on the area calculation semantic library and the building function automatic labeling results of the planning verification plan, the corresponding area calculation rules are automatically matched, geometric operations are performed, and the area calculation results are output.

2. The method for automatic marking of building functions and calculation of area as described in claim 1, characterized in that, The construction of the layer index and spatial location index of the layered map in the planning application map and the planning verification plan respectively includes: For the planning application drawings and the planning verification plan, the floor index is constructed using the floor number or floor name of the building in the layered drawings, respectively; For the planning application drawing and the planning verification plan, the layer space index is constructed by using the coordinate values ​​of the smallest outer rectangle of the plan position of the layer in the layered drawing, and the building function space index is constructed by using the coordinate values ​​of the geometric boundary of the building function, so as to obtain the spatial location index.

3. The method for automatic marking of building functions and calculation of area as described in claim 2, characterized in that, The process of mapping building functions from the planning application drawing to the planning verification plan based on the layer index and the spatial location index, resulting in the automatic building function labeling result of the planning verification plan, includes: Based on the layer index and the spatial location index, spatial index matching calculation is performed, and the building functions in the planning application drawing are mapped to the planning verification plan according to the calculation results, so as to obtain the automatic marking result of building functions in the planning verification plan.

4. The method for automatic marking of building functions and calculation of area as described in claim 3, characterized in that, The process involves performing spatial index matching calculations based on the layer index and the spatial location index, and mapping the building functions in the planning application drawing to the planning verification plan according to the calculation results, thereby obtaining the automatic building function labeling results of the planning verification plan, including: Based on the layer index and the layer space index, the layer correspondence between the planning application map and the planning verification plan is determined; Based on the layer correspondence, traverse all building function space indices under the corresponding layer, and calculate the overlap ratio of the corresponding building functions between the planning application drawing and the planning verification plan. When the overlap ratio is greater than a preset threshold, it is determined that the two building functions correspond, and the building functions in the planning application drawing are assigned to the building functions corresponding to the planning verification plan, so as to obtain the automatic marking result of the building functions in the planning verification plan.

5. The method for automatic marking of building functions and calculation of area as described in claim 4, characterized in that, The step of constructing an area calculation semantic library based on preset area calculation rules includes: Based on preset area calculation rules, a third-order area calculation semantic library is constructed; wherein, the third-order area calculation semantic library includes a first-order building type dimension, a second-order building function dimension, and a third-order calculation coefficient dimension in sequence; The first-order building type dimension is used to match the area calculation rules for the corresponding building type; The second-order building function dimension is used to determine the area calculation rules for building functions under the corresponding building types; The third-order calculation coefficient dimension is used to construct a Boolean matrix with the three elements of floor height, enclosure, and roof, and map the corresponding area calculation coefficients.

6. The method for automatic marking of building functions and calculation of area as described in claim 5, characterized in that, The method further includes: The calculated building area is automatically verified in multiple dimensions according to the preset verification operator rule library; wherein, each verification rule in the verification operator rule library corresponds to an independent single-function verification operator; the verification types include geometric consistency verification, logical rationality verification, standard compliance verification and data integrity verification, and each verification type includes multiple verification rules.

7. A device for automatically marking building functions and calculating area, characterized in that, include: The drawing acquisition module is used to acquire the planning and approval drawings and planning verification floor plans for building projects; An index construction module is used to construct the layer index and spatial location index of the layered map in the planning application map and the planning verification plan, respectively. The function marking module is used to map the building functions in the planning application drawing to the planning verification plan based on the layer index and the spatial location index, so as to obtain the automatic marking result of the building functions in the planning verification plan; The semantic library construction module is used to build an area calculation semantic library according to preset area calculation rules; The area calculation module is used to automatically mark the building function based on the area calculation semantic library and the planning verification plan, automatically match the corresponding area calculation rules, perform geometric operations, and output the area calculation results.

8. A terminal device, characterized in that, The system includes a processor and a memory, the memory storing a computer program configured to be executed by the processor, wherein the processor, when executing the computer program, implements the automatic marking and area calculation method for building functions as described in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, wherein when the device containing the computer-readable storage medium executes the computer program, it implements the automatic marking and area calculation method for building functions as described in any one of claims 1 to 6.

10. A computer program product, characterized in that, The computer program product includes a computer program or computer instructions, which, when executed by a processor, implement the automatic marking and area calculation method for building functions as described in any one of claims 1 to 6.