A multi-disciplinary plumbing layout method, apparatus, and medium for a basement
By automatically identifying and dividing basement drawings into grids, and combining this with a multi-dimensional node scoring model, the problems of manual reliance and overlapping layout in basement pipeline design are solved, achieving efficient and flexible pipeline layout optimization.
Patent Information
- Application Number
- CN202511983419.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-26
- Publication Date
- 2026-03-17
- Estimated Expiration
- 2045-12-26
AI Technical Summary
In existing basement pipeline designs, the integrated pipeline layout relies excessively on manual labor, lacks flexibility and a holistic approach, resulting in inefficient overlapping layouts and requiring extensive manual adjustments and cross-disciplinary communication.
By identifying and analyzing basement drawings, dividing them into grid areas, constructing utility tunnel groups, and using a multi-dimensional node scoring model, a directed node graph is generated, enabling automatic and accurate pipeline layout.
It enables efficient and flexible multi-disciplinary pipeline layout, reduces manual intervention, improves layout efficiency, optimizes resource allocation, and provides global path optimization and conflict resolution.
Smart Images

Figure CN121413162B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of architectural design technology, and in particular to a method, equipment and medium for multi-disciplinary pipeline layout in basements. Background Technology
[0002] Basement pipeline design is a crucial part of residential projects. A well-planned pipeline layout can significantly improve construction quality and enhance the overall appearance of the basement. Currently, pipeline designs are typically created separately by plumbing, heating, and electrical designers on their respective platforms, and then the models are merged. In real-world pipeline design scenarios, there are often more than 20 types of mechanical and electrical pipelines. Due to the large number of pipelines, each specialty aims for optimal placement, leading to significant overlap. Without readjusting the pipeline distribution, orderly construction becomes impossible.
[0003] Currently, integrated pipeline layout mainly relies on manually adjusting individual collision points or using tools to assist in the layout of individual cross-sectional nodes. However, the existing layout methods lack a global perspective; adjusting a single node may prevent the layout of other nodes, requiring repeated modifications. Secondly, actual adjustments are usually made by a single MEP designer, who, due to unfamiliarity with other disciplines, requires multiple cross-disciplinary communications, resulting in low efficiency. Furthermore, in the actual layout process, there can be hundreds or even thousands of overlapping collision points for basement pipelines, requiring handling each node individually, which is time-consuming. Summary of the Invention
[0004] This application provides a method, equipment, and medium for multi-disciplinary pipeline layout in basements, which addresses the technical problems of current basement pipeline design where integrated pipeline layout relies excessively on manual labor, lacks flexibility and global perspective, and suffers from low efficiency in overlapping layouts.
[0005] On one hand, embodiments of this application provide a method for multi-disciplinary pipeline layout in basements, the method comprising:
[0006] The basement drawings are identified and analyzed to determine the spatial boundary information corresponding to the main structural elements, so as to divide the basement drawings into several grid areas based on the spatial boundary information; wherein, the main structural elements include at least columns and walls;
[0007] Based on each grid region and pipeline orientation, the associated pipeline groups corresponding to the same grid region are determined. Based on the grid regions corresponding to the associated pipeline groups, a pipe gallery group is constructed, and each pipe gallery group is traversed according to a preset node division rule to determine the corresponding grid set nodes; wherein, the pipeline orientations of each pipeline in the associated pipeline group are the same.
[0008] Based on each of the aforementioned utility tunnel groups, each of the aforementioned grid set nodes, and a preset multi-dimensional node scoring model, the corresponding node scoring set is determined.
[0009] Based on the node scoring set, the utility tunnel group, and the preset directed graph creation rules, the pipeline layout direction between each of the grid set nodes is determined, so as to generate a corresponding node directed graph according to the pipeline layout direction;
[0010] Based on the directed graph of nodes, the nodes of each grid set in each of the pipe gallery groups are arranged and combined to obtain the corresponding node layout results. The node layout results are then input into a preset pipeline routing model to generate the corresponding pipeline layout scheme and send it to the user terminal.
[0011] In one implementation of this application, based on each grid region and pipeline routing, the associated pipeline group corresponding to the same grid is determined, specifically including:
[0012] Determine the direction vector of the pipeline within any of the grid regions;
[0013] Calculate the angle between each of the aforementioned directional vectors within the same grid area, and determine the corresponding pipelines in the same direction based on the angle calculation results;
[0014] Add each of the same-direction pipelines within the same grid area to the associated pipeline group.
[0015] In one implementation of this application, a utility tunnel group is constructed based on the grid region corresponding to the associated pipeline group, specifically including:
[0016] Along the same direction of the pipelines corresponding to the associated pipeline group, trace the grid areas that each pipeline in the same direction within the associated pipeline group simultaneously traverses;
[0017] The tracked grid areas are merged into one utility tunnel group and assigned a corresponding utility tunnel group number.
[0018] In one implementation of this application, each of the pipe gallery groups is traversed according to a preset node partitioning rule to determine the corresponding grid set nodes, specifically including:
[0019] Traverse each of the grid regions within the same pipe gallery group to determine the pipeline feature vector in each grid region; the pipeline feature vector is obtained based on the number, type, and spatial location of the pipelines.
[0020] Calculate the similarity between the feature vectors of each pipeline corresponding to the same group of pipe corridors;
[0021] Each of the grid regions whose similarity is greater than a preset similarity threshold is added to the same grid set node.
[0022] In one implementation of this application, a corresponding node scoring set is determined based on each of the said pipe gallery groups, each of the said grid set nodes, and a preset multi-dimensional node scoring model, specifically including:
[0023] Based on the information on the coexistence of direct pipeline connections in each of the pipe gallery groups, a first preset number of adjacent pipe gallery groups in the same direction are taken as the first scoring group. The first scoring coefficients corresponding to each of the grid set nodes are calculated through the preset multi-dimensional node scoring model.
[0024] Based on the pipeline transition characteristic information in each of the pipe gallery groups, a second preset number of adjacent pipe gallery groups with different orientations are used as the second scoring group. The corresponding second scoring coefficients are calculated through the preset multi-dimensional node scoring model.
[0025] Based on the cross-sectional area of the node profile corresponding to each of the grid set nodes and the cross-sectional area of the parallel pipelines, the corresponding third scoring coefficient is calculated through the preset multi-dimensional node scoring model;
[0026] Based on the current position and preset initial position of each pipeline in each of the grid set nodes, the corresponding deviation distance value is determined, and the deviation distance value is input into the preset multi-dimensional node scoring model to calculate the corresponding fourth scoring coefficient.
[0027] Based on the preset multi-dimensional weighted reassembly, each of the first scoring coefficients, each of the second scoring coefficients, each of the third scoring coefficients, and each of the fourth scoring coefficients, the node status score value of each of the grid set nodes is determined and added to the node score set.
[0028] In one implementation of this application, the pipeline layout direction between each of the grid set nodes is determined based on the node scoring set, the utility tunnel group, and the preset directed graph creation rules, specifically including:
[0029] Using the grid set node corresponding to the maximum value in the node score set as the starting node, connect each grid set node in the pipe gallery group where the starting node is located, and determine the corresponding longest path;
[0030] Along the longest path, traverse the remaining grid set nodes in a preset direction to determine the corresponding longest path loop and form a directional constraint of the node directed graph to determine the pipeline layout direction.
[0031] In one implementation of this application, after forming directional constraints on the directed graph of nodes, the method further includes:
[0032] In the case of grid set nodes with undetermined directions, the grid set nodes with determined directions in the same group are determined according to the pipe gallery group to which the grid set nodes with undetermined directions are located, and the pointing direction of each grid set node in the corresponding pipe gallery group is determined based on the connection level distance; wherein, the connection level distance is the pipe gallery connection level distance between the node and the starting node.
[0033] In one implementation of this application, the basement drawing is divided into several grid regions based on the spatial boundary information, specifically including:
[0034] Using the spacing between the columns as the baseline side length, add grid lines to the basement drawings;
[0035] When the distance between the grid line and the spatial boundary of the main structural element is less than a preset distance, the grid line is set at the spatial boundary and coincides with the spatial boundary, so as to determine each grid region according to the area enclosed by each grid line; the grid region includes at least a triangular grid region and a quadrilateral grid region.
[0036] On the other hand, this application also provides a multi-disciplinary pipeline layout device for basements, the device comprising:
[0037] At least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a multi-disciplinary pipeline layout method for a basement as described above.
[0038] In another aspect, embodiments of this application also provide a non-volatile computer storage medium storing computer-executable instructions, characterized in that the computer-executable instructions are capable of executing a multi-disciplinary pipeline layout method for basements as described above.
[0039] Compared with the prior art, the significant advantages of this application are as follows:
[0040] Through the above-described scheme, this application achieves automatic identification and parsing of basement drawings, sequentially dividing grid areas, clustering to construct utility tunnel groups, and aggregating grid nodes based on pipeline characteristics, providing high-quality data support for automatic and accurate pipeline layout. Secondly, the multi-dimensional node scoring model accurately quantifies the priority of different professional pipelines to optimize resource allocation, and uses the output node scores to further create a directed node graph, achieving global path optimization and conflict resolution, thus realizing efficient multi-professional pipeline layout. It eliminates excessive reliance on manual intervention, flexibly and efficiently assisting in multi-professional pipeline layout and effectively improving the user's pipeline layout experience. Attached Figure Description
[0041] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:
[0042] Figure 1 This is a schematic flowchart of a multi-disciplinary pipeline layout method for a basement according to an embodiment of this application.
[0043] Figure 2 This is a schematic diagram of an undirected graph of a mesh set of nodes in an embodiment of this application;
[0044] Figure 3 This is a schematic diagram of a directed graph of nodes in an embodiment of this application;
[0045] Figure 4 This is a structural schematic diagram of a multi-disciplinary pipeline layout device for a basement according to an embodiment of this application. Detailed Implementation
[0046] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0047] Currently, integrated pipeline layout mainly relies on manually adjusting individual collision points or using tools to assist in the layout of individual cross-sectional nodes. However, the existing layout methods lack a global perspective; adjusting a single node may prevent the layout of other nodes, requiring repeated modifications. Secondly, actual adjustments are usually made by a single MEP designer, who, due to unfamiliarity with other disciplines, requires multiple cross-disciplinary communications, resulting in low efficiency. Furthermore, in the actual layout process, there can be hundreds or even thousands of overlapping collision points for basement pipelines, requiring handling each node individually, which is time-consuming.
[0048] Based on this, the embodiments of this application provide a method, equipment and medium for multi-disciplinary pipeline layout in basements, which solves the technical problems of current basement pipeline design where the integrated pipeline layout relies too much on manual labor, lacks flexibility and globality, and has low efficiency in overlapping layout.
[0049] The various embodiments of this application are described in detail below with reference to the accompanying drawings.
[0050] This application provides a method for multi-disciplinary pipeline layout in basements, such as... Figure 1As shown, the method may include steps S101-S105:
[0051] S101, the server identifies and parses the basement drawings to determine the spatial boundary information corresponding to the main structural elements, and divides the basement drawings into several grid areas based on the spatial boundary information.
[0052] The main structural elements include at least columns and walls.
[0053] The basement drawings can be either a 3D Building Information Modeling (BIM) model or a 2D CAD drawing; this application does not impose any specific limitations on this. This application may also receive pipe spacing settings, pipe alignment methods, maintenance space locations, and profile creation from users, which can serve as constraints for pipe layout and participate in the entire pipe layout process of this application.
[0054] When identifying and analyzing basement drawings to determine the spatial boundary information of structural elements, if the basement drawings are a 3D BIM model, the 3D coordinates and cross-sectional dimensions of the top / bottom surfaces of columns, and the 3D coordinates and thickness parameters of the start / end points of walls can be read. The spatial boundary of a column is determined by the projection of its cross-sectional outline onto the basement floor, and the spatial boundary of a wall is determined by the projection of its thickness onto the basement floor. If the basement drawings are 2D CAD drawings, dedicated layers for "structural columns" and "walls" are extracted through layer filtering. A graphic feature recognition algorithm is used to identify the vertex coordinates of rectangular blocks (columns), the endpoint coordinates of long line segments (walls), and their line widths. The spatial boundary of a column is determined as the planar range of the rectangular block, and the spatial boundary of a wall is determined as the planar area formed by the extension of the line width on both sides. The extracted spatial coordinates and parameters of the columns and walls are then added to the spatial boundary information.
[0055] In this embodiment of the application, the above-mentioned division of the basement drawing into several grid areas based on spatial boundary information specifically includes:
[0056] Using the spacing between columns as the baseline side length, grid lines are added to the basement drawings. If the distance between the grid lines and the spatial boundary of the main structural elements is less than a preset distance threshold, the grid lines are placed at and coincide with the spatial boundary to determine each grid region based on the area enclosed by each grid line. Each grid region includes at least triangular and quadrilateral grid regions.
[0057] In other words, this application can divide the grid area according to the position of the columns and walls. In the process of grid division, the spacing between the columns can be used as the reference grid side length. Several groups of horizontal parallel lines and vertical parallel lines can be drawn on the drawing so that the grid is divided between the horizontal and vertical lines. The grid side length is at least the reference side length.
[0058] Specifically, this application can extract the longitudinal spacing (along the X-axis) and transverse spacing (along the Y-axis) of all columns in the basement drawings, calculate the minimum longitudinal spacing and minimum transverse spacing respectively, and use the smaller of the two as the reference side length of the grid; if the column spacing has a non-integer multiple relationship, the least common multiple of the minimum spacing is taken as the reference side length. Then, with the lower left corner of the basement drawing as the origin, parallel grid lines perpendicular to each other are drawn along the horizontal direction (X-axis) and vertical direction (Y-axis) according to the reference side length to form an initial grid line matrix. Then, all initial grid lines are traversed, and the vertical distance between each grid line and the spatial boundary of the columns and walls is calculated: if the distance is less than a preset distance threshold (for example, the preset distance threshold is 100mm, which can be set according to the actual scenario and is not specifically limited here), the grid line is translated towards the spatial boundary until it coincides with the spatial boundary; if the distance is greater than or equal to the preset distance threshold, the initial position of the grid line remains unchanged. The adjusted horizontal and vertical grid lines intersect to form multiple quadrilateral grid regions. The coordinates of the four corner vertices of each region are the coordinates of the intersection of adjacent grid lines. For non-quadrilateral enclosed regions (such as pentagons and polygons) caused by the spatial boundaries of structural elements (such as irregular columns and curved walls), auxiliary dividing lines are drawn along the longest diagonal of the region to divide it into triangular grid regions. At the same time, a unique ID is assigned to each quadrilateral grid region and triangular grid region, and its boundary coordinates and the information of the structural elements it contains are recorded, thus dividing the region into several grid regions.
[0059] It should be noted that the server, as the implementing entity for the multi-disciplinary pipeline layout method in the basement, is only an example. The implementing entity is not limited to the server, but can also be a cloud server, edge computing device, etc. This application does not make any specific limitation in this regard.
[0060] S102, the server determines the associated pipeline groups corresponding to the same grid area based on each grid area and pipeline direction, constructs the pipe gallery group according to the grid area corresponding to the associated pipeline group, and traverses each pipe gallery group according to the preset node division rules to determine the corresponding grid set nodes.
[0061] In this group of associated pipelines, the pipelines all have the same route.
[0062] In other words, after dividing the grid area, this application can cluster and construct utility tunnel groups based on the pipeline direction and the grid. In simple terms, it can select any pipeline, determine the grid area in which it is located, consider all pipelines in the same direction in that grid area as a group, find all the grid areas that these pipelines cross, and consider the set of these grid areas as a utility tunnel group.
[0063] More specifically, in the embodiments of this application, the above-mentioned determination of the associated pipeline group corresponding to the same grid based on each grid region and pipeline routing specifically includes:
[0064] Determine the direction vector of the pipeline within any grid region. Calculate the angle between the direction vectors within the same grid region to determine the corresponding pipelines in the same direction based on the angle calculation results. Add all pipelines in the same direction within the same grid region to the associated pipeline group.
[0065] In other words, this application can calculate the direction vector (represented by the coordinate difference from the start point to the end point) of pipelines within any grid area; if the angle between the direction vector of other pipelines and this vector is less than 10°, they are determined to be pipelines in the same direction; all pipelines in the same direction within the same grid area are grouped together to form an associated pipeline group.
[0066] Subsequently, in this embodiment of the application, a utility tunnel group is constructed based on the grid region corresponding to the associated pipeline group, specifically including:
[0067] Following the direction of the corresponding pipelines in the same direction within the associated pipeline group, trace the grid areas that each pipeline in the same direction traverses simultaneously. Merge the traced grid areas into a single utility tunnel group and assign it a corresponding utility tunnel group number.
[0068] That is, track all grid areas traversed by the associated pipeline group and record the unique identifier of each grid area; if adjacent grid areas contain the associated pipeline group and the connection between the two grids has no obvious turning (such as a turning angle of less than 5°), merge these grid areas into a utility tunnel group; assign a unique number to each utility tunnel group and associate it with the grid area identifiers and associated pipeline group information.
[0069] This results in a set of grids traversed by pipelines that extend in the same direction and are spatially related, realizing a clustering operation on pipelines based on "uniformity of direction and spatial continuity". By dividing the utility tunnels into groups, the spatial distribution range of pipelines with different directions is clarified (such as east-west utility tunnel groups and north-south utility tunnel groups), providing a "pipeline system-level" path framework for subsequent "directed graph creation" (such as prioritizing the direct connectivity of east-west utility tunnel groups).
[0070] Furthermore, in this embodiment of the application, the above-mentioned traversal of each pipe gallery group according to the preset node division rules to determine the corresponding grid set nodes specifically includes:
[0071] Traverse all grid regions within the same utility tunnel group to determine the pipeline feature vectors in each region. These feature vectors are encoded based on the number, type, and spatial location of the pipelines. Calculate the similarity between the feature vectors of each pipeline within the same utility tunnel group. Add grid regions with similarity greater than a preset similarity threshold to the same grid set node.
[0072] In other words, this application traverses the grid regions within the same utility tunnel group, extracts pipeline feature vectors, and compares the number, type, and spatial location of pipelines in each grid region through vector similarity calculation. The similarity can be obtained by calculating cosine similarity or Euclidean distance, and no specific limitation is made here. This application can also limit the comparison range by using the number of pipelines (e.g., quantity deviation ≤ 1), type (e.g., type matching degree ≥ 90%), and spatial location (e.g., location deviation ≤ 100mm) as comparison conditions; grid regions that meet the above conditions are grouped into the same set and defined as a grid set node; the spatial range and pipeline feature parameters (number, type, direction) of each grid set node are recorded.
[0073] In other words, this application considers a set of grids with the same number of pipelines, pipeline type, and pipeline location as a node, and the union of the outlines enclosed by the grids is the range of the node. The pipeline location can be understood as the position coordinates of the pipeline within the grid region, that is, the layout of the pipeline within the grid region.
[0074] Specifically, grid aggregation nodes are recurring "pipeline feature units" within a utility tunnel group (e.g., in a utility tunnel group, the combination of 3 water pipes + 2 cable trays appears repeatedly in 10 grids). The scoring and layout optimization of these nodes essentially represents a standardized processing of "similar local scenarios"—the optimal layout scheme for the same node can be directly reused for other identical nodes, significantly reducing redundant calculations. The generation of grid aggregation nodes further aggregates the clustered utility tunnel groups according to pipeline features, transforming complex pipeline spatial relationships into "computable and reusable" structured units, thereby achieving efficient multi-disciplinary pipeline layout.
[0075] S103, the server determines the corresponding node score set based on each pipe gallery group, each grid set node, and a preset multi-dimensional node scoring model.
[0076] After determining the corresponding grid set nodes, to better create a directed graph, this application can also connect the nodes with edges based on the connection relationships of all nodes to form an undirected graph; when a grid set node from a different pipe gallery group is connected to two other grid set nodes from the same group, the node relationships with fewer connections are deleted to obtain an undirected graph, such as... Figure 2 As shown.
[0077] In this embodiment of the application, based on each utility tunnel group, each grid set node, and a preset multi-dimensional node scoring model, a corresponding node scoring set is determined, specifically including:
[0078] Based on the information on direct coexistence of pipelines in each utility tunnel group, a first preset number of adjacent unidirectional utility tunnel groups are designated as the first scoring group. A preset multi-dimensional node scoring model is used to calculate the first scoring coefficients corresponding to each grid set node. Based on the pipeline transition characteristic information in each utility tunnel group, a second preset number of adjacent non-unidirectional utility tunnel groups are designated as the second scoring group. A preset multi-dimensional node scoring model is used to calculate the corresponding second scoring coefficients. Based on the node profile cross-sectional area and the cross-sectional area of parallel pipelines corresponding to each grid set node, a preset multi-dimensional node scoring model is used to calculate the corresponding third scoring coefficient. Based on the current position and preset initial position of each pipeline in each grid set node, the corresponding deviation distance value is determined. This deviation distance value is then input into the preset multi-dimensional node scoring model to calculate the corresponding fourth scoring coefficient. Based on the preset multi-dimensional weighted set, the first scoring coefficients, the second scoring coefficients, the third scoring coefficients, and the fourth scoring coefficients, the node status score value for each grid set node is determined and added to the node scoring set.
[0079] In other words, this application pre-sets a multi-dimensional node scoring model, and obtains scoring coefficients for multiple dimensions according to different calculation rules, so as to score the flexibility of pipeline layout for each grid set node.
[0080] Specifically, the first scoring group can be understood as a first preset number of adjacent, unidirectional utility tunnel groups, such as three groups. Tu ij This represents the first node status score value corresponding to the j-th grid set node in the i-th utility tunnel group. The information on direct pipeline coexistence can be obtained by the server based on the positional relationship of three adjacent unidirectional utility tunnel groups in the first scoring group, such as G1, G2, and G3, yielding the number n of pipelines in the intermediate utility tunnel group (e.g., G2) simultaneously located in both G1 and G3, and the sum m of the number of pipelines in G2 located only in G1 and only in G3. The first scoring coefficient is calculated using the first scoring formula in the preset multi-dimensional node scoring model. The first scoring formula is as follows:
[0081]
[0082] in, Indicates the first i The first of the utility tunnel groups j The first rating coefficient of each grid set node For the first i The first of the utility tunnel groups j The number n corresponding to each grid set node For the firsti The first of the utility tunnel groups j The number of nodes in a grid set is m, where m and n are greater than or equal to 0, and m+n≠0.
[0083] For the second scoring group, a second preset number (e.g., 3) of adjacent pipe gallery groups facing different directions are grouped together and labeled G1, G2, and G3 according to their positional relationships. The number of bends in G2 where the pipeline is located in G1 and G3 is denoted as w; the number of tees is denoted as s. The number of bends and tees represents the pipeline transition characteristic information. Then, the second scoring coefficient is calculated using the second scoring formula in the preset multi-dimensional node scoring model. The second scoring formula is as follows:
[0084]
[0085] in, Indicates the first i The first of the utility tunnel groups j The second rating coefficient for each grid set node. This indicates the number of elbows, w. Let s represent the number of tees, w, and s be greater than or equal to 0, and w + s ≠ 0. This application will... In ij It is represented as the second node status score value corresponding to the j-th grid set node in the i-th pipe gallery group.
[0086] Furthermore, this application can also obtain parameters such as the node profile cross-sectional area and the cross-sectional area of parallel pipelines from the user terminal, determine the node profile cross-sectional area and the cross-sectional area of parallel pipelines for each mesh set node, and denote the minimum node profile cross-sectional area as SpaMin; based on the cross-sectional area of parallel pipelines, the pipelines that can be arranged side by side are considered as a group, and their minimum cross-sectional areas are calculated separately and denoted as pMin. Subsequently, the third scoring coefficient is calculated using the third scoring formula in the preset multi-dimensional node scoring model:
[0087]
[0088] in, Indicates the first i The first of the utility tunnel groups j The third rating coefficient of each grid set node, Indicates the first i The first of the utility tunnel groups j SpaMin corresponding to each grid set node This indicates the maximum cross-section of the pipeline corresponding to the area that cannot be arranged. The area that cannot be arranged can be obtained by user input, such as grid areas like computer rooms and equipment rooms, which can be understood as areas that cannot be arranged. Fl ijIt is represented as the state score value of the third node corresponding to the j-th grid set node in the i-th pipe gallery group.
[0089] For the fourth scoring coefficient, this application can obtain parameter information from the user's current pipeline position and preset initial position to calculate the deviation distance between the two positions. Then, using the fourth scoring formula in the preset multi-dimensional node scoring model, the fourth scoring coefficient is calculated. The fourth scoring formula is as follows: , Indicates the first i The first of the utility tunnel groups j The fourth scoring coefficient for each grid set node. Indicates the first i The first of the utility tunnel groups j The offset distance value of each grid set node. Ex ij This represents the status score value of the fourth node corresponding to the j-th grid set node in the i-th pipe gallery group.
[0090] The server pre-stores preset multi-dimensional weighted sets, assigning different weight values to different scoring coefficients. For example, the first weight of the first scoring coefficient is 1000, the second weight of the second scoring coefficient is 50, the third weight of the third scoring coefficient is 500, and the fourth weight of the fourth scoring coefficient is 500. Specific weight values can be set by users or developers based on expert experience, and are not specifically limited here. Calculate the node status score of the j-th grid set node in the i-th pipe gallery group. Based on the rating values of each node, a node rating set is constructed. The higher the node status rating value, the more flexible its pipeline layout.
[0091] By calculating the score values corresponding to multiple dimensions and different constraints, the node score of each node can be obtained, which can accurately assess the degree of freedom of node arrangement.
[0092] S104, the server determines the pipeline layout direction between nodes of each grid set based on the node scoring set, the pipe gallery group and the preset directed graph creation rules, so as to generate the corresponding node directed graph according to the pipeline layout direction.
[0093] In this embodiment of the application, the above-mentioned determination of the pipeline layout direction between nodes of each grid set based on the node scoring set, the pipe gallery group, and the preset directed graph creation rules specifically includes:
[0094] Starting with the grid set node corresponding to the maximum value in the node score set, connect all grid set nodes in the pipe gallery group where the starting node is located, and determine the corresponding longest path. Along the longest path, traverse the remaining grid set nodes in a preset direction to determine the corresponding longest path cycle, and form the directional constraints of the node directed graph to determine the pipeline layout direction.
[0095] Specifically, refer to Figure 3 As shown, Step 1: Find the utility tunnel group with the most nodes whose mesh set nodes have 3 or more edges, and use this as the initial utility tunnel group. Then, take the node with the highest node state score in this initial utility tunnel group as the starting node, and point to other nodes in the same group in sequence. When there are multiple initial utility tunnel groups, select the utility tunnel group with the most nodes in the group, such as... Figure 3 The area highlighted by the dashed line represents the initial utility tunnel group and the various grid sets of nodes it contains. The directional relationship is nodes 6-5 and 6-15-16, resulting in the first group of nodes.
[0096] Step 2: Starting from the nodes of the first group, find the longest path along the direction perpendicular to the group, and then determine the direction in a clockwise direction until you encounter a node from the first group. This gives you the longest path cycle, as shown below. Figure 3 The nodes are 16-17-18-13-14-12-11-10-1-2-3-4. This application can also use graph theory algorithms to search for the longest path cycle; no specific limitation is made here.
[0097] This initially establishes the directional constraints of the directed graph of nodes. After establishing the directional constraints, the following steps are also included:
[0098] In the case of undetermined orientation grid nodes, the orientation of the grid nodes in the same group with determined orientations is determined based on the grid group to which the undetermined orientation grid nodes belong. Then, the orientation of each grid node within the corresponding grid group is determined based on the connection level distance. Here, the connection level distance is the grid connection level distance between the node and the starting node.
[0099] That is, when there are still grid nodes whose orientation is not yet determined, based on the nodes with determined orientations, point to other nodes in the pipe gallery group sequentially from farthest to nearest, until a node with a determined orientation is encountered, such as... Figure 3 The nodes are 14-19-20 and 13-8-3.
[0100] The "from far to near" approach can be understood as using the starting node within the utility tunnel group as a reference, determining distance based on the "distance between the node and the starting node in the utility tunnel connection hierarchy," rather than the straight-line distance in physical space. This "from far to near" setup ensures that the pipeline layout of the far node follows the near node and ultimately aligns with the starting node. For example, if the pipeline of the starting node runs down a lower level, the near node follows, and the far node also follows. This avoids conflicts where the direction of the far node is opposite to that of the starting node. For instance, if the starting node's pipeline runs down a lower level while the far node's runs up a higher level, it could cause pipelines at intermediate nodes to intersect and overlap.
[0101] Furthermore, for the remaining nodes whose orientation is still undetermined, find the node sandwiched between the two pipe gallery groups, and point to the first node from left to right. Within the group, point to other nodes in order from farthest to nearest, until a node with a determined orientation is encountered, such as... Figure 3 The nodes 8-9-7-19-20, and finally the nodes that intersect with a group of nodes, point to other nodes in the group in order from farthest to nearest.
[0102] S105, the server arranges and combines the nodes of each grid set in each pipe gallery group according to the directed graph of nodes to obtain the corresponding node layout results. The node layout results are then input into the preset pipeline routing model to generate the corresponding pipeline layout scheme and send it to the user terminal.
[0103] After obtaining the directed graph of nodes, the server can arrange and combine the nodes of each grid set with a specific direction according to the directed graph. Specifically, for a single grid set node, based on its pipeline characteristic parameters, it enumerates all possible combinations of parameters such as pipeline layer order, left and right spacing, and elbow settings. Along the direction relationship of the directed graph, taking the starting node as the reference, it determines the pipeline layout parameters of the downstream nodes layer by layer, calculates the optimal scheme as the final layout, and then calculates the downstream nodes sequentially according to the direction of the directed graph. In addition, when a node cannot be arranged, it needs to be rearranged, and the arrangement is carried out by backtracking to the upstream nodes from this node until a node connected to a different group is found to have no elbow connection, thus obtaining the node layout result.
[0104] The server imports the above node arrangement results into a preset pipeline routing model. This model can be based on the A* routing algorithm and can adjust the position of all pipelines and connect disconnected pipelines.
[0105] For example, the model reads the pipeline outlet / inlet coordinates of adjacent nodes (such as node A and node B within a pipe gallery group, or intersection nodes of different pipe gallery groups). Using "shortest pipeline length, fewest bends, and no spatial overlap" as the objective function, it searches for the optimal connection path between nodes: if the nodes are directly connected by a straight line (without structural obstruction), a straight path is directly generated, and straight pipe fittings are matched; if there is structural obstruction between nodes (such as columns), a detour path is calculated (such as detouring along the edge of a column), and bend fittings (such as 90° bends) are automatically matched, ensuring that the total pipeline length increase after detouring is ≤10%; full-scene collision detection: the model performs global collision detection on the generated complete pipeline network (including pipelines within nodes + connecting pipelines between nodes), and counts "pipeline-to-pipeline" and "pipeline-to-structure (column / wall)" collisions. Collision points: If the number of collision points is 0, the complete pipeline layout scheme is output directly; if there is a collision (such as the water supply pipe and the cable tray space overlap), the layout parameters of the "lower-scoring node" are adjusted first (such as shifting the water supply pipe of the lower-scoring node C downward by 50mm), and the connection path is recalculated until the number of collision points is 0; finally, the model can also automatically output multi-dimensional results of the pipeline layout scheme, which can include a three-dimensional visualization model, annotating the type, specifications, and node positions of all pipelines; two-dimensional construction drawings (including plan and section views), annotating the X / Y / Z coordinates of the pipelines (accurate to 1mm), the location of fittings, and the dimensions of the maintenance space; a bill of quantities (statistics of the length of pipelines and the number of fittings of each specialty) and a collision detection report (recording the changes in collision points before and after the layout).
[0106] The user terminal can be understood as a user's mobile phone, computer, or other devices, and this application does not specifically limit it.
[0107] Through the above-described scheme, this application achieves automatic identification and parsing of basement drawings, sequentially dividing grid areas, clustering to construct pipe gallery groups, and aggregating grid set nodes based on pipe characteristics, providing high-quality data support for automatic and accurate pipe layout. Secondly, the multi-dimensional node scoring model accurately quantifies the priority of different professional pipelines to optimize resource allocation, and uses the output node scores to further create a directed node graph, achieving global path optimization and conflict resolution, thus realizing efficient multi-professional pipe layout. It avoids excessive reliance on manual intervention, flexibly and efficiently assisting in multi-professional pipe layout, effectively ensuring the user's pipe layout experience.
[0108] Figure 4 A structural schematic diagram of a multi-disciplinary pipeline layout device for a basement provided in this application embodiment is shown below. Figure 4 As shown, the device includes:
[0109] At least one processor; and a memory communicatively connected to the at least one processor. The memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, enable the at least one processor to:
[0110] The basement drawings are analyzed to determine the spatial boundary information corresponding to the main structural elements, which is then used to divide the basement drawings into several grid areas. The main structural elements include at least columns and walls. Based on each grid area and pipeline routing, associated pipeline groups corresponding to the same grid area are identified. Pipe gallery groups are then constructed based on the grid areas corresponding to the associated pipeline groups, and each pipe gallery group is traversed according to a preset node division rule to determine the corresponding grid set nodes. The pipelines in each associated pipeline group have the same routing. Based on each pipe gallery group, each grid set node, and a preset multi-dimensional node scoring model, the corresponding node scoring set is determined. Based on the node scoring set, the pipe gallery group, and preset directed graph creation rules, the pipeline layout direction between each grid set node is determined, and a corresponding directed node graph is generated based on the pipeline layout direction. According to the directed node graph, the grid set nodes in each pipe gallery group are arranged and combined to obtain the corresponding node layout result. This node layout result is then input into a preset pipeline routing model to generate a corresponding pipeline layout scheme, which is then sent to the user terminal.
[0111] This application embodiment also provides a non-volatile computer storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured as follows:
[0112] The basement drawings are analyzed to determine the spatial boundary information corresponding to the main structural elements, which is then used to divide the basement drawings into several grid areas. The main structural elements include at least columns and walls. Based on each grid area and pipeline routing, associated pipeline groups corresponding to the same grid area are identified. Pipe gallery groups are then constructed based on the grid areas corresponding to the associated pipeline groups, and each pipe gallery group is traversed according to a preset node division rule to determine the corresponding grid set nodes. The pipelines in each associated pipeline group have the same routing. Based on each pipe gallery group, each grid set node, and a preset multi-dimensional node scoring model, the corresponding node scoring set is determined. Based on the node scoring set, the pipe gallery group, and preset directed graph creation rules, the pipeline layout direction between each grid set node is determined, and a corresponding directed node graph is generated based on the pipeline layout direction. According to the directed node graph, the grid set nodes in each pipe gallery group are arranged and combined to obtain the corresponding node layout result. This node layout result is then input into a preset pipeline routing model to generate a corresponding pipeline layout scheme, which is then sent to the user terminal.
[0113] The various embodiments in this application are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the device and medium embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the description of the method embodiments.
[0114] The devices and media provided in this application are one-to-one with the methods. Therefore, the devices and media also have similar beneficial technical effects as their corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media will not be repeated here.
[0115] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0116] The above description is merely an embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principle of this application should be included within the scope of the claims of this application.
Claims
1. A multi-disciplinary piping layout method for a basement, characterized by, The method comprises: The basement drawing is identified and analyzed to determine the space boundary information corresponding to the structural main element, so as to divide the basement drawing into a plurality of grid areas according to the space boundary information; wherein the structural main element at least includes a column and a wall; Based on each grid area and the pipeline direction, the associated pipeline group corresponding to the same grid area is determined, so as to construct the pipe gallery group according to the grid area corresponding to the associated pipeline group, and traverse each pipe gallery group according to the preset node division rule to determine the corresponding grid set node; wherein the pipeline direction of each pipeline in the associated pipeline group is the same; Based on each pipe gallery group, each grid set node and a preset multi-dimensional node scoring model, a corresponding node score set is determined; Based on the node score set, the pipe gallery group and a preset directed graph creation rule, the pipeline arrangement direction between each grid set node is determined, so as to generate a corresponding node directed graph according to the pipeline arrangement direction; According to the node directed graph, each grid set node in each pipe gallery group is arranged and combined to obtain a corresponding node arrangement result, so as to input the node arrangement result into a preset pipeline path finding model to generate a corresponding pipeline arrangement scheme and send it to a user terminal.
2. The multi-disciplinary plumbing layout method for a basement of claim 1, wherein, Based on each grid area and the pipeline direction, the associated pipeline group corresponding to the same grid is determined, specifically including: Determine the direction vector corresponding to the pipeline in any grid area; Calculate the included angle between each direction vector in the same grid area to determine the corresponding same direction pipeline according to the included angle calculation result; Each same direction pipeline in the same grid area is added to the associated pipeline group.
3. The multi-disciplinary plumbing layout method for a basement of claim 2, wherein, According to the grid area corresponding to the associated pipeline group, a pipe gallery group is constructed, specifically including: Along the same direction pipeline direction corresponding to the associated pipeline group, each same direction pipeline in the associated pipeline group is tracked to pass through each grid area; The tracked each grid area is merged into one pipe gallery group, and a corresponding pipe gallery group number is assigned.
4. The multi-disciplinary plumbing layout method for a basement of claim 3, wherein, According to the preset node division rule, each pipe gallery group is traversed to determine the corresponding grid set node, specifically including: Traverse each grid area in the same pipe gallery group to determine the pipeline feature vector in each grid area; the pipeline feature vector is obtained based on the pipeline quantity, type and space position code; Calculate the similarity between each pipeline feature vector corresponding to the same pipe gallery group; Each grid area with a similarity greater than a preset similarity threshold is added to the same grid set node.
5. The multi-disciplinary plumbing layout method for a basement of claim 1, wherein, Based on each pipe gallery group, each grid set node and a preset multi-dimensional node scoring model, a corresponding node score set is determined, specifically including: According to the pipeline direct connection coexistence information in each pipe gallery group, a first preset number of adjacent same direction pipe gallery groups are taken as a first scoring group, and each first scoring coefficient corresponding to each grid set node is calculated through the preset multi-dimensional node scoring model; the pipeline direct connection coexistence information is obtained according to the positional relationship of three adjacent same direction pipe gallery groups G1, G2 and G3 in the first scoring group, the number n of pipelines in the intermediate position pipe gallery group G2 which are located in G1 and G3, and the sum m of the number of pipelines in G2 which are located in G1 and G3; According to the pipeline transition feature information in each pipe gallery group, a second preset number of adjacent different direction pipe gallery groups are taken as a second scoring group, and each second scoring coefficient is calculated through the preset multi-dimensional node scoring model; wherein, for the second scoring group, the second preset number of adjacent different direction pipe gallery groups are taken as a group, and are marked as G1, G2 and G3 according to the positional relationship, the number w of bends of the pipelines in G2 which are located in G1 and G3 is identified, and the number s of tees is identified, and the number of bends and the number of tees are pipeline transition feature information; According to the node profile cross-sectional area corresponding to each grid set node and the side-by-side pipeline cross-sectional area, the third scoring coefficient is calculated through the preset multi-dimensional node scoring model; According to the current position and the preset initial position of each pipeline in each grid set node, the deviation distance value is determined, the deviation distance value is input into the preset multi-dimensional node scoring model, and the fourth scoring coefficient is calculated; According to the preset multi-dimensional weight group, each first scoring coefficient, each second scoring coefficient, each third scoring coefficient and each fourth scoring coefficient, the node state score value of each grid set node is determined, and is added to the node score set.
6. The multi-disciplinary plumbing layout method for a basement of claim 1, wherein, Based on the node score set, the pipe gallery group and the preset directed graph creation rule, the pipeline arrangement direction between each grid set node is determined, specifically including: The grid set node corresponding to the maximum value in the node score set is taken as a starting node, each grid set node in the pipe gallery group where the starting node is located is connected, and a longest path is determined; Along the longest path, the remaining grid set nodes are traversed in a preset direction, a longest path ring is determined, and a direction constraint of a node directed graph is formed to determine the pipeline arrangement direction.
7. The multi-disciplinary plumbing layout method for a basement of claim 6, wherein, After forming the direction constraint of the node directed graph, the method further includes: In the case that there is a grid set node with an undetermined direction, the grid set nodes with a determined direction in the same group are determined according to the pipe gallery group where the grid set node with an undetermined direction is located, and the pointing direction of each grid set node in the corresponding pipe gallery group is determined based on the connection level distance; wherein, the connection level distance is the pipe gallery connection level distance between the node and the starting node.
8. The multi-disciplinary plumbing layout method for a basement of claim 1, wherein, According to the space boundary information, the basement drawing is divided into a plurality of grid regions, specifically including: Grid lines are added to the basement drawing based on the distance between the columns as the reference side length; In a case that a distance between the grid line and a spatial boundary of the structural main element is less than a preset distance threshold, the grid line is set at the spatial boundary and coincides with the spatial boundary to determine each grid region according to an enclosed region of each grid line; the grid region at least includes a triangular grid region and a quadrilateral grid region.
9. A multi-disciplinary utility routing apparatus for a basement, characterized by, The device comprises: at least one processor; and a memory connected to the at least one processor in communication; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method for arranging multi-specialty pipelines in a basement according to any one of claims 1-8.
10. A non-transitory computer storage medium storing computer-executable instructions, the computer-executable instructions comprising instructions for: receiving a request to access a file; determining whether the file is stored in a cache; and in response to determining that the file is stored in the cache, providing access to the file from the cache. The computer executable instructions can perform the method for arranging multi-specialty pipelines in a basement according to any one of claims 1-8.
Citation Information
Patent Citations
Rapid planning and configuration method for engineering pipelines of urban underground comprehensive pipe gallery
CN110837671A
Pipe burst searching method based on three-dimensional underground pipeline
CN111102476A