Building transverse pipe model generation method and device, equipment and storage medium
By obtaining the target connection mode and the pipeline node, the pipeline connection and generating the building horizontal pipe model according to the attribute information solve the problem of digital complexity and high collaborative costs in the existing technologies, and achieve efficient and accurate design. And flexible design change management.
Patent Information
- Application Number
- CN202411630026.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-14
- Publication Date
- 2025-01-28
AI Technical Summary
The existing digital methods of building horizontal pipes mainly rely on three-dimensional modeling, resulting in increased complexity of pipeline networks, increased difficulty for model engineers to accurately model, and frequent modifications and updates increase collaboration costs.
By obtaining the target connection mode and pipeline nodes, the pipeline connection is generated, and the building horizontal pipe model is generated according to the pipeline attribute information, which simplifies the model generation process and reduces the tedious steps of manual drawing.
It improves design efficiency and accuracy, reduces the risk of construction errors, promotes communication and collaboration between different professionals, flexibly responds to design changes, and reduces the cost and construction risk brought by changes.
Smart Images

Figure CN119378172A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of building modeling, and in particular to a method, device, equipment and storage medium for generating a building transverse pipe model. Background Art
[0002] In modern construction projects, the design and installation of piping systems is a crucial link. It covers multiple areas such as water supply and drainage, HVAC, and gas, and plays a key role in the normal use and function of buildings.
[0003] At present, the main method for digitalizing building transverse pipes is 3D modeling. Using BIM technology, pipes are modeled in 3D to accurately simulate the shape, size, position and connection relationship of the pipes. However, due to the complexity of the building transverse pipe network, which contains multiple types of pipes and a large number of connection points, it increases the difficulty of accurate modeling for model engineers, and frequent modifications and updates also increase the collaboration costs between project site delivery personnel and modeling engineers. Summary of the invention
[0004] The present invention provides a method, device, equipment and storage medium for generating a building transverse pipe model, which can intuitively layout pipes in three-dimensional space, greatly improving design efficiency and accuracy.
[0005] According to one aspect of the present invention, a method for generating a building transverse pipe model is provided, the method comprising:
[0006] Obtaining a target connection mode and a pipeline node, wherein the target connection mode includes a series connection mode or a parallel connection mode;
[0007] Generate pipeline connections according to target connection mode and pipeline nodes;
[0008] Obtain pipeline attribute information, and generate a building horizontal pipe model based on the pipeline attribute information and pipeline connections.
[0009] Optionally, the target connection mode and pipeline node are obtained, including: obtaining the connection starting point, and determining the function type corresponding to the connection starting point, wherein the function type includes riser fittings, cross pipe fittings and valves; displaying each subsequent node corresponding to the function type, and obtaining each target subsequent node; using the connection starting point and each target subsequent node as pipeline nodes.
[0010] Optionally, obtaining a target connection mode and pipeline node includes: displaying the connection mode and obtaining the target connection mode.
[0011] Optionally, a pipeline connection is generated according to the target connection mode and the pipeline node, including: when the target connection mode is a series mode, determining the connection sequence number of each target subsequent node; based on the connection starting point, connecting each target subsequent node in sequence according to the connection sequence number; when the target connection mode is a parallel mode, connecting the connection starting point and each target subsequent node respectively.
[0012] Optionally, obtaining pipeline attribute information includes: obtaining the target pipeline type, wherein pipeline types include air ducts, water pipes, and gas pipes; obtaining interface information, wherein the interface information includes interface entry and exit directions and access device identifiers; and using the target pipeline type and interface information as pipeline attribute information.
[0013] Optionally, a building transverse pipe model is generated according to pipe attribute information and pipe connections, including: obtaining a pipe rendering list, wherein the pipe rendering list includes pipe colors corresponding to each pipe type; matching the target pipe type through the pipe rendering list to determine a target pipe color corresponding to the target pipe type; and generating a building transverse pipe model according to the target pipe color and pipe attribute information.
[0014] Optionally, the method further includes: obtaining editing instructions, wherein the editing instructions include adding, modifying and deleting; and editing the pipeline connection based on the editing instructions.
[0015] According to another aspect of the present invention, a device for generating a building transverse pipe model is provided, the device comprising:
[0016] A target connection mode and node acquisition module is used to acquire a target connection mode and a pipeline node, wherein the target connection mode includes a series connection mode and a parallel connection mode;
[0017] A pipeline connection generation module is used to generate pipeline connections according to target connection modes and pipeline nodes;
[0018] The building transverse pipe model generation module is used to obtain pipe attribute information and generate a building transverse pipe model according to the pipe attribute information and pipe connections.
[0019] According to another aspect of the present invention, there is provided an electronic device, the electronic device comprising:
[0020] at least one processor;
[0021] and a memory communicatively coupled to the at least one processor;
[0022] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute a method for generating a building transverse pipe model as described in any embodiment of the present invention.
[0023] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement a method for generating a building transverse pipe model as described in any embodiment of the present invention when executed.
[0024] The technical solution of the embodiment of the present invention can accurately plan the connection method of the pipeline by clarifying the target connection mode and pipeline nodes, avoid construction errors caused by design ambiguity, and improve the accuracy of pipeline design. Pipelines are replaced by line segments, which are first connected, and then converted into corresponding pipelines through supporting pipeline generation technology, which simplifies the model generation process, reduces the tedious manual drawing process, and improves design efficiency. Clear design processes and standardized connection modes facilitate communication and collaboration between different professionals, avoid misunderstandings, and can flexibly respond to design changes, reducing the risk of increased costs and construction delays caused by changes.
[0025] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0027] Figure 1 is a flow chart of a method for generating a building transverse pipe model according to Embodiment 1 of the present invention;
[0028] Figure 2 is a flow chart of another method for generating a building transverse pipe model according to the second embodiment of the present invention;
[0029] Figure 3 It is a structural schematic diagram of a building transverse pipe model generating device provided according to the third embodiment of the present invention;
[0030] Figure 4 The present invention is a schematic diagram of the structure of an electronic device for implementing a method for generating a building transverse pipe model according to an embodiment of the present invention. DETAILED DESCRIPTION
[0031] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0032] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0033] Embodiment 1
[0034] Figure 1 A flowchart of a method for generating a building transverse pipe model is provided for the first embodiment of the present invention. This embodiment is applicable to the case of drawing transverse pipes when modeling building transverse pipes. The method can be executed by a building transverse pipe model generating device. The building transverse pipe model generating device can be implemented in the form of hardware and / or software. The building transverse pipe model generating device can be configured in a computer controller. Figure 1 As shown, the method includes:
[0035] S110, obtaining a target connection mode and a pipeline node, wherein the target connection mode includes a series mode or a parallel mode.
[0036] The target connection mode includes series mode or parallel mode. The series mode means that multiple pipelines are connected end to end in sequence, and the fluid must pass through each pipeline in sequence when flowing through them. The parallel mode means that the inlets and outlets of multiple pipelines are connected together, like multiple parallel roads. A pipeline node refers to a location point in a pipeline.
[0037] Optionally, obtaining a target connection mode and pipeline node includes: displaying the connection mode and obtaining the target connection mode.
[0038] Among them, in the design process of the building transverse pipe model, users can choose the appropriate connection mode to meet different functional requirements and layout requirements. For example, if you need to ensure the independence and reliability of each part, you may choose the parallel mode. For example, in some heating systems, multiple radiators are connected to the heat source in parallel, and each radiator can be controlled independently without affecting each other. If you need to achieve a continuous processing process, you may choose the series mode. For example, in some water supply systems, water is pumped from the water source through a multi-stage pump station to increase the pressure and then flows to the water point.
[0039] Optionally, the target connection mode and pipeline node are obtained, including: obtaining the connection starting point, and determining the function type corresponding to the connection starting point, wherein the function type includes riser fittings, cross pipe fittings and valves; displaying each subsequent node corresponding to the function type, and obtaining each target subsequent node; using the connection starting point and each target subsequent node as pipeline nodes.
[0040] Specifically, the functional types include riser fittings, cross pipe fittings and valves. Riser fittings refer to vertically arranged pipe components, which are mainly used to transport fluids from the lower floor to the upper floor or from the upper floor to the lower floor in the building cross pipe. For example, in the water supply and drainage system of a high-rise building, the riser is responsible for transporting water from the bottom floor to each floor. Cross pipe fittings refer to horizontally arranged pipe components, which are mainly used to transport fluids or connect different equipment on the same floor. In the water supply and drainage system, the cross pipe is responsible for distributing water to various water use points or collecting wastewater. A valve refers to a device used to control the flow, pressure and flow direction of fluid in a pipeline, and the amount of fluid passing through is adjusted by changing the opening of the valve.
[0041] Furthermore, according to the functional type of the starting point of the connection, the corresponding subsequent nodes can be determined. For example, if the starting point of the connection is a horizontal pipe fitting, the subsequent nodes may be other horizontal pipe fittings, vertical pipe fittings, drains, etc. If the starting point of the connection is a valve, the subsequent nodes may be upstream and downstream pipe fittings or equipment of the pipeline. The controller can display possible subsequent nodes to the user, and the user can select the target subsequent node according to actual needs. The starting point of the connection and the target subsequent nodes selected by the user together constitute the pipeline node, which is the basis for constructing pipeline connections and building horizontal pipe models.
[0042] S120: Generate pipeline connections according to the target connection mode and pipeline nodes.
[0043] Among them, pipeline connection refers to the pipeline connection path determined according to the target connection mode and pipeline nodes. The pipeline connection describes the connection method and direction between each pipeline and is an important part of constructing the building horizontal pipe model.
[0044] Optionally, a pipeline connection is generated according to the target connection mode and the pipeline node, including: when the target connection mode is a series mode, determining the connection sequence number of each target subsequent node; based on the connection starting point, connecting each target subsequent node in sequence according to the connection sequence number; when the target connection mode is a parallel mode, connecting the connection starting point and each target subsequent node respectively.
[0045] In series mode, the components in the piping system are connected in sequence like links in a chain to achieve continuous processing or transmission of fluids or other substances.
[0046] Specifically, in order to accurately connect each target subsequent node in a series mode, it is necessary to determine their connection sequence numbers. The connection sequence number can be determined based on the design requirements of the pipeline system and the logical order of material flow. By determining the connection sequence number, each node can be accurately connected in sequence when building the pipeline connection, which can avoid connection confusion and ensure that the material can flow along the predetermined path. At the same time, the connection sequence number also facilitates the maintenance and management of the system. When a problem occurs, the specific node can be quickly located.
[0047] In parallel mode, each part of the pipe system is connected to the upstream and downstream at the same time. The parallel mode can be independently controlled according to different needs. For example, in a water supply and drainage system, different water use areas can be connected through parallel pipes, and each area can independently control the water flow and pressure according to actual needs.
[0048] Specifically, when generating pipeline connections, the controller can connect the connection starting point and each target subsequent node respectively to achieve system reliability, flexibility and independent control to meet different actual needs.
[0049] S130, obtaining pipeline attribute information, and generating a building horizontal pipe model according to the pipeline attribute information and pipeline connections.
[0050] Optionally, obtaining pipeline attribute information includes: obtaining the target pipeline type, wherein pipeline types include air ducts, water pipes, and gas pipes; obtaining interface information, wherein the interface information includes interface entry and exit directions and access device identifiers; and using the target pipeline type and interface information as pipeline attribute information.
[0051] Among them, the types of pipes include air ducts, water pipes and gas pipes. Air ducts are used for the transportation and distribution of air. In ventilation and air conditioning systems, the air flows in the air ducts through the pressure difference generated by the fan. The air duct can bring fresh air from outdoor into the room, exhaust the indoor dirty air, and adjust the indoor temperature, humidity and air quality. Water pipes are used to transport water or other liquids. The flow of water in water pipes mainly depends on the pressure difference. Water pipes can provide buildings with domestic water, fire water, industrial water, etc. Gas pipes are usually used to transport gases, such as natural gas, oxygen, etc. Gas pipes can provide the required gases for industrial production, medical equipment, home cooking, etc.
[0052] Specifically, the inlet and outlet directions of the interface determine the flow direction of the material in the pipeline. The correct inlet and outlet directions of the interface can ensure the normal operation of the pipeline system and avoid problems such as material backflow and blockage. The access device identifier is used to identify the device connected to the pipeline. The access device identifier can be used to further determine the specific interface device, such as fan coil units, air conditioning units, fresh air units, etc. The user can click the interface on the device model to determine the access device identifier corresponding to the interface of this connection.
[0053] Optionally, a building transverse pipe model is generated according to pipe attribute information and pipe connections, including: obtaining a pipe rendering list, wherein the pipe rendering list includes pipe colors corresponding to each pipe type; matching the target pipe type through the pipe rendering list to determine a target pipe color corresponding to the target pipe type; and generating a building transverse pipe model according to the target pipe color and pipe attribute information.
[0054] The pipeline rendering list includes the corresponding pipeline colors for each pipeline type, which improves the visualization and recognizability of the pipeline system by using color coding. Different pipeline types may have different functions, such as air ducts for air circulation, water pipes for water transportation, and gas pipes for gas transmission. By assigning specific colors to each pipeline type, construction workers and maintenance personnel can quickly and accurately identify different types of pipelines in complex building horizontal pipe models.
[0055] Specifically, the target pipe type is matched through the pipe rendering list to determine the corresponding target pipe color. For example, if the target pipe type is an air duct, then by looking up the "air duct" type in the pipe rendering list, it can be determined that its corresponding color is green. The target pipe color plays an important identification role in the construction process. Construction personnel can quickly distinguish different types of pipes based on color to avoid installation errors. At the same time, color can also provide convenience in later maintenance and overhaul, allowing maintenance personnel to quickly identify pipes that need attention. After determining the target pipe color and pipe attribute information, you can render and generate a building horizontal pipe model.
[0056] The technical solution of the embodiment of the present invention can accurately plan the connection method of the pipeline by clarifying the target connection mode and pipeline nodes, avoid construction errors caused by design ambiguity, and improve the accuracy of pipeline design. Pipelines are replaced by line segments, which are first connected, and then converted into corresponding pipelines through supporting pipeline generation technology, which simplifies the model generation process, reduces the tedious manual drawing process, and improves design efficiency. Clear design processes and standardized connection modes facilitate communication and collaboration between different professionals, avoid misunderstandings, and can flexibly respond to design changes, reducing the risk of increased costs and construction delays caused by changes.
[0057] Embodiment 2
[0058] Figure 2 This is a flow chart of a method for generating a building transverse pipe model provided in the second embodiment of the present invention. This embodiment adds a pipe editing process based on the above-mentioned first embodiment. The specific contents of steps S210-S220 are roughly the same as steps S110-S120 in the first embodiment, so they will not be repeated in this embodiment. Figure 2 As shown, the method includes:
[0059] S210: Obtain a target connection mode and a pipeline node, wherein the target connection mode includes a series mode or a parallel mode.
[0060] Optionally, the target connection mode and pipeline node are obtained, including: obtaining the connection starting point, and determining the function type corresponding to the connection starting point, wherein the function type includes riser fittings, cross pipe fittings and valves; displaying each subsequent node corresponding to the function type, and obtaining each target subsequent node; using the connection starting point and each target subsequent node as pipeline nodes.
[0061] Optionally, obtaining a target connection mode and pipeline node includes: displaying the connection mode and obtaining the target connection mode.
[0062] S220: Generate pipeline connections according to the target connection mode and pipeline nodes.
[0063] Optionally, a pipeline connection is generated according to the target connection mode and the pipeline node, including: when the target connection mode is a series mode, determining the connection sequence number of each target subsequent node; based on the connection starting point, connecting each target subsequent node in sequence according to the connection sequence number; when the target connection mode is a parallel mode, connecting the connection starting point and each target subsequent node respectively.
[0064] S230: Obtain editing instructions, where the editing instructions include adding, modifying and deleting.
[0065] S240: Edit the pipeline connection based on the editing instruction.
[0066] During the design process, new requirements may arise or missing parts may be discovered. New instructions can add new pipeline connections based on the original pipeline connections. Users can select the location where the pipeline connection needs to be added, and then generate new instructions.
[0067] Specifically, modification instructions can adjust existing pipeline connections to respond to design optimization, changes in actual construction conditions, or scenarios where problems are found in the existing pipeline layout.
[0068] Similarly, during the design process, some unnecessary pipes or incorrect designs may be found. The delete command is used to remove pipe connections that are no longer needed. For example, if the function of a certain area is cancelled, the related pipe connections can be deleted. The user can select the pipe connection to be deleted, and the controller will remove the pipe connection from the original pipe connection and adjust the related pipe connection and attribute information accordingly. In addition, before deleting, the controller can check whether the pipe is associated with other important pipes or structures to avoid system instability or loss of function caused by accidental deletion. If it is confirmed that it can be deleted, the pipe connection will be removed from the model.
[0069] The technical solution of the embodiment of the present invention can accurately plan the connection method of the pipeline by clarifying the target connection mode and pipeline nodes, avoid construction errors caused by design ambiguity, and improve the accuracy of pipeline design. Pipelines are replaced by line segments, which are first connected, and then converted into corresponding pipelines through supporting pipeline generation technology, which simplifies the model generation process, reduces the tedious manual drawing process, and improves design efficiency. Clear design processes and standardized connection modes facilitate communication and collaboration between different professionals, avoid misunderstandings, and can flexibly respond to design changes, reducing the risk of increased costs and construction delays caused by changes.
[0070] Embodiment 3
[0071] Figure 3 This is a schematic diagram of the structure of a building transverse pipe model generation device provided in the third embodiment of the present invention. Figure 3 As shown, the device includes: a target connection mode and node acquisition module 310, which is used to acquire a target connection mode and a pipeline node, wherein the target connection mode includes a series mode and a parallel mode;
[0072] A pipeline connection generation module 320, used to generate pipeline connections according to a target connection mode and pipeline nodes;
[0073] The building transverse pipe model generation module 330 is used to obtain pipe attribute information and generate a building transverse pipe model according to the pipe attribute information and pipe connections.
[0074] Optionally, the target connection mode and node acquisition module 310 specifically includes: a pipeline node acquisition unit, used to: obtain the connection starting point and determine the functional type corresponding to the connection starting point, wherein the functional type includes riser fittings, cross pipe fittings and valves; display each subsequent node corresponding to the functional type, and obtain each target subsequent node; use the connection starting point and each target subsequent node as pipeline nodes.
[0075] Optionally, the target connection mode and node acquisition module 310 specifically includes: a target connection mode acquisition unit, which is used to: display the connection mode and acquire the target connection mode.
[0076] Optionally, the pipeline connection generation module 320 is specifically used to: when the target connection mode is a series mode, determine the connection sequence number of each target subsequent node; based on the connection starting point, connect each target subsequent node in sequence according to the connection sequence number; when the target connection mode is a parallel mode, connect the connection starting point and each target subsequent node respectively.
[0077] Optionally, the building transverse pipe model generation module 330 specifically includes: a pipe attribute information acquisition unit, which is used to: acquire the target pipe type, wherein the pipe type includes air pipe, water pipe and gas pipe; acquire interface information, wherein the interface information includes the interface inlet and outlet direction and the access device identifier; use the target pipe type and interface information as pipe attribute information
[0078] Optionally, the building transverse pipe generation model module 330 specifically includes: a building transverse pipe model generation unit, which is used to: obtain a pipe rendering list, wherein the pipe rendering list includes pipe colors corresponding to each pipe type; match the target pipe type through the pipe rendering list to determine the target pipe color corresponding to the target pipe type; and generate a building transverse pipe model according to the target pipe color and pipe attribute information.
[0079] Optionally, the device also includes: a pipeline editing module, which is used to obtain editing instructions, wherein the editing instructions include adding, modifying and deleting; and editing the pipeline connection based on the editing instructions.
[0080] The technical solution of the embodiment of the present invention can accurately plan the connection method of the pipeline by clarifying the target connection mode and pipeline nodes, avoid construction errors caused by design ambiguity, and improve the accuracy of pipeline design. Pipelines are replaced by line segments, which are first connected, and then converted into corresponding pipelines through supporting pipeline generation technology, which simplifies the model generation process, reduces the tedious manual drawing process, and improves design efficiency. Clear design processes and standardized connection modes facilitate communication and collaboration between different professionals, avoid misunderstandings, and can flexibly respond to design changes, reducing the risk of increased costs and construction delays caused by changes.
[0081] A building transverse pipe model generation device provided in an embodiment of the present invention can execute a building transverse pipe model generation method provided in any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method.
[0082] Embodiment 4
[0083] Figure 4 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0084] like Figure 4 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0085] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0086] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a method for generating a building transverse pipe model.
[0087] In some embodiments, a method for generating a building transverse pipe model may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the method for generating a building transverse pipe model described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute a method for generating a building transverse pipe model in any other appropriate manner (e.g., by means of firmware).
[0088] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0089] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0090] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0091] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0092] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0093] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0094] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0095] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for generating a building transverse pipe model, characterized in that: include: Acquire a target connection mode and a pipeline node, wherein the target connection mode includes a series mode or a parallel mode; Generate a pipeline connection according to the target connection mode and the pipeline node; The pipeline attribute information is obtained, and a building horizontal pipe model is generated according to the pipeline attribute information and the pipeline connection.
2. The method according to claim 1, characterized in that The step of obtaining the target connection mode and pipeline node includes: Obtaining a connection starting point, and determining a function type corresponding to the connection starting point, wherein the function type includes a riser fitting, a cross pipe fitting, and a valve; Display each subsequent node corresponding to the function type, and obtain each target subsequent node; The connection starting point and each of the target subsequent nodes are used as the pipeline nodes.
3. The method according to claim 2, characterized in that The obtaining of the target connection mode and pipeline node includes: displaying the connection mode, and obtaining the target connection mode.
4. The method according to claim 3, characterized in that: The generating of the pipeline connection according to the target connection mode and the pipeline node includes: When the target connection mode is a series mode, the connection sequence number of each target subsequent node is determined; based on the connection starting point, each target subsequent node is connected in sequence according to the connection sequence number. When the target connection mode is a parallel mode, the connection starting point and each of the target subsequent nodes are connected respectively.
5. The method according to claim 1, characterized in that The obtaining of pipeline attribute information includes: Obtaining a target pipe type, wherein the pipe type includes an air pipe, a water pipe, and a gas pipe; Acquire interface information, wherein the interface information includes interface entry and exit directions and access device identifiers; The target pipe type and the interface information are used as the pipe attribute information.
6. The method according to claim 5, characterized in that The generating of the building transverse pipe model according to the pipe attribute information and the pipe connection line comprises: Obtain a pipeline rendering list, wherein the pipeline rendering list includes pipeline colors corresponding to each pipeline type; Matching the target pipeline type through the pipeline rendering list to determine a target pipeline color corresponding to the target pipeline type; A building transverse pipe model is generated according to the target pipe color and the pipe attribute information.
7. The method according to claim 1, characterized in that The method further comprises: Obtaining editing instructions, wherein the editing instructions include adding, modifying and deleting; The pipeline connection is edited based on the editing instruction.
8. A building transverse pipe model generating device, characterized in that: include: A target connection mode and node acquisition module, used to acquire a target connection mode and a pipeline node, wherein the target connection mode includes a series mode and a parallel mode; A pipeline connection generation module, used to generate pipeline connections according to the target connection mode and the pipeline nodes; The building transverse pipe model generation module is used to obtain pipe attribute information and generate a building transverse pipe model according to the pipe attribute information and the pipe connection lines.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively coupled to the at least one processor; The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method according to any one of claims 1 to 7.
10. A computer storage medium, characterized in that: The computer storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method according to any one of claims 1 to 7 when executed.