A mine water heating and power engineering design intelligent body modular customization method
By using a modular customization method based on intelligent agents, the problem of unstable connection between different parts of the drawings in the generation of mine water, heating and electrical engineering drawings was solved, realizing the orderly organization and accurate generation of drawings, and improving the continuity of drawings and the adaptation efficiency of computer-aided design.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- CHANGCHUN GOLD DESIGN INST
- Filing Date
- 2026-05-28
- Publication Date
- 2026-06-26
AI Technical Summary
In the generation of drawings for mine water, heating and electrical engineering, there is a lack of a unified processing mechanism between the front-end data organization and the back-end drawing generation. This makes it difficult to verify the consistency of equipment access relationships, pipeline connection relationships and supply and distribution relationships. As a result, the drawing generation efficiency is low and it is difficult to accurately repair abnormal locations and mismatched sections.
The modular customization method of intelligent body for mine water, heating and electricity engineering design is adopted. By collecting basic data, professional merging and regional mapping are performed to form engineering benchmark data. The knowledge base and standard base are called for joint retrieval, compatibility verification and priority screening are performed to form configuration sequence and parameter constraint table. In the CAD environment, standard blocks and historical scheme fragments are called to perform element mapping and parameter writing. Finally, complete drawings are formed through difference review and directional correction.
It enables the orderly organization and accurate generation of mine water, heating, and electrical drawings, improves the consistency of drawings and the adaptation efficiency of computer-aided design, reduces overall rework, and enhances the integrity and adaptability of drawing schemes.
Smart Images

Figure CN122287398A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer-aided design technology, and in particular to a modular customization method for intelligent design agents in mine water, heating and electrical engineering. Background Technology
[0002] Mine water, heating, and electrical engineering is an important component of supporting public works in mine construction. With the improvement of digital mine construction and professional collaboration, the generation of related drawings has gradually shifted from simple drawing to a computer-aided design processing mode that combines engineering data organization, professional classification, standard retrieval, reuse of historical drawings, and CAD tool calls. Especially in the configuration of mine surface facilities, underground auxiliary facilities, and public works, water supply and drainage, HVAC, and electrical drawings increasingly emphasize data-driven processes, professional collaboration, and drawing generation efficiency, thereby promoting the development of mine water, heating, and electrical engineering drawing processing towards intelligent computer-aided design.
[0003] Existing methods have several shortcomings. There is a lack of a unified processing mechanism between front-end data organization and back-end drawing generation, focusing on process service paths, spatial layout boundaries, and the order of professional interfaces. While equipment access relationships, pipeline connectivity relationships, and supply and distribution relationships can be organized separately, it is difficult to complete consistency verification and sequential arrangement before drawing, easily leading to unstable connections, regional boundary conflicts, and disordered interface sequences. Furthermore, post-drawing processing often remains at the level of problem identification or manual modification, lacking mechanisms for targeted correction, fragment replacement, and local redrawing based on parameter constraints, connections between different parts of the process, and standard clauses and process requirements. This makes it difficult to accurately repair abnormal locations and mismatched sections, affecting the continuity, accuracy, and computer-aided design adaptation efficiency of mine water, heating, and electrical drawings. Summary of the Invention
[0004] In view of the aforementioned existing problems, the present invention is proposed.
[0005] Therefore, this invention provides a modular customization method for intelligent agents in mine water, heating, and electrical engineering design to solve the problems of insufficient front-end programming and inaccurate back-end anomaly repair.
[0006] To solve the above-mentioned technical problems, the present invention provides the following technical solution: This invention provides a modular customization method for an intelligent agent in mine water, heating, and electrical engineering design. The method includes: collecting basic mine engineering data; performing professional merging, service object association, and regional mapping on the basic data to form engineering benchmark data; having the main control agent jointly retrieve data from a knowledge base, a specification base, and a historical drawing base; and organizing the joint retrieval results to form a set of candidate solution fragments. The main control agent then performs compatibility checks, priority screening, and sequential arrangement of equipment access relationships, pipeline connectivity relationships, and supply and distribution relationships within the candidate solution fragment set based on process service paths, spatial layout boundaries, and professional interface sequences to form a distribution... Set the sequence and parameter constraint table; send the configuration sequence and parameter constraint table into the CAD drawing process, call the standard blocks and historical scheme fragments corresponding to the configuration sequence in the CAD environment, determine the connection relationship and layout position between each element, and perform element mapping and parameter writing to form the initial drawing; send the initial drawing into the difference review process, and perform clause comparison, interface comparison and spatial conflict location based on the specification clauses, process requirements, parameter constraint table and the connection relationship in the configuration sequence, and perform orientation correction, fragment replacement and local redrawing for abnormal positions and mismatched sections to form the mine water, heating and electrical drawing scheme.
[0007] As a preferred embodiment of the modular customization method for intelligent agents in mine water, heating, and electrical engineering design according to the present invention, the specific steps for forming a candidate solution fragment set are as follows: Collect basic data on mining engineering, perform consistency processing and professional merging on the basic data on mining engineering, and obtain professional merging results; Based on the professional merging results, service object association and regional mapping are performed to establish a correspondence between professional content, service objects and regional locations in the professional merging results, and to obtain engineering benchmark data; Based on engineering benchmark data, the master control agent calls the knowledge base, standard base and historical drawing base to perform joint retrieval, and organizes the joint retrieval results according to professional category, service object and regional location to obtain a set of candidate solution fragments.
[0008] As a preferred embodiment of the modular customization method for intelligent agents in mine water, heating, and electrical engineering design according to the present invention, the specific steps for forming the configuration sequence and parameter constraint table are as follows: The equipment access relationships, pipeline connectivity relationships, and supply and distribution relationships in the candidate solution fragment set are organized accordingly to form the verification content; Based on the process service path, spatial layout boundary and professional interface sequence, a compatibility check is performed on the verification content, and the content that can be continuously connected is retained as the screening basis; The process service path is determined based on the water supply, drainage, heating, ventilation, power supply, and grounding relationships in the engineering baseline data; The spatial layout boundary is determined based on the regional location in the engineering baseline data and the regional boundary in the candidate scheme fragment; The order of the professional interfaces is determined based on the sequential connection relationships between the access objects, connection positions, and supply / distribution objects in the candidate solution fragments. Based on the process service path, spatial layout boundary, and professional interface sequence, the screening criteria are sequentially screened to form the compilation content; The orchestration is performed sequentially based on the content, and the connection positions, area boundaries, access objects, and supply and distribution objects corresponding to the sequential orchestration are organized into constraints to form a configuration sequence and parameter constraint table.
[0009] As a preferred embodiment of the modular customization method for intelligent design of mine water, heating, and electrical engineering projects according to the present invention, the specific steps for forming the initial drawings are as follows: The sequential positions in the configuration sequence are matched one by one with the connection positions, area boundaries, access objects, and supply and distribution objects in the parameter constraint table. Standard blocks and historical scheme fragments are called in the CAD environment and the corresponding arrangement is completed. Identify the connection points, insertion base points, and boundary baselines of the standard blocks and historical scheme fragments that have been arranged, and assign them to the interface connection anchor points, element insertion positions, and local layout boundaries, respectively, to determine the connection relationships and layout positions. Based on the connection relationship and layout, perform element mapping and parameter writing, continuously organize the connection position, occupation position and boundary position of adjacent elements to form the initial drawing.
[0010] As a preferred embodiment of the modular customization method for intelligent design of mine water, heating, and electrical engineering projects according to the present invention, the specific steps for forming the mine water, heating, and electrical drawing scheme are as follows: The initial drawings, parameter constraint tables, and configuration sequences are expanded accordingly. Differences are reviewed for connection positions, placeholder positions, and boundary positions in the initial drawings to form comparison content. Based on the sequential relationships in the specification clauses, process requirements, parameter constraint tables, and configuration sequences, the comparison content is compared by clause comparison, interface comparison, and spatial conflict location to identify abnormal locations and mismatched sections. Perform orientation correction on abnormal locations and mismatched sections, and replace the primitive fragments that can no longer be retained to form a redrawing range; Perform partial redrawing on the redrawing area, and continuously organize the connection positions, occupancy positions and boundary positions after redrawing to form a mine water, heating and electrical drawing scheme.
[0011] As a preferred embodiment of the modular customization method for intelligent agents in mine water, heating, and electrical engineering design according to the present invention, the specific steps for forming the comparison content are as follows: The graphic elements in the initial drawing are sequentially matched according to the order in the configuration sequence, and the connection position, place position and boundary position of each graphic element in the initial drawing are matched with the connection position, area boundary, access object and supply object in the parameter constraint table one by one. The connection positions, placeholder positions, and boundary positions in the initial drawings were reviewed item by item, and then organized in the order of the configuration sequence to form comparison content.
[0012] As a preferred embodiment of the modular customization method for intelligent agents in mine water, heating, and electrical engineering design according to the present invention, the specific steps for forming the redrawing range are as follows: The connection positions, occupied positions, and boundary positions in abnormal positions and mismatched sections are corrected item by item, and the content that can restore consistency is retained as the corrected content. Graphical fragments that still have connection interruptions, placeholder conflicts, boundary overruns, or inconsistent connections after correction are identified as graphic fragments that cannot be retained. For primitive fragments that cannot be retained, fragment replacement is performed, and the corrected retained content and the replaced primitive fragments are merged and organized to form the redrawing area.
[0013] As a preferred embodiment of the modular customization method for intelligent body design of mine water, heating and electrical engineering described in this invention, the screening basis refers to the screening basis formed by correspondingly organizing the retained content according to the sequential order in the process service path, the regional boundary in the spatial layout boundary, and the sequential connection relationship in the professional interface order after performing compatibility verification on the verification content.
[0014] As a preferred embodiment of the modular customization method for intelligent agents in mine water, heating, and electrical engineering design according to the present invention, the specific steps for determining the connection relationships and layout positions are as follows: The connection points, insertion base points, and boundary baselines in the completed standard blocks and historical scheme fragments are respectively determined as interface connection anchor points, element insertion positions, and local layout boundaries; The connection points, insertion base points, and boundary baselines between adjacent standard map blocks and historical scheme fragments are checked, and the connection relationships and layout positions between standard map blocks and historical scheme fragments are determined.
[0015] As a preferred embodiment of the modular customization method for intelligent design of mine water, heating and electrical engineering described in this invention, the interface connection anchor point, the element insertion position and the local layout boundary are determined by the connection end, insertion base point and boundary baseline in the standard block and the historical scheme fragment, respectively.
[0016] The beneficial effects of this invention are as follows: By performing compatibility checks, priority screening, and sequential arrangement on the equipment access relationships, pipeline connectivity relationships, and supply and distribution relationships in the candidate scheme fragment set, a configuration sequence and parameter constraint table are formed, realizing the orderly organization and computer-aided design constraints of the front-end scheme of mine water, heating, and electrical drawings, thereby improving the coherence and accuracy of subsequent drawing generation; by performing clause comparison, interface comparison, and spatial conflict location on the initial drawings, and performing directional correction, fragment replacement, and local redrawing on abnormal positions and mismatched sections, the computer-aided design repair of abnormal sections in the back-end of mine water, heating, and electrical drawings is realized, thereby reducing overall rework and improving the integrity and adaptability of the drawing scheme. Attached Figure Description
[0017] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the following description of the embodiments will be briefly introduced. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 A flowchart of a modular customization method for intelligent agents in mine water, heating, and electrical engineering design.
[0019] Figure 2 This is a flowchart for engineering baseline data and configuration arrangement.
[0020] Figure 3 This is a flowchart for CAD element mapping and initial drawing generation.
[0021] Figure 4 A flowchart for difference review and partial redrawing.
[0022] Figure 5 A comparison chart of configuration and orchestration consistency data.
[0023] Figure 6 This is a comparison chart of indicator data during the drawing review and repair phase. Detailed Implementation
[0024] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
[0025] Many specific details are set forth in the following description in order to provide a full understanding of the invention. However, the invention may also be practiced in other ways different from those described herein, and those skilled in the art can make similar extensions without departing from the spirit of the invention. Therefore, the invention is not limited to the specific embodiments disclosed below.
[0026] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The phrase "in one embodiment" appearing in different places in this specification does not necessarily refer to the same embodiment, nor is it a single or selective embodiment that is mutually exclusive with other embodiments.
[0027] Reference Figures 1-6 As one embodiment of the present invention, this embodiment provides a modular customization method for intelligent agents in mine water, heating, and electrical engineering design, comprising the following steps: S1. Collect basic data of mining engineering, professionally merge the basic data, associate service objects and map regions to form engineering benchmark data, and the main control agent calls the knowledge base, standard base and historical drawing base for joint retrieval, and organizes the joint retrieval results to form a set of candidate scheme fragments.
[0028] S1.1 Collect basic data of mining engineering, perform consistency processing and professional merging on the basic data of mining engineering, and obtain professional merging results.
[0029] It should be noted that the collection of basic data for mining engineering includes design documents, external commissioned basic data, and drawings related to mining water, heating, and electricity engineering. Among them, design documents include calculation sheets, equipment lists, and material statistics sheets; external commissioned basic data includes design commission letters, test reports, and geological survey reports; and drawings include existing drawings and historical plan drawings consistent with the service recipients, regional locations, or project types.
[0030] Consistency processing is performed on the name, specialty, location, and object fields in the basic mining engineering data. Name fields with the same meaning but different descriptions are unified into the same name description. Location fields are mapped to the same regional location, and object fields are mapped to the same service object. Duplicate records, records with missing correspondences between specialty and object fields, records with missing correspondences between object and location fields, and conflicting records are removed or merged to form the organized basic mining engineering data. Based on the specialty, object, and location fields in the organized basic mining engineering data, content belonging to water supply and drainage, HVAC, and electrical systems, as well as content that plays a role in water supply, drainage, heating, ventilation, power supply, or grounding coordination for water supply and drainage, HVAC, and electrical systems, is professionally merged. Content under the same specialty corresponding to the same service object, the same regional location, or the same supply and distribution purpose is grouped into the same specialty category to form the specialty merging results.
[0031] S1.2. Based on the professional merging results, perform service object association and regional mapping to establish a correspondence between professional content, service objects and regional locations in the professional merging results, and obtain engineering benchmark data.
[0032] It should be noted that, based on the object field and location field in the professional merging results, the water supply and drainage content, HVAC content, and electrical content corresponding to the same service object are grouped into the professional content set under the same service object; based on the location field in the professional merging results, the professional content set under the same service object is mapped to the same regional location, forming a preliminary correspondence between professional content, service object, and regional location.
[0033] Based on the initial correspondence, further check whether there are any relationships between the water supply and drainage, HVAC, and electrical contents, such as water supply, drainage, heating, ventilation, power supply, or grounding. Professional contents with the aforementioned relationships and consistent service objects and regional locations are retained in the correspondence. Content with only a professional category but unable to correspond to a service object or regional location is removed. Content that corresponds to multiple service objects or multiple regional locations and has conflicts is re-corresponded after being standardized according to the name, object, and location fields in the professional merging results. The re-corresponded professional contents, service objects, and regional locations form a unified correspondence, which is then organized according to professional category, service object, and regional location to obtain the engineering baseline data.
[0034] S1.3 Based on engineering benchmark data, the main control agent calls the knowledge base, standard base and historical drawing base to perform joint retrieval, and organizes the joint retrieval results according to professional category, service object and regional location to obtain a set of candidate solution fragments.
[0035] It should be noted that the master control agent is the control entity used to perform retrieval and organization in the AI application (Agent) development platform; the knowledge base is the knowledge storage and management resource in the enterprise knowledge application platform; the standard library is the standard retrieval resource formed by the construction of the industry standard library; and the historical drawing library is the drawing retrieval resource formed by the original drawings and historical scheme drawings stored on the platform.
[0036] The main control agent uses the professional category, service object, and regional location in the engineering benchmark data as the joint retrieval basis, and calls the knowledge base, standard base, and historical drawing base respectively. Specifically, it retrieves knowledge materials related to the corresponding professional category, service object, and regional location in the knowledge base, retrieves standard clauses related to the corresponding professional category, service object, and regional location in the standard base, and retrieves historical scheme drawings related to the corresponding professional category, service object, and regional location in the historical drawing base.
[0037] Knowledge materials, standard provisions, and historical plan drawings are compared and matched according to the same professional category, service object, and regional location. Content with consistent professional category, service object, and regional location, and corresponding to the engineering benchmark data, is retained. Content with inconsistent professional category, service object, regional location, or that cannot correspond to the engineering benchmark data is removed. The retained content is then organized according to professional category, service object, and regional location, and candidate plan fragments are segmented for both text and drawing content. The smallest reusable unit that can independently represent a single service object and a single relationship type under a single regional location is used as the segmentation unit. Text content is segmented according to the complete record of equipment name, access object, connection location, supply and distribution object, and regional boundary. Drawing content is segmented according to the combination of local graphic elements that can independently represent equipment access relationship, pipeline connection relationship, or supply and distribution relationship and have closed boundaries. After segmentation, each candidate plan fragment contains at least one representation of professional category, service object, regional location, and equipment access relationship, pipeline connection relationship, or supply and distribution relationship, forming a candidate plan fragment set.
[0038] The expression for the joint search is, ; in, This represents the set of candidate solution fragments after filtering. This represents the set of original candidate solution fragments obtained after joint retrieval; Indicates the fragment index of the candidate solution; Indicates the first The professional categories corresponding to each candidate scheme fragment; This indicates the target professional category corresponding to the engineering benchmark data; Indicates the first The service objects corresponding to each candidate solution fragment; This indicates the target service object corresponding to the engineering baseline data; Indicates the first The location of the region corresponding to each candidate solution segment; This indicates the location of the target area corresponding to the engineering benchmark data; Indicates the first The retrieval matching judgment value of the candidate solution fragment, when the... The value is 1 if the professional category corresponding to a candidate solution fragment is equal to the target professional category, the service object is equal to the target service object, and the regional location is equal to the target regional location; otherwise, it is 0.
[0039] The retrieval matching judgment value is used for the attribution filtering after joint retrieval; the "correspondence before and after" in the subsequent steps is used to judge the consistency of connection between candidate scheme fragments in terms of access object, connection position and supply object. The two have different meanings. The former is the retrieval attribution consistency judgment, and the latter is the orchestration connection consistency judgment.
[0040] S2. The main control agent performs compatibility checks, priority screening, and sequential arrangement of the equipment access relationships, pipeline connectivity relationships, and supply and distribution relationships in the candidate solution fragment set according to the process service path, spatial layout boundary, and professional interface sequence, forming a configuration sequence and parameter constraint table.
[0041] S2.1 Organize the equipment access relationships, pipeline connection relationships, and supply and distribution relationships in the candidate solution fragment set to form the verification content.
[0042] It should be noted that candidate solution fragments are categorized according to their professional categories, service targets, and regional locations. Candidate solution fragments corresponding to the same professional category, service target, and regional location are grouped into the same corresponding range. Within the same corresponding range, the equipment name, access object, connection location, supply and distribution object, and regional boundary are extracted. Content that can characterize the equipment access relationship is mapped to the access object and connection location, content that can characterize the pipeline connectivity relationship is mapped to the connection location and regional boundary, and content that can characterize the supply and distribution relationship is mapped to the supply and distribution object and access object.
[0043] Cross-check the equipment access relationships, pipeline connection relationships, and supply and distribution relationships. Retain those with consistent access objects, corresponding connection locations, corresponding supply and distribution objects, and no conflicting area boundaries. Eliminate or merge those with inconsistent access objects, non-corresponding connection locations, unclear supply and distribution objects, or conflicting area boundaries. The eliminated or merged equipment access relationships, pipeline connection relationships, and supply and distribution relationships form the verification content.
[0044] S2.2. Based on the process service path, spatial layout boundary and professional interface sequence, perform compatibility verification on the verification content and retain the content that can be continuously connected as the screening basis.
[0045] It should be noted that the process service path is determined based on the water supply, drainage, heating, ventilation, power supply, and grounding relationships among various professional contents in the engineering baseline data, and in conjunction with the corresponding relationships of equipment access, pipeline connection, and supply and distribution in the verification content; the spatial layout boundary is determined based on the regional location in the engineering baseline data and the regional boundary in the verification content; the professional interface sequence is determined based on the sequential connection relationships between access objects, connection locations, and supply and distribution objects in the verification content.
[0046] The equipment access relationships, pipeline connectivity relationships, and supply and distribution relationships in the verification content are respectively mapped to the sequential order in the process service path, the area boundary in the spatial layout boundary, and the sequential connection relationship in the professional interface sequence. Check whether the access objects in the equipment access relationship correspond to the supply and distribution objects in the supply and distribution relationship, whether the connection positions in the pipeline connectivity relationship correspond to the connection positions in the equipment access relationship, whether the sequential order of the equipment access relationship, pipeline connectivity relationship, and supply and distribution relationship in the process service path is continuous, whether the area boundary in the spatial layout boundary conflicts, and whether there are reverse connections, jump connections, or incorrect connections in the sequential connection relationship in the professional interface sequence.
[0047] The expression for compatibility verification is: ; ; in, Indicates the first The compatibility check value of each candidate solution segment; This represents the set of screening criteria retained after compatibility verification. Indicates the first The corresponding determination value of the access object in each candidate solution segment is set to 1 if the access objects are corresponding, and 0 otherwise. Indicates the first The corresponding value of the connection position in each candidate solution segment is set to 1 if the connection position is corresponding, and 0 otherwise. Indicates the first The corresponding value of the supply object in each candidate solution segment is set to 1 if the two segments correspond, and 0 otherwise. Indicates the first The regional boundary compatibility determination value of each candidate solution fragment and its adjacent candidate solution fragments in the same service object and the same area location is set to 1 when the corresponding occupied range does not overlap or the overlap length is not greater than the allowable gap threshold; otherwise, it is set to 0. Indicates the first The consistency value of the professional interface order in each candidate solution segment is determined by whether the order is consistent or not. If the order is consistent, the value is 1; otherwise, the value is 0.
[0048] The comparison objects are the occupied range and regional boundaries of adjacent candidate scheme segments under the same service object and the same regional location. Boundary comparison is performed on the occupied range of adjacent candidate scheme segments. When there is no regional overlap, boundary crossing or cross-intrusion between the two, it is determined that the regional boundaries do not conflict. When there is regional overlap, boundary crossing or cross-intrusion between the two, and the overlap length is greater than the allowable gap threshold, it is determined that the regional boundaries conflict.
[0049] The allowable gap threshold is set based on the maintenance access distance, equipment installation distance, pipeline clearance requirements, and historical drawing layout experience values for the corresponding area location. Specifically, it can be set according to the area category and layout density. For example, it can be set to 50mm to 100mm in densely equipped areas, 100mm to 200mm in areas with parallel conventional pipelines, and 200mm to 300mm in maintenance access or safety reserve areas.
[0050] The consistency judgment value for the order of professional interfaces is not the same concept as the inconsistency of clauses. The consistency judgment value for the order of professional interfaces is used in the compatibility verification stage to determine whether the interface connection order between adjacent candidate solution segments conforms to the process service path and professional connection logic. If the output interface of the preceding candidate solution segment and the input interface of the following candidate solution segment are connected in sequence according to the process service path and professional interface order, and there is no reverse connection, jump connection, wrong connection or inversion, the value is 1; otherwise, the value is 0. This belongs to the front-end arrangement consistency judgment. The inconsistency of clauses is used in the difference review stage to determine whether the connection position, placeholder position and boundary position in the initial drawing conform to the specification clauses and process requirements. This belongs to the back-end compliance judgment.
[0051] Content that corresponds to the access objects, the connection positions, the process service paths, the spatial layout boundaries, and the professional interface order is retained. Content that does not correspond to the access objects, the connection positions, the process service paths, the spatial layout boundaries, or the professional interface order is eliminated. The retained content is then organized according to the sequential order in the process service paths, the regional boundaries in the spatial layout boundaries, and the sequential connection relationships in the professional interface order, and this is used as the screening basis.
[0052] S2.3. According to the process service path, spatial layout boundary and professional interface sequence, the screening basis is sequentially screened to form the arrangement content.
[0053] It should be noted that when performing sequential screening based on the process service path, spatial layout boundary, and professional interface sequence, the equipment access relationship, pipeline connection relationship, and supply and distribution relationship in the screening criteria are respectively mapped to the preceding and following order in the process service path, the area boundary in the spatial layout boundary, and the preceding and following connection relationship in the professional interface sequence. The preceding and following order in the process service path is used as the primary screening criterion, with the content corresponding to the preceding order placed before the content corresponding to the following order. If the preceding and following order in the process service path is the same, the area location defined by the area boundary in the spatial layout boundary is used as a further screening criterion, with the content corresponding to the preceding area location placed before the content corresponding to the following area location. If the preceding and following order in the process service path and the area location defined by the spatial layout boundary cannot be distinguished in terms of priority, the preceding and following connection relationship in the professional interface sequence is used as a further screening criterion, with the content corresponding to the preceding connection relationship placed before the content corresponding to the following connection relationship.
[0054] For content with continuous sequential order in the process service path, no conflicting regional boundaries in the spatial layout boundary, and consistent sequential connection relationships in the professional interface sequence, retain the original correspondence and determine the order. For content with overlapping sequential order in the process service path, overlapping and conflicting regional boundaries in the spatial layout boundary, or disordered sequential connection relationships in the professional interface sequence, readjust the order according to the sequential order in the process service path, the regional boundaries in the spatial layout boundary, and the sequential connection relationships in the professional interface sequence. After the order adjustment is completed, arrange the equipment access relationships, pipeline connection relationships, and supply and distribution relationships with determined order in a corresponding manner with the former first and the latter last, forming the arrangement content.
[0055] S2.4. Perform sequential arrangement based on the arrangement content, and organize the connection positions, area boundaries, access objects and supply and distribution objects corresponding to the sequential arrangement into constraint items to form a configuration sequence and parameter constraint table.
[0056] It should be noted that, according to the established order of precedence in the arrangement content, the equipment access relationship, pipeline connection relationship, and supply and distribution relationship are arranged continuously. The content that is adjacent and can be directly connected is kept as continuous content. The content that is adjacent but has mismatched access objects, discontinuous connection positions, mismatched supply and distribution objects, or conflicting area boundaries is separated from the continuous content and rearranged to the corresponding positions according to the order of precedence in the arrangement content, forming a configuration sequence arranged continuously in the order of precedence.
[0057] Further, each item in the configuration sequence is extracted, including connection location, area boundary, access object, and supply / distribution object. The connection location is mapped to a connection constraint item, the area boundary to a boundary constraint item, the access object to an access constraint item, and the supply / distribution object to a supply / distribution constraint item. Then, the connection constraint item, boundary constraint item, access constraint item, and supply / distribution constraint item are arranged in the order of the configuration sequence to ensure that each constraint item is consistent with its corresponding position in the configuration sequence, thus forming a configuration sequence and parameter constraint table.
[0058] Figure 5 This document demonstrates the changes in configuration orchestration consistency metrics for the proposed solution, the manual template orchestration solution, and the single-rule sorting solution under different test scenarios. The top image shows a comparison of the complete test scenarios, while the bottom image shows a magnified comparison of specific parts. Figure 5 As can be seen, the curve corresponding to the scheme in this embodiment is higher than that of the manual template arrangement scheme and the single rule sorting scheme, indicating that by performing compatibility verification, order screening and sequential arrangement on the candidate scheme fragments, the consistency and stability of the configuration arrangement results can be improved. The enlarged local image further shows that the scheme in this embodiment still maintains better performance near the feature peak position and the local maximum difference point, indicating that it can more effectively reduce interface misconnection, boundary conflict and order disorder.
[0059] Figure 5 The “Scheme of this embodiment” refers to the scheme that uses candidate scheme fragments to organize, verify compatibility, screen order and arrange in sequence to form a configuration sequence and parameter constraint table; the “Manual template arrangement scheme” refers to the scheme that arranges in sequence based solely on human experience and fixed templates; the “Single rule sorting scheme” refers to the scheme that sorts based solely on a single professional order or a single regional position order without performing joint compatibility verification.
[0060] It should also be noted that existing technologies typically use manual experience or fixed templates to simply arrange equipment access relationships, pipeline connectivity relationships, and supply and distribution relationships to complete the scheme organization. However, this approach lacks unified verification and prioritization processing around process service paths, spatial layout boundaries, and professional interface sequences, which can easily lead to unstable connections, regional boundary conflicts, and disordered interface sequences. This scheme, on the other hand, organizes, verifies, prioritizes, and arranges candidate scheme fragments to form a configuration sequence and parameter constraint table. This ensures that equipment access relationships, pipeline connectivity relationships, and supply and distribution relationships have a clear organizational foundation with well-defined regional boundaries and consistent interface sequences before entering subsequent drawing. This is beneficial for improving the coherence and accuracy of subsequent drawing generation, reducing the amount of drawing adjustments, and improving the efficiency and adaptability of mine water, heating, and electrical drawing schemes.
[0061] S3. Input the configuration sequence and parameter constraint table into the CAD drawing process, call the standard blocks and historical scheme fragments corresponding to the configuration sequence in the CAD environment, determine the connection relationship and layout position between each element, and perform element mapping and parameter writing to form the initial drawing.
[0062] S3.1 Match the sequential positions in the configuration sequence with the connection positions, area boundaries, access objects, and supply and distribution objects in the parameter constraint table one by one. In the CAD environment, call the standard blocks and historical scheme fragments and complete the corresponding arrangement.
[0063] It should be noted that the CAD environment is a processing environment used to open historical scheme drawings and call standard blocks to generate drawings. The standard blocks come from the standard block library of various disciplines, and the historical scheme fragments come from the original drawings and historical scheme drawing content stored on the platform. According to the order of the configuration sequence and the connection position, area boundary, access object and supply object in the parameter constraint table, each item is matched one by one. The order of the corresponding sequence, connection position, area boundary, access object and supply object are used as the basis for calling. The standard blocks and historical scheme fragments corresponding to the equipment access relationship, pipeline connection relationship and supply relationship are selected. The standard blocks and historical scheme fragments corresponding to the preceding content are arranged before the standard blocks and historical scheme fragments corresponding to the following content. According to the connection position in the parameter constraint table, the corresponding content is arranged to the corresponding connection position. According to the area boundary in the parameter constraint table, the corresponding content is arranged to the corresponding area. At the same time, the correspondence between the access object and the supply object in the preceding and following positions is maintained, and the corresponding arrangement of standard blocks and historical scheme fragments in the CAD environment is completed.
[0064] S3.2 Identify the connection ends, insertion base points, and boundary baselines of the completed standard blocks and historical scheme fragments, and assign them to the interface connection anchor points, element insertion positions, and local layout boundaries, respectively, to determine the connection relationships and layout positions.
[0065] It should be noted that, based on the connection positions, area boundaries, access objects, and supply objects after the corresponding layout is completed, the corresponding positions used to indicate the connection parts in each standard block and historical scheme fragment are identified, and the corresponding positions of the connection parts are used as connection ends; the corresponding positions used to indicate the layout start positions in each standard block and historical scheme fragment are identified, and the corresponding positions of the layout start positions are used as insertion base points; the corresponding positions used to indicate the occupancy range and area limitation range in each standard block and historical scheme fragment are identified, and the corresponding positions of the occupancy range and area limitation range are used as boundary baselines; each connection end is matched with the connection positions in the parameter constraint table, and the connection ends that can form a continuous connection with the adjacent content before and after are determined as interface connection anchor points; each insertion base point is matched with the front and back positions and area boundaries after the corresponding layout is completed, and the insertion base point used to determine the starting position of the element placement is determined as the element insertion position; each boundary baseline is matched with the area boundaries in the parameter constraint table, and the boundary baseline used to limit the current layout range is determined as the local layout boundary.
[0066] After determining the interface connection anchor points, element insertion positions, and local layout boundaries, further check whether the connection ends between adjacent standard blocks and historical scheme fragments correspond, whether the insertion base points correspond to the previous and previous positions and regional boundaries, and whether the boundary baselines correspond to the regional boundaries. Retain the correspondences where the connection ends correspond, the insertion base points correspond, and the boundary baselines do not conflict, and determine the connection relationships and layout positions between standard blocks and historical scheme fragments.
[0067] S3.3. Perform element mapping and parameter writing according to the connection relationship and layout position, and continuously organize the connection position, occupation position and boundary position of adjacent elements to form the initial drawing.
[0068] It should be noted that the interface connection anchor points in the standard blocks and historical scheme fragments are mapped to the connection positions in the parameter constraint table, the element insertion positions are mapped to the determined layout positions, and the local layout boundaries are mapped to the area boundaries in the parameter constraint table. Adjacent standard blocks and historical scheme fragments are then mapped sequentially. After the element mapping is complete, the connection positions, area boundaries, access objects, and supply / distribution objects in the parameter constraint table are mapped to the completed standard blocks and historical scheme fragments, respectively. Parameters are written to the element content corresponding to the connection positions, area boundaries, access objects, and supply / distribution objects. Further checks are performed to ensure the continuity of connection positions, consistency of placement positions, and conflict of boundary positions between adjacent elements. For parts with interrupted connection positions, misaligned placement positions, or overlapping boundary positions, connection adjustments, position adjustments, and boundary rectification are performed to ensure continuous connection relationships, consistent layout positions, and no conflicting area boundaries between adjacent elements, thus forming the initial drawing.
[0069] Figure 6 This paper presents a comparison of relevant indicators in the drawing review and repair stage between the proposed solution, the alarm-only solution without redrawing, and the manual partial modification solution; Figure 6 As can be seen, the proposed solution outperforms the alarm-only solution and the manual partial modification solution in all four indicators: clause compliance rate, interface repair accuracy rate, spatial conflict elimination rate, and overall rework reduction rate. This demonstrates that by performing directional correction, fragment replacement, and partial redrawing on abnormal locations and mismatched sections, the continuity and standard compliance of drawings can be restored more accurately, and the overall rework volume can be reduced.
[0070] Figure 6 The “Solution of this embodiment” refers to a complete processing scheme that employs clause comparison, interface comparison, spatial conflict location, directional correction, fragment replacement, and local redrawing; the “Alarm-only without redrawing scheme” refers to a scheme that only outputs abnormal locations and mismatched sections without performing fragment replacement and local redrawing; the “Manual local modification scheme” refers to a scheme in which designers manually repair according to prompts but do not perform directional correction according to configuration sequences and parameter constraint tables.
[0071] S4. Submit the initial drawings to the difference review process. Based on the specifications, process requirements, parameter constraint tables and the connection between the preceding and following parts of the configuration sequence, perform clause comparison, interface comparison and spatial conflict location, and perform directional correction, fragment replacement and local redrawing on abnormal positions and mismatched sections to form a mine water, heating and electrical drawing scheme.
[0072] S4.1 Expand the initial drawings, parameter constraint table and configuration sequence accordingly, and perform a difference review on the connection positions, placeholder positions and boundary positions in the initial drawings to form comparison content.
[0073] It should be noted that the graphic elements in the initial drawing are sequentially matched according to the order in the configuration sequence. The connection positions, placeholder positions, and boundary positions of each graphic element in the initial drawing are matched item by item with the connection positions, area boundaries, access objects, and supply objects in the parameter constraint table. The arrangement relationship in the configuration sequence is matched with the connection relationship between adjacent graphic elements in the initial drawing, so that the initial drawing, parameter constraint table, and configuration sequence form a corresponding relationship under the same order. Based on the correspondence, the connection positions in the initial drawing are checked to see if they are consistent with the connection positions in the parameter constraint table, whether the placeholder positions are consistent with the order and arrangement positions in the configuration sequence, and whether the boundary positions fall within the area boundaries in the parameter constraint table. The content that corresponds and the content that deviates during the review process are marked accordingly. Then, the review results of the connection positions, placeholder positions, and boundary positions are sorted according to the order in the configuration sequence to form the comparison content.
[0074] S4.2. Based on the preceding and following connections in the specification clauses, process requirements, parameter constraint tables, and configuration sequences, perform clause comparison, interface comparison, and spatial conflict location to identify abnormal locations and mismatched sections.
[0075] It should be noted that the standard provisions are retained and reorganized, and the process requirements are based on the requirements in the engineering benchmark data that correspond to the service objects, regional locations, and water supply, drainage, heating, ventilation, power supply, or grounding relationships. The parameter constraint table and configuration sequence are also adopted. The connection positions, occupancy positions, and boundary positions in the comparison content are compared with the corresponding requirements in the standard provisions. Connection positions, occupancy positions, or boundary positions that are inconsistent with the standard provisions are marked as abnormal positions.
[0076] The connection positions, access objects, and supply and distribution objects in the comparison content are compared with the connection positions, access constraints, and supply and distribution constraints in the parameter constraint table. The connection and distribution relationship in the configuration sequence are combined to check whether there are any cases of mismatched access objects, mismatched supply and distribution objects, discontinuous connection positions, or interrupted connection between adjacent contents. The continuous deviation range with the above situations is marked as the mismatch section.
[0077] Spatial conflict location is performed on the occupancy positions, boundary positions, and the arrangement relationship between adjacent contents and the corresponding positions in the process requirements for abnormal positions and mismatched sections. Parts with overlapping occupancy, boundary overstepping, interlacing conflicts, or inconsistent service object corresponding area positions are merged into abnormal positions. Abnormal positions and mismatched sections are arranged in the order of the configuration sequence to form abnormal positions and mismatched sections.
[0078] The expression for determining abnormal locations and mismatched sections is as follows: ; ; in, This represents the set of ranges corresponding to abnormal locations and mismatched segments. This represents the set of abnormal locations determined by clause comparison; This represents the set of mismatched segments determined by interface comparison; This represents the set of anomalous locations determined by spatial conflict localization. Indicates the primitive index; This represents the set of elements in the initial drawing; Indicates the first The text comparison judgment value of each graphic element is set to 1 if there is a text inconsistency, and 0 otherwise. Indicates the first The interface comparison judgment value of each graphic element is set to 1 if there is an interface inconsistency, and 0 otherwise. Indicates the first The spatial conflict location determination value for each primitive is set to 1 if a spatial conflict exists, and 0 otherwise.
[0079] S4.3 Perform orientation correction on abnormal locations and mismatched sections, and replace the primitive fragments that cannot be retained to form a redrawing range.
[0080] It should be noted that when performing directional correction on abnormal locations and mismatched sections, the connection positions, occupying positions, and boundary positions in abnormal locations and mismatched sections are corrected item by item according to the specifications, process requirements, parameter constraint tables, and the connection relationships in the configuration sequence. Content that can be restored to consistency through position adjustment, connection direction adjustment, and connection relationship adjustment is retained as the corrected content. The continuity of the connection relationships between each graphic element in the corrected content is further checked, whether the occupying position is consistent with the corresponding area position, and whether the boundary position is consistent with the area boundary in the parameter constraint table. Graphic element segments that still have connection interruptions, occupying conflicts, boundary overstepping, or inconsistencies in connection relationships after correction are determined to be graphic element segments that cannot be retained. The connection positions, area boundaries, access objects, supply and distribution objects in the parameter constraint table, and the order in the configuration sequence are used as the replacement basis to replace the graphic element segments that cannot be retained, so that the replaced graphic element segments correspond to the adjacent graphic elements in terms of connection positions, occupying positions, and boundary positions. The corrected content and the replaced graphic element segments are merged and organized to form the redrawing range.
[0081] S4.4 Perform partial redrawing on the redrawing area, and continuously organize the connection positions, occupancy positions and boundary positions after redrawing to form a mine water, heating and electrical drawing scheme.
[0082] It should be noted that when performing partial redrawing on the redrawing area, based on the connection positions, area boundaries, access objects, supply and distribution objects, and the order in the configuration sequence in the parameter constraint table, partial redrawing is performed on the connection positions, placeholder positions, and boundary positions of each graphic element fragment within the redrawing area. This ensures that the redrawn graphic element fragments maintain continuity in their connection relationship with adjacent graphic elements outside the redrawing area, correspond in their placeholder positions, and correspond to the area boundary. After the partial redrawing is completed, further checks are made to ensure that the redrawn connection positions are continuous with the connection positions of adjacent graphic elements, that the redrawn placeholder positions correspond to their corresponding placeholder positions, and that the redrawn boundary positions match the area boundary. For parts with connection offsets, placeholder misalignments, or boundary overlaps, position adjustments, boundary adjustments, and connection adjustments are made. The adjusted redrawn content is then merged and organized with the unchanged graphic element content outside the redrawing area, ensuring that each graphic element content maintains continuity in its connection positions, placeholder positions, and boundary positions, corresponds in its placeholder positions, and does not conflict in its boundaries, thus forming a mine water, heating, and electrical drawing scheme.
[0083] In summary, this invention achieves orderly organization and computer-aided design constraints for the front-end schemes of mine water, heating, and electrical drawings by performing compatibility checks, priority screening, and sequential arrangement on the equipment access relationships, pipeline connectivity relationships, and supply and distribution relationships in the candidate scheme fragment set, forming a configuration sequence and parameter constraint table, thereby improving the coherence and accuracy of subsequent drawing generation; and by performing clause comparison, interface comparison, and spatial conflict location on the initial drawings, and performing directional correction, fragment replacement, and local redrawing on abnormal positions and mismatched sections, it achieves computer-aided design repair of abnormal sections in the back-end of mine water, heating, and electrical drawings, thereby reducing overall rework and improving the integrity and adaptability of the drawing schemes.
[0084] It should be noted that the above embodiments are only used to illustrate the technical solutions 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 solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all such modifications or substitutions should be covered within the scope of the claims of the present invention.
Claims
1. A modular customization method for intelligent agents in mine water, heating, and electrical engineering design, characterized in that, include: Collect basic data of mining engineering, professionally merge the basic data, associate it with service objects and map it to regions to form engineering benchmark data. The main control agent calls the knowledge base, standard base and historical drawing base for joint retrieval, and organizes the joint retrieval results to form a set of candidate scheme fragments. The main control agent performs compatibility checks, priority screening, and sequential arrangement of equipment access relationships, pipeline connectivity relationships, and supply and distribution relationships in the candidate solution fragment set according to the process service path, spatial layout boundary, and professional interface sequence, forming a configuration sequence and parameter constraint table. The configuration sequence and parameter constraint table are sent into the CAD drawing process. In the CAD environment, the standard blocks and historical scheme fragments corresponding to the configuration sequence are called to determine the connection relationship and layout position between each element. The element mapping and parameter writing are then performed to form the initial drawing. The initial drawings are submitted to the difference review process. Based on the specifications, process requirements, parameter constraint tables and the connection between the preceding and following parts of the configuration sequence, the clause comparison, interface comparison and spatial conflict location are performed. Orientation correction, fragment replacement and partial redrawing are performed on abnormal positions and mismatched sections to form the mine water, heating and electrical drawing scheme.
2. The modular customization method for intelligent agents in mine water, heating, and electrical engineering design as described in claim 1, characterized in that, The specific steps for forming the candidate solution fragment set are as follows: Collect basic data on mining engineering, perform consistency processing and professional merging on the basic data on mining engineering, and obtain professional merging results; Based on the professional merging results, service object association and regional mapping are performed to establish a correspondence between professional content, service objects and regional locations in the professional merging results, and to obtain engineering benchmark data; Based on engineering benchmark data, the master control agent calls the knowledge base, standard base and historical drawing base to perform joint retrieval, and organizes the joint retrieval results according to professional category, service object and regional location to obtain a set of candidate solution fragments.
3. The modular customization method for intelligent agents in mine water, heating, and electrical engineering design as described in claim 1, characterized in that, The specific steps for forming the configuration sequence and parameter constraint table are as follows: The equipment access relationships, pipeline connectivity relationships, and supply and distribution relationships in the candidate solution fragment set are organized accordingly to form the verification content; Based on the process service path, spatial layout boundary and professional interface sequence, a compatibility check is performed on the verification content, and the content that can be continuously connected is retained as the screening basis; The process service path is determined based on the water supply, drainage, heating, ventilation, power supply, and grounding relationships in the engineering baseline data; The spatial layout boundary is determined based on the regional location in the engineering baseline data and the regional boundary in the candidate scheme fragment; The order of the professional interfaces is determined based on the sequential connection relationships between the access objects, connection positions, and supply / distribution objects in the candidate solution fragments. Based on the process service path, spatial layout boundary, and professional interface sequence, the screening criteria are sequentially screened to form the compilation content; The orchestration is performed sequentially based on the content, and the connection positions, area boundaries, access objects, and supply and distribution objects corresponding to the sequential orchestration are organized into constraints to form a configuration sequence and parameter constraint table.
4. The modular customization method for intelligent agents in mine water, heating, and electrical engineering design as described in claim 1, characterized in that, The specific steps for creating the initial drawings are as follows: The sequential positions in the configuration sequence are matched one by one with the connection positions, area boundaries, access objects, and supply and distribution objects in the parameter constraint table. Standard blocks and historical scheme fragments are called in the CAD environment and the corresponding arrangement is completed. Identify the connection points, insertion base points, and boundary baselines of the standard blocks and historical scheme fragments that have been arranged, and assign them to the interface connection anchor points, element insertion positions, and local layout boundaries, respectively, to determine the connection relationships and layout positions. Based on the connection relationship and layout, perform element mapping and parameter writing, continuously organize the connection position, occupation position and boundary position of adjacent elements to form the initial drawing.
5. The modular customization method for intelligent agents in mine water, heating, and electrical engineering design as described in claim 1, characterized in that, The specific steps for creating the mine's plumbing and electrical drawings are as follows: The initial drawings, parameter constraint tables, and configuration sequences are expanded accordingly. Differences are reviewed for connection positions, placeholder positions, and boundary positions in the initial drawings to form comparison content. Based on the sequential relationships in the specification clauses, process requirements, parameter constraint tables, and configuration sequences, the comparison content is compared by clause comparison, interface comparison, and spatial conflict location to identify abnormal locations and mismatched sections. Perform orientation correction on abnormal locations and mismatched sections, and replace the primitive fragments that can no longer be retained to form a redrawing range; Perform partial redrawing on the redrawing area, and continuously organize the connection positions, occupancy positions and boundary positions after redrawing to form a mine water, heating and electrical drawing scheme.
6. The modular customization method for intelligent agents in mine water, heating, and electrical engineering design as described in claim 5, characterized in that, The specific steps for forming the comparison content are as follows: The graphic elements in the initial drawing are sequentially matched according to the order in the configuration sequence, and the connection position, place position and boundary position of each graphic element in the initial drawing are matched with the connection position, area boundary, access object and supply object in the parameter constraint table one by one. The connection positions, placeholder positions, and boundary positions in the initial drawings were reviewed item by item, and then organized in the order of the configuration sequence to form comparison content.
7. The modular customization method for intelligent agents in mine water, heating, and electrical engineering design as described in claim 5, characterized in that, The specific steps for forming the redraw area are as follows: The connection positions, occupied positions, and boundary positions in abnormal positions and mismatched sections are corrected item by item, and the content that can restore consistency is retained as the corrected content. Graphical fragments that still have connection interruptions, placeholder conflicts, boundary overruns, or inconsistent connections after correction are identified as graphic fragments that cannot be retained. For primitive fragments that cannot be retained, fragment replacement is performed, and the corrected retained content and the replaced primitive fragments are merged and organized to form the redrawing area.
8. The modular customization method for intelligent agents in mine water, heating, and electrical engineering design as described in claim 3, characterized in that, The screening criteria refer to the screening criteria formed by organizing the retained content according to the sequential order in the process service path, the regional boundaries in the spatial layout boundary, and the sequential connection relationship in the professional interface sequence after performing compatibility verification on the verification content.
9. The modular customization method for intelligent agents in mine water, heating, and electrical engineering design as described in claim 4, characterized in that, The specific steps for determining the connection relationships and arrangement positions are as follows: The connection points, insertion base points, and boundary baselines in the completed standard blocks and historical scheme fragments are respectively determined as interface connection anchor points, element insertion positions, and local layout boundaries; The connection points, insertion base points, and boundary baselines between adjacent standard map blocks and historical scheme fragments are checked, and the connection relationships and layout positions between standard map blocks and historical scheme fragments are determined.
10. The modular customization method for intelligent agents in mine water, heating, and electrical engineering design as described in claim 9, characterized in that, The interface connection anchor point, element insertion position, and local layout boundary are determined by the connection end, insertion base point, and boundary baseline in the standard block and historical scheme fragment, respectively.