Verification method and system for unstructured design file and three-dimensional model

Structured and unstructured data are extracted through POI interface and machine learning technology, forming a design key parameter library, realizing automated verification of three-dimensional models and unstructured design files, and solving the time-consuming and labor-intensive manual verification in the existing technology The problem has improved the verification efficiency and accuracy, and promoted the application and construction intelligence of digital design.

CN118897830AInactive Publication Date: 2024-11-05NANJING ELECTRIC POWER ENG DESIGN +1

Patent Information

Application Number
CN202410922039.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-10
Publication Date
2024-11-05
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

When verifying the data consistency of three-dimensional models and unstructured design files, the prior art relies on manual operations, consumes a lot of manpower and material resources, and cannot accurately locate the wrong location and type, which cannot meet the needs of digital handover verification.

Method used

The POI interface is used to extract structured data, combine machine learning or deep learning technology to extract unstructured data, form a design key parameter library, and data matching and verification are performed through preset query conditions to achieve automated verification.

Benefits of technology

It reduces the proofreading workload, saves time, improves calibration efficiency and accuracy, can accurately locate data items, meets the requirements of speed and accuracy, and improves the quality and engineering management level of digital design.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118897830A_ABST
    Figure CN118897830A_ABST
Patent Text Reader

Abstract

The invention discloses a verification method and system for an unstructured design file and a three-dimensional model, and the method comprises the steps: extracting two-dimensional data information from the unstructured design file based on a character extraction analysis technology; forming a design key parameter library which has the same data type identifier as the three-dimensional model database in which the three-dimensional model data is stored, and matching and extracting the to-be-verified data and the three-dimensional model data according to the data type identifier in the design key parameter library based on a preset query condition or a filtering rule; compared with a verification method, the verification method provided by the invention has the advantages that the workload of manual verification is reduced, the verification time is saved, and the verification method is more efficient and accurate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of smart grid construction, and in particular to a verification method and system for unstructured design files and three-dimensional models. Background Art

[0002] At present, GIM technology is widely used. Relying on geographic information systems, this technology digitizes the components of the power grid, uses information models as carriers, integrates the information of each element throughout its life cycle, and realizes efficient, accurate, and comprehensive application of information. At the same time, in order to meet the needs of data transmission and sharing in the planning, design, construction, operation and maintenance of power transmission and transformation projects, based on GIM technology, the design guidelines and modeling standards for power transmission and transformation of power grids are currently completed, and the interaction specifications for three-dimensional design models are formed, which builds the superstructure at the state grid level for three-dimensional collaborative design and interaction with professional design software.

[0003] At present, the digital handover verification work is mainly based on the compliance check (consistency check) of the GIM model. For two-dimensional unstructured file data, such as the design information of the main equipment material list, the consistency check with the three-dimensional model information still relies on manual work, especially in the two-dimensional and three-dimensional proofreading of equipment attribute information. Due to the numerous equipment attributes and the complex information storage structure, it often takes a lot of time for the verification personnel to work. When verifying the data accuracy of the three-dimensional model, the required information usually includes a large amount of engineering attribute information such as entity data, configuration information and operation records. On the one hand, this information is often recorded in a mixed manner. For example, engineering attribute data (such as maintenance logs and operation records) contains rich text and free-format descriptions, so most engineering attributes are unstructured data. This information is mixed in a table, which is an unstructured table. In an unstructured table, a cell may contain multiple types of data such as text and numbers, and there is no unified data type definition. Therefore, it is impossible to extract the content using the conventional table content extraction method. On the other hand, some information is often collected and recorded in various forms by different operators, so there is a lack of unified format or standard, resulting in the unstructured characteristics of the generated tabular data. For example, the way of recording test results may vary. Some records may be simply marked as "good", while other records may contain more detailed descriptive language. For example, the time when the substation needs maintenance next time may be a complete date (such as 2023-12-21), some may be abbreviated (such as 23.12.21), and even different formats may appear (such as December 21, 2023, 23 / 12 / 21). Therefore, the existing method of manually checking one by one will consume a lot of manpower and material resources. The current non-manual verification is mainly to generate hash values ​​for files or data to verify that the integrity of the data has not been tampered with during transmission or storage. Although data integrity problems can be detected, the specific location or type of the error is not provided, and it can only tell whether the data has been tampered with. It cannot be applied to digital handover verification work at present. Summary of the invention

[0004] In order to solve the problems existing in the prior art, the present invention proposes a verification method and system for unstructured design files and three-dimensional models.

[0005] The technical solution of the present invention is as follows:

[0006] A verification method for an unstructured design file and a three-dimensional model, wherein three-dimensional model data corresponding to the three-dimensional model is stored in a three-dimensional model database, the method comprising:

[0007] Extracting two-dimensional data information from the unstructured design file to form a design key parameter library with the same data type identifier as the three-dimensional model database; wherein, for the structured data in the unstructured design file, extracting the two-dimensional data information by calling the corresponding interface of the POI; for the unstructured data in the unstructured design file, extracting the two-dimensional data information by machine learning or deep learning methods;

[0008] The data to be verified are extracted from the design key parameter library according to preset query conditions or filtering rules, the corresponding three-dimensional model data in the three-dimensional model database are matched and extracted according to the data type identifier of the data to be verified, and the data to be verified are verified.

[0009] Furthermore, the structured data includes equipment model, equipment specifications, equipment quantity, equipment maintenance cycle, equipment energy consumption, and connection status; the unstructured data includes ground wire model, maximum safety factor of ground wire, equipment installation precautions, equipment maintenance guide, performance log, and equipment failure analysis report.

[0010] Furthermore, the specific method for acquiring the two-dimensional data information of the structured data in the unstructured design file by calling the corresponding interface of the POI includes:

[0011] Use the Workbook class in POI to read structured data in unstructured design files;

[0012] Get the worksheet object in the unstructured design file data by calling the getSheet method;

[0013] By calling the getCell method, the cell object of the worksheet object is obtained, and then the corresponding data is parsed according to the type of the cell object; the types of the cell objects include numbers, texts, and formulas; for the data parsed from the number type cell object, its value is directly obtained; for the data parsed from the text type cell object, its string content is obtained; for the data parsed from the formula type cell object, the result is calculated by calling the eval method.

[0014] Furthermore, the specific method of extracting two-dimensional data information from unstructured data by deep learning method includes:

[0015] Use the Workbook class or OCR technology in the POI library to read the text content corresponding to the unstructured data in the unstructured design file; the unstructured data includes table data, scan data and image data;

[0016] Preprocess the read text content;

[0017] Then, the trained NLP model is used to encode and analyze the preprocessed text content, extract text features, and identify keywords or key phrases in the preprocessed text content based on the extracted text features.

[0018] Furthermore, the specific method for extracting two-dimensional data information from unstructured data through machine learning includes:

[0019] Use the Workbook class or OCR technology in the POI library to read the text content corresponding to the unstructured data in the unstructured design file; the unstructured data includes table data, scan data and image data;

[0020] Preprocess the read text content;

[0021] Use TF-IDF or bag-of-words model to extract text features from preprocessed text content;

[0022] Using support vector machines, keywords or key phrases are identified from these extracted text features.

[0023] Furthermore, after the two-dimensional data information is extracted, data enhancement is performed on the extracted two-dimensional data information. The specific method of data enhancement includes: performing data enhancement by data cleaning, conversion, and aggregation in Java.

[0024] Furthermore, the data cleaning is processed in the following manner: duplicate entries in the data are checked and deleted, and then whether there is missing data is found. If so, the missing data can be filled in by filling default values, using averages, etc., and the rationality and validity of the data will be checked, and the obviously illogical or erroneous data will be deleted or corrected;

[0025] The data conversion is processed as follows: normalizing and standardizing the data, converting different measurement units into standard units by unifying the dimensions, thereby normalizing the data into a common range;

[0026] The data aggregation is processed as follows: through aggregation operation, multiple data are combined for statistical analysis.

[0027] A verification system for unstructured design files and three-dimensional models, wherein three-dimensional model data corresponding to the three-dimensional model is stored in a three-dimensional model database, and the system includes a two-dimensional data information extraction module and a verification module;

[0028] The two-dimensional data information extraction module is used to extract the two-dimensional data information from the unstructured design file to form a design key parameter library with the same data type identification as the three-dimensional model database; wherein, for the structured data in the unstructured design file, the two-dimensional data information is extracted by calling the POI corresponding interface; for the unstructured data in the unstructured design file, the two-dimensional data information is extracted by machine learning or deep learning methods;

[0029] The verification module is used to extract the data to be verified from the design key parameter library according to preset query conditions or filtering rules, match and extract the corresponding three-dimensional model data in the three-dimensional model database according to the data type identifier of the data to be verified, and verify the data to be verified.

[0030] An electronic device comprises a memory and a processor, wherein the memory stores a computer program, and the processor is used to call and run the computer program stored in the memory to execute any of the methods described above.

[0031] A computer-readable storage medium stores a computer program, wherein the computer program implements the steps of any of the above methods when executed by a processor.

[0032] Compared with the prior art, the present invention has the following beneficial effects:

[0033] The present invention proposes a verification method and system for unstructured design files and three-dimensional models. The method extracts two-dimensional data information from unstructured design files based on text extraction and analysis technology, and forms a design key parameter library with the same data type identifier as a three-dimensional model database storing three-dimensional model data. Based on preset query conditions or filtering rules, the data to be verified and the three-dimensional model data are matched and extracted according to the data type identifier in the design key parameter library, thereby verifying the data to be verified. Compared with the verification method, the verification method of the present invention reduces the proofreading workload, saves proofreading time, and is more efficient and accurate.

[0034] The verification method of the present invention adopts a separate processing method for extracting structured data and unstructured data from unstructured design files, wherein for structured data (entity data, such as equipment models, specifications, etc.), two-dimensional data information is extracted by calling the corresponding interface of POI, and for unstructured data (engineering attribute data, such as maintenance logs, operation records, etc.), two-dimensional data information is extracted by machine learning or deep learning methods; based on the above-mentioned separate processing, the method of the present invention can accurately locate data items, effectively manage data, and improve the accuracy of automated verification. At the same time, the design of the above-mentioned association mapping comparison can solve the problem of difficulty in comparing two-dimensional data information with three-dimensional data information. Compared with manual query mapping item by item, the present invention satisfies the requirements of both speed and accuracy for the extraction of two-dimensional data information, thereby improving the verification efficiency.

[0035] The verification method in the verification method of the present invention forms a design key parameter library that stores two-dimensional data information, thereby facilitating the technical personnel to update and maintain the three-dimensional model data in the later stage, and can assist the technical personnel to quickly check and rectify the data.

[0036] The verification method of the present invention improves the quality of digital three-dimensional design results, promotes the application of digital technology in the engineering design stage, improves the level of digital design, promotes the intelligence of construction business, occupies core technical advantages, has a positive impact on reducing management and economic costs, and has high economic, social and safety benefits. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 Schematic diagram of the flow of the verification method for unstructured design files and three-dimensional models in the embodiment. DETAILED DESCRIPTION

[0038] Embodiment 1:

[0039] The present invention provides a verification method for unstructured design files and three-dimensional models, wherein the corresponding three-dimensional model data is stored in a three-dimensional model database, and the unstructured design files are generally Excel or other spreadsheet files, and may also be other design files.

[0040] like Figure 1 As shown, the verification method of the present invention includes:

[0041] S1. Locate the data type identifier of the three-dimensional model data in the three-dimensional model database at the corresponding position of the unstructured file, and divide the unstructured file data at different positions into structured data and unstructured data;

[0042] S2. Extract two-dimensional data information from unstructured design files to form a design key parameter library with the same data type identification as the three-dimensional model database; wherein, for structured data in the unstructured design files, extract two-dimensional data information by calling the corresponding interface of the POI; for unstructured data in the unstructured design files, extract two-dimensional data information by machine learning or deep learning methods; the three-dimensional model in the present invention may be an existing three-dimensional model, or it may be a three-dimensional model obtained by extracting data from the design files according to the extraction method recorded in S2 and constructing based on the extracted data.

[0043] S3. Extract the data to be verified from the design key parameter library according to the preset query conditions or filtering rules, match and extract the corresponding three-dimensional model data in the three-dimensional model database according to the data type identifier of the data to be verified, and perform consistency verification on the data to be verified.

[0044] Furthermore, the following method can be used for consistency verification:

[0045] If the data to be verified is consistent with the extracted three-dimensional model data, the verification is completed; otherwise, the three-dimensional model data is updated using the data to be verified to complete the verification update.

[0046] Embodiment 2:

[0047] This embodiment is further designed on the basis of the first embodiment. In this embodiment, the structured data includes equipment model, equipment specifications, equipment quantity, equipment maintenance cycle, equipment energy consumption, and connection status (connection status includes normal, waiting for maintenance, and damaged); the unstructured data includes ground wire model, maximum safety factor of ground wire, equipment installation precautions, equipment maintenance guide, performance log, and equipment failure analysis report.

[0048] Embodiment three:

[0049] This embodiment is further designed on the basis of the first embodiment. In this embodiment, for the structured data in the unstructured design file, the specific method of acquiring the two-dimensional data information by calling the corresponding interface of the POI includes:

[0050] Use the Workbook class in POI to read structured data in unstructured design files;

[0051] Get the worksheet object in the unstructured design file data by calling the getSheet method;

[0052] By calling the getCell method, obtain the cell object of the worksheet object, and then parse the corresponding data according to the type of the cell object; the types of cell objects include numbers, texts, and formulas; for the data parsed from the cell object of the number type, directly obtain its numerical value; for the data parsed from the cell object of the text type, obtain its string content; for the data parsed from the cell object of the formula type, calculate the result by calling the eval method.

[0053] Example 4:

[0054] This example is further designed based on Example 1. In this example, for unstructured data, the specific method for extracting two-dimensional data information through deep learning methods includes:

[0055] Use the Workbook class in the POI library or OCR technology (Optical Character Recognition) to read the text content corresponding to the unstructured data in the unstructured design file; unstructured data includes tabular data, scanned data, and image data; for tabular data, use POI to read the text content; for scanned data and image data, use OCR technology to convert the text content.

[0056] Preprocess the read text content; the preprocessing includes removing stop words (words such as "ba", "a", etc. that do not have key information), standardization processing (unifying formats, such as unifying case, unifying time formats, etc.), and word segmentation.

[0057] Then use the trained NLP model to encode and analyze the preprocessed text content, extract text features, and identify keywords or key phrases in the preprocessed text content according to the extracted text features. Such as "ground leveling", "waterproof treatment", "inspect once every 6 months", "winter anti-freeze", etc. These information are stored in the key parameter database for subsequent processing.

[0058] Example 5:

[0059] This example is further designed based on Example 1. In this example, for unstructured data, the specific method for extracting two-dimensional data information through machine learning methods includes:

[0060] Use the Workbook class in the POI library or OCR technology (Optical Character Recognition) to read the text content corresponding to the unstructured data in the unstructured design file; the unstructured data includes tabular data, scanned data, and image data; for tabular data, use POI to read the text content; for scanned data and image data, use OCR technology to convert the text content.

[0061] Preprocess the read text content; the preprocessing includes removing stop words (words such as "bar", "ah", "of", etc. that do not carry key information), standardization processing (unifying formats, such as unifying case, unifying time formats, etc.), and word segmentation.

[0062] Use TF-IDF or the bag-of-words model, etc., to extract the text features of the preprocessed text content (such as the text features of "Installation Precautions" and "Maintenance Guide"). Use a support vector machine to identify keywords or key phrases from these extracted text features.

[0063] Example Six:

[0064] This example is further designed based on Example One. In this example, after extracting two-dimensional data information, data augmentation is also performed on the extracted two-dimensional data information. The specific methods of data augmentation include: using data cleaning, transformation, and aggregation in Java for data augmentation.

[0065] Example Seven:

[0066] This example is further designed based on Example Six. In this example, data cleaning is processed as follows:

[0067] Check for duplicate entries in the data and delete them, then check for missing data. If there is missing data, it can be filled with default values, the average value, etc. And the rationality and validity of the data will be checked. Obvious illogical or incorrect data will be deleted or corrected;

[0068] Data transformation is processed as follows:

[0069] Normalize and standardize the data. By unifying the dimension, convert different measurement units to standard units, so as to standardize the data into a common range;

[0070] Data aggregation is processed as follows:

[0071] Through aggregation operations, combine multiple data to perform statistical analysis.

[0072] Example Eight:

[0073] The present invention provides a verification system for unstructured design files and three-dimensional models, wherein three-dimensional model data corresponding to the three-dimensional model is stored in a three-dimensional model database, and the system includes a two-dimensional data information extraction module and a verification module;

[0074] Locate the data type identifier of the 3D model data in the 3D model database at the corresponding position of the unstructured file, and divide the unstructured file data at different positions into structured data and unstructured data;

[0075] A two-dimensional data information extraction module is used to extract two-dimensional data information from unstructured design files to form a design key parameter library with the same data type identification as the three-dimensional model database; for structured data in unstructured design files, two-dimensional data information is extracted by calling the corresponding interface of POI; for unstructured data in unstructured design files, two-dimensional data information is extracted by machine learning or deep learning methods;

[0076] The verification module is used to extract the data to be verified from the design key parameter library according to the preset query conditions or filtering rules, match and extract the corresponding three-dimensional model data in the three-dimensional model database according to the data type identifier of the data to be verified, and perform consistency verification on the data to be verified.

[0077] Furthermore, the following method can be used for consistency verification:

[0078] If the data to be verified is consistent with the extracted three-dimensional model data, the verification is completed; otherwise, the three-dimensional model data is updated using the data to be verified to complete the verification update.

[0079] Embodiment nine:

[0080] An electronic device of the present invention includes a memory and a processor. The memory stores a computer program. The processor is used to call and run the computer program stored in the memory to execute the method described in any of the above embodiments.

[0081] A computer-readable storage medium of the present invention stores a computer program, and when the computer program is executed by a processor, the steps of the method described in any of the above embodiments are implemented.

[0082] Application examples:

[0083] This example implements the verification method of the present invention on an unstructured design file and a three-dimensional model simulation. The unstructured design file is an Excel spreadsheet, which contains both entity data and engineering attribute content. In order to effectively process these mixed structured and unstructured data, this example will adopt a combination of POI and machine learning or deep learning, using POI to obtain structured data and using machine learning or deep learning to obtain unstructured data.

[0084] First, the required data items will be listed according to the needs of the current 3D model to be proofread (or the 3D model to be updated). According to these data items, the corresponding positions in the table can be located (such as the material type in the second column of the table, the equipment model in the third column, and the installation instructions in the remaining columns or specified areas (such as columns 8-12). This example predefines which rows or columns in the table cannot be changed (operators need to fill in the specified format or expression). The contents recorded in these pre-defined tables are structured data. The corresponding cells can be located first by calling the corresponding POI interface, and then the contents in the cells can be parsed according to the format of the cells to obtain the required information. The Apache POI Java library is used to process these Microsoft Office format files, including Excel. The POI library provides a variety of APIs to facilitate the operation of cells, rows, and columns in Excel files. By using the POI library, you can read the contents of Excel files, parse the required information according to the cell type (such as numbers, text, or formulas), and store it in a structured Java object. Use the Workbook class in the POI library to read the data in the Excel file. By calling the getSheet method of Workbook, you can get the worksheet object; by calling the getCell method, you can get the cell object, and according to the cell type (numbers, text, formulas, etc.), you can parse the corresponding data. For numeric data, you can directly get its value; for text data, you can get its string content; for formula data, you can calculate the result by calling the eval method. According to business needs, you can extract the required data from the Excel file. For example, you can extract data from a specific column or row, or extract data that meets specific conditions (such as extracting all text types). The API provided by the POI library can be used to extract and filter data. The following takes some tables (see Table 1) as an example to further illustrate the above steps.

[0085] Table 1

[0086]

[0087] Table 1 contains a detailed list of substation equipment, including both structured entity data (such as equipment model, specifications, quantity, etc.) and unstructured engineering attribute data (such as descriptions of installation precautions and maintenance guides for equipment). First, use the Workbook and getSheet objects of Apache POI to load the Excel file and locate the worksheet containing the data. Then, traverse each row and use the Row and Cell objects to read the data in columns such as "equipment model", "quantity", and "specifications", and store this data in an appropriate data structure, such as a key parameter database, for subsequent processing and analysis.

[0088] For the remaining rows or columns in the table that involve unstructured data, use machine learning or deep learning methods to process. For example, NLP (such as NLP models like BERT\Transformer, etc.) can be used to analyze those free-text columns to extract valuable information and obtain results. In this process, first, use POI or OCR (Optical Character Recognition, note: this technology can also be used in the above structured data extraction process) technology to extract the original content of the required unstructured data from the table, such as the content in the "installation precautions" and "maintenance guide" columns, which are unstructured. Specifically, for spreadsheets, POI can be used to directly read the relevant text content. For tables presented in scanned or image form, OCR can be used to convert the content from an image to text to achieve text content reading. First, preprocess the extracted text, including removing stop words (words like "ba", "a", "de", etc. that do not carry key information), standardization (unifying formats, such as unifying case, unifying time formats, etc.), and word segmentation. Then, use the trained NLP model. The model encodes and analyzes the preprocessed text, extracts text features, and identifies keywords or phrases in the preprocessed text based on the extracted text features, such as "ground leveling", "waterproof treatment", "check every 6 months", "winter antifreeze", etc. These information are stored in the key parameter database for subsequent processing.

[0089] In addition, more advanced text classification and recognition techniques can also be used to classify the text. For example, use the RoBERTa model to process the information in "installation precautions" and "maintenance guide" after being read by POI, OCR and preprocessed, to complete the classification of the text. For example, the content in the maintenance guide can be classified as "routine inspection", "emergency maintenance", or "performance optimization", etc., and these contents can also be stored in the key parameter database.

[0090] In addition, machine learning can also be used to extract key information of engineering properties. For example, after preprocessing the unstructured information in the above manner, the text features of this information (such as "Installation Notes" and "Maintenance Guide") are extracted using traditional feature extraction methods such as TF-IDF or bag-of-words models. Then, the support vector machine is used to identify the key information in the text from the extracted text features. This key information is stored in the key parameter database for subsequent updating or correction of the three-dimensional model. The key parameter database is usually a relational database. Through concurrency control, multiple users can access it at the same time, and SQL can be used to quickly retrieve data.

[0091] The physical data and engineering attribute information of the equipment extracted above can be further processed to ensure the reliability of data quality and enhance the usability of data. For example, data processing and analysis techniques in Java, such as data cleaning, conversion, aggregation, etc., can be used. Finally, visualization techniques such as charts, interactive dashboards, and heat maps can be used to selectively display these contents in the form of charts, reports, etc., so as to better understand and analyze the data.

[0092] Among them, data cleaning can be processed as follows: for the same device, first check the duplicate entries in the data and delete them, then find out whether there is any missing data. If so, fill in the missing data by filling in default values, using averages, etc., and check the rationality and validity of the data. For obviously illogical or erroneous data, delete or correct it. In addition, standardized format processing can also be performed to ensure the consistency and comparability of the data. For example, some numbers are floating point types, and some are integer types, and the format will be unified.

[0093] Data conversion can be handled as follows: Normalization and standardization of data can be carried out by converting different measurement units into standard units by unifying the dimensions, thereby normalizing the data into a common range.

[0094] Data aggregation can be processed as follows: for multiple data of the same type of the same equipment (such as transformer energy consumption), multiple data can be combined for statistical analysis through aggregation operations. For example, in January, the transformer energy consumption of region A is 100, the transformer energy consumption of region B is 50, and the transformer energy consumption of region C is 70. Through aggregation operations, such as summing, the energy consumption of the transformers in the three regions is added together to obtain the total energy consumption in January.

[0095] Furthermore, for each type of extracted data, it is determined whether it is an engineering attribute or entity data based on the data type, so that when the data is stored in the key parameter database, it is marked with a unique identifier, such as entity data is marked as entityId and engineering attributes are marked as nodeId.

[0096] Through the above methods, the extraction of unstructured data can be realized. In practical applications, unstructured data usually consists of data such as ground wire model and maximum safety factor of ground wire.

[0097] In order to realize the verification and update process of the two-dimensional unstructured data and the three-dimensional model data, the following process is adopted:

[0098] Regularly extract the data of the equipment to be analyzed from the key parameter database according to the predefined query conditions or filtering rules, and determine whether it is entity data or engineering attributes based on the data identifier, so as to find the corresponding data in the 3D model database according to this unique identifier and determine whether the two are consistent. If the two are consistent, it means that the 3D model is correct and does not need to be modified. If not, it is necessary to use the 2D data to update the 3D data to keep the 3D model in the latest state and ensure that the model reflects the latest physical entity and state.

Claims

1. A verification method for an unstructured design file and a three-dimensional model, wherein the three-dimensional model data corresponding to the three-dimensional model is stored in a three-dimensional model database, characterized in that: The method includes: Extracting two-dimensional data information from the unstructured design file to form a design key parameter library with the same data type identifier as the three-dimensional model database; wherein, for the structured data in the unstructured design file, extracting the two-dimensional data information by calling the corresponding interface of the POI; for the unstructured data in the unstructured design file, extracting the two-dimensional data information by machine learning or deep learning methods; The data to be verified are extracted from the design key parameter library according to preset query conditions or filtering rules, the corresponding three-dimensional model data in the three-dimensional model database are matched and extracted according to the data type identifier of the data to be verified, and the data to be verified are verified.

2. The verification method for unstructured design files and three-dimensional models according to claim 1, characterized in that: The structured data includes equipment model, equipment specifications, equipment quantity, equipment maintenance cycle, equipment energy consumption, and connection status; the unstructured data includes ground wire model, maximum safety factor of ground wire, equipment installation precautions, equipment maintenance guide, performance log, and equipment failure analysis report.

3. The verification method for unstructured design files and three-dimensional models according to claim 1, characterized in that: The specific method for acquiring the two-dimensional data information of the structured data in the unstructured design file by calling the corresponding interface of the POI includes: Use the Workbook class in POI to read structured data in unstructured design files; Get the worksheet object in the unstructured design file data by calling the getSheet method; By calling the getCell method, the cell object of the worksheet object is obtained, and then the corresponding data is parsed according to the type of the cell object; the types of the cell objects include numbers, texts, and formulas; for the data parsed from the number type cell object, its value is directly obtained; for the data parsed from the text type cell object, its string content is obtained; for the data parsed from the formula type cell object, the result is calculated by calling the eval method.

4. The verification method for unstructured design files and three-dimensional models according to claim 1, characterized in that: The specific method for extracting two-dimensional data information from unstructured data by deep learning method includes: Use the Workbook class or OCR technology in the POI library to read the text content corresponding to the unstructured data in the unstructured design file; the unstructured data includes table data, scan data and image data; Preprocess the read text content; Then, the trained NLP model is used to encode and analyze the preprocessed text content, extract text features, and identify keywords or key phrases in the preprocessed text content based on the extracted text features.

5. The verification method for unstructured design files and three-dimensional models according to claim 1, characterized in that: The specific method for extracting two-dimensional data information from unstructured data through machine learning includes: Use the Workbook class or OCR technology in the POI library to read the text content corresponding to the unstructured data in the unstructured design file; the unstructured data includes table data, scan data and image data; Preprocess the read text content; Use TF-IDF or bag-of-words model to extract text features from preprocessed text content; Using support vector machines, keywords or key phrases are identified from these extracted text features.

6. The verification method for unstructured design files and three-dimensional models according to claim 1, characterized in that: After the two-dimensional data information is extracted, data enhancement is performed on the extracted two-dimensional data information. The specific method of data enhancement includes: performing data enhancement by using data cleaning, conversion, and aggregation in Java.

7. The verification method for unstructured design files and three-dimensional models according to claim 6, characterized in that: The data cleaning is processed as follows: check and delete duplicate entries in the data, then find out whether there is missing data. If so, fill in the missing data by filling in default values, using averages, etc., and check the rationality and validity of the data. The obviously illogical or erroneous data will be deleted or corrected; The data conversion is processed as follows: normalizing and standardizing the data, converting different measurement units into standard units by unifying the dimensions, thereby normalizing the data into a common range; The data aggregation is processed as follows: through aggregation operation, multiple data are combined for statistical analysis.

8. A verification system for unstructured design files and three-dimensional models, wherein three-dimensional model data corresponding to the three-dimensional model is stored in a three-dimensional model database, characterized in that: The system includes a two-dimensional data information extraction module and a verification module; The two-dimensional data information extraction module is used to extract the two-dimensional data information from the unstructured design file to form a design key parameter library with the same data type identification as the three-dimensional model database; wherein, for the structured data in the unstructured design file, the two-dimensional data information is extracted by calling the POI corresponding interface; for the unstructured data in the unstructured design file, the two-dimensional data information is extracted by machine learning or deep learning methods; The verification module is used to extract the data to be verified from the design key parameter library according to preset query conditions or filtering rules, match and extract the corresponding three-dimensional model data in the three-dimensional model database according to the data type identifier of the data to be verified, and verify the data to be verified.

9. An electronic device, characterized in that: The electronic device comprises a memory and a processor, wherein the memory stores a computer program, and the processor is configured to call and run the computer program stored in the memory to execute the method according to any one of claims 1 to 7.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method as claimed in any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Data consistency verifying method and system based on pattern model design

    CN103034549A

  • IFC-based data interaction method and corresponding Web-BIM engineering information integration management system

    CN105912651A

  • 3D modeling method, module and electronic device for cable lead-down device of overhead transmission line

    CN109284552A

  • Project completion settlement auditing method and related device

    CN116775741A

  • Keyword extraction method for unstructured text

    CN117829143A

Cited By

  • Automatic and interactive acceptance system, method and equipment for three-dimensional scene and storage medium

    CN121236254A