Water supply and drainage machine room system diagram generation method, device and equipment and storage medium

The system diagram of the water supply and drainage machine room is generated through the algorithm of the building information model, which solves the time-consuming and error-prone problems of the existing technology and realizes efficient and accurate system diagram drawing.

CN115455521BActive Publication Date: 2025-10-17HEFEI LIANGZHEN CONSTR TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210858273.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-20
Publication Date
2025-10-17
Estimated Expiration
2042-07-20

Smart Images

  • Figure CN115455521B_ABST
    Figure CN115455521B_ABST
Patent Text Reader

Abstract

The application relates to the field of architectural design and discloses a water supply and drainage machine room system diagram generation method, device and equipment and a storage medium, which are used for improving the efficiency of water supply and drainage machine room system diagram generation. The method comprises the following steps: obtaining building room graph element information from a preset building information database based on preset axial angle information and generating a building room template graph according to the building room graph element information; generating water supply and drainage pipelines based on three-dimensional pipeline information in the building room graph element information to obtain a candidate water supply and drainage pipeline set corresponding to the building room template graph; analyzing a project north direction of the building room template graph based on water supply and drainage equipment information in the building room graph element information to determine a corresponding project north direction; merging the candidate water supply and drainage pipeline set to obtain a target water supply and drainage pipeline set; performing graph element matching based on the target water supply and drainage pipeline set to obtain a plurality of water supply and drainage accessory graph elements; and generating a water supply and drainage machine room system diagram based on the plurality of water supply and drainage accessory graph elements and the target water supply and drainage pipeline set.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of architectural design, and in particular to a water supply and drainage machine room system diagram generation method, device, equipment and storage medium. BACKGROUND

[0002] In the process of intelligentization and digitization transformation of the whole building and real estate industry, using computer science knowledge for building design has become an important means to improve engineering efficiency. Water supply and drainage machine room system diagram drawing is a time-consuming and error-prone difficult work in building water supply and drainage design. The pipeline in the machine room is dense and three-dimensional, and there are many equipment valves. Only relying on the plan cannot completely express the design content of the pipeline and equipment in the machine room. It is necessary to draw a system diagram combined with the plan to reflect the design situation and guide the construction.

[0003] The water supply and drainage machine room system diagram is a drawing in which the equipment and pipelines in the machine room which are actually three-dimensional space relationships are drawn on the template drawing. It is used to cooperate with the template drawing to reflect the installation of the pipes and equipment in the machine room. In the traditional engineering design process, the designer usually uses CAD software as the design tool for the water supply and drainage machine room system diagram. Only relying on personal three-dimensional space imagination can speculate the pipeline trend, equipment and valve arrangement position. Therefore, the time-consuming and error-prone are long, and therefore the technical scheme for drawing the water supply and drainage machine room system diagram can improve the efficiency and accuracy of generating the water supply and drainage machine room system diagram. SUMMARY

[0004] The embodiment of the present application provides a water supply and drainage machine room system diagram generation method, device, equipment and storage medium, which is used for improving the efficiency of generating the water supply and drainage machine room system diagram.

[0005] The first aspect of the present application provides a water supply and drainage machine room system diagram generation method, comprising: obtaining building room graph element information from a preset building information database based on preset axial angle information, and generating a building room template graph according to the building room graph element information and the axial angle information; generating water supply and drainage pipelines based on three-dimensional pipeline information in the building room graph element information to obtain a candidate water supply and drainage pipeline set corresponding to the building room template graph; analyzing the building room template graph in the project north direction based on water supply and drainage equipment information in the building room graph element information through a preset large sample graph horizontal line algorithm to determine the corresponding project north direction; merging pipelines in the candidate water supply and drainage pipeline set through a preset coincident line merging algorithm to obtain a target water supply and drainage pipeline set; performing graph element matching based on the target water supply and drainage pipeline set to obtain a plurality of water supply and drainage accessory graph elements; and generating a water supply and drainage machine room system diagram based on the plurality of water supply and drainage accessory graph elements and the target water supply and drainage pipeline set.

[0006] Optionally, in the first implementation manner of the first aspect, the determining the project north direction based on the water supply and drainage equipment information in the building room graph element information by using a preset large sample graph horizontal line algorithm to analyze the building room template graph in the project north direction comprises: connecting equipment points by using the water supply and drainage equipment information to obtain a corresponding point connection set; performing parallel line analysis on the point connection set based on the preset large sample graph horizontal line algorithm to obtain a plurality of parallel line sets; performing quantity analysis on the plurality of parallel line sets respectively to obtain a line quantity corresponding to each of the parallel line sets; performing maximum value screening on the line quantity corresponding to each of the parallel line sets to obtain a target parallel line set with the maximum line quantity; and taking a straight line where any line in the target parallel line set is located as a horizontal line, and determining the project north direction according to the horizontal line.

[0007] Optionally, in the second implementation manner of the first aspect, the merging the candidate water supply and drainage pipeline set by using a preset coincident line merging algorithm to obtain a target water supply and drainage pipeline set comprises: performing coincident type analysis on the candidate water supply and drainage pipeline set by using the coincident line merging algorithm to obtain a corresponding coincident type, wherein the coincident type comprises a collinear type, a size type and a connection type; performing coincident analysis on the candidate water supply and drainage pipeline set based on the coincident type to obtain a corresponding coincident pipeline; and performing merging processing on the coincident pipeline to obtain the target water supply and drainage pipeline set.

[0008] Optionally, in the third implementation manner of the first aspect, the performing graph element matching based on the target water supply and drainage pipeline set to obtain a plurality of water supply and drainage accessory graph elements comprises: performing pipeline accessory matching based on the target water supply and drainage pipeline set to determine a corresponding pipeline accessory set; performing water supply and drainage equipment matching on the pipeline accessory set by using a preset equipment relationship configuration table to determine a corresponding water supply and drainage equipment set; and performing graph element matching according to the water supply and drainage equipment set and the pipeline accessory set to obtain the plurality of water supply and drainage accessory graph elements.

[0009] Optionally, in the fourth implementation manner of the first aspect, the generating a water supply and drainage machine room system graph based on the plurality of water supply and drainage accessory graph elements and the target water supply and drainage pipeline set comprises: performing parameter matching based on the plurality of water supply and drainage accessory graph elements and the target water supply and drainage pipeline set to determine corresponding configuration parameters; and connecting the plurality of water supply and drainage accessory graph elements and the target water supply and drainage pipeline set based on the configuration parameters by using a preset connection rule to generate the water supply and drainage machine room system graph.

[0010] Optionally, in a fifth implementation form of the first aspect of the present application, after the connection of the plurality of water supply and drainage accessory graph elements and the target water supply and drainage pipeline set based on the configuration parameters through the preset connection rule to generate the water supply and drainage machine room system graph, the method further comprises: obtaining pipeline parameter information from a preset building information database, wherein the pipeline parameter information comprises pipeline abbreviation name, pipeline size data and pipeline elevation data; and labeling the pipeline parameter information in the water supply and drainage machine room system graph through a preset labeling avoidance algorithm.

[0011] Optionally, in a sixth implementation form of the first aspect of the present application, the labeling of the pipeline parameter information in the water supply and drainage machine room system graph through the preset labeling avoidance algorithm comprises: center point position analysis of each water supply and drainage pipeline in the target water supply and drainage pipeline set in the water supply and drainage machine room system graph through the preset labeling avoidance algorithm to determine the corresponding center point position of each water supply and drainage pipeline; labeling the pipeline abbreviation name in the pipeline parameter information at the center point position, labeling the pipeline size data at one side of the center point position according to a preset distance, and labeling the pipeline elevation data at the other side of the center point position according to the preset distance.

[0012] The second aspect of the present application provides a water supply and drainage machine room system graph generation device, comprising: an information acquisition module, configured to acquire building room graph element information from a preset building information database based on preset axial angle information, and generate a building room template graph according to the building room graph element information and the axial angle information; a pipeline generation module, configured to generate water supply and drainage pipelines based on three-dimensional pipeline information in the building room graph element information to obtain a candidate water supply and drainage pipeline set corresponding to the building room template graph; a direction analysis module, configured to analyze the north direction of the building room template graph based on water supply and drainage equipment information in the building room graph element information through a preset large-scale graph horizontal line algorithm; a pipeline merging module, configured to merge the candidate water supply and drainage pipeline set through a preset coincident line merging algorithm to obtain a target water supply and drainage pipeline set; a graph element matching module, configured to perform graph element matching based on the target water supply and drainage pipeline set to obtain a plurality of corresponding water supply and drainage accessory graph elements; and a drawing generation module, configured to generate a water supply and drainage machine room system graph based on the plurality of water supply and drainage accessory graph elements and the target water supply and drainage pipeline set.

[0013] Optionally, in the first implementation manner of the second aspect of the present application, the direction analysis module is specifically configured to: connect the device points by the water supply and drainage equipment information to obtain a corresponding point connection set; perform parallel line analysis on the point connection set based on a preset large sample map horizontal line algorithm to obtain a plurality of parallel line sets; perform quantity analysis on the plurality of parallel line sets respectively to obtain a line number corresponding to each of the parallel line sets; perform maximum value screening on the line number corresponding to each of the parallel line sets to obtain a target parallel line set with the largest line number; and take a straight line where any line in the target parallel line set is located as a horizontal line, and determine a project north direction according to the horizontal line.

[0014] Optionally, in the second implementation manner of the second aspect of the present application, the pipeline merging module is specifically configured to: perform coincidence type analysis on the candidate water supply and drainage pipeline set by the coincident line merging algorithm to obtain a corresponding coincident type, wherein the coincident type includes a collinear type, a size type, and a connection type; perform coincident analysis on the candidate water supply and drainage pipeline set based on the coincident type to obtain a corresponding coincident pipeline; and perform merging processing on the coincident pipeline to obtain a target water supply and drainage pipeline set.

[0015] Optionally, in the third implementation manner of the second aspect of the present application, the graph element matching module is specifically configured to: perform pipe accessory matching based on the target water supply and drainage pipeline set to determine a corresponding pipe accessory set; perform water supply and drainage equipment matching on the pipe accessory set by a preset equipment relationship configuration table to determine a corresponding water supply and drainage equipment set; and perform graph element matching according to the water supply and drainage equipment set and the pipe accessory set to obtain a plurality of water supply and drainage accessory graph elements.

[0016] Optionally, in the fourth implementation manner of the second aspect of the present application, the drawing generation module is specifically configured to: perform parameter matching based on the plurality of water supply and drainage accessory graph elements and the target water supply and drainage pipeline set to determine a corresponding configuration parameter; and perform connection of the plurality of water supply and drainage accessory graph elements and the target water supply and drainage pipeline set based on the configuration parameter by a preset connection rule to generate the water supply and drainage machine room system drawing.

[0017] Optionally, in the fifth implementation manner of the second aspect of the present application, the water supply and drainage machine room system drawing generation apparatus further includes: a parameter acquisition module configured to acquire pipe parameter information from a preset building information database, wherein the pipe parameter information includes pipe abbreviation name, pipe size data, and pipe elevation data; and a parameter labeling module configured to label the pipe parameter information in the water supply and drainage machine room system drawing by a preset labeling avoidance algorithm.

[0018] Optionally, in a sixth implementation form of the second aspect of the present application, the parameter labeling module is specifically configured to: analyze a center point of each of the target water supply and drainage pipeline set in the water supply and drainage plant room system diagram by using a preset labeling avoidance algorithm to determine a center point corresponding to each of the water supply and drainage pipelines; label a pipeline abbreviation name in the pipeline parameter information on the center point, label the pipeline size data on one side of the center point according to a preset distance, and label the pipeline elevation data on the other side of the center point according to the preset distance.

[0019] The third aspect of the present application provides a computer device, comprising: a memory and at least one processor, the memory storing instructions; the at least one processor calling the instructions in the memory to make the computer device execute the water supply and drainage plant room system diagram generation method described above.

[0020] The fourth aspect of the present application provides a computer readable storage medium, the computer readable storage medium storing instructions, when running on a computer, making the computer execute the water supply and drainage plant room system diagram generation method described above.

[0021] In the technical solution provided by the present application, the server obtains the components associated with each graph element from the building information model component database, the server determines the shape category to which each graph element belongs, analyzes the arrangement rule between the graph elements with the same shape category according to the determination result, when the arrangement rule matches any one of the preset arrangement rules in the preset arrangement rule set, obtains the corresponding water supply and drainage accessory component information from the building information model component database according to the arrangement rule, and performs accessory matching according to the preset pipeline accessory correspondence table, and then the server performs water supply and drainage equipment matching on the pipeline accessory set through the preset equipment relationship configuration table to determine the corresponding water supply and drainage equipment set, wherein the water supply and drainage pipeline equipment includes rotating joints, short pipes and other pipeline equipment, the server performs graph element matching according to the water supply and drainage equipment set and the pipeline accessory set to obtain a plurality of corresponding water supply and drainage accessory graph elements. The present application can accurately export again after modifying the existing building model through algorithm calculation, without the need for designers to manually modify the changed parts, thereby improving the efficiency of water supply and drainage plant room system diagram generation. BRIEF DESCRIPTION OF DRAWINGS

[0022] Figure 1 An embodiment of the water supply and drainage plant room system diagram generation method in the embodiment of the present application is shown;

[0023] Figure 2 A building room graph element set display diagram in the embodiment of the present application is shown;

[0024] Figure 3 A candidate water supply and drainage pipeline system diagram in the embodiment of the present application is shown;

[0025] Figure 4 It is another embodiment of the method for generating the water supply and drainage machine room system diagram in the embodiment of the application.

[0026] Figure 5 It is the water supply and drainage machine room system diagram with a label in the embodiment of the application.

[0027] Figure 6 It is an embodiment of the device for generating the water supply and drainage machine room system diagram in the embodiment of the application.

[0028] Figure 7 It is another embodiment of the device for generating the water supply and drainage machine room system diagram in the embodiment of the application.

[0029] Figure 8 It is an embodiment of the computer device in the embodiment of the application. DETAILED DESCRIPTION

[0030] The embodiment of the application provides a water supply and drainage machine room system diagram generation method, device, equipment and storage medium, which is used for improving the efficiency of water supply and drainage machine room system diagram generation.

[0031] The terms "first", "second", "third", "fourth" and the like (if any) in the specification and claims of the application and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily have to describe a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "include" or "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device including a series of steps or units does not have to be limited to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to the process, method, product or device.

[0032] For the sake of understanding, the specific flow of the embodiment of the application is described below, please refer to Figure 1 An embodiment of the method for generating the water supply and drainage machine room system diagram in the embodiment of the application includes the following steps:

[0033] 101. Obtain building room graph element information from the preset building information database based on the preset axial angle information, and generate a building room template graph according to the building room graph element information.

[0034] It can be understood that the execution subject of the application can be a water supply and drainage machine room system diagram generation device, and can also be a server, and the specific place is not limited. The embodiment of the application takes the server as the execution subject for example.

[0035] It should be noted that the building information is obtained from the building information database based on the building information model, wherein the building information model is based on the relevant information data of the building engineering project as the model basis, the building model is established, the real information of the building is simulated through digital information simulation, it has the characteristics of completeness, information consistency, visualization, coordination, simulation, optimization and drawing, wherein it should be noted that before the server uses the machine room system diagram function, the present model of the current model existing in the building information model is provided by the designer, the building room containing the name keyword exists in the link model, after the server runs this function, the server reads the above building room containing the name keyword and displays it in the pop-up interface, then the server is based on the preset axis angle information, wherein the axis angle information can be 45° or 30°, and then the server selects the building room of the system diagram to be generated through the mouse click event listened to, and generates the corresponding template diagram, such as Figure 2 Figure 2 To show the building room diagram element set, wherein it should be noted that Figure 2 The black frame part in the above is the outer wall of the building room.

[0036] 102. Based on the three-dimensional pipeline information in the building room graph element information, the water supply and drainage pipeline is generated, and the candidate water supply and drainage pipeline set corresponding to the building room template diagram is obtained.

[0037] Specifically, the server marks each area drawing in the building room template diagram based on the three-dimensional pipeline information in the building room graph element information. For example, the water supply and drainage pipeline data of region A in the three-dimensional pipeline information in the building room graph element information is exported, and the corresponding drawing is marked as the water supply and drainage pipeline data of region A, thereby facilitating the classification and saving in the later pipeline prefabrication process, wherein it should be noted that the water supply and drainage pipeline data at least includes pipeline length information data, pipeline diameter information, pipeline thickness information and pipeline connection point information, and then the server generates the pipeline according to the above water supply and drainage pipeline data, specifically, the server converts the pipeline segment in the three-dimensional space to a two-dimensional plane by coordinate transformation algorithm. Get the line segment on the two-dimensional plane. Get the candidate water supply and drainage pipeline system diagram corresponding to the building room template diagram, as shown in Figure 3 Figure 3 The candidate water supply and drainage pipeline system diagram generated by the server according to the building room template diagram.

[0038] 103. Based on the water supply and drainage equipment information in the building room graph element information, the project north direction is determined by analyzing the building room template diagram through the preset large sample diagram horizontal line algorithm.

[0039] ​​It should be noted that after the server calls the template graph method to generate the system graph in the drawing plane, the horizontal line method is used to find the line with the most repeated parallel lines in the two-to-two connection of the device position points as the horizontal line. Specifically, by connecting the two-to-two connection of the water supply and drainage device points, the line with the maximum parallel line set is found as the horizontal line, and then the project north direction is obtained, wherein the project north direction of the large-scale drawing is perpendicular to the horizontal line and the angle between the model project north and the horizontal line is less than or equal to 60 degrees, and then the corresponding project north direction is determined according to the horizontal line.

[0040] 104. Merge the candidate water supply and drainage pipeline set by the preset coincident line merging algorithm to obtain a target water supply and drainage pipeline set;

[0041] It should be noted that the coincident line merging algorithm refers to merging the generated lines that are collinear, have the same system type, the same size, and are actually connected. Specifically, the server analyzes the coincident line determination parameters of the candidate water supply and drainage pipeline by the above-mentioned coincident line merging algorithm, wherein the coincident line determination parameter is a judgment threshold parameter for identifying whether two connection lines are coincident lines according to a specific rule. The value of the coincident line determination parameter will affect the determination result of whether the two connection lines are a coincident line pair. It should be noted that the coincident line determination parameter can also be manually input by the user. After the user inputs the coincident line determination parameter, the processor records the coincident line determination parameter, and identifies the coincident line pair based on the coincident line determination parameter input by the user. At the same time, the server analyzes the coincidence type of the candidate water supply and drainage pipeline set to obtain the corresponding coincident category, wherein the coincident category includes collinear type, size type, and connection type. Then, the server performs coincident analysis based on the coincident category, and merges the candidate water supply and drainage pipeline set to obtain a target water supply and drainage pipeline set.

[0042] 105. Perform graph element matching based on the target water supply and drainage pipeline set to obtain a plurality of water supply and drainage accessory graph elements;

[0043] It should be noted that the characteristic data corresponding to each of the plurality of water supply and drainage accessory graph elements is the size of each graph element, and further, the size of each graph element is determined according to the shape category corresponding to each graph element. For example, if the graph element is a circle, then the size of the graph element is the radius and the height; if the graph element is a straight line, then the size of the graph element is the length, etc. Specifically, the server determines the corresponding graph element attribute data based on the target water supply and drainage pipeline set, wherein the graph element attribute data is the title name of the water supply and drainage accessory. It should be noted that the graph element attribute data set includes a plurality of preset graph element attribute data, and each preset graph element attribute data is a synonym, a near-synonym or a word with the same meaning of the graph name. For example, graph name, graph pattern name, graph paper name, etc. Then the server obtains the component associated with each graph element from the building information model component database, and determines the shape category to which each graph element belongs; according to the determination result, the arrangement rule between the graph elements with the same shape category is analyzed, and when the arrangement rule matches any one of the preset arrangement rules in the preset arrangement rule set, the corresponding water supply and drainage accessory component information is obtained from the building information model component database according to the arrangement rule. Finally, the server matches the graph elements through the water supply and drainage accessory component information, and obtains a plurality of water supply and drainage accessory graph elements.

[0044] 106. Generating a water supply and drainage machine room system diagram based on the plurality of water supply and drainage accessory graph elements and the target water supply and drainage pipeline set.

[0045] The server establishes a building information model family with a room as the smallest design graph element, adds the function information and component information of the room as characteristic values to the building information model family, filters and extracts the components of the building information model family according to the task requirements of the building design and the characteristic values of the water supply and drainage equipment, forms a project graph element library, and then divides the grid based on the building contour plane, subdivides according to the function and area of the building plane, and finally obtains a grid division graph. The water supply and drainage accessory graph elements are arranged on the special nodes of the grid space, and then the server generates a water supply and drainage machine room system diagram based on the target water supply and drainage pipeline set.

[0046] In the embodiment of the application, the server performs coincidence type analysis on the candidate water supply and drainage pipeline set to obtain a corresponding coincidability category, wherein the coincidability category includes collinear type, size type, connection type and the like. Then, the server performs coincidability analysis according to the coincidability category and pipeline merging on the candidate water supply and drainage pipeline set to obtain the target water supply and drainage pipeline set. The server generalizes the algorithm in the process of drawing the traditional water supply and drainage machine room system diagram, so that the server can complete the drawing of the water supply and drainage machine room system diagram through the algorithm, which can replace manual drawing and manual labeling, improve the efficiency of generating the water supply and drainage machine room system diagram, and ensure the accuracy of the drawing result.

[0047] Please refer toFigure 4 Another embodiment of the method for generating a water supply and drainage plant room system diagram in the embodiments of the present application includes the following steps:

[0048] 401. Obtain building room graph element information from a preset building information database based on preset axis angle information, and generate a building room template graph according to the building room graph element information;

[0049] It should be noted that in this embodiment, the specific implementation of step 401 is similar to step 101 described above, and will not be repeated here.

[0050] 402. Generate water supply and drainage pipelines based on three-dimensional pipeline information in the building room graph element information to obtain a candidate water supply and drainage pipeline set corresponding to the building room template graph;

[0051] Specifically, in this embodiment, the specific implementation of step 402 is similar to step 102 described above, and will not be repeated here.

[0052] 403. Analyze the building room template graph in the project north direction based on water supply and drainage equipment information in the building room graph element information by using a preset large sample graph horizontal line algorithm to determine the corresponding project north direction;

[0053] Specifically, the server connects the equipment points based on the water supply and drainage equipment information to obtain a corresponding point connection set; the server analyzes the parallel lines of the point connection set based on the preset large sample graph horizontal line algorithm to obtain a plurality of parallel line sets; the server respectively analyzes the number of the plurality of parallel line sets to obtain the number of lines corresponding to each parallel line set; the server selects the maximum value of the number of lines corresponding to each parallel line set to obtain a target parallel line set with the maximum number of lines; and the server takes any line in the target parallel line set as a horizontal line and determines the project north direction according to the horizontal line.

[0054] It should be noted that the server finds the line of the maximum parallel line set as the horizontal line through the two-by-two connection of the water supply and drainage equipment points, and then obtains the project north direction, wherein, the large drawing horizontal line algorithm is that the line with the most repeated parallel lines in the two-by-two connection of the drawing is taken as the horizontal line, the project north direction of the large drawing is perpendicular to the horizontal line and the angle with the project north of the building room template drawing is less than or equal to 60 degrees, specifically, in the embodiment of the application, the server performs slope analysis on each line in the point connection set, wherein the server performs coordinate analysis on the two endpoints of each line, and then determines the corresponding slope according to the two endpoint coordinates of each line, so that the server performs parallel line analysis according to the corresponding slope of each line, obtains multiple parallel line sets, and determines the corresponding line number by analyzing the line number of each parallel line set, and selects the target parallel line set with the largest line number, and determines the direction perpendicular to the straight line of any line in the target parallel line set as the project north direction according to the slope of each parallel line in the target parallel line set.

[0055] 404, merging the candidate water supply and drainage pipeline set through the preset coincident line merging algorithm to obtain a target water supply and drainage pipeline set;

[0056] Specifically, the server performs coincident type analysis on the candidate water supply and drainage pipeline set through the coincident line merging algorithm to obtain a corresponding coincident category, wherein the coincident category includes a collinear type, a size type, and a connection type; the server performs coincident analysis on the candidate water supply and drainage pipeline set based on the coincident category to obtain a corresponding coincident pipeline; and the server performs merging processing on the coincident pipeline to obtain a target water supply and drainage pipeline set.

[0057] It should be noted that the coincident type of the water supply and drainage pipeline further includes pipeline types such as plastic pipes and metal pipes, and in the embodiment of the application, the server respectively analyzes the collinear type, the size type, and the connection type according to the type of the pipeline, wherein the collinear type includes a full coincidence type and a partial coincidence type, the size type is mainly classified according to the nominal diameter to determine the corresponding size type, and the connection type includes threaded connection, welding connection, socket connection, and other connection types; then the server performs coincident analysis on each water supply and drainage pipeline in the candidate water supply and drainage pipeline set according to the coincident category of different pipeline types to determine the coincident pipeline, and then the server merges the coincident pipeline to obtain the target water supply and drainage pipeline set.

[0058] 405, performing graph element matching based on the target water supply and drainage pipeline set to obtain a plurality of water supply and drainage accessory graph elements;

[0059] Specifically, the server performs pipe accessory matching based on the target water supply and drainage pipeline set to determine a corresponding pipe accessory set; the server performs water supply and drainage equipment matching on the pipe accessory set through a preset equipment relationship configuration table to determine a corresponding water supply and drainage equipment set; and the server performs graph element matching according to the water supply and drainage equipment set and the pipe accessory set to obtain a plurality of corresponding water supply and drainage accessory graph elements.

[0060] It should be noted that the water supply pipe accessory is a general term for opening and closing and adjusting devices installed on pipes and equipment. It is generally divided into two categories: water distribution accessories and control accessories. Water distribution accessories, such as various water nozzles installed on sanitary fixtures and water points, are used to adjust and distribute water flow. Control accessories are used to adjust water flow, water pressure, determine water flow, and change water flow direction, such as gate valves, check valves, and float ball valves. In the embodiments of the present application, the server determines the pipe accessory set by performing accessory matching on the corresponding water supply and drainage pipeline. Specifically, the server performs pipe accessory matching according to the pipe type and size type of the water supply and drainage pipeline. In the pipe accessory matching, the server performs accessory matching according to a preset pipe accessory correspondence table. Then, the server performs water supply and drainage equipment matching on the pipe accessory set through a preset equipment relationship configuration table to determine a corresponding water supply and drainage equipment set. The water supply and drainage pipe equipment includes rotating joints, short pipes, and other pipe equipment. The server performs graph element matching according to the water supply and drainage equipment set and the pipe accessory set to obtain a plurality of corresponding water supply and drainage accessory graph elements.

[0061] 406. Generate a water supply and drainage machine room system graph based on the plurality of water supply and drainage accessory graph elements and the target water supply and drainage pipeline set;

[0062] Specifically, the server performs parameter matching based on the plurality of water supply and drainage accessory graph elements and the target water supply and drainage pipeline set to determine corresponding configuration parameters. The server connects the plurality of water supply and drainage accessory graph elements and the target water supply and drainage pipeline set based on the configuration parameters through a preset connection rule to generate a water supply and drainage machine room system graph.

[0063] In which, the server performs parameter matching based on the plurality of water supply and drainage accessory graph elements and the target water supply and drainage pipeline set to determine corresponding configuration parameters. Specifically, the server reads the pipe abbreviations, sizes, and elevation parameters in the building information model. Finally, the server connects the plurality of water supply and drainage accessory graph elements and the target water supply and drainage pipeline set based on the configuration parameters through a preset connection rule to generate a water supply and drainage machine room system graph. Specifically, the server draws the water supply and drainage pipe connection into a specific size three-dimensional model through the building information model, and draws the electrical bridge, ventilation pipe, and fire pipe into a specific size three-dimensional model. Then, the three-dimensional models are aggregated according to the same reference, pipe simulation collision test is performed, collision points are retrieved, the pipeline direction is changed until no collision points appear, and finally the connection of the plurality of water supply and drainage accessory graph elements and the target water supply and drainage pipeline set is completed, and a water supply and drainage machine room system graph is finally generated.

[0064] 407、acquire pipe parameter information from a preset building information database, wherein the pipe parameter information comprises pipe abbreviation name, pipe size data and pipe elevation data;

[0065] The text information of the pipe name, elevation and length size is attached to the corresponding pipe, and the specific position thereof near the pipe has uncertainty, and the text information of two or more pipes often partially or completely overlaps, which is relatively chaotic and affects the neatness of the interface. On the other hand, the text information of the pipe name, elevation and length size under the three-dimensional model is arranged in parallel to the spatial trend of the pipe, but the text information printed out after adjustment to the isometric direction is not necessarily parallel to the pipe. In the embodiment of the application, the server acquires pipe parameter information from a preset building information database, wherein the pipe parameter information comprises pipe abbreviation name, pipe size data and pipe elevation data. After the server acquires the above-mentioned various pipe parameter information, the above-mentioned pipe parameter information is labeled in the water supply and drainage plant system diagram through a preset labeling avoidance algorithm.

[0066] 408、acquire pipe parameter information from a preset building information database, wherein the pipe parameter information comprises pipe abbreviation name, pipe size data and pipe elevation data;

[0067] Specifically, the server analyzes the center point position of each water supply and drainage pipeline in the target water supply and drainage pipeline set in the water supply and drainage plant system diagram through a preset labeling avoidance algorithm to determine the center point position corresponding to each water supply and drainage pipeline. The server labels the pipe abbreviation name in the pipe parameter information at the center point position, labels the pipe size data at one side of the center point position according to a preset distance, and labels the pipe elevation data at the other side of the center point position according to a preset distance.

[0068] It should be noted that the labeling avoidance algorithm means that the pipe size, pipe system abbreviation and pipe height are arranged at the center point position of the corresponding pipe. Specifically, the server analyzes the end point coordinates of each water supply and drainage pipeline, and then determines the center point coordinates of each water supply and drainage pipeline according to the end point coordinates of each water supply and drainage pipeline. Then, the server labels the pipe abbreviation name in the pipe parameter information at the center point position according to the above-mentioned labeling avoidance algorithm, labels the pipe size information along one side of the pipeline by 1000 mm, and labels the pipe elevation information along the other side of the pipeline by 1000 mm.

[0069] Optionally, after the server labels the pipe parameter information on the water supply and drainage plant room system diagram by the preset label avoidance algorithm, the server reads the building room information, calls a diagram name position algorithm to write a diagram name at a corresponding position, the diagram name position algorithm value obtains the minimum (x_min, y_min) and the maximum (x_max, y_max) in all points in the pipeline, and a line is drawn between two points on the lowermost horizontal pipeline, wherein the coordinates of the lowermost horizontal pipeline are (x_min, y_min) and (x_max, y_min), and the diagram name arrangement point is the center point of the lowermost horizontal pipeline, which is 1000 mm downward, as shown in Figure 5 Figure 5 The water supply and drainage plant room system diagram generated after the diagram name is labeled is shown.

[0070] In the embodiment of the present application, the server obtains the components associated with each diagram element from the building information model component database, determines the shape category to which each diagram element belongs, analyzes the arrangement rule between the diagram elements of the same shape category according to the determination result, obtains the corresponding water supply and drainage accessory component information from the building information model component database according to the arrangement rule when the arrangement rule matches any one of the preset arrangement rules in the preset arrangement rule set, and performs accessory matching according to the preset pipe accessory correspondence table. Then, the server performs water supply and drainage equipment matching on the pipe accessory set through the preset equipment relationship configuration table to determine the corresponding water supply and drainage equipment set, wherein the water supply and drainage pipe equipment includes rotating joints, short pipes and other pipe equipment. The server performs diagram element matching according to the water supply and drainage equipment set and the pipe accessory set to obtain a plurality of corresponding water supply and drainage accessory diagram elements. Through the algorithm calculation based on the existing building model information, the building model can be modified again to accurately export without the need for designers to manually modify the changed parts, thereby improving the efficiency of water supply and drainage plant room system diagram generation.

[0071] Referring to Figure 6 An embodiment of the water supply and drainage plant room system diagram generation device in the embodiment of the present application includes:

[0072] The information acquisition module 601 is configured to acquire building room diagram element information from a preset building information database based on preset axial angle information, and generate a building room template diagram according to the building room diagram element information and the axial angle information.

[0073] The pipeline generation module 602 is configured to generate water supply and drainage pipelines based on three-dimensional pipe information in the building room diagram element information to obtain a candidate water supply and drainage pipeline set corresponding to the building room template diagram.

[0074] ​The direction analysis module 603 is configured to perform project north direction analysis on the building room template map based on three-dimensional pipe information in the building room graph element information by using a preset large sample map horizontal line algorithm, and determine a corresponding project north direction.

[0075] The pipeline merging module 604 is configured to perform pipeline merging on the candidate water supply and drainage pipeline set by using a preset coincident line merging algorithm, and obtain a target water supply and drainage pipeline set.

[0076] The graph element matching module 605 is configured to perform graph element matching based on the target water supply and drainage pipeline set, and obtain a plurality of water supply and drainage accessory graph elements.

[0077] The drawing generation module 606 is configured to generate a water supply and drainage machine room system map based on the plurality of water supply and drainage accessory graph elements and the target water supply and drainage pipeline set.

[0078] Referring to Figure 7 Another embodiment of the water supply and drainage machine room system map generation device in the embodiment of the present application includes:

[0079] The information acquisition module 601 is configured to acquire building room graph element information from a preset building information database based on preset axial angle information, and generate a building room template map according to the building room graph element information and the axial angle information.

[0080] The pipeline generation module 602 is configured to perform water supply and drainage pipeline generation based on three-dimensional pipe information in the building room graph element information, and obtain a candidate water supply and drainage pipeline set corresponding to the building room template map.

[0081] The direction analysis module 603 is configured to perform project north direction analysis on the building room template map based on water supply and drainage equipment information in the building room graph element information by using a preset large sample map horizontal line algorithm, and determine a corresponding project north direction.

[0082] The pipeline merging module 604 is configured to perform pipeline merging on the candidate water supply and drainage pipeline set by using a preset coincident line merging algorithm, and obtain a target water supply and drainage pipeline set.

[0083] The graph element matching module 605 is configured to perform graph element matching based on the target water supply and drainage pipeline set, and obtain a plurality of water supply and drainage accessory graph elements.

[0084] The drawing generation module 606 is configured to generate a water supply and drainage machine room system map based on the plurality of water supply and drainage accessory graph elements and the target water supply and drainage pipeline set.

[0085] Optionally, the direction analysis module 603 is specifically configured to: connect equipment points by the water supply and drainage equipment information to obtain a corresponding point connection set; perform parallel line analysis on the point connection set based on a preset large sample diagram horizontal line algorithm to obtain a plurality of parallel line sets; perform quantity analysis on the plurality of parallel line sets respectively to obtain a line number corresponding to each of the parallel line sets; perform maximum value screening on the line number corresponding to each of the parallel line sets to obtain a target parallel line set with the largest line number; take a straight line where any line in the target parallel line set is located as a horizontal line, and determine a project north direction according to the horizontal line.

[0086] Optionally, the pipeline merging module 604 is specifically configured to: perform coincidence type analysis on the candidate water supply and drainage pipeline set by the coincident line merging algorithm to obtain a corresponding coincident type, wherein the coincident type includes a collinear type, a size type, and a connection type; perform coincident analysis on the candidate water supply and drainage pipeline set based on the coincident type to obtain a corresponding coincident pipeline; and perform merging processing on the coincident pipeline to obtain a target water supply and drainage pipeline set.

[0087] Optionally, the graph element matching module 605 is specifically configured to: perform pipe accessory matching based on the target water supply and drainage pipeline set to determine a corresponding pipe accessory set; perform water supply and drainage equipment matching on the pipe accessory set by a preset equipment relationship configuration table to determine a corresponding water supply and drainage equipment set; and perform graph element matching according to the water supply and drainage equipment set and the pipe accessory set to obtain a plurality of water supply and drainage accessory graph elements.

[0088] Optionally, the drawing generation module 606 is specifically configured to: perform parameter matching based on the plurality of water supply and drainage accessory graph elements and the target water supply and drainage pipeline set to determine a corresponding configuration parameter; and perform connection of the plurality of water supply and drainage accessory graph elements and the target water supply and drainage pipeline set based on the configuration parameter and a preset connection rule to generate the water supply and drainage machine room system diagram.

[0089] Optionally, the water supply and drainage machine room system diagram generation apparatus further includes: a parameter acquisition module 607 configured to acquire pipe parameter information from a preset building information database, wherein the pipe parameter information includes pipe abbreviation name, pipe size data, and pipe elevation data; and a parameter labeling module 608 configured to label the pipe parameter information in the water supply and drainage machine room system diagram by a preset labeling avoidance algorithm.

[0090] Optionally, the parameter labeling module 608 is specifically configured to: perform center point position analysis on each of the target water supply and drainage pipeline set in the water supply and drainage plant system diagram through a preset labeling avoidance algorithm, to determine a center point position corresponding to each of the water supply and drainage pipelines; label a pipeline abbreviation name in the pipeline parameter information on the center point position, label the pipeline size data on one side of the center point position according to a preset distance, and label the pipeline elevation data on the other side of the center point position according to the preset distance.

[0091] Figure 8 is a structural schematic diagram of a computer device provided by an embodiment of the present application. The computer device 800 can have great differences due to different configurations or performances, and can include one or more processors (Central Processing Units, CPU) 810 (for example, one or more processors) and a memory 820, and one or more storage media 830 (for example, one or more mass storage devices) storing application programs 833 or data 832. The memory 820 and the storage media 830 can be temporary storage or persistent storage. The programs stored in the storage media 830 can include one or more modules (not shown in the figure), and each module can include a series of instruction operations in the computer device 800. Furthermore, the processor 810 can be configured to communicate with the storage media 830 and execute a series of instruction operations in the storage media 830 on the computer device 800.

[0092] The computer device 800 can also include one or more power supplies 840, one or more wired or wireless network interfaces 850, one or more input and output interfaces 840, and / or one or more operating systems 831, such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD, and the like. Those skilled in the art can understand that the computer device 800 can include more or fewer components than those shown in the figure, or some components can be combined, or different components can be arranged. Figure 8 The computer device structure shown does not constitute a limitation on the computer device, and can include more or fewer components than those shown in the figure, or some components can be combined, or different components can be arranged.

[0093] The present application also provides a computer device, which includes a memory and a processor, and the memory stores computer readable instructions, and the computer readable instructions are executed by the processor to enable the processor to execute the steps of the water supply and drainage plant system diagram generation method in each of the embodiments.

[0094] The present invention also provides a computer-readable storage medium, which can be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. The computer-readable storage medium stores instructions. When the instructions are run on a computer, the computer executes the steps of the method for generating a water supply and drainage room system diagram.

[0095] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program code, such as a USB flash drive, a mobile hard disk, a read-only memory, a random access memory, a magnetic disk, or an optical disk.

Claims

1. A method for generating a system diagram of a water supply and drainage machine room, characterized in that: include: Acquiring building room element information from a preset building information database based on preset axonometric angle information, and generating a building room template diagram according to the building room element information and the axonometric angle information; Generate water supply and drainage pipelines based on the three-dimensional pipeline information in the building room graphic element information to obtain a set of candidate water supply and drainage pipelines corresponding to the building room template diagram; Based on the water supply and drainage equipment information in the building room graphic element information, the project north direction of the building room template drawing is analyzed by using a preset large-scale drawing horizontal line algorithm to determine the corresponding project north direction; Merging the candidate water supply and drainage pipelines using a preset coincident line merging algorithm to obtain a target water supply and drainage pipeline set; Performing primitive matching based on the target water supply and drainage pipeline set to obtain a corresponding plurality of water supply and drainage accessory primitives; A water supply and drainage machine room system diagram is generated based on the multiple water supply and drainage accessory graphic elements and the target water supply and drainage pipeline set.

2. The method for generating a water supply and drainage room system diagram according to claim 1, characterized in that: The analyzing the project north direction of the building room template drawing based on the water supply and drainage equipment information in the building room graphic element information by using a preset large-scale drawing horizontal line algorithm to determine the corresponding project north direction includes: Connecting equipment points through the water supply and drainage equipment information to obtain a corresponding point connection set; Performing parallel line analysis on the point connection set based on a preset large-scale horizontal line algorithm to obtain multiple sets of parallel line sets; Performing quantitative analysis on each of the plurality of parallel line sets to obtain the number of lines corresponding to each of the plurality of parallel line sets; Performing maximum screening on the number of lines corresponding to each set of parallel line sets to obtain a target parallel line set with the largest number of lines; The straight line on which any line in the target parallel line set lies is taken as a horizontal line, and the project north direction is determined based on the horizontal line.

3. The method for generating a water supply and drainage room system diagram according to claim 1, characterized in that: The pipeline merging of the candidate water supply and drainage pipeline set by using a preset coincidental line merging algorithm to obtain a target water supply and drainage pipeline set includes: Performing a coincidence type analysis on the candidate water supply and drainage pipeline set using the coincident line merging algorithm to obtain corresponding coincidence categories, wherein the coincidence categories include collinearity type, size type, and connection type; Performing coincidence analysis on the candidate water supply and drainage pipeline set based on the coincidence category to obtain corresponding coincidence pipelines; The overlappable pipelines are merged to obtain a target water supply and drainage pipeline set.

4. The method for generating a water supply and drainage room system diagram according to claim 1, characterized in that: The performing of primitive matching based on the target water supply and drainage pipeline set to obtain a corresponding plurality of water supply and drainage accessory primitives includes: Matching pipe accessories based on the target water supply and drainage pipeline set to determine a corresponding pipe accessory set; Match the water supply and drainage equipment of the pipe accessory set by using a preset equipment relationship configuration table to determine the corresponding water supply and drainage equipment set; Element matching is performed based on the water supply and drainage equipment set and the pipe accessory set to obtain a corresponding plurality of water supply and drainage accessory element graphics.

5. The method for generating a water supply and drainage room system diagram according to any one of claims 1 to 4, characterized in that: Generating a water supply and drainage machine room system diagram based on the plurality of water supply and drainage accessory graphic elements and the target water supply and drainage pipeline set includes: Perform parameter matching based on the multiple water supply and drainage accessory graphic elements and the target water supply and drainage pipeline set to determine corresponding configuration parameters; Based on the configuration parameters, the multiple water supply and drainage accessory graphic elements and the target water supply and drainage pipeline set are connected through preset connection rules to generate the water supply and drainage machine room system diagram.

6. The method for generating a water supply and drainage room system diagram according to claim 5, characterized in that: After connecting the plurality of water supply and drainage accessory graphic elements and the target water supply and drainage pipeline set according to preset connection rules based on the configuration parameters to generate the water supply and drainage machine room system diagram, the method further includes: Acquire pipeline parameter information from a preset building information database, wherein the pipeline parameter information includes pipeline abbreviation name, pipeline size data and pipeline elevation data; The pipeline parameter information is marked in the water supply and drainage room system diagram through a preset marking avoidance algorithm.

7. The method for generating a water supply and drainage room system diagram according to claim 6, characterized in that: The marking of the pipeline parameter information on the water supply and drainage room system diagram by a preset marking avoidance algorithm includes: Performing a center point analysis on each of the target water supply and drainage pipelines in the water supply and drainage machine room system diagram using a preset annotation avoidance algorithm to determine the center point corresponding to each of the water supply and drainage pipelines; The abbreviated name of the pipeline in the pipeline parameter information is marked at the center point, and the pipeline size data is marked on one side of the center point according to a preset distance, and the pipeline elevation data is marked on the other side of the center point according to the preset distance.

8. A device for generating a system diagram of a water supply and drainage machine room, characterized in that: The water supply and drainage room system diagram generating device comprises: An information acquisition module is used to acquire building room element information from a preset building information database based on preset axonometric angle information, and generate a building room template diagram according to the building room element information and the axonometric angle information; a pipeline generation module, configured to generate water supply and drainage pipelines based on the three-dimensional pipeline information in the building room graphic element information, and obtain a set of candidate water supply and drainage pipelines corresponding to the building room template diagram; A direction analysis module is used to analyze the project north direction of the building room template drawing based on the water supply and drainage equipment information in the building room graphic element information using a preset large-scale drawing horizontal line algorithm to determine the corresponding project north direction; A pipeline merging module is used to merge the candidate water supply and drainage pipeline sets using a preset coincident line merging algorithm to obtain a target water supply and drainage pipeline set; A primitive matching module, configured to perform primitive matching based on the target water supply and drainage pipeline set to obtain a corresponding plurality of water supply and drainage accessory primitives; A drawing generation module is used to generate a water supply and drainage room system diagram based on the multiple water supply and drainage accessory graphic elements and the target water supply and drainage pipeline set.

9. A computer device, characterized in that: The computer device includes: a memory and at least one processor, wherein instructions are stored in the memory; The at least one processor calls the instructions in the memory to enable the computer device to execute the method for generating a water supply and drainage machine room system diagram according to any one of claims 1 to 7.

10. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions are executed by the processor, the method for generating a water supply and drainage room system diagram as described in any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • BIM-based property work order dispatching system and dispatching method

    CN106228476A

  • Installation method of heating, ventilating and air conditioning system based on BIM (building information model)

    CN106295019A