A method and device for parsing and isolating a nuclear power CAD flowchart

CN122530341APending Publication Date: 2026-08-07JIANGSU NUCLEAR POWER CORP
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
JIANGSU NUCLEAR POWER CORP
Filing Date
2026-04-15
Publication Date
2026-08-07

AI Technical Summary

Technical Problem

[0003]本发明的目的在于提供一种核电CAD流程图的解析隔离方法及装置,解决现有技术中对CAD流程图文件进行标识效率较低的技术问题

Benefits of technology

本发明用于解决核电运行领域大修过程中,手工标绘传统DWG格式、PDF格式流程图效率低的问题。首先对原始CAD流程图进行翻译解析,将传统流程图CAD文件自动解析成结构化数据,生成图例库和流程图纸库。解决传统DWG或PDF格式流程图无法与业务系统进行数据贯通的问题。然后根据设备工作类型表格,自动解析系统流程图上对应设备工作点进行不同工作类型的标识,生成工作点图,解决手工对传统流程图文件进行标识效率低的问题。最后,基于工作点图,结合主隔离指令文件自动生成隔离边界形成主隔离相关图纸,解决手工对传统流程图文件进行标识效率低的问题。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122530341A_ABST
    Figure CN122530341A_ABST
Patent Text Reader

Abstract

The present application belongs to the technical field of nuclear power process diagram isolation identification, and particularly relates to a nuclear power CAD process diagram analysis isolation method and device. Step S1, an original CAD process diagram is acquired and preprocessed, structured data is extracted by analyzing the original CAD process diagram, a structured process diagram is generated, and a standardized legend library and process diagram library are generated in combination with all structured process diagrams; step S2, based on the standardized legend library and process diagram library, in combination with work type point data in a major repair project list, a work point identification diagram is generated; step S3, based on the standardized legend library and the work point identification diagram, main isolation instructions in an imported main isolation instruction file are recognized and extracted, and a main isolation diagram is generated based on the extracted main isolation instructions. The present application solves the technical problem of low identification efficiency of CAD process diagram files in the prior art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of nuclear power plant flowchart isolation labeling technology, specifically relating to a method and apparatus for parsing and isolating nuclear power plant CAD flowcharts. Background Technology

[0002] During major overhauls in nuclear power plant operations, it is necessary to identify the corresponding equipment (i.e., working points) on the CAD flowchart according to the equipment working type table, generating a working point diagram. Then, based on the working point diagram, isolation boundaries are generated in conjunction with the master isolation command file to form the master isolation related drawings. Since CAD flowcharts are usually in traditional DWG or PDF format, they cannot be integrated with existing nuclear power business systems. Therefore, manual annotation of CAD flowcharts is the only option, resulting in low efficiency. Thus, it is necessary to provide a method for parsing and isolating nuclear power CAD flowcharts to solve the problem of low efficiency in manually annotating traditional CAD flowchart files. Summary of the Invention

[0003] The purpose of this invention is to provide a method and apparatus for parsing and isolating nuclear power CAD flowcharts, thereby solving the technical problem of low efficiency in identifying CAD flowchart files in the prior art.

[0004] To achieve the above objectives, the technical solution adopted by the present invention is as follows: A method for analytical isolation of nuclear power plant CAD flowcharts includes the following steps: Step S1: Obtain the original CAD flowchart and preprocess it. Parse and extract structured data from the original CAD flowchart to generate structured flowcharts. Combine all structured flowcharts to generate a standardized legend library and flowchart library. Step S2: Based on the standardized legend library and flowchart library, and combined with the work type point data in the overhaul project list, generate a work point identification map; Step S3: Based on the standardized legend library and working point identification map, identify and extract the main isolation instructions from the imported main isolation instruction file, and generate the main isolation map based on the extracted main isolation instructions.

[0005] Step S1 specifically involves: obtaining the original CAD flowchart and preprocessing it to obtain the preprocessed CAD flowchart; parsing and extracting the CAD elements corresponding to different objects in the CAD flowchart as structured data; converting the extracted CAD elements into flowchart objects; assembling the flowchart objects based on nuclear power plant business to generate structured flowcharts; extracting common legends according to the type of each structured flowchart for management, forming a standardized legend library and flowchart library.

[0006] The specific steps of obtaining and preprocessing the original CAD flowchart in step S1 are as follows: obtaining the original CAD flowchart, constructing the device blocks corresponding to each device in the original CAD flowchart, copying the device block legend for the case where one device block corresponds to multiple KKS codes, with each device block legend corresponding to one KKS code; for device blocks with abbreviated KKS codes, completing the corresponding KKS codes; and naming the jump characters in the device blocks according to the marking specifications.

[0007] The step S1 of extracting CAD elements corresponding to different objects in the CAD flowchart as structured data specifically involves: objects including blocks and lines; extracting the CAD elements of each object and their size and position information; performing rule matching and cross calculation on blocks and lines; further parsing the information of device blocks, jump characters, cross lines, non-cross lines, and cross black origins in the CAD flowchart; and persistently saving the parsed data in JSON format to the database as structured data.

[0008] In step S1, converting CAD elements into flowchart objects specifically involves: loading the parsed data information of the original CAD flowchart, generating corresponding SVG vector legends based on the parsed data information, converting them into instantiated legends based on block object information, converting them into pipeline legends based on line object information, recording the connection relationship between pipeline legends and instantiated legends, the connection relationship between pipeline objects, and converting SVG vector legends into structured object data.

[0009] Step S1 further includes: determining whether the original CAD flowchart has been completely parsed. If not, the information of the incompletely parsed objects and topological relationships is completed through the visual completion interface, and the completed objects and topological relationships are pushed to the configuration module.

[0010] Step S1 further includes: uploading the original CAD flowchart using a single file or multiple file compression method; performing format verification and duplicate upload verification on the uploaded original CAD flowchart; if the format verification fails, overwriting and updating is performed; if the duplicate upload verification fails, the duplicate upload is ignored; if all verifications pass, the uploaded file is marked as pending parsing.

[0011] Step S2 specifically involves: importing the overhaul project list through a visual interface, extracting work point data from the overhaul project list, the work point data including work type and equipment KKS identification code; performing work point association matching based on the work point data and the flowchart data in the standardized flowchart library, and generating a work point diagram based on the successfully matched flowchart and work point data.

[0012] Step S2 further includes: visualizing the work point map, modifying the work point identification and information on the work point map; generating a work point map based on the modified work points, and exporting the work point map and work point list in a selected manner; and marking different work point maps with different colors according to the work type.

[0013] Step S3 specifically involves: importing the main isolation instruction file, extracting the sections related to the isolation scheme from the main isolation instruction file, extracting the isolation scheme name and description based on the extracted sections, and extracting the isolation instruction content based on the isolation scheme description; generating isolation boundaries by combining the isolation instruction content with the structured flowchart, and forming a structured main isolation instruction based on the isolation boundaries; associating and matching the KKS in the main isolation instruction with the legendary devices in the structured flowchart, identifying isolation in different ways based on the isolation operation type, and generating the main isolation diagram.

[0014] Step S3 further includes: managing and modifying the main isolation diagram, and interfacing with external third-party systems through main isolation command data; visualizing the main isolation diagram, and representing interconnected main isolations with the same color.

[0015] A device for parsing and isolating nuclear power CAD flowcharts includes a memory and a processor. The memory stores a computer program, and when the computer program is executed by the processor, it implements a method for parsing and isolating nuclear power CAD flowcharts.

[0016] The beneficial effects achieved by this invention are as follows: This invention addresses the inefficiency of manually drawing traditional DWG and PDF flowcharts during major overhauls in nuclear power plant operations. First, it translates and parses the original CAD flowchart, automatically converting the traditional flowchart CAD file into structured data and generating a legend library and a flowchart drawing library. This solves the problem of traditional DWG or PDF flowcharts being unable to integrate with business systems. Then, based on an equipment operation type table, it automatically identifies the corresponding equipment operation points on the system flowchart according to different operation types, generating an operation point map, thus solving the inefficiency of manually marking traditional flowchart files. Finally, based on the operation point map and the master isolation command file, it automatically generates isolation boundaries to form master isolation-related drawings, solving the inefficiency of manually marking traditional flowchart files. Attached Figure Description

[0017] Figure 1 A flowchart illustrating the isolation method for nuclear power plant CAD processes; Figure 2 A software system architecture diagram for the analytical isolation method of nuclear power CAD flowchart; Figure 3 This is a flowchart of step S1; Figure 4 This is a flowchart of step S2; Figure 5 This is a flowchart of step S3. Detailed Implementation

[0018] The present invention will now be described in detail with reference to the accompanying drawings and specific embodiments.

[0019] A method for analytical isolation of nuclear power plant CAD flowcharts includes the following steps: Step S1: Obtain the original CAD flowchart and preprocess it. Parse and extract structured data from the original CAD flowchart to generate structured flowcharts. Combine all structured flowcharts to generate a standardized legend library and flowchart library. Step S2: Based on the standardized legend library and flowchart library, and combined with the work type point data in the overhaul project list, generate a work point identification map; Step S3: Based on the standardized legend library and the working point identification map, identify and extract the main isolation instructions from the imported main isolation instruction file, and generate the main isolation map based on the extracted main isolation instructions.

[0020] Step S1 specifically involves: obtaining the original CAD flowchart and preprocessing it to obtain the preprocessed CAD flowchart; parsing and extracting the CAD elements corresponding to different objects in the CAD flowchart as the structured data; converting the extracted CAD elements into flowchart objects; assembling the flowchart objects based on the nuclear power plant business to generate a structured flowchart; extracting common legends according to the type of each structured flowchart for management, forming a standardized legend library and flowchart library.

[0021] The specific steps in step S1, including obtaining the original CAD flowchart and performing preprocessing, are as follows: Obtain the original CAD flowchart, construct the device blocks corresponding to each device in the original CAD flowchart, and copy the device block legend for the case where one device block corresponds to multiple KKS codes, with each device block legend corresponding to one KKS code; for device blocks with abbreviated KKS codes, complete the corresponding KKS codes; and name the jump characters in the device blocks according to the marking specifications.

[0022] Extracting the CAD elements corresponding to different objects in a CAD flowchart as structured data specifically involves: The objects include blocks and lines. The CAD elements of each object and their size and position information are extracted. The blocks and lines are subjected to rule matching and cross calculation. The device blocks, jump characters, cross lines, non-cross lines, and cross black origin information in the CAD flowchart are further parsed. The parsed data is persistently saved to the database in JSON format as the structured data.

[0023] Converting the parsed CAD elements into flowchart objects specifically involves: Load the parsed data information of the original CAD flowchart, generate corresponding SVG vector legends based on the parsed data information, convert block object information into instantiated legends, convert line object information into pipeline legends, record the connection relationship between pipeline legends and instantiated legends, and the connection relationship between pipeline objects, and convert the SVG vector legends into structured object data.

[0024] Step S1 further includes: determining whether the original CAD flowchart has been completely parsed. If not, the information of the incompletely parsed objects and topological relationships is completed through a visual completion interface, and the completed objects and topological relationships are pushed to the configuration module.

[0025] Step S1 further includes: the original CAD flowchart is uploaded using a single file or multiple file compression method; the uploaded original CAD flowchart is subjected to format verification and duplicate upload verification; if the format verification fails, it is overwritten and updated; if the duplicate upload verification fails, the duplicate upload is ignored; if all verifications pass, the uploaded file is marked as pending parsing.

[0026] Step S2 specifically involves: importing a major overhaul project list through a visual interface, extracting work point data from the major overhaul project list, the work point data including work type and equipment KKS identification code; performing work point association matching based on the work point data and flowchart data in the standardized flowchart library, and generating a work point diagram based on the successfully matched flowchart and work point data.

[0027] Step S2 further includes: visualizing the work point map, modifying the work point identification and information on the work point map; generating a work point map based on the modified work points, and exporting the work point map and work point list in a selected manner; and marking different work point maps with different colors according to the work type.

[0028] Step S3 specifically involves: importing the main isolation instruction file; extracting the sections related to the isolation scheme from the main isolation instruction file; extracting the isolation scheme name and description based on the extracted sections; extracting the isolation instruction content based on the isolation scheme description; generating isolation boundaries by combining the isolation instruction content with the structured flowchart; forming a structured main isolation instruction based on the isolation boundaries; associating and matching the KKS in the main isolation instruction with the legendary devices in the structured flowchart; identifying isolation using different methods based on the isolation operation type; and generating a main isolation diagram.

[0029] Step S3 further includes managing and modifying the main isolation diagram, interfacing with external third-party systems through main isolation command data, and visualizing the main isolation diagram by representing interconnected main isolations with the same color.

[0030] A device for parsing and isolating nuclear power CAD flowcharts includes a memory and a processor. The memory stores a computer program, which, when executed by the processor, implements any of the above-described methods for parsing and isolating nuclear power CAD flowcharts.

[0031] Example 1: like Figure 1 As shown, a method for parsing and isolating nuclear power plant CAD flowcharts includes the following steps: Step S1: Obtain the original CAD flowchart and preprocess it. Parse and extract structured data from the original CAD flowchart to generate structured flowcharts. Combine all structured flowcharts to generate a standardized legend library and flowchart library. Step S2: Based on the standardized legend library and flowchart library, and combined with the work type point data in the overhaul project list, generate a work point identification map; Step S3: Based on the standardized legend library and the working point identification map, identify and extract the main isolation instructions from the imported main isolation instruction file, and generate the main isolation map based on the extracted main isolation instructions.

[0032] This embodiment develops CAD flowchart parsing and isolation application software based on the parsing and isolation method of nuclear power CAD flowcharts. It primarily addresses the inefficiency of manually drawing traditional DWG or PDF format flowcharts during major overhauls in the nuclear power operation field. The software system includes a CAD translation and parsing tool, a work point marking tool, and a main isolation marking tool.

[0033] CAD Translation and Parsing Tool: This tool, also known as the CAD parsing and completion module of the flowchart configuration tool, is primarily responsible for automatically parsing traditional flowchart CAD files into structured data, generating a legend library and a flowchart drawing library. It solves the problem of traditional DWG or PDF format flowcharts being unable to integrate with business systems. It mainly includes six functional modules: CAD file management, task status management, parsing and conversion, legend management, structured drawing management, and integration with the configuration tool.

[0034] Work Point Labeling Tool: One of the runtime labeling tools based on the flowchart paper library and legend library of the configuration tool. It can automatically parse the corresponding equipment (i.e., work points) on the system flowchart according to the equipment work type table, label them with different work types, and generate a work point diagram, solving the problem of low efficiency in manually labeling traditional flowchart files. It mainly includes two functional modules: project list management and work point diagram management.

[0035] Master Isolation Identification Tool: Based on the workpoint drawing and combined with the master isolation instruction file, this tool automatically generates isolation boundaries to form master isolation-related drawings. Like the workpoint identification tool, it is a runtime identification tool, solving the problem of low efficiency in manually identifying traditional flowchart files. It mainly includes three functional modules: master isolation instruction management, master isolation diagram management, and third-party system integration.

[0036] CAD flowchart analysis and isolation application software architecture, as follows Figure 2 As shown, it mainly consists of the application layer, service layer, and resource layer.

[0037] The application layer mainly includes flowchart structure parsing and flowchart isolation. Flowchart structure parsing is primarily used to parse power plant CAD flowchart drawings into structured data. Flowchart isolation is mainly used in isolation scenarios for power plant maintenance and operation, supporting the generation of work point diagrams and master isolation diagrams based on structured flowchart data.

[0038] The service layer primarily consists of CAD parsing and completion tools, workpoint marking tools, and master isolation marking tools. The CAD parsing and completion tools mainly include services such as CAD file management, task status management, parsing and conversion, legend management, structured drawing management, and configuration tool integration. The workpoint marking tools mainly include project list management and workpoint drawing management services. The master isolation marking tool management mainly includes master isolation command management, master isolation drawing management, and third-party system integration services.

[0039] The resource layer mainly includes a structured library of legends, drawings, and files. The file resource library contains uploaded original CAD files, project list Excel files, master isolation command files, and parsed SVG and PDF files, among other file resources.

[0040] The following is a detailed explanation of the data flow relationships between the internal tool modules of the CAD flowchart analysis and isolation application software: After manual marking, the power plant's CAD files are imported into the CAD parsing and completion tool via the CAD file management module. The parsing and conversion module of the CAD parsing and completion tool then parses, extracts, converts, and completes the CAD file content to create standardized and structured legend data and drawing data.

[0041] The work point identification tool is based on the structured drawing legend data generated by the CAD parsing and completion module. After importing the overhaul project list, it automatically generates a work point map based on the work type point data in the list.

[0042] The master isolation identification tool, based on structured drawing legend data and work point diagram data, identifies and extracts master isolation instructions from imported master isolation files, automatically generates master isolation drawings, and manages and modifies these drawings. It also supports integration of master isolation instruction data with external third-party systems.

[0043] The main business processes of the CAD flowchart parsing and isolation application software include the CAD parsing and completion process, the work point identification process, the main isolation identification process, and the external integration and docking process. The following is a detailed description of each process.

[0044] Step S1 specifically involves: obtaining the original CAD flowchart and preprocessing it to obtain the preprocessed CAD flowchart; parsing and extracting the CAD elements corresponding to different objects in the CAD flowchart as the structured data; converting the extracted CAD elements into flowchart objects; assembling the flowchart objects based on the nuclear power plant business to generate a structured flowchart; extracting common legends according to the type of each structured flowchart for management, forming a standardized legend library and flowchart library.

[0045] The CAD parsing and completion process primarily involves identifying and parsing the original CAD files of the power plant to obtain information such as equipment and pipelines. Then, a visual completion interface is provided to refine the equipment and pipeline data, creating standardized and structured legends and drawing data. The specific process is as follows: Figure 3 As shown.

[0046] First, import the labeled DXF format CAD file. Single CAD file uploads and multiple files uploaded as a ZIP archive are supported. After upload, the file will undergo format and duplicate upload checks. Based on the check results, you will be given the option to proceed with the next step: ignore duplicate uploads or overwrite the existing file. Newly uploaded files will be in the "Pending Parsing" status. CAD files that have already been parsed can also be parsed again, allowing for overwriting the parsing process.

[0047] Secondly, when parsing the file, the program identifies the DXF format CAD file and extracts the CAD elements into a structured JSON object.

[0048] Then, using the flowchart target structured data format, the parsed CAD elements are converted into flowchart objects. This involves converting blocks into instantiated legend objects, converting lines into pipeline objects, and recording the connection relationships between pipelines and instantiated objects, as well as between pipelines themselves. Simultaneously, common legends are extracted and managed based on the type of the instantiated legends.

[0049] Finally, a visual interface is provided to enable information completion for instantiated objects and pipelines, as well as the modification and approval of flowchart drawings. Modified and approved drawings can be pushed to the standardized flowchart legend library.

[0050] Throughout the entire lifecycle of CAD parsing and completion, the task management module provides capabilities for parsing, converting, and pushing tasks. It also updates the status of CAD files and CAD parsing screens in real time based on task status.

[0051] In step S1, the original CAD flowchart is obtained and preprocessed, specifically as follows: Obtain the original CAD flowchart, construct the device blocks corresponding to each device in the original CAD flowchart, and copy the device block legend for the case where one device block corresponds to multiple KKS codes, with each device block legend corresponding to one KKS code; for device blocks with abbreviated KKS codes, complete the corresponding KKS codes; and name the jump characters in the device blocks according to the marking specifications.

[0052] Extract the CAD elements corresponding to different objects in the CAD flowchart as structured data, specifically: The objects include blocks and lines. The CAD elements of each object and their size and position information are extracted. The blocks and lines are subjected to rule matching and cross calculation. The device blocks, jump characters, cross lines, non-cross lines, and cross black origin information in the CAD flowchart are further parsed. The parsed data is persistently saved to the database in JSON format as the structured data.

[0053] Convert the parsed CAD elements into flowchart objects, specifically: Load the parsed data information of the original CAD flowchart, generate corresponding SVG vector legends based on the parsed data information, convert block object information into instantiated legends, convert line object information into pipeline legends, record the connection relationship between pipeline legends and instantiated legends, and the connection relationship between pipeline objects, and convert the SVG vector legends into structured object data.

[0054] Step S1 further includes: determining whether the original CAD flowchart has been completely parsed. If not, the information of the incompletely parsed objects and topological relationships is completed through a visual completion interface, and the completed objects and topological relationships are pushed to the configuration module.

[0055] Step S1 further includes: the original CAD flowchart is uploaded using a single file or multiple file compression method; the uploaded original CAD flowchart is subjected to format verification and duplicate upload verification; if the format verification fails, it is overwritten and updated; if the duplicate upload verification fails, the duplicate upload is ignored; if all verifications pass, the uploaded file is marked as pending parsing.

[0056] Step S2 specifically involves: importing a major overhaul project list through a visual interface, extracting work point data from the major overhaul project list, the work point data including work type and equipment KKS identification code; performing work point association matching based on the work point data and flowchart data in the standardized flowchart library, and generating a work point diagram based on the successfully matched flowchart and work point data.

[0057] The work point identification process primarily generates a work point map automatically based on standardized, structured flowcharts using work point data from the project list. Its business process is as follows: Figure 4 As shown.

[0058] First, import the project work list through a visual interface and extract the work point data from the work list, including the work type and equipment KKS identification code. A KKS code is a code that clearly identifies systems, equipment, and components in a power plant based on the function, process, and installation location of the identified object.

[0059] Secondly, based on the extracted work point data and the flowchart data in the standardized drawing library, work point association and matching are performed to generate a work point map, which is identified by blue and yellow colors according to the work type.

[0060] Then, the work point map is visualized, and work point labels and information can be adjusted and modified.

[0061] Finally, a work point drawing is generated based on the adjusted work points, and the work point drawing can be exported in PDF or other formats, and the final work point list can be exported in Excel format.

[0062] Step S2 further includes: visualizing the work point map, modifying the work point identification and information on the work point map; generating a work point map based on the modified work points, and exporting the work point map and work point list in a selected manner; and marking different work point maps with different colors according to the work type.

[0063] Step S3 specifically involves: importing the main isolation instruction file; extracting the sections related to the isolation scheme from the main isolation instruction file; extracting the isolation scheme name and description based on the extracted sections; extracting the isolation instruction content based on the isolation scheme description; generating isolation boundaries by combining the isolation instruction content with the structured flowchart; forming a structured main isolation instruction based on the isolation boundaries; associating and matching the KKS in the main isolation instruction with the legendary devices in the structured flowchart; identifying isolation using different methods based on the isolation operation type; and generating a main isolation diagram.

[0064] The primary isolation identification process automatically generates the primary isolation diagram based on the isolation instructions in the primary isolation instruction file and a structured flowchart. It also supports simultaneous identification of primary isolation and working points to generate a working point primary isolation diagram. Its business process is as follows: Figure 5 As shown.

[0065] First, import the master isolation command file, either a Word file with a fixed format or an Excel file containing the master isolation command, and then extract the master isolation command.

[0066] Secondly, based on the structured flowchart paper, the isolation boundaries are automatically generated to form the main isolation diagram according to the main isolation instructions.

[0067] Then, the main isolation diagram is visualized, and the main isolation relationships are identified (red and green colors). Modification and adjustment of the main isolation identifiers are supported, and the associated main isolation commands are automatically updated when the main isolation identifiers are adjusted.

[0068] Finally, it supports exporting the generated master isolation diagram as a PDF. It also supports exporting updated master isolation commands to external third-party systems.

[0069] Step S3 further includes managing and modifying the main isolation diagram, interfacing with external third-party systems through main isolation command data, and visualizing the main isolation diagram by representing interconnected main isolations with the same color.

[0070] The following section provides a detailed design explanation of the CAD flowchart analysis and the tools included in the isolation application software.

[0071] The CAD parsing and completion tool is designed to automatically parse traditional CAD flowchart files from nuclear power plant overhaul processes into structured data for viewing, completion, and review. This provides standardized, structured flowchart data for core overhaul applications, such as work point identification and main isolation identification. It also addresses the issue of traditional DWG and PDF flowchart files being unable to be integrated with business systems during nuclear power plant overhauls.

[0072] The CAD parsing and completion module is primarily responsible for parsing and converting traditional power plant flowchart files, such as DWG format CAD files, into structured data, thus resolving the issue of traditional flowchart files being incompatible with business system data. The conversion of traditional flowchart files into structured data mainly involves: manually annotating DWG format files and saving them as DXF format; importing and parsing DXF format files; converting DXF file data into structured flowchart data; and completing and pushing the structured data. The specific process design for each sub-step is as follows.

[0073] The manual processing stage primarily addresses issues such as inconsistent formats and meanings in traditional power plant flowcharts. It transforms traditional flowcharts into file content recognizable by the CAD parsing and completion module. First, the original DWG format file from the power plant is opened using common CAD editing software. Then, using shortcuts and other methods, the equipment blocks are specially processed based on differences in the original drawing's content specifications. Finally, the annotated CAD file is saved as a DXF file.

[0074] The DXF parsing process primarily involves recognizing and extracting the content of CAD files in DXF format. First, the manually processed DXF file is imported into the system, where it is recognized. Second, the content is extracted from the DXF file, including but not limited to information such as blocks, connections, sizes, and positions. Then, rule matching and cross-calculation are performed on the extracted blocks and lines. Further parsing reveals information such as device blocks, jump characters, cross lines, non-cross lines, and cross black dots within the original flowchart. Finally, the parsed data is persistently saved to the database in JSON format.

[0075] The data conversion stage primarily transforms the parsed CAD data into structured object data recognizable by flowchart configuration tools. First, it loads the parsed DXF data, including device blocks, jump characters, pipelines (connections), and connection intersections. Then, it generates vector graphics content such as legend SVG, instantiated legend SVG, and pipeline SVG based on the parsed data. Finally, it converts the SVG vector graphics information into structured object data.

[0076] The completion and push phase is primarily responsible for completing the translated CAD flowchart with the target structured data to ensure it conforms to the data format specifications of the flowchart configuration tool; and then pushing the completed flowchart to the flowchart configuration tool. First, the translated CAD flowchart content is loaded and displayed visually, supporting online editing, modification, and completion of the drawings. Then, the completed flowchart undergoes a review process; only approved flowcharts are pushed. If the flowchart has been modified, a new review is required. Finally, the basic information, instantiated legend objects, pipeline topology relationships, and SVG files of the approved drawings are pushed to the flowchart configuration tool.

[0077] The internal data flow relationships within the CAD parsing and completion module are as follows: First, DXF format files are imported into the tool system via the single-file or batch import function of the CAD file management module. Second, the parsing and conversion module is responsible for parsing, identifying, extracting, and converting the CAD content of the DXF format files. During the parsing and conversion process, task status management tracks and updates the status of parsing and conversion tasks and CAD files. Then, the legend management and structured drawing management modules manage the converted legend information and CAD flowchart data, supporting content completion and drawing review operations for flowcharts. Finally, the configuration tool integration module pushes the completed and approved flowchart data to the flowchart configuration tool.

[0078] This work point labeling tool is a runtime labeling tool based on the flowchart paper library and legend library of the configuration tool. It can automatically parse the corresponding equipment (work points) on the system flowchart according to the equipment work type table, label them with different work types, and generate a work point diagram, solving the problem of low efficiency in manually labeling traditional flowchart files. It has capabilities such as importing project lists, associating work points with labels, modifying and adjusting work points, and exporting work point drawing information.

[0079] The work point identification tool can automatically generate work point drawings and export them as PDF files based on the project list file and the translated and completed structured data of the unit drawings. Related processes include, but are not limited to, the automatic work point drawing generation process and the work point identification process.

[0080] The process for automatically generating work point diagrams is as follows: First, the nuclear power plant project work list file is imported into the work point identification tool, and work point data is extracted from the list. Then, structured flowchart data from the flowchart drawing library is loaded, and a matching process is performed using the KKS codes of the instantiated legends contained in the flowchart and the equipment KKS identifier information extracted from the work list. Finally, if the flowchart and work points are successfully matched, a work point diagram is automatically generated based on the current flowchart and work point data.

[0081] The work point identification process is primarily used by users to identify work points on the system's diagram. First, the work point drawing data is loaded and visualized. Second, different identification methods are applied to each work point based on its type: blue for inspection and maintenance, and yellow for dismantling and overhaul. Then, adjustments can be made to the identified work points on the existing diagram, including canceling existing identifications, changing identification types, or creating new identifications. Finally, the modified and adjusted identification data is saved to the database.

[0082] The work point identification tool establishes data flow relationships. The project list management module receives imported project list files and extracts work point data; the work point diagram management module automatically generates work point diagrams based on structured flowchart data in the drawing library and work type point data output by the project list management module, and simultaneously outputs the generated work point drawing files to the file resource library for storage.

[0083] The primary isolation identification tool has the capability to generate a primary isolation database and write to third-party systems. It can generate a primary isolation drawing based on the working point drawing and the primary isolation instruction list. Furthermore, it can modify the primary isolation information on the drawing as needed, forming a primary isolation database, including the primary isolation drawing, the primary isolation drawing with working points, and the primary isolation instructions.

[0084] The primary isolation identification tool automatically generates the primary isolation diagram based on a structured flowchart, using isolation instructions from the primary isolation instruction file. This includes the primary isolation instruction extraction process and the primary isolation diagram generation process.

[0085] The main isolation instruction extraction process is as follows: First, the file containing the isolation scheme is imported into the system, and the system program parses the content segments of the file. Then, the isolation scheme name, description, and isolation instruction content are extracted from the content. Finally, KKS codes are extracted based on the extracted isolation instructions to generate structured main isolation instruction data.

[0086] The main isolation diagram generation process is as follows: First, load the isolation scheme data and retrieve the corresponding main isolation instruction list from the scheme data. Second, load the work point drawing data and match the KKS in the isolation instructions with the legendary devices in the drawings. Then, use different colors to identify the isolation operation type. Finally, generate the main isolation drawing data and the main isolation drawing file, with optional inclusion of a work point diagram.

[0087] The internal data flow of the main isolation identification tool. The main isolation instruction management module receives imported isolation scheme files, outputs main isolation instructions to the third-party system integration module, and outputs isolation scheme data to the main isolation diagram management module. The main isolation diagram management module is also used to output drawing files from the main isolation diagram management module to the file resource library.

[0088] Example 2: A device for parsing and isolating nuclear power plant CAD flowcharts includes a memory and a processor. The memory stores a computer program, which, when executed by the processor, implements the nuclear power plant CAD flowchart parsing and isolation method described in Embodiment 1. The nuclear power plant CAD flowchart parsing and isolation device provided in this embodiment is used to implement the nuclear power plant CAD flowchart parsing and isolation method. Therefore, the device also possesses the technical effects of the nuclear power plant CAD flowchart parsing and isolation method, and will not be elaborated further here.

Claims

1. A method for analytical isolation of nuclear power plant CAD flowcharts, characterized in that: Includes the following steps: Step S1: Obtain the original CAD flowchart and preprocess it. Parse and extract structured data from the original CAD flowchart to generate structured flowcharts. Combine all structured flowcharts to generate a standardized legend library and flowchart library. Step S2: Based on the standardized legend library and flowchart library, and combined with the work type point data in the overhaul project list, generate a work point identification map; Step S3: Based on the standardized legend library and working point identification map, identify and extract the main isolation instructions from the imported main isolation instruction file, and generate the main isolation map based on the extracted main isolation instructions.

2. The analytical isolation method for nuclear power plant CAD flowcharts according to claim 1, characterized in that: Step S1 specifically involves: obtaining the original CAD flowchart and preprocessing it to obtain the preprocessed CAD flowchart; parsing and extracting the CAD elements corresponding to different objects in the CAD flowchart as structured data; converting the extracted CAD elements into flowchart objects; assembling the flowchart objects based on nuclear power plant business to generate structured flowcharts; extracting common legends according to the type of each structured flowchart for management, forming a standardized legend library and flowchart library.

3. The analytical isolation method for nuclear power plant CAD flowcharts according to claim 2, characterized in that: The specific steps of obtaining and preprocessing the original CAD flowchart in step S1 are as follows: obtaining the original CAD flowchart, constructing the device blocks corresponding to each device in the original CAD flowchart, copying the device block legend for the case where one device block corresponds to multiple KKS codes, with each device block legend corresponding to one KKS code; for device blocks with abbreviated KKS codes, completing the corresponding KKS codes; and naming the jump characters in the device blocks according to the marking specifications.

4. The analytical isolation method for nuclear power plant CAD flowcharts according to claim 2, characterized in that: The step S1 of extracting CAD elements corresponding to different objects in the CAD flowchart as structured data specifically involves: objects including blocks and lines; extracting the CAD elements of each object and their size and position information; performing rule matching and cross calculation on blocks and lines; further parsing the information of device blocks, jump characters, cross lines, non-cross lines, and cross black origins in the CAD flowchart; and persistently saving the parsed data in JSON format to the database as structured data.

5. The analytical isolation method for nuclear power plant CAD flowcharts according to claim 2, characterized in that: In step S1, converting CAD elements into flowchart objects specifically involves: loading the parsed data information of the original CAD flowchart, generating corresponding SVG vector legends based on the parsed data information, converting them into instantiated legends based on block object information, converting them into pipeline legends based on line object information, recording the connection relationship between pipeline legends and instantiated legends, the connection relationship between pipeline objects, and converting SVG vector legends into structured object data.

6. The analytical isolation method for nuclear power plant CAD flowcharts according to claim 1, characterized in that: Step S1 further includes: determining whether the original CAD flowchart has been completely parsed. If not, the information of the incompletely parsed objects and topological relationships is completed through the visual completion interface, and the completed objects and topological relationships are pushed to the configuration module.

7. The analytical isolation method for nuclear power plant CAD flowcharts according to claim 1, characterized in that: Step S1 further includes: uploading the original CAD flowchart using a single file or multiple file compression method; performing format verification and duplicate upload verification on the uploaded original CAD flowchart; if the format verification fails, overwriting and updating is performed; if the duplicate upload verification fails, the duplicate upload is ignored; if all verifications pass, the uploaded file is marked as pending parsing.

8. The analytical isolation method for nuclear power plant CAD flowcharts according to claim 1, characterized in that: Step S2 specifically involves: importing the overhaul project list through a visual interface, extracting work point data from the overhaul project list, the work point data including work type and equipment KKS identification code; performing work point association matching based on the work point data and the flowchart data in the standardized flowchart library, and generating a work point diagram based on the successfully matched flowchart and work point data.

9. The analytical isolation method for nuclear power plant CAD flowcharts according to claim 1, characterized in that: Step S2 further includes: visualizing the work point map, modifying the work point identification and information on the work point map; generating a work point map based on the modified work points, and exporting the work point map and work point list in a selected manner; and marking different work point maps with different colors according to the work type.

10. The analytical isolation method for nuclear power plant CAD flowcharts according to claim 1, characterized in that: Step S3 specifically involves: importing the main isolation instruction file, extracting the chapters related to the isolation scheme from the main isolation instruction file, extracting the isolation scheme name and isolation scheme description based on the extracted chapters, and extracting the isolation instruction content based on the isolation scheme description. The isolation boundary is generated by combining the content of the isolation instruction with the structured flowchart, and the structured main isolation instruction is formed based on the isolation boundary; By associating and matching the KKS in the main isolation command with the legendary devices in the structured flowchart, and using different methods to identify isolation based on the type of isolation operation, a main isolation diagram is generated.

11. The analytical isolation method for nuclear power plant CAD flowcharts according to claim 1, characterized in that: Step S3 further includes: managing and modifying the main isolation diagram, and interfacing with external third-party systems through main isolation command data; visualizing the main isolation diagram, and representing interconnected main isolations with the same color.

12. An analytical isolation device for nuclear power plant CAD flowcharts, characterized in that: It includes a memory and a processor. The memory stores a computer program, and when the computer program is executed by the processor, it implements a method for parsing and isolating nuclear power CAD flowcharts.