Pipeline arrangement processing method and device, computer device and readable storage medium

By acquiring the attribute information of pipeline groups, calculating the new layout range, and automating the layout, the problem of low pipeline group layout efficiency in traditional methods is solved, and efficient and reasonable pipeline group layout in underground parking garages is achieved.

CN115906343BActive Publication Date: 2026-02-24JIULING (JIANGSU) DIGITAL INTELLIGENT TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111166395.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-30
Publication Date
2026-02-24
Estimated Expiration
2041-09-30

AI Technical Summary

Technical Problem

Traditional methods for pipeline layout in underground parking garages are inefficient and make it difficult to achieve a reasonable and cost-effective pipeline arrangement.

Method used

By acquiring the attribute information of pipeline groups, including the initial layout range, category, and priority, the new layout range is calculated, and the pipeline groups are automatically arranged within the new layout range according to the category and priority. The classification and pre-layout of pipeline groups is realized by using an automated method and computer equipment.

Benefits of technology

It improves the efficiency of pipeline group layout, reduces the use of human resources, enhances the automation capabilities of pipeline groups, and enables rapid deployment of pipeline groups.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115906343B_ABST
    Figure CN115906343B_ABST
Patent Text Reader

Abstract

The application relates to a pipeline arrangement processing method and device, computer equipment and a storage medium. The method comprises the following steps: acquiring all pipeline groups to be arranged and attribute information of each pipeline group; determining a new arrangement range of all pipeline groups through an initial arrangement range of each pipeline group; arranging each pipeline group in the new arrangement range through the category of each pipeline group and the priority of the corresponding category; and obtaining a pipeline arrangement result of the current gradient. According to the method, all pipeline groups to be arranged can be classified and prearranged according to the category and the priority of the corresponding category, so that an optimal arrangement result of the current gradient is obtained, and then the user can quickly arrange the pipeline groups of the current gradient according to the prearrangement result, thereby improving the arrangement efficiency of the pipeline groups.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of engineering and construction 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 then arrange each pipeline according to that 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 pipeline group to be arranged and the attribute information of the pipeline group, the attribute information including the initial layout range, category and priority of the category to which the pipeline group belongs;

[0007] The new layout range of each pipeline group is determined based on the set of initial layout ranges of each pipeline group;

[0008] Based on the category of the pipeline group and the priority of the category to which the pipeline group belongs, the pipeline group is arranged within the new arrangement range to obtain the pipeline arrangement result of the current gradient.

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

[0010] The information acquisition module is used to acquire the pipeline group to be arranged and the attribute information of the pipeline group. The attribute information includes the initial layout range, category, and priority of the category to which the pipeline group belongs.

[0011] The layout range calculation module is used to determine the new layout range of the pipeline group based on the set of initial layout ranges of each pipeline group;

[0012] The pipeline group layout module is used to arrange the pipeline group within the new layout range according to the category of the pipeline group and the priority of the category to which the pipeline group belongs, so as to obtain the pipeline layout result of the current gradient.

[0013] 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:

[0014] Obtain the pipeline group to be arranged and the attribute information of the pipeline group, the attribute information including the initial layout range, category and priority of the category to which the pipeline group belongs;

[0015] The new layout range of each pipeline group is determined based on the set of initial layout ranges of each pipeline group;

[0016] Based on the category of the pipeline group and the priority of the category to which the pipeline group belongs, the pipeline group is arranged within the new arrangement range to obtain the pipeline arrangement result of the current gradient.

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

[0018] Obtain the pipeline group to be arranged and the attribute information of the pipeline group, the attribute information including the initial layout range, category and priority of the category to which the pipeline group belongs;

[0019] The new layout range of each pipeline group is determined based on the set of initial layout ranges of each pipeline group;

[0020] Based on the category of the pipeline group and the priority of the category to which the pipeline group belongs, the pipeline group is arranged within the new arrangement range to obtain the pipeline arrangement result of the current gradient.

[0021] The aforementioned pipeline layout processing method, apparatus, computer equipment, and readable storage medium allow the computer equipment to acquire the pipeline groups to be laid out and their attribute information. Based on the initial layout range set for each pipeline group, a new layout range for the pipeline groups is determined. By classifying the pipeline groups according to their category and priority, the pipeline groups are then laid out within the new layout range to obtain the pipeline layout result for the current gradient. This method can pre-lay out all pipeline groups to be laid out according to their category and priority, obtaining the optimal layout result for the current gradient. This enables users to quickly lay out pipeline groups for the current gradient based on the pre-layout results, thereby improving the pipeline layout efficiency. Attached Figure Description

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

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

[0024] Figure 3 This is a schematic diagram of a method for arranging pipeline groups in one embodiment;

[0025] Figure 4 This is a schematic diagram of a method for arranging pipeline groups in another embodiment;

[0026] Figure 5 This is a schematic diagram of a method for arranging pipeline groups in another embodiment;

[0027] Figure 6 This is a structural schematic diagram of all pipeline groups to be arranged and the new arrangement range in another embodiment;

[0028] Figure 7 This is a schematic diagram of the output structure of the pipeline layout result in another embodiment;

[0029] Figure 8 This is a schematic diagram of the output structure of another pipeline layout result in another embodiment;

[0030] Figure 9 This is a structural schematic diagram of a fixed pipeline group and a conventional pipeline group or a restricted pipeline group in another embodiment;

[0031] Figure 10 This is a flowchart illustrating a method for arranging all pipeline groups of the same category in another embodiment;

[0032] Figure 11 This is a schematic diagram of the structure of two constrained pipeline groups to be arranged in another embodiment;

[0033] Figure 12 This is a flowchart illustrating a method for arranging all pipeline groups of the same category in another embodiment;

[0034] Figure 13 This is a schematic diagram of a structure in another embodiment where a confined pipeline group includes two confined sub-pipeline groups and one conventional sub-pipeline group;

[0035] Figure 14 This is a schematic diagram of a sliding pipeline assembly and multiple conventional pipeline assemblies in another embodiment;

[0036] Figure 15 This is a schematic diagram of the pipeline layout result including sliding pipeline groups in all pipeline groups to be arranged in another embodiment;

[0037] Figure 16 This is a schematic diagram of a structure in another embodiment where all pipeline groups to be arranged include sliding pipeline groups;

[0038] Figure 17 This is a flowchart illustrating a method for arranging all pipeline groups of the same category in another embodiment;

[0039] Figure 18 This is a schematic diagram of a structure in another embodiment where all pipeline groups to be arranged include conventional pipeline groups;

[0040] Figure 19 This is a schematic diagram of the pipeline layout result, which includes conventional pipeline groups, in another embodiment.

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

[0042] 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.

[0043] 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 database stores pipeline groups and their attribute information. The network interface communicates 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 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.

[0044] Those skilled in the art will understand that further reading is required. Figure 1The 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.

[0045] It should be noted that the pipeline layout processing method provided in this application can be executed by a pipeline layout processing device, which can be implemented as part or all of a computer device through software, hardware, or a combination of software and hardware. The execution subject of the following method embodiments is described using a computer device as an example.

[0046] 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:

[0047] S1000: Obtain the pipeline group to be arranged and its attribute information, including the initial layout range, category, and priority of the category to which the pipeline group belongs.

[0048] Specifically, this implementation uses the example of a pipeline group to be laid out in an underground parking garage to illustrate the corresponding steps. The area to be laid out can be the entire underground parking garage area or a portion thereof. The pipeline group includes main pipelines, which can be conventional main pipelines, fixed main pipelines, or restricted main pipelines. These 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 pipeline group can include material information, price information, quality information, and size information of the main pipelines within the pipeline group, as well as the layout range of the main pipelines within the pipeline group, the layout range of the entire pipeline group, the type of main pipelines within the pipeline group, the relationships between different pipeline groups, and the relationships between the main pipelines within the pipeline group, etc., and is not limited to these.

[0049] In this embodiment, the attribute information of the pipeline group may include the initial layout range of the pipeline group, the category of the pipeline group, and the priority of the category to which the pipeline group belongs. The initial layout range of the pipeline group can be represented by a numerical value, and the category of the pipeline group can be represented by different characters, such as letters, Arabic numerals, Roman numerals, etc.

[0050] The attribute information of pipeline groups can be stored in the computer device's memory or in local files, without limitation. The computer device can load the 3D models and attribute information of all pipeline groups to obtain the attribute information of all pipeline groups and each pipeline group.

[0051] S2000. Based on the set of initial layout ranges for each pipeline group, determine the new layout ranges for all pipeline groups.

[0052] Specifically, the computer equipment can perform calculations on the set of initial layout ranges of each pipeline group to be arranged, to obtain the new layout ranges of all pipeline groups to be arranged. The initial layout range of a pipeline group can be the intersection of the layout ranges of all main pipelines within that pipeline group; the aforementioned calculations can be addition, subtraction, division, or multiplication, or combinations thereof.

[0053] In this embodiment, all pipeline groups to be arranged can be pipeline groups of the same type or pipeline groups of different types, and there is no limitation on this.

[0054] Specifically, the step of determining the new layout range of the pipeline group based on the set of initial layout ranges of each pipeline group in S2000 may include: finding the intersection of the initial layout ranges of all pipeline groups in the set to obtain the new layout range of the pipeline group.

[0055] Understandably, computer equipment can calculate the intersection of the initial layout ranges of each pipeline group in the set, and use the intersection result as the new layout range of each pipeline group.

[0056] This embodiment can calculate the new layout range of each pipeline group, and further pre-arrange each pipeline group within the new layout range. Thus, when actually executing the pipeline group layout, the entire pipeline group can be arranged, thereby improving the efficiency of pipeline group layout.

[0057] S3000: Based on the category of the pipeline group and the priority of each category, arrange the pipeline groups within the new layout range to obtain the pipeline layout result of the current gradient.

[0058] Specifically, the layout methods for different types of pipeline groups can be the same or different. The computer equipment can arrange the pipeline groups within a new layout range according to their category and priority, using the corresponding layout method to obtain the pipeline layout result for the current gradient. This embodiment only describes the method of pipeline group layout on the same gradient, i.e., the current gradient, but the pipeline group layout method is the same on each gradient. If all pipeline groups to be arranged are of the same category, then this embodiment can use one layout method; if all pipeline groups to be arranged are of different categories, then this embodiment can use a combination of multiple layout methods.

[0059] In practice, different types of pipeline groups can be laid out synchronously. However, due to limitations in the layout area, some pipeline groups may not be able to be placed on the same horizontal gradient. Therefore, it is necessary to pre-layout according to the priority of different types of pipeline groups, placing lower-priority pipeline groups on the next horizontal gradient or other subsequent horizontal gradients. Furthermore, the user can perform synchronous pipeline group layout based on the pre-layout results. The pipeline layout processing method in this embodiment can be understood as a pre-layout process.

[0060] The aforementioned pipeline layout processing method can classify and pre-lay out all pipeline groups to be laid out according to their category and the priority of their category, obtaining the optimal layout result for the current gradient. This allows users to quickly lay out pipeline groups for the current gradient based on the pre-layout result, thereby improving the efficiency of pipeline group layout. At the same time, this method can avoid the problem of repeated rearrangement due to unreasonable pipeline group layout when manually laying out pipelines. It can realize the pre-layout processing of pipeline groups through an automated processing method, shortening the pipeline group layout time, saving the human resources required for pipeline group layout, and improving the rationality of pipeline group layout.

[0061] As one example, such as Figure 3 As shown, the step in S3000 above, which arranges pipeline groups within a new layout range based on their categories and the priority of each category, to obtain the pipeline layout result for the current gradient, can be achieved through the following steps:

[0062] S3001. Determine whether the pipeline group is a fixed pipeline group, a restricted pipeline group, or a conventional pipeline group.

[0063] Specifically, the computer equipment can determine the specific category of all pipeline groups to be arranged—whether it is a fixed pipeline group, a restricted pipeline group, or a conventional pipeline group—based on the category information in the attribute information of each pipeline group. Additionally, all pipeline groups to be arranged may include sliding pipeline groups, which can be understood as multiple restricted pipeline groups. Therefore, the method for arranging sliding pipeline groups can be the same as the method for arranging restricted pipeline groups.

[0064] Among them, the priority of the fixed pipeline group is higher than that of the restricted pipeline group, and the priority of the restricted pipeline group is higher than that of the conventional pipeline group.

[0065] In this embodiment, the fixed pipeline group has the highest priority, followed by the restricted pipeline group, and the conventional pipeline group has the lowest priority. It can also be understood that the sliding pipeline group has the same priority as the restricted pipeline group.

[0066] In this embodiment, when arranging the pipeline groups to be arranged, since the new arrangement range of all pipeline groups is small, it may not be possible to arrange all the pipeline groups to be arranged within the new arrangement range of the current gradient. Therefore, the above method can arrange the pipeline groups with higher priority first, and then arrange the pipeline groups with lower priority, according to their priority. If all the pipeline groups to be arranged cannot be arranged within the new arrangement range, the pipeline groups with lower priority can be arranged in other gradients so that the arrangement result of the current gradient reaches the optimal and most reasonable level.

[0067] S3002. Based on the priority of the pipeline group's category and the preset priority arrangement order, arrange all pipeline groups of the same category in the new arrangement range in sequence to obtain the pipeline arrangement result of the current gradient.

[0068] Specifically, among the fixed pipeline group, restricted pipeline group, and regular pipeline group, the priority of each pipeline group's category can be: fixed pipeline group has the highest priority, restricted pipeline group has the second highest priority, and regular pipeline group has the lowest priority; alternatively, regular pipeline group has the highest priority, fixed pipeline group has the second highest priority, and restricted pipeline group has the lowest priority; and so on. There is no limitation on this priority. The preset priority arrangement order can be a custom arrangement order. If it is set to arrange the highest priority pipeline group first and the lowest priority pipeline group last, the corresponding preset priority arrangement order can be from high to low. If it is set to arrange the lowest priority pipeline group first and the highest priority pipeline group last, the corresponding preset priority arrangement order can be from low to high.

[0069] In this embodiment, the computer device can arrange all pipeline groups of the same category within a new arrangement range according to the priority of the category to which each pipeline group belongs, and in a preset priority arrangement order, to obtain the pipeline arrangement result of the current gradient. Specifically, if all pipeline groups to be arranged include pipeline groups of different categories, then according to the preset priority arrangement order, all pipeline groups of the same category are arranged first within the new arrangement range. Then, the remaining arrangement range is obtained by subtracting the occupied area of ​​the already arranged pipeline groups from the new arrangement range. Then, all pipeline groups of another category are arranged within the remaining arrangement range, and so on, until the arrangement result with the highest utilization rate of the new arrangement range is taken as the pipeline arrangement result of the current gradient.

[0070] The above-mentioned pipeline layout processing method can classify and pre-layout pipeline groups according to their categories and priorities to obtain the optimal layout result for the current gradient. This allows users to quickly lay out pipeline groups for the current gradient based on the pre-layout results, thereby improving the efficiency of pipeline group layout. At the same time, this method can realize the pre-layout processing of pipeline groups through an automated processing method, shortening the pipeline group layout time, saving the human resources required for pipeline group layout, and improving the rationality of pipeline group layout.

[0071] As one embodiment, the attribute information also includes the priority of pipeline groups of the same category; such as Figure 4 As shown, the step in S3002 above, which arranges all pipeline groups of the same category within the new arrangement range to obtain the pipeline arrangement result of the current gradient, may include the following steps:

[0072] S3102. Determine whether all main pipelines in the pipeline group are connected to structural layers, wherein the pipeline group is a fixed pipeline group.

[0073] Specifically, a fixed pipeline group may include a fixed main pipeline. The attribute information of the pipeline group may also include the structural information of all main pipelines within the pipeline group. Computer equipment can determine whether all main pipelines in each pipeline group are connected to a structural layer based on the structural information of the main pipelines in each pipeline group. The structural information of the main pipeline may include the structure connected to the main pipeline, which can be a structural layer, pipelines, or, for example, walls, doors, windows, etc., within a building.

[0074] S3202. If so, then based on the priority of pipeline groups of the same category and the initial layout range of the pipeline groups, arrange all pipeline groups of the same category within the new layout range to obtain the pipeline layout result of the current gradient.

[0075] Specifically, if the computer device determines that all main pipelines in a pipeline group are connected to a structural layer, the computer device can arrange all pipeline groups of the same category within a new arrangement range based on the priority of each pipeline group among all pipeline groups of the same category and the initial arrangement range of each pipeline group, thus obtaining the pipeline arrangement result of the current gradient. In this embodiment, the initial arrangement range of the aforementioned fixed pipeline group can be understood as the occupancy length of the fixed pipeline group.

[0076] When all pipeline groups of the same category are fixed pipeline groups, including water pipe groups, air duct groups, cable tray groups, etc., then during pipeline group pre-layout, water pipe groups, air duct groups, and cable tray groups have corresponding priority order, i.e., priority. This priority can be referred to as the priority of each pipeline group among all pipeline groups of the same category. Furthermore, if the main pipeline in a pipeline group is connected to a structural layer, and the height of that pipeline group is greater than the height of other pipeline groups laid out on the current gradient, then when laying out pipeline groups for the next gradient after the current gradient, it is necessary to avoid the pipeline group occupying a certain height. For example, if the height of other pipeline groups on the current gradient is 100mm, and the height of the current pipeline group to be laid out on the current gradient is 150mm, then when laying out pipeline groups for the next gradient after the current gradient, the pipeline group can start laying out from 150mm to avoid the current pipeline group occupying a certain height.

[0077] In addition, after step S3102 above, the pipeline layout processing method further includes: if not, then according to the priority of the same type of pipeline group, the new layout range and the initial layout range of the pipeline group, the pipeline group is arranged in the current gradient or other gradients after the current gradient, and the pipeline layout result of the current gradient is obtained.

[0078] Understandably, if the computer determines that the main pipelines in some pipeline groups are connected to the structural layer, while the main pipelines in other pipeline groups are not connected to the structural layer, the computer can, based on each pipeline group, the new layout range, and the initial layout range of each pipeline group, first arrange the pipeline groups with main pipelines connected to the structural layer in the current gradient according to the priority of each pipeline group among all pipeline groups of the same category and the initial layout range of each pipeline group. Then, based on the new layout range of all pipeline groups and the occupied range of the already arranged pipeline groups, the remaining layout range in the new layout range is determined. After that, based on the remaining layout range, it is determined whether the pipeline groups in the other pipeline groups whose main pipelines are not connected to the structural layer can be arranged in the current gradient. If not, these pipeline groups are arranged in the next gradient after the current gradient or in other gradients after that gradient, thus obtaining the pipeline layout result of the current gradient.

[0079] Additionally, if the main pipeline in a pipeline group is not connected to a structural layer, and the pipeline group has a low priority among all pipeline groups of the same category, the pipeline group can be placed on other gradients after the current gradient.

[0080] In this embodiment, the fixed pipeline group connected to the structural layer can be arranged in the current gradient. Based on the remaining arrangement range of the current gradient, the fixed pipeline group not connected to the structural layer can be arranged in the current gradient or other subsequent gradients to achieve the optimal and most reasonable pipeline group arrangement.

[0081] The above-mentioned pipeline layout processing method can classify and pre-arrange all fixed pipeline groups according to their priority among all pipeline groups of the same category, so as to obtain the layout result with the highest utilization rate of the new layout range and use it as the pipeline layout result of the current gradient, which improves the rationality of pipeline group layout. Furthermore, based on this scenario, the versatility of the pipeline layout processing method can be improved, and the efficiency of pipeline group layout can be increased.

[0082] In some scenarios, the pipeline groups to be laid out may include different types of pipeline groups. If all pipeline groups include fixed pipeline groups, conventional pipeline groups, or restricted pipeline groups, then to improve the versatility of pipeline group layout, such as... Figure 5 As shown, the step in S3002 above, which arranges all pipeline groups of the same category within the new arrangement range to obtain the pipeline arrangement result of the current gradient, may include the following steps:

[0083] S3302. Based on the priority of pipeline groups of the same category and the initial layout range of the pipeline groups, determine the arrangement of fixed pipeline groups within the new layout range to obtain multiple remaining layout sub-ranges.

[0084] Specifically, the computer equipment can arrange all fixed pipeline groups within the new layout range based on their priority among all fixed pipeline groups to be arranged and the occupied length of each fixed pipeline group, resulting in multiple remaining layout sub-ranges. The number of fixed pipeline groups, conventional pipeline groups, or restricted pipeline groups in all pipeline groups to be arranged can be one or more.

[0085] In this embodiment, the arrangement position of the fixed pipeline group is fixed and cannot be moved. Therefore, after arranging the fixed pipeline group within the new arrangement range of the current gradient, other unarranged conventional pipeline groups or restricted pipeline groups can be arranged within the remaining arrangement range of the new arrangement range. Within the remaining arrangement range, all unarranged conventional pipeline groups or restricted pipeline groups can be arranged, and some unarranged conventional pipeline groups or restricted pipeline groups can also be arranged within the remaining arrangement range. The remaining arrangement range can include multiple remaining arrangement sub-ranges.

[0086] S3402. Based on the centerline of the conventional pipeline group or the restricted pipeline group and multiple remaining layout sub-ranges, determine the remaining layout sub-range corresponding to the area where the centerline of the conventional pipeline group or the restricted pipeline group is located.

[0087] For example, such as Figure 6 As shown, Figure 6 There are a total of 6 pipeline groups to be arranged. One solid rounded rectangle is a fixed pipeline group, and the other rounded rectangles can be regular pipeline groups or restricted pipeline groups (red 1, red 2, yellow 1, yellow 2 and blue 1 in the figure). A long horizontal line segment is the new arrangement line corresponding to the new arrangement range. There is only one fixed pipeline group in the figure, and this fixed pipeline group is arranged on the new arrangement line of the current gradient. This fixed pipeline group divides the new arrangement range into two remaining arrangement sub-ranges, which are on the left and right sides of the fixed pipeline group in the figure. The remaining arrangement sub-range to which the center line area of ​​red 1 and yellow 1 belongs is the remaining arrangement sub-range to the left of the fixed pipeline group, and the remaining arrangement sub-range to which the center line area of ​​yellow 2 and blue 1 belongs is the remaining arrangement sub-range to the right of the fixed pipeline group.

[0088] S3502. Based on the initial layout range of the pipeline group, arrange the conventional pipeline group or the restricted pipeline group within the corresponding remaining layout sub-range to obtain the pipeline layout result of the current gradient.

[0089] Specifically, based on the corresponding remaining arrangement sub-range where the centerline of each conventional pipeline group or restricted pipeline group is located, the computer equipment can arrange each conventional pipeline group or restricted pipeline group within the corresponding remaining arrangement sub-range according to the initial arrangement range of each conventional pipeline group or restricted pipeline group, thereby obtaining the pipeline arrangement result of the current gradient.

[0090] Furthermore, after S3402 above, the method may further include: if the area where the centerline of the conventional pipeline group or the restricted pipeline group is located is not within the range of multiple remaining arrangement sub-ranges, then according to the initial arrangement range of the conventional pipeline group or the restricted pipeline group, the conventional pipeline group or the restricted pipeline group is arranged to the remaining arrangement sub-range closest to the centerline of the conventional pipeline group or the restricted pipeline group, so as to obtain the pipeline arrangement result of the current gradient.

[0091] See also Figure 6 As shown in the figure, the area where the center line of red 2 is located is neither within the remaining arrangement sub-range corresponding to the left nor the remaining arrangement sub-range corresponding to the right of the fixed pipeline group. However, the area where the center line of red 2 is located is closest to the remaining arrangement sub-range corresponding to the left of the fixed pipeline group. Therefore, red 2 can be arranged within the remaining arrangement sub-range corresponding to the left of the fixed pipeline group to obtain the pipeline arrangement result of the current gradient.

[0092] In this embodiment, Figure 6 The image shows the sequence of pipeline groups acquired by the computer equipment from left to right. Figure 6 In the process, the first pipeline group acquired is Red 1, followed by Yellow 1, Red 2, fixed pipeline group, Blue 1, and Yellow 2 in that order. Among these, except for the fixed pipeline group, the Red pipeline group has the highest priority, followed by the Yellow pipeline group, and then the Blue pipeline group has the lowest priority. When arranging the other pipeline groups besides the fixed pipeline group, Red 1, Yellow 1, and Red 2 can be arranged first in the remaining arrangement sub-range to the left of the fixed pipeline group, and then Blue 1 and Yellow 2 pipeline groups can be arranged in the remaining arrangement sub-range to the right of the fixed pipeline group. If the remaining arrangement sub-range to the left of the fixed pipeline group cannot accommodate the Red 1, Yellow 1, and Red 2 pipeline groups, the Red 1 and Yellow 1 pipeline groups can be arranged first in the remaining arrangement sub-range to the left of the fixed pipeline group according to the order of the acquired pipeline groups. Then, the Red 2 pipeline group can be arranged in the remaining arrangement sub-range to the right of the fixed pipeline group. Finally, the Blue 1 and Yellow 2 pipeline groups can be arranged in the remaining arrangement sub-range after the Red 2 pipeline group according to the order of the acquired pipeline groups. Since the priority of the blue 1 pipeline group is lower than that of the yellow 2 pipeline group, the red 2, blue 1, and yellow 2 pipeline groups cannot be arranged within the remaining arrangement sub-range to the right of the fixed pipeline group. In this case, the pipeline groups with higher priority can be arranged first in the current gradient according to their priority. For example, the red 2 and yellow 2 pipeline groups can be arranged in the remaining arrangement sub-range to the right of the fixed pipeline group, and the blue 1 pipeline group can be arranged in the next gradient after the current gradient. In this case, the pipeline arrangement result of the current gradient can be the red 1 pipeline group, the yellow 1 pipeline group, the fixed pipeline group, the red 2 pipeline group, and the yellow 2 pipeline group. Figure 7 The image shows another pipeline layout result, in which the Blue 1 pipeline group cannot be arranged within the new layout range. Figure 8 The diagram also shows another optimal pipeline layout. In this case, the yellow and blue 1 pipeline groups cannot be placed within the new layout area. The yellow 1 and yellow 2 pipeline groups have the same priority. However, the layout area corresponding to the red 1 + red 2 + yellow 2 pipeline group occupies a larger portion of the new layout area and does not exceed the new layout area, while the layout area corresponding to the red 1 + red 2 + yellow 1 pipeline group occupies a smaller portion of the new layout area and does not exceed the new layout area. Although the latter also meets the conditions, it cannot achieve the optimal pipeline layout result with the highest utilization rate of the new layout area. Therefore, the former red 1 + red 2 + yellow 2 pipeline group is taken as the optimal pipeline layout result.

[0093] Additionally, in some scenarios, the pipeline groups to be deployed include fixed pipeline groups and regular or restricted pipeline groups, and the placement of fixed pipeline groups is not within the new deployment range. Therefore, when deploying all pipeline groups, if the new deployment range of the current gradient cannot accommodate all pipeline groups, and the priority of fixed pipeline groups is lower than that of red 5 pipeline groups, such as... Figure 9As shown, in this case, when pre-arranging pipeline groups, the fixed pipeline groups only participate in the calculation of the layout range, but do not participate in the pre-arrangement. That is, the fixed pipeline groups are removed during the pre-arrangement, and the pipeline groups that are not yet arranged are placed in the current gradient to participate in the pre-arrangement. In other words, the final pipeline arrangement result is the red 1+red 3+red 2+red 4+red 5 pipeline groups.

[0094] This embodiment can first arrange fixed pipeline groups in the current gradient, and then arrange other pipeline groups in the remaining arrangement range. This method can arrange all pipeline groups to be arranged according to the priority of pipeline groups, so as to achieve the optimal pipeline group arrangement result.

[0095] The above-mentioned pipeline layout processing method can pre-arrange different types of pipeline groups according to their priority, so as to obtain the layout result with the highest utilization rate of the new layout range and use it as the pipeline layout result of the current gradient, thereby improving the rationality of pipeline group layout. Furthermore, based on this scenario, the versatility of the pipeline layout processing method can be improved, and the efficiency of pipeline group layout can be increased.

[0096] As one embodiment, the aforementioned attribute information also includes the initial layout range of sub-pipeline groups within the pipeline group and the priority of sub-pipeline groups of the same category; if all pipeline groups of the same category are restricted pipeline groups, and the restricted pipeline groups include sub-pipeline groups, then as follows Figure 10 As shown, the step in S3002 above, which arranges all pipeline groups of the same category within the new arrangement range to obtain the pipeline arrangement result of the current gradient, can be achieved through the following steps:

[0097] S3602. If the sub-pipeline group is a restricted sub-pipeline group, then the target layout range of all restricted pipeline groups is determined by the initial layout range of the sub-pipeline group, the new layout range of all restricted pipeline groups, and the preset occupancy.

[0098] Specifically, if all pipeline groups of the same category are restricted pipeline groups, and each restricted pipeline group includes multiple sub-pipeline groups, and each sub-pipeline group is a restricted sub-pipeline group, the computer equipment can calculate the target layout range of all restricted pipeline groups using the initial layout range of each restricted sub-pipeline group, the new layout range of all restricted pipeline groups, and preset placeholders. The calculation method can be addition, subtraction, multiplication, division, or a combination of these operations. The target layout range of all restricted pipeline groups may not be the same as the new layout range of all restricted pipeline groups, and the new layout range of all restricted pipeline groups may be smaller than the target layout range of all restricted pipeline groups.

[0099] In this embodiment, the above calculation method can be an addition operation. The target layout range of all restricted pipeline groups can be equal to the sum of the intersection of the initial layout ranges corresponding to all restricted pipeline groups and the length and difference range of the preset occupant. The preset occupant can be a custom-set occupant length. For example... Figure 11 As shown, if there are two restricted pipeline groups to be arranged, the new arrangement range corresponding to one restricted pipeline group is arrangement range 1, and the new arrangement range corresponding to the other restricted pipeline group is arrangement range 2. The arrangement range obtained after finding the intersection is arrangement range 3. In this embodiment, two preset placeholders can be set, corresponding to the placeholder lengths on both sides of arrangement range 3, namely left1 and right1. The difference range can be the difference between the largest initial arrangement range corresponding to each restricted pipeline group and the range corresponding to the intersection of the initial arrangement ranges corresponding to all restricted pipeline groups, corresponding to the difference ranges on both sides of arrangement range 3, namely left2 and right2. This difference range can be 0. When calculating the target arrangement range of all restricted pipeline groups, the preset placeholder can be left1 or right1, and the difference range can be left2 or right2. However, in this embodiment, the target arrangement range of all restricted pipeline groups can be equal to the sum of the intersection of the initial arrangement ranges corresponding to all restricted pipeline groups and min(left1, left2) and min(right1, right2).

[0100] S3702. Take the target layout range as the new layout range, and arrange the sub-pipeline groups within the new layout range according to the priority of the same type of sub-pipeline groups and the initial layout range of the sub-pipelines, to obtain the pipeline layout result of the current gradient.

[0101] Specifically, the computer equipment can use the target layout range of all restricted pipeline groups as the new layout range for all restricted pipeline groups. Based on the priority of each restricted sub-pipeline group within each restricted pipeline group and its initial layout range, the computer equipment arranges each restricted sub-pipeline group within the new layout range to obtain the pipeline layout result for the current gradient. In other words, the computer equipment can arrange all restricted sub-pipeline groups to be arranged based on their priority within all restricted sub-pipeline groups and their initial layout range. The method for arranging all restricted sub-pipeline groups can be similar to the method for arranging fixed pipeline groups described above.

[0102] The above-mentioned pipeline layout processing method can pre-layout all restricted sub-pipeline groups in the same category according to priority, so as to obtain the layout result with the highest utilization rate of the target layout range and use it as the pipeline layout result of the current gradient, which improves the rationality of pipeline group layout. Furthermore, based on this scenario, the versatility of the pipeline layout processing method can be improved, and the efficiency of pipeline group layout can be increased.

[0103] As one embodiment, the attribute information also includes the priority of the category to which the sub-pipe groups in the pipeline group belong; if the restricted pipeline group includes restricted sub-pipe groups and regular sub-pipe groups, then as follows Figure 12 As shown, the step in S3002 above, which arranges all pipeline groups of the same category within the new arrangement range to obtain the pipeline arrangement result of the current gradient, can be achieved through the following steps:

[0104] S3802. If the regular sub-pipeline group is located in the middle of all restricted sub-pipeline groups, then the target layout range of all restricted pipeline groups is determined by the initial layout range of the sub-pipeline group.

[0105] Specifically, if a restricted pipeline group includes a combination of regular sub-pipelines and restricted sub-pipelines, and the regular sub-pipelines are located in the middle of all restricted sub-pipelines, the computer device can calculate the layout range of each restricted pipeline group based on the initial layout range of each sub-pipeline group within the pipeline group. Then, the intersection of the layout ranges of all restricted pipeline groups is calculated to obtain the target layout range of all restricted pipeline groups. The above calculation method can be addition, subtraction, multiplication, division, or a combination of these operations. In this embodiment, the above calculation method can be addition. Specifically, the layout range of each restricted pipeline group can be calculated first, and then the intersection of the layout ranges of all restricted pipeline groups can be calculated to obtain the target layout range of all restricted pipeline groups.

[0106] For example, such as Figure 13 The diagram illustrates a scenario where a restricted pipeline group contains two restricted sub-pipeline groups and one regular sub-pipeline group, with the regular sub-pipeline group positioned between the two restricted sub-pipeline groups. The computer device can first calculate the intersection of the initial layout ranges of one restricted sub-pipeline group and the regular sub-pipeline group, summed with the preset occupancy length and the difference range, and then sum the result with the intersection of the initial layout ranges of the other restricted sub-pipeline group, the preset occupancy length, and the difference range.

[0107] In this embodiment, each summation step can be the same as the method for calculating the target layout range when the pipeline group only includes restricted sub-pipeline groups, and will not be described in detail here. That is, when summing, min(left1, left2) and min(right1, right2) are obtained.

[0108] S3902. Take the target layout range as the new layout range, and arrange the sub-pipeline groups within the new layout range according to the priority of the same type of sub-pipeline group, the priority of the category to which the sub-pipeline group belongs, and the initial layout range of the sub-pipelines, to obtain the pipeline layout result of the current gradient.

[0109] In this embodiment, the priority of restricted sub-pipeline groups is higher than that of regular sub-pipeline groups. The computer device can, based on the priority of each restricted sub-pipeline group among all restricted sub-pipeline groups and the initial layout range of each restricted sub-pipeline group, first arrange all restricted sub-pipeline groups to be arranged within the new layout range. Then, based on the priority of each regular sub-pipeline group among all regular sub-pipeline groups and the initial layout range of each regular sub-pipeline group, it arranges all regular sub-pipeline groups to be arranged within the remaining layout range. The method for arranging all regular sub-pipeline groups is similar to the method for arranging all restricted sub-pipeline groups, and will not be described further.

[0110] The above-mentioned pipeline layout processing method can pre-arrange different types of sub-pipeline groups according to their priority, so as to obtain the layout result with the highest utilization rate of the new layout range and use it as the pipeline layout result of the current gradient, thereby improving the rationality of pipeline group layout. Furthermore, based on this scenario, the versatility of the pipeline layout processing method can be improved, and the efficiency of pipeline group layout can be increased.

[0111] As one embodiment, the above method may further include: if the conventional sub-pipeline group is located on the same side of all restricted sub-pipeline groups, then by using the initial layout range of the sub-pipeline group and the off-group occupancy between the restricted sub-pipeline group and the conventional sub-pipeline group, the new layout range of all restricted sub-pipeline groups is determined.

[0112] Specifically, if a restricted pipeline group includes a combination of regular sub-pipelines and restricted sub-pipelines, and the regular sub-pipelines are located on the same side of all restricted sub-pipelines, the computer device can calculate the layout range of each restricted pipeline group by using the initial layout range of each sub-pipeline group within the pipeline group and the off-group space between the regular sub-pipelines and adjacent restricted sub-pipelines. Then, the target layout range of all restricted pipeline groups is obtained by calculating the intersection of their layout ranges. The off-group space between the regular sub-pipelines and adjacent restricted sub-pipelines can be understood as a safety buffer spacing between them, set to avoid collisions when arranging the regular sub-pipelines and adjacent restricted sub-pipelines. The regular sub-pipelines can be located on any side of any restricted sub-pipeline group. The above calculation method can be addition, subtraction, multiplication, division, or a combination of these operations. In this embodiment, the above calculation method can be addition.

[0113] In this embodiment, the computer device can calculate the intersection of the initial layout ranges of all restricted sub-pipeline groups, and then sum the intersection result with the off-group occupancy to obtain the new layout ranges of all restricted pipeline groups.

[0114] In some scenarios, all pipeline groups to be arranged include sliding pipeline groups, restricted pipeline groups, regular pipeline groups, and fixed pipeline groups. In fact, a sliding pipeline group can be understood as a collection of multiple restricted pipeline groups. The specific arrangement method for sliding pipeline groups is the same as the arrangement method for all pipeline groups, including restricted pipeline groups. The priority of fixed pipeline groups is higher than that of restricted pipeline groups and sliding pipeline groups. The priority of restricted pipeline groups and sliding pipeline groups is higher than that of regular pipeline groups. The priority of restricted pipeline groups and sliding pipeline groups is the same. Pipeline groups can be arranged according to the priority of different categories of pipeline groups.

[0115] For example, such as Figure 14 The diagram shows the structure of all pipeline groups to be arranged. The pipeline groups arranged on the new arrangement line corresponding to the new arrangement range are sliding pipeline groups, and the sliding pipeline groups include restricted sub-pipeline groups of the same priority. The priority of the red pipeline group is higher than that of the yellow pipeline group. All pipeline groups to be arranged include one sliding pipeline group and the other pipeline groups are regular pipeline groups. When arranging pipeline groups, the sliding pipeline group can be arranged first. At this time, the sliding pipeline group divides the new arrangement range into two remaining arrangement sub-ranges. The remaining arrangement sub-range to which the center line of each regular pipeline group belongs is determined. If the center line of the regular pipeline group does not belong to any remaining arrangement sub-range, the regular pipeline group can be assigned to the nearest remaining arrangement sub-range. After the division, each regular pipeline group is arranged in the corresponding remaining arrangement sub-range after the division. Figure 14 The area between the two dashed lines represents the layout range of the sliding pipeline group. During pre-layout, the sliding pipeline group can be arranged arbitrarily within this range to maximize the utilization of the new layout and achieve the optimal final arrangement. Figure 15 The diagram shows the structural layout of the pipeline assembly, which includes the sliding pipeline group.

[0116] In addition, such as Figure 16The diagram shows the structure of all pipeline groups to be arranged. The pipeline groups arranged on the new arrangement line corresponding to the new arrangement range are sliding pipeline groups, which include restricted sub-pipeline groups with different priorities. When arranging pipeline groups, the sliding pipeline groups can be arranged first, followed by the regular pipeline groups. If the final arrangement does not include the red 5 and yellow 1 pipeline groups, since the priority of the red pipeline group is higher than that of the yellow pipeline group, the yellow sub-pipeline groups in the sliding pipeline group can be removed. Then, the red sub-pipeline groups and the red regular pipeline groups in the sliding pipeline group are arranged. In other words, in this case, the yellow sub-pipeline groups in the sliding pipeline group only participate in the calculation of the arrangement range and do not participate in the pre-arrangement result.

[0117] The above-mentioned pipeline layout processing method can pre-arrange different types of sub-pipeline groups according to their priority, so as to obtain the layout result with the highest utilization rate of the new layout range and use it as the pipeline layout result of the current gradient, thereby improving the rationality of pipeline group layout. Furthermore, based on this scenario, the versatility of the pipeline layout processing method can be improved, and the efficiency of pipeline group layout can be increased.

[0118] As one example, such as Figure 17 As shown, the step in S3002 above, which arranges all pipeline groups of the same category within the new arrangement range to obtain the pipeline arrangement result of the current gradient, can be achieved through the following steps:

[0119] S3002a. Based on the priority of pipeline groups of the same category, determine at least one first pipeline group among all pipeline groups of the same category.

[0120] Specifically, the computer equipment can determine the priority of each pipeline group within the same category of all pipeline groups, designating at least one pipeline group with the highest priority as the first pipeline group. For example, if all pipeline groups in the same category are fixed pipeline groups, including water pipe groups, air duct groups, and cable tray groups, and each fixed pipeline group can contain one or more of these groups, then the first pipeline group can be any of the water pipe groups, air duct groups, or cable tray groups. Alternatively, all water pipe groups, all air duct groups, or all cable tray groups in all fixed pipeline groups can be designated as the first pipeline group.

[0121] Understandably, among water pipe groups, air duct groups, and cable tray groups, water pipe groups have the highest priority, followed by cable tray groups, and air duct groups have the lowest priority. If the pipeline groups are arranged in descending order of priority, all water pipe groups in all fixed pipeline groups can be designated as the first pipeline group. If the pipeline groups are arranged in ascending order of priority, all air duct groups in all fixed pipeline groups can be designated as the first pipeline group.

[0122] S3002b: Based on the arrangement of the first pipeline group within the new layout range, determine the first layout range corresponding to all first pipeline groups. The first pipeline group has the highest priority among all pipeline groups of the same category.

[0123] Understandably, the computer equipment can arrange each first pipeline group within the new arrangement range of all pipeline groups, and then determine the total arrangement range corresponding to all arranged first pipeline groups, i.e., the first arrangement range. In this embodiment, the pipeline groups are arranged in descending order of priority; therefore, the first pipeline group can have the highest priority among all pipeline groups of the same category. The total arrangement range corresponding to all arranged first pipeline groups can be equal to the sum of the initial arrangement ranges of all arranged first pipeline groups.

[0124] S3002c, Calculate the first difference between the length of the new arrangement range and the length of the first arrangement range.

[0125] The computer equipment can calculate the length of the remaining layout range within the new layout range after the first layout of all the first pipeline groups is arranged, by comparing the length of the new layout range of all pipeline groups with the length of the first layout range. The calculation method can be addition, subtraction, multiplication, or division, or a combination of these operations. However, in this embodiment, the calculation method can be subtraction.

[0126] Specifically, the computer equipment can obtain the first difference by subtracting the length of the first layout range from the length of the new layout range of all pipeline groups, which is the length of the remaining layout range after the first layout of all the first pipeline groups.

[0127] S3002d: Determine the pipeline layout result of the current gradient based on the first difference and the preset threshold.

[0128] Specifically, the computer device can compare the first difference with a preset threshold and determine the pipeline layout of the current gradient based on the comparison result. The preset threshold can be any constant, but in this embodiment, the preset threshold can be 0.

[0129] The above pipeline layout processing method can prioritize each pipeline group among all pipeline groups of the same category, and try to arrange the pipeline groups of the same category with higher priority within the new layout range. When the remaining layout range corresponding to the new layout range is insufficient, the pipeline group with higher priority and the highest utilization rate of the new layout range can be used as the pipeline layout result, thereby improving the rationality of the pipeline group layout.

[0130] As one embodiment, the step in S3002d above, which determines the pipeline layout result of the current gradient based on the first difference and the preset threshold, may specifically include the following steps:

[0131] If the first difference equals a preset threshold, the arrangement of all first pipeline groups is taken as the pipeline arrangement result of the current gradient. If the first difference is less than the preset threshold, all first pipeline groups are rearranged in the new arrangement range according to the initial arrangement range of the first pipeline groups through various permutations and combinations to obtain multiple first candidate arrangement results, and the first candidate arrangement result with the highest utilization rate of the new arrangement range is determined as the pipeline arrangement result of the current gradient. If the first difference is greater than a preset threshold, at least one second pipeline group is determined from all pipeline groups of the same category based on the priority of the pipeline group in all pipeline groups of the same category. The second pipeline group is arranged in the remaining arrangement range of the new arrangement range to determine the second arrangement range corresponding to all first pipeline groups and all second pipeline groups. The second difference is calculated between the length of the new arrangement range and the length of the second arrangement range. The pipeline arrangement result of the current gradient is determined based on the second difference and the preset threshold.

[0132] Specifically, if the computer device determines, after comparison, that the first difference equals a preset threshold of 0, it indicates that the total layout range of all currently arranged first pipeline groups has filled the new layout range of all pipeline groups. In this case, the layout result of all first pipeline groups can be used as the pipeline layout result of the current gradient. The layout result of all first pipeline groups is determined according to the order in which the computer device acquires all first pipeline groups.

[0133] Understandably, if the computer device determines, after comparison, that the first difference is less than a preset threshold of 0, it indicates that the total arrangement range of all currently arranged first pipeline groups is greater than the new arrangement range of all pipeline groups. In this case, based on the initial arrangement range of each first pipeline group, all first pipeline groups can be rearranged within the new arrangement range of all pipeline groups through various permutation and combination methods, resulting in multiple first candidate arrangement results. The first candidate arrangement result with the highest utilization rate of the new arrangement range is then determined as the pipeline arrangement result for the current gradient. In this embodiment, the comparison between arrangement ranges can actually be understood as a comparison between the lengths of the corresponding arrangement lines.

[0134] For example, if all first pipeline groups include pipeline group 111, pipeline group 112, and pipeline group 113, then all first pipeline groups are rearranged within the new arrangement range of all pipeline groups through various permutation and combination methods, resulting in multiple first candidate arrangement results, such as pipeline group 111, pipeline group 112, pipeline group 113, pipeline group 111+pipeline group 112, pipeline group 111+pipeline group 113, and pipeline group 112+pipeline group 113. Furthermore, the computer device can calculate the total arrangement range corresponding to each first candidate arrangement result, and take the first candidate arrangement result whose total arrangement range is closest to the new arrangement range of all pipeline groups as the first candidate arrangement result with the highest utilization rate of the new arrangement range, that is, the pipeline arrangement result of the current gradient.

[0135] It is also understandable that if the computer equipment, after comparison, determines that the first difference is greater than the preset threshold of 0, it indicates that the total layout range of all currently arranged first pipeline groups is less than the new layout range of all pipeline groups. In other words, after arranging all first pipeline groups within the new layout range, there is still remaining layout range. At this point, the second pipeline groups, which have a priority after the first pipeline groups, can continue to be arranged within the remaining layout range. The number of second pipeline groups, which have a priority after the first pipeline groups, can be one or more. The priority of the second pipeline group is only 1 less than the priority of the first pipeline group. The method for arranging all second pipeline groups within the remaining layout range of the new layout range can be the same as or different from the method for arranging all first pipeline groups within the new layout range.

[0136] In this embodiment, the method for arranging all second pipeline groups within the remaining arrangement range of the new arrangement range can be the same as the method for arranging all first pipeline groups within the new arrangement range.

[0137] Specifically, the computer equipment can arrange each second pipeline group within the remaining arrangement range of the new arrangement range, and determine the sum of the arrangement ranges of all the first pipeline groups that have been arranged and the arrangement ranges of all the second pipeline groups that have been arranged, which is the second arrangement range.

[0138] The computer equipment can calculate the length of the remaining layout range after arranging all the second pipeline groups in the second layout by using the length of the new layout range of all pipeline groups and the length of the second layout range. The calculation method can be addition, subtraction, multiplication, or division, or a combination of these operations. However, in this embodiment, the above calculation method can be subtraction.

[0139] Specifically, the computer equipment can obtain the second difference by subtracting the length of the second arrangement range from the length of the new arrangement range of all pipeline groups, which is the length of the remaining arrangement range after the second arrangement of all second pipeline groups.

[0140] The computer device can compare the second difference with a preset threshold and determine the pipeline layout result of the current gradient based on the comparison result. At this time, the pipeline layout result of the current gradient can be the superposition of the layout results of all the first pipeline groups that have been laid out and the layout results of all the second pipeline groups that have been laid out.

[0141] The above pipeline layout method can prioritize pipeline groups within the same category and place higher-priority pipeline groups within the new layout area. When the remaining layout area corresponding to the new layout area is insufficient, the pipeline group with higher priority and the highest utilization rate of the new layout area can be used as the pipeline layout result, thereby improving the rationality of pipeline group layout.

[0142] As one embodiment, the step of determining the pipeline layout result of the current gradient based on the second difference and the preset threshold can be implemented through the following steps:

[0143] If the second difference equals a preset threshold, the arrangement of all second pipeline groups and all first pipeline groups is taken as the pipeline arrangement result of the current gradient. If the second difference is less than the preset threshold, based on the initial arrangement range of the second pipeline groups, all second pipeline groups are rearranged in the remaining arrangement range of the new arrangement range through various permutation and combination methods to obtain multiple second candidate arrangement results. The second candidate arrangement result with the highest utilization rate of the new arrangement range and the arrangement results of all first pipeline groups are determined as the pipeline arrangement result of the current gradient. If the second difference is greater than the preset threshold, the pipeline group with the next priority is taken as the new second pipeline group. The process returns to the step of arranging the second pipeline group in the remaining arrangement range of the new arrangement range and determining the second arrangement range corresponding to all first pipeline groups and all second pipeline groups, until the arrangement results of each pipeline group of the same category with the highest utilization rate of the new arrangement range are determined as the pipeline arrangement result of the current gradient.

[0144] Specifically, if the computer device determines, after comparison, that the second difference equals the preset threshold of 0, it indicates that the total layout range of all the already arranged first pipeline groups and all the currently arranged second pipeline groups has filled the new layout range of all pipeline groups. In this case, the layout results of all the first pipeline groups and all the second pipeline groups can be used as the pipeline layout results of the current gradient. The layout results of all the first pipeline groups and all the second pipeline groups are determined according to the order in which the computer device acquires all the first pipeline groups and all the second pipeline groups.

[0145] Understandably, if the computer device determines, after comparison, that the second difference is less than a preset threshold of 0, it indicates that the total arrangement range of all currently arranged second pipeline groups is greater than the remaining arrangement range in the new arrangement range after all first pipeline groups have been arranged. In this case, based on the initial arrangement range of each second pipeline group, all second pipeline groups can be rearranged within the remaining arrangement range of all pipeline groups through various permutation and combination methods, resulting in multiple second candidate arrangement results. The arrangement result obtained by combining the arrangement results of all currently arranged pipeline groups with the second candidate arrangement result that has the highest utilization rate of the remaining arrangement range is determined as the pipeline arrangement result of the current gradient. In this embodiment, the comparison between arrangement ranges can actually be understood as a comparison between the lengths of the corresponding arrangement lines.

[0146] For example, if all second pipeline groups include pipeline group 21, pipeline group 22, and pipeline group 23, then all second pipeline groups are rearranged within the remaining arrangement range of the new arrangement range after all first pipeline groups are arranged in various permutation and combination methods, resulting in multiple second candidate arrangement results, such as pipeline group 21, pipeline group 22, pipeline group 23, pipeline group 21+pipeline group 22, pipeline group 21+pipeline group 23, and pipeline group 22+pipeline group 23. Further, the computer device can calculate the total arrangement range corresponding to each second candidate arrangement result, and take the second candidate arrangement result whose total arrangement range is closest to the remaining arrangement range of the new arrangement range after all first pipeline groups are arranged as the second candidate arrangement result with the highest utilization rate of the remaining arrangement range. The arrangement results of all arranged pipeline groups are combined with the second candidate arrangement result with the highest utilization rate of the remaining arrangement range, and the combined arrangement result is taken as the pipeline arrangement result of the current gradient.

[0147] It is also understandable that if the computer equipment, after comparison, determines that the second difference is greater than the preset threshold of 0, it indicates that the total layout range of all currently arranged first pipeline groups and all currently arranged second pipeline groups is less than the new layout range of all pipeline groups. In other words, after arranging all first pipeline groups and all second pipeline groups within the new layout range, there is still remaining layout range. At this point, the next priority pipeline group after the second pipeline group priority can continue to be arranged within the remaining layout range, and so on, until the layout results of each pipeline group of the same category with the highest utilization rate of the new layout range are obtained. The specific layout method for arranging all pipeline groups of the same priority each time is the same as the method for arranging all second pipeline groups, and will not be elaborated further.

[0148] Additionally, if all pipeline groups to be deployed are conventional pipeline groups, the order in which the computer equipment acquires all conventional pipeline groups can be as follows: Figure 18As shown, the pipeline layout for the current gradient is obtained by arranging these conventional pipeline groups in a left-to-right order. Figure 19 As shown. For example, if all the conventional pipeline groups to be laid out include Class I water pipe groups (gravity drainage systems containing tees and crosses in addition to the connecting fittings at both ends), Class II cable tray groups (including cable trays and busbars), Class III water pipe groups (not Class I), and air duct groups (excluding air outlets in the layout area), and Class IV air duct groups (including air outlets in the layout area), the computer equipment can lay out all conventional pipeline groups according to the priority of different pipeline groups during the pipeline group pre-layout.

[0149] The above pipeline layout method can prioritize pipeline groups within the same category and place higher-priority pipeline groups within the new layout area. When the remaining layout area corresponding to the new layout area is insufficient, the pipeline group with higher priority and the highest utilization rate of the new layout area can be used as the pipeline layout result, thereby improving the rationality of pipeline group layout.

[0150] 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:

[0151] (1) Obtain the pipeline group to be arranged and the attribute information of the pipeline group. The attribute information includes the initial layout range, category and priority of the category to which the pipeline group belongs.

[0152] (2) Find the intersection of the initial layout ranges of all pipeline groups in the set of initial layout ranges of each pipeline group to obtain the new layout range of the pipeline group.

[0153] (3) Determine whether the pipeline group is a fixed pipeline group, a restricted pipeline group or a regular pipeline group. The priority of the fixed pipeline group is higher than that of the restricted pipeline group, and the priority of the restricted pipeline group is higher than that of the regular pipeline group.

[0154] (4) Based on the priority of the pipeline group category and the preset priority arrangement order, arrange all pipeline groups of the same category in the new arrangement range in turn to obtain the pipeline arrangement result of the current gradient.

[0155] (5) The attribute information also includes the priority of pipeline groups of the same category, and determines whether the main pipelines in the pipeline group are all connected to the structural layer. Among them, the pipeline group is a fixed pipeline group.

[0156] (6) If so, then according to the priority of the same type of pipeline group and the initial layout range of the pipeline group, arrange all pipeline groups of the same type within the new layout range to obtain the pipeline layout result of the current gradient.

[0157] (7) If not, then based on the priority of the same type of pipeline group, the new layout range and the initial layout range of the pipeline group, the pipeline group is arranged in the current gradient or other gradients after the current gradient, and the pipeline layout result of the current gradient is obtained.

[0158] (8) If all pipeline groups include fixed pipeline groups and conventional or restricted pipeline groups, the fixed pipeline groups are arranged within the new arrangement range by using the priority of pipeline groups of the same type and the initial arrangement range of the pipeline groups, resulting in multiple remaining arrangement sub-ranges.

[0159] (9) Based on the centerline of the conventional pipeline group or the restricted pipeline group and multiple remaining layout sub-ranges, determine the remaining layout sub-range corresponding to the area where the centerline of the conventional pipeline group or the restricted pipeline group is located.

[0160] (10) Based on the initial layout range of the pipeline group, arrange the conventional pipeline group or the restricted pipeline group in the corresponding remaining layout sub-range to obtain the pipeline layout result of the current gradient.

[0161] (11) If the area where the centerline of the conventional pipeline group or the restricted pipeline group is located is not within the range of multiple remaining arrangement sub-ranges, then according to the initial arrangement range of the conventional pipeline group or the restricted pipeline group, the conventional pipeline group or the restricted pipeline group is arranged to the remaining arrangement sub-range closest to the centerline of the conventional pipeline group or the restricted pipeline group, and the pipeline arrangement result of the current gradient is obtained.

[0162] (12) The attribute information also includes the initial layout range of the sub-pipeline groups in the pipeline group and the priority of the sub-pipeline groups of the same category. If all pipeline groups of the same category are restricted pipeline groups, and the restricted pipeline group includes a sub-pipeline group, and the sub-pipeline group is a restricted sub-pipeline group, then the target layout range of all restricted pipeline groups is determined by the initial layout range of the sub-pipeline group, the new layout range of all restricted pipeline groups, and the preset occupancy.

[0163] (13) Take the target layout range as the new layout range, and arrange the sub-pipeline groups in the new layout range according to the priority of the same type of sub-pipeline group and the initial layout range of the sub-pipeline, to obtain the pipeline layout result of the current gradient.

[0164] (14) The attribute information also includes the priority of the category to which the sub-pipeline group belongs in the pipeline group. If the restricted pipeline group includes restricted sub-pipeline groups and regular sub-pipeline groups, and the regular sub-pipeline group is in the middle position of all restricted sub-pipeline groups, then the target layout range of all restricted pipeline groups is determined by the set of the initial layout range of the sub-pipeline groups.

[0165] (15) Take the target layout range as the new layout range, and arrange the sub-pipeline groups within the new layout range according to the priority of the same type of sub-pipeline group, the priority of the category to which the sub-pipeline group belongs, and the initial layout range of the sub-pipeline, to obtain the pipeline layout result of the current gradient.

[0166] Within the newly arranged area, all pipeline groups of the same category are arranged to obtain the pipeline arrangement results for the current gradient, including:

[0167] (a) If the conventional sub-pipeline group is on the same side of all restricted sub-pipeline groups, the target layout range of all restricted sub-pipeline groups is determined by the initial layout range of the sub-pipeline groups and the off-group occupancy between the restricted sub-pipeline groups and the conventional sub-pipeline groups.

[0168] (b) Identify at least one first pipeline group among all pipeline groups of the same category by prioritizing pipeline groups of the same category.

[0169] (c) Based on the arrangement of the first pipeline group within the new layout range, determine the first layout range corresponding to all first pipeline groups, with the first pipeline group having the highest priority among all pipeline groups of the same category.

[0170] (d) Calculate the first difference between the length of the new arrangement range and the length of the first arrangement range;

[0171] (e) If the first difference is equal to the preset threshold, then the arrangement result of all first pipeline groups is taken as the pipeline arrangement result of the current gradient.

[0172] (f) If the first difference is less than the preset threshold, then according to the initial layout range of the first pipeline group, all the first pipeline groups are rearranged in the new layout range through various permutation and combination methods to obtain multiple first candidate layout results, and the first candidate layout result with the highest utilization rate of the new layout range is determined as the pipeline layout result of the current gradient.

[0173] (g) If the first difference is greater than the preset value, then at least one second pipeline group in the same category is determined by the priority of the pipeline group in all pipeline groups of the same category.

[0174] (h) Arrange the second pipeline group within the remaining arrangement range of the new arrangement range, and determine the second arrangement range corresponding to all first pipeline groups and all second pipeline groups.

[0175] (i) Calculate the second difference between the length of the new arrangement range and the length of the second arrangement range.

[0176] (j) If the second difference is equal to the preset threshold, then the arrangement result of all second pipeline groups and all first pipeline groups is taken as the pipeline arrangement result of the current gradient.

[0177] (k) If the second difference is less than the preset threshold, then according to the initial layout range of the second pipeline group, all the second pipeline groups are rearranged in the remaining layout range of the new layout range through various permutation and combination methods to obtain multiple second candidate layout results. The second candidate layout result with the highest utilization rate of the new layout range and the layout results of all the first pipeline groups are determined as the pipeline layout result of the current gradient.

[0178] (l) If the second difference is greater than the preset threshold, the pipeline group of the next priority is used as the new second pipeline group. The process of arranging the second pipeline group in the remaining arrangement range of the new arrangement range, determining the second arrangement range corresponding to all first pipeline groups and all second pipeline groups, is repeated until the arrangement result of the same category of pipeline group with the highest utilization rate in the new arrangement range is determined as the pipeline arrangement result of the current gradient.

[0179] The specific execution process of (1) to (15) and (a) to (l) 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.

[0180] It should be understood that, although Figure 2-5 , Figure 8 , Figure 10 and Figure 12 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-5 , Figure 8 , Figure 10 and Figure 12 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.

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

[0182] The information acquisition module 11 is used to acquire the pipeline group to be arranged and the attribute information of the pipeline group. The attribute information includes the initial layout range, category and priority of the category to which the pipeline group belongs.

[0183] The layout range calculation module 12 is used to determine the new layout range of the pipeline group based on the set of initial layout ranges of each pipeline group.

[0184] The pipeline group layout module 13 is used to arrange pipeline groups within a new layout range according to the category of the pipeline group and the priority of the category to which the pipeline group belongs, and to obtain the pipeline layout result of the current gradient.

[0185] 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.

[0186] In one embodiment, the pipeline group layout module 13 includes: a pipeline group type determination unit and a first layout unit, wherein:

[0187] The pipeline group type determination unit is used to determine whether a pipeline group is a fixed pipeline group, a restricted pipeline group, or a conventional pipeline group.

[0188] The first layout unit is used to arrange all pipeline groups of the same category in the new layout range according to the priority of the pipeline group category and the preset priority layout order, so as to obtain the pipeline layout result of the current gradient.

[0189] Among them, the priority of the fixed pipeline group is higher than that of the restricted pipeline group, and the priority of the restricted pipeline group is higher than that of the conventional pipeline group.

[0190] 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.

[0191] In one embodiment, the attribute information further includes the priority of pipeline groups of the same category; the first layout unit includes: a judgment subunit and a first layout subunit, wherein:

[0192] The judgment subunit is used to determine whether all the main pipelines in the pipeline group are connected to the structural layer, where the pipeline group is a fixed pipeline group;

[0193] The first layout sub-unit is used to determine if the sub-unit's determination result is yes. Based on the priority of pipeline groups of the same category and the initial layout range of the pipeline groups, all pipeline groups of the same category are arranged within the new layout range to obtain the pipeline layout result of the current gradient.

[0194] 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.

[0195] In one embodiment, the first arrangement unit further includes: a second arrangement subunit, wherein:

[0196] The second layout sub-unit is used to determine whether the sub-unit's judgment result is negative. Based on the priority of pipeline groups of the same type, the new layout range, and the initial layout range of the pipeline group, the pipeline group is arranged in the current gradient or other gradients after the current gradient, and the pipeline layout result of the current gradient is obtained.

[0197] 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.

[0198] In one embodiment, if all pipeline groups include fixed pipeline groups and conventional pipeline groups or restricted pipeline groups, the first layout unit further includes: a third layout subunit, a layout range determination subunit, and a fourth layout subunit, wherein:

[0199] The third layout sub-unit is used to determine the layout of the fixed pipeline group within the new layout range by using the priority of the pipeline group among all pipeline groups of the same category and the initial layout range of the pipeline group, thus obtaining multiple remaining layout sub-ranges.

[0200] The layout range determination sub-unit is used to determine the corresponding remaining layout sub-range where the centerline of the conventional pipeline group or the restricted pipeline group is located, based on the centerline of the conventional pipeline group or the restricted pipeline group and multiple remaining layout sub-ranges.

[0201] The fourth layout sub-unit is used to arrange conventional pipeline groups or restricted pipeline groups within the corresponding remaining layout sub-range based on the initial layout range of the pipeline group, so as to obtain the pipeline layout result of the current gradient.

[0202] 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.

[0203] In one embodiment, the first arrangement unit further includes: a fifth arrangement subunit, wherein:

[0204] The fifth layout sub-unit is used to arrange the conventional pipeline group or the restricted pipeline group to the remaining layout sub-range closest to the centerline of the conventional pipeline group or the restricted pipeline group, based on the initial layout range of the conventional pipeline group or the restricted pipeline group, when the area where the centerline of the conventional pipeline group or the restricted pipeline group is located is not within the range of multiple remaining layout sub-ranges, so as to obtain the pipeline layout result of the current gradient.

[0205] 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.

[0206] In one embodiment, the attribute information further includes the initial layout range of sub-pipeline groups within the pipeline group and the priority of sub-pipeline groups of the same category; if all pipeline groups of the same category are restricted pipeline groups, and the restricted pipeline groups include sub-pipeline groups, then the first layout unit further includes: a first layout range determination sub-unit and a sixth layout sub-unit, wherein:

[0207] The first layout range determination sub-unit is used to determine the target layout range of all restricted pipeline groups when the sub-pipeline group is a restricted sub-pipeline group, by using the initial layout range of the sub-pipeline group, the new layout range of all restricted pipeline groups, and the preset occupancy.

[0208] The sixth layout sub-unit is used to take the target layout range as the new layout range, and arrange the sub-pipeline groups within the new layout range according to the priority of the same type of sub-pipeline groups and the initial layout range of the sub-pipelines, so as to obtain the pipeline layout result of the current gradient.

[0209] 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.

[0210] In one embodiment, the attribute information also includes the priority of the category to which the sub-pipeline group belongs in the pipeline group; the first layout unit further includes: a second layout range determination sub-unit and a seventh layout sub-unit, wherein:

[0211] The second layout range determination subunit is used to determine the target layout range of all restricted pipeline groups when the restricted pipeline group includes restricted sub-pipeline groups and regular sub-pipeline groups, and the regular sub-pipeline group is located in the middle position of all restricted sub-pipeline groups, based on the initial layout range of the sub-pipeline groups.

[0212] The seventh layout sub-unit is used to take the target layout range as the new layout range, and arrange the sub-pipeline groups within the new layout range according to the priority of the same type of sub-pipeline group, the priority of the category to which the sub-pipeline group belongs, and the initial layout range of the sub-pipelines, to obtain the pipeline layout result of the current gradient.

[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 first arrangement unit further includes: a third arrangement range determining subunit, wherein:

[0215] The third layout range determination subunit is used to determine the target layout range of all restricted sub-pipeline groups by using the initial layout range of the sub-pipeline groups and the off-group occupancy between the restricted sub-pipeline groups and the regular sub-pipeline groups when the regular sub-pipeline groups are on the same side of all restricted sub-pipeline groups.

[0216] 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.

[0217] In one embodiment, the first layout unit further includes: a first pipeline group determination subunit, a fourth layout range subunit, a first calculation subunit, and a first comparison subunit, wherein:

[0218] The first pipeline group determination subunit is used to determine at least one first pipeline group among all pipeline groups of the same category by prioritizing pipeline groups of the same category.

[0219] The fourth layout range subunit is used to determine the first layout range corresponding to all first pipeline groups within the new layout range based on the arrangement of the first pipeline groups. The first pipeline group has the highest priority among all pipeline groups of the same category.

[0220] The first calculation subunit is used to calculate the first difference between the length of the new arrangement range and the length of the first arrangement range.

[0221] The first comparison sub-unit is used to determine the pipeline layout result of the current gradient based on the first difference and the preset threshold.

[0222] 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.

[0223] In one embodiment, the first comparison subunit includes: a first layout result determination subunit, a second layout result determination subunit, a second pipeline group determination subunit, a fifth arrangement range determination subunit, a second calculation subunit, and a second comparison subunit, wherein:

[0224] The first layout result determination sub-unit is used to take the layout result of all first pipeline groups as the pipeline layout result of the current gradient when the first difference is equal to the preset threshold.

[0225] The second layout result determination subunit is used to, when the first difference is less than a preset threshold, rearrange all first pipeline groups within the new layout range using various permutation and combination methods based on the initial layout range of the first pipeline group, obtaining multiple first candidate layout results, and determining the first candidate layout result with the highest utilization rate of the new layout range as the pipeline layout result of the current gradient; and

[0226] The second pipeline group determination subunit is used to determine at least one second pipeline group among all pipeline groups of the same category when the first difference is greater than a preset value.

[0227] The fifth layout range determination subunit is used to arrange the second pipeline group within the remaining layout range of the new layout range, and to determine the second layout range corresponding to all first pipeline groups and all second pipeline groups.

[0228] The second calculation subunit is used to calculate the second difference between the length of the new arrangement range and the length of the second arrangement range.

[0229] The second comparison subunit is used to determine the pipeline layout result of the current gradient based on the second difference and the preset threshold.

[0230] 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.

[0231] In one embodiment, the second comparison subunit includes: a third arrangement result determination subunit, a fourth arrangement result determination subunit, and a determination execution subunit, wherein:

[0232] The third layout result determination sub-unit is used to take the layout results of all second pipeline groups and all first pipeline groups as the pipeline layout results of the current gradient when the second difference is equal to the preset threshold.

[0233] The fourth layout result determination subunit is used to, when the second difference is less than a preset threshold, rearrange all second pipeline groups within the remaining layout range of the new layout range using various permutation and combination methods, based on the initial layout range of the second pipeline group, to obtain multiple second candidate layout results. The second candidate layout result with the highest utilization rate of the new layout range, along with the layout results of all first pipeline groups, is determined as the pipeline layout result for the current gradient; and

[0234] The execution subunit is determined so that when the second difference is greater than a preset threshold, the pipeline group with the next priority is taken as the new second pipeline group. The execution returns to the remaining arrangement range of the second pipeline group in the new arrangement range, and the steps of determining the second arrangement range corresponding to all first pipeline groups and all second pipeline groups are carried out until the arrangement result of each pipeline group of the same category with the highest utilization rate in the new arrangement range is determined as the pipeline arrangement result of the current gradient.

[0235] 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.

[0236] 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.

[0237] 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:

[0238] Obtain the pipeline group to be arranged and its attribute information, including the initial layout range, category, and priority of the category to which the pipeline group belongs;

[0239] Based on the set of initial layout ranges for each pipeline group, determine the new layout range for the pipeline group.

[0240] By arranging pipeline groups according to their categories and the priority of those categories, the pipeline groups are arranged within the new layout range to obtain the pipeline layout result for the current gradient.

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

[0242] Obtain the pipeline group to be arranged and its attribute information, including the initial layout range, category, and priority of the category to which the pipeline group belongs;

[0243] Based on the set of initial layout ranges for each pipeline group, determine the new layout range for the pipeline group.

[0244] By arranging pipeline groups according to their categories and the priority of those categories, the pipeline groups are arranged within the new layout range to obtain the pipeline layout result for the current gradient.

[0245] 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.

[0246] 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.

[0247] 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 pipeline group to be arranged and the attribute information of the pipeline group, the attribute information including the initial layout range, category and priority of the category to which the pipeline group belongs; Based on the set of initial layout ranges of each pipeline group, the new layout range of the pipeline group is determined, wherein the intersection of the initial layout ranges of each pipeline group is taken as the new layout range of each pipeline group. Based on the category of the pipeline group and the priority of the category to which the pipeline group belongs, the pipeline group is arranged within the new arrangement range to obtain the pipeline arrangement result of the current gradient. This includes arranging all pipeline groups of the same category sequentially within the new arrangement range according to the priority of the category to which the pipeline group belongs and a preset priority arrangement order to obtain the pipeline arrangement result of the current gradient. Specifically, it is determined whether all main pipelines in the pipeline group are connected to a structural layer. If all main pipelines in the pipeline group are connected to a structural layer, all pipeline groups of the same category are arranged within the new arrangement range according to the priority of the pipeline groups of the same category and the initial arrangement range of the pipeline group to obtain the pipeline arrangement result of the current gradient. The pipeline group is a fixed pipeline group, and the attribute information also includes the priority of pipeline groups of the same category.

2. The method according to claim 1, characterized in that, The method of classifying the pipeline group and prioritizing the category to which the pipeline group belongs includes: The pipeline group is determined to be one of the following categories: fixed pipeline group, restricted pipeline group, or conventional pipeline group.

3. The method according to claim 1, characterized in that, The method further includes: Determine whether all the main pipelines in the pipeline group are connected to a structural layer; If not, then based on the priority of the pipeline group of the same category, the new arrangement range, and the initial arrangement range of the pipeline group, the pipeline group is arranged in the current gradient or other gradients after the current gradient, and the pipeline arrangement result of the current gradient is obtained.

4. The method according to claim 2, characterized in that, The priority of the fixed pipeline group is higher than that of the restricted pipeline group, and the priority of the restricted pipeline group is higher than that of the conventional pipeline group.

5. The method according to claim 4, characterized in that, If all pipeline groups include fixed pipeline groups and conventional or restricted pipeline groups, then the arrangement of all pipeline groups of the same category within the new layout range to obtain the pipeline layout result of the current gradient includes: Based on the priority of the pipeline groups of the same category and the initial layout range of the pipeline groups, the fixed pipeline groups are arranged within the new layout range to obtain multiple remaining layout sub-ranges; Based on the centerline of the conventional pipeline group or the restricted pipeline group and multiple remaining arrangement sub-ranges, determine the remaining arrangement sub-range corresponding to the area where the centerline of the conventional pipeline group or the restricted pipeline group is located; Based on the initial layout range of the pipeline group, the conventional pipeline group or the restricted pipeline group is arranged within the corresponding remaining layout sub-range to obtain the pipeline layout result of the current gradient.

6. The method according to claim 5, characterized in that, The method further includes: If the area where the centerline of the conventional pipeline group or the restricted pipeline group is located is not within the range of the remaining arrangement sub-ranges, then according to the initial arrangement range of the conventional pipeline group or the restricted pipeline group, the conventional pipeline group or the restricted pipeline group is arranged to the remaining arrangement sub-range closest to the centerline of the conventional pipeline group or the restricted pipeline group, and the pipeline arrangement result of the current gradient is obtained.

7. The method according to claim 2, characterized in that, The attribute information also includes the initial layout range of the sub-pipeline groups in the pipeline group and the priority of sub-pipeline groups of the same category; If all pipeline groups of the same category are restricted pipeline groups, and the restricted pipeline groups include sub-pipeline groups, then the arrangement of all pipeline groups of the same category within the new layout range to obtain the pipeline layout result of the current gradient includes: If the sub-pipeline group is a restricted sub-pipeline group, then the target layout range of all restricted pipeline groups is determined by the initial layout range of the sub-pipeline group, the new layout range of all restricted pipeline groups, and the preset occupancy. The target layout range is used as the new layout range, and the sub-pipeline groups are arranged within the new layout range according to the priority of the sub-pipeline groups of the same category and the initial layout range of the sub-pipelines, so as to obtain the pipeline layout result of the current gradient.

8. The method according to claim 7, characterized in that, The attribute information also includes the priority of the category to which the sub-pipeline groups in the pipeline group belong; If the restricted pipeline group includes restricted sub-pipeline groups and regular sub-pipeline groups, then within the new layout range, all pipeline groups of the same category are arranged to obtain the pipeline layout result of the current gradient, which also includes: If the conventional sub-pipeline group is located in the middle of all restricted sub-pipeline groups, then the target layout range of all restricted pipeline groups is determined by the set of the initial layout ranges of the sub-pipeline groups. The target layout range is used as the new layout range. Based on the priority of the sub-pipeline groups of the same category, the priority of the category to which the sub-pipeline group belongs, and the initial layout range of the sub-pipelines, the sub-pipeline groups are arranged within the new layout range to obtain the pipeline layout result of the current gradient.

9. The method according to claim 8, characterized in that, The method further includes: If the conventional sub-pipeline group is located on the same side of all restricted sub-pipeline groups, the target layout range of all restricted pipeline groups is determined by the initial layout range of the sub-pipeline group and the off-group occupancy between the restricted sub-pipeline group and the conventional sub-pipeline group.

10. The method according to claim 1, characterized in that, The step of arranging all pipeline groups of the same category within the new arrangement range to obtain the pipeline arrangement result of the current gradient includes: By prioritizing pipeline groups of the same category, at least one first pipeline group is determined among all pipeline groups of the same category; Based on the arrangement of the first pipeline group within the new arrangement range, determine the first arrangement range corresponding to all first pipeline groups, where the first pipeline group has the highest priority among all pipeline groups of the same category; Calculate the first difference between the length of the new arrangement range and the length of the first arrangement range; The pipeline layout result of the current gradient is determined based on the first difference and the preset threshold.

11. The method according to claim 10, characterized in that, The step of determining the pipeline layout result of the current gradient based on the first difference and the preset threshold includes: If the first difference is equal to the preset threshold, then the arrangement result of all first pipeline groups is taken as the pipeline arrangement result of the current gradient. If the first difference is less than the preset threshold, then based on the initial layout range of the first pipeline group, all first pipeline groups are rearranged within the new layout range through various permutation and combination methods to obtain multiple first candidate layout results, and the first candidate layout result with the highest utilization rate of the new layout range is determined as the pipeline layout result of the current gradient; and If the first difference is greater than the preset threshold, then at least one second pipeline group among all pipeline groups of the same category is determined based on the priority of the pipeline group among all pipeline groups of the same category. Arrange the second pipeline group within the remaining arrangement range of the new arrangement range, and determine the second arrangement range corresponding to all first pipeline groups and all second pipeline groups; Calculate a second difference between the length of the new arrangement range and the length of the second arrangement range; The pipeline layout result of the current gradient is determined based on the second difference and the preset threshold.

12. The method according to claim 11, characterized in that, The step of determining the pipeline layout result of the current gradient based on the second difference and the preset threshold includes: If the second difference is equal to the preset threshold, then the arrangement result of all second pipeline groups and all first pipeline groups is taken as the pipeline arrangement result of the current gradient. If the second difference is less than the preset threshold, then based on the initial layout range of the second pipeline group, all second pipeline groups are rearranged within the remaining layout range of the new layout range through various permutation and combination methods to obtain multiple second candidate layout results. The second candidate layout result with the highest utilization rate of the new layout range, along with the layout results of all first pipeline groups, is determined as the pipeline layout result of the current gradient; and If the second difference is greater than the preset threshold, the next priority pipeline group is taken as the new second pipeline group, and the process of arranging the second pipeline group in the remaining arrangement range of the new arrangement range and determining the second arrangement range corresponding to all first pipeline groups and all second pipeline groups is repeated until the arrangement result of the same category of pipeline groups with the highest utilization rate of the new arrangement range is determined as the pipeline arrangement result of the current gradient.

13. A pipeline layout processing device, characterized in that, The device includes: The information acquisition module is used to acquire the pipeline group to be arranged and the attribute information of the pipeline group. The attribute information includes the initial layout range, category, and priority of the category to which the pipeline group belongs. The layout range calculation module is used to determine the new layout range of the pipeline group based on the set of the initial layout ranges of each pipeline group, wherein the intersection of the initial layout ranges of each pipeline group is used as the new layout range of each pipeline group. The pipeline group layout module is used to arrange the pipeline groups within a new layout range based on their category and priority, to obtain the pipeline layout result for the current gradient. This includes arranging all pipeline groups of the same category sequentially within the new layout range according to the priority of the pipeline group's category and a preset priority layout order, to obtain the pipeline layout result for the current gradient. Specifically, it determines whether all main pipelines in the pipeline group are connected to a structural layer. If all main pipelines in the pipeline group are connected to a structural layer, it arranges all pipeline groups of the same category within the new layout range according to the priority of the pipeline groups of the same category and the initial layout range of the pipeline groups, to obtain the pipeline layout result for the current gradient. The pipeline group is a fixed pipeline group, and the attribute information also includes the priority of pipeline groups of the same category.

14. 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 12.

15. A readable 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 12.

Citation Information

Patent Citations

  • KR20210086069A