Automatic reconstruction method of structural model based on building surveying drawing paper

By automatically reconstructing the structural model of architectural survey drawings, the problem of converting survey drawings into BIM models has been solved, realizing the automated conversion from drawings to BIM structural models, improving the efficiency and accuracy of digital modeling, and supporting the management of the entire building life cycle.

CN123160791APending Publication Date: 2026-11-24SHANGHAI CONSTRUCTION FOURTH CONSTRUCTION GROUP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611509787.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-28
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

In existing technologies, the structural information of architectural survey drawings is difficult to automatically convert into calculable, manageable, and modelable digital data, resulting in time-consuming and error-prone manual interpretation, which makes it difficult to support the rapid reconstruction of structural models and the continuous use of engineering data.

Method used

By using an automatic structural model reconstruction method based on architectural survey drawings, including grid benchmark extraction, elevation identification, collaborative identification of components such as walls, columns, beams, doors and windows, and real coordinate conversion, combined with BIM modeling software interfaces, the automatic conversion from survey drawings to BIM structural models can be achieved.

Benefits of technology

It reduces manual map reading and repetitive data entry, enhances the application value of surveying and mapping results in BIM modeling and structural verification, and forms a traceable, verifiable, and scalable digital model to support the management of the entire building life cycle.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123160791A_ABST
    Figure CN123160791A_ABST
Patent Text Reader

Abstract

This invention provides an automatic reconstruction method for structural models based on architectural survey drawings. Through grid reference extraction, elevation identification, collaborative identification of components such as walls, columns, beams, doors, and windows, real coordinate conversion, and component correlation correction, it transforms traditional survey drawing information, which relies on manual reading and repetitive data entry, into unified structured engineering data. This reduces repetitive drawing reading, manual processing, and secondary data entry work in the digital modeling process of existing building structures. By using the MCP, API, or other secondary development interfaces of BIM modeling software, data such as component type, geometric coordinates, floor elevation, cross-sectional dimensions, wall thickness, and door / window host relationships are mapped to automatically created BIM model components. This achieves automated conversion from architectural survey drawings to BIM structural models, such as creating Revit structural models, enhancing the practical application value of surveying results in BIM modeling, structural verification, and digital delivery.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of intelligent recognition of architectural drawings and structural information modeling technology, and specifically relates to a method for automatic reconstruction of structural models based on architectural survey drawings. Background Technology

[0002] A large number of existing buildings, historical buildings, and early public buildings in my country have generated a wealth of survey drawings, structural plans, inspection report appendices, and as-built data during their construction, renovation, inspection, and repair processes. For a long time, these documents have been archived primarily as paper drawings, scanned copies, or PDF files, with some buildings lacking complete electronic CAD drawings or BIM models. Especially in scenarios involving existing building inspection, historical building preservation, urban renewal, and structural safety verification, survey drawings often record crucial structural information such as building grid lines, elevations, walls, floors, columns, beams, doors, and windows. This information is essential for subsequent structural verification, defect location, repair design, component information integration, and digital modeling. The ability to extract, organize, and transform this structural information from paper drawings, scanned drawings, and inspection reports into calculable, manageable, and modelable digital data is of great significance for the later maintenance, repair, and life-cycle management of existing buildings.

[0003] In current work, the aforementioned structural information largely relies on manual review of PDF drawings, identifying axis lines and component positions item by item, and then secondary input using CAD, spreadsheet, or modeling software. For scanned drawings, old drawings, or surveying results with complex annotations, manual reading is not only time-consuming but also easily affected by factors such as drawing noise, annotation obstruction, broken lines, and overlapping axes and components, leading to omissions, misidentifications, inconsistent coordinates, and chaotic cross-floor numbering, making it difficult to support the rapid reconstruction of subsequent structural models and the continuous use of engineering data. Summary of the Invention

[0004] The purpose of this invention is to provide an automatic reconstruction method for structural models based on architectural survey drawings.

[0005] To address the above problems, this invention provides a method for automatic reconstruction of structural models based on architectural survey drawings, comprising:

[0006] Step S1: Based on the architectural survey drawing PDF file, obtain the target page set;

[0007] Step S2: Based on the non-aliased version images in the target page set, obtain a structured axis list;

[0008] Step S3: Based on the non-aliased version image in the target page set output in step S1 and the structured axis list output in step S2, obtain the net image, global coordinate file and scale file.

[0009] Step S4: Based on the non-aliased version image in the target page set output in step S1, extract and form a floor elevation sequence;

[0010] Step S5: Based on the historical floor window count cache from external input, the net map output from step S3, the global coordinate file and scale file, the structured axis list output from step S2, and the jagged version image from the target page set output from step S1, the window dataset is obtained.

[0011] Step S6: Based on the net map, global coordinate file and scale file output in step S3, the structured axis list output in step S2, and the jagged version image in the target page set output in step S1, the wall dataset and floor dataset are obtained.

[0012] Step S7: Based on the net map, global coordinate file and scale file output in step S3, the structured axis list output in step S2, the jagged version image in the target page set output in step S1, and the floor elevation sequence output in step S4, combined with the window dataset output in step S5 and the wall dataset output in step S6, the column dataset is obtained.

[0013] Step S8: Based on the net drawing, global coordinate file and scale file output in step S3, the structured axis list output in step S2 and the jagged version image in the target page set output in step S1, and combined with the window dataset output in step S5, the wall dataset output in step S6 and the column dataset output in step S7, the beam dataset is obtained.

[0014] Step S9: Based on the net drawing, global coordinate file and scale file output in step S3, the structured axis list output in step S2 and the jagged version image in the target page set output in step S1, and combined with the window dataset output in step S5, the wall dataset output in step S6, the column dataset output in step S7 and the beam dataset output in step S8, the door dataset is obtained.

[0015] Step S10: Based on the output window dataset of step S5, the output wall dataset and floor slab dataset of step S6, the output column dataset of step S7, the output beam dataset of step S8, and the output door dataset of step S9, complete the secondary correction of components, wall completion and connection, and floor component collection, and output the total dataset of complete floor components.

[0016] Step S11: Based on the complete dataset of floor components output in step S10, combined with the structured axis list output in step S2, the global coordinate file and scale file output in step S3, and the floor elevation sequence output in step S4, automatically generate the floor BIM structural model and output the floor BIM model file with axis grid positioning, component geometric dimensions and complete attribute information.

[0017] Compared with the prior art, the beneficial effects of the present invention are as follows:

[0018] (1) The automatic reconstruction method of structural model based on architectural survey drawings provided by the present invention transforms the traditional survey drawing information that relies on manual reading and repeated input into unified structured engineering data by extracting the grid reference, identifying the elevation, collaboratively identifying components such as wall panels, columns, beams, doors and windows, converting the real coordinates and correcting the correlation between components, thereby reducing the repeated reading, manual sorting and secondary input work in the process of digital modeling of existing building structures.

[0019] (2) Based on the structured extraction results, this invention further maps data such as component type, geometric coordinates, floor elevation, cross-sectional dimensions, wall thickness, and door and window host relationships into automatically created BIM model components through the MCP, API or other secondary development interfaces of BIM modeling software, such as Revit MCP and Revit API. This realizes the automated conversion from architectural survey drawings to BIM structural models, such as the formation of Revit structural models, which enhances the practical application value of surveying results in BIM modeling, structural verification and digital delivery.

[0020] (3) This invention constructs a complete technical chain of “drawing page screening - grid and scale establishment - multi-component identification - topology relationship correction - structured data summary - BIM software interface automatic modeling”, which enables the survey drawings in historical buildings, existing buildings and urban renewal projects to form traceable, verifiable and scalable digital model results, providing a data foundation for subsequent inspection information linking, component-level object management, digital twin application and building life cycle management. Attached Figure Description

[0021] Figure 1 This is a flowchart of an embodiment of the present invention of an automatic reconstruction method for structural models based on architectural survey drawings;

[0022] Figure 2 This is a flowchart of step S1 according to an embodiment of the present invention;

[0023] Figure 3 This is a flowchart of step S2 according to an embodiment of the present invention;

[0024] Figure 4This is a flowchart of step S3 according to an embodiment of the present invention;

[0025] Figure 5 This is a flowchart of step S4 of an embodiment of the present invention.

[0026] Figure 6 This is a flowchart of step S5 of an embodiment of the present invention.

[0027] Figure 7 This is a flowchart of step S6 of an embodiment of the present invention.

[0028] Figure 8 This is a flowchart of step S7 of an embodiment of the present invention.

[0029] Figure 9 This is a flowchart of step S8 of an embodiment of the present invention.

[0030] Figure 10 This is a flowchart of step S9 of an embodiment of the present invention.

[0031] Figure 11 This is a flowchart of step S10 of an embodiment of the present invention.

[0032] Figure 12 This is a flowchart of step S11 of an embodiment of the present invention. Detailed Implementation

[0033] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0034] Existing image recognition methods can typically detect local targets, such as identifying single line segments, text, or local components in drawings. However, in architectural surveying drawings, the following shortcomings still exist: First, there is a lack of unified linkage between baseline information such as axis numbers, scales, and elevations and component recognition, making it difficult to convert subsequent components such as walls, columns, beams, doors, and windows into real engineering coordinates. Second, different components interfere with each other. For example, axis lines running through the drawing sheet can affect the detection of line segments such as windows, walls, beams, and doors; door openings can cause walls to be fragmented; and window openings and their annotations can also pollute wall line recognition. Third, there is insufficient adaptability to scanning noise, compression artifacts, line breaks, vertical text, and small-sized cross-sectional annotations, and single OCR or single threshold processing can easily lead to unstable results. Fourth, the recognition results lack mechanisms for manual review, continuous numbering across floors, origin alignment, and scale conversion, making it difficult to form standardized data that can be directly used for structural model reconstruction.

[0035] Therefore, there is a need for a method that can take architectural survey drawings (PDF), scanned drawings, and surveying attachments in inspection reports as input, first establish spatial benchmarks such as grid lines, scales, and elevations, and then combine image preprocessing, geometric constraints, engineering semantic constraints, OCR voting, and secondary correction between components to collaboratively extract components such as walls, floor slabs, columns, beams, doors, and windows, and further output structured results that can be used for structural model reconstruction and subsequent maintenance and repair applications.

[0036] like Figure 1 As shown, this invention provides a method for automatic reconstruction of structural models based on architectural survey drawings, including:

[0037] Step S1: Based on the architectural survey drawing PDF file, obtain the target page set;

[0038] Step S1 includes:

[0039] Step S1-1: Obtain the architectural survey drawing PDF file, parse the architectural survey drawing PDF file, and read the total number of pages in the architectural survey drawing PDF file; retain the original page number of the architectural survey drawing PDF file, establish a mapping relationship between the page number of the architectural survey drawing PDF file and the PDF page object of the architectural survey drawing PDF file, and obtain a list of PDF page objects, wherein the list of PDF page objects carries the original page number of the PDF corresponding to each PDF page object;

[0040] Step S1-2: Obtain the range of page numbers to be extracted and the keyword set, wherein the keyword set includes: drawing title keywords, floor keywords, and component keywords; based on the range of page numbers to be extracted, initially select PDF page objects corresponding to the original PDF page number range in the PDF page object list; for each PDF page object within the original PDF page number range, extract the page text information, and match the extracted page text information with the keyword set, retaining PDF page objects that match at least one keyword in the keyword set, to obtain the initial screening PDF page set, wherein the initial screening PDF page set includes: PDF page objects and corresponding original PDF page numbers;

[0041] Steps S1-3: Traverse each PDF page object in the initial screening PDF page set; render the page at a fixed resolution of 600dpi; for the same PDF page object, render and generate a jagged version image and a non-jagged version image respectively; save the jagged version image and the non-jagged version image to the local storage medium, and establish an association mapping between the PDF page object and the jagged version image and the non-jagged version image to obtain the initial screening page image mapping set. Each record in the initial screening page image mapping set includes: the original PDF page number, the jagged version image, and the non-jagged version image.

[0042] Here, the file handles for the jagged image version and the non-jagged image version can be implemented using the jagged image file handle and the non-jagged image file handle, respectively. A file handle is a reference identifier assigned by the operating system to an image file after it has been opened or stored. The program can directly read the pixel data of the image without repeatedly searching the disk using the file path string; this avoids redundant disk I / O and facilitates the transfer of image resources between subsequent sub-steps without repeatedly copying the image's binary data.

[0043] A jagged version of an image refers to rendering a PDF page with anti-aliasing disabled, where jagged edges will appear on the lines.

[0044] An anti-aliased version of an image refers to rendering a PDF page with anti-aliasing enabled, resulting in smooth transitions at the edges of lines.

[0045] The non-aliased version of the image (with anti-aliasing enabled) can be used in subsequent steps S2 (axis reference extraction), S3 (axis distance scale recognition), and OCR character recognition. After enabling anti-aliasing in PDF rendering, the edges of the text (axis numbers, elevations, and dimension annotations) on the drawing are smooth, without jagged edges. The OCR optical character recognition module is sensitive to the quality of text edges; smooth edges can improve the recognition accuracy of axis numbers, elevations, and scale values. In step S2, Hough circle detection identifies the axis number circle; the smooth circular edges result in a higher detection rate for the Hough circle detection algorithm, reducing missed detections. Step S2 explicitly uses the handle of the non-aliased version image file from the target page set as input, directly reading pixels for image enhancement, Hough circle detection, and in-circle OCR recognition.

[0046] The aliased image (anti-aliasing off, hard edges preserved) can be used for line segment extraction in subsequent steps S5 (windows), S6 (walls and floors), S7 (columns), S8 (beams), and S9 (door components). With anti-aliasing off, line edges are hard pixel boundaries, eliminating the semi-transparent gray pixel transitions caused by anti-aliasing. If anti-aliased images are used for line tracing and contour extraction, the transition grayscale at line edges can cause line breakage, contour expansion and contraction, and unstable binarization thresholds. The aliased image, with its sharp and distinct black and white line boundaries, is suitable for pixel-level line tracing, contour extraction, and morphological operations.

[0047] The solution in this application is designed to save two versions simultaneously: when the non-aliased version deteriorates in the recognition of component line segments due to anti-aliased grayscale artifacts, the program can switch to the aliased version image file handle to read pixels, perform component contour and line segment extraction, and improve the robustness of line segment detection.

[0048] Steps S1-4: Based on the initial screened page image mapping set, generate page thumbnails and display them on the review interaction interface; receive two types of user interaction operations on the review interaction interface: page renaming operation and page selection / retention / deselection operation; filter out pages that the user has deselected; for pages that have been selected and retained, bind the user's modified page name corresponding to the user's page renaming operation to obtain the target page set confirmed by the user, wherein each record field in the target page set includes: original PDF page number, user-modified page name, floor marker obtained by parsing or binding the user-modified page name, and jagged version image and non-jagged version image.

[0049] Here, both the aliased and non-aliased versions of the image are image resource references used for reading image pixels in subsequent steps. In this embodiment, the image resource references are implemented using file handles, corresponding to the images obtained with anti-aliasing rendering disabled and the images obtained with anti-aliasing rendering enabled, respectively. The target page set can serve as the data source for step S2. Step S2 reads the pixel data of the non-aliased version of the image in each record of the target page set and performs axis reference extraction processing.

[0050] like Figure 2 As shown, step S1 involves importing drawing pages and filtering target pages. Import the architectural survey drawing PDF, obtain the number of pages, input the range of pages to be extracted, and the drawing name, floor level, or component keywords. Extract pages containing the target keywords. Save the extracted pages as images, simultaneously saving both jagged and non-jammed versions at a resolution of 600 dpi. In the result page thumbnail interface, allow users to update page names and select target pages. Parse or bind the modified page names as floor markers, using them as the data source for subsequent component extraction.

[0051] Step S2: Based on the non-aliased version images in the target page set, obtain a structured axis list;

[0052] Step S2 includes:

[0053] Step S21: For the pixel data of the non-aliased version image in the target page set, perform grayscale processing, local contrast enhancement processing and light image denoising processing in sequence to enhance the edge features of the axis number circle in the drawing and obtain the enhanced complete drawing image.

[0054] Step S22: For the enhanced complete drawing image larger than the preset size, perform image segmentation using a fixed window or an adaptive window, splitting it into several sub-image blocks; within each sub-image block, execute the Hough circle detection algorithm to obtain a set of candidate circles corresponding to each sub-image block. Each candidate circle carries the center coordinates and radius of the circle in the local coordinate system of the block, and is uniformly transformed to the global image coordinate system of the entire complete drawing image; traverse all candidate circles from different sub-image blocks; when the center distance between two candidate circles is less than the center distance threshold, and the absolute value of the radius difference is less than the radius difference threshold, it is determined that the two candidate circles correspond to the same real axis number circle on the drawing, and candidate circle merging is performed: redundant and duplicate candidate circles are discarded, and a merged axis number circle record is generated; after traversing and merging all candidate circles, a complete set of axis number circles in the entire image coordinate system is obtained, and each axis number circle in the complete set of axis number circles carries the center image coordinates and radius parameters in the global image coordinate system;

[0055] Here, this merging operation only removes duplicates from candidate circle geometric records and does not stitch together or fuse the pixels of the sub-image blocks themselves; it is used to solve the problem of circles with real axis numbers crossing block boundaries being repeatedly detected by multiple adjacent blocks.

[0056] Step S23: For each axis circle in the complete set of axis circles, calculate the distance from its center to the upper boundary, lower boundary, left boundary, and right boundary of the map sheet; compare the minimum and second smallest distances among the four distances; if the difference between the minimum and second smallest distances is greater than the conflict determination threshold, then the axis circle is assigned to the unique group corresponding to the minimum distance; the grouping is one of four: upper axis circle group, lower axis circle group, left axis circle group, and right axis circle group, and a single axis circle belongs to only one group; if the difference between the minimum and second smallest distances is less than or equal to the conflict determination threshold, then it is determined to be a four-corner critical ambiguity axis circle, and a pending mark is added to the axis circle. The labels are manually identified, and no automatic grouping is performed yet. These labels will be assigned a unique grouping marker during subsequent manual review. For axis number circles that have already been automatically grouped, the upper axis number circles are sorted in ascending order within their respective groups based on their center x-coordinates; the lower axis number circles are sorted in ascending order within their respective groups based on their center x-coordinates; the left axis number circles are sorted in ascending order within their respective groups based on their center y-coordinates; and the right axis number circles are sorted in ascending order within their respective groups based on their center y-coordinates. This results in a set of axis number circle groups that have been grouped and sorted. Each axis number circle record within this set carries: center coordinates, radius, and either its grouping marker or a label to be manually identified.

[0057] Here, the purpose of grouping is to: distinguish the horizontal and vertical axis number circles at different edges of the map sheet; assign a unique group label to each axis number circle record or add a label for manual verification; output this label downstream for subsequent step S3 to use, limiting axis number circles to only be paired within the same group to form axis pairs, avoiding incorrect pairing of axis number circles at different map sheet edges. Four corners with critical ambiguity in axis number circles are handed over to manual review for designated grouping.

[0058] Step S24: Traverse each axis number circle in the set of axis number circles. Based on the center and radius parameters of the axis number circle, extract the image region inside the circle corresponding to the axis number circle from the complete drawing image after enhancement processing in step S21. For the same image region inside the circle, generate multiple sets of enhanced sub-images, including: original image sub-image, local contrast enhancement sub-image, binarization sub-image, and image sharpening sub-image. Perform OCR character recognition on each set of enhanced sub-images to obtain multiple sets of OCR recognized text and corresponding recognition confidence scores. First, filter the multiple sets of OCR recognized text, removing recognized text that does not meet the constraints of legal characters for axis numbers, and then remove recognized text with recognition confidence scores lower than the preset OCR output confidence threshold to obtain a set of valid candidate texts. If the set of valid candidate texts is not empty, count the frequency of each recognized text in the set of valid candidate texts, and select the recognized text with the highest frequency as the stable axis number text corresponding to the axis number circle. If the set of valid candidate texts is empty, mark the axis number circle with OCR. Identify the axis number text to be manually corrected and left for manual review in step S25; output the intermediate dataset of axis number circles carrying the initially identified axis number text; each record in the intermediate dataset of axis number circles carries: center coordinates, radius, group label or label to be manually identified, stable axis number text or OCR-recognized label to be manually corrected;

[0059] Step S25: Obtain the intermediate dataset of axis number circles carrying the initially identified axis number text output in step S24; obtain the center coordinates, radius, initially identified axis number text, labels to be manually verified, and OCR-recognized labels to be manually corrected for all axis number circles; on the enhanced complete drawing image output in step S21, visually overlay all axis number circle graphics and initially identified axis number text from the intermediate dataset; highlight axis number circles with labels to be manually verified and axis number circles marked as OCR-recognized and requiring manual correction, and display a visual review interface; receive five types of manual editing operations from the user: modify axis number text, delete falsely detected axis number circles, supplement missed axis number circles, assign a unique group label to axis number circles with labels to be manually verified, and perform OCR corrections. Identify the axle number circles that need manual correction and enter the verified axle number text; update the center coordinates and radius of the axle number circles, the axle number text, and the grouping label information according to user operations; ensure that each output axle number circle record has a unique grouping label and verified axle number text, and that there are no records with labels that need manual verification, OCR recognition labels that need manual correction, empty groups, multiple grouping labels, or empty axle number text values.

[0060] Output a structured axis list. Each record in the structured axis list contains the following fields: axis number circle center image coordinates, axis number circle radius, verified axis number text, and the group label.

[0061] Here, as Figure 3 As shown, step S2 involves axis reference extraction. The target page is grayscaled, locally contrast-enhanced, and lightly denoised to strengthen the edges of the axis number circles. Large-size drawings are divided into blocks using fixed or adaptive windows. Hough circle detection is performed within each block, and circles spanning blocks are merged and deduplicated based on center distance and radius difference to obtain a set of axis number circles in the overall map coordinate system. Based on the distance between the circle center and the map boundary, the axis number circles are divided into four groups: top, bottom, left, and right, and sorted horizontally or vertically. Multiple enhanced versions (original, locally enhanced, binarized, sharpened, etc.) are generated for the area within the circle, and OCR recognition is performed on each. Voting is conducted based on frequency of occurrence, recognition confidence, and legal character constraints to obtain stable axis number text. The recognition results are visualized and overlaid, providing an entry point for manual review to modify axis numbers, delete falsely detected circles, and supplement missed circles. The reviewed axis circles, center coordinates, and axis number text are saved as a structured axis list.

[0062] Step S3: Based on the non-aliased version image in the target page set output in step S1 and the structured axis list output in step S2, obtain the net image, global coordinate file and scale file.

[0063] Step S3 includes:

[0064] Step S31: Read all records in the structured axis list. Based on the grouping label of each record, divide the list into subsets including the upper axis number circle record subset, the lower axis number circle record subset, the left axis number circle record subset, and the right axis number circle record subset. Because the structured axis list has undergone manual deletion and addition of axis number circles, the original temporary sorting in step S2 is invalid. Therefore, the subsets are reordered: the upper axis number circle record subset is sorted in ascending order by the x-coordinate of the circle center image coordinates; the lower axis number circle record subset is sorted in ascending order by the x-coordinate of the circle center image coordinates; the left axis number circle record subset is sorted in ascending order by... The center coordinates of the circle images are sorted in ascending order by their ordinates. The right-side axis number circle records are then sorted in ascending order by their ordinates. Within each subset, two adjacent axis number circle records are sequentially selected and paired to form axis pairs. Each axis pair includes a first axis number circle record and a second axis number circle record. Cases where only a single record exists within the same subset and cannot be paired are filtered out; isolated axis number circle records that cannot form pairs within the same subset are discarded. The set of axis pairs is output, where each axis pair record in the set contains the complete records of the two paired axis number circles.

[0065] Step S32: Read the pixel data of the non-aliased version image in the target page set output in step S1, and simultaneously obtain the width and height boundary parameters of the entire image; traverse each set of axis pairs in the axis pair set, and extract the image coordinates of the center of each of the two axis number circles within the axis pair; first distinguish the type of axis pair: if the group to which the axis pair belongs is the upper axis number circle group or the lower axis number circle group, it is determined to be a horizontal axis pair, and the line connecting the two center circles is horizontal, and it is offset and expanded outward along the vertical direction; if the group to which the axis pair belongs is the left axis number circle group or the right axis number circle group, it is determined to be a vertical axis pair, and the line connecting the two center circles is vertical, and it is offset and expanded outward along the horizontal direction. Based on the offset direction of either vertical or horizontal outward offset expansion, preliminary candidate regions of interest (ROIs) surrounding the scale annotation text are generated. Combining the width and height boundary parameters of the entire image, boundary constraints are corrected on the initially generated candidate regions, truncating coordinates exceeding the image range to obtain valid candidate regions of ROIs. After processing all axis pairs, a complete set of all valid candidate regions of ROIs is obtained. During the traversal, a unique axis pair index is assigned to each axis pair. Each record in the candidate region set of ROIs contains the corresponding axis pair index. Each record in the candidate region set of ROIs includes: the corresponding axis pair index (used to uniquely bind the axis pair to which the ROI belongs) and the ROI pixel coordinate range.

[0066] Here, "scale" refers to the dimension markings of the axis distance between adjacent axes; the scale ROI candidate area is used to select the pixel area containing the dimension markings and dimension numbers of the axis pair on the drawing, and then the area is cropped to perform OCR recognition to read the axis distance value.

[0067] Step S33: Read the non-aliased version image pixel data from the target page set output in step S1. Based on the ROI pixel coordinate range, extract sub-images of each scale ROI candidate region. Perform OCR character recognition on each scale ROI candidate region sub-image to obtain the recognized text and corresponding recognition confidence. Filter the recognized text to obtain the filtered and retained text. The filtering process includes: removing recognized text equal to axis number text, removing recognized text that is not purely numeric, removing recognized text with a recognition confidence lower than a preset OCR confidence threshold, and removing candidate recognition results where the distance between the ROI center point and the center of the line connecting the axis lines exceeds a distance threshold. If the filtered and retained text contains valid numerical values, perform numerical analysis on the filtered and retained text, combining it with the scale ROI. The candidate region sub-image is matched with the corresponding axis pair index to obtain the axis distance scale engineering value of the axis pair; if there is no valid value in the text retained after filtering, the axis pair is marked as axis distance to be manually calibrated and left for subsequent manual review; the axis pair dataset carrying axis distance scale information is output; each record in the axis pair dataset contains: axis pair index, two paired axis number circles and axis distance scale engineering value or axis distance to be manually calibrated mark;

[0068] Step S34: Read the pixel data of the non-aliased version image from the target page set output in step S1; read the center image coordinates and radius of all axis numbers in the structured axis list, and calculate the boundaries of all axis numbers based on the center image coordinates and the radius of the axis numbers; combine the boundaries of all axis numbers to detect the lines that run through the axis inside the non-aliased version image, and comprehensively determine the pixel boundaries of the effective structural regions in the non-aliased version image; perform image cropping on the non-aliased version image according to the pixel boundaries of the effective structural regions, and obtain the clean image after cropping; calculate the coordinate offset of the upper left corner of the clean image relative to the upper left corner of the non-aliased version image, wherein the coordinate offset includes: X-direction offset and Y-direction offset; calculate the pixel coordinates of the origin of the axis grid based on the axis extreme values ​​of the structured axis list, and write them to the global coordinate file;

[0069] Step S35: From the axis pair dataset, filter out valid axis pairs without axis distance markings requiring manual calibration; for each valid axis pair, read the pixel distance between the centers of the two axis number circles in the axis pair, and read the corresponding axis distance scale engineering value; calculate a single temporary scale = axis distance scale engineering value ÷ pixel distance between the centers of the two axis number circles; collect the single temporary scales calculated for all valid axis pairs, and calculate the average of the single temporary scales calculated for all valid axis pairs as the global scale; if the number of valid axis pairs is zero, i.e., all axis pairs have axis distance markings requiring manual calibration, mark the global scale as requiring manual input and hand it over to manual input of the scale value; synchronously generate a matching global coordinate file and scale file, the two files are matching independent files corresponding to the same set of non-aliased version image pixel data, wherein the global coordinate file internally records step S34 Output coordinate offsets (X-direction offset and Y-direction offset); The scale file records: a global scale without axis distance markings to be manually calibrated, or a global scale with axis distance markings to be manually calibrated.

[0070] Here, the output includes the net drawing, coordinate offset, global coordinate file, and scale file. When the scale file carries the global scale for manual input of markings, the downstream steps need to wait for the manual input of the scale values ​​before performing component recognition.

[0071] Here, as Figure 4 As shown, in step S3, the axis spacing scale, clipping area, and scale are generated. Axis pairs are constructed based on adjacent axis circles on the same side and in the same group. The candidate scale area is adaptively clipped according to the position of the axis pairs. OCR is performed on the candidate scale areas to filter axis number text, non-numerical text, and candidate values ​​far from the axis center, outputting the axis pair scale values. The effective structural area is determined by combining the axis circle boundary and through-axis detection results, and the net image is clipped and the coordinate offset is recorded. The scale is calculated based on the axis spacing scale and pixel distance, outputting a global coordinate file and a scale file to provide a unified benchmark for subsequent component coordinate conversion.

[0072] Step S4: Based on the non-aliased version image in the target page set output in step S1, extract and form a floor elevation sequence;

[0073] Step S4 includes:

[0074] Step S41, Elevation Candidate Region Extraction: Using the non-aliased version image in the target page set output in step S1 as input, obtain the map width, map height, and paper orientation to obtain the basic map parameters; based on the map width, map height, and paper orientation in the basic map parameters, determine the elevation candidate regions on the left and right sides or the top and bottom ends of the non-aliased version image, and capture the elevation candidate region image, and completely transfer it to sub-step S42;

[0075] Step S42, Unify the elevation text direction: Using the elevation candidate region image output in step S41 as input, traverse each elevation candidate region image, determine the arrangement direction of the elevation numbers in the region, and obtain the horizontal elevation number region and the vertical elevation number region; keep the direction of the horizontal elevation number region unchanged, rotate the vertical elevation number region, and unify the horizontal elevation number region and the rotated vertical elevation number region into a direction suitable for OCR recognition, obtain the elevation recognition sub-image set, and pass it completely to sub-step S43;

[0076] Step S43, Elevation OCR Recognition and Format Cleaning: Using the elevation recognition sub-image set output in step S42 as input, perform OCR recognition on the elevation recognition sub-image set to obtain the recognized text and recognition confidence; based on the recognized text and recognition confidence, remove results below the preset confidence threshold, and clean the text by character set constraints and positive / negative sign and decimal point format rules, converting the valid text into elevation values ​​to obtain an elevation value set, which is then completely passed to sub-step S44;

[0077] Step S44, floor elevation sequence generation: Using the set of elevation values ​​output in step S43 as input, merge the elevation values ​​corresponding to the left and right sides or the top and bottom ends of the non-zailed version image to obtain merged elevation values; remove duplicates from the merged elevation values ​​and sort them according to the size of the elevation values ​​to form a floor elevation sequence.

[0078] The floor elevation sequence is output to downstream steps S7 and S11 to determine column height, create BIM floors, and determine the vertical positioning reference for walls, columns, beams and floor slabs.

[0079] Here, when a candidate elevation text fails the confidence or format check, it will not be written into the floor elevation sequence to avoid invalid elevations affecting the height of subsequent components and the BIM floor positioning.

[0080] like Figure 5 As shown, in step S4, elevation extraction: using the non-aliased version image from the target page set output in step S1 as input, the map width, map height, and drawing orientation are obtained to get the basic map parameters; based on the basic map parameters, elevation candidate areas are determined and the elevation candidate area images are captured; the orientation of the horizontal and vertical elevation number areas in the elevation candidate area images is unified to obtain an elevation recognition sub-image set; OCR recognition, confidence filtering, and format cleaning are performed on the elevation recognition sub-image set to obtain an elevation value set; the elevation value set is merged, deduplicated, and sorted to form a floor elevation sequence.

[0081] Step S5: Based on the historical floor window count cache from external input, the net map output from step S3, the global coordinate file and scale file, the structured axis list output from step S2, and the jagged version image from the target page set output from step S1, the window dataset is obtained.

[0082] Step S5 includes:

[0083] Step S51, Image Preprocessing and Axis Pixel Erasure: Read the pixel data of the aliased version image in the target page set output in step S1, read all axis pixel coordinates of the structured axis list output in step S2, traverse all axis coordinates within the pixel data of the aliased version image file and perform pixel erasure operation to completely remove all axis pixels inside the aliased version image, obtaining a dedicated image for the de-aliased component; output the complete dedicated image for the de-aliased component to sub-step S52;

[0084] Step S52, Background Adaptive Threshold Binarization Processing: Based on the de-axis jagged component-specific image output in step S51, perform background adaptive threshold binarization processing to eliminate grayscale gradient interference in the drawing, strengthen the black and white hard boundary lines of the window frame, output a binarized window frame-specific image, and completely pass it to sub-step S53 as input to adapt to pixel-level line segment tracking calculation.

[0085] Step S53, Pixel-level line segment extraction and noise filtering: Based on the binarized window frame image output in step S52, a pixel-level line segment tracing algorithm is used to extract all horizontal and vertical line segments inside the image. The pixel-level line segment tracing algorithm supports crossing fewer than a preset number of line segment breakpoints, completely preserving the outline of the segmented window frame; based on preset line segment angle thresholds and minimum line segment length thresholds, short lines, broken annotation lines, and short legend lines and other noise line segments in the horizontal and vertical line segments are filtered out, and a set of horizontal candidate line segments and a set of vertical candidate line segments are output; the complete set of horizontal candidate line segments and the set of vertical candidate line segments are output to sub-step S54 as input material for window candidate frame matching;

[0086] Step S54, Window Candidate Box Generation and Overlapping Candidate Deduplication: Based on the horizontal and vertical candidate line segment sets output in step S53 as input, within the local neighborhood of the binarized window frame image output in step S52, all horizontal and vertical candidate line segments are traversed, and line segments that simultaneously contain a pair of parallel outer frame edges and internal parallel window pane separators are selected to form closed rectangles as window candidate boxes, resulting in each set of matched edge combinations; for each set of matched edge combinations, the pixel coordinates of all associated edge endpoints are extracted, and the four corner points of the rectangular outer frame are calculated by taking the extreme values ​​of the X and Y coordinates, obtaining the four-point coordinates of the local pixel outer frame of the net image; all window candidate boxes are traversed, and the percentage of overlapping pixels between boxes is calculated. If the overlap percentage exceeds a preset overlap threshold, merging and deduplication are performed, outputting a set of non-overlapping window candidate box pixels; each window candidate box record in the non-overlapping window candidate box pixel set stores the aforementioned calculated four-point coordinates of the local pixel outer frame of the net image; the complete set of non-overlapping window candidate box pixels is output to sub-step S55. As input for coordinate transformation;

[0087] Step S55, Pixel coordinates to real building coordinates: Based on the non-overlapping window candidate box pixel set output in step S54, each window candidate box record in the non-overlapping window candidate box pixel set carries the coordinates of four points of the local pixel bounding box of the net image. The coordinates of the four points of the local pixel bounding box of the net image are used as the local pixel coordinates of the window candidate box; Read the three types of parameters stored in the global coordinate file output in step S3: X direction offset, Y direction offset, and the pixel coordinates of the origin of the grid calculated by step S34 based on the extreme values ​​of the axis lines in the structured axis line list and written into the global coordinate file; Read the global scale stored in the scale file in step S3;

[0088] The conversion is performed in two levels:

[0089] First-level coordinate conversion, local pixel to original drawing global pixel coordinates: superimpose the local pixel coordinates of any window candidate box with the X-direction offset and the Y-direction offset to obtain the global pixel coordinates of the entire pixel area of ​​the non-aliased version image;

[0090] The second-level coordinate conversion transforms global pixel coordinates into real building global coordinates: using the origin pixel coordinates of the grid in step S34 as the reference origin, the horizontal and vertical pixel differences between the window's global pixel coordinates and the origin pixel are calculated. The pixel differences are multiplied by the global scale to obtain the real building global coordinates of the four corners of the window. The complete window candidate box coordinate dataset with the coordinates of the four points of the window's global pixel coordinates and the real building global coordinates of the four corners of the window is output and passed to step S56.

[0091] Here, the horizontal pixel difference = window global pixel X coordinate - axis origin pixel X coordinate;

[0092] Vertical pixel difference = window global pixel Y coordinate - axis grid origin pixel Y coordinate.

[0093] The net image is a local image obtained by cropping the effective structural region within the full pixel area of ​​the non-aliased version image. The offsets in the X and Y directions are the pixel coordinates of the upper left corner of the net image within the pixel area of ​​the entire non-aliased version image.

[0094] Step S56, Continuous Numbering and Dataset Output of Windows Across the Building: The input consists of the complete window candidate frame coordinate dataset output in Step S55, the floor markers in the target page set output in Step S1, and the externally input historical floor window count cache. The complete window candidate frame coordinate dataset corresponds to all window components on the current page. The historical floor window count cache stores the total number of identified window components on all floors prior to the project, i.e., the cumulative number of windows across all floors. Based on the cumulative number of windows across all floors, a continuous and unique window number is assigned to each window component on the current page. The complete window records are integrated one by one, with the following fields sourced:

[0095] A unique window number is assigned and generated in this step;

[0096] The coordinates of the four points of the local pixels in the net image of the window candidate box are obtained from the coordinates of the four points of the outer frame of the local pixels in the net image calculated in step S54 and stored in the non-overlapping window candidate box pixel set, and are taken from the input dataset in S55.

[0097] The coordinates of the four points of the global pixels outside the window are derived from the calculation result of the first-level coordinate transformation in step S55, that is, the coordinates of the four points of the global pixels outside the window in the complete pixel area of ​​the entire non-aliased version image.

[0098] The global coordinates of the actual building at the four corners outside the window are derived from the calculation results of the second-level coordinate conversion in step S55;

[0099] The internal divider line parameters of the pane, which are the endpoint and length geometric parameters of the window divider line synchronously bound in steps S53 and S54, are transferred to this step along with the window candidate frame; the floor markers are from the floor markers in the target page set output in step S1; after integration, the window dataset is output; wherein, the window dataset includes: the unique window number, the local pixel coordinates of the window candidate frame net image, the global pixel coordinates of the window outer frame, the global coordinates of the four corners of the window outer frame, the internal divider line parameters of the pane, and the floor markers.

[0100] Here, the output window dataset of step S5 is called to the downstream step S101 for matching the wall host association in the component secondary correction stage of step S10.

[0101] This step uses the aliased version of the image file handle to read pixels throughout, avoiding grayscale artifacts caused by anti-aliasing rendering, preventing line segment breakage and binarization threshold fluctuations, and improving the robustness of window frame contour extraction; S5 outputs the window dataset and calls it to the downstream step S101 for matching the wall host association in the secondary correction of components in step S10.

[0102] like Figure 6 As shown, in step S5, window component extraction: Based on the net image output from step S3, axis pixels are first removed, and then the window frame lines are highlighted through background adaptive threshold binarization; horizontal and vertical line segments are extracted using a pixel-level tracking method, allowing a small number of breakpoints to cross, and noise is filtered according to angle and length thresholds; parallel edges and internal dividing lines are matched within a local area to form window candidate boxes, and overlapping candidates are deduplicated. Combining the axis grid origin, scale, floor markers in the target page set output from step S1, and the historical floor window number cache from external input, the coordinates of the window candidate boxes are converted into the global coordinates of the real building at the four corners of the window and continuously numbered throughout the building, outputting the window dataset.

[0103] Step S6: Based on the net map, global coordinate file and scale file output in step S3, the structured axis list output in step S2, and the jagged version image in the target page set output in step S1, the wall dataset and floor dataset are obtained.

[0104] Step S6 includes:

[0105] Step S61, Image preprocessing to remove interfering pixels: Read the pixel data of the jagged version image file; based on the pixel coordinates of all axis lines in the structured axis list of step S2, erase all axis lines within the pixel data of the jagged version image; traverse the four-point coordinates of the outer frame of the local pixels in the non-overlapping window candidate box pixel set output in step S54, i.e., the window candidate box pixel region, and erase the interfering pixels of window annotation text and window legend; after completing pixel erasure, perform background adaptive threshold binarization to obtain a binary structure map that retains only the wall edge lines and the outer boundary of the floor slab; output the complete binary structure map to step S62;

[0106] Step S62, line segment extraction, segmentation, and fusion deduplication: Based on the binary structure map output in step S61 as input, connected component grouping is performed on the white pixels in the binary structure map, and continuous line segmentation is performed on long connected components; a preset minimum line segment length threshold is used to filter out line segments with fine noise, generating a set of horizontal candidate line segments and a set of vertical candidate line segments; the candidate line segments in the set of horizontal candidate line segments that are spatially adjacent, have overlapping coordinates, or have similar endpoints are merged end to end, and the merged set of horizontal standard line segments is output; the candidate line segments in the set of vertical candidate line segments that are spatially adjacent, have overlapping coordinates, or have similar endpoints are merged end to end, and the vertical standard line segment set is output; the merged set of horizontal standard line segments and the set of vertical standard line segments are output in two separate paths: one path is sent to step S63 for wall double-line pairing, and the other path is sent to step S64 for floor slab outer boundary fitting;

[0107] Step S63: The wall centerline and wall thickness parameters are generated by pairing wall double lines. Based on the fused set of horizontal and vertical standard line segments output in step S62, all paired parallel standard line segments are traversed. Valid wall double line pairs are determined by the following four constraints: the two line segments extend in completely parallel directions; the total length difference between the line segments is less than a preset length deviation threshold; the horizontal or vertical alignment deviation of the line segment endpoints is less than an endpoint threshold; the spacing between the double lines is within the preset standard wall thickness pixel range; double line pairs that satisfy all four constraints are valid wall edge pair pairs. For each matched valid wall double line combination, the pixel coordinates of all endpoints of the two edge lines within the double line pair are extracted, and the extreme values ​​of the horizontal and vertical coordinates are calculated respectively. Based on two types of extreme values... The system generates a complete wall centerline segment, with the pixel spacing between the two lines recorded as the pixel wall thickness. The system uses the local coordinates of the original net image of the endpoints of the two edges constituting the effective wall double-line pair as the local pixel endpoint coordinates of the original net image of the double lines. Based on the extreme values ​​of the horizontal and vertical coordinates, a set of local pixels in the net image of the wall centerline is fitted and generated to represent the continuous pixel sequence of the complete wall centerline segment. All wall records are summarized, and each wall record stores: the local pixel endpoint coordinates of the original net image of the double lines, the set of local pixels in the net image of the wall centerline representing the complete wall centerline segment, and the pixel wall thickness. The system outputs the original wall segment pairing set and inputs it into the S65 unified coordinate conversion.

[0108] Here, a valid wall double line pair is a combination of two parallel edge line segments that conform to the architectural wall drawing specifications after being screened by four geometric constraints in step S63. The two parallel lines in the drawing represent the outer contour edges of the two sides of the wall respectively. After pairing, the center line and wall thickness of the wall can be calculated to construct the geometric model of the wall. Parallel line combinations that do not meet all constraints are judged as invalid double lines (decorative lines, annotation lines, and miscellaneous lines, which do not constitute a wall).

[0109] In generating a complete wall centerline segment by taking the extreme values ​​of the horizontal and vertical coordinates, a valid pair of wall double lines has four endpoint coordinates. All endpoints are then traversed:

[0110] Horizontal (X-axis): Take the minimum and maximum X values ​​to obtain the extreme values ​​of the horizontal coordinate;

[0111] Longitudinal (Y-axis): Take the minimum and maximum Y values ​​to obtain the extreme values ​​of the longitudinal coordinates; only by relying on the two sets of extreme values ​​in the horizontal and longitudinal directions can the complete outer coverage of the wall be determined, and then the centerline segment that runs through the entire wall can be fitted.

[0112] The purpose of the complete line segment of the wall centerline is as follows: to serve as the sole reference geometric line for wall coordinate conversion, matching of the host wall of door components, segmented repair of door opening walls, BIM wall entity modeling, and visual verification of drawings;

[0113] Step S64, extreme value fitting of the floor slab outer boundary: Traverse all fused boundary standard line segments in the fused horizontal and vertical standard line segment sets and the vertical standard line segment set output in step S62, and extract four sets of extreme boundary values ​​for the entire image, including: minimum pixel boundary in the X direction, maximum pixel boundary in the X direction, minimum pixel boundary in the Y direction, and maximum pixel boundary in the Y direction; fit the floor slab outer rectangle based on the four sets of extreme boundary values, and obtain the local pixel four-corner coordinates of the floor slab outer net image through boundary extreme value calculation, generating a set of four-corner points of the floor slab outer boundary; each floor slab record stores the local pixel four-corner coordinates of the floor slab outer net image; output the complete set of four-corner points of the floor slab outer boundary and send it to step S65 for unified coordinate conversion;

[0114] Step S65: Convert wall and floor coordinates to real building coordinates: Based on the original wall line segment pairing set output in step S63 and the four corner point set of the floor slab outer perimeter output in step S64, read the three types of parameters stored in the global coordinate file output in step S3: X-direction offset, Y-direction offset, and the pixel coordinates of the origin of the grid calculated based on the extreme values ​​of the axis lines in the structured axis line list and written to the file in step S34; read the global scale stored in the scale file.

[0115] The conversion is divided into two levels of operations, among which,

[0116] The first level of operation converts local pixels to global pixel coordinates of the original drawing: the local pixel points of the wall centerline net drawing are set together with the local pixel coordinates of any net drawing of the wall centerline and the four corner coordinates of the local pixels of the floor slab outer net drawing in the floor slab record. The X-direction offset and Y-direction offset stored in the global coordinate file are superimposed respectively to obtain the global pixel point set of the wall centerline and the four corner coordinates of the global pixels of the floor slab outer net drawing under the complete pixel area of ​​the entire non-aliased version image.

[0117] The second-level operation transforms global pixel coordinates into real building global coordinates: Using the pixel coordinates of the origin of the grid in step S34 as the reference origin, the horizontal and vertical pixel differences of the global pixel points of the wall centerline relative to the origin pixel of the grid in step S34 are calculated to obtain the pixel difference of the global pixel points of the centerline; the horizontal and vertical pixel differences of the four corners of the global pixel points of the floor slab relative to the origin pixel of the grid in step S34 are calculated to obtain the pixel differences of the four corners of the global pixel points of the floor slab; the pixel differences of the global pixel points of the centerline and the pixel differences of the four corners of the global pixel points of the floor slab are multiplied by the global scale to obtain the real building coordinate point set of the wall centerline and the real building coordinates of the four corners of the floor slab; the intermediate datasets of the wall and the floor slab with global pixel coordinates and real building coordinates are output and sent to step S66 for numbering and integration;

[0118] Step S66, Component Continuous Numbering and Dataset Output: Obtain floor markers and the intermediate wall dataset and intermediate floor dataset output in step S65; obtain all wall components corresponding to all wall records in the intermediate wall dataset for the current page, and obtain all floor slab components corresponding to all four corner records of the intermediate floor dataset for the current page; assign consecutive and unique wall numbers to all wall components, and assign consecutive and unique floor numbers to all floor components; integrate the complete wall records and complete floor records one by one. The sources of each field in the complete wall records and complete floor records are as follows:

[0119] 1) All fields of a single record for the wall section, including:

[0120] Unique wall number: This step assigns and generates the number.

[0121] Local pixel endpoint coordinates of the original net image of the double line: generated by the double line pairing calculation in step S63, taken from the intermediate dataset of the input wall in step S65;

[0122] Global pixel set of wall centerline: The first-level coordinate transformation result of step S65, taken from the intermediate dataset of the wall input in step S65;

[0123] The set of actual centerline building coordinate points: the second-level coordinate transformation result of step S65, taken from the intermediate dataset of the input wall in step S65;

[0124] Pixel wall thickness: Step S63 double line spacing calculation value, taken from the intermediate dataset of the input wall in step S65;

[0125] Actual wall thickness after conversion: pixel wall thickness × global scale, generated in this step;

[0126] Floor markers: Floor markers from the target page set output in step S1;

[0127] The integrated output wall dataset contains all the above fields in each record, and fully retains local pixels, global pixels, actual engineering coordinates, and thickness parameters.

[0128] 2) All fields of a single record for a floor slab, including:

[0129] Floor slab unique number: generated in this step;

[0130] The four corner coordinates of local pixels in the floor slab enclosure net drawing: taken from step S64 and from the intermediate dataset of the floor slab input in step S65;

[0131] The coordinates of the four corners of the global pixel envelope of the floor slab are obtained from the first-level coordinate transformation result in step S65 and are taken from the intermediate dataset of the floor slab input in step S65.

[0132] The actual building coordinates of the four corners of the floor slab: taken from the second-level coordinate transformation result of step S65, and taken from the intermediate dataset of the input floor slab in S65;

[0133] Floor markers: Floor markers from the target page set output in step S1;

[0134] The integrated output floor slab dataset contains all the above fields in each record, and fully retains the multi-layer pixel coordinates and the actual building coordinates, for use in the downstream step S103 full component collection and integration.

[0135] Here, this step uses a jagged image throughout to ensure sharp black and white boundaries of wall and floor edges, and to prevent interference from semi-transparent grayscale transition pixels in line segment recognition.

[0136] like Figure 7 As shown, step S6 involves wall and floor slab extraction. The net drawing output from step S3 is processed by removing axis lines, window annotations, and adaptive binarization to extract a binary structure map primarily composed of wall edges or floor slab outer boundaries. Horizontal and vertical candidate line segments are generated through white point grouping, continuous segment segmentation, and length threshold filtering. Adjacent, overlapping, or coordinate-approximate line segments are merged. For walls, double-sided lines are paired based on the length, endpoint alignment, and spacing range of two parallel edges to form the wall centerline and wall thickness. For floors, the minimum and maximum x and y direction boundaries are selected from the candidate boundary lines to obtain the four corner points of the floor slab's outer frame. Both wall and floor slab results are converted to true coordinates according to the grid origin, scale, and floor markings and numbered consecutively.

[0137] Step S7: Based on the net map, global coordinate file and scale file output in step S3, the structured axis list output in step S2, the jagged version image in the target page set output in step S1, and the floor elevation sequence output in step S4, combined with the window dataset output in step S5 and the wall dataset output in step S6, the column dataset is obtained.

[0138] Step S7 includes:

[0139] Step S71, Image preprocessing to remove multi-layer interference pixels: Read the pixel data of the jagged version image in the target page set output in step S1; based on the pixel coordinates of all axis lines in the structured axis list in step S2, erase all axis lines in the pixel data of the jagged version image; traverse the window pixel area defined by the four-point coordinates of the local pixel bounding box of the net image in the pixel set of non-overlapping window candidate boxes output in step S54, and erase the interference pixels of window components and window annotations; traverse the wall pixel area defined by the endpoint coordinates of the local pixel bounding box of the double-line original net image in the original wall segment pairing set output in step S63, and erase the interference pixels of wall entities and wall annotations; after all interference pixels are erased, perform background adaptive threshold binarization processing to eliminate grayscale gradient interference in the drawing, strengthen the rectangular closed contour lines of the structural column, output a binarized column-specific image, and pass it completely to sub-step S72 as input to adapt to pixel-level contour tracking operation;

[0140] Step S72, extraction of column contour and candidate line segments: Based on the binarized column-specific image output in step S71, perform morphological closing operation to extract the outer contour; fit horizontal and vertical line segments based on contour points grouping, and merge overlapping or adjacent line segments to output the column candidate line segment set to sub-step S73;

[0141] Step S73, Column candidate structure generation and axis network semantic filtering: Using the column candidate line segment set output in step S72 as input, traverse the merged horizontal and vertical line segments, and generate candidate column structures by forming a Π-shaped structure with a vertical line segment and the horizontal line segments at its top and bottom; load the axis points output in step S2 and convert them to the net map coordinate system, determine whether there are axis points crossing the middle area of ​​the candidate column, and retain only the candidate columns that meet the axis network semantic constraints; for each retained candidate column, extract the pixel coordinates of its boundary endpoints, calculate the extreme values ​​of the X and Y coordinates respectively, and calculate the coordinates of the four points of the local pixel bounding box of the column net map; traverse all column candidate boxes, merge and remove duplicate candidate boxes with overlapping pixel ratios exceeding a preset threshold, and output the pixel set of non-overlapping column candidate boxes to sub-step S74;

[0142] Step S74, Pixel coordinates to real building coordinates: Based on the non-overlapping column candidate frame pixel set output in step S73, where each column candidate frame record carries the coordinates of four points of the local pixel bounding box of the column net image; the four points of the local pixel bounding box of the column net image are used as the local pixel coordinates of the column candidate frame; read the three types of parameters stored inside the global coordinate file output in step S3: X-direction offset, Y-direction offset, and the pixel coordinates of the origin of the grid line calculated based on the extreme values ​​of the axis lines in step S34 and written into the global coordinate file; read the global scale stored inside the scale file in step S3; perform the conversion in two levels:

[0143] First-level coordinate conversion, local pixel to original drawing global pixel coordinates: superimpose the local pixel coordinates of any column candidate box with the X-direction offset and the Y-direction offset to obtain the coordinates of the four global pixel points of the column outer edge under the complete pixel area of ​​the entire non-aliased version image;

[0144] The second-level coordinate transformation converts global pixel coordinates to real building global coordinates: using the grid origin pixel coordinates from step S34 as the reference origin, the horizontal and vertical pixel differences of the column's global pixel coordinates relative to the grid origin pixel are calculated. The horizontal and vertical pixel differences are multiplied by the global scale to obtain the real building global coordinates of the four corners of the column. The complete column candidate box coordinate dataset with global pixel coordinates and real building global coordinates is output and passed to step S75.

[0145] Here, the horizontal pixel difference = column global pixel X coordinate - axis origin pixel X coordinate;

[0146] Vertical pixel difference = Y coordinate of global pixel of column - Y coordinate of origin pixel of axis grid.

[0147] Step S75, Column grid association matching: Using the complete column candidate frame coordinate dataset output in Step S74 and the structured axis list output in Step S2 as dual inputs; the true coordinates of the column center are calculated based on the true coordinates of the four corners of the column's outer perimeter; the true positioning coordinates of the horizontal and vertical axes within the structured axis list are traversed, and the vertical distance from the column center point to each axis is calculated; horizontal axis numbers with a horizontal vertical distance less than a preset horizontal assignment threshold and vertical axis numbers with a vertical vertical distance less than a preset vertical assignment threshold are filtered, and combined to form a column grid number combination; the grid number combination is bound to the corresponding column candidate frame record; all single column candidate frame records with completed grid number combination bindings are summarized, generating an associated column dataset carrying the grid number combination, the four-point coordinates of local pixels in the column's net drawing, the four-point coordinates of global pixels outside the column, and the true global coordinates of the four corners of the column's outer perimeter, and is completely transferred to Step S76; the true positioning coordinates of the axes are stored by the structured axis list in Step S2; the grid number combination is generated by splicing the matched horizontal and vertical axis numbers, and is used for the grid positioning index of column components in the BIM model;

[0148] Step S76, Column cross-section size identification, continuous numbering of the entire building, and dataset output: Using the associated column dataset output in step S75, the floor elevation sequence output in step S4, and the externally input historical floor column count cache as input; generating multiple enhanced version images around the candidate column area and performing OCR recognition; voting on recognition results conforming to the "number × number" format to determine the column length and width of the column cross-section; wherein, the associated column dataset is generated by summarizing all single column candidate frame records that have completed the binding of the axis grid number combination; the associated column dataset contains multiple column candidate frame records, each bound to a corresponding axis grid number combination; all column candidate frame records in the associated column dataset correspond to all column components on the current page; the historical floor column count cache stores the total number of identified column components on all floors before the project, i.e., the cumulative number of columns on the entire floor; based on the cumulative number of columns on the entire floor, assigning a unique continuous column number to each column component on the current page; integrating complete column records one by one, with the sources of each field as follows:

[0149] The column's unique number is assigned and generated in this step;

[0150] The coordinates of the four points of the local pixel bounding box of the column net image are obtained from the four points of the local pixel bounding box of the column net image calculated in step S73 and stored in the non-overlapping column candidate box pixel set, and are taken from a single candidate box record in the input dataset in S75.

[0151] The coordinates of the four global pixels outside the column are obtained from the first-level coordinate transformation result of step S74, that is, the coordinates of the four global pixels outside the column in the complete pixel area of ​​the entire non-aliased version image, which are taken from a single candidate box record in the input dataset of S75.

[0152] The actual global coordinates of the four corners of the column are obtained from the second-level coordinate conversion result in step S74, that is, the actual global coordinates of the four corners of the column are taken from a single candidate box record in the input dataset in S75.

[0153] Axis grid number combination: obtained from axis matching and binding in step S75, taken from a single candidate box record in the input dataset of S75;

[0154] The floor markers are from the floor markers in the target page set output in step S1, and the floor elevations are from the floor elevation sequence output in step S4; the floor markers are matched with the floor elevation sequence, and the column height is determined based on the difference between the current floor elevation and the adjacent upper floor elevation;

[0155] After integration, the output column dataset includes: unique column number, actual coordinates of column center point, column length, column width, column height, coordinates of four points of the column net map local pixel outer frame, coordinates of four points of the column outer global pixel frame, actual global coordinates of the four corners of the column outer frame, grid number combination, floor marker and floor elevation.

[0156] Step S7, Column Component Extraction. Based on the jagged drawing image, interference pixels such as axes, windows, and walls are removed. The outer contour is extracted through adaptive binarization and morphological closing operations. Based on contour point fitting and merging of horizontal and vertical line segments, candidate columns are generated in a Π-shaped structure and filtered using axis point crossing constraints. The column pixel coordinates are converted to real building coordinates by combining the axis grid origin and scale. Column length and width are determined through multi-enhanced OCR voting, and column height is determined by combining floor elevation sequences. The final output is a column dataset with axis grid positioning, floor markings, and floor elevations.

[0157] Step S7, Column Component Extraction. Based on the jagged drawing image, interfering pixels of axes, windows, and walls are sequentially erased, and adaptive binarization is used to highlight the closed outline of rectangular columns. All closed outlines are extracted, and noisy outlines are filtered by area, aspect ratio, and outline regularity. Rectangular closed outlines that meet the structural column drawing characteristics are selected as column candidate boxes, and overlapping boxes are merged and deduplicated. The column pixel coordinates are converted into real building coordinates by combining the grid origin and scale. The grid number combination to which the column belongs is matched by the vertical distance between the column center point and the horizontal and vertical axes. The column height is determined by combining the floor elevation sequence output in step S4, and the number of columns in the historical floors is cached and allocated with continuous and unique column numbers for the entire building. After binding the grid positioning number, floor mark, and floor elevation, the complete column dataset is output.

[0158] like Figure 8As shown, in step S7, column component extraction is performed. The image after removing the axis lines is subjected to adaptive background binarization and morphological closing operations to extract the outer contour. Horizontal and vertical line segments are fitted based on the contour points, and overlapping or adjacent line segments are merged. Candidate column structures are generated using a Π-shaped structure with vertical lines and top and bottom horizontal lines. The axis line points are then loaded and transformed to the net map coordinate system. It is determined whether axis line points cross the central region of the candidate columns, and only column candidates that meet the semantic constraints of the axis grid are retained. Multiple enhanced versions of OCR are performed around the candidate column regions to identify and vote on the column cross-sectional dimensions in the form of "number × number". Based on the floor elevation sequence output in step S4, the current floor elevation is matched and the column height is calculated. Finally, the column number, center point coordinates, column length, column width, column height, floor marker, and floor elevation are output.

[0159] Step S8: Based on the net drawing, global coordinate file and scale file output in step S3, the structured axis list output in step S2 and the jagged version image in the target page set output in step S1, and combined with the window dataset output in step S5, the wall dataset output in step S6 and the column dataset output in step S7, the beam dataset is obtained.

[0160] Step S8 includes:

[0161] Step S81, Image preprocessing to remove multi-layer interference pixels: Read the pixel data of the jagged version image in the target page set output in step S1; based on the pixel coordinates of all axis lines in the structured axis list in step S2, erase all axis lines within the pixel data of the jagged version image; traverse the window pixel area defined by the four-point coordinates of the local pixel bounding box of the net image in the non-overlapping window candidate frame pixel set output in step S54, and erase the interference pixels of window components and window annotations; traverse the wall pixel area defined by the endpoint coordinates of the local pixel bounding box of the double-line original net image in the wall original line segment pairing set output in step S63, and erase the interference pixels of wall entities and wall annotations; traverse the column pixel area defined by the four-point coordinates of the local pixel bounding box of the column net image in the column candidate frame pixel set output in step S73, and erase the interference pixels of column outlines and column annotations; after completing the erasure of all interference pixels, perform background adaptive threshold binarization processing to eliminate grayscale gradient interference in the drawing, strengthen the parallel double-line outline of the frame beam, output a binarized beam-specific image, and completely transfer it to sub-step S82. As input, it is adapted for pixel-level line segment tracing calculations;

[0162] Step S82, Beam Candidate Rectangle Generation and Axis Semantic Filtering: Based on the binarized beam-specific image output in step S81, slender rectangular beam candidates are generated using pixel-expanded scanning, and noise and non-structural areas are filtered according to a preset size range; the axis points output in step S2 are read, and it is determined whether the candidate rectangle is crossed or adjacent to the axis point in the corresponding direction according to the direction of the candidate rectangle, and false beams such as wall ends and nodes are eliminated, and a set of beam candidate rectangles is output;

[0163] Step S83, Calculation and Deduplication of Beam Candidate Box Geometric Information: Using the set of beam candidate rectangles output in step S82 as input, distinguish between horizontal and vertical beams based on the major axis direction of the candidate rectangles; for each beam candidate rectangle, extract the pixel coordinates of its boundary endpoints, calculate the extreme values ​​of the X and Y coordinates respectively, and calculate the coordinates of the four points of the local pixel bounding box of the beam net image; fit the local pixel point set of the beam centerline net image based on the boundary points on both sides of the beam candidate rectangle, and record the pixel spacing between the two boundaries as the pixel beam width; traverse all beam candidate rectangles, merge overlapping or adjacent candidate rectangles, and deduplicate duplicate candidate boxes; output a set of non-overlapping beam candidate box pixels, where each record contains the coordinates of the four points of the local pixel bounding box of the beam net image, the local pixel point set of the beam centerline net image, and the pixel beam width;

[0164] Step S84, Pixel coordinates to real building coordinates: Based on the non-overlapping beam candidate frame pixel set output in step S83, where each beam candidate frame in the non-overlapping beam candidate frame pixel set records carrying the coordinates of the four points of the local pixel bounding box of the beam net image and the local pixel point set of the beam centerline net image; the coordinates of the four points of the local pixel bounding box of the beam net image are used as the local pixel coordinates of the beam candidate frame; read the three types of parameters stored inside the global coordinate file output in step S3: X direction offset, Y direction offset, and the pixel coordinates of the origin of the grid line calculated based on the extreme values ​​of the axis lines in step S34 and written into the global coordinate file; read the global scale stored inside the scale file in step S3;

[0165] The conversion is performed in two levels:

[0166] First-level coordinate conversion, local pixel to original drawing global pixel coordinates: take the local pixel coordinates of any net image in the net image of the beam centerline and the local pixel coordinates of the candidate beam frame, and superimpose the offsets in the X and Y directions respectively to obtain the global pixel set of the beam centerline and the coordinates of the four global pixel points of the beam outer perimeter under the complete pixel area of ​​the entire non-aliased version image.

[0167] The second-level coordinate transformation converts global pixel coordinates to real building global coordinates: using the grid origin pixel coordinates from step S34 as the reference origin, the horizontal and vertical pixel differences between the global pixel points of the beam centerline and the four corners of the beam outer perimeter relative to the grid origin pixels are calculated. The horizontal and vertical pixel differences are multiplied by the global scale to obtain the real building coordinate point set of the beam centerline and the real building global coordinates of the four corners of the beam outer perimeter. The complete beam candidate box coordinate dataset with global pixel coordinates, real building global coordinates, beam centerline global pixel point set, and beam centerline real building coordinate point set is output and passed to step S85.

[0168] Here, the horizontal pixel difference = beam global pixel X coordinate - grid origin pixel X coordinate; the vertical pixel difference = beam global pixel Y coordinate - grid origin pixel Y coordinate.

[0169] Step S85, Beam Network Association Matching: Using the complete beam candidate box coordinate dataset output in Step S84 and the structured axis list output in Step S2 as dual inputs; solving the true coordinates of the beam center based on the true coordinates of the four corners of the beam's outer edge; traversing the true positioning coordinates of the transverse and longitudinal axes in the structured axis list; calculating the vertical distance from the beam center point to each axis; filtering the transverse axis numbers whose transverse vertical distance is less than a preset transverse belonging threshold and the longitudinal axis numbers whose longitudinal vertical distance is less than a preset longitudinal belonging threshold, combining them to form a beam network number combination, and binding the network number combination to the corresponding beam candidate box record; parsing the actual coordinates of the numeric and alphanumeric axes; determining the adjacent axis intervals where the beam center point is located; grouping by transverse beams, longitudinal beams, and their respective network intervals; merging overlapping or adjacent beam segments within the same interval; and splitting the continuous beam into standard single-span beam segments based on the network intersections;

[0170] Summarize all candidate beam records for beams that have completed the binding of grid number combinations, generate an associated beam dataset that carries grid number combinations, four coordinates of the local pixel outer frame of the beam net drawing, four coordinates of the global pixel outer frame of the beam, the global coordinates of the four corners of the beam outer frame, the local pixel endpoint coordinates of the original net drawing of the double line, the local pixel point set of the net drawing of the beam centerline, the global pixel point set of the beam centerline, the real building coordinate point set of the beam centerline, and the pixel beam width, and transfer it completely to step S86;

[0171] Among them, the actual positioning coordinates of the axis are stored by the structured axis list in step S2; the axis grid number combination is generated by splicing the matched horizontal axis number and vertical axis number, and is used for the axis grid positioning index of beam components in the BIM model;

[0172] Step S86, Continuous Numbering and Dataset Output for the Entire Building: Based on the associated beam dataset output in step S85 and the externally input historical floor beam quantity cache, the associated beam dataset is generated by summarizing all single beam candidate box records that have completed the binding of the axis grid number combination. The associated beam dataset contains multiple beam candidate box records, each of which is bound to a corresponding axis grid number combination. All beam candidate box records in the associated beam dataset correspond to all beam components on the current page. The historical floor beam quantity cache stores the total number of identified beam components on all floors before the project, i.e., the cumulative number of beams on the entire floor. Based on the cumulative number of beams on the entire floor, a unique continuous beam number is assigned to each beam component on the current page. The complete beam records are integrated one by one, and the sources of each field are as follows:

[0173] The beam's unique identification number is generated and assigned in this step.

[0174] The coordinates of the four points of the local pixel bounding box of the beam net image are obtained from the four points of the local pixel bounding box of the beam net image calculated in step S83 and stored in the non-overlapping beam candidate box pixel set, and are taken from a single candidate box record in the input dataset in S85.

[0175] The local pixel endpoint coordinates of the original net image of the double line, the local pixel point set of the net image of the beam centerline, and the pixel beam width are derived from the double-line pairing fitting calculation results in step S83 and are taken from a single candidate box record in the input dataset in S85.

[0176] The coordinates of the four global pixels surrounding the beam and the global pixel set of the beam centerline are derived from the first-level coordinate transformation result of step S84, that is, the global pixel data under the complete pixel area of ​​the entire non-aliased version image, which is taken from a single candidate box record of the input dataset in S85.

[0177] The set of global coordinates of the real buildings at the four corners of the beam and the set of real building coordinates of the beam centerline are obtained from the second-level coordinate transformation result in step S84 and are taken from a single candidate box record in the input dataset in S85.

[0178] Axis grid number combination: obtained from axis matching and binding in step S85, taken from a single candidate box record in the input dataset of S85;

[0179] Beam cross-section dimensions: The beam cross-section annotations are processed using block OCR, rotation compensation, format parsing, and voting to obtain the beam width and beam height; the product of the pixel beam width and the global scale is used to verify the beam width recognition results.

[0180] Floor markers: Floor markers from the target page set output in step S1; After integration, output the beam dataset; wherein, the beam dataset includes: unique beam number, coordinates of four points of the local pixel bounding box of the beam net drawing, coordinates of the endpoints of the local pixels of the original net drawing of the double line, set of local pixels of the net drawing of the beam centerline, pixel beam width, beam width, beam height, real building coordinates of the start and end points of the single span beam segment, coordinates of four points of the global pixels of the beam bounding box, set of global pixels of the beam centerline, global real building coordinates of the four corners of the beam bounding box, set of real building coordinate points of the beam centerline, grid number combination and floor markers.

[0181] Here, step S8 outputs the beam dataset and calls it downstream to step S10, which is used to summarize all building components of the floor in the secondary correction and integration output stage between components in step S10. This step uses the aliased version image file handle to read pixels throughout, avoiding grayscale artifacts caused by anti-aliasing rendering, preventing line segment breakage and binarization threshold fluctuation, and improving the robustness of double-line contour extraction of frame beams. Step S8 outputs the beam dataset and calls it downstream to step S10.

[0182] Step S8, Beam Component Extraction. Based on the jagged drawing image, interference pixels from axes, windows, walls, and columns are removed. Pixel expansion scanning is used to generate slender rectangular beam candidates, and false beams are eliminated through axis point crossing or adjacent constraints. Beams are grouped by horizontal beams, vertical beams, and their respective grid intervals. Overlapping or adjacent beam segments within the same interval are merged, and continuous beams are split into standard single-span beam segments based on grid intersections. Real coordinate conversion is performed using the grid origin and scale. Beam width and height are obtained through block OCR, rotation compensation, format parsing, and voting. Finally, the beam start point, end point, cross-sectional dimensions, grid location, and floor markings are output.

[0183] like Figure 9 Step S8, Beam Component Extraction. Adaptive binarization is performed on the image after removing the axis lines. A pixel-expanded scanning method is used to generate slender rectangular beam candidates, and noise and non-structural areas are filtered according to size range. The axis line positions are read, and the candidate rectangles are judged based on their direction to determine whether they are crossed or adjacent to axis lines in the corresponding direction, thus eliminating false beams such as wall ends and nodes. The actual coordinates of the digital and alphanumeric axes are parsed to determine the adjacent axis line intervals where the beam center point is located, and logical grouping is performed according to horizontal beams, vertical beams, and their respective axis grid intervals. Overlapping or adjacent beam segments within the same interval are merged, and then the continuous beams are split into standard single-span beam segments based on the axis grid intersections. The beam cross-section annotation uses block OCR, rotation compensation, format parsing, and a voting mechanism to obtain the beam width and height dimensions, and outputs the start point, end point, cross-section dimensions, and floor markings.

[0184] Step S9: Based on the net drawing, global coordinate file and scale file output in step S3, the structured axis list output in step S2 and the jagged version image in the target page set output in step S1, and combined with the window dataset output in step S5, the wall dataset output in step S6, the column dataset output in step S7 and the beam dataset output in step S8, the door dataset is obtained.

[0185] Step S9 includes:

[0186] Step S91, Image preprocessing to remove multi-layer interference pixels: Read the pixel data of the jagged version image in the target page set output in step S1; based on all axis pixel coordinates of the structured axis list in step S2, erase all axis pixels within the pixel data of the jagged version image; traverse the window pixel region defined by the four-point coordinates of the local pixel bounding box of the net image in the non-overlapping window candidate box pixel set output in step S54, and erase window components and window annotation interference pixels; traverse the wall pixel region defined by the endpoint coordinates of the local pixel bounding box of the double-line original net image in the wall original line segment pairing set output in step S63, and erase wall entities and wall annotation interference pixels; traverse the column pixel region defined by the four-point coordinates of the local pixel bounding box of the column net image in the column candidate box pixel set output in step S73, and erase column outlines and column annotation interference pixels; traverse step S83... Output the beam pixel region defined by the four-point coordinates of the local pixel bounding box of the beam net image within the non-overlapping beam candidate frame pixel set, and erase the beam outline and beam annotation interference pixels; after completing the erasure of all interference pixels, perform background adaptive threshold binarization processing to eliminate grayscale gradient interference in the drawing, strengthen the rectangular closed outline of the doorway, output the binarized doorway-specific image, and pass it completely to sub-step S92 as input to adapt to pixel-level closed outline tracking operation;

[0187] Step S92, Door candidate line segment and contour extraction: Based on the binarized doorway-specific image output in step S91, extract horizontal and vertical line segments, and extract door candidate contours through pixel-level contour tracking; based on the preset minimum area threshold and aspect ratio threshold of the contour, filter out small noise contours, narrow and long marked fragment contours and irregular legend contours, and output a set of valid door candidate contours.

[0188] Step S93, Door type determination, doorway endpoint calculation and candidate deduplication: Taking the set of valid door candidate contours output in step S92 as input, traverse all valid door candidate contours, distinguish single doors and double doors according to the number of contour points and the direction of the outer frame, and calculate the two endpoints of the doorway; for each door candidate contour, extract the pixel coordinates of the contour boundary endpoints, calculate the extreme values ​​of the X and Y coordinates respectively, and calculate the coordinates of the four points of the outer frame of the local pixels in the doorway net image; traverse all doorway candidate frames, calculate the percentage of overlapping pixels between candidate frames, merge and deduplicate candidate frames with an overlap percentage exceeding a preset threshold, and output the set of non-overlapping doorway candidate frame pixels to sub-step S94; wherein, each doorway candidate frame record includes the coordinates of the four points of the outer frame of the local pixels in the doorway net image, the two endpoints of the doorway, and the door type;

[0189] Step S94, Pixel coordinates to real building coordinates: Based on the non-overlapping doorway candidate frame pixel set output in step S93, where each doorway candidate frame record in the non-overlapping doorway candidate frame pixel set carries the coordinates of four points of the local pixel bounding box of the doorway net image; use the four points of the local pixel bounding box of the doorway net image as the local pixel coordinates of the doorway candidate frame; read the three types of parameters stored inside the global coordinate file output in step S3: X direction offset, Y direction offset, and the pixel coordinates of the origin of the grid line calculated based on the extreme values ​​of the axis lines in step S34 and written into the global coordinate file; read the global scale stored inside the scale file in step S3;

[0190] The conversion is performed in two levels:

[0191] First-level coordinate conversion, local pixel to original drawing global pixel coordinates: superimpose the local pixel coordinates of any doorway candidate frame with the X-direction offset and the Y-direction offset to obtain the coordinates of the four global pixel points of the doorway under the complete pixel area of ​​the entire non-aliased version image;

[0192] The second-level coordinate transformation converts global pixel coordinates to real building global coordinates: using the origin pixel coordinates of the grid in step S34 as the reference origin, the horizontal and vertical pixel differences of the four corners of the doorway relative to the origin pixel are calculated. The horizontal and vertical pixel differences are multiplied by the global scale to obtain the real building global coordinates of the four corners of the doorway. The complete doorway candidate box coordinate dataset with global pixel coordinates and real building global coordinates is output and passed to step S95.

[0193] Here, the horizontal pixel difference = X coordinate of the global pixel of the doorway - X coordinate of the pixel of the grid origin; the vertical pixel difference = Y coordinate of the global pixel of the doorway - Y coordinate of the pixel of the grid origin.

[0194] Step S95, Doorway and Wall Host Association Matching: Using the complete doorway candidate frame coordinate dataset output in Step S94 and the wall dataset output in Step S6 as input; read the real building coordinates of the midpoint or endpoint of the doorway, calculate the distance from each to the two edges of each wall, and determine the wall with the smallest distance and that meets the preset attribution threshold as the host wall; correct the orientation of the two endpoints of the doorway according to the orientation of the host wall, and bind the unique number of the host wall, the wall thickness, and the corrected endpoints of the doorway to the doorway candidate frame record; summarize to form an associated doorway dataset and output it to Step S96;

[0195] Step S96, Continuous Numbering and Dataset Output for Doors Across the Building: Based on the associated doorway dataset output in Step S95 and the externally input historical floor door count cache, the associated doorway dataset is generated by summarizing all single doorway candidate frame records that have completed host wall number binding. The associated doorway dataset contains multiple doorway candidate frame records, each bound to a corresponding unique host wall number. All doorway candidate frame records in the associated doorway dataset collectively correspond to all door components on the current page. The historical floor door count cache stores the total number of identified door components on all floors prior to the project, i.e., the cumulative number of doors across all floors. Based on the cumulative number of doors across all floors, a continuous unique door number is assigned to each door component on the current page. Complete door records are integrated one by one, with the following fields sourced:

[0196] The door's unique number is assigned and generated in this step;

[0197] The coordinates of the four points of the bounding box of the local pixels in the net image of the doorway are obtained from the four points of the bounding box of the local pixels in the net image of the doorway calculated in step S93 and stored in the set of candidate frames of the doorway without overlap. They are taken from a single candidate frame record in the input dataset in S95.

[0198] The coordinates of the four global pixels surrounding the doorway are obtained from the first-level coordinate transformation result of step S94, that is, the coordinates of the four global pixels surrounding the doorway in the complete pixel area of ​​the entire non-aliased version image, which are taken from a single candidate box record in the input dataset of S95.

[0199] The global coordinates of the four corners of the doorway are the actual building coordinates, which are obtained from the second-level coordinate transformation calculation results in step S94 and taken from a single candidate box record in the input dataset in S95.

[0200] Unique host wall number: obtained from wall matching and binding in step S95, taken from a single candidate box record in the input dataset of S95;

[0201] Floor markers: Floor markers from the target page set output in step S1;

[0202] After integration, the output door dataset includes: a unique door number, coordinates of four points of the local pixel bounding box of the door opening, coordinates of four points of the global pixel bounding box of the door opening, global coordinates of the four corners of the door opening, a unique host wall number, wall thickness, two endpoints of the door opening, door type, and floor label.

[0203] Here, step S9 outputs the gate dataset and calls it downstream to step S10. This is used to complete the connection of the segmented wall caused by the doorway in the secondary correction and integration output link between components in step S10. This step uses the aliased version image file handle to read pixels throughout, avoiding grayscale artifacts caused by anti-aliasing rendering, preventing contour breakage and binarization threshold fluctuation, and improving the robustness of doorway closure contour extraction. Step S9 outputs the gate dataset and calls it downstream to step S10.

[0204] Step S9: Door component extraction and door-wall association. Based on the jagged drawing image, remove interfering pixels from axes, windows, walls, columns, and beams. Extract horizontal line segments, vertical line segments, and candidate door outlines. Distinguish between single and double doors based on the number of outline points and the direction of the outer frame, and calculate the two endpoints of the door opening. Perform real coordinate conversion using the grid origin and scale. Calculate the distance from the midpoint or endpoint of the door opening to the two edges of the wall. Match the host wall and correct the door opening endpoints based on the wall direction. Cache and assign consecutive numbers based on the number of doors on historical floors, and output the real coordinates, host wall number, wall thickness, floor marker, and door type.

[0205] like Figure 10 As shown in step S9, door component extraction and door-wall association are performed. Horizontal and vertical line segments are extracted from the image after removing the axis lines, and candidate door contours are obtained through contour extraction. Single and double doors are distinguished based on the number of contour points and the direction of the outer frame, and the two endpoints of the door opening are calculated. The wall dataset output in step S6 is read, and the distance from the midpoint or endpoint of the door to the two edges of the wall is calculated. The host wall with the smallest distance that meets the threshold is matched. The endpoints of the door opening are corrected based on the wall direction, and the unique door number, the global coordinates of the four corners of the door opening, the unique host wall number, the wall thickness, the floor marker, and the door type are output.

[0206] Step S10: Based on the output window dataset of step S5, the output wall dataset and floor slab dataset of step S6, the output column dataset of step S7, the output beam dataset of step S8, and the output door dataset of step S9, complete the secondary correction of components, wall completion and connection, and floor component collection, and output the total dataset of complete floor components.

[0207] Step S10 includes:

[0208] Step S101, Window component wall host binding correction: Using the window dataset output in step S5 and the wall dataset output in step S6 as dual inputs; traverse each complete window record in the window dataset, extract the real building coordinates of the four corners of the window to solve for the real coordinates of the window center; traverse the set of real centerline building coordinate points of each wall record in the wall dataset, calculate the vertical real distance between the window center and the centerline of each wall; select the only wall with a vertical distance less than the preset window belonging distance threshold as the host wall of the current window; add the unique number of the matched wall to the corresponding complete window record; output the corrected window dataset carrying the host wall number, and pass it completely to sub-step S102;

[0209] The vertical true distance calculation logic is as follows: the true coordinates of the window center are solved based on the true coordinates of the four corners of the window, and the vertical distance from the point to the line segment is solved segment by segment by combining the continuous true coordinate point set of the wall centerline. The wall corresponding to the minimum distance is determined to be the wall to which the window belongs. The unique number of the wall is taken from the unique number of each wall record in the wall dataset.

[0210] Step S102, complete and connect the segmented walls caused by the doorway: using the corrected back window dataset output in step S101, the wall dataset output in step S6, and the data from step S9. The output door dataset is the input; the door dataset is traversed, the two ends of the door opening, the door type, and the unique number of the host wall are read, and the corresponding wall record is located according to the unique number of the host wall; for the same host wall that is divided into two segments due to door opening recognition, the wall segments on both sides of the door opening are paired and connected according to the wall direction, collinearity, wall thickness, and the position of the door opening endpoints to restore the center line of the complete wall; at the same time, the two ends of the door opening, the host wall number, and the door type are retained for step S11 to create door components or door openings on the complete host wall; the corrected window dataset is traversed, and the window host wall number and window position are written back to the corresponding wall record without cutting the window opening on the wall center line; the set of building coordinate points of the wall's real center line, the set of global pixel points of the wall center line, and the wall's outer perimeter are updated one by one, and the completed wall dataset is output and completely passed to step S103; the completed wall dataset retains all the original fields of the wall and adds the door and window host relationship and opening location fields;

[0211] Step S103, complete collection and verification of all floor components: the complete wall dataset output in step S102, the floor slab dataset output in step S6, the corrected window dataset output in step S101, the column dataset output in step S7, the beam dataset output in step S8, and the door dataset output in step S9 are the multiple inputs.

[0212] All types of building components for the current floor are collected in a unified manner. Format alignment, field integrity verification, and duplicate component removal are performed on each type of component dataset to ensure that each dataset has complete fields, traceable parameters, and no duplicate or redundant components. The dataset is then compiled to form a complete dataset of all components for the floor.

[0213] The complete floor component dataset contains six sub-datasets: corrected window dataset, completed wall dataset, floor slab dataset, door dataset, column dataset, and beam dataset; each sub-dataset retains all its fields; the complete floor component dataset is output to the downstream step S11 as input material for BIM structural modeling.

[0214] Step S10 outputs the complete dataset of floor components and calls it to the downstream step S11, which is used by step S11 to automatically generate the corresponding BIM structural model based on the geometric and attribute parameters of the complete components.

[0215] Step S10: Secondary correction and integration output between components. First, match the host wall corresponding to each window and complete the binding of the wall's unique number to obtain the corrected window dataset; then, write back the relationship between the door opening endpoint and the host wall to the wall dataset, complete and connect the segmented walls caused by the door opening, and retain the door and window opening positions and host relationship fields; finally, uniformly collect the six types of component datasets: windows, completed walls, floor slabs, doors, columns, and beams, complete the format verification and duplicate component removal, and output the complete component dataset of the current floor for automatic generation of the BIM structural model.

[0216] Step S10: Secondary correction and integration output between components. First, match the host wall corresponding to each window and complete the binding of the unique wall number to obtain the corrected window dataset; then, write back the relationship between the door opening endpoint and the host wall to the wall dataset, complete and connect the segmented walls caused by the door opening, retain the door and window opening positions and host relationship fields, and generate the completed wall dataset; finally, uniformly collect the six types of component datasets: windows, completed walls, floor slabs, doors, columns, and beams, complete the format verification and duplicate component removal, and output the complete component dataset of the current floor for automatic generation of the BIM structural model.

[0217] like Figure 11As shown, S10 is the secondary correction and integration output between components. Taking the window dataset output in step S5 and the wall dataset output in step S6 as input, the host wall corresponding to each window is matched to form the corrected window dataset; taking the door dataset output in step S9 and the wall dataset output in step S6 as input, the door opening endpoints, door types, and unique host wall numbers are written back to the wall records, and the segmented walls caused by the door openings are completed and connected to form the completed wall dataset; the corrected window dataset, completed wall dataset, floor slab dataset, door dataset, column dataset, and beam dataset are collected according to the original PDF page number, floor label, and component type to form the total dataset of complete floor components.

[0218] Step S11: Based on the complete floor component dataset output in step S10, read the corrected window dataset, completed wall dataset, floor slab dataset, door dataset, column dataset, and beam dataset contained in the complete floor component dataset. Combine the structured axis list output in step S2, the global coordinate file and scale file output in step S3, and the floor elevation sequence output in step S4 to automatically generate the floor BIM structural model and output the floor BIM model file with axis grid positioning, component geometric dimensions, and complete attribute information.

[0219] Step S11 includes:

[0220] Step S111, BIM grid baseline model construction: The structured axis list output in step S2, the global coordinate file and scale file output in step S3, and the floor elevation sequence output in step S4 are used as inputs;

[0221] Read all horizontal and vertical axis number texts and axis pixel coordinates from the structured axis list; read the X-direction offset, Y-direction offset, and axis grid origin pixel coordinates from the global coordinate file; read the global scale stored in the scale file; based on the two-level coordinate conversion logic, convert all axis pixel coordinates into the actual building global coordinates of the axes; create BIM floors according to the floor elevation sequence, and generate horizontal and vertical BIM reference axes based on the actual building global coordinates of the axes and match the corresponding axis number text labels; establish the floor global BIM coordinate system based on the actual coordinates of the axis grid origin; output the floor BIM axis grid reference model and completely transfer it to sub-step S112 as a unified positioning reference for all structural components.

[0222] Step S112, Batch generation of BIM structural components of walls, beams and columns: The floor BIM grid reference model output in step S111 and the completed wall dataset, column dataset and beam dataset in the total dataset of complete floor components output in step S10 are used as dual inputs;

[0223] Traverse each complete wall record in the completed wall dataset, read the wall's unique number, the set of actual building coordinate points of the centerline of the completed wall, the converted actual wall thickness, and the floor marker; based on the floor elevation in the floor BIM grid reference model output in step S111, match the floor marker to the current floor elevation and the adjacent upper floor elevation; using the actual coordinates of the centerline of the complete wall as the centerline, offset by half the actual wall thickness in both directions along the centerline normal to generate the actual coordinates of the wall's two-sided entity boundaries, and create complete wall BIM entity components based on the closed boundary coordinates; using the current floor elevation as the bottom positioning reference of the wall and the adjacent upper floor elevation as the top constraint of the wall, determine the wall height and vertical position;

[0224] Traverse the complete record of each beam in the beam dataset, and read the unique beam number, the set of real building coordinate points of the beam centerline, the beam width, the beam height, the real building coordinates of the start and end points of a single span beam segment, the combination of grid numbers, and the floor markers; based on the floor elevation in the floor BIM grid reference model output in step S111, match the floor markers to the current floor elevation; generate the beam entity outline by offsetting half of the actual beam width in both directions with the real building coordinates of the beam centerline as the centerline, create the frame beam BIM component, determine the vertical position of the beam with the current floor elevation, and bind the grid positioning information;

[0225] Traverse each complete record of the column dataset, read the column's unique number, the actual coordinates of the column's center point, column length, column width, column height, grid number combination, floor mark, and floor elevation; use the actual coordinates of the column's center point as the positioning reference, generate a rectangular structural column entity component based on the column length, column width, and column height, and bind the grid positioning, floor mark, and floor elevation information;

[0226] The output is a collection of wall, beam and column BIM components with unique component numbers, grid positions, geometric dimensions and floor markings, which is then fully transferred to sub-step S113.

[0227] Step S113, Batch generation of window and door BIM opening components: The corrected window and door datasets from the wall, beam and column BIM component sets output in step S112 and the complete floor component dataset output in step S10 are used as inputs;

[0228] Iterate through each window's complete record in the corrected window dataset, read the window's unique number, the real building global coordinates of the four corners of the window's outer perimeter, and the unique number of the host wall; accurately locate the corresponding complete wall BIM component based on the unique number of the host wall, automatically open a rectangular window opening at the corresponding position of the wall entity based on the real four corner coordinates of the window's outer perimeter, and bind the window's unique number and floor marker;

[0229] Iterate through each complete door record in the door dataset, read the unique door number, the real building global coordinates of the four corners of the door opening, and the unique number of the host wall; accurately locate the corresponding complete wall BIM component based on the unique number of the host wall, automatically open a rectangular door opening at the corresponding position of the wall entity based on the real four corner coordinates of the door opening, and bind the unique door number and floor mark;

[0230] The complete set of structural components for opening doors and windows is compiled and transferred to sub-step S114.

[0231] Step S114, generation of floor slab BIM components and integration and export of the overall model: take the set of structural components with door and window openings output in step S113, the floor slab dataset in the total dataset of complete floor components output in step S10, and the floor BIM grid reference model output in step S111 as input;

[0232] Traverse each floor slab record in the floor slab dataset, read the unique floor slab number, the real global coordinates of the four corners of the floor slab, and the floor marker; based on the floor elevation in the floor BIM grid reference model output in step S111, match the floor marker to the current floor elevation; generate a closed floor slab solid component based on the real coordinates of the floor slab, determine the vertical positioning of the floor slab based on the current floor elevation, and bind the floor slab number and floor marker;

[0233] The system unifies and collects all BIM components, including grid lines, walls, beams, columns, floor slabs, window openings, and door openings, and batches and attaches all attributes such as unique component numbers, floor markers, grid number combinations, geometric dimensions, and host wall association numbers. It also unifies and aligns components to the global BIM coordinate system, completes component overlap verification and redundancy removal, and outputs conflict-free floor BIM structural models with complete parameters.

[0234] Finally, the floor BIM model file is packaged and output. The model fully stores the BIM grid, all structural entity components, door and window openings and supporting structural attribute parameters.

[0235] This step does not require reading image pixel data. It only relies on the real global coordinates of the building, unique component numbers, component relationships, and grid reference data output from the upstream steps to complete BIM entity modeling, attribute mounting, and model export.

[0236] Step S11: Automatic generation of the BIM structural model. First, a global BIM grid reference coordinate system is constructed based on structured axes, a global scale, and the grid origin. Then, BIM entity components for walls, frame beams, and structural columns are generated in batches based on the completed wall centerlines, beam centerlines, and column outer dimensions. Door and window openings are precisely created on the corresponding walls according to the actual coordinates of the corrected window and door datasets and the host wall numbers. Floor slab entity components are generated in batches, and all component numbers, grid positions, and host attributes are uniformly attached. All components are integrated, and model verification is completed. Finally, a floor BIM structural model file with complete parameters and no component conflicts is output.

[0237] like Figure 12 As shown, in step S11, the BIM structural model is automatically generated. The complete set of floor components output in step S10 is read, and mapping relationships are established for fields such as floor markers, floor elevations, grid lines, component types, component numbers, actual coordinates, cross-sectional dimensions, wall thicknesses, component heights, host wall relationships, and door / window opening locations. Components such as walls, floor slabs, columns, beams, doors, and windows are converted into model creation parameters that can be called by the BIM modeling software. Through the BIM modeling software's MCP service, API interface, script interface, or other secondary development interfaces, such as Revit MCP, Revit API, or Dynamo script interface, project elevations and grid lines are created sequentially. Creation methods for wall, floor slab, structural column, structural beam, and door / window family instances are called according to component type, and component numbers, floor markers, dimensions, original PDF page numbers, and host relationships are written into the component parameters. For the topological relationships between door and window openings and walls, beams and columns and grid lines, and floor slabs and boundary lines, a model consistency check is performed. If there are missing family types, coordinate anomalies, or component conflicts, an anomaly list is generated and written back to the complete component dataset for the floor, allowing for manual correction and subsequent interface updates. Finally, a structural model corresponding to the structural information in the survey drawings is automatically generated in the BIM modeling software, and BIM model files can be output, such as RVT models, component lists, and model generation logs.

[0238] In summary, this invention aims to address the problems of reliance on manual interpretation of structural components in architectural survey drawings, difficulty in forming a unified structural model from single-type target identification, the susceptibility of scanning noise and axis labeling to false positives and false negatives, difficulty in converting component coordinates to real engineering coordinates, and the need for manual secondary modeling after extraction of component data. It proposes an automatic structural model reconstruction method based on architectural survey drawings. This method utilizes PDF page filtering, axis and scale benchmark extraction, elevation identification, multi-component collaborative identification, component correlation correction, cross-floor numbering, real coordinate conversion, and interface calls to BIM modeling software such as MCP or APIs to transform unstructured image information in architectural survey drawings into a structural model that can be automatically generated in BIM modeling software, such as Revit. This achieves a complete closed loop from drawing recognition and structured extraction to automatic BIM model reconstruction.

[0239] Compared with the prior art, the beneficial effects of the present invention are as follows:

[0240] (1) The automatic reconstruction method of structural model based on architectural survey drawings provided by the present invention transforms the traditional survey drawing information that relies on manual reading and repeated input into unified structured engineering data by extracting the grid reference, identifying the elevation, collaboratively identifying components such as wall panels, columns, beams, doors and windows, converting the real coordinates and correcting the correlation between components, thereby reducing the repeated reading, manual sorting and secondary input work in the process of digital modeling of existing building structures.

[0241] (2) Based on the structured extraction results, this invention further maps data such as component type, geometric coordinates, floor elevation, cross-sectional dimensions, wall thickness, and door and window host relationships into automatically created BIM model components through the MCP, API or other secondary development interfaces of BIM modeling software, such as Revit MCP and Revit API. This realizes the automated conversion from architectural survey drawings to BIM structural models, such as the formation of Revit structural models, which enhances the practical application value of surveying results in BIM modeling, structural verification and digital delivery.

[0242] (3) This invention constructs a complete technical chain of “drawing page screening - grid and scale establishment - multi-component identification - topology relationship correction - structured data summary - BIM software interface automatic modeling”, which enables the survey drawings in historical buildings, existing buildings and urban renewal projects to form traceable, verifiable and scalable digital model results, providing a data foundation for subsequent inspection information linking, component-level object management, digital twin application and building life cycle management.

[0243] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.

[0244] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.

[0245] Obviously, those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. Therefore, if these modifications and variations fall within the scope of the claims of the invention and their equivalents, the invention is also intended to include these modifications and variations.

Claims

1. A method for automatically reconstructing a structural model based on an architectural survey drawing, characterized by, include: Step S1: Based on the architectural survey drawing PDF file, obtain the target page set; Step S2: Based on the non-aliased version images in the target page set, obtain a structured axis list; Step S3: Based on the non-aliased version image in the target page set output in step S1 and the structured axis list output in step S2, obtain the net image, global coordinate file and scale file. Step S4: Based on the non-aliased version image in the target page set output in step S1, extract and form a floor elevation sequence; Step S5: Based on the historical floor window count cache from external input, the net map output from step S3, the global coordinate file and scale file, the structured axis list output from step S2, and the jagged version image from the target page set output from step S1, the window dataset is obtained. Step S6: Based on the net map, global coordinate file and scale file output in step S3, the structured axis list output in step S2, and the jagged version image in the target page set output in step S1, the wall dataset and floor dataset are obtained. Step S7: Based on the net map, global coordinate file and scale file output in step S3, the structured axis list output in step S2, the jagged version image in the target page set output in step S1, and the floor elevation sequence output in step S4, combined with the window dataset output in step S5 and the wall dataset output in step S6, the column dataset is obtained. Step S8: Based on the net drawing, global coordinate file and scale file output in step S3, the structured axis list output in step S2 and the jagged version image in the target page set output in step S1, and combined with the window dataset output in step S5, the wall dataset output in step S6 and the column dataset output in step S7, the beam dataset is obtained. Step S9: Based on the net drawing, global coordinate file and scale file output in step S3, the structured axis list output in step S2 and the jagged version image in the target page set output in step S1, and combined with the window dataset output in step S5, the wall dataset output in step S6, the column dataset output in step S7 and the beam dataset output in step S8, the door dataset is obtained. Step S10: Based on the output window dataset of step S5, the output wall dataset and floor slab dataset of step S6, the output column dataset of step S7, the output beam dataset of step S8, and the output door dataset of step S9, complete the secondary correction of components, wall completion and connection, and floor component collection, and output the total dataset of complete floor components. Step S11: Based on the complete dataset of floor components output in step S10, combined with the structured axis list output in step S2, the global coordinate file and scale file output in step S3, and the floor elevation sequence output in step S4, automatically generate the floor BIM structural model and output the floor BIM model file with axis grid positioning, component geometric dimensions and complete attribute information.

2. The method of claim 1, wherein the building survey paper-based structural model automatic reconstruction method is characterized by, Step S1 includes: Step S11: Obtain the architectural survey drawing PDF file, parse the architectural survey drawing PDF file, read the total number of PDF pages in the architectural survey drawing PDF file; retain the original PDF page number of the architectural survey drawing PDF file, establish a mapping relationship between the page number of the architectural survey drawing PDF file and the PDF page object of the architectural survey drawing PDF file, and obtain a list of PDF page objects, wherein the list of PDF page objects carries the original PDF page number corresponding to each PDF page object; Step S12: Obtain the range of page numbers to be extracted and the keyword set, wherein the keyword set includes: drawing title keywords, floor keywords, and component keywords; based on the range of page numbers to be extracted, initially select PDF page objects corresponding to the original PDF page number range in the PDF page object list; for each PDF page object within the original PDF page number range, extract the page text information, and match the extracted page text information with the keyword set, retaining PDF page objects that match at least one keyword in the keyword set to obtain the initial screening PDF page set, wherein the initial screening PDF page set includes: PDF page objects and corresponding original PDF page numbers; Step S13: Traverse each PDF page object in the initial screening PDF page set; render the page at a fixed resolution of 600 dpi; for the same PDF page object, render and generate a jagged version image and a non-jagged version image respectively; save the jagged version image and the non-jagged version image to the local storage medium, and establish an association mapping between the PDF page object and the jagged version image and the non-jagged version image to obtain the initial screening page image mapping set, wherein each record in the initial screening page image mapping set includes: the original PDF page number, the jagged version image and the non-jagged version image; Step S14: Based on the initial screened page image mapping set, generate page thumbnails and display them on the review interaction interface; receive two types of user interaction operations on the review interaction interface: page renaming operation and page selection / retention / deselection operation; filter out pages that the user has deselected; for pages that have been selected and retained, bind the user's modified page name corresponding to the user's page renaming operation to obtain the target page set confirmed by the user, wherein each record field in the target page set includes: original PDF page number, user-modified page name, floor marker obtained by parsing or binding the user-modified page name, and jagged version image and non-jagged version image.

3. The method of claim 2, wherein the building survey paper-based structural model automatic reconstruction method is characterized by, Step S2 includes: Step S21: For the pixel data of the non-aliased version image in the target page set, perform grayscale processing, local contrast enhancement processing and light image denoising processing in sequence to enhance the edge features of the axis number circle in the drawing and obtain the enhanced complete drawing image. Step S22: For the enhanced complete drawing image larger than the preset size, perform image segmentation using a fixed window or an adaptive window, splitting it into several sub-image blocks; within each sub-image block, execute the Hough circle detection algorithm to obtain a set of candidate circles corresponding to each sub-image block. Each candidate circle carries the center coordinates and radius of the circle in the local coordinate system of the block, and is uniformly transformed to the global image coordinate system of the entire complete drawing image; traverse all candidate circles from different sub-image blocks; when the center distance between two candidate circles is less than the center distance threshold, and the absolute value of the radius difference is less than the radius difference threshold, it is determined that the two candidate circles correspond to the same real axis number circle on the drawing, and candidate circle merging is performed: redundant and duplicate candidate circles are discarded, and a merged axis number circle record is generated; after traversing and merging all candidate circles, a complete set of axis number circles in the entire image coordinate system is obtained, and each axis number circle in the complete set of axis number circles carries the center image coordinates and radius parameters in the global image coordinate system; Step S23: For each axis circle in the complete set of axis circles, calculate the distance from its center to the upper boundary, lower boundary, left boundary, and right boundary of the map sheet; compare the minimum and second smallest distances among the four distances; if the difference between the minimum and second smallest distances is greater than the conflict determination threshold, then the axis circle is assigned to the unique group corresponding to the minimum distance; the grouping is one of four: upper axis circle group, lower axis circle group, left axis circle group, and right axis circle group, and a single axis circle belongs to only one group; if the difference between the minimum and second smallest distances is less than or equal to the conflict determination threshold, then it is determined to be a four-corner critical ambiguity axis circle, and a pending mark is added to the axis circle. The labels are manually identified, and no automatic grouping is performed yet. These labels will be assigned a unique grouping marker during subsequent manual review. For axis number circles that have already been automatically grouped, the upper axis number circles are sorted in ascending order within their respective groups based on their center x-coordinates; the lower axis number circles are sorted in ascending order within their respective groups based on their center x-coordinates; the left axis number circles are sorted in ascending order within their respective groups based on their center y-coordinates; and the right axis number circles are sorted in ascending order within their respective groups based on their center y-coordinates. This results in a set of axis number circle groups that have been grouped and sorted. Each axis number circle record within this set carries: center coordinates, radius, and either its grouping marker or a label to be manually identified. Step S24: Traverse each axis number circle in the set of axis number circles. Based on the center and radius parameters of the axis number circle, extract the image region inside the circle corresponding to the axis number circle from the complete drawing image after enhancement processing in step S21. For the same image region inside the circle, generate multiple sets of enhanced sub-images, including: original image sub-image, local contrast enhancement sub-image, binarization sub-image, and image sharpening sub-image. Perform OCR character recognition on each set of enhanced sub-images to obtain multiple sets of OCR recognized text and corresponding recognition confidence scores. First, filter the multiple sets of OCR recognized text, removing recognized text that does not meet the constraints of legal characters for axis numbers, and then remove recognized text with recognition confidence scores lower than the preset OCR output confidence threshold to obtain a set of valid candidate texts. If the set of valid candidate texts is not empty, count the frequency of each recognized text in the set of valid candidate texts, and select the recognized text with the highest frequency as the stable axis number text corresponding to the axis number circle. If the set of valid candidate texts is empty, mark the axis number circle with OCR. Identify the axis number text to be manually corrected and left for manual review in step S25; output the intermediate dataset of axis number circles carrying the initially identified axis number text; each record in the intermediate dataset of axis number circles carries: center coordinates, radius, group label or label to be manually identified, stable axis number text or OCR-recognized label to be manually corrected; Step S25: Obtain the intermediate dataset of axis number circles carrying the initially identified axis number text output in step S24; obtain the center coordinates, radius, initially identified axis number text, labels to be manually verified, and OCR-recognized labels to be manually corrected for all axis number circles; on the enhanced complete drawing image output in step S21, visually overlay all axis number circle graphics and initially identified axis number text from the intermediate dataset; highlight axis number circles with labels to be manually verified and axis number circles marked as OCR-recognized and requiring manual correction, and display a visual review interface; receive five types of manual editing operations from the user: modify axis number text, delete falsely detected axis number circles, supplement missed axis number circles, assign a unique group label to axis number circles with labels to be manually verified, and perform OCR corrections. Identify the axle number circles that need manual correction and enter the verified axle number text; update the center coordinates and radius of the axle number circles, the axle number text, and the grouping label information according to user operations; ensure that each output axle number circle record has a unique grouping label and verified axle number text, and that there are no records with labels that need manual verification, OCR recognition labels that need manual correction, empty groups, multiple grouping labels, or empty axle number text values; Output a structured axis list. Each record in the structured axis list contains the following fields: axis number circle center image coordinates, axis number circle radius, verified axis number text, and the group label.

4. The method for automatic reconstruction of structural models based on architectural survey drawings as described in claim 3, characterized in that, Step S3 includes: Step S31: Read all records in the structured axis list, and based on the grouping label of each record, divide it into subsets including the upper axis number circular record subset, the lower axis number circular record subset, the left axis number circular record subset, and the right axis number circular record subset; reorder each subset: sort the upper axis number circular record subset in ascending order of the horizontal coordinate of the circle center image coordinate; sort the lower axis number circular record subset in ascending order of the horizontal coordinate of the circle center image coordinate; sort the left axis number circular record subset in ascending order of the vertical coordinate of the circle center image coordinate; sort the right axis number circular record subset in ascending order of the vertical coordinate of the circle center image coordinate; and sort the right axis number circular record subset in ascending order of the horizontal coordinate of the circle center image coordinate. Within each subset of circular records, the records are arranged in ascending order of their center coordinates. Within each subset, two adjacent circular records with different axis numbers are sequentially selected and paired to form axis pairs. Each axis pair includes a first circular record with a different axis number and a second circular record with a different axis number. Cases where there is only a single record in the same subset and they cannot be paired are filtered out, i.e., isolated circular records with different axis numbers that cannot be paired are discarded. The set of axis pairs is output, wherein each axis pair in the set contains the complete records of the two paired circular records with different axis numbers. Step S32: Read the pixel data of the non-aliased version image in the target page set output in step S1, and simultaneously obtain the width and height boundary parameters of the entire image; traverse each set of axis pairs in the axis pair set, and extract the image coordinates of the center of each of the two axis number circles within the axis pair; first distinguish the type of axis pair: if the group to which the axis pair belongs is the upper axis number circle group or the lower axis number circle group, it is determined to be a horizontal axis pair, and the line connecting the two center circles is horizontal, and it is offset and expanded outward along the vertical direction; if the group to which the axis pair belongs is the left axis number circle group or the right axis number circle group, it is determined to be a vertical axis pair, and the line connecting the two center circles is vertical, and it is offset and expanded outward along the horizontal direction. Based on the offset direction of either vertical or horizontal outward offset expansion, preliminary candidate regions of interest (ROIs) surrounding the scale annotation text are generated. Combining the width and height boundary parameters of the entire image, boundary constraints are corrected on the initially generated candidate regions, truncating coordinates exceeding the image range to obtain valid candidate regions of ROI. After processing all axis pairs, a complete set of all valid candidate regions of ROI is obtained. During the traversal, a unique axis pair index is assigned to each axis pair. Each record in the candidate region of ROI contains the corresponding axis pair index. Each record in the candidate region of ROI contains: the corresponding axis pair index and the ROI pixel coordinate range. Step S33: Read the non-aliased version image pixel data from the target page set output in step S1. Based on the ROI pixel coordinate range, extract sub-images of each scale ROI candidate region. Perform OCR character recognition on each scale ROI candidate region sub-image to obtain the recognized text and corresponding recognition confidence. Filter the recognized text to obtain the filtered and retained text. The filtering process includes: removing recognized text equal to axis number text, removing recognized text that is not purely numeric, removing recognized text with a recognition confidence lower than a preset OCR confidence threshold, and removing candidate recognition results where the distance between the ROI center point and the center of the line connecting the axis lines exceeds a distance threshold. If the filtered and retained text contains valid numerical values, perform numerical analysis on the filtered and retained text, combining it with the scale ROI. The candidate region sub-image is matched with the corresponding axis pair index to obtain the axis distance scale engineering value of the axis pair; if there is no valid value in the text retained after filtering, the axis pair is marked as axis distance to be manually calibrated and left for subsequent manual review; the axis pair dataset carrying axis distance scale information is output; each record in the axis pair dataset contains: axis pair index, two paired axis number circles and axis distance scale engineering value or axis distance to be manually calibrated mark; Step S34: Read the pixel data of the non-aliased version image from the target page set output in step S1; read the center image coordinates and radius of all axis numbers in the structured axis list, and calculate the boundaries of all axis numbers based on the center image coordinates and the radius of the axis numbers; combine the boundaries of all axis numbers to detect the lines that run through the axis inside the non-aliased version image, and comprehensively determine the pixel boundaries of the effective structural regions in the non-aliased version image; perform image cropping on the non-aliased version image according to the pixel boundaries of the effective structural regions, and obtain the clean image after cropping; calculate the coordinate offset of the upper left corner of the clean image relative to the upper left corner of the non-aliased version image, wherein the coordinate offset includes: X-direction offset and Y-direction offset; calculate the pixel coordinates of the origin of the axis grid based on the axis extreme values ​​of the structured axis list, and write them to the global coordinate file; Step S35: From the axis pair dataset, filter out valid axis pairs without axis distance markings requiring manual calibration; for each valid axis pair, read the pixel distance between the centers of the two axis number circles in the axis pair, and read the corresponding axis distance scale engineering value; calculate a single temporary scale = axis distance scale engineering value ÷ pixel distance between the centers of the two axis number circles; collect the single temporary scales calculated for all valid axis pairs, and calculate the average of the single temporary scales calculated for all valid axis pairs as the global scale; if the number of valid axis pairs is zero, i.e., all axis pairs have axis distance markings requiring manual calibration, mark the global scale as requiring manual input and hand it over to manual input of the scale value; synchronously generate a matching global coordinate file and scale file, the two files are matching independent files corresponding to the same set of non-aliased version image pixel data, wherein the global coordinate file internally records step S34 The output coordinate offsets are the X-direction offset and the Y-direction offset; the scale file records: a global scale without axis distance markings to be manually calibrated, or a global scale with axis distance markings to be manually calibrated.

5. The method for automatic reconstruction of structural models based on architectural survey drawings as described in claim 4, characterized in that, Step S4 includes: Step S41: Using the non-aliased version image in the target page set output in step S1 as input, obtain the map width, map height and paper orientation to get the basic map parameters; Based on the map width, map height and paper orientation in the basic map parameters, candidate elevation regions are determined on the left and right sides or the top and bottom ends of the non-zailed version image, and images of the candidate elevation regions are captured. Step S42: Using the elevation candidate region image output in step S41 as input, traverse each elevation candidate region image, determine the arrangement direction of the elevation numbers, and obtain the horizontal and vertical elevation number regions. Keeping the orientation of the horizontal elevation number area unchanged, the vertical elevation number area is rotated, and the horizontal elevation number area and the rotated vertical elevation number area are uniformly converted into an orientation suitable for OCR recognition, thus obtaining a set of elevation recognition sub-images; Step S43: Using the elevation recognition sub-image set output in step S42 as input, perform OCR character recognition on the elevation recognition sub-image set to obtain the recognized text and the corresponding recognition confidence level; Based on the identified text and its corresponding recognition confidence, the identified text with a recognition confidence lower than the preset confidence threshold is removed to obtain candidate elevation text; The candidate elevation text is subjected to character set constraints and format cleaning, retaining numbers, plus and minus signs and decimal points, and removing text that does not conform to the elevation numerical format, thus obtaining the format-cleaned candidate elevation text; The cleaned candidate elevation text is converted into elevation values ​​to obtain a set of elevation values; Step S44: Using the set of elevation values ​​output in step S43 as input, merge the elevation values ​​corresponding to the left and right sides or the top and bottom ends of the non-zailed version image to obtain the merged elevation values. The merged elevation values ​​are deduplicated and sorted according to their magnitude to form a floor elevation sequence; The floor elevation sequence is output to steps S7 and S11, so that step S7 can determine the column height and step S11 can call it when creating BIM floors and determining the vertical position of components.

6. The method for automatic reconstruction of structural models based on architectural survey drawings as described in claim 5, characterized in that, Step S5 includes: Step S51: Read the pixel data of the aliased version image in the target page set output in step S1, read all axis pixel coordinates of the structured axis list output in step S2, traverse all axis coordinates in the pixel data of the aliased version image file and perform pixel erasure operation to completely clear all axis pixels inside the aliased version image, and obtain a special image for de-aliased components. Step S52: Based on the de-axis jagged component-specific image output in step S51, perform background adaptive threshold binarization processing to eliminate grayscale gradient interference in the drawing, strengthen the black and white hard boundary lines of the window frame, and output a binarized window frame-specific image. Step S53: Based on the binarized window frame image output in step S52, a pixel-level line segment tracing algorithm is used to extract all horizontal and vertical line segments inside the image. The pixel-level line segment tracing algorithm supports crossing fewer than a preset number of line segment breakpoints, completely preserving the outline of the segmented window frame. Based on preset line segment angle thresholds and minimum line segment length thresholds, short lines, broken annotation lines, and short legend lines and other noise line segments in the horizontal and vertical line segments are filtered out, and a set of horizontal candidate line segments and a set of vertical candidate line segments are output. Step S54: Based on the horizontal and vertical candidate line segment sets output in step S53 as input, within the local neighborhood of the binarized window frame image output in step S52, traverse all horizontal and vertical candidate line segments, filter line segments that simultaneously contain a pair of parallel outer frame edges and internal parallel pane separator lines, forming closed rectangular frames as window candidate frames, obtaining each set of matched edge combinations; for each set of matched edge combinations, extract the pixel coordinates of all associated edge endpoints, calculate the four corner points of the rectangular outer frame by taking the extreme values ​​of the X and Y coordinates, and obtain the coordinates of the four points of the local pixel outer frame of the net image; traverse all window candidate frames, calculate the percentage of overlapping pixels between frames, if the overlap percentage exceeds a preset overlap threshold, perform merging and deduplication, and output a set of non-overlapping window candidate frame pixels; each window candidate frame in the set of non-overlapping window candidate frame pixels stores the aforementioned calculated coordinates of the four points of the local pixel outer frame of the net image; Step S55, Pixel coordinates to real building coordinates: Based on the non-overlapping window candidate box pixel set output in step S54, each window candidate box record in the non-overlapping window candidate box pixel set carries the coordinates of four points of the local pixel bounding box of the net image. The coordinates of the four points of the local pixel bounding box of the net image are used as the local pixel coordinates of the window candidate box; Read the three types of parameters stored in the global coordinate file output in step S3: X direction offset, Y direction offset, and the pixel coordinates of the origin of the grid calculated by step S34 based on the extreme values ​​of the axis lines in the structured axis line list and written into the global coordinate file; Read the global scale stored in the scale file in step S3; The conversion is performed in two levels: First-level coordinate conversion, local pixel to original drawing global pixel coordinates: superimpose the local pixel coordinates of any window candidate box with the X-direction offset and the Y-direction offset to obtain the global pixel coordinates of the entire pixel area of ​​the non-aliased version image; The second-level coordinate conversion transforms global pixel coordinates into real building global coordinates: using the origin pixel coordinates of the grid in step S34 as the reference origin, the horizontal and vertical pixel differences between the window's global pixel coordinates and the origin pixel are calculated. The pixel differences are multiplied by the global scale to obtain the real building global coordinates of the four corners of the window. The complete window candidate box coordinate dataset with the coordinates of the four points of the window's global pixel coordinates and the real building global coordinates of the four corners of the window is output and passed to step S56. Step S56, Continuous Numbering and Dataset Output of Windows Across the Building: The input consists of the complete window candidate frame coordinate dataset output in Step S55, the floor markers in the target page set output in Step S1, and the externally input historical floor window count cache. The complete window candidate frame coordinate dataset corresponds to all window components on the current page. The historical floor window count cache stores the total number of identified window components on all floors prior to the project, i.e., the cumulative number of windows across all floors. Based on the cumulative number of windows across all floors, a continuous and unique window number is assigned to each window component on the current page. The complete window records are integrated one by one, with the following fields sourced: A unique window number is assigned and generated in this step; The coordinates of the four points of the local pixels in the net image of the window candidate box are obtained from the coordinates of the four points of the outer frame of the local pixels in the net image calculated in step S54 and stored in the non-overlapping window candidate box pixel set, and are taken from the input dataset in step S55. The coordinates of the four points of the global pixels outside the window are derived from the calculation result of the first-level coordinate transformation in step S55, that is, the coordinates of the four points of the global pixels outside the window in the complete pixel area of ​​the entire non-aliased version image. The global coordinates of the actual building at the four corners outside the window are derived from the calculation results of the second-level coordinate conversion in step S55; The parameters of the internal divider line segment in the pane are the endpoint and length geometric parameters of the internal divider line segment that are synchronously bound in steps S53 and S54, and are transferred to this step along with the window candidate box; the floor markers are from the floor markers in the target page set output in step S1. After integration, the output window dataset is as follows: The window dataset includes: unique window number, local pixel coordinates of four points of the window candidate frame net image, global pixel coordinates of four points of the window outer frame, global coordinates of the actual building at the four corners of the window outer frame, parameters of the dividing line segments inside the window pane, and floor markers.

7. The method for automatic reconstruction of structural models based on architectural survey drawings as described in claim 6, characterized in that, Step S6 includes: Step S61: Read the pixel data of the aliased version image file; based on the pixel coordinates of all axes in the structured axis list of step S2, erase all axis pixels in the pixel data of the aliased version image; traverse the four-point coordinates of the outer frame of the local pixels in the non-overlapping window candidate box pixel set output in step S54, i.e., the pixel region of the window candidate box, and erase the window annotation text and window legend interference pixels; after completing the pixel erasure, perform background adaptive threshold binarization to obtain a binary structure image that retains only the wall edge line and the outer boundary of the floor slab; Step S62: Based on the binary structure map output in step S61 as input, perform connected component grouping on the white pixels in the binary structure map, and perform continuous line segmentation on long connected components; filter out line segments with fine noise by setting a minimum line segment length threshold, and generate a set of horizontal candidate line segments and a set of vertical candidate line segments; perform line segment fusion and merging on the candidate line segments in the set of horizontal candidate line segments that are spatially adjacent, have overlapping coordinates, or have similar endpoints, and output the fused set of horizontal standard line segments; perform line segment fusion and merging on the candidate line segments in the set of vertical candidate line segments that are spatially adjacent, have overlapping coordinates, or have similar endpoints, and output the set of vertical standard line segments. Step S63: Based on the fused set of horizontal and vertical standard line segments output in step S62, traverse all paired parallel standard line segments and determine valid wall double-line pairs through the following four constraints: the two line segments extend in completely parallel directions; the difference in the total length of the line segments is less than a preset length deviation threshold; the horizontal or vertical alignment deviation of the beginning and end points of the line segments is less than the endpoint threshold; the spacing between the two lines is within the preset standard wall thickness pixel range; double-line pairs that satisfy all four constraints are valid wall edge pairs; for each matched valid wall double-line combination, extract all endpoint pixel coordinates of the two edge lines within the double-line pair, and calculate the extreme values ​​of the horizontal coordinates and the vertical coordinates respectively. The coordinate extreme values ​​are used to generate a complete wall centerline segment based on two types of extreme values, and the pixel spacing between the two lines is recorded as the pixel wall thickness. Among them, the local coordinates of the original net image of the two edge lines that constitute the effective wall double line pair with their own endpoints are used as the local pixel endpoint coordinates of the original net image of the double line. Based on the horizontal coordinate extreme values ​​and the vertical coordinate extreme values, a local pixel point set of the wall centerline net image is fitted and generated to represent the continuous pixel point sequence of the complete wall centerline segment. All wall records are summarized, and each wall record stores: the local pixel endpoint coordinates of the original net image of the double line, the local pixel point set of the wall centerline net image representing the complete wall centerline segment, and the pixel wall thickness. Step S64: Traverse all fused boundary standard line segments in the fused horizontal and vertical standard line segment sets and the vertical standard line segment set output in step S62, and extract four sets of extreme boundary values ​​for the entire image, including: minimum pixel boundary in the X direction, maximum pixel boundary in the X direction, minimum pixel boundary in the Y direction, and maximum pixel boundary in the Y direction; fit the floor slab outer rectangle based on the four sets of extreme boundary values, and obtain the local pixel four-corner coordinates of the floor slab outer net image through boundary extreme value calculation, generating a set of four-corner points of the floor slab outer image; each floor slab record stores the local pixel four-corner coordinates of the floor slab outer net image. Step S65: Based on the original wall segment pairing set output in step S63 and the set of four corner points of the floor slab outer perimeter output in step S64, read the three types of parameters stored in the global coordinate file output in step S3: X-direction offset, Y-direction offset, and the pixel coordinates of the origin of the grid calculated based on the extreme values ​​of the grid lines in the structured grid line list and written to the file in step S34; read the global scale stored in the scale file. The conversion is divided into two levels of operations, among which, The first-level operation sets the local pixel coordinates of the wall centerline net image and the four-corner coordinates of the local pixels of the floor slab outer net image in the floor slab record, and superimposes the X-direction offset and Y-direction offset stored in the global coordinate file to obtain the global pixel set of the wall centerline and the four-corner coordinates of the floor slab outer net image in the complete pixel area of ​​the entire non-aliased version image. The second-level operation uses the pixel coordinates of the origin of the grid in step S34 as the reference origin. It calculates the horizontal and vertical pixel differences between the global pixels of the wall centerline and the origin of the grid in step S34, obtaining the pixel difference of the global pixels of the centerline. It also calculates the horizontal and vertical pixel differences between the four corners of the floor slab's outer perimeter and the origin of the grid in step S34, obtaining the pixel differences of the four corners of the floor slab's outer perimeter. The pixel differences of the global pixels of the centerline and the four corners of the floor slab are multiplied by the global scale to obtain the set of real building coordinates for the wall centerline and the four corners of the floor slab. The output includes intermediate datasets of the wall and floor slab, along with the global pixel coordinates and the real building coordinates. Step S66: Obtain the floor markers from the target page set output in Step S1, and the intermediate wall dataset and intermediate floor dataset output in Step S65; obtain all wall components corresponding to all wall records in the intermediate wall dataset, and obtain all floor components corresponding to all four corner records of the floor dataset; assign consecutive and unique wall numbers to all wall components, and assign consecutive and unique floor numbers to all floor components; integrate the complete wall records and complete floor records one by one. The sources of each field in the complete wall records and complete floor records are as follows: First, all fields of a single record for the wall section, including: Unique wall number: This step assigns and generates the number. Local pixel endpoint coordinates of the original net image of the double line: generated by the double line pairing calculation in step S63, taken from the intermediate dataset of the input wall in step S65; Global pixel set of wall centerline: The first-level coordinate transformation result of step S65, taken from the intermediate dataset of the wall input in step S65; The set of actual centerline building coordinate points: the second-level coordinate transformation result of step S65, taken from the intermediate dataset of the input wall in step S65; Pixel wall thickness: Step S63 double line spacing calculation value, taken from the intermediate dataset of the input wall in step S65; Actual wall thickness after conversion: pixel wall thickness × global scale, generated in this step; Floor markers: Floor markers from the target page set output in step S1; The integrated output wall dataset contains all the above fields in each record, and fully retains local pixels, global pixels, actual engineering coordinates, and thickness parameters. Second, all fields of a single record for the floor slab, including: Floor slab unique number: generated in this step; The four corner coordinates of local pixels in the floor slab enclosure net drawing: taken from step S64 and from the intermediate dataset of the floor slab input in step S65; The coordinates of the four corners of the global pixels surrounding the floor slab: taken from the first-level coordinate transformation result in step S65, and obtained from the intermediate dataset of the input floor slab in step S65; The actual building coordinates of the four corners of the floor slab: taken from the second-level coordinate transformation result of step S65, and taken from the intermediate dataset of the input floor slab in S65; Floor markers: Floor markers from the target page set output in step S1; The integrated output floor slab dataset contains all the above fields in each record, and fully retains the multi-layer pixel coordinates and the actual building coordinates, for use in the downstream step S103 for the collection and integration of all components.

8. The method for automatic reconstruction of structural models based on architectural survey drawings as described in claim 7, characterized in that, Step S7 includes: Step S71: Read the pixel data of the jagged version image in the target page set output in step S1; based on the pixel coordinates of all axes in the structured axis list in step S2, erase all axis pixels in the pixel data of the jagged version image; traverse the window pixel area defined by the four-point coordinates of the local pixel outer frame of the net image in the pixel set of non-overlapping window candidate boxes output in step S54, and erase the window components and window annotation interference pixels; traverse the wall pixel area defined by the endpoint coordinates of the local pixels of the double-line original net image in the original wall segment pairing set output in step S63, and erase the wall entity and wall annotation interference pixels; after completing the erasure of all interference pixels, perform background adaptive threshold binarization processing to eliminate the grayscale gradient interference of the drawing, strengthen the rectangular closed outline of the structural column, and output a binarized column-specific image; Step S72: Based on the binarized column-specific image output in step S71, a pixel-level closed contour tracking algorithm is used to extract all closed pixel contours inside the binarized column-specific image; based on preset minimum contour area threshold, contour aspect ratio threshold, and contour regularity threshold, small noise contours, narrow and elongated annotation fragment contours, and irregular legend contours are filtered from all closed pixel contours, and a set of filtered effective column closed contours is output. Step S73: Using the set of valid closed column contours output in step S72 as input, within the local neighborhood of the binarized column-specific image output in step S71, traverse all valid closed contours in the set of valid closed column contours, and select standard rectangular closed contours with aspect ratios falling within the preset column size range as column candidate boxes; for each valid closed contour corresponding to a column candidate box, extract the pixel coordinates of all boundary endpoints of the contour, calculate the extreme values ​​of the X and Y coordinates respectively, and calculate the four corner points of the rectangular outer frame based on the extreme values ​​of the X and Y coordinates to obtain the coordinates of the four points of the local pixel outer frame of the column net image; traverse all column candidate boxes, calculate the percentage of overlapping pixels between boxes, and if the percentage of overlap exceeds a preset overlap threshold, perform contour merging and deduplication, and output a set of non-overlapping column candidate box pixels, wherein each column candidate box in the set of non-overlapping column candidate box pixels stores the coordinates of the four points of the local pixel outer frame of the column net image obtained above; Step S74: Based on the non-overlapping column candidate box pixel set output in step S73, where each column candidate box record carries the coordinates of four points of the local pixel bounding box of the column net image; use the four points of the local pixel bounding box of the column net image as the local pixel coordinates of the column candidate box; read the three types of parameters stored inside the global coordinate file output in step S3: X-direction offset, Y-direction offset, and the pixel coordinates of the origin of the grid line calculated based on the extreme values ​​of the axis lines in step S34 and written into the global coordinate file; read the global scale stored inside the scale file in step S3; The conversion is performed in two levels: First-level coordinate conversion, local pixel to original drawing global pixel coordinates: superimpose the local pixel coordinates of any column candidate box with the X-direction offset and the Y-direction offset to obtain the coordinates of the four global pixel points of the column outer edge under the complete pixel area of ​​the entire non-aliased version image; The second-level coordinate transformation converts global pixel coordinates to real building global coordinates: using the grid origin pixel coordinates from step S34 as the reference origin, the horizontal and vertical pixel differences of the column's global pixel coordinates relative to the grid origin pixel are calculated. The horizontal and vertical pixel differences are multiplied by the global scale to obtain the real building global coordinates of the four corners of the column. The output is a complete column candidate box coordinate dataset with both global pixel coordinates and real building global coordinates. Step S75: Using the complete column candidate frame coordinate dataset output in Step S74 and the structured axis list output in Step S2 as dual inputs; solve the true coordinates of the column center based on the true coordinates of the four corners of the column enclosure; traverse the true positioning coordinates of the horizontal and vertical axes in the structured axis list; calculate the vertical distance from the column center point to each axis; filter the horizontal axis numbers whose horizontal vertical distance is less than the preset horizontal belonging threshold and the vertical axis numbers whose vertical vertical distance is less than the preset vertical belonging threshold, combine them to form the axis grid number combination to which the column belongs, and bind the axis grid number combination to the corresponding column candidate frame record; summarize all the single column candidate frame records that have completed the binding of the axis grid number combination, generate an associated column dataset carrying the axis grid number combination, the local pixel four-point coordinates of the column net map, the global pixel four-point coordinates of the column enclosure, and the true global coordinates of the four corners of the column enclosure, and transfer it completely to Step S76; Step S76: Taking the associated column dataset output in step S75, the floor elevation sequence output in step S4, and the externally input historical floor column count cache as input, the associated column dataset is generated by summarizing all single column candidate box records that have completed the binding of the axis grid number combination. The associated column dataset contains multiple column candidate box records, each of which is bound to a corresponding axis grid number combination. All column candidate box records in the associated column dataset correspond to all column components on the current page. The historical floor column count cache stores the total number of identified column components on all floors before the project, i.e., the cumulative number of columns on all floors. Based on the cumulative number of columns on all floors, a unique consecutive column number is assigned to each column component on the current page. The complete column records are integrated one by one, and the sources of each field are as follows: The column's unique number is assigned and generated in this step; The coordinates of the four points of the local pixel bounding box of the column net image are obtained from the four points of the local pixel bounding box of the column net image calculated in step S73 and stored in the non-overlapping column candidate box pixel set, and are taken from a single candidate box record in the input dataset in step S75. The coordinates of the four global pixels outside the column are obtained from the first-level coordinate transformation result of step S74, that is, the coordinates of the four global pixels outside the column in the complete pixel area of ​​the entire non-aliased version image, which are taken from a single candidate box record in the input dataset of step S75. The actual global coordinates of the four corners of the column are obtained from the second-level coordinate conversion result in step S74, that is, the actual global coordinates of the four corners of the column are taken from a single candidate box record in the input dataset in S75. Axis grid number combination: obtained from axis matching and binding in step S75, taken from a single candidate box record in the input dataset in step S75; Column cross-sectional dimensions and column height: Perform multi-enhanced OCR around the candidate column area to identify and vote on the column cross-sectional dimensions in the form of "number × number" to obtain the column length and column width; the floor markers are from the floor markers in the target page set output in step S1, and the floor elevations are from the floor elevation sequence output in step S4; match the floor markers with the floor elevation sequence, and determine the column height based on the difference between the current floor elevation and the adjacent upper floor elevation; After integration, the output column dataset includes: unique column number, actual coordinates of column center point, column length, column width, column height, coordinates of four points of the column net map local pixel outer frame, coordinates of four points of the column outer global pixel frame, actual global coordinates of the four corners of the column outer frame, grid number combination, floor marker and floor elevation.

9. The method for automatic reconstruction of structural models based on architectural survey drawings as described in claim 8, characterized in that, Step S8 includes: Step S81: Read the pixel data of the jagged version image in the target page set output in step S1; based on the pixel coordinates of all axes in the structured axis list in step S2, erase all axis pixels in the pixel data of the jagged version image; traverse the window pixel area defined by the four-point coordinates of the local pixel bounding box of the net image in the non-overlapping window candidate frame pixel set output in step S54, and erase window components and window annotation interference pixels; traverse the wall pixel area defined by the endpoint coordinates of the local pixel bounding box of the double-line original net image in the wall original line segment pairing set output in step S63, and erase wall entities and wall annotation interference pixels; traverse the column pixel area defined by the four-point coordinates of the local pixel bounding box of the column net image in the column candidate frame pixel set output in step S73, and erase column outlines and column annotation interference pixels; after completing the erasure of all interference pixels, perform background adaptive threshold binarization processing to eliminate grayscale gradient interference in the drawing, strengthen the parallel double-line outline of the frame beam, and output a binarized beam-specific image; Step S82: Based on the binarized beam-specific image output in step S81, a pixel-level line segment tracking algorithm is used to extract all horizontal and vertical line segments inside the binarized beam-specific image; based on the preset minimum line segment length threshold and line segment angle deviation threshold, short, fragmented annotation lines and legend noise lines are filtered from all horizontal and vertical line segments, and the filtered set of horizontal candidate line segments and the set of vertical candidate line segments are output. Step S83: Using the horizontal and vertical candidate line segment sets output in step S82 as input, within the local neighborhood of the binarized beam-specific image output in step S81, traverse all candidate line segments in the horizontal and vertical candidate line segment sets, and traverse all paired parallel standard line segments. Determine valid beam double-line pairs based on the following four constraints: the two line segments extend in completely parallel directions; the total length difference between the line segments is less than a preset length deviation threshold; the horizontal or vertical alignment deviation of the line segment's beginning and end endpoints is less than an endpoint threshold; the spacing between the double lines is within a preset standard beam width pixel range; double-line pairs satisfying all four constraints are considered valid beam edge pair. For each matched valid beam edge pair, extract all endpoint pixel coordinates of the two edges within the valid beam edge pair, and calculate the extreme values ​​of the X and Y coordinates respectively. Based on the extreme values ​​of the X and Y coordinates, calculate the four corner points of the rectangular outer frame to obtain the coordinates of the four points of the local pixel outer frame of the beam net image. Based on the total X values ​​of the two edges within the valid beam edge pair... The extreme values ​​of the coordinates and the extreme values ​​of the Y coordinate are used to fit and generate a local pixel set of the beam centerline net image; the pixel spacing between the two edges is recorded as the pixel beam width; a single beam candidate box is formed by the rectangular outer region corresponding to a single effective beam edge; all beam candidate boxes are traversed, and the percentage of overlapping pixels between boxes is calculated. If the percentage of overlapping pixels exceeds a preset overlap threshold, contour merging and deduplication are performed, and a set of non-overlapping beam candidate box pixels is output. Each beam candidate box in the set of non-overlapping beam candidate box pixels stores the coordinates of the four points of the local pixel outer frame of the beam net image obtained above, the coordinates of the endpoints of the local pixels of the original net image of the double line, the local pixel set of the beam centerline net image, and the pixel beam width; Step S84: Based on the non-overlapping beam candidate frame pixel set output in step S83, where each beam candidate frame in the non-overlapping beam candidate frame pixel set records carrying the coordinates of the four points of the local pixel bounding box of the beam net image and the local pixel point set of the beam centerline net image; use the four points of the local pixel bounding box of the beam net image as the local pixel coordinates of the beam candidate frame; read the three types of parameters stored inside the global coordinate file output in step S3: X-direction offset, Y-direction offset, and the pixel coordinates of the origin of the axis grid calculated based on the extreme values ​​of the axis in the structured axis list and written into the global coordinate file in step S34; read the global scale stored inside the scale file in step S3; The conversion is performed in two levels: First-level coordinate conversion, local pixel to original drawing global pixel coordinates: take the local pixel coordinates of any net image in the net image of the beam centerline and the local pixel coordinates of the candidate beam frame, and superimpose the offsets in the X and Y directions respectively to obtain the global pixel set of the beam centerline and the coordinates of the four global pixel points of the beam outer perimeter under the complete pixel area of ​​the entire non-aliased version image. The second-level coordinate transformation converts global pixel coordinates to real building global coordinates: using the grid origin pixel coordinates from step S34 as the reference origin, the horizontal and vertical pixel differences between the global pixel points of the beam centerline and the four corners of the beam outer perimeter relative to the grid origin are calculated. The horizontal and vertical pixel differences are multiplied by the global scale to obtain the real building coordinate point set of the beam centerline and the real building global coordinates of the four corners of the beam outer perimeter; the output is a complete beam candidate box coordinate dataset with global pixel coordinates, real building global coordinates, beam centerline global pixel point set, and beam centerline real building coordinate point set. Step S85: Using the complete beam candidate frame coordinate dataset output in step S84 and the structured axis list output in step S2 as dual inputs; solve the true coordinates of the beam center based on the true coordinates of the four corners of the beam outer perimeter; traverse the true positioning coordinates of the transverse and longitudinal axes in the structured axis list; calculate the vertical distance from the beam center point to each axis; filter the transverse axis numbers whose transverse vertical distance is less than the preset transverse belonging threshold and the longitudinal axis numbers whose longitudinal vertical distance is less than the preset longitudinal belonging threshold, combine them to form the axis grid number combination to which the beam belongs, and bind the axis grid number combination to the corresponding beam candidate frame record; parse the actual coordinates of the numerical axis and the alphanumeric axis to determine the adjacent axis interval where the beam center point is located, and group them according to transverse beams, longitudinal beams and their respective axis grid intervals; merge overlapping or adjacent beam segments in the same interval, and split the through beam into standard single-span beam segments based on the axis grid intersection; Summarize all candidate beam records for single beams that have completed the binding of grid number combinations, and generate an associated beam dataset that includes grid number combinations, coordinates of four points of the local pixel bounding box of the beam net drawing, coordinates of four points of the global pixel bounding box of the beam, global coordinates of the four corners of the beam bounding box of the actual building, coordinates of the endpoints of the local pixel bounding box of the original net drawing of the double line, local pixel point set of the net drawing of the beam centerline, global pixel point set of the beam centerline, set of real building coordinate points of the beam centerline, and the pixel beam width. Step S86: Based on the associated beam dataset output in step S85 and the externally input historical floor beam count cache, the associated beam dataset is generated by summarizing all single beam candidate box records that have completed the binding of the axis grid number combination. The associated beam dataset contains multiple beam candidate box records, each of which is bound to a corresponding axis grid number combination. All beam candidate box records in the associated beam dataset correspond to all beam components on the current page. The historical floor beam count cache stores the total number of identified beam components on all floors before the project, i.e., the cumulative number of beams on all floors. Based on the cumulative number of beams on all floors, a unique continuous beam number is assigned to each beam component on the current page. The complete beam records are integrated one by one, and the sources of each field are as follows: The beam's unique identification number is generated and assigned in this step. The coordinates of the four points of the local pixel bounding box of the beam net image are obtained from the four points of the local pixel bounding box of the beam net image calculated in step S83 and stored in the non-overlapping beam candidate box pixel set, and are taken from a single candidate box record in the input dataset in step S85. The local pixel endpoint coordinates of the original net image of the double line, the local pixel point set of the net image of the beam centerline, and the pixel beam width are derived from the double-line pairing fitting calculation results in step S83 and are taken from a single candidate box record of the input dataset in step S85. The coordinates of the four global pixels surrounding the beam and the global pixel set of the beam centerline are derived from the first-level coordinate transformation result of step S84, that is, the global pixel data under the complete pixel area of ​​the entire non-aliased version image, which is taken from a single candidate box record of the input dataset in S85. The set of global coordinates of the real buildings at the four corners of the beam and the set of real building coordinates of the beam centerline are obtained from the second-level coordinate conversion result in step S84 and are taken from a single candidate box record in the input dataset in step S85. Axis grid number combination: obtained from axis matching and binding in step S85, taken from a single candidate box record in the input dataset of S85; Beam cross-section dimensions: The beam cross-section annotations are processed using block OCR, rotation compensation, format parsing, and voting to obtain the beam width and beam height; the product of the pixel beam width and the global scale is used to verify the beam width recognition results. Floor markers: Floor markers from the target page set output in step S1; After integration, output the beam dataset; wherein, the beam dataset includes: unique beam number, coordinates of four points of the local pixel bounding box of the beam net drawing, coordinates of the endpoints of the local pixels of the original net drawing of the double line, set of local pixels of the net drawing of the beam centerline, pixel beam width, beam width, beam height, real building coordinates of the start and end points of the single span beam segment, coordinates of four points of the global pixels of the beam bounding box, set of global pixels of the beam centerline, global real building coordinates of the four corners of the beam bounding box, set of real building coordinate points of the beam centerline, grid number combination and floor markers.

10. The method for automatic reconstruction of structural models based on architectural survey drawings as described in claim 9, characterized in that, Step S9 includes: Step S91: Read the pixel data of the jagged version image in the target page set output in Step S1; based on the pixel coordinates of all axes in the structured axis list in Step S2, erase all axis pixels within the pixel data of the jagged version image; traverse the window pixel region defined by the four-point coordinates of the local pixel bounding box of the net image in the non-overlapping window candidate box pixel set output in Step S54, and erase window components and window annotation interference pixels; traverse the wall pixel region defined by the endpoint coordinates of the local pixel of the double-line original net image in the wall original line segment pairing set output in Step S63, and erase wall entities and wall annotation interference pixels; traverse the column pixel region defined by the four-point coordinates of the local pixel bounding box of the column net image in the column candidate box pixel set output in Step S73, and erase column outlines and column annotation interference pixels; traverse Step S83... Output the beam pixel region defined by the four-point coordinates of the local pixel bounding box of the beam net image within the non-overlapping beam candidate frame pixel set, and erase the beam outline and beam annotation interference pixels; after completing the erasure of all interference pixels, perform background adaptive threshold binarization processing to eliminate the grayscale gradient interference of the drawing, strengthen the rectangular closed outline of the doorway, and output a binarized doorway-specific image. Step S92: Based on the binarized doorway image output in step S91, a pixel-level closed contour tracking algorithm is used to extract all closed pixel contours inside the binarized doorway image. Based on the preset minimum area threshold and aspect ratio threshold of the contour, small noise contours, narrow and elongated annotation fragments, and irregular legend contours are filtered from all closed pixel contours. The filtered set of effective doorway closed contours is output, and the complete set of effective doorway closed contours is output. Step S93: Taking the set of valid doorway closed contours output in step S92 as input, within the local neighborhood of the binarized doorway-specific image output in step S91, traverse all valid closed contours in the set of valid doorway closed contours, and select standard rectangular closed contours whose aspect ratio falls within the preset doorway aspect ratio range as the corresponding closed contours of the doorway; for each valid closed contour corresponding to a doorway, extract the pixel coordinates of all boundary endpoints of the contour, and calculate the extreme values ​​of the X and Y coordinates respectively; based on the extreme values ​​of the X and Y coordinates, calculate the four corner points of the rectangular outer frame, and obtain the four-point coordinates of the local pixel outer frame of the doorway net image; a single doorway candidate frame is formed by the rectangular outer area of ​​a single set of doorway corresponding closed contours; traverse all doorway candidate frames, calculate the percentage of overlapping pixels between frames, and if the percentage of overlap exceeds a preset overlap threshold, perform contour merging and deduplication, and output a set of non-overlapping doorway candidate frame pixels, wherein each doorway candidate frame in the set of non-overlapping doorway candidate frame pixels records and stores the four-point coordinates of the local pixel outer frame of the doorway net image obtained above; Step S94: Based on the non-overlapping doorway candidate frame pixel set output in step S93, where each doorway candidate frame record in the non-overlapping doorway candidate frame pixel set carries the coordinates of four points of the local pixel bounding box of the doorway net image; use the four points of the local pixel bounding box of the doorway net image as the local pixel coordinates of the doorway candidate frame; read the three types of parameters stored inside the global coordinate file output in step S3: X-direction offset, Y-direction offset, and the pixel coordinates of the origin of the grid line calculated based on the extreme values ​​of the axis lines in step S34 and written into the global coordinate file; read the global scale stored inside the scale file in step S3; The conversion is performed in two levels: First-level coordinate conversion, local pixel to original drawing global pixel coordinates: superimpose the local pixel coordinates of any doorway candidate frame with the X-direction offset and the Y-direction offset to obtain the coordinates of the four global pixel points of the doorway under the complete pixel area of ​​the entire non-aliased version image; The second-level coordinate transformation converts global pixel coordinates to real building global coordinates: using the origin pixel coordinates of the grid in step S34 as the reference origin, the horizontal and vertical pixel differences of the four corners of the doorway relative to the grid origin are calculated. The horizontal and vertical pixel differences are multiplied by the global scale to obtain the real building global coordinates of the four corners of the doorway. The output is a complete doorway candidate box coordinate dataset with global pixel coordinates and real building global coordinates. Step S95: Using the complete doorway candidate frame coordinate dataset output in Step S94 and the wall dataset output in Step S6 as dual inputs; solve the true coordinates of the doorway center based on the true coordinates of the four corners of the doorway; traverse the set of true centerline building coordinate points in each wall record of the wall dataset; calculate the vertical true distance from the center point of the doorway to the centerline of each wall; select the only wall whose vertical true distance is less than the preset wall belonging distance threshold as the host wall corresponding to the doorway; bind the unique number of the host wall to the corresponding doorway candidate frame record; summarize all the single doorway candidate frame records that have completed the binding of host wall numbers, generate an associated doorway dataset carrying the unique number of the host wall, the coordinates of the four points of the local pixel outer frame of the doorway net image, the coordinates of the four points of the global pixel outer frame of the doorway, and the global coordinates of the true building at the four corners of the doorway outer frame, and pass it completely to Step S96; Step S96: Based on the associated doorway dataset output in step S95 and the externally input historical floor door count cache, wherein the associated doorway dataset is generated by summarizing all single doorway candidate frame records that have completed host wall number binding, and the associated doorway dataset contains multiple doorway candidate frame records, each of which is bound to a corresponding unique host wall number, and all doorway candidate frame records in the associated doorway dataset correspond to all door components on the current page; the historical floor door count cache stores the total number of identified door components on all floors before the project, i.e., the cumulative number of doors on all floors; based on the cumulative number of doors on all floors, a consecutive unique door number is assigned to each door component on the current page; complete door records are integrated one by one, and the sources of each field are as follows: The door's unique number is assigned and generated in this step; The coordinates of the four points of the bounding box of the local pixels in the net image of the doorway are obtained from the four points of the bounding box of the local pixels in the net image of the doorway calculated in step S93 and stored in the set of candidate frames of the doorway without overlap. They are taken from a single candidate frame record in the input dataset in step S95. The coordinates of the four global pixels surrounding the doorway are obtained from the first-level coordinate transformation result of step S94, that is, the coordinates of the four global pixels surrounding the doorway in the complete pixel area of ​​the entire non-aliased version image, which are taken from a single candidate box record in the input dataset of step S95. The global coordinates of the four corners of the doorway are the actual building coordinates, which are obtained from the second-level coordinate conversion result in step S94 and taken from a single candidate box record in the input dataset in step S95. Unique host wall number: obtained from wall matching and binding in step S95, taken from a single candidate box record in the input dataset in step S95; Floor markers: Floor markers from the target page set output in step S1; After integration, the output door dataset includes: a unique door number, the coordinates of four points of the local pixel bounding box of the door opening, the coordinates of four points of the global pixel bounding box of the door opening, the global coordinates of the four corners of the door opening, the unique number of the host wall, and the floor marker.

11. The method for automatic reconstruction of structural models based on architectural survey drawings as described in claim 10, characterized in that, Step S10 includes: Step S101, Window component wall host binding correction: Using the window dataset output in step S5 and the wall dataset output in step S6 as dual inputs; traverse each complete window record in the window dataset, extract the real building coordinates of the four corners of the window to solve for the real coordinates of the window center; traverse the set of real centerline building coordinate points of each wall record in the wall dataset, calculate the vertical real distance between the window center and the centerline of each wall; select the only wall with a vertical distance less than the preset window belonging distance threshold as the host wall of the current window; add the unique number of the matched wall to the corresponding complete window record; output the corrected window dataset carrying the host wall number, and pass it completely to sub-step S102; The vertical true distance calculation logic is as follows: the true coordinates of the window center are solved based on the true coordinates of the four corners of the window, and the vertical distance from the point to the line segment is solved segment by segment by combining the continuous true coordinate point set of the wall centerline. The wall corresponding to the minimum distance is determined to be the wall to which the window belongs. The unique number of the wall is taken from the unique number of each wall record in the wall dataset. Step S102, complete and connect the segmented walls caused by the doorway: using the corrected back window dataset output in step S101, the wall dataset output in step S6, and the data from step S9. The output door dataset is the input; the door dataset is traversed, the two ends of the door opening, the door type, and the unique number of the host wall are read, and the corresponding wall record is located according to the unique number of the host wall; for the same host wall that is divided into two segments due to door opening recognition, the wall segments on both sides of the door opening are paired and connected according to the wall direction, collinearity, wall thickness, and the position of the door opening endpoints to restore the center line of the complete wall; at the same time, the two ends of the door opening, the host wall number, and the door type are retained for step S11 to create door components or door openings on the complete host wall; the corrected window dataset is traversed, and the window host wall number and window position are written back to the corresponding wall record without cutting the window opening on the wall center line; the set of building coordinate points of the wall's real center line, the set of global pixel points of the wall center line, and the wall's outer perimeter are updated one by one, and the completed wall dataset is output and completely passed to step S103; the completed wall dataset retains all the original fields of the wall and adds the door and window host relationship and opening location fields; Step S103, complete collection and verification of all floor components: the complete wall dataset output in step S102, the floor slab dataset output in step S6, the corrected window dataset output in step S101, the column dataset output in step S7, the beam dataset output in step S8, and the door dataset output in step S9 are the multiple inputs. All types of building components for the current floor are collected in a unified manner. Format alignment, field integrity verification and duplicate component removal are performed on the datasets of various components. The resulting datasets are then compiled to form a complete dataset of all building components for the floor. The complete floor component dataset contains six sub-datasets: corrected window dataset, completed wall dataset, floor slab dataset, door dataset, column dataset, and beam dataset; each sub-dataset retains all its fields.

12. The method for automatic reconstruction of structural models based on architectural survey drawings as described in claim 11, characterized in that, Step S11 includes: Step S111 takes the structured axis list output in step S2, the global coordinate file and scale file output in step S3, and the floor elevation sequence output in step S4 as input; Read all horizontal and vertical axis number texts and axis pixel coordinates from the structured axis list; read the X-direction offset, Y-direction offset, and axis grid origin pixel coordinates from the global coordinate file; read the global scale stored in the scale file; convert all axis pixel coordinates into the actual building global coordinates of the axes based on two-level coordinate conversion logic; create BIM floors according to the floor elevation sequence, and generate horizontal and vertical BIM reference axes based on the actual building global coordinates of the axes and match the corresponding axis number text labels; establish a floor global BIM coordinate system based on the actual coordinates of the axis grid origin; output the floor BIM axis grid reference model. Step S112 uses the floor BIM grid reference model output in step S111 and the completed wall dataset, column dataset and beam dataset in the total dataset of complete floor components output in step S10 as dual inputs; Traverse each complete wall record in the completed wall dataset, read the wall's unique number, the set of actual building coordinate points of the centerline of the completed wall, the converted actual wall thickness, and the floor marker; based on the floor elevation in the floor BIM grid reference model output in step S111, match the floor marker to the current floor elevation and the adjacent upper floor elevation; using the actual coordinates of the centerline of the complete wall as the centerline, offset by half the actual wall thickness in both directions along the centerline normal to generate the actual coordinates of the wall's two-sided entity boundaries, and create complete wall BIM entity components based on the closed boundary coordinates; using the current floor elevation as the bottom positioning reference of the wall and the adjacent upper floor elevation as the top constraint of the wall, determine the wall height and vertical position; Traverse the complete record of each beam in the beam dataset, and read the unique beam number, the set of real building coordinate points of the beam centerline, the beam width, the beam height, the real building coordinates of the start and end points of a single span beam segment, the combination of grid numbers, and the floor markers; based on the floor elevation in the floor BIM grid reference model output in step S111, match the floor markers to the current floor elevation; generate the beam entity outline by offsetting half of the actual beam width in both directions with the real building coordinates of the beam centerline as the centerline, create the frame beam BIM component, determine the vertical position of the beam with the current floor elevation, and bind the grid positioning information; Traverse each complete record of the column dataset, read the column's unique number, the actual coordinates of the column's center point, column length, column width, column height, grid number combination, floor mark, and floor elevation; use the actual coordinates of the column's center point as the positioning reference, generate a rectangular structural column entity component based on the column length, column width, and column height, and bind the grid positioning, floor mark, and floor elevation information; The output summarizes and outputs a collection of BIM components for walls, beams, and columns, each with a unique component number, grid location, geometric dimensions, and floor markings. Step S113 takes the BIM component sets of walls, beams, and columns output in step S112, and the corrected window dataset and door dataset from the total dataset of complete floor components output in step S10 as input; Iterate through each window's complete record in the corrected window dataset, read the window's unique number, the real building global coordinates of the four corners of the window's outer perimeter, and the unique number of the host wall; accurately locate the corresponding complete wall BIM component based on the unique number of the host wall, automatically open a rectangular window opening at the corresponding position of the wall entity based on the real four corner coordinates of the window's outer perimeter, and bind the window's unique number and floor marker; Iterate through each complete door record in the door dataset, read the unique door number, the real building global coordinates of the four corners of the door opening, and the unique number of the host wall; accurately locate the corresponding complete wall BIM component based on the unique number of the host wall, automatically open a rectangular door opening at the corresponding position of the wall entity based on the real four corner coordinates of the door opening, and bind the unique door number and floor mark; Summarize the complete set of structural components for opening door and window openings and transfer them to sub-step S114. Step S114 takes the set of structural components with door and window openings output in step S113, the floor slab dataset in the total dataset of complete floor components output in step S10, and the floor BIM grid reference model output in step S111 as input; Traverse each floor slab record in the floor slab dataset, read the unique floor slab number, the real global coordinates of the four corners of the floor slab, and the floor marker; based on the floor elevation in the floor BIM grid reference model output in step S111, match the floor marker to the current floor elevation; generate a closed floor slab solid component based on the real coordinates of the floor slab, determine the vertical positioning of the floor slab based on the current floor elevation, and bind the floor slab number and floor marker; The system unifies and collects all BIM components, including grid lines, walls, beams, columns, floor slabs, window openings, and door openings, and batches and attaches all attributes such as unique component numbers, floor markers, grid number combinations, geometric dimensions, and host wall association numbers. It also unifies and aligns components to the global BIM coordinate system, completes component overlap verification and redundancy removal, and outputs conflict-free floor BIM structural models with complete parameters. Finally, the floor BIM model file is packaged and output. The floor BIM model file fully stores the BIM grid, all structural entity components, door and window openings and supporting structural attribute parameters.