A visual management method for a large chemical plant process system

CN122595519APending Publication Date: 2026-08-18EAST CHINA ENGINEERING SCIENCE AND TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610633162.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-05-09
Publication Date
2026-08-18

AI Technical Summary

Technical Problem

[0003]针对现有技术的不足,本发明提供了一种大型化工装置工艺系统的可视化管理方法,解决了大型化工装置公用工程管线追溯不准、可视化管理低效的问题

Benefits of technology

(1)本发明构建了标准化的公用工程介质分段编码体系,同时通过坐标重合判定、方向匹配与遮挡检查机制,准确识别管线与设备的有效连接关系,以此构建高可靠性的管网无向邻接表,从根源上保障管线拓扑数据的准确性;

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122595519A_ABST
    Figure CN122595519A_ABST
Patent Text Reader

Abstract

The application discloses a kind of visual management methods of large chemical plant process system, and the application relates to the technical field of digital management of chemical engineering, the application is first screened in digital pipeline instrument flow chart system Pipeline primitive, and the validity of utility medium identifier is checked, to this pipeline code mapping set is constructed;Again, through coordinate coincidence determination, direction matching and occlusion check, the connection relationship of pipeline and equipment is identified, and the pipe network is established without direction adjacency list;After user selects the pipeline connected to the nozzle of equipment, breadth-first traversal is carried out with medium identifier as constraint, and combined with medium consistency check and pipe network level termination rule, node sequence to boundary zone main pipe is generated;Finally, continuous path is formed by splicing coordinates, and semi-transparent highlight track and dynamic gradual change bright spot are generated through vector layer, to realize pipeline path visual display.The application can accurately identify pipe network topology and trace medium path, and improve the visual management efficiency of utility system of chemical plant.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of digital management technology for chemical engineering, specifically a visual management method for a large-scale chemical plant process system. Background Technology

[0002] With the widespread adoption of digital piping and instrumentation technology, the industry's demand for refined and visualized management and accurate traceability of media paths in chemical plant process systems, especially in utility pipeline networks, continues to increase. However, existing visualization management solutions for chemical plant process systems still have the following shortcomings: First, the existing solution does not establish a standardized segmented coding and identification system for utility media, making it impossible to accurately distinguish the main type, phase, and pressure level of the media. Furthermore, it lacks effective constraints during path tracing, which can easily lead to path misjudgment and cross-media crosstalk. Secondly, the identification of existing pipeline topology connections mostly relies on manual presets or simple coordinate coincidence judgments, without considering factors such as drawing errors, primitive occlusion, and interface direction consistency, making it difficult to construct an accurate pipeline network undirected adjacency topology. Third, the existing path tracing lacks a reasonable hierarchical termination mechanism, which easily leads to problems such as overflow of the tracing range and redundant traversal of irrelevant pipelines. At the same time, the visualization presentation method is monotonous and cannot efficiently display the entire path of media transportation. Therefore, there is an urgent need for a visual management method for the process systems of large-scale chemical plants. Summary of the Invention

[0003] To address the shortcomings of existing technologies, this invention provides a visual management method for process systems in large-scale chemical plants, solving the problems of inaccurate traceability of utility pipelines and inefficient visual management in large-scale chemical plants.

[0004] To achieve the above objectives, the present invention provides the following technical solution: a visual management method for a large-scale chemical plant process system, comprising: Step 1: In the digital piping and instrumentation diagram system, traverse the current drawing layers to filter out pipeline elements, and read the utility medium identifier corresponding to each pipeline element. If the identifier is valid, combine the unique index of the pipeline element with the utility medium identifier to form a key-value pair and import it into the pipeline code mapping set. At the same time, read the nozzle connection point coordinates of all equipment elements in the current drawing and the endpoint coordinates of pipeline elements. Based on the coordinate coincidence, identify the connection relationship and construct an undirected adjacency list describing the connection relationship of utility pipeline segments within the current drawing sheet. Step 2: If the user selects a pipeline element connected to the equipment nozzle in the current drawing, the utility medium identifier corresponding to the pipeline element in the pipeline code mapping set is obtained. Then, with the pipeline element as the starting node and the utility medium identifier as the path constraint, a breadth-first traversal is performed in the undirected adjacency list to generate a node sequence from the pipeline element to the boundary main pipe. Step 3: Extract the starting point, ending point, and turning point coordinates of each pipeline element in the current drawing coordinate system from the node sequence, and splice them into a continuous polyline path in the connection order. Simultaneously call the vector layer interface to create a semi-transparent highlight trajectory line that coincides with the original pipeline along the continuous polyline path, and generate a gradient bright spot element that translates along the continuous polyline path.

[0005] As a further aspect of the present invention, the utility medium identifier adopts a segmented encoding structure, which includes a medium main category field, a phase field, and a pressure level field. When the system detects that the user selects or inputs the corresponding values ​​of each field in the pipeline element attribute panel, the system concatenates the values ​​of each field in the order of medium main category + phase + pressure level to form a complete utility medium identifier and writes it into the extended attribute storage area of ​​the pipeline element.

[0006] As a further aspect of the present invention, if the utility medium identifier meets any of the following conditions, it is determined to be invalid: the utility medium identifier is empty; the format of the utility medium identifier does not conform to the preset segmentation encoding rules; the medium main class field in the utility medium identifier does not belong to the category of utility media.

[0007] As a further aspect of the present invention, the specific operation for identifying connection relationships based on coordinate coincidence determination is as follows: Obtain the Euclidean distance between the endpoint coordinates of the pipeline element and the nozzle coordinates of the equipment element. If the Euclidean distance is less than the first tolerance threshold, it is determined that there is a candidate connection relationship between the two. If the Euclidean distance is between the first tolerance threshold and the second tolerance threshold, further occlusion checks are performed. Calculate the angle between the direction vector at the pipeline endpoint and the exit direction vector of the equipment nozzle. If the angle is less than a preset angle threshold, the directions are determined to be consistent, and the candidate connection is confirmed as a valid connection. Otherwise, the candidate connection is excluded.

[0008] As a further aspect of the present invention, the specific rules for performing the occlusion check are as follows: sample several intermediate points on the connection line with a preset step size, and check whether each sampling point intersects with the geometric boundary of other pipeline elements or equipment elements. If the connection line is not occluded by the filling area of ​​any element throughout its entire length, it is determined that there is a candidate connection relationship between the two. Conversely, if the connection line passes through the solid area of ​​other equipment elements or pipelines, the candidate connection relationship is excluded.

[0009] As a further aspect of the present invention, the specific operation of performing breadth-first traversal in an undirected adjacency list is as follows: If the utility medium identifier corresponding to the starting pipeline element is a valid value, then set the identifier as a global constraint constant, initialize the search queue and the set of visited nodes, and add the starting pipeline element to the search queue. Take the head node from the search queue, query all adjacent pipeline elements of the node in the undirected adjacency list, and perform media identifier consistency check and access status check on each adjacent pipeline element in turn. Add the adjacent pipeline elements that pass both checks to the search queue and the set of visited nodes. During node expansion, for each newly added pipeline element in the search queue, check the network level identifier in its expansion attribute field. If the network level identifier is marked with "boundary entrance" or "main pipe", stop expanding upstream from that node and record that node as the termination node of this traversal. When the search queue is empty, extract the complete node sequence from the starting pipeline primitive to the ending node from the set of visited nodes.

[0010] As a further aspect of the present invention, the specific rules for performing the consistency check of the media identifier are as follows: based on the unique index of the candidate adjacent node, the corresponding utility media identifier is searched in the pipeline code mapping set, and the identifier is matched with the set global constraint constant: if the system is configured as "default", the first two characters of the identifier are checked to be completely consistent; if the system is configured as "strict mode", all characters of the identifier are checked to be completely consistent.

[0011] As a further aspect of the present invention, the specific rules for the access status check are as follows: query whether the unique index of the candidate adjacent node already exists in the set of visited nodes. If it already exists, it means that the node has been processed in the previous expansion and needs to be skipped to avoid repeated access. If it does not exist, the node passes the check.

[0012] As a further aspect of the present invention, the value range of the pipeline hierarchy identifier includes boundary inlet, main pipe, branch pipe, and sub-branch pipe.

[0013] This invention provides a visual management method for process systems in large-scale chemical plants, which has the following advantages compared with existing technologies: (1) This invention constructs a standardized public works medium segmentation coding system. At the same time, through coordinate coincidence judgment, direction matching and occlusion detection mechanism, it accurately identifies the effective connection relationship between pipelines and equipment, thereby constructing a highly reliable pipeline network undirected adjacency list, and ensuring the accuracy of pipeline topology data from the source. (2) This invention uses the medium identifier as the core constraint and adopts a breadth-first traversal algorithm with a double verification mechanism to achieve accurate pipeline path tracing. Through medium consistency verification and access status control, it effectively avoids cross-media crosstalk and repeated traversal problems. (3) This invention splices the complete coordinate chain of the target path and relies on the vector layer interface to achieve the superposition of the bright trajectory that completely overlaps with the original pipeline. At the same time, the medium flow direction is intuitively displayed through dynamic gradient bright spot primitives, making the visualization effect clear and intuitive. Moreover, the superimposed layer is completely isolated from the original drawing data. Attached Figure Description

[0014] Figure 1 This is a flowchart of the steps of the present invention; Figure 2 This is a flowchart illustrating the steps for identifying connection relationships in this invention. Detailed Implementation

[0015] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0016] like Figure 1 This invention provides a visual management method for process systems of large-scale chemical plants; As an embodiment of this application, it includes: Step 1: In the digital piping and instrumentation diagram system, traverse the current drawing layers to filter out pipeline elements, and read the utility medium identifier corresponding to each pipeline element. If the identifier is valid, combine the unique index of the pipeline element with the utility medium identifier to form a key-value pair and import it into the pipeline code mapping set. At the same time, read the nozzle connection point coordinates of all equipment elements in the current drawing and the endpoint coordinates of pipeline elements. Based on the coordinate coincidence, identify the connection relationship and construct an undirected adjacency list describing the connection relationship of utility pipeline segments within the current drawing sheet. Step 2: If the user selects a pipeline element connected to the equipment nozzle in the current drawing, the utility medium identifier corresponding to the pipeline element in the pipeline code mapping set is obtained. Then, with the pipeline element as the starting node and the utility medium identifier as the path constraint, a breadth-first traversal is performed in the undirected adjacency list to generate a node sequence from the pipeline element to the boundary main pipe. Step 3: Extract the starting point, ending point, and turning point coordinates of each pipeline element in the current drawing coordinate system from the node sequence, and splice them into a continuous polyline path in the connection order. Simultaneously call the vector layer interface to create a semi-transparent highlight trajectory line that coincides with the original pipeline along the continuous polyline path, and generate a gradient bright spot element that translates along the continuous polyline path.

[0017] As a second embodiment of this application, it is implemented based on the first embodiment, except that this embodiment includes: Step 1: In the digital piping and instrumentation diagram system, traverse the current drawing layers to filter out pipeline elements and read the utility medium identifier corresponding to each pipeline element. In a digital piping and instrumentation diagram system, a single drawing layer contains various types of graphic entities, such as equipment elements (pumps, heat exchangers), instrument elements (valves, flow meters), pipeline elements, text annotations, and drawing frame boundaries. Only by accurately separating "pipeline elements" from the mixed set of elements can we then perform attribute reading and topology construction for these pipelines. Define a segmented encoding structure for utility media identifiers, wherein the segmented encoding structure includes a media class field, a phase field, and a pressure level field; The media main class field has two fixed uppercase letters, and its value is read from the preset media main class code table. This code table is stored in the system backend in the form of a configuration file and can be added by the administrator according to project needs, but it must not be duplicated with existing code. For example, LS represents low-pressure steam, MS represents medium-pressure steam, CW represents circulating water, IA represents instrument air, and NG represents nitrogen. The phase state field is fixed with one uppercase letter, and its value can be selected as S (saturated state), H (superheated state), L (liquid state), G (gas state), which is used to distinguish different thermodynamic states under the same medium main category; The pressure rating field has two fixed digits, and its value is dynamically loaded with a preset pressure range according to the different media types. For example, when the main medium type is low-pressure steam (LS), the selectable pressure rating values ​​include 10 (0.8-1.2 MPa), 04 (0.3-0.5 MPa), etc.; when the main medium type is circulating water (CW), the selectable pressure rating values ​​include 06 (0.4-0.8 MPa), 10 (0.8-1.2 MPa), etc. When the system detects that the user selects or enters the corresponding values ​​of each field in the pipeline element attribute panel, it will concatenate the field values ​​in a preset order (i.e., main medium class + phase state + pressure level) into a complete utility medium identifier and write it into the extended attribute storage area of ​​the pipeline element. If the utility medium identifier is valid, then the unique index of the pipeline element and the utility medium identifier are combined into a key-value pair and imported into the pipeline code mapping set; The utility medium identifier is considered invalid if it meets any of the following conditions: First, the utility medium identifier is empty; When a pipeline element is created, the utility medium identifier may never have been assigned a value. When the system traverses such a pipeline element, if the identifier value read is an empty string or null, the identifier is determined to be invalid, and the pipeline element will not participate in the construction of the pipeline code mapping set. Secondly, the format of the utility media identifier does not conform to the preset segmentation coding rules; The utility medium identifier adopts a segmented encoding structure, which is composed of three fields: main medium class, phase state, and pressure level, concatenated into a fixed-length string. After the system reads the identifier, it will perform format verification, such as checking whether the string length meets the preset value and whether the values ​​of each field are within the preset dictionary table range. Third, the main class field of the public utility media identifier does not belong to the category of public utility media; Even if the identifier format is correct, if its medium main class field represents process material rather than utility medium, it will still be deemed invalid. Failure to exclude it will cause the tracing path to mistakenly enter the process system. The unique index of the pipeline element refers to the internal identification code automatically generated by the digital piping and instrumentation diagram system for each element, which is unique within the current drawing file. This identification code is usually composed of 32 hexadecimal digits and hyphens, such as {21EC2020-3AEA-1069-A2DD-08002B30309D}. No matter how the user modifies the external attributes of the element, such as geometric position, color, text labeling, etc., this unique identification code remains unchanged throughout its life cycle. At the same time, the coordinates of the nozzle connection points of all equipment elements and the endpoint coordinates of pipeline elements in the current drawing are read. The connection relationship is identified based on the coordinate coincidence, and an undirected adjacency table describing the connection relationship of utility pipeline segments within the current drawing area is constructed.

[0018] Step 2: If the user selects a pipeline element connected to the equipment nozzle in the current drawing, obtain the utility medium identifier corresponding to that pipeline element in the pipeline code mapping set. In the process PID drawings of large-scale chemical plants, there are a large number of pipeline elements. The core demand of users for visual management is usually to trace the source of the utility media consumed by a specific piece of equipment. If users are allowed to click on any pipeline on the drawing, the system will not be able to determine which end branch pipe the user wants to trace, and therefore cannot determine the starting node of the search. Therefore, the triggering condition is strictly limited to pipeline elements connected to the equipment nozzle. The corresponding meaning is: the system first uses the constructed undirected adjacency list to reversely determine whether the selected pipeline element has a direct connection edge with the equipment nozzle. Only when the pipeline element confirmed as a branch pipe of the equipment is selected will the system start the subsequent tracing process. Using the pipeline element as the starting node and the utility medium identifier as the path constraint, a breadth-first traversal is performed in the undirected adjacency list to generate a node sequence from the pipeline element to the boundary main pipe. The specific operation of performing a breadth-first traversal in an undirected adjacency list is as follows: The system first obtains the unique index of the determined starting pipeline element, and then performs a hash lookup in the constructed pipeline code mapping set based on the index to obtain the utility medium identifier corresponding to the pipeline element. If the obtained utility medium identifier is invalid, an error message will be returned to the user interface and the current traversal process will be terminated; otherwise, the system will set the identifier string as the global constraint constant for this breadth-first traversal. Subsequently, the system initializes the breadth-first traversal search queue and the set of visited nodes, and adds the unique index of the starting pipeline primitive to the search queue and the set of visited nodes respectively. The search queue uses a first-in-first-out queue structure to store the pipeline primitive nodes to be expanded, while the set of visited nodes uses a hash set structure to store the unique index of the processed pipeline primitives to prevent the same node from being visited repeatedly. Take the head node from the search queue, query all adjacent pipeline elements of the node in the undirected adjacency list, and perform media identifier consistency check and access status check on each adjacent pipeline element in turn. Add the adjacent pipeline elements that pass both checks to the search queue and the set of visited nodes. The specific rules for performing the consistency check of the media identifier are as follows: based on the unique index of the candidate adjacent node, find its corresponding utility media identifier in the pipeline code mapping set, and match the identifier with the set global constraint constant: if the system is configured as "default", check whether the first two characters of the identifier are completely consistent; if the system is configured as "strict mode", check whether all characters of the identifier are completely consistent. The specific rules for the access status check are as follows: query whether the unique index of the candidate adjacent node already exists in the set of visited nodes. If it exists, it means that the node has been processed in the previous expansion and needs to be skipped to avoid repeated access. If it does not exist, the node passes the check. Before adding a new node to the search queue, the system needs to read the extended attribute field of the pipeline element and check whether it contains a preset "pipeline hierarchy identifier" attribute. This attribute is assigned during the drawing design phase, and its possible values ​​include: Boundary entrance indicates that this pipeline is the first section of pipeline through which utility media enter the current facility from outside the boundary. Main pipe indicates that the pipeline belongs to the main pipeline allocated by the public works within the unit; A branch pipe indicates that the pipeline is a terminal pipeline that branches off from the main pipe and connects to the equipment. Branch pipes refer to intermediate-level pipelines located between the main pipe and branch pipes. When the system detects that the current node's pipeline hierarchy identifier is "boundary entrance" or "main pipe", the system marks the node as a termination node and adds it to the search queue and the set of visited nodes. When processing the node in subsequent steps, its adjacency list will no longer be queued for expansion. That is, the termination node is still enqueued and participates in the records of the visited set, but when it is used for expansion, its adjacency node query step is skipped. This design ensures that the termination node itself is included in the final node sequence, but the traversal will not go beyond this node to continue tracing upstream to unrelated inter-plant pipelines or other devices. When the search queue is empty, the traversal process ends. The system extracts all nodes from the set of visited nodes and constructs an ordered sequence of nodes from the starting pipeline primitive to the ending node according to the connection relationship of each node in the undirected adjacency list.

[0019] Step 3: Extract the coordinates of the start point, end point and turning point of each pipeline element in the current drawing coordinate system from the node sequence, and splice them into a continuous polyline path according to the connection order; The node sequence is an ordered list containing unique indices of several pipeline elements. The system traverses this list and performs the following operations on each unique index of a pipeline element in the list: Call the graphical object query interface of the digital piping and instrumentation diagram system to obtain the complete geometric definition data of the pipeline element object based on the unique index; In a digital drawing system, the geometric definition of a pipeline element includes its element type (i.e., a straight segment or a polyline) and its associated vertex coordinate list: if it is a pipeline element of type straight segment, its vertex coordinate list consists of two points, namely the starting point coordinate and the ending point coordinate; if it is a pipeline element of type polyline, i.e., a complex pipeline containing one or more bends, its vertex coordinate list consists of the starting point coordinate, the coordinates of each turning point, and the ending point coordinate, with all coordinate points arranged sequentially according to the original drawing direction; After extracting the vertex coordinate list of the pipeline element, the system temporarily stores it as a coordinate point sequence in its original order. For the first pipeline element in the node sequence (i.e., the starting pipeline element), the system retains its coordinate point sequence completely. For each subsequent pipeline element, the system compares the first point in its coordinate point sequence with the last point in the coordinate point sequence of the previous pipeline element. If the two coincide in space or are within the preset tolerance range (the existence of the connection relationship has been confirmed by the coordinate coincidence determination when constructing the undirected adjacency list), the system sequentially appends the remaining coordinate points of the subsequent pipeline element's coordinate point sequence, except for the first point, to the end of the previous pipeline element's coordinate point sequence to achieve the connection between the beginning and the end. After traversing all pipeline primitives in the node sequence, the system obtains a continuous coordinate point chain containing all coordinate points. At the same time, the system pairs adjacent points in the coordinate point chain, that is, the i-th point and the (i+1)-th point form a straight line segment. The set of all straight line segments is the continuous polyline path formed. Synchronously call the vector layer interface to create a semi-transparent highlight trajectory line that coincides with the original pipeline along a continuous polyline path, and generate a gradient bright spot primitive that translates along the continuous polyline path; Creating a highlighted trajectory line by calling the vector layer interface is essentially a technique of overlaying a transparent layer. That is, the system temporarily creates an independent vector layer above the original drawing layer and draws the highlighted trajectory line on that layer. This trajectory line is geometrically identical to the original pipeline, but it is completely isolated from the original primitives in terms of data storage. When the user closes the visualization query results or switches views, the system only needs to remove this temporary layer, and the original drawing can be restored to its original state without leaving any trace of modification.

[0020] As a third embodiment of this application, this embodiment further discloses a method for identifying connection relationships based on embodiments one and two, such as... Figure 2 As shown, the specific content includes: The system traverses all equipment elements in the current drawing layer and reads the coordinates of the nozzle connection point of each equipment element. The nozzle is a predefined interface position on the equipment element, and its relative coordinates and direction vector are usually stored in the equipment symbol library as specific attribute fields. Meanwhile, the system traverses the selected pipeline elements and reads the starting and ending coordinates of each pipeline. However, for a complex pipeline composed of multiple straight segments and bends, the system can parse it into multiple straight segments that are connected end to end, with the two endpoints of each straight segment serving as candidate connection points. After acquiring all coordinate data, the system performs spatial overlap determination: when the Euclidean distance between the pipeline endpoint and the equipment nozzle coordinates is less than the first tolerance threshold, it is determined that there is a candidate connection relationship between the two; when the distance is between the first tolerance threshold and the second tolerance threshold, the system does not directly determine the connection, but performs an occlusion check. The specific rules for the occlusion check are as follows: sample several intermediate points on the connection line with a preset step size, and check whether each sampling point intersects with the geometric boundary of other pipeline elements or equipment elements. If the connection line is not occluded by the filling area of ​​any element throughout the entire process, it is determined that there is a candidate connection relationship between the two. Otherwise, if the connection line passes through the solid area of ​​other equipment elements or pipelines, the candidate connection relationship is excluded. The first tolerance threshold is a strict coincidence determination threshold, which is usually set to 0.5mm to 1mm in drawing units, and is used to identify the endpoints that are accurately aligned when drawing; The second tolerance threshold is a lenient judgment threshold, usually set to 2mm to 3mm in drawing units, to handle minor coordinate deviations caused by historical drawing conversion, export from different software, or manual drawing errors. After completing the spatial overlap determination, the system obtains the direction vector data of the two connection ends involved in each candidate connection relationship; For equipment nozzles, their outgoing direction vectors are predefined in the equipment symbol library. For example, the steam inlet nozzle of a heat exchanger is usually defined as a unit vector extending outward from the equipment outline in a horizontal or vertical direction. For pipeline endpoints, their direction vectors are determined by the direction of the pipeline segment where the endpoint is located. That is, if the pipeline enters the endpoint horizontally from the left, the direction vector at the endpoint points to the right. The system calculates the angle between two direction vectors. If the angle is less than a preset angle threshold, the directions are determined to be consistent, and the candidate connection is confirmed as a valid connection. Otherwise, the candidate connection is excluded.

[0021] Some of the data in the above formulas are numerical calculations with dimensions removed, and the contents not described in detail in this specification are all prior art known to those skilled in the art.

[0022] The above embodiments are only used to illustrate the technical methods of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical methods of the present invention without departing from the spirit and scope of the technical methods of the present invention.

Claims

1. A visual management method for a large-scale chemical plant process system, characterized in that, include: Step 1: In the digital piping and instrumentation diagram system, traverse the current drawing layers to filter out pipeline elements, and read the utility medium identifier corresponding to each pipeline element. If the identifier is valid, combine the unique index of the pipeline element with the utility medium identifier to form a key-value pair and import it into the pipeline code mapping set. At the same time, read the nozzle connection point coordinates of all equipment elements in the current drawing and the endpoint coordinates of pipeline elements. Based on the coordinate coincidence, identify the connection relationship and construct an undirected adjacency list describing the connection relationship of utility pipeline segments within the current drawing sheet. Step 2: If the user selects a pipeline element connected to the equipment nozzle in the current drawing, the utility medium identifier corresponding to the pipeline element in the pipeline code mapping set is obtained. Then, with the pipeline element as the starting node and the utility medium identifier as the path constraint, a breadth-first traversal is performed in the undirected adjacency list to generate a node sequence from the pipeline element to the boundary main pipe. Step 3: Extract the starting point, ending point, and turning point coordinates of each pipeline element in the current drawing coordinate system from the node sequence, and splice them into a continuous polyline path in the connection order. Simultaneously call the vector layer interface to create a semi-transparent highlight trajectory line that coincides with the original pipeline along the continuous polyline path, and generate a gradient bright spot element that translates along the continuous polyline path.

2. The method for visual management of a large-scale chemical plant process system according to claim 1, characterized in that, The utility medium identifier adopts a segmented coding structure, which includes a medium main category field, a phase field, and a pressure level field. When the system detects that the user selects or enters the corresponding values ​​of each field in the pipeline element attribute panel, the system concatenates the field values ​​in the order of medium main category + phase + pressure level to form a complete utility medium identifier and writes it into the extended attribute storage area of ​​the pipeline element.

3. The method for visual management of a large-scale chemical plant process system according to claim 1, characterized in that, The utility medium identifier is considered invalid if any of the following conditions are met: the utility medium identifier is empty; the format of the utility medium identifier does not conform to the preset segmentation encoding rules; or the medium main class field in the utility medium identifier does not belong to the category of utility media.

4. The visualization management method for a large-scale chemical plant process system according to claim 1, characterized in that, The specific steps for identifying connection relationships based on coordinate coincidence determination are as follows: Obtain the Euclidean distance between the endpoint coordinates of the pipeline element and the nozzle coordinates of the equipment element. If the Euclidean distance is less than the first tolerance threshold, it is determined that there is a candidate connection relationship between the two. If the Euclidean distance is between the first tolerance threshold and the second tolerance threshold, further occlusion checks are performed. Calculate the angle between the direction vector at the pipeline endpoint and the exit direction vector of the equipment nozzle. If the angle is less than a preset angle threshold, the directions are determined to be consistent, and the candidate connection is confirmed as a valid connection. Otherwise, the candidate connection is excluded.

5. The visualization management method for a large-scale chemical plant process system according to claim 4, characterized in that, The specific rules for performing occlusion checks are as follows: sample several intermediate points on the connection line with a preset step size, and check whether each sampling point intersects with the geometric boundaries of other pipeline elements or equipment elements. If the connection line is not occluded by the filling area of ​​any element throughout its entire length, it is determined that there is a candidate connection relationship between the two. Conversely, if the connection line passes through the solid area of ​​other equipment elements or pipelines, the candidate connection relationship is excluded.

6. The method for visual management of a large-scale chemical plant process system according to claim 1, characterized in that, The specific operations for performing a breadth-first traversal in an undirected adjacency list are as follows: If the utility medium identifier corresponding to the starting pipeline element is a valid value, then set the identifier as a global constraint constant, initialize the search queue and the set of visited nodes, and add the starting pipeline element to the search queue. Take the head node from the search queue, query all adjacent pipeline elements of the node in the undirected adjacency list, and perform media identifier consistency check and access status check on each adjacent pipeline element in turn. Add the adjacent pipeline elements that pass both checks to the search queue and the set of visited nodes. During node expansion, for each newly added pipeline element in the search queue, check the network level identifier in its expansion attribute field. If the network level identifier is marked with "boundary entrance" or "main pipe", stop expanding upstream from that node and record that node as the termination node of this traversal. When the search queue is empty, extract the complete node sequence from the starting pipeline primitive to the ending node from the set of visited nodes.

7. The method for visual management of a large-scale chemical plant process system according to claim 6, characterized in that, The specific rules for performing the consistency check of the execution medium identifier are as follows: based on the unique index of the candidate adjacent node, find its corresponding utility medium identifier in the pipeline code mapping set, and match the identifier with the set global constraint constant: if the system is configured as "default", check whether the first two characters of the identifier are completely consistent; if the system is configured as "strict mode", check whether all characters of the identifier are completely consistent.

8. The method for visual management of a large-scale chemical plant process system according to claim 6, characterized in that, The specific rules for the access status check are as follows: query whether the unique index of the candidate adjacent node already exists in the set of visited nodes. If it exists, it means that the node has been processed in the previous expansion and needs to be skipped to avoid repeated access. If it does not exist, the node passes the check.

9. The method for visual management of a large-scale chemical plant process system according to claim 6, characterized in that, The range of values ​​for the pipeline hierarchy identifier includes boundary entrance, main pipe, branch pipe, and sub-branch pipe.