Pipeline layout and processing methods, devices, computer equipment and readable storage media

By acquiring and grouping pipeline attribute information, computer equipment automates the pipeline layout in underground parking garages, solving the problem of low efficiency in traditional methods and achieving efficient and accurate pipeline layout.

CN115879249BActive Publication Date: 2025-11-14JIULING (JIANGSU) DIGITAL INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111166391.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-30
Publication Date
2025-11-14
Estimated Expiration
2041-09-30

AI Technical Summary

Technical Problem

Traditional pipeline layout methods are inefficient and make it difficult to rationally arrange various professional pipelines in underground parking garages to meet functional and regulatory requirements while saving costs.

Method used

By acquiring the attribute information of the main pipelines within the area to be laid out, grouping and calculating the occupancy information and target layout range, and using computer equipment to automatically group and calculate the occupancy information and target layout range of pipeline groups, batch layout can be achieved.

Benefits of technology

It improves pipeline layout efficiency, saves manpower, enhances the accuracy and efficiency of layout, and simplifies pipeline layout methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115879249B_ABST
    Figure CN115879249B_ABST
Patent Text Reader

Abstract

This application relates to a pipeline layout processing method, apparatus, computer equipment, and storage medium. The method includes: acquiring the main pipelines and their attribute information within a layout area; grouping the main pipelines according to their attribute information to obtain multiple pipeline groups; and acquiring the occupancy information and target layout range of each pipeline group based on the attribute information of each main pipeline within each group. This method allows for the grouping of all main pipelines within the layout area, followed by the calculation of the occupancy information and target layout range of the grouped pipelines. This enables the computer equipment to perform batch layout of all main pipelines within the layout area based on the acquired occupancy information and target layout range, thereby improving pipeline layout efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer-aided architectural design technology, and in particular to a pipeline layout processing method, apparatus, computer equipment, and readable storage medium. Background Technology

[0002] With social development and the increasing scarcity of urban land, making full use of above-ground and underground space and pursuing intensive development has become a trend. Underground parking garages play a crucial role in solving public parking problems in city centers and private parking issues in residential areas. Therefore, it is necessary to rationally arrange underground parking garages. Underground parking garages contain numerous professional pipelines designed to meet fire safety and operational requirements. The challenge lies in how to rationally arrange these pipelines to achieve functional and regulatory requirements while saving costs.

[0003] In traditional techniques, the layout range for each pipeline is calculated, and designers manually arrange all pipelines according to this range. However, this traditional method results in low pipeline layout efficiency. Summary of the Invention

[0004] Therefore, it is necessary to provide a pipeline layout processing method, apparatus, computer equipment, and readable storage medium to address the aforementioned technical problems.

[0005] A pipeline layout method, the method comprising:

[0006] Obtain the main pipelines and attribute information of each main pipeline within the area to be arranged;

[0007] The main pipelines are grouped according to the attribute information to obtain multiple pipeline groups;

[0008] Based on the attribute information of each main pipeline in each pipeline group, obtain the occupancy information of each pipeline group and the target layout range of each pipeline group.

[0009] In one embodiment, the attribute information includes the location information of the main pipeline, the initial layout range of the main pipeline, and the intersection relationship between the main pipeline and the layout beam; the step of grouping all main pipelines to obtain multiple pipeline groups includes:

[0010] Based on the location information of each main pipeline and the intersection relationship between each main pipeline and the arrangement beam, all the main pipelines are grouped to obtain multiple regional pipeline groups;

[0011] Based on the initial layout range of each main pipeline, the regional pipeline groups are grouped to obtain multiple pipeline groups.

[0012] In one embodiment, the process of grouping all the main pipelines according to their location information and their intersection with the arrangement beams to obtain multiple regional pipeline groups includes:

[0013] Based on the location information of each main line, select one main line from all the main lines as the first main line;

[0014] Based on the intersection relationship between each main pipeline and the arrangement beam, determine all first arrangement beams connected to the first main pipeline from all arrangement beams in the area to be arranged;

[0015] Based on the intersection relationship between each of the main pipelines and the arrangement beams, determine all the second main pipelines that are connected to each of the first arrangement beams from all the main pipelines;

[0016] Treat all second main pipelines as first main pipelines, and return to the step of determining all first arrangement beams connected to the first main pipelines from all arrangement beams in the area to be arranged based on the intersection relationship between each main pipeline and the arrangement beam, until there are no more first arrangement beams connected to the first main pipeline, and treat all first main pipelines as area pipeline groups.

[0017] In one embodiment, the step of grouping the regional pipeline groups according to the initial layout range of each of the main pipelines to obtain multiple pipeline groups includes:

[0018] Based on the initial layout range of each main pipeline in each of the aforementioned regional pipeline groups, determine the layout line corresponding to each of the aforementioned main pipelines;

[0019] All main pipelines corresponding to the same layout line are divided into the same group to obtain each pipeline group corresponding to each layout line.

[0020] In one embodiment, the pipeline group includes main pipelines with different intersecting relationships; the method further includes:

[0021] Based on the category of all main pipelines in each pipeline group, all main pipelines in each pipeline group are grouped by category to obtain multiple pipeline groups of different categories;

[0022] Based on the intersection relationships between all main pipelines in each of the different types of pipeline groups, the relationships of all main pipelines in each of the different types of pipeline groups are grouped to obtain multiple pipeline groups with different relationships.

[0023] In one embodiment, the attribute information further includes the size information of the main pipeline; obtaining the occupancy information of each pipeline group based on the attribute information of each main pipeline in each pipeline group includes:

[0024] Based on the size information of each main pipeline in each pipeline group, determine the sum of the widths of all main pipelines in each pipeline group;

[0025] The occupancy information of each pipeline group is calculated by taking into account the external occupancy of each pair of adjacent pipeline groups, the sum of the widths of all main pipelines within each pipeline group, the intra-group spacing between each pair of main pipelines within each pipeline group, and the number of all main pipelines within each pipeline group.

[0026] In one embodiment, obtaining the target layout range of each pipeline group based on the attribute information of each main pipeline in each pipeline group includes:

[0027] If each pipeline group includes a restricted main pipeline, then based on the initial layout range of each main pipeline in each pipeline group, the intersection of the initial layout ranges of all main pipelines in each pipeline group is calculated to obtain the target layout range of each pipeline group.

[0028] In one embodiment, the method further includes:

[0029] If each pipeline group includes restricted main pipelines and unrestricted main pipelines, then based on the initial layout range of each main pipeline in each pipeline group, the intersection of the initial layout ranges corresponding to all restricted main pipelines in each pipeline group is calculated, and the sum of the intersection result and the width of all unrestricted main pipelines in each pipeline group is taken as the target layout range of each pipeline group.

[0030] In one embodiment, the pipeline group includes sub-pipeline groups; the method further includes:

[0031] If each of the pipeline groups includes a restricted main pipeline and there are pipe fittings between different restricted main pipelines, then each of the pipeline groups is divided into multiple sub-pipeline groups.

[0032] Based on the initial layout range of each main pipeline in each sub-pipeline group, the target layout range of each sub-pipeline group is obtained.

[0033] A pipeline layout processing device, the device comprising:

[0034] The main pipeline acquisition module is used to acquire the main pipelines within the area to be arranged and the attribute information of each main pipeline.

[0035] The grouping module is used to group the main pipelines according to the attribute information to obtain multiple pipeline groups;

[0036] The information acquisition module is used to acquire the occupancy information of each pipeline group and the target layout range of each pipeline group based on the attribute information of each main pipeline in each pipeline group.

[0037] A computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program performing the following steps:

[0038] Obtain the main pipelines and attribute information of each main pipeline within the area to be arranged;

[0039] The main pipelines are grouped according to the attribute information to obtain multiple pipeline groups;

[0040] Based on the attribute information of each main pipeline in each pipeline group, obtain the occupancy information of each pipeline group and the target layout range of each pipeline group.

[0041] A readable storage medium having a computer program stored thereon, the computer program performing the following steps when executed by a processor:

[0042] Obtain the main pipelines and attribute information of each main pipeline within the area to be arranged;

[0043] The main pipelines are grouped according to the attribute information to obtain multiple pipeline groups;

[0044] Based on the attribute information of each main pipeline in each pipeline group, obtain the occupancy information of each pipeline group and the target layout range of each pipeline group.

[0045] The aforementioned pipeline layout processing method, apparatus, computer equipment, and readable storage medium allow the computer equipment to acquire the main pipelines and their attribute information within the area to be laid out. Based on the attribute information of each main pipeline, the main pipelines are grouped into multiple pipeline groups. Based on the attribute information of each main pipeline within each group, the occupancy information of each pipeline group and the target layout range of each pipeline group are obtained. This method can group all main pipelines within the area to be laid out, and then calculate the occupancy information and target layout range of the grouped pipelines. This enables the computer equipment to perform batch layout of all main pipelines within the area to be laid out based on the acquired occupancy information and target layout range of the pipeline groups, thereby improving pipeline layout efficiency. Attached Figure Description

[0046] Figure 1 This is an internal structural diagram of a computer device in one embodiment;

[0047] Figure 2 This is a flowchart illustrating a pipeline layout method in one embodiment;

[0048] Figure 3 This is a schematic flowchart of a method for grouping main pipelines to obtain pipeline groups in one embodiment.

[0049] Figure 4This is a flowchart illustrating a method for grouping main pipelines in another embodiment;

[0050] Figure 5 This is a flowchart illustrating a method for grouping main pipelines in another embodiment;

[0051] Figure 6 This is a flowchart illustrating a method for grouping main pipelines in another embodiment;

[0052] Figure 7 This is a two-dimensional plan view of the main pipeline and the building structure layer in another embodiment;

[0053] Figure 8 This is a schematic diagram of a method for grouping pipeline groups in another embodiment;

[0054] Figure 9 This is a two-dimensional planar structural diagram of a pipeline group in another embodiment where the main pipelines do not intersect.

[0055] Figure 10 This is a two-dimensional planar structural diagram showing the intersecting relationship between the main pipelines in the pipeline group in another embodiment;

[0056] Figure 11 This is a flowchart illustrating a method for calculating the occupancy information of a pipeline group in another embodiment;

[0057] Figure 12 A diagram showing the various parameter markings included in the occupancy information of the pipeline group in another embodiment;

[0058] Figure 13 This is a structural diagram of a pipeline group containing a restricted main pipeline in another embodiment;

[0059] Figure 14 This is a structural diagram of a pipeline group containing a restricted main pipeline in another embodiment;

[0060] Figure 15 A structural diagram of a pipeline group comprising restricted main pipelines and unrestricted main pipelines in another embodiment;

[0061] Figure 16 A structural diagram of a pipeline group comprising restricted main pipelines and unrestricted main pipelines in another embodiment;

[0062] Figure 17 A flowchart illustrating the method for determining the target layout range of a pipeline group in another embodiment;

[0063] Figure 18 This is a structural diagram of a pipeline group comprising sub-pipelines in another embodiment;

[0064] Figure 19This is a structural diagram of a pipeline group comprising sub-pipelines in another embodiment;

[0065] Figure 20 This is a structural block diagram of a pipeline layout processing device in one embodiment. Detailed Implementation

[0066] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0067] The pipeline layout method provided in this application can be applied to Figure 1 The computer equipment shown. (For example...) Figure 1 As shown, the computer device includes a processor, memory, network interface, display screen, and input device connected via a system bus. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The computer device's database stores pipelines and their attribute information. The network interface is used to communicate with external terminals via a network connection. When the computer program is executed by the processor, it implements a pipeline layout processing method. This embodiment describes a process executed before pipeline layout, and this embodiment can perform this process for all pipelines on the same plane. The above-mentioned pipeline layout processing method can be applied to pipeline layout methods in underground parking garages, as well as in surface parking garages. It can also be applied to other application scenarios involving pipeline layout in the construction industry; this embodiment does not limit the application scenarios.

[0068] In one embodiment, such as Figure 2 As shown, a pipeline layout processing method is provided, which can be applied to... Figure 1 Taking a computer device as an example, the explanation includes the following steps:

[0069] S100: Obtain the main pipelines and attribute information of each main pipeline within the area to be arranged.

[0070] Specifically, taking the pipeline layout in an underground parking garage as an example, the corresponding steps will be explained. The area to be laid out can be the entire underground parking garage area or a part of it. All pipelines within the area to be laid out can be referred to as main pipelines. Main pipelines can be water supply and drainage pipelines, compressed air pipelines, hydrogen pipelines, oxygen pipelines, acetylene pipelines, heating pipelines, gas pipelines, fuel oil pipelines, refrigeration pipelines, and other engineering pipelines. The attribute information of the main pipelines can include material information, price information, quality information, size information, etc., but is not limited to these information.

[0071] The attribute information of the main pipelines can be stored in the computer device's memory or in a local file on the computer device; there is no limitation on which. The computer device can load the 3D model and attribute information of all main pipelines within the area to be arranged to obtain the attribute information of all main pipelines and each main pipeline within the area to be arranged.

[0072] S200. Group the main pipelines according to their attribute information to obtain multiple pipeline groups.

[0073] Specifically, computer equipment can group all main pipelines within the area to be arranged based on their material information, price information, quality information, size information, and other attribute information, resulting in multiple groups of main pipelines, each group being called a pipeline group.

[0074] For example, if the material information of all main pipelines in the area to be laid out includes galvanized iron, copper, stainless steel, and aluminum-plastic composite, the computer equipment can divide all the main pipelines in the area into galvanized iron pipeline group, copper pipeline group, stainless steel pipeline group, and aluminum-plastic composite pipeline group according to the different material information of the main pipelines. If the price information of all the main pipelines in the area to be laid out includes that the price of main pipeline 1 is 50 yuan, the price of main pipeline 2 is 60 yuan, the price of main pipeline 3 is 50 yuan, the price of main pipeline 4 is 100 yuan, the price of main pipeline 5 is 100 yuan, and the price of main pipeline 6 is 60 yuan, the computer equipment can divide all the main pipelines in the area into three pipeline groups according to the different price information of the main pipelines: main pipeline 1 and main pipeline 3 form one pipeline group, main pipeline 2 and main pipeline 6 form one pipeline group, and main pipeline 4 and main pipeline 5 form one pipeline group. If the dimensions of all main lines in the area to be laid out include the following: main line 1 is 5 meters long, main line 2 is 6 meters long, main line 3 is 6 meters long, main line 4 is 7 meters long, main line 5 is 5 meters long, and main line 6 is 7 meters long, then the computer equipment can divide all the main lines in the area to be laid out into three pipeline groups according to the different dimensions of the main lines: main line 1 and main line 5 form one pipeline group, main line 2 and main line 3 form one pipeline group, and main line 4 and main line 6 form one pipeline group.

[0075] S300. Based on the attribute information of each main pipeline in each pipeline group, obtain the occupancy information of each pipeline group and the target layout range of each pipeline group.

[0076] Specifically, the occupancy information of the aforementioned pipeline group can be understood as the width occupied by the pipeline group. The dimension information in the attribute information of the main pipeline can be the length of the main pipeline or the width of the main pipeline. The width of the main pipeline can be either the inner diameter or the outer diameter of the main pipeline.

[0077] The computer equipment can calculate the occupancy information of each pipeline group based on the size information of each main pipeline in each pipeline group, the location information of each main pipeline within its pipeline group, the number of pipeline groups in each pipeline group, and the safety buffer spacing of each main pipeline within each pipeline group. Furthermore, the computer equipment can also calculate the comprehensive layout range of all main pipelines in each pipeline group, i.e., the target layout range, based on the size information of each main pipeline in each pipeline group and the layout range of each main pipeline. The layout range of the main pipelines can be understood as the movable range within which the main pipelines can be arranged. The above calculation methods can include addition, subtraction, division, or multiplication operations, or any combination of these operations; there are no limitations on the calculation method.

[0078] In the above-mentioned pipeline layout processing method, the computer equipment can obtain the main pipelines and their attribute information within the area to be laid out. Based on the attribute information of each main pipeline, the main pipelines are grouped to obtain multiple pipeline groups. Based on the attribute information of each main pipeline in each pipeline group, the occupancy information of each pipeline group and the target layout range of each pipeline group are obtained. This method can group all the main pipelines within the area to be laid out, and then calculate the occupancy information and target layout range of the grouped pipelines. This allows the computer equipment to perform batch layout of all the main pipelines within the area to be laid out based on the obtained occupancy information and target layout range of the pipeline groups, thereby improving pipeline layout efficiency. Simultaneously, it can avoid manual pipeline layout, saving manpower and improving the accuracy of pipeline layout.

[0079] As one embodiment, the attribute information of the aforementioned main pipeline includes the location information of the main pipeline, the initial layout range of the main pipeline, and the intersection relationship between the main pipeline and the layout beam; such as Figure 3 As shown, the step of grouping all main pipelines into multiple pipeline groups in S200 above can be achieved through the following steps:

[0080] S210. Based on the location information of each main pipeline and the intersection relationship between each main pipeline and the arrangement beam, all main pipelines are grouped to obtain multiple regional pipeline groups.

[0081] In this embodiment, the attribute information of the main pipeline may include the location information of the main pipeline, the initial layout range of the main pipeline, and the intersection relationship between the main pipeline and the layout beam. Based on the location information of each main pipeline, the positions of all main pipelines on the same plane can be determined. The initial layout range of the main pipeline can be understood as the movable range within which each main pipeline can be arranged; the initial layout range is not constrained by other main pipelines. The aforementioned layout beam can be determined based on the beams in the building structure; it can be the entire beam in the building structure or a part of the entire beam. The intersection relationship between the main pipeline and the layout beam can include two relationships: the main pipeline intersects the layout beam, and the main pipeline does not intersect the layout beam. The grouping in S210 above can be understood as coarse grouping of the main pipelines, and the computer device can further subdivide the groups based on the results of the coarse grouping.

[0082] Understandably, computer equipment can group all the main pipelines that are adjacent to each other and all intersect with the same arrangement beam into one group, thus obtaining a regional pipeline group, based on the location information of each main pipeline and the intersection relationship between each main pipeline and the arrangement beam. It can also group the remaining ungrouped main pipelines that are adjacent to each other and all intersect with another arrangement beam into another group, thus obtaining another regional pipeline group. This process can be repeated to obtain multiple regional pipeline groups. Alternatively, it can group all the main pipelines that are adjacent to each other and all intersect with any arrangement beam into one group, thus obtaining multiple regional pipeline groups. Of course, it can also group all the main pipelines that intersect with the arrangement beam into one group, and group all the main pipelines that do not intersect with the arrangement beam into another group.

[0083] S220. Based on the initial layout range of each main pipeline, the pipeline groups in each area are grouped to obtain multiple pipeline groups.

[0084] Specifically, the computer equipment can group all main pipelines with equal initial layout ranges in each regional pipeline group according to the initial layout range in the attribute information of each main pipeline, thereby achieving grouping and obtaining multiple pipeline groups contained in each regional pipeline group. Equal initial layout ranges of main pipelines can be understood as equal lengths of the initial layout ranges. For example, if the initial layout range of main pipeline 1 in a regional pipeline group is [1, 2], the initial layout range of main pipeline 2 is [2, 3], the initial layout range of main pipeline 3 is [3, 5], and the initial layout range of main pipeline 4 is [5, 7], then the length of the initial layout range of main pipeline 1 is 1, the length of the initial layout range of main pipeline 2 is 1, the length of the initial layout range of main pipeline 3 is 2, and the length of the initial layout range of main pipeline 4 is 2. Therefore, the computer equipment can group main pipeline 1 and main pipeline 2 into one pipeline group, and main pipeline 3 and main pipeline 4 into another pipeline group.

[0085] In addition, the computer equipment can also group all main pipelines in each area pipeline group whose initial layout range falls within a preset range based on the initial layout range in the attribute information of each main pipeline, thereby achieving further grouping and obtaining multiple pipeline groups contained in each area pipeline group. The initial layout range of a main pipeline falling within a preset range can be understood as the length of the initial layout range of the main pipeline falling within a preset range. For example, if preset range 1 is [1, 3], preset range 2 is [4, 6], and the initial layout range of main pipeline 1 within the regional pipeline group is [1, 2], the initial layout range of main pipeline 2 is [2, 4], the initial layout range of main pipeline 3 is [4, 8], and the initial layout range of main pipeline 4 is [8, 13], then the length 1 of the initial layout range of main pipeline 1 is within preset range 1, the length 2 of the initial layout range of main pipeline 2 is within preset range 1, the length 4 of the initial layout range of main pipeline 3 is within preset range 2, and the length 5 of the initial layout range of main pipeline 4 is within preset range 2. Therefore, the computer device can divide main pipeline 1 and main pipeline 2 into the same pipeline group, and divide main pipeline 3 and main pipeline 4 into another pipeline group. The grouping method in S220 is not limited to these grouping methods, and the grouping method in S220 can be different from the grouping method in S210.

[0086] The above-mentioned pipeline layout method can group all main pipelines according to their location information and the intersection relationship between each main pipeline and the layout beam, resulting in multiple regional pipeline groups. Based on the initial layout range of each main pipeline, each regional pipeline group is further grouped to obtain multiple pipeline groups. This method can group all main pipelines within the layout area, and further calculate the occupancy information and target layout range of the grouped pipeline groups. Based on the calculation results, all main pipelines within the layout area are grouped and arranged in batches, thereby simplifying the pipeline layout method and further improving the pipeline layout efficiency.

[0087] As one example, such as Figure 4 As shown, the step in S210 above, which groups all main pipelines into multiple regional pipeline groups based on the location information of each main pipeline and the intersection relationship between each main pipeline and the arrangement beam, can be achieved through the following steps:

[0088] S211. Based on the location information of each main line, select one main line from all the main lines as the first main line.

[0089] Specifically, the computer device can determine the position of all main lines on the same plane based on the position information of each main line. It can select one main line as the first main line from all the main lines in a left-to-right or right-to-left order. Alternatively, it can select the middle main line from all the main lines in a left-to-right or right-to-left order. Of course, it can also select any one main line from all the main lines as the first main line. This embodiment does not limit the selection method.

[0090] S212. Based on the intersection relationship between each main line and the arrangement beam, determine all the first arrangement beams connected to the first main line from all the arrangement beams in the area to be arranged.

[0091] Specifically, the computer equipment can determine all the arrangement beams intersecting with the first main pipeline based on the intersection relationship between each main pipeline and the arrangement beams, and designate these arrangement beams as the first arrangement beams. There can be one or more arrangement beams intersecting the first main pipeline. All the aforementioned first arrangement beams connected to the first main pipeline can also be understood as all arrangement beams intersecting with the first main pipeline.

[0092] S213. Based on the intersection relationship between each main pipeline and the arrangement beam, determine all the second main pipelines that are connected to each first arrangement beam from all the main pipelines.

[0093] Specifically, the computer equipment can determine all main lines intersecting with each first arrangement beam based on the intersection relationship between each main line and the arrangement beam, and designate these main lines as second main lines. There can be one or more second main lines connected to the first arrangement beam. All the aforementioned second main lines connected to the first arrangement beam can also be understood as all main lines intersecting with the first arrangement beam.

[0094] The first main pipeline and the second main pipeline can be connected to both ends or both sides of the first arrangement beam, and the second main pipeline does not include the first main pipeline.

[0095] S214. Treat all second main pipelines as first main pipelines, return to execute the step of determining all first arrangement beams connected to the first main pipelines from all arrangement beams in the area to be arranged based on the intersection relationship between each main pipeline and the arrangement beam, until there are no more first arrangement beams connected to the first main pipelines, and treat all first main pipelines as area pipeline groups.

[0096] Understandably, the computer device can treat all the second main pipelines as first main pipelines and continue to execute the steps in S211-S213 above until there are no arrangement beams connected to the first main pipelines under all the determined first main pipelines, or there are no main pipelines connected to the first arrangement beams under all the determined first arrangement pipelines, and then treat all the determined first main pipelines as a regional pipeline group.

[0097] In this embodiment, the first main pipeline may not intersect with any arrangement beam. In this case, the computer device may not perform the steps in S212-S214 above, and the obtained area pipeline group may include a first main pipeline.

[0098] Furthermore, such as Figure 5 As shown, after step S214 above, the above pipeline layout processing method may further include the following steps:

[0099] S215. Obtain the ungrouped main lines among all main lines and area line groups.

[0100] Specifically, the computer equipment can acquire all main pipelines within the area to be arranged and a group of regional pipelines that have already been grouped, and remove the main pipelines in the regional pipeline group from all the main pipelines to obtain the ungrouped main pipelines among all the main pipelines.

[0101] In this embodiment, the main pipelines in the already grouped regional pipeline groups can be marked to distinguish the ungrouped main pipelines among all the main pipelines. In this case, the computer device can also obtain the ungrouped main pipelines among all the main pipelines based on the marked main pipelines.

[0102] S216. Based on the location information of each ungrouped main line, select one main line from all ungrouped main lines as the third main line.

[0103] Specifically, the computer device can determine the positions of all ungrouped main lines on the same plane based on the position information of each ungrouped main line. It can select one main line from all ungrouped main lines as the third main line in a left-to-right or right-to-left order. Alternatively, it can select the middle main line from all ungrouped main lines as the third main line in a left-to-right or right-to-left order. Of course, it can also select any main line from all ungrouped main lines as the third main line. This embodiment does not limit the selection method.

[0104] S217. Based on the intersection relationship between each ungrouped main line and the arrangement beam, determine all the second arrangement beams connected to the third main line from all the arrangement beams in the area to be arranged.

[0105] Understandably, the computer equipment can determine all the arrangement beams intersecting the third main line based on the intersection relationships between each ungrouped main line and the arrangement beams, and designate these arrangement beams as second arrangement beams. There can be one or more arrangement beams intersecting the third main line. All the second arrangement beams connected to the third main line can also be understood as all the arrangement beams intersecting the third main line.

[0106] S218. Based on the intersection relationship between each ungrouped main pipeline and the arrangement beam, determine all fourth main pipelines connected to each second arrangement beam from all ungrouped main pipelines.

[0107] The computer equipment can determine all main lines intersecting with each second arrangement beam based on the intersection relationship between each ungrouped main line and the arrangement beam, and designate these main lines as fourth main lines. There can be one or more fourth main lines connected to the second arrangement beam. All the aforementioned fourth main lines connected to the second arrangement beam can also be understood as all main lines intersecting with the second arrangement beam.

[0108] S219. Treat all fourth main lines as third main lines, return to the execution of the step of selecting one main line from all ungrouped main lines as the third main line based on the location information of each ungrouped main line, until all main lines are evenly distributed to different regional pipeline groups, resulting in multiple regional pipeline groups.

[0109] Understandably, the computer equipment can treat all fourth main pipelines as third main pipelines and continue executing steps S216-S218 above until none of the determined third main pipelines have a connecting beam, or none of the determined second connecting beams have a connecting pipeline. Then, all the determined third main pipelines are treated as another area pipeline group. The ungrouped main pipelines are then identified, and steps S216-S218 are executed repeatedly until all main pipelines are evenly distributed into different area pipeline groups, resulting in multiple area pipeline groups. Each area pipeline group can contain one or more main pipelines; this is not limited.

[0110] The above-mentioned pipeline layout processing method can group all main pipelines to obtain multiple regional pipeline groups. This method can group all main pipelines in the area to be laid out, and further calculate the occupancy information and target layout range of the grouped pipeline groups. Based on the calculation results, all main pipelines in the area to be laid out are grouped and laid out in batches, thereby simplifying the pipeline layout method and further improving the pipeline layout efficiency.

[0111] As one example, such as Figure 6As shown, the step in S220 above, which groups the pipeline groups in each area according to the initial layout range of each main pipeline, to obtain multiple pipeline groups, can be achieved through the following steps:

[0112] S221. Determine the layout line corresponding to each main pipeline based on the initial layout range of each main pipeline in each area pipeline group.

[0113] It is understandable that the layout line corresponding to the main pipeline can be understood as the line segment corresponding to the initial layout range of the main pipeline. For example, if the initial layout range of the main pipeline is [1, 2], then the layout line of the main pipeline can be a straight line segment between 1 and 2.

[0114] S222. Divide all main pipelines corresponding to the same layout line into the same group to obtain each pipeline group corresponding to each layout line.

[0115] In this embodiment, all main lines corresponding to the same arrangement line can be determined by the arrangement lines corresponding to each main line, and all main lines corresponding to the same arrangement line can be divided into the same group to obtain the pipeline group corresponding to that arrangement line. Similarly, all main lines corresponding to each arrangement line can be divided into different groups to obtain the pipeline groups corresponding to different arrangement lines. A single arrangement line can correspond to one or more main lines; the number is not limited. Figure 7 As shown, Figure 7 This is a two-dimensional plan view of the structure between the main pipeline and the building structure layer. The wider rectangular bar in the figure represents the building structure layer. The layout lines of main pipeline 1 and main pipeline 2 are both layout line 1, and the layout line of main pipeline 3 is layout line 2. Therefore, main pipeline 1 and main pipeline 2 can be grouped together, and main pipeline 3 can automatically form a group.

[0116] Additionally, if the pipeline group includes main pipelines with different intersecting relationships, then after performing the steps in S222 above, as follows: Figure 8 As shown, the above pipeline layout method may further include the following steps:

[0117] S223. Based on the category of all main pipelines in each pipeline group, group all main pipelines in each pipeline group by category to obtain multiple pipeline groups of different categories.

[0118] The aforementioned main pipelines with different intersection relationships can include both non-intersecting and intersecting main pipelines within a pipeline group. Computer equipment can group all main pipelines within each pipeline group according to their professional categories. These professional categories can include electrical, air conditioning, ventilation, drainage, etc. Category grouping involves grouping main pipelines of the same professional category within a pipeline group together, resulting in one or more different category pipeline groups within that group.

[0119] S224. Based on the intersection relationship between all main pipelines in each different category of pipeline group, group all main pipelines in each different category of pipeline group according to their relationship to obtain multiple pipeline groups with different relationships.

[0120] The computer equipment can further group the acquired pipeline groups of different categories to obtain multiple pipeline groups with different relationships. Specifically, based on the intersection relationships between all main pipelines in each pipeline group of different categories, it can determine the main pipelines with intersection relationships and those without intersection relationships in each pipeline group of different categories. The main pipelines with intersection relationships in each pipeline group of different categories are grouped into one group, and the main pipelines without intersection relationships in each pipeline group of different categories are grouped into another group, thus obtaining multiple pipeline groups with different relationships.

[0121] like Figure 9 The diagram shows a two-dimensional planar structure of the pipeline group where the main pipelines do not intersect. The four main pipelines circled in the diagram do not intersect, and all four main pipelines are arranged within the range of the center line.

[0122] like Figure 10 The diagram shows a two-dimensional planar structure where the main pipelines in a pipeline group intersect. In the diagram, main pipeline 1 has four intersecting vertical main pipelines, and all five main pipelines are arranged within the middle layout line. In this case, the main pipelines in the pipeline group under the same layout line are divided into two groups: main pipeline 1 is one group, and main pipeline 2, main pipeline 3, main pipeline 4 and main pipeline 5 are another group.

[0123] The above-described pipeline layout processing method can further group the regional pipeline groups obtained after the first grouping to obtain more refined pipeline groups. It can then calculate the occupancy information and target layout range of these pipeline groups. Based on the calculation results, all main pipelines in the area to be laid out are grouped and laid out in batches, thereby simplifying the pipeline layout method and further improving the pipeline layout efficiency. At the same time, this method can divide the pipeline into more refined pipeline groups and calculate the attribute information of these pipeline groups to improve the accuracy of pipeline layout and avoid the problem of inaccurate pipeline layout caused by the presence of various types of main pipelines in the same pipeline group.

[0124] As one embodiment, the attribute information of the main pipeline also includes the size information of the main pipeline; such as Figure 11 As shown, the step in S300 above, which obtains the occupancy information of each pipeline group based on the attribute information of each main pipeline in each pipeline group, may specifically include the following steps:

[0125] S310. Based on the dimension information of each main pipeline in each pipeline group, determine the sum of the widths of all main pipelines in each pipeline group.

[0126] Specifically, the dimensions of the main pipeline may include the length, inner diameter, and outer diameter of the main pipeline. In this embodiment, the computer device can determine the sum of the widths of all main pipelines in each pipeline group based on the outer diameter of each main pipeline in each pipeline group. That is, the outer diameters of all main pipelines in the pipeline group are added together to obtain the sum of the widths of all main pipelines in the pipeline group.

[0127] S320. Calculate the occupancy information of each pipeline group by considering the external occupancy of each pair of adjacent pipeline groups, the sum of the widths of all main pipelines within each pipeline group, the intra-group spacing between each pair of main pipelines within each pipeline group, and the number of all main pipelines within each pipeline group.

[0128] Specifically, the external occupancy of each pair of adjacent pipeline groups can be a user-defined distance, which can be understood as a safety buffer spacing between two adjacent pipeline groups. In this embodiment, the external occupancy of each pair of adjacent pipeline groups is set to prevent collisions between adjacent pipeline groups during main pipeline layout. The intra-group spacing between each pair of main pipelines within each pipeline group can also be a user-defined distance, which can be understood as a safety buffer spacing between two adjacent main pipelines within a pipeline group. In this embodiment, the intra-group spacing between each pair of main pipelines within a pipeline group is set to prevent collisions between two adjacent main pipelines within a pipeline group during main pipeline layout.

[0129] The calculation method in S320 can be addition, subtraction, multiplication, or division. However, in this embodiment, the computer device can multiply the external occupancy A of each pair of adjacent pipeline groups by 2, add the sum of the widths B of all main pipelines within each pipeline group, and multiply the difference between this result and the number of main pipelines C minus 1 within each pipeline group by the intra-group spacing D between each pair of main pipelines within each pipeline group. This sums up the occupancy information of each pipeline group, which is equal to A*2 + B + (C-1)*D. The spacing between each pair of main pipelines within each pipeline group can be equal. Figure 12 When calculating the occupancy information of a pipeline group, a parameter labeling diagram is generated for all parameters involved within a pipeline group.

[0130] The above-mentioned pipeline layout processing method can calculate the occupancy information of the grouped pipelines, and then, based on the occupancy information of the pipeline groups, it is convenient to group and arrange all the main pipelines in the area to be arranged in batches, thereby simplifying the pipeline layout method and further improving the pipeline layout efficiency.

[0131] As one embodiment, the step of obtaining the target layout range of each pipeline group based on the attribute information of each main pipeline in each pipeline group in S300 may include: if each pipeline group includes a restricted main pipeline, then based on the initial layout range of each main pipeline in each pipeline group, calculating the intersection of the initial layout ranges of all main pipelines in each pipeline group to obtain the target layout range of each pipeline group.

[0132] Specifically, because vertical pipelines connected to the main pipeline have pipe fittings within the main pipeline's layout area, there may be restricted main pipelines within the main pipeline. Typically, restricted main pipelines have connections to other main pipelines in their vertical direction. When a main pipeline moves to a certain value within its layout area, its original connection direction is changed to an invalid direction opposite to the original connection direction, and it connects to other main pipelines in the vertical direction. At this point, this main pipeline can be called a restricted main pipeline, which can also be understood as a main pipeline subject to certain restrictions. Because restricted main pipelines are subject to certain restrictions, their actual layout range must take into account the restrictions; therefore, the actual layout range of any restricted main pipeline is smaller than its original layout range when it was unrestricted.

[0133] For example, a main line 1 is connected to another main line 2, and the connection direction is that main line 1 goes east and then connects to main line 2 going north, such as "→ and ↑ direction". When main line 1 is adjusted to move upward and move to the port position of main line 2, if it continues to move upward, the direction of main line 2 will change and become "→ and ↓ direction". This situation indicates that main line 1 is restricted, and main line 1 can be called a restricted main line.

[0134] If all main pipelines in a pipeline group are restricted main pipelines, the computer equipment can calculate the intersection of the initial layout ranges of all main pipelines in the pipeline group based on the initial layout range of each main pipeline in the pipeline group. The intersection result can be used as the final layout range of the pipeline group, i.e., the target layout range. The target layout range of each pipeline group can be calculated by finding the intersection.

[0135] like Figure 13 Given a structure diagram of a pipeline group containing a restricted main pipeline, the layout line corresponding to the initial layout range of main pipeline 1 is layout line 1, and the layout line corresponding to the initial layout range of main pipeline 2 is layout line 2. Since both main pipeline 1 and main pipeline 2 are restricted main pipelines, the intersection of the layout lines corresponding to main pipeline 1 and main pipeline 2 is obtained to obtain layout line 3. Therefore, the layout range corresponding to layout line 3 is the target layout range of the pipeline group.

[0136] like Figure 14This diagram illustrates a different pipeline group containing restricted main pipelines. In this case, the pipeline group includes main pipeline 1, main pipeline 2, and main pipeline 3, all connected by perpendicular pipelines. The cross in the diagram represents a pipe fitting. The target layout range of this pipeline group can be the intersection of the initial layout ranges of the three main pipelines, and the final target layout range can be the layout range corresponding to layout line 1 on the right. In this scenario, the three main pipelines within the pipeline group can be arranged as a single unit; this pipeline group can also be called a sliding pipeline group.

[0137] The step of obtaining the target layout range of each pipeline group may further include: if each pipeline group includes restricted main lines and unrestricted main lines, then based on the initial layout range of each main line in each pipeline group, the intersection of the initial layout ranges of all restricted main lines in each pipeline group is calculated, and the sum of the intersection result and the width of all unrestricted main lines in each pipeline group is taken as the target layout range of each pipeline group.

[0138] Understandably, if there are both restricted and unrestricted main lines among all the main lines in the pipeline group, the computer equipment can first calculate the intersection of the initial layout ranges corresponding to all restricted main lines in the pipeline group, and then use the sum of the intersection result and the outer diameter of other unrestricted main lines in the pipeline group as the final layout range of the pipeline group, i.e., the target layout range.

[0139] like Figure 15 This is a structural diagram of a pipeline group, which includes a restricted main pipeline and an unrestricted main pipeline. Main pipeline 1 is an unrestricted main pipeline, and main pipeline 2 is a restricted main pipeline. The vertical line segment on the right is the final layout line corresponding to the pipeline group, namely layout line 1. The layout range corresponding to layout line 1 is the target layout range of the pipeline group.

[0140] like Figure 16 The diagram shows a pipeline group comprising two restricted main pipelines and one unrestricted main pipeline. The pipeline group includes unrestricted main pipeline 1, restricted main pipeline 2, and restricted main pipeline 3. In this case, the pipeline group can be understood as including restricted sub-pipeline groups and unrestricted sub-pipeline groups. Computer equipment can calculate the layout range of the restricted sub-pipeline groups within the pipeline group, the outer diameter of all main pipelines within the unrestricted sub-pipeline groups, the intra-group spacing between restricted and unrestricted sub-pipeline groups, and the sum of the extra-group occupancy of the unrestricted sub-pipeline groups and other pipeline groups outside the pipeline group, thus obtaining the target layout range of the pipeline group. The calculation method for the target layout range of other similar pipeline groups is the same and will not be elaborated further.

[0141] The intra-group spacing between restricted and unrestricted sub-pipelines within a pipeline group can be user-defined. This spacing can be understood as a safety buffer spacing between restricted and unrestricted sub-pipelines within the pipeline group; setting this intra-group spacing prevents collisions when these sub-pipelines are arranged. Similarly, the extra-group occupancy between unrestricted sub-pipelines within a pipeline group and other pipeline groups outside the pipeline group can be user-defined. This extra-group occupancy also prevents collisions when these unrestricted sub-pipelines within the pipeline group are arranged with other pipeline groups outside the pipeline group.

[0142] This embodiment can calculate the target layout range of pipeline groups, and group all main pipelines in the area to be laid out according to the calculation results, thereby simplifying pipeline layout and improving pipeline layout efficiency.

[0143] In addition, such as Figure 17 As shown, if a pipeline group includes sub-pipeline groups, the step of obtaining the target layout range of each pipeline group may further include:

[0144] S330. If each pipeline group includes a restricted main pipeline and there are pipe fittings between different restricted main pipelines, then each pipeline group shall be divided into multiple sub-pipeline groups.

[0145] like Figure 18 The diagram shows a structure of a pipeline group containing sub-pipeline groups. If all main pipelines in the pipeline group are restricted main pipelines, and there are pipe fittings on the connecting pipelines between different restricted main pipelines, it can be represented that main pipeline 1 and main pipeline 2 are separated by pipe fittings. The interface between the two pipelines circled in the diagram is the pipe fitting. Therefore, in this case, the main pipelines in the pipeline group can be divided into two groups, namely sub-pipeline group 1 and sub-pipeline group 2. Sub-pipeline group 1 can include main pipeline 1, and sub-pipeline group 2 can include main pipeline 2.

[0146] like Figure 19 The diagram shows a structure of another pipeline group containing sub-pipeline groups. If all main pipelines in the pipeline group are restricted main pipelines, and there are pipe fittings on the pipelines connecting different restricted main pipelines, and among the three main pipelines, one main pipeline 1 is separated by a pipe fitting, and main pipelines 2 and 3 are on the other side of the pipe fitting, then main pipeline 1 can be regarded as sub-pipeline group 1, and main pipelines 2 and 3 can be regarded as sub-pipeline group 2.

[0147] S340. Based on the initial layout range of each main pipeline in each sub-pipeline group, obtain the target layout range of each sub-pipeline group.

[0148] Specifically, Figure 18 The target layout range of the central pipeline group can be the target layout range of each sub-pipeline group within the pipeline group, that is, the initial layout range corresponding to main pipeline 1 and the initial layout range corresponding to main pipeline 2. Figure 19 The target layout range of the pipeline group can also be the target layout range of each sub-pipeline group within the pipeline group. The layout range corresponding to sub-pipeline group 1 is the initial layout range corresponding to main pipeline 1. The layout range corresponding to sub-pipeline group 2 is the intersection of the initial layout ranges corresponding to main pipeline 2 and main pipeline 3. The final target layout range of the pipeline group can be the final layout ranges corresponding to sub-pipeline group 1 and sub-pipeline group 2.

[0149] This embodiment can calculate the target layout range of pipeline groups, and then group and batch-lay out all main pipelines in the area to be laid out according to the calculation results, thereby simplifying pipeline layout and improving pipeline layout efficiency.

[0150] The above-mentioned pipeline layout method can calculate the target layout range of the pipeline group based on the actual location of the main pipelines within the pipeline group. Based on the calculation results, all main pipelines within the layout area are grouped and arranged in batches. This allows the pipeline group to be arranged in groups according to various situations, simplifying the pipeline layout process and improving pipeline layout efficiency.

[0151] To facilitate understanding by those skilled in the art, this application provides a pipeline layout processing method using a computer device as the executing entity as an example. Specifically, the method includes:

[0152] (1) Obtain the main pipeline and attribute information of each main pipeline within the area to be arranged. The attribute information includes the location information of the main pipeline, the initial layout range of the main pipeline, and the intersection relationship between the main pipeline and the layout beam.

[0153] (2) Based on the location information of each main line, select one main line from all the main lines as the first main line.

[0154] (3) Based on the intersection relationship between each main line and the arrangement beam, determine all the first arrangement beams connected to the first main line from all the arrangement beams in the area to be arranged.

[0155] (4) Based on the intersection relationship between the main pipeline and the arrangement beam, determine all the second main pipelines that are connected to each first arrangement beam from all the main pipelines.

[0156] (5) Treat all the second main pipelines as first main pipelines, return to the execution of the step of determining all the first arrangement beams connected to the first main pipelines from all arrangement beams in the area to be arranged according to the intersection relationship between each main pipeline and the arrangement beam, until there are no first arrangement beams connected to the first main pipelines, and treat all the first main pipelines as area pipeline groups.

[0157] (6) Obtain the ungrouped main lines among all main lines through all main lines and regional pipeline groups.

[0158] (7) Based on the location information of each ungrouped main line, select one main line from all ungrouped main lines as the third main line.

[0159] (8) Based on the intersection relationship between each ungrouped main line and the arrangement beam, determine all the second arrangement beams connected to the third main line from all the arrangement beams in the area to be arranged.

[0160] (9) Based on the intersection relationship between each ungrouped main line and the arrangement beam, determine all the fourth main lines that are connected to each second arrangement beam from all the ungrouped main lines.

[0161] (10) Treat all fourth main lines as third main lines respectively, return to the execution of the step of selecting one main line from all ungrouped main lines as the third main line based on the location information of each ungrouped main line, until all main lines are evenly divided into different regional pipeline groups, resulting in multiple regional pipeline groups.

[0162] (11) Determine the layout line corresponding to each main pipeline in each area pipeline group based on the initial layout range of each main pipeline.

[0163] (12) Divide all main pipelines corresponding to the same layout line into the same group to obtain each pipeline group corresponding to each layout line.

[0164] (13) If a pipeline group includes main pipelines with different intersecting relationships, then according to the category of all main pipelines in each pipeline group, all main pipelines in each pipeline group are classified into multiple pipeline groups with different categories.

[0165] (14) Based on the intersection relationship between all main pipelines in each different category of pipeline group, group all main pipelines in each different category of pipeline group according to their relationship to obtain multiple pipeline groups with different relationships.

[0166] (15) The attribute information also includes the size information of the main pipeline. Based on the size information of each main pipeline in each pipeline group, the sum of the widths of all main pipelines in each pipeline group is determined.

[0167] (16) Calculate the occupancy information of each pipeline group by the external occupancy of each pair of adjacent pipeline groups, the sum of the widths of all main pipelines in each pipeline group, the intra-group spacing between each pair of main pipelines in each pipeline group, and the number of all main pipelines in each pipeline group.

[0168] (17) If each pipeline group includes a restricted main pipeline, the intersection of the initial layout ranges of all main pipelines in each pipeline group is calculated based on the initial layout range of each main pipeline in each pipeline group to obtain the target layout range of each pipeline group.

[0169] (18) If each pipeline group includes restricted main pipelines and unrestricted main pipelines, then calculate the intersection of the initial layout ranges of all restricted main pipelines in each pipeline group based on the initial layout range of each main pipeline in each pipeline group, and use the sum of the intersection result and the width of all unrestricted main pipelines in each pipeline group as the target layout range of each pipeline group.

[0170] (19) If a pipeline group includes sub-pipeline groups, then if each pipeline group includes a restricted main pipeline and there are pipe fittings between different restricted main pipelines, then each pipeline group is divided into multiple sub-pipeline groups.

[0171] (20) Based on the initial layout range of each main pipeline in each sub-pipeline group, obtain the target layout range of each sub-pipeline group.

[0172] The specific execution process of (1) to (10) above can be found in the description of the above embodiments. The implementation principle and technical effect are similar, and will not be repeated here.

[0173] It should be understood that, although Figure 2-6 , Figure 8 , Figure 11 and Figure 17 The steps in the flowchart are shown sequentially as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order in which these steps are executed, and they can be performed in other orders. Figure 2-6 , Figure 8 , Figure 11 and Figure 17 At least some of the steps in the process may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but may be executed at different times. The execution order of these steps or stages is not necessarily sequential, but may be executed in turn or alternately with other steps or at least some of the steps or stages in other steps.

[0174] In one embodiment, such as Figure 20As shown, a pipeline layout processing device is provided, including: a main pipeline acquisition module 11, a grouping module 12, and an information acquisition module 13, wherein:

[0175] The main pipeline acquisition module 11 is used to acquire the main pipelines and attribute information of each main pipeline within the area to be arranged.

[0176] Grouping module 12 is used to group main pipelines according to attribute information to obtain multiple pipeline groups;

[0177] The information acquisition module 13 is used to acquire the occupancy information of each pipeline group and the target layout range of each pipeline group based on the attribute information of each main pipeline in each pipeline group.

[0178] The pipeline layout processing device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.

[0179] In one embodiment, the attribute information includes the location information of the main pipeline, the initial layout range of the main pipeline, and the intersection relationship between the main pipeline and the layout beam; the grouping module 12 includes: a first grouping unit and a second grouping unit, wherein:

[0180] The first grouping unit is used to group all the main pipelines according to the location information of each main pipeline and the intersection relationship between each main pipeline and the arrangement beam, so as to obtain multiple regional pipeline groups.

[0181] The second grouping unit is used to group the pipeline groups in each area according to the initial layout range of each main pipeline, resulting in multiple pipeline groups.

[0182] The pipeline layout processing device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.

[0183] In one embodiment, the first grouping unit includes: a first main pipeline selection subunit, a first arrangement beam determination subunit, a first main pipeline determination subunit, and a first loop subunit, wherein:

[0184] The first main line selection subunit is used to select one main line from all main lines as the first main line based on the location information of each main line.

[0185] The first arrangement beam determination sub-unit is used to determine all first arrangement beams connected to the first main line from all arrangement beams in the area to be arranged, based on the intersection relationship between each main line and the arrangement beams.

[0186] The first main pipeline determination sub-unit is used to determine all second main pipelines connected to each first arrangement beam from all main pipelines based on the intersection relationship between each main pipeline and the arrangement beam.

[0187] The first loop subunit is used to treat all the second main pipelines as first main pipelines and return to execute the step of determining all the first arrangement beams connected to the first main pipelines from all arrangement beams in the area to be arranged according to the intersection relationship between each main pipeline and the arrangement beam, until there are no more first arrangement beams connected to the first main pipelines, and then treat all the first main pipelines as area pipeline groups.

[0188] The pipeline layout processing device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.

[0189] In one embodiment, the first grouping unit further includes: a main pipeline acquisition subunit, a second main pipeline selection subunit, a second arrangement beam determination subunit, a second main pipeline determination subunit, and a second loop subunit, wherein:

[0190] The main pipeline acquisition subunit is used to acquire ungrouped main pipelines among all main pipelines and area pipeline groups;

[0191] The second main line selection subunit is used to select one main line from all ungrouped main lines as the third main line based on the location information of each ungrouped main line.

[0192] The second arrangement beam determination sub-unit is used to determine all second arrangement beams connected to the third main line from all arrangement beams in the area to be arranged, based on the intersection relationship between each ungrouped main line and the arrangement beam.

[0193] The second main pipeline determination sub-unit is used to determine all fourth main pipelines connected to each second arrangement beam from all ungrouped main pipelines based on the intersection relationship between each ungrouped main pipeline and the arrangement beam.

[0194] The second loop subunit is used to treat all fourth main lines as third main lines and return to execute the step of selecting one main line from all ungrouped main lines as the third main line based on the location information of each ungrouped main line, until all main lines are evenly divided into different area pipeline groups, resulting in multiple area pipeline groups.

[0195] The pipeline layout processing device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.

[0196] In one embodiment, the second grouping unit includes: a layout line determining subunit and a first grouping subunit, wherein:

[0197] The layout line determination subunit is used to determine the layout line corresponding to each main pipeline based on the initial layout range of each main pipeline in each area pipeline group.

[0198] The first grouping subunit is used to divide all main pipelines corresponding to the same layout line into the same group, thus obtaining each pipeline group corresponding to each layout line.

[0199] The pipeline layout processing device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.

[0200] In one embodiment, the pipeline group includes main pipelines with different intersecting relationships; the second grouping unit further includes: a second grouping subunit and a third grouping subunit, wherein:

[0201] The second grouping subunit is used to group all the main pipelines in each pipeline group according to their categories, resulting in multiple pipeline groups of different categories.

[0202] The third grouping subunit is used to group all main pipelines in different categories of pipeline groups according to the intersection relationship between all main pipelines in each category, resulting in multiple pipeline groups with different relationships.

[0203] The pipeline layout processing device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.

[0204] In one embodiment, the attribute information further includes the size information of the main pipeline; the information acquisition module 13 includes: a first calculation unit and a second calculation unit, wherein:

[0205] The first calculation unit is used to determine the sum of the widths of all main pipelines in each pipeline group based on the size information of each main pipeline in each pipeline group.

[0206] The second calculation unit is used to calculate the occupancy information of each pipeline group by taking into account the external occupancy of each pair of adjacent pipeline groups, the sum of the widths of all main pipelines in each pipeline group, the intra-group spacing between each pair of main pipelines in each pipeline group, and the number of all main pipelines in each pipeline group.

[0207] The pipeline layout processing device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.

[0208] In one embodiment, the information acquisition module 13 further includes: a third computing unit, wherein:

[0209] The third calculation unit is used to calculate the intersection of the initial layout ranges of all main pipelines in each pipeline group when there are restricted main pipelines in each pipeline group, based on the initial layout range of each main pipeline in each pipeline group, so as to obtain the target layout range of each pipeline group.

[0210] The pipeline layout processing device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.

[0211] In one embodiment, the information acquisition module 13 further includes: a fourth computing unit, wherein:

[0212] The fourth calculation unit is used to calculate the intersection of the initial layout ranges of all restricted main lines in each pipeline group when each pipeline group includes restricted main lines and unrestricted main lines, based on the initial layout range of each main line in each pipeline group, and to use the sum of the intersection result and the width of all unrestricted main lines in each pipeline group as the target layout range of each pipeline group.

[0213] The pipeline layout processing device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.

[0214] In one embodiment, the pipeline group includes sub-pipeline groups; the information acquisition module 13 further includes: a third grouping unit and a fifth calculation unit, wherein:

[0215] The third grouping unit is used to divide each pipeline group into multiple sub-pipeline groups when each pipeline group includes a restricted main pipeline and there are pipe fittings between different restricted main pipelines.

[0216] The fifth calculation unit is used to obtain the target layout range of each sub-pipeline group based on the initial layout range of each main pipeline in each sub-pipeline group.

[0217] The pipeline layout processing device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.

[0218] Specific limitations regarding the pipeline layout processing device can be found in the limitations of the pipeline layout processing method described above, and will not be repeated here. Each module in the aforementioned pipeline layout processing device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device in hardware form, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0219] Those skilled in the art will understand that further reading is required. Figure 1 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0220] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:

[0221] Obtain the main pipelines and attribute information of each main pipeline within the area to be arranged;

[0222] The main pipelines are grouped according to their attribute information to obtain multiple pipeline groups;

[0223] Based on the attribute information of each main pipeline in each pipeline group, obtain the occupancy information of each pipeline group and the target layout range of each pipeline group.

[0224] In one embodiment, a storage medium is provided having a computer program stored thereon, which, when executed by a processor, performs the following steps:

[0225] Obtain the main pipelines and attribute information of each main pipeline within the area to be arranged;

[0226] The main pipelines are grouped according to their attribute information to obtain multiple pipeline groups;

[0227] Based on the attribute information of each main pipeline in each pipeline group, obtain the occupancy information of each pipeline group and the target layout range of each pipeline group.

[0228] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the methods described above. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, or optical storage, etc. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc.

[0229] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0230] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.

Claims

1. A pipeline layout method, characterized in that, The method includes: Obtain the main pipelines and attribute information of each main pipeline within the area to be arranged; Based on the attribute information, each main pipeline is grouped to obtain multiple pipeline groups; The occupancy information of each pipeline group is obtained based on the attribute information of each main pipeline in each pipeline group; and the target layout range of each pipeline group is obtained based on the attribute information of each main pipeline in each pipeline group. The step of obtaining the target layout range of each pipeline group based on the attribute information of each main pipeline in each pipeline group includes: If each pipeline group includes a restricted main pipeline, then based on the initial layout range of each main pipeline in each pipeline group, the intersection of the initial layout ranges of all main pipelines in each pipeline group is calculated to obtain the target layout range of each pipeline group.

2. The method according to claim 1, characterized in that, The attribute information includes the location information of the main pipeline, the initial layout range of the main pipeline, and the intersection relationship between the main pipeline and the layout beam; The process of grouping all main pipelines to obtain multiple pipeline groups includes: Based on the location information of each main pipeline and the intersection relationship between the main pipeline and the arrangement beam, all the main pipelines are grouped to obtain multiple regional pipeline groups; Based on the initial layout range of each main pipeline, the regional pipeline groups are grouped to obtain multiple pipeline groups.

3. The method according to claim 2, characterized in that, Based on the location information of each main pipeline and the intersection relationship between each main pipeline and the arrangement beam, all main pipelines are grouped to obtain multiple regional pipeline groups, including: Based on the location information of each main line, select one main line from all the main lines as the first main line; Based on the intersection relationship between each main pipeline and the arrangement beam, determine all first arrangement beams connected to the first main pipeline from all arrangement beams in the area to be arranged; Based on the intersection relationship between the main pipeline and the arrangement beam, determine all second main pipelines that are connected to each of the first arrangement beams from all the main pipelines; Treat all second main pipelines as first main pipelines, and return to the step of determining all first arrangement beams connected to the first main pipelines from all arrangement beams in the area to be arranged based on the intersection relationship between each main pipeline and the arrangement beam, until there are no more first arrangement beams connected to the first main pipeline, and treat all first main pipelines as area pipeline groups.

4. The method according to any one of claims 2-3, characterized in that, The process of grouping the regional pipeline groups according to the initial layout range of each main pipeline to obtain multiple pipeline groups includes: Based on the initial layout range of each main pipeline in each of the aforementioned regional pipeline groups, determine the layout line corresponding to each of the aforementioned main pipelines; All main pipelines corresponding to the same layout line are divided into the same group to obtain each pipeline group corresponding to each layout line.

5. The method according to claim 4, characterized in that, The pipeline group includes main pipelines with different intersecting relationships; the method further includes: Based on the category of all main pipelines in each pipeline group, all main pipelines in each pipeline group are grouped by category to obtain multiple pipeline groups of different categories; Based on the intersection relationships between all main pipelines in each of the different types of pipeline groups, the relationships of all main pipelines in each of the different types of pipeline groups are grouped to obtain multiple pipeline groups with different relationships.

6. The method according to claim 1, characterized in that, The attribute information also includes the size information of the main pipeline; obtaining the occupancy information of each pipeline group based on the attribute information of each main pipeline in each pipeline group includes: Based on the size information of each main pipeline in each pipeline group, determine the sum of the widths of all main pipelines in each pipeline group; The occupancy information of each pipeline group is calculated by taking into account the external occupancy of each pair of adjacent pipeline groups, the sum of the widths of all main pipelines within each pipeline group, the intra-group spacing between each pair of main pipelines within each pipeline group, and the number of all main pipelines within each pipeline group.

7. The method according to any one of claims 1-6, characterized in that, The method further includes: If each pipeline group includes restricted main pipelines and unrestricted main pipelines, then based on the initial layout range of each main pipeline in each pipeline group, the intersection of the initial layout ranges corresponding to all restricted main pipelines in each pipeline group is calculated, and the sum of the intersection result and the width of all unrestricted main pipelines in each pipeline group is taken as the target layout range of each pipeline group.

8. The method according to claim 7, characterized in that, The pipeline group includes sub-pipeline groups; the method further includes: If each of the pipeline groups includes a restricted main pipeline and there are pipe fittings between different restricted main pipelines, then each of the pipeline groups is divided into multiple sub-pipeline groups. Based on the initial layout range of each main pipeline in each sub-pipeline group, the target layout range of each sub-pipeline group is obtained.

9. A pipeline layout processing device, characterized in that, The device includes: The main pipeline acquisition module is used to acquire the main pipelines within the area to be arranged and the attribute information of each main pipeline. A grouping module is used to group the main pipelines according to the attribute information to obtain multiple pipeline groups; The information acquisition module is used to acquire the occupancy information of each pipeline group based on the attribute information of each main pipeline in each pipeline group; and to acquire the target layout range of each pipeline group based on the attribute information of each main pipeline in each pipeline group. The information acquisition module includes: The third calculation unit is used to calculate the intersection of the initial layout ranges of all main pipelines in each pipeline group when each pipeline group includes a restricted main pipeline, based on the initial layout range of each main pipeline in each pipeline group, to obtain the target layout range of each pipeline group.

10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 8.

11. A storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 8.