Automatic generation method and device for drawing of water supply and drainage system and storage medium

By automatically generating drawings of water supply and drainage system, the problem of cumbersome, time-consuming and error-prone design process in the existing technology is solved, efficient and accurate drawing generation is achieved, and design efficiency and accuracy in the construction industry is improved.

CN119513965APending Publication Date: 2025-02-25SHENZHEN CAPOL INT & ASSOC CO LTD

Patent Information

Application Number
CN202411416371.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-11
Publication Date
2025-02-25

AI Technical Summary

Technical Problem

In the prior art, AutoCAD software lacks specific design functions when drawing schematic diagrams of water supply and drainage systems in construction projects, resulting in cumbersome, time-consuming and error-prone design processes, inefficient and difficult to ensure accuracy.

Method used

Provides an automatic generation method for water supply and drainage system drawings, which can generate water supply and drainage system drawings that meet industry standards by obtaining design drawing information and/or design model information, extracting plane feature information and/or model feature information.

Benefits of technology

It improves the efficiency of drawing production, reduces design deviations, enhances the accuracy and practicality of drawings, reduces designers' workload, and promotes the transformation of efficient and precise operation models in the construction industry.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119513965A_ABST
    Figure CN119513965A_ABST
Patent Text Reader

Abstract

The invention discloses a water supply and drainage system drawing automatic generation method and device and a storage medium, and the method comprises the steps: obtaining the drawing information of water supply and drainage, and the drawing information comprises the design drawing information and / or design model information of the water supply and drainage; based on the drawing information, feature information is extracted, and the feature information comprises plane feature information and / or model feature information; and generating a water supply and drainage system drawing based on the feature information. One-key automatic generation of the water supply and drainage drawing is achieved by extracting the plane feature information and / or the model feature information, the drawing manufacturing efficiency is improved, and the drawing quality is guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of building design, and in particular to a method, a device and a storage medium for automatically generating drawings of a water supply and drainage system. Background Art

[0002] At present, in the water supply and drainage design of construction projects, we usually use AutoCAD software to draw the schematic diagram of the water supply and drainage system. However, this drawing software does not provide special functions for drawing system diagrams. Therefore, the design and drawing production of the water supply and drainage system is a complicated and time-consuming task.

[0003] In the existing technology, designers need to invest a lot of time and energy in manual drawing. Generally, they need to draw and modify drawings manually one system at a time and one page at a time. The correspondence between each system and the plan or model component also needs to be manually checked and modified bit by bit. The drawing and checking work is very cumbersome and prone to errors.

[0004] Therefore, the prior art still needs to be improved and enhanced. Summary of the invention

[0005] The technical problem to be solved by the present invention is that, in view of the above-mentioned defects of the prior art, a method, device and storage medium for automatically generating drawings of water supply and drainage systems are provided, aiming to solve the problem in the prior art that when drawing schematic diagrams of water supply and drainage systems of construction projects through AutoCAD, there is a lack of specific design functions, resulting in a cumbersome, time-consuming and error-prone process, requiring designers to manually complete each step of the design and verification, resulting in low efficiency and difficulty in ensuring accuracy.

[0006] In order to solve the above technical problems, the technical solution adopted by the present invention is as follows:

[0007] In a first aspect, the present invention provides a method for automatically generating a water supply and drainage system drawing, wherein the method comprises:

[0008] Acquire drawing information of water supply and drainage, wherein the drawing information includes design drawing information and / or design model information of the water supply and drainage system;

[0009] Extracting feature information based on the drawing information, wherein the feature information includes plane feature information and / or model feature information;

[0010] Based on the characteristic information, a water supply and drainage system drawing is generated.

[0011] In one implementation, when the drawing information is the design drawing information, extracting feature information based on the drawing information includes:

[0012] Identify a number of plane elements in the design drawing information and annotation information corresponding to each plane element based on a map recognition engine;

[0013] The plurality of plane elements and the annotation information corresponding to each plane element are extracted to obtain the plane feature information.

[0014] In one implementation, the identifying of the plurality of plane elements in the design drawing information and the annotation information corresponding to each plane element based on the image recognition engine includes:

[0015] Acquire preset key elements in the water supply and drainage system, wherein the key elements include professional water supply and drainage equipment and water supply and drainage pipelines;

[0016] Acquiring the plane information of the key element, and matching the plane information of the key element with the design drawing information;

[0017] Plane elements matching the plane information of the key elements are selected from the design drawing information, and the plane elements and the annotation information corresponding to the plane elements are identified based on a drawing recognition engine.

[0018] In one implementation, when the drawing information is design model information, extracting feature information based on the drawing information includes:

[0019] Parsing the design model information to obtain key components in the design model information;

[0020] Component information of the key component is obtained, and the key component and the corresponding component information are used as the model feature information.

[0021] In one implementation, parsing the design model information to obtain key components in the design model information includes:

[0022] Parsing the design model information to obtain all components in the design model information;

[0023] Based on the design requirements of the water supply and drainage system, key components are selected from all the components.

[0024] In one implementation, generating a water supply and drainage system drawing based on the characteristic information includes:

[0025] Outputting a data model of the water supply and drainage system based on the plane feature information and / or the model feature information;

[0026] The data model is converted into a water supply and drainage system drawing that meets industry drawing standards.

[0027] In one implementation, generating a water supply and drainage system drawing based on the characteristic information further includes:

[0028] The data model is edited and adjusted.

[0029] In a second aspect, an embodiment of the present invention further provides a device for automatically generating a water supply and drainage system drawing, wherein the device comprises:

[0030] A drawing acquisition module, used to acquire drawing information of water supply and drainage, wherein the drawing information includes design drawing information and / or design model information of the water supply and drainage system;

[0031] A feature extraction module, used to extract feature information based on the drawing information, wherein the feature information includes plane feature information and / or model feature information;

[0032] The drawing output module is used to generate a water supply and drainage system drawing based on the characteristic information.

[0033] In a third aspect, an embodiment of the present invention further provides a terminal, wherein the terminal includes a memory, a processor, and an automatic generation program for water supply and drainage system drawings stored in the memory and executable on the processor, and when the processor executes the automatic generation program for water supply and drainage system drawings, the steps of the automatic generation method for water supply and drainage system drawings of any one of the above-mentioned schemes are implemented.

[0034] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein a program for automatically generating water supply and drainage system drawings is stored on the computer-readable storage medium. When the program for automatically generating water supply and drainage system drawings is executed by a processor, the steps of the method for automatically generating water supply and drainage system drawings described in any one of the above-mentioned schemes are implemented.

[0035] Beneficial effects: The present invention provides a method for automatically generating drawings of water supply and drainage systems. Compared with the prior art, the present invention first obtains the drawing information of water supply and drainage, wherein the drawing information includes the design drawing information and / or design model information of the water supply and drainage system. Then, based on the drawing information, feature information is extracted, and the feature information includes plane feature information and / or model feature information. The plane feature information is used to reflect the information of each plane element in the water supply and drainage system, such as the direction of the pipeline, the arrangement of equipment and the connection nodes, etc. This process ensures that the subsequent design can accurately map the real space layout, reduces the design deviation caused by information omission, and improves the practicality and accuracy of the drawings. The model feature information is used to reflect the structural information of the design model information corresponding to the water supply and drainage system, such as the three-dimensional direction of the pipeline, the precise position and direction of the equipment, and the detailed configuration of the connection nodes, etc. This information not only reflects the spatial hierarchical relationship in the system, but also accurately indicates the functional layout of each component. This process enhances the restoration of the sense of reality of the design, effectively eliminates the design defects caused by the error of spatial understanding, and greatly improves the completeness, feasibility and implementation efficiency of the design scheme of the water supply and drainage system. Therefore, based on the characteristic information, the water supply and drainage system drawings can be automatically generated with one click, which improves the efficiency of drawing production and strengthens the accuracy and practicality of the drawings by reducing design deviations. By applying this method, the workload of designers can be greatly reduced, and the project progress can be accelerated, which is of great value in promoting the overall transformation of the construction industry to a more efficient and accurate operation mode. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 A flowchart of a specific implementation of the method for automatically generating a water supply and drainage system drawing provided in an embodiment of the present invention.

[0037] Figure 2 A schematic diagram of a method for automatically generating drawings of a water supply and drainage system provided in an embodiment of the present invention.

[0038] Figure 3 It is a principle block diagram of a device for automatically generating drawings of water supply and drainage systems provided in an embodiment of the present invention.

[0039] Figure 4 It is a block diagram of the internal structure principle of the terminal provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0040] In order to make the purpose, technical solution and effect of the present invention clearer and more specific, the present invention is further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0041] In the prior art, the AutoCAD software commonly used in the current water supply and drainage design process of construction projects performs well in two-dimensional drawing as an industry standard, but it shows obvious limitations when dealing with the special design requirements of the schematic diagram of the water supply and drainage system. Since the software itself does not have built-in automated design tools for the water supply and drainage system, designers have to rely on a lot of manual operations to complete the drawing and modification of each system schematic diagram. This process not only spans multiple system pages, but also involves the establishment and verification of complicated corresponding relationships with the floor plan or three-dimensional model components. This design method is extremely time-consuming and labor-intensive, requiring designers to devote a lot of energy to inefficient manual labor. At the same time, due to the high reliance on manual operations, it is very easy to introduce errors and omissions, which reduces the accuracy and efficiency of the design and seriously hinders the optimization and modernization of the design process.

[0042] In order to solve the above problems, this embodiment provides a method for automatically generating drawings of a water supply and drainage system. In specific implementation, this embodiment first obtains the drawing information of the water supply and drainage, wherein the drawing information includes the design drawing information and / or design model information of the water supply and drainage system. Then, based on the drawing information, feature information is extracted, and the feature information includes plane feature information and / or model feature information. The plane feature information is used to reflect the information of each plane element in the water supply and drainage system, such as the direction of the pipeline, the layout of the equipment and the connection nodes. This process ensures that the subsequent design can accurately map the real space layout, reduces the design deviation caused by information omission, and improves the practicality and accuracy of the drawings. The model feature information is used to reflect the structural information of the design model information corresponding to the water supply and drainage system, such as the three-dimensional direction of the pipeline, the precise position and direction of the equipment, and the detailed configuration of the connection nodes. This information not only reflects the spatial hierarchical relationship in the system, but also accurately indicates the functional layout of each component. This process enhances the restoration of the sense of reality of the design, effectively eliminates the design defects caused by the error of spatial understanding, and greatly improves the completeness, feasibility and implementation efficiency of the water supply and drainage system design scheme. Therefore, based on the characteristic information, the water supply and drainage system drawings can be automatically generated with one click, which improves the efficiency of drawing production and strengthens the accuracy and practicality of the drawings by reducing design deviations. By applying this method, the workload of designers can be greatly reduced, and the project progress can be accelerated, which is of great value in promoting the overall transformation of the construction industry to a more efficient and accurate operation mode.

[0043] For example, when using AutoCAD software to draw a schematic diagram of a drainage system including pipes, water pumps and water tanks, the design and drawing of the water supply and drainage system is a complex and time-consuming task because the drawing software does not provide a special function for drawing system diagrams. At this time, you can first obtain the plane feature information of the water supply and drainage system, such as collecting and sorting out the starting and ending points, diameters, materials and connection relationships of all pipes in the water supply and drainage system, including the plane layout information of the main pipe, branch pipe and all necessary pipe fittings (such as elbows, tees, valve positions), and determine the specific location of the water pump and water tank. Alternatively, obtain the model feature information of the water supply and drainage system, such as the three-dimensional path of the pipe, the precise size and installation height of the water pump and water tank. Finally, based on the acquisition of plane feature information or model feature information, generate a water supply and drainage system drawing. Through the above steps, even if AutoCAD itself does not have a specific system drawing function, it can efficiently and high-quality complete the design and drawing of the water supply and drainage system.

[0044] The method for automatically generating a water supply and drainage system drawing provided in this embodiment can be applied to a terminal, which includes a computer, a smart TV, a mobile phone or other intelligent product terminal, such as Figure 1 As shown in , the automatic generation method of the water supply and drainage system drawings of this embodiment specifically includes the following steps:

[0045] Step S100: Acquire drawing information of water supply and drainage, wherein the drawing information includes design drawing information and / or design model information of the water supply and drainage system.

[0046] In this embodiment, the drainage drawing information can be first obtained, and the drawing information includes the design drawing information and / or design model information of the water supply and drainage system. The design drawing information is a two-dimensional drawing, and the design model information is a three-dimensional drawing.

[0047] Step S200: extracting feature information based on the drawing information, wherein the feature information includes plane feature information and / or model feature information.

[0048] In this embodiment, combined with Figure 2 As shown in the figure, when the drawing information is the design drawing information, what is extracted is the plane feature information, which is the key element in the design drawing information. It specifically describes the position, size, type and interconnection status of all components of the system (such as pipes, valves, fixtures and drainage structures) on the two-dimensional plane. The plane feature information intuitively shows the detailed features and mutual relationship of each plane component in the water supply and drainage system, thereby providing a comprehensive and detailed design basis for the subsequent automatic generation of accurate construction drawings.

[0049] In order to obtain the plane feature information of the water supply and drainage system in this embodiment, the design drawing information of the water supply and drainage system (i.e. Figure 2The design drawing information is drawn by AutoCAD or other professional architectural design software such as Revit, which contains detailed information of each plane element in the entire water supply and drainage system, such as water pipe lines, valve positions, pump room layout, sewage treatment facilities and other key elements. The key elements and corresponding plane information are set in advance; then the key elements and corresponding plane information are stored in a variety of media, including but not limited to high-performance database systems (such as SQL Server, MongoDB), cloud storage service platforms, internal file servers, advanced content management systems (CMS), and image management systems optimized for CAD design, ensuring the safe backup of information, fast access and convenient collaboration, and meeting the application requirements in different scenarios; when identifying, the key elements and corresponding plane information can be retrieved and matched with the design drawing information. The key elements include water supply and drainage professional equipment and water supply and drainage pipelines. The key elements specifically refer to the core components in the water supply and drainage system, such as water supply pumps, drainage pumps, various types of water supply and drainage pipelines (such as water supply pipelines, drainage pipelines, fire protection pipelines), valves, water tanks and other water supply and drainage professional equipment. These water supply and drainage professional equipment and water supply and drainage pipelines constitute the basic framework for the operation of the water supply and drainage system. The image recognition engine will match the corresponding parts in the design drawings based on these preset key elements to ensure that key elements are not missed. For example, for a water supply riser, the system will identify the starting floor, the ending floor and the connected equipment of the water supply riser to ensure that all important connection points are correctly identified and recorded. After identifying the key elements, the plane information of the key elements is then obtained. The plane information refers to the representation of professional equipment and pipelines in two-dimensional space, including their position, size, shape and relative layout on the two-dimensional plane. Finally, the plane information of the key elements is matched with the design drawing information; the plane elements that match the plane information of the key elements are selected from the design drawing information, and then this embodiment can use advanced image recognition engine technology to identify the plane elements and the annotation information corresponding to the plane elements. The advanced image recognition engine technology used in this embodiment includes but is not limited to an engine tool that uses machine learning to identify image content; ABBYY FlexiCapture, which is good at form and document automation processing, and OpenCV with strong customization and good at complex image analysis, combined with Tesseract OCR. The view engine not only integrates optical character recognition (OCR) technology to convert text in images into machine-readable text, but also includes a variety of image processing algorithms, such as edge detection, morphological operations, filtering and noise reduction, feature extraction and matching, etc., to enhance image quality and structure recognition capabilities.For example, edge detection algorithms (such as Canny edge detection) are used to clarify the contour of objects, morphological operations (such as dilation and corrosion) are used to optimize image areas, filtering algorithms (such as Gaussian filtering) are used to reduce noise interference, and feature extraction methods such as SIFT and SURF are used to identify and match key feature points. The comprehensive use of these technologies enables the engine to efficiently analyze complex drawings, accurately extract rich plane feature information including but not limited to symbols, annotations, dimension lines, material codes, etc., and accurately identify various plane elements on the drawings, such as pipeline directions, valve positions, water tanks, water pumps, etc., and simultaneously capture the annotation information of these elements, including size, model, material, etc. For example, the image recognition engine can identify the "PVC DN100 water supply pipe" logo on the drawing, and record its starting point, end point coordinates and pipe diameter. The obtained several plane elements and the annotation information corresponding to each plane element are extracted to obtain the plane feature information. Therefore, this embodiment collects plane feature data in the system efficiently and accurately by automatically identifying and matching key elements and their plane layout information in the design drawings, laying the foundation for subsequent drawing generation.

[0050] In this embodiment, combined with Figure 2 As shown, when the drawing information is the design model information, what is extracted is the model feature information, which refers to the data set used to describe and distinguish the unique attributes and geometric forms of different components or members in the water supply and drainage system design model information. These features include but are not limited to the diameter, length, material of the pipe, the location and type of the valve, the performance parameters of the water pump, etc. They are the basis for building an accurate design model and help designers and engineers understand the function of each component and the connection relationship between them. The model feature information reflects the structural information of the water supply and drainage system design model information. By obtaining the model feature information of the water supply and drainage system, the accuracy and practicality of the generated drawings can be ensured.

[0051] In this embodiment, firstly, the design model information of water supply and drainage (i.e. Figure 2The water supply and drainage design model in the system is a 3D design software including but not limited to Revit designed for building information modeling, AutoCAD Plant 3D for industrial design, Navisworks for project review and coordination, Bentley Systems'AECOsim Building Designer, which is good at comprehensive design of large-scale construction projects, SketchUpPro suitable for rapid modeling, and ArchiCAD with powerful BIM functions. The design model information includes but is not limited to BIM (building information modeling), and also covers digital twin models, construction simulation models, etc. The design model information contains rich spatial structure and component information, and shows in detail the spatial layout, size specifications and interconnection relationship of each component in the system, providing an intuitive and accurate basis for subsequent analysis. In specific implementation, this embodiment first parses the design model information, and uses algorithms or software tools to identify and extract all the constituent elements in the model, such as water pumps, water tanks, pipes, fire hydrant boxes, alarm valves, water flow indicators, rain gutters, floor drains, etc., to ensure that each component is individually identified and recorded, and all the components in the design model information are obtained. Using algorithms or software tools to identify and extract all the constituent elements in the model, including but not limited to using machine learning algorithms to automatically classify and label different components in the model, such as identifying pipes, valves and other components through deep learning networks; using the built-in intelligent recognition function of computer-aided design (CAD) software to directly parse the model data structure and separate complex equipment such as water pumps and water tanks; and using professional plug-ins of the building information model (BIM) platform, which can efficiently parse the IFC standard data of the model and systematically extract the spatial structure and construction information. In addition, graphic processing algorithms will be used to analyze geometric shapes to ensure that even tiny connectors are not missed. Then, based on the design requirements of the water supply and drainage system, key components are selected from all the components. The key components are those that have a decisive impact on the system performance, stability and maintenance, such as main water supply pipelines, key control valves, sewage treatment units, etc., because they directly affect the water flow delivery efficiency, system reliability and maintainability. Next, the component information of the key components is obtained, including but not limited to the material, specification, manufacturer, expected service life and any specific installation requirements of the components. For example, the system can extract from the model the fire main pipe located on the second floor with a diameter of DN80 and a slope of 0.5%, and the submersible sewage pump located in the basement with a model of WQ50-20-15. Finally, the key components and the corresponding component information are used as the model feature information.This embodiment reads the design model information, analyzes and selects key components that meet the design requirements, obtains detailed information of these key components, thereby forming model feature information, and providing necessary three-dimensional perspective structure data support for generating comprehensive water supply and drainage system drawings.

[0052] Step S300: Generate a water supply and drainage system drawing based on the characteristic information.

[0053] In this embodiment, the plane feature information is a key element in the design drawing information, which specifically describes the position, size, type and interconnection status of all components of the system (such as pipes, valves, fixtures and drainage structures) on a two-dimensional plane. The model feature information refers to a data set used to describe and distinguish the unique attributes and geometric forms of different components or members in the water supply and drainage system design model information. These features include but are not limited to the diameter, length, material of the pipe, the position and type of the valve, the performance parameters of the water pump, etc. They are the basis for building an accurate design model and help designers and engineers understand the function of each component and the connection relationship between them. Based on the plane feature information and / or the model feature information, the water supply and drainage system drawings are generated, which greatly improves the accuracy and efficiency of the design.

[0054] In this embodiment, in order to generate a drainage system diagram with one click, the data model of the water supply and drainage system is generated by algorithm calculation according to the obtained plane feature information and model feature information, combined with the system diagram generation rules provided by the business experts. The algorithm can use a graphical algorithm, such as graph theory to optimize the pipeline layout and connection logic, to ensure effective connectivity between pipelines without conflict; the spatial analysis algorithm can also be used to process the three-dimensional model to ensure that the pipeline direction, elevation and equipment layout follow the actual space restrictions and construction specifications. The algorithm can also incorporate machine learning technology to learn excellent design cases in historical projects and automatically adjust the layout to improve system efficiency. In addition, the constraint satisfaction algorithm can also be used to solve a series of restrictions in the design, such as matching the pipeline diameter with the flow rate, the adaptability of material selection, etc., to ensure that all design decisions are both reasonable and compliant. Through such a comprehensive algorithm framework, the system can automatically generate a water supply and drainage system data model that meets engineering standards and is practically feasible on the basis of ensuring data integrity and accuracy. This embodiment can output the data model of the water supply and drainage system based on the plane feature information and / or the model feature information. The data model includes key elements such as the connection logic and elevation of pipeline equipment. The data model contains all the necessary information of the two-dimensional drawings, or includes the spatial logic and details of the three-dimensional model, ensuring the rationality and accuracy of the generated system drawings. For example, the data model will associate the "P102" water supply pipe marked on the drawing with the corresponding DN100 and PPR pipe entity in the three-dimensional model to ensure that the information of the two is consistent. The data model is automatically optimized and adjusted, such as eliminating conflicts and optimizing pipeline layout to ensure compliance with industry design specifications. On this basis, the system automatically generates a full set of water supply and drainage system drawings including but not limited to floor plans, elevations, sections, and details according to industry drawing standards. For example, the system can automatically generate a water supply and drainage pipeline plan including all floors, and generate detailed node drawings at necessary locations to show complex connection methods and installation details. In order to improve the practicality and constructability of the drawings, the system also integrates data editing and adjustment functions. Designers or engineers can manually modify or supplement specific parts based on the automatically generated drawings. For example, if the layout of a certain section of the pipeline in the drawings automatically generated by the system conflicts with the site conditions, the user can directly adjust the path of the section of the pipeline on the system interface, and the system will update the drawings in real time to ensure that the modified design still maintains data consistency. In addition, this embodiment also includes customized output options for different end users (such as design institutes, construction units, and owners). Users can choose different drawing formats (such as DWG, PDF), scales, layer settings, etc. according to their needs, so that the drawings meet the specific requirements of all parties. This embodiment can quickly generate accurate water supply and drainage drawings, greatly shortening the time for drawing system diagrams in the design phase and improving work efficiency.

[0055] In summary, this embodiment first obtains the drawing information of water supply and drainage, wherein the drawing information includes the design drawing information and / or design model information of the water supply and drainage. Then, based on the drawing information, feature information is extracted, and the feature information includes plane feature information and / or model feature information. The plane feature information is used to reflect the information of each plane element in the water supply and drainage system, such as the direction of the pipeline, the layout of the equipment and the connection nodes, etc. This process ensures that the subsequent design can accurately map the real space layout, reduce the design deviation caused by information omission, and improve the practicality and accuracy of the drawings. The model feature information is used to reflect the structural information of the design model information corresponding to the water supply and drainage system, such as the three-dimensional direction of the pipeline, the precise position and direction of the equipment, and the detailed configuration of the connection nodes, etc. This information not only reflects the spatial hierarchical relationship in the system, but also accurately indicates the functional layout of each component. This process strengthens the restoration of the sense of reality of the design, effectively eliminates the design defects caused by the error of spatial understanding, and greatly improves the integrity, feasibility and implementation efficiency of the water supply and drainage system design scheme. Therefore, based on the feature information, the water supply and drainage system drawings can be automatically generated in one click, which improves the efficiency of drawing production, and also strengthens the accuracy and practicality of the drawings by reducing design deviations. By applying this method, the workload of designers can be greatly reduced and the project progress can be accelerated, which is of great value in promoting the overall transformation of the construction industry to a more efficient and precise operation mode.

[0056] like Figure 3 As shown in , based on the above embodiments, the present invention also provides an automatic generation device for water supply and drainage system drawings, which includes: a drawing acquisition module 10, a feature extraction module 20, and a drawing output module 30.

[0057] Specifically, the drawing acquisition module 10 is used to acquire drawing information of water supply and drainage, wherein the drawing information includes plane drawing information and / or design model information of the water supply and drainage; the feature extraction module 20 is used to extract feature information based on the drawing information, wherein the feature information includes plane feature information and / or model feature information; the drawing output module 30 is used to generate a water supply and drainage system drawing based on the feature information.

[0058] In one implementation, when the drawing information is the design drawing information, the drawing acquisition module 10 includes:

[0059] A marking information acquisition unit, used for identifying a number of plane elements in the design drawing information and the marking information corresponding to each plane element based on a drawing recognition engine;

[0060] The plane feature information acquisition unit is used to extract the plurality of plane elements and the annotation information corresponding to each plane element to obtain the plane feature information.

[0061] In one implementation, the annotation information acquisition unit includes:

[0062] The key element acquisition subunit is used to acquire the preset key elements in the water supply and drainage system, wherein the key elements include professional water supply and drainage equipment and water supply and drainage pipelines;

[0063] An element matching subunit, used to obtain the plane information of the key element and match the plane information of the key element with the design drawing information;

[0064] The element screening subunit is used to screen out the plane elements matching the plane information of the key elements from the design drawing information, and identify the plane elements and the annotation information corresponding to the plane elements based on the image recognition engine.

[0065] In one implementation, when the drawing information is design model information, the drawing acquisition module 10 includes:

[0066] A key component acquisition unit, used to parse the design model information to obtain the key components in the design model information;

[0067] The model characteristic information acquisition unit is used to acquire the component information of the key component, and use the key component and the corresponding component information as the model characteristic information.

[0068] In one implementation, the key component acquisition unit includes:

[0069] A component parsing subunit, used to parse the design model information to obtain all components in the design model information;

[0070] The key component screening subunit is used to screen out key components from all the components based on the design requirements of the water supply and drainage system.

[0071] In one implementation, the drawing output module 30 includes:

[0072] A data model acquisition unit, configured to output a data model of the water supply and drainage system based on the plane feature information and / or the model feature information;

[0073] The drawing acquisition unit is used to convert the data model into a water supply and drainage system drawing that meets the industry drawing standards.

[0074] In one implementation, the device further includes:

[0075] The editing and adjusting unit is used to edit and adjust the data of the data model.

[0076] Based on the above embodiment, the present invention further provides a terminal, the principle block diagram of the terminal can be as follows: Figure 4 The terminal may include one or more processors 100 ( Figure 4 Only one is shown in the figure), a memory 101 and a computer program 102 stored in the memory 101 and executable on one or more processors 100, for example, a program for automatically generating drawings of water supply and drainage systems. When one or more processors 100 execute the computer program 102, the steps of the method for automatically generating drawings of water supply and drainage systems can be implemented. Alternatively, when one or more processors 100 execute the computer program 102, the functions of each module / unit in the embodiment of the method for automatically generating drawings of water supply and drainage systems can be implemented, which is not limited here.

[0077] In one embodiment, the processor 100 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0078] In one embodiment, the memory 101 may be an internal storage unit of an electronic device, such as a hard disk or memory of the electronic device. The memory 101 may also be an external storage device of the electronic device, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device. Further, the memory 101 may also include both an internal storage unit of the electronic device and an external storage device. The memory 101 is used to store computer programs and other programs and data required by the terminal. The memory 101 may also be used to temporarily store data that has been output or is to be output.

[0079] Those skilled in the art will understand that Figure 4 The principle block diagram shown in the figure is only a block diagram of a partial structure related to the scheme of the present invention, and does not constitute a limitation on the terminal to which the scheme of the present invention is applied. The specific terminal may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0080] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, operating database or other media used in the embodiments provided by the present invention may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double operational data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0081] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for automatically generating drawings of water supply and drainage systems, characterized in that: The method comprises: Acquire drawing information of water supply and drainage, wherein the drawing information includes design drawing information and / or design model information of the water supply and drainage; Extracting feature information based on the drawing information, wherein the feature information includes plane feature information and / or model feature information; Based on the characteristic information, a water supply and drainage system drawing is generated.

2. The method for automatically generating drawings of water supply and drainage systems according to claim 1, characterized in that: When the drawing information is the design drawing information, extracting feature information based on the drawing information includes: The water supply and drainage design drawing information identifies a number of plane elements in the design drawing information and the annotation information corresponding to each plane element based on a map recognition engine; The plurality of plane elements and the annotation information corresponding to each plane element are extracted to obtain the plane feature information.

3. The method for automatically generating a water supply and drainage system drawing according to claim 2, characterized in that: The identifying of a plurality of plane elements in the design drawing information and the annotation information corresponding to each plane element based on the image recognition engine includes: Acquire preset key elements in the water supply and drainage system, wherein the key elements include professional water supply and drainage equipment and water supply and drainage pipelines; Acquiring the plane information of the key element, and matching the plane information of the key element with the design drawing information; Plane elements matching the plane information of the key elements are selected from the design drawing information, and the plane elements and the annotation information corresponding to the plane elements are identified based on a drawing recognition engine.

4. The method for automatically generating drawings of water supply and drainage systems according to claim 1, characterized in that: When the drawing information is design model information, extracting feature information based on the drawing information includes: Parsing the design model information to obtain key components in the design model information; Component information of the key component is obtained, and the key component and the corresponding component information are used as the model feature information.

5. The method for automatically generating drawings of water supply and drainage systems according to claim 4, characterized in that: The step of parsing the design model information to obtain key components in the design model information includes: Parsing the design model information to obtain all components in the design model information; Based on the design requirements of the water supply and drainage system, key components are selected from all the components.

6. The method for automatically generating drawings of water supply and drainage systems according to claim 1, characterized in that: The step of generating a water supply and drainage system drawing based on the characteristic information includes: Outputting a data model of the water supply and drainage system based on the plane feature information and / or the model feature information; The data model is converted into a water supply and drainage system drawing that meets industry drawing standards.

7. The method for automatically generating drawings of water supply and drainage systems according to claim 6, characterized in that: The generating of a water supply and drainage system drawing based on the characteristic information further includes: The data model is edited and adjusted.

8. An automatic generation device for water supply and drainage system drawings, characterized in that: The device comprises: A drawing acquisition module, used to acquire drawing information of water supply and drainage, wherein the drawing information includes design drawing information and / or design model information of the water supply and drainage; A feature extraction module, used to extract feature information based on the drawing information, wherein the feature information includes plane feature information and / or model feature information; The drawing output module is used to generate a water supply and drainage system drawing based on the characteristic information.

9. A terminal, characterized in that: The terminal includes a memory, a processor, and an automatic generation program for water supply and drainage system drawings stored in the memory and executable on the processor. When the processor executes the automatic generation program for water supply and drainage system drawings, the steps of the automatic generation method for water supply and drainage system drawings as described in any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores an automatic generation program for water supply and drainage system drawings. When the automatic generation program for water supply and drainage system drawings is executed by the processor, the steps of the automatic generation method for water supply and drainage system drawings as described in any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Method for recognizing wall in house type image and method for automatically correcting length ratio of house type image

    CN103971098A

  • Water supply and drainage pipeline BIM modeling method and system, terminal and storage medium

    CN115630425A

  • Water supply and drainage system diagram automatic generation method and device, electronic equipment and storage medium

    CN117235944A

  • Water supply and drainage pipe network model generation method, device, equipment and medium

    CN117291021A

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

    CN117494291A

Cited By

  • Building water supply and drainage system based on building BIM

    CN120874218A