Method and device for matching secondary conduit usage points and access points in an electronic engineering plant
Patent Information
- Application Number
- CN202611109577.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-24
- Publication Date
- 2026-10-09
AI Technical Summary
目前电子工程厂房二次管道使用点与接入点的匹配大多依赖人工,其人工派点周期往往长达数月,项目交付周期长,因此亟需提供一种电子工程厂房二次管道使用点与接入点的自动匹配方法
(1)本申请的电子工程厂房二次管道使用点与接入点的匹配方法通过根据一次管道工程图获取接入点数据集;根据二次管道使用点设备工程图和外部需求表获取使用点数据集;根据匹配规则为所述使用点数据集中的使用点从所述接入点数据集筛选对应的候选匹配接入点列表;根据距离最优原则从所述对应的候选匹配接入点列表中选择所述使用点的匹配接入点,能够为二次管道使用点自动匹配最优的接入点。
Smart Images

Figure CN122885028A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of digital engineering for secondary piping in electronic engineering plants, and in particular to a method and equipment for matching the usage points and access points of secondary pipelines in electronic engineering plants. Background Technology
[0002] The construction of electronic engineering plants involves secondary piping for various media, including bulk gases, specialty gases, chemicals, pure water, process circulating cooling water, wastewater, exhaust, process vacuum, and electrical components, in integrated circuit, flat panel display, and photovoltaic manufacturing plants. The initial matching of access points is crucial for the automated generation of access point data tables, serving as preliminary data support for the automatic generation of P&ID drawings, pipe diameter calculation, capacity control, and quantity surveying in the backend. The matching of access points and usage points for secondary piping in electronic engineering plants is primarily applied to the digital design of secondary piping in new construction, renovation, and expansion projects. Currently, the matching of usage points and access points for secondary piping in electronic engineering plants largely relies on manual methods, which often take months, resulting in long project delivery cycles. Therefore, there is an urgent need for an automated matching method for usage points and access points in secondary piping of electronic engineering plants. Summary of the Invention
[0003] Based on the above analysis, the embodiments of the present invention aim to provide a method and device for matching the usage points and access points of secondary pipelines in electronic engineering plants, which can realize the automatic matching of the usage points and access points of secondary pipelines, and match the optimal access point for the usage points of secondary pipelines.
[0004] This disclosure provides a method for matching the usage points and access points of secondary pipelines in an electronic engineering plant, including the following steps: Obtain the access point dataset based on a pipeline engineering diagram; Obtain the usage point dataset based on the secondary pipeline usage point equipment engineering drawings and external demand table; Based on the matching rules, a list of candidate matching access points is filtered from the access point dataset for the usage points in the usage point dataset. Based on the principle of optimal distance, the matching access point for the point of use is selected from the corresponding list of candidate matching access points.
[0005] In one embodiment, the access point dataset includes multiple access point numbers, as well as the access point coordinates, rated supply flow, access point medium, and floor where the access point is located for each access point number. The process of obtaining the access point dataset based on a primary pipeline engineering diagram includes: Based on the primary piping engineering drawing, obtain the coordinates of the connection point, the connection point number, the pipe size at the connection point, the medium at the connection point, and the floor where the connection point is located; The rated supply flow rate of the access point is obtained based on the pipe size of the access point. The obtained access point coordinates, access point number, access point rated supply flow, access point medium, and the floor where the access point is located are fused together using the access point number as the representative to obtain the access point dataset.
[0006] In one embodiment, obtaining the connection point number, connection point pipe size, connection point medium, and floor where the connection point is located based on the primary piping engineering drawing includes: Identify single-line text, multi-line text, and blocks from the primary pipeline engineering drawing using examples; For the single-line text, directly read the text of the single-line text to obtain the single-line text entity; For the multi-line text, the multi-line text is exploded into multiple single-line texts by the splitting tool of the engineering drawing software and then spliced together to obtain the multi-line text entity; For the block, when the block has a device number attribute, the content of the device number attribute is used as the block entity; when the block does not have a device number attribute, the attribute set of the block is traversed, and the content of the first non-empty attribute in the attribute set of the block is used as the block entity. Identify the access point number, access point pipe size, access point medium, and floor where the access point is located from the single-line text entity, the multi-line text entity, and the block entity according to the example format.
[0007] In one embodiment, identifying the access point number, the access point pipe size, the access point medium, and the floor where the access point is located from the single-line text entity, the multi-line text entity, and the block entity according to the example format includes: Identify the access point number and access point pipe size from the single-line text entity, the multi-line text entity, and the block entity according to the example format; The identified access point number and the identified access point pipe size are matched according to the greedy nearest neighbor algorithm to obtain the identified access point number corresponding to the identified access point pipe size. For the identified access point number for which no matching access point pipe size was found, split it by connector and take the last segment of characters after splitting as the corresponding access point pipe size. The access point medium is obtained based on the identified access point number; The floor where the access point is located is obtained using a regular expression based on the identified access point number.
[0008] In one embodiment, obtaining the usage point dataset based on the secondary pipeline usage point equipment engineering drawing and the external demand table includes: Obtain the coordinates, number, and equipment number of the usage point based on the engineering drawing of the secondary pipeline usage point equipment. Based on the point of use number, obtain the point of use medium, point of use flow parameters, and the floor where the point of use is located from the external demand table; The obtained coordinates of the point of use, the number of the point of use, the device number of the point of use, the medium of the point of use, the flow parameters of the point of use, and the floor where the point of use is located are fused together with the number of the point of use as the representative to obtain the point of use dataset.
[0009] In one embodiment, filtering a list of candidate matching access points from the access point dataset according to matching rules for access points in the usage point dataset includes: Based on the first point of use in the point of use dataset, access points of the same type as the media are filtered from the access point dataset to obtain a first candidate matching access point list; Based on the usage point traffic parameters in the usage point dataset, the first candidate matching access point list is filtered to obtain a second candidate matching access point list that meets the traffic requirements. Based on the coordinates of the first point of use in the point of use dataset, filter the second candidate matching access point list to obtain a third candidate matching access point list that meets the distance requirements; The third candidate matching access point list is the same as the candidate matching access point list corresponding to the first usage point.
[0010] In one embodiment, filtering a list of candidate matching access points from the access point dataset according to matching rules for access points in the usage point dataset includes: The usage points in the usage point dataset that are on the same device and use the same medium are grouped together. Based on the usage point media in the usage point dataset, the first usage point group filters access points of the same type from the access point dataset to obtain a first candidate matching access point list; Based on the usage point traffic parameters in the usage point dataset, the first usage point group filters access points that meet the traffic requirements from the first candidate matching access point list to obtain a second candidate matching access point list. Based on the coordinates of the first user point group in the user point dataset, the second candidate matching access point list is filtered to obtain a third candidate matching access point list that meets the distance requirements. The third candidate matching access point list is the candidate matching access point list corresponding to the first user point group.
[0011] In one embodiment, the matching method further includes: Set a maximum load factor for the access points in the usage point dataset, wherein the maximum load factor is less than or equal to 1; When the point of use matches the access point, the access point's rated supply flow rate is multiplied by the maximum load factor. When an access point in the usage point dataset has a reserved capacity expansion requirement, when the usage point matches the access point, the reserved capacity expansion capacity will be deducted from the rated supply capacity of the access point.
[0012] In one embodiment, the matching method further includes assigning valve disc association identifiers to different usage points using the same access point.
[0013] This disclosure provides a computer device, including a processor, a memory, and an input / output interface; The processor is connected to the memory and the input / output interface respectively. The input / output interface is used to receive and output data. The memory is used to store computer programs. The processor is used to call the computer programs so that the computer device executes the method as described in any of the above embodiments.
[0014] Compared with traditional methods, the embodiments of the present invention have the following technical advantages: (1) The matching method of secondary pipeline usage points and access points in the electronic engineering plant of this application obtains access point datasets based on primary pipeline engineering diagrams; obtains usage point datasets based on secondary pipeline usage point equipment engineering diagrams and external demand tables; filters the corresponding candidate matching access point list for usage points in the usage point datasets according to matching rules; and selects the matching access point for the usage point from the corresponding candidate matching access point list according to the optimal distance principle, which can automatically match the optimal access point for secondary pipeline usage points.
[0015] (2) This invention overcomes the shortcomings of existing software tools that cannot read data in engineering drawings and form data in batches, and realizes the automated parsing and structured processing of three types of heterogeneous data sources: primary pipeline engineering drawings, secondary pipeline usage point equipment engineering drawings, and Excel external demand tables, providing a basic technology for the full-process automation of matching secondary pipeline usage points and access points.
[0016] (3) In the automated parsing and structured processing of engineering drawings, the access point number, supervisor number, access point number, and access point pipe size included in single-line text entities, multi-line text entities, and block entities are all unordered and do not include the correspondence between them. This invention uses greedy nearest neighbor matching to match the access point coordinates, access point supervisor number, access point number, and access point pipe size, thereby realizing the matching and grouping of data in the engineering drawing and providing support for the subsequent matching of usage points and access points. Attached Figure Description
[0017] The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. Throughout the drawings, the same reference numerals denote the same parts.
[0018] Figure 1 A flowchart illustrating a method for matching usage points and access points of secondary pipelines in an electronic engineering plant according to an embodiment of this disclosure is shown. Figure 2 This is a schematic diagram of the structure of a computer device provided in an embodiment of this disclosure. Detailed Implementation
[0019] The technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.
[0020] Explanation of terms used in this application: Electronic engineering workshops, also known as cleanrooms for the electronics industry, are industrial facilities specifically designed for the production of high-precision products such as electronic components, chips, and circuit boards. Their design and construction is a highly complex systems engineering project, with the core objective of providing a stable, clean, and controlled production environment for precision manufacturing.
[0021] Secondary pipeline access points (takeoff points) are reserved interfaces or valve nodes for primary pipelines, providing a medium source for secondary piping branch pipes.
[0022] The Point of Use (POU) is the point at which the medium is used at the end of the process equipment; it is the final interface of the secondary pipeline.
[0023] The term "primary pipeline" refers to pipelines whose ends connect to secondary pipelines.
[0024] Secondary pipelines are a general term for pipelines that start at a reserved interface or valve node in the primary pipeline and end at the medium usage point of the process equipment.
[0025] The media in this application include bulk gases, specialty gases, chemicals, pure water, process circulating cooling water, wastewater and waste liquid, process vacuum, exhaust gas, electricity, and communication signals.
[0026] Example 1 Figure 1 A flowchart illustrating a matching method for secondary piping usage points and access points in an electronic engineering plant according to an embodiment of this disclosure is provided. The matching method of this application can be controlled by any computer with computing power, or interactively controlled by two or more computers with computing power; this disclosure is not limited thereto.
[0027] Reference Figure 1 The matching method for the usage point and access point of secondary pipelines in electronic engineering plants in this application includes: Step 110: Obtain the access point dataset based on a primary pipeline engineering diagram; Step 120: Obtain the usage point dataset based on the secondary pipeline usage point equipment engineering drawings and external demand table; Step 130: Based on the matching rules, filter the list of candidate matching access points from the access point dataset for the usage points in the usage point dataset; Step 140: Select the matching access point for the usage point from the corresponding candidate matching access point list according to the distance optimal principle.
[0028] Step 110: Obtain the access point dataset based on a pipeline engineering diagram.
[0029] In this step, the computer obtains the access point dataset based on a pipeline engineering diagram.
[0030] In one embodiment, the access point dataset includes multiple access point numbers, and for each access point number, the access point coordinates, the rated supply capacity, the access point medium, and the floor where the access point is located. The access point dataset can be, for example, a lightweight data exchange format (JSON, JavaScriptObject Notation) based on the JavaScript language. The access point dataset includes multiple data units, each of which, for example, begins with the access point number, followed by the corresponding access point coordinates, the rated supply capacity, the access point medium, and the floor where the access point is located.
[0031] In one embodiment, obtaining the access point dataset based on a primary pipeline engineering diagram includes: Based on the primary piping engineering drawing, obtain the coordinates of the connection point, the connection point number, the pipe size at the connection point, the medium at the connection point, and the floor where the connection point is located; The rated supply flow rate of the access point is obtained based on the pipe size of the access point. The obtained access point coordinates, access point number, access point rated supply flow, access point medium, and the floor where the access point is located are fused together using the access point number as the representative to obtain the access point dataset.
[0032] Specifically, the rated supply flow rate of the access point is obtained based on the pipe size of the access point. This can be achieved by automatically calculating the maximum rated gas supply flow rate of the access point based on the pipe diameter-medium experience database.
[0033] The obtained access point coordinates, access point number, access point rated supply flow, access point medium, and access point floor are fused together with the access point number as the representative to obtain the access point dataset. Specifically, the data starts with the access point number, followed by the access point coordinates, access point rated supply flow, access point medium, and access point floor corresponding to that access point number.
[0034] In one embodiment, obtaining the connection point number, connection point pipe size, connection point medium, and floor where the connection point is located based on the primary piping engineering drawing includes: Identify single-line text, multi-line text, and blocks from the primary pipeline engineering drawing using examples; For the single-line text, directly read the text of the single-line text to obtain the single-line text entity; For the multi-line text, the multi-line text is exploded into multiple single-line texts by the splitting tool of the engineering drawing software and then spliced together to obtain the multi-line text entity; For the block, when the block has a device number attribute, the content of the device number attribute is used as the block entity; when the block does not have a device number attribute, the attribute set of the block is traversed, and the content of the first non-empty attribute in the attribute set of the block is used as the block entity. Identify the access point number, access point pipe size, access point medium, and floor where the access point is located from the single-line text entity, the multi-line text entity, and the block entity according to the example format.
[0035] In this context, single-line and multi-line text can be, for example, the text content within text boxes in a piping engineering drawing (Computer-Aided Design, CAD drawing). Specifically, recognition can be achieved through a secondary development platform of the CAD platform, using an open API (Application Programming Interface). The splitting tool in the engineering drawing software can be, for example, an explode tool. The block reference in this article can be, for example, an attribute collection of graphics (such as circles or lines) in the CAD drawing. Examples include single-line text, multi-line text, and blocks.
[0036] Examples of access point numbers include GN2-L10-W02-02-1 or A1-428C-N2-GPS-01-G; examples of access point pipe sizes include 25A, 3 / 4, or the last part of the number (such as 1); examples of access point media include GN2, PN2, or CDA; examples of the floor where the access point is located include 10 in "-L10-" or "-1F".
[0037] In one embodiment, identifying the access point number, the access point pipe size, the access point medium, and the floor where the access point is located from the single-line text entity, the multi-line text entity, and the block entity according to the example format includes: Identify the access point number and access point pipe size from the single-line text entity, the multi-line text entity, and the block entity according to the example format; The identified access point number and the identified access point pipe size are matched according to the greedy nearest neighbor algorithm to obtain the identified access point number corresponding to the identified access point pipe size. For the identified access point number for which no matching access point pipe size was found, split it by connector and take the last segment of characters after splitting as the corresponding access point pipe size. The access point medium is obtained based on the identified access point number; The floor where the access point is located is obtained using a regular expression based on the identified access point number.
[0038] Specifically, matching the identified access point number and the identified access point pipe size using a greedy nearest neighbor algorithm to obtain the identified access point number corresponding to the identified access point pipe size includes: The identified access point numbers and access point pipe dimensions are divided into a set of access point numbers and a set of access point pipe dimensions; each access point number and each access point pipe dimension has coordinates and content attributes. Pair each access point pipe size in the access point pipe size set with each access point number in the access point number set, and calculate the Euclidean distance between each pair of elements. Select the access point number with the smallest spatial distance as the access point number corresponding to the pipe size of this access point; Remove the matched access point pipe size and access point number from the access point pipe size set and access point number set, respectively; Continue matching until the set of access point numbers is empty.
[0039] In the preceding embodiments, the single-line text entities, multi-line text entities, and block entities typically include access point supervisor numbers, access point numbers, and access point pipe dimensions. Therefore, the access point numbers and access point pipe dimensions need to be directly identified from the single-line text entities, multi-line text entities, and block entities using an example format. However, the access point numbers, supervisor numbers, access point numbers, and access point pipe dimensions included in the single-line text entities, multi-line text entities, and block entities are unordered and do not include any correspondence between them. To distinguish the correspondence between access point numbers, supervisor numbers, access point numbers, and access point pipe dimensions for subsequent matching, this embodiment can, for example, introduce the previously identified access point coordinates. Through three rounds of greedy nearest neighbor matching, the access point coordinates, access point supervisor numbers, access point numbers, and access point pipe dimensions are matched. That is, through greedy nearest neighbor matching, different access points are grouped according to the access point coordinates, access point supervisor numbers, access point numbers, and access point pipe dimensions corresponding to the same access point. Here, the access point supervisor is the pipe from which the access point originates in a primary pipe. Greedy nearest neighbor matching can select matching objects as needed, not limited to three rounds, but can involve other rounds, such as one, two, or four rounds. For example, it can match access point numbers and access point supervisor numbers in one round, or it can match access point coordinates, access point numbers, and access point supervisor numbers in two rounds. Greedy nearest neighbor matching can partition the corresponding data of the same access points in single-line text entities, multi-line text entities, and block entities, facilitating subsequent matching and calculation.
[0040] Since some access point pipe dimensions cannot be obtained through identification from the single-line text entities, multi-line text entities, and block entities, the remaining access point numbers after greedy matching are split into units using the connector "-", and the last character of each split segment is taken as the corresponding access point pipe dimension. For example, after parsing access point number GN2-L10-W02-02-1, 1 is taken as the access point pipe dimension.
[0041] In one embodiment, obtaining the access point medium based on the identified access point number specifically involves: separating the number by "-" and matching each segment against a third-party system keyword set (setThirdSystem). If any segment contains a keyword, that segment is the medium identifier. For example, after parsing the access point number GN2-L10-W02-02-1, GN2 is used as the access point medium.
[0042] In one embodiment, obtaining the floor number of an access point based on its identified access point number using a regular expression specifically involves extracting the floor number from the access point number using a regular expression, supporting two naming conventions: "-L(\d+)-" or "-(\d+)F". For example, inputting "GN2-L10-W02-02-1" will output "10".
[0043] Step 120: Obtain the usage point dataset based on the secondary pipeline usage point equipment engineering drawing and external demand table.
[0044] In this step, the computer obtains the usage point dataset based on the secondary pipeline usage point equipment engineering drawing and the external demand table.
[0045] In one embodiment, obtaining the usage point dataset based on the secondary pipeline usage point equipment engineering drawing and the external demand table includes: Obtain the coordinates, number, and equipment number of the usage point based on the engineering drawing of the secondary pipeline usage point equipment. Based on the point of use number, obtain the point of use medium, point of use flow parameters, and the floor where the point of use is located from the external demand table; The obtained coordinates of the point of use, the number of the point of use, the device number of the point of use, the medium of the point of use, the flow parameters of the point of use, and the floor where the point of use is located are fused together with the number of the point of use as the representative to obtain the point of use dataset.
[0046] The method for obtaining the coordinates, number, and equipment number of the usage point based on the secondary pipeline usage point equipment engineering drawing is similar to that for obtaining the coordinates, number, pipe size, medium, and floor of the access point based on the primary pipeline engineering drawing in the previous embodiment, and will not be described in detail here. The usage point flow rate parameter can be the rated flow rate or the peak flow rate of the usage point.
[0047] The external demand table can be, for example, a data table containing usage point numbers, the corresponding usage point medium, usage point flow parameters, and the floor where the usage point is located, such as an Excel spreadsheet. In one embodiment, when calling the Excel data table, the open-source and stable third-party library libxl is first used to parse and read the Excel files containing manual assignment and usage point data. This approach helps ensure stable data reading.
[0048] The obtained usage point coordinates, usage point number, usage point device number, usage point medium, usage point flow parameters, and the floor where the usage point is located are fused together, represented by the usage point number, to obtain the usage point dataset. Specifically, the usage point dataset can be a lightweight data exchange format based on JavaScript. The usage point dataset includes multiple data units, each unit starting with, for example, the usage point number, followed by the corresponding usage point coordinates, usage point device number, usage point medium, usage point flow parameters, and the floor where the usage point is located.
[0049] Step 130: Based on the matching rules, filter the list of candidate matching access points from the access point dataset for the usage points in the usage point dataset.
[0050] In this step, the computer filters the access point list from the access point dataset for the usage points in the usage point dataset according to the matching rules.
[0051] In one embodiment, filtering a list of candidate matching access points from the access point dataset according to matching rules for access points in the usage point dataset includes: Based on the first point of use in the point of use dataset, access points of the same type as the media are filtered from the access point dataset to obtain a first candidate matching access point list; Based on the usage point traffic parameters in the usage point dataset, the first candidate matching access point list is filtered to obtain a second candidate matching access point list that meets the traffic requirements. Based on the coordinates of the first point of use in the point of use dataset, filter the second candidate matching access point list to obtain a third candidate matching access point list that meets the distance requirements; The third candidate matching access point list is the same as the candidate matching access point list corresponding to the first usage point.
[0052] In this embodiment, the first point of use can be any of the points of use. Before filtering based on the medium of the point of use, the access points on the same floor as the first point of use can be filtered first to ensure that the point of use and the access point are on the same floor.
[0053] In one embodiment, the distance requirement refers to the maximum threshold distance between the access point and the point of use.
[0054] In one embodiment, filtering a list of candidate matching access points from the access point dataset according to matching rules for access points in the usage point dataset includes: The usage points in the usage point dataset that are on the same device and use the same medium are grouped together. Based on the usage point media in the usage point dataset, the first usage point group filters access points of the same type from the access point dataset to obtain a first candidate matching access point list; Based on the usage point traffic parameters in the usage point dataset, the first usage point group filters access points that meet the traffic requirements from the first candidate matching access point list to obtain a second candidate matching access point list. Based on the coordinates of the first user point group in the user point dataset, the second candidate matching access point list is filtered to obtain a third candidate matching access point list that meets the distance requirements. The third candidate matching access point list is the candidate matching access point list corresponding to the first user point group.
[0055] In this embodiment, the process equipment is considered as a unit, and the usage points of the same medium on the same equipment are considered as units. Priority is given to supplying the medium from the same access point. The usage flow parameters of the usage points of the same medium on the same equipment are added together to filter access points that can simultaneously supply the medium. If the remaining rated supply flow of the access points of the same access point cannot meet the flow requirements, then access points are matched one by one on a per-user basis. The distance requirement refers to the maximum threshold distance between the access point and the user point.
[0056] Step 140: Select the matching access point of the usage point from the corresponding candidate matching access point list according to the distance optimal principle.
[0057] In this step, the computer selects a matching access point for the usage point from the corresponding candidate matching access point list based on the principle of optimal distance. For example, the computer calculates the distance between the first usage point and different access points in the corresponding candidate matching access point list based on the usage point coordinates of the first usage point, and selects the access point with the smallest distance as the matching access point for the first usage point, which then provides the medium.
[0058] The distance in this application is, for example, Euclidean distance. When calculating the Euclidean distance, for example, only the horizontal x-axis and y-axis coordinates of the point coordinates and the access point coordinates are used, while the height coordinate of the z-axis is ignored.
[0059] The method for matching usage points and access points of secondary pipelines in electronic engineering plants disclosed in this application involves obtaining an access point dataset based on a primary pipeline engineering diagram; obtaining a usage point dataset based on a secondary pipeline usage point equipment engineering diagram and an external demand table; filtering a list of corresponding candidate matching access points for usage points in the usage point dataset according to matching rules; and selecting a matching access point for each usage point from the corresponding candidate matching access point list based on the principle of optimal distance, thereby matching an optimal access point for each usage point.
[0060] In one embodiment, after a user point completes the matching of a matching access point, the remaining access point rated supply traffic of that matching access point is subtracted from the user point traffic of that user point to perform subsequent user point matching, thereby ensuring that the access point will not be overloaded.
[0061] In one embodiment, it supports importing manually prepared matching Excel spreadsheets, automatically parsing the binding relationships between usage points and access points within the spreadsheets, overwriting or supplementing automatically matched data, and completing the fusion of manually generated data and algorithmically matched data. After importing manually generated data, it automatically calculates the relationship between the rated supply traffic of the access point and the usage traffic of the matched usage points. When the total usage traffic of the usage points exceeds the rated supply traffic of the access point, a highlight or red prompt is displayed.
[0062] In one embodiment, a maximum load factor is set for the access points in the usage point dataset, wherein the maximum load factor is less than or equal to 1; when the usage point matches the access point, the access point's rated supply flow is multiplied by the maximum load factor. For example, the maximum load factor is 0.9. Multiplying the access point's rated supply flow by 0.9 ensures that the access point has a margin of 0.1 times its rated supply flow when fully loaded, providing a stable media supply to the usage point.
[0063] In one embodiment, when access points in the usage point dataset have reserved expansion requirements, when a usage point matches an access point, the reserved expansion capacity is deducted from the access point's rated supply traffic. After deducting the reserved expansion capacity, the access point provides media supply to the usage point, which can support subsequent expansion and capacity increase.
[0064] In one embodiment, valve disc association identifiers are assigned to different usage points using the same access point. These valve disc association identifiers for different usage points of the same access point can provide beneficial assistance and improve efficiency in subsequent engineering design and construction.
[0065] The matching method for the secondary piping usage points and access points in the electronic engineering plant of this application can be developed through a CAD secondary development interface.
[0066] Example 2 See Figure 2 , Figure 2 This is a schematic diagram of the structure of a computer device 200 provided in an embodiment of this disclosure. For example... Figure 2 As shown, the computer device in this embodiment may include one or more processors 201, a memory 202, and an input / output interface 203. The processor 201, memory 202, and input / output interface 203 are connected via a bus 204. The memory 202 stores a computer program, which includes program instructions. The input / output interface 203 receives and outputs data, such as for data interaction between the host machine and the computer device, or for data interaction between various virtual machines within the host machine. The processor 201 executes the program instructions stored in the memory 202.
[0067] The processor 201 can perform actions as described in the above embodiment, such as: Obtain the access point dataset based on the primary pipeline engineering diagram; obtain the usage point dataset based on the secondary pipeline usage point equipment engineering diagram and external demand table; filter the corresponding candidate matching access point list from the access point dataset for the usage points in the usage point dataset according to the matching rules; select the matching access point for the usage point from the corresponding candidate matching access point list according to the optimal distance principle.
[0068] In some feasible implementations, the processor 201 may be a central processing unit (CPU), but it can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.
[0069] The memory 202 may include read-only memory and random access memory, and provides instructions and data to the processor 201 and input / output interface 203. A portion of the memory 202 may also include non-volatile random access memory. For example, the memory 202 may also store device type information.
[0070] In practice, the computer device can execute the implementation methods provided by the steps in the above embodiments through its built-in functional modules. For details, please refer to the implementation methods provided by the steps in the above embodiments, which will not be repeated here.
[0071] This disclosure provides a computer device including a processor, an input / output interface, and a memory. The processor retrieves a computer program from the memory and executes the steps of the method shown in the above embodiments to perform a transmission operation.
[0072] This disclosure also provides a computer-readable storage medium storing a computer program adapted to be loaded by a processor and execute the methods provided in the steps of the above embodiments. Specific implementations of the steps in the above embodiments can be found therein and will not be repeated here. Furthermore, the beneficial effects of using the same method will not be repeated here either. For technical details not disclosed in the embodiments of the computer-readable storage medium involved in this disclosure, please refer to the description of the method embodiments of this disclosure. As an example, the computer program can be deployed to execute on a single computer device, or on multiple computer devices located in one location, or on multiple computer devices distributed across multiple locations and interconnected via a communication network.
[0073] The computer-readable storage medium can be the apparatus provided in any of the foregoing embodiments or the internal storage unit of the computer device, such as the hard disk or memory of the computer device. The computer-readable storage medium can also be an external storage device of the computer device, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., provided on the computer device. Furthermore, the computer-readable storage medium can include both internal storage units and external storage devices of the computer device. The computer-readable storage medium is used to store the computer program and other programs and data required by the computer device. The computer-readable storage medium can also be used to temporarily store data that has been output or will be output.
[0074] This disclosure also provides a computer program product or computer program that includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in the various alternative embodiments described above.
[0075] The terms "first," "second," etc., used in the specification, claims, and drawings of this disclosure are used to distinguish different objects, not to describe a specific order. Furthermore, the term "comprising," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, apparatus, product, or device that includes a series of steps or units is not limited to the listed steps or modules, but may optionally include steps or modules not listed, or may optionally include other step units inherent to these processes, methods, apparatuses, products, or devices.
[0076] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of each example have been generally described in terms of functionality. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this disclosure.
[0077] The methods and related apparatuses provided in this disclosure are described with reference to the method flowcharts and / or structural diagrams provided in this disclosure. Specifically, each block of the method flowchart and / or structural diagram, as well as combinations of blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions are provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable transmission device to create a machine, such that the instructions, which execute via the processor of the computer or other programmable transmission device, generate instructions for implementing the process. Figure 1 A schematic diagram of one or more processes and / or structures. Figure 1 The computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable transmission device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 A schematic diagram of one or more processes and / or structures. Figure 1 The functions specified in one or more boxes. These computer program instructions may also be loaded onto a computer or other programmable transmission device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable device for implementing the process. Figure 1 A process or multiple processes and / or structures illustrate the steps of the functions specified in one or more boxes.
[0078] The above-disclosed embodiments are merely preferred embodiments of this disclosure and should not be construed as limiting the scope of this disclosure. Therefore, any equivalent variations made in accordance with the claims of this disclosure shall still fall within the scope of this disclosure.
Claims
1. A method for matching the usage point and access point of secondary pipelines in an electronic engineering plant, characterized in that, Includes the following steps: Obtain the access point dataset based on a pipeline engineering diagram; Obtain the usage point dataset based on the secondary pipeline usage point equipment engineering drawings and external demand table; Based on the matching rules, a list of candidate matching access points is filtered from the access point dataset for the usage points in the usage point dataset. Based on the principle of optimal distance, the matching access point for the point of use is selected from the corresponding list of candidate matching access points.
2. The method according to claim 1, characterized in that, The access point dataset includes multiple access point numbers, as well as the coordinates of each access point number, the rated supply flow of the access point, the access point medium, and the floor where the access point is located. The process of obtaining the access point dataset based on a primary pipeline engineering diagram includes: Based on the primary piping engineering drawing, obtain the coordinates of the connection point, the connection point number, the pipe size at the connection point, the medium at the connection point, and the floor where the connection point is located; The rated supply flow rate of the access point is obtained based on the pipe size of the access point. The obtained access point coordinates, access point number, access point rated supply flow, access point medium, and the floor where the access point is located are fused together using the access point number as the representative to obtain the access point dataset.
3. The method according to claim 2, characterized in that, The step of obtaining the connection point number, connection point pipe size, connection point medium, and floor where the connection point is located based on the primary piping engineering drawing includes: Identify single-line text, multi-line text, and blocks from the primary pipeline engineering drawing using examples; For the single-line text, directly read the text of the single-line text to obtain the single-line text entity; For the multi-line text, the multi-line text is exploded into multiple single-line texts by the splitting tool of the engineering drawing software and then spliced together to obtain the multi-line text entity; For the block, when the block has a device number attribute, the content of the device number attribute is used as the block entity; when the block does not have a device number attribute, the attribute set of the block is traversed, and the content of the first non-empty attribute in the attribute set of the block is used as the block entity. Identify the access point number, access point pipe size, access point medium, and floor where the access point is located from the single-line text entity, the multi-line text entity, and the block entity according to the example format.
4. The method according to claim 3, characterized in that, Identifying the access point number, access point pipe size, access point medium, and floor where the access point is located from the single-line text entity, the multi-line text entity, and the block entity according to the example format includes: Identify the access point number and access point pipe size from the single-line text entity, the multi-line text entity, and the block entity according to the example format; The identified access point number and the identified access point pipe size are matched according to the greedy nearest neighbor algorithm to obtain the identified access point number corresponding to the identified access point pipe size. For the identified access point number for which no matching access point pipe size was found, split it by connector and take the last segment of characters after splitting as the corresponding access point pipe size. The access point medium is obtained based on the identified access point number; The floor where the access point is located is obtained using a regular expression based on the identified access point number.
5. The method according to claim 1, characterized in that, The process of obtaining the usage point dataset based on the secondary pipeline usage point equipment engineering drawings and external demand tables includes: Obtain the coordinates, number, and equipment number of the usage point based on the engineering drawing of the secondary pipeline usage point equipment. Based on the point of use number, obtain the point of use medium, point of use flow parameters, and the floor where the point of use is located from the external demand table; The obtained coordinates of the point of use, the number of the point of use, the device number of the point of use, the medium of the point of use, the flow parameters of the point of use, and the floor where the point of use is located are fused together with the number of the point of use as the representative to obtain the point of use dataset.
6. The method according to claim 5, characterized in that, Based on the matching rules, a list of candidate matching access points is filtered from the access point dataset, including: Based on the first point of use in the point of use dataset, access points of the same type as the media are filtered from the access point dataset to obtain a first candidate matching access point list; Based on the usage point traffic parameters in the usage point dataset, the first candidate matching access point list is filtered to obtain a second candidate matching access point list that meets the traffic requirements. Based on the coordinates of the first point of use in the point of use dataset, filter the second candidate matching access point list to obtain a third candidate matching access point list that meets the distance requirements; The third candidate matching access point list is the same as the candidate matching access point list corresponding to the first usage point.
7. The method according to claim 5, characterized in that, Based on the matching rules, a list of candidate matching access points is filtered from the access point dataset, including: The usage points in the usage point dataset that are on the same device and use the same medium are grouped together. Based on the usage point media in the usage point dataset, the first usage point group filters access points of the same type from the access point dataset to obtain a first candidate matching access point list; Based on the usage point traffic parameters in the usage point dataset, the first usage point group filters access points that meet the traffic requirements from the first candidate matching access point list to obtain a second candidate matching access point list. Based on the coordinates of the first user point group in the user point dataset, the second candidate matching access point list is filtered to obtain a third candidate matching access point list that meets the distance requirements. The third candidate matching access point list is the candidate matching access point list corresponding to the first user point group.
8. The method according to claim 1, characterized in that, Also includes: Set a maximum load factor for the access points in the usage point dataset, wherein the maximum load factor is less than or equal to 1; When the point of use matches the access point, the access point's rated supply flow rate is multiplied by the maximum load factor. When an access point in the usage point dataset has a reserved capacity expansion requirement, when the usage point matches the access point, the reserved capacity expansion capacity will be deducted from the rated supply capacity of the access point.
9. The method according to claim 1, characterized in that, Also includes: Assign valve panel association identifiers to different usage points that use the same access point.
10. A computer device, characterized in that, Includes processor, memory, and input / output interfaces; The processor is connected to the memory and the input / output interface respectively, wherein the input / output interface is used to receive data and output data, the memory is used to store computer programs, and the processor is used to call the computer programs so that the computer device executes the method according to any one of claims 1-9.