CN111859516A - Pipeline data processing method, device, equipment, computer equipment and storage medium - Google Patents

Pipeline data processing method, device, equipment, computer equipment and storage medium Download PDF

Info

Publication number
CN111859516A
CN111859516A CN202010761456.5A CN202010761456A CN111859516A CN 111859516 A CN111859516 A CN 111859516A CN 202010761456 A CN202010761456 A CN 202010761456A CN 111859516 A CN111859516 A CN 111859516A
Authority
CN
China
Prior art keywords
valve
component
components
members
attributes
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010761456.5A
Other languages
Chinese (zh)
Other versions
CN111859516B (en
Inventor
徐斌
刘建
陈岱维
谭冠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Architecture Design and Research Institute of Tongji University Group Co Ltd
Original Assignee
Architecture Design and Research Institute of Tongji University Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Architecture Design and Research Institute of Tongji University Group Co Ltd filed Critical Architecture Design and Research Institute of Tongji University Group Co Ltd
Priority to CN202010761456.5A priority Critical patent/CN111859516B/en
Publication of CN111859516A publication Critical patent/CN111859516A/en
Application granted granted Critical
Publication of CN111859516B publication Critical patent/CN111859516B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/13Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2113/00Details relating to the application field
    • G06F2113/16Cables, cable trees or wire harnesses

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • General Physics & Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Structural Engineering (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Computational Mathematics (AREA)
  • Civil Engineering (AREA)
  • Architecture (AREA)
  • Mathematical Optimization (AREA)
  • Artificial Intelligence (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Stored Programmes (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to a pipeline data processing method, which comprises the following steps: dividing the members in the modeling into valve members and non-valve members; coding the valve members, wherein the codes correspond to the valve members one by one; matching the current component with the front and rear valve components, and writing the valve component codes corresponding to the component into the front and rear valve attributes of the component. The matching relation between each member in the modeling and the valve members before and after the member is established, the codes of the valve members before and after the member can be found in the valve attributes before and after the member, and the codes correspond to the valve members one to one, namely, one code corresponds to one valve member. Therefore, when equipment and pipelines need to be overhauled, corresponding valve members needing to be closed can be found only by opening the attributes of the front and rear valves of the equipment or pipelines to be overhauled in the middle point of modeling, and the valve searching efficiency and accuracy of the scheme is high.

Description

Pipeline data processing method, device, equipment, computer equipment and storage medium
Technical Field
The present invention relates to the field of architecture, and in particular, to a method, an apparatus, a device, a computer device, and a storage medium for processing pipeline data.
Background
Various pipelines are usually laid in a building, and when equipment or pipelines need to be repaired, valves in front of and behind the equipment are usually required to be shut off. In some cases, the front and back valves are located far from the device, and in the prior art, the front and back valve searches for the device include drawing searches and field searches. For the purpose of finding drawings, finding corresponding drawings from a large number of drawings is complicated and low in efficiency; for on-site search, pipelines which are installed in hidden places such as underground laying, suspended ceiling laying and wall laying are often available, and since the pipelines are hidden and the installation routes of the pipelines cannot be seen, the pipeline installation routes are mainly searched by guessing and trying, so that the efficiency is low and the accuracy is low.
Disclosure of Invention
Therefore, it is necessary to provide a pipeline data processing method with the advantages of high valve searching efficiency and high accuracy for the above technical problems
A pipelined data processing method, comprising:
dividing the members in the modeling into valve members and non-valve members;
coding the valve members, wherein the codes correspond to the valve members one by one;
matching the current component with the front and rear valve components, and writing the valve component codes corresponding to the component into the front and rear valve attributes of the component.
In one embodiment, matching the component with the valve class components before and after the component, and writing the valve class component code corresponding to the component into the valve attributes before and after the component comprises:
traversing the valve type components, and recording the currently acquired valve type components as target valves;
acquiring all the non-valve members between the target valve and each adjacent valve member and the valve members adjacent to the target valve, and forming a first collection;
writing the target valve into the front-to-back valve attributes of all the components in the first collection.
In one embodiment, acquiring all the non-valve members between the target valve and each adjacent valve member and all the valve members adjacent to the target valve, and forming a first set, includes:
selecting a central component, and enabling the target valve to be the central component;
acquiring all components connected with the central component, and forming a first collection;
acquiring components directly connected with the components in the first collection, and forming a second collection;
means that appear in the second collection and do not appear in the first collection are new-order means, the new-order means being merged into the first collection;
judging whether the new-step component is a valve component or not, if not, enabling the new-step component to be a new central component and repeating the steps; if yes, stopping repeating the steps and finishing the first collection.
In one embodiment, matching the component with the valve class components before and after the component, and writing the valve class component code corresponding to the component into the valve attributes before and after the component comprises:
traversing all the components, and recording the currently acquired component as a first component;
searching the components connected with the two sides of the first component and recording as a second component;
and judging whether the second component is the valve component, if not, making the second component be a new first component, and recursively executing the steps, if so, ending the recursion, and writing the code of the second component into the front and rear valve attributes of the first component.
In one embodiment, after matching the current component with the valve class components before and after the current component, and writing the valve class component code corresponding to the current component into the valve attributes before and after the component, the method further includes:
and displaying the valve members at two ends of the member based on the front and rear valve attributes of the member.
In one embodiment, the dividing the components in the modeling into the valve-like components and the non-valve-like components comprises:
acquiring attribute information of each component in the modeling;
and judging whether the component belongs to a valve component or not based on the attribute information, if so, defining the component as the valve component, and if not, defining the component as a non-valve component.
In one embodiment, when more than one of the valve members is included in the front and back valve attributes of the member, the valve members are separated by punctuation marks.
The present invention also provides a pipeline data processing apparatus, including:
the modeling classification module is used for classifying the components in modeling into valve components and non-valve components;
the coding module is used for coding the valve members, and the codes correspond to the valve members one by one;
and the matching writing module is used for matching the current component with the front and rear valve components and writing the valve component codes corresponding to the component into the front and rear valve attributes of the component.
In one embodiment, the matching write module comprises:
the acquisition module is used for traversing the valve type components and recording the currently acquired valve type components as target valves;
the matching module is used for acquiring all the non-valve members between the target valve and each adjacent valve member and the valve members adjacent to the target valve and forming a first collection;
a write module to write the target valve into front and back valve attributes of all the components in the first collection.
In one embodiment, the matching write module comprises:
the acquisition module is used for traversing all the components and recording the currently acquired component as a first component;
the searching module is used for searching the components connected with the two sides of the first component and recording the components as second components;
and the judging and writing module is used for judging whether the second component is the valve component, if not, the second component is made to be the new first component, and the steps are executed recursively, and if so, the recursion is ended, and the codes of the second component are written into the front and rear valve attributes of the first component.
In one embodiment, the method further comprises the following steps:
and the display module is used for displaying the valve members at the two ends of the member according to the attributes of the front and the rear valves of the member.
The present invention also provides a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of any of the above methods when executing the computer program.
The invention also provides a computer-readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the method of any of the above.
Has the advantages that:
according to the technical scheme, the matching relation is established between each member in the modeling and the front and rear valve members, the codes of the front and rear valve members can be found in the front and rear valve attributes of each member, the codes correspond to the valve members one by one, namely, one code corresponds to one valve member. Therefore, when equipment and pipelines need to be overhauled, corresponding valve members needing to be closed can be found only by opening the attributes of the front valve and the rear valve of the equipment or the pipelines needing to be overhauled in the middle point of modeling, the valve members needing to be closed do not need to be found in a large number of drawings, and the valve searching method has the advantages of being high in efficiency and accuracy rate.
Drawings
FIG. 1 is a flow chart of a pipeline data processing method according to an embodiment of the present invention;
FIG. 2 is a flow chart of a pipeline data processing method according to another embodiment of the present invention;
FIG. 3 is a block diagram of a pipeline data processing apparatus according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a pipeline data processing apparatus according to another embodiment of the present invention;
FIG. 5 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Reference numerals: 10. a modeling classification module; 20. an encoding module; 30. a matching write module; 40. and a display module.
Detailed Description
To facilitate an understanding of the invention, the invention will now be described more fully with reference to the accompanying drawings. Preferred embodiments of the present invention are shown in the drawings. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
In the description of the present invention, it is to be understood that the terms "upper", "lower", "vertical", "horizontal", "inner", "outer", etc. indicate orientations or positional relationships based on methods or positional relationships shown in the drawings, and are only for convenience in describing the present invention and simplifying the description, but do not indicate or imply that the referred devices or elements must have a specific orientation, be constructed and operated in a specific orientation, and thus, should not be construed as limiting the present invention.
Various pipelines are usually laid in a building, and when equipment or pipelines need to be repaired, valves in front of and behind the equipment are usually required to be shut off. In some cases, the front and back valves are located far from the device, and in the prior art, the front and back valve searches for the device include drawing searches and field searches. For the purpose of finding drawings, finding corresponding drawings from a large number of drawings is complicated and low in efficiency; for on-site search, pipelines which are installed in hidden places such as underground laying, suspended ceiling laying and wall laying are often available, and since the pipelines are hidden and the installation routes of the pipelines cannot be seen, the pipeline installation routes are mainly searched by guessing and trying, so that the efficiency is low and the accuracy is low.
In order to efficiently and accurately search for a valve, as shown in fig. 1, the present application provides a pipeline data processing method, including the following steps:
step S10: dividing the members in the modeling into valve members and non-valve members;
step S20: coding the valve members, wherein the codes correspond to the valve members one by one;
step S30: matching the current component with the front and rear valve components, and writing the valve component codes corresponding to the component into the front and rear valve attributes of the component.
According to the technical scheme, the matching relation is established between each member in the modeling and the front and rear valve members, the codes of the front and rear valve members can be found in the front and rear valve attributes of each member, the codes correspond to the valve members one to one, namely, one code corresponds to one valve member, therefore, when equipment and pipelines need to be overhauled, the corresponding valve members needing to be closed can be found only by opening the front and rear valve attributes of the equipment or pipelines to be overhauled at the middle point in the modeling, the valve members needing to be closed do not need to be found in a large number of drawings, and the valve searching scheme has the advantages of high efficiency and high accuracy.
In an alternative embodiment, the step S10 specifically includes:
step S101: acquiring attribute information of each component in the building mould;
step S102: and judging whether the component belongs to a valve component or not based on the attribute information, if so, defining the component as the valve component, and if not, defining the component as a non-valve component.
Specifically, the operations may be performed at a Modeling terminal of a BIM (Building Information Modeling), where attribute Information of a component includes attributes such as a name, a type, or a category of the component, and the BIM terminal defines which components in a pipeline are valve components and which are non-valve components according to the Information. As for the valve type components, the valve which the valve belongs to can be subdivided, such as a butterfly valve, a gate valve and a stop valve which belong to a water valve in the valve, and a fire-proof valve which belongs to an air valve in the valve. For non-valve type components, it is also possible to subdivide into which components they are specific. Such as vertical ZST type shower nozzle, water flow indicator, centrifugal fan, galvanized steel pipe, etc. are non-valve type components, wherein, the vertical ZST type shower nozzle is a shower nozzle type component; the water flow indicator is an accessory component; the centrifugal fan is a fan type framework; the galvanized steel pipe is a water pipe component.
In an alternative embodiment, for step S20, specifically, the coding of all valve components is performed according to a certain rule, and may be performed according to the position, name, creation time, and the like of the component, which helps a worker to quickly know some basic information of the component according to the coding content; in an alternative embodiment, the encoding may also be generated according to a GUID algorithm. The codes of all the valve members are not repeated, namely, one code corresponds to one valve member, and each valve member is ensured to have a unique code, so that the corresponding valve is determined according to the codes.
In an alternative embodiment, the step S30 specifically includes the following steps:
step S301: traversing valve components, and recording the currently acquired valve components as target valves;
step S302: acquiring all non-valve components between a target valve and each adjacent valve component and valve components adjacent to the target valve, and forming a first collection;
step S303: the target valve is written into the front and back valve attributes of all components in the first collection.
Specifically, acquiring all non-valve members between a target valve and each adjacent valve member and valve members adjacent to the target valve, and forming a first collection, comprising the following steps:
step S3021: selecting a central component, and enabling the target valve to be the central component;
step S3022: acquiring all components connected with the central component, and forming a first collection;
step S3023: acquiring components directly connected with the components in the first collection, and forming a second collection;
step S3024: making the members which appear in the second collection and do not appear in the first collection as new-order members, and merging the new-order members into the first collection;
step S3025: judging whether the new-step component is a valve component, if not, making the new-step component be a new central component and repeating the steps; if yes, stopping repeating the steps and finishing the first collection.
In the process from step S3021 to step S3025, new components directly or indirectly connected to the target valve are continuously added into the first aggregate until the added new components are valve-type components, and then the recursion on the line stops. Defining each valve member as a target valve in sequence, and executing step S302 and step S303 on each target valve to find out a first set of target valves. For all the components in the first set, the target valve is necessarily one of the front and rear valves, and by performing the above steps on each valve component, all the valve components can be written into the front and rear valve attributes of the matched component.
In an alternative embodiment, the step S30 specifically includes the following steps:
step S301: traversing all the components, and recording the currently acquired component as a first component;
step S302: searching the components connected with the two sides of the first component and recording as a second component;
step S303: judging whether the second member is a valve member, if not, making the second member be a new first member, and executing the steps recursively, if so, ending the recursion, and writing the code of the second member into the front and rear valve attributes of the first member.
In this embodiment, each component is defined as a first component in turn, and step S302 and step S303 are performed on each first component. The components directly or indirectly connected with the two sides of the first component are searched until the valve components appear, and then the valve components appearing at the two ends are the front and rear valves of the first component. By executing the steps on each component, all the valve components can be written into the front and rear valve attributes of the matched components.
In an alternative embodiment, when more than one valve type member is included in the front and back valve attributes of a member, the punctuation marks separate the valve type members. For one, there may be two, three or four valves before and after the valve, and in order to avoid the code mixing, the codes of the various valve members can be separated by punctuation marks, such as comma, semicolon and the like.
As shown in fig. 2, in an alternative embodiment, step S30 is followed by:
step S40: and displaying the valve members at two ends of the member based on the front and rear valve attributes of the member.
Specifically, after the front and rear valve attributes of the target component are checked, the valve component required to be searched can be accurately found based on codes in the front and rear valve attributes, and the valve component required to be searched is placed in the center of the screen according to the codes, so that a worker can conveniently check the valve component.
Through the technical scheme, each component in the BIM modeling terminal is matched with the front and rear valve components, so that the codes of the front and rear valve components can be found by clicking the front and rear valve attribute buttons of the component at the BIM display terminal, and the codes correspond to the valve components one by one, namely, one code corresponds to one valve component. Therefore, the front and rear valve members of the designated member can be found out quickly and displayed in a positioning way. When equipment and pipelines need to be overhauled, corresponding valve members needing to be closed can be found only by opening the front and rear valve attributes of the equipment or pipelines to be overhauled in the BIM display terminal, the valve members needing to be closed do not need to be found in a large number of drawings, and the valve searching method has the advantages of being high in efficiency and accuracy rate in valve searching.
As shown in fig. 3, the present invention further provides a pipeline data processing apparatus, including: the modeling classification module 10 is used for classifying the components in modeling into valve components and non-valve components; the coding module 20 is used for coding the valve members, and the codes correspond to the valve members one by one; and the matching writing module 30 is configured to match the current component with the front and rear valve components, and write the valve component codes corresponding to the component into the front and rear valve attributes of the component.
In an optional embodiment, the modeling classification module 10 may exist on a modeling terminal of the BIM, acquires attribute information of each component in the modeling, and determines whether the component belongs to a valve component based on the attribute information, if so, the component is defined as a valve component, and if not, the component is defined as a non-valve component. The attribute information of the components comprises the attributes of the names, types or classes of the components, and the BIM terminal defines which components in the pipeline are valve components and which are non-valve components according to the information. As for the valve type components, the valve which the valve belongs to can be subdivided, such as a butterfly valve, a gate valve and a stop valve which belong to a water valve in the valve, and a fire-proof valve which belongs to an air valve in the valve. For non-valve type components, it is also possible to subdivide into which components they are specific. Such as vertical ZST type shower nozzle, water flow indicator, centrifugal fan, galvanized steel pipe, etc. are non-valve type components, wherein, the vertical ZST type shower nozzle is a shower nozzle type component; the water flow indicator is an accessory component; the centrifugal fan is a fan type framework; the galvanized steel pipe is a water pipe component.
In an alternative embodiment, the coding module 20 codes all valve components according to a certain rule, and may code according to the position, name, creation time, etc. of the component, which helps a worker to quickly know some basic information of the component according to the coding content. The codes of all the valve members are not repeated, namely, one code corresponds to one valve member, and each valve member is ensured to have a unique code, so that the corresponding valve is determined according to the codes.
In an alternative embodiment, the matching write module 30 includes: the acquisition module is used for traversing the valve components and recording the currently acquired valve components as target valves; the matching module is used for acquiring all non-valve members between the target valve and each adjacent valve member and all valve members adjacent to the target valve, and forming a first collection; and the writing module is used for writing the target valve into the front and back valve attributes of all the components in the first collection.
The matching module realizes the acquisition of the first collection by the following steps: firstly, selecting a central component, and enabling a target valve to be the central component when the central component is selected for the first time; acquiring all members connected with the central member, and forming a first collection by using the members; acquiring components directly connected with each component in the first collection, and forming a second collection; judging each component in the second collection, judging whether the component can appear in the first collection, if so, skipping, and if not, taking the component as a new-order collection to be incorporated into the first collection; and judging the new-order component, judging whether the new-order component is a valve component, if not, enabling the new-order component to be a new central component to execute the steps in a recursion mode, and if so, not executing the recursion mode by taking the new-order component as the new central component. And the first collection obtained after the recursion is finished is the collection of all non-valve members and valve members adjacent to the target valve between the target valve and each adjacent valve member. For all the components in the first set, the target valve is necessarily one of the front and rear valves, and by performing the above steps on each valve component, all the valve components can be written into the front and rear valve attributes of the matched component.
The write-in module executes traversal operation on the components in the first collection and writes the codes of the target valves into the front and back valve attributes of each component in the first collection.
In an alternative embodiment, the matching write module 30 includes: the acquisition module is used for traversing all the components and recording the currently acquired component as a first component; the searching module is used for searching the components connected with the two sides of the first component and recording the components as second components; and the judging and writing module is used for judging whether the second component is a valve component, if not, the second component is made to be a new first component, and the steps are executed recursively, and if so, the recursion is ended, and the code of the second component is written into the front and rear valve attributes of the first component. In this embodiment, each member is sequentially defined as a first member, and by searching for members directly or indirectly connected to both sides of the first member until a valve member appears, the valve members appearing at both ends are front and rear valves of the first member. By executing the steps on each component, all the valve components can be written into the front and rear valve attributes of the matched components.
As shown in fig. 4, in an alternative embodiment, the method further includes: and the display module 40 is used for displaying the valve members at two ends of the member according to the front and rear valve attributes of the member. After the front and rear valve attributes of the target component are checked, the valve component to be searched can be accurately found based on the codes in the front and rear valve attributes, and the valve component to be searched is placed in the center of the screen according to the codes, so that the check by a worker is facilitated.
The various modules in the pipeline data processing apparatus described above may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 5. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a pipelined data processing method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 5 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
step S10: dividing the members in the modeling into valve members and non-valve members;
step S20: coding the valve members, wherein the codes correspond to the valve members one by one;
step S30: matching the components with the front and rear valve components, and writing the valve component codes corresponding to the components into the front and rear valve attributes of the components.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
step S10: dividing the members in the modeling into valve members and non-valve members;
step S20: coding the valve members, wherein the codes correspond to the valve members one by one;
step S30: matching the components with the front and rear valve components, and writing the valve component codes corresponding to the components into the front and rear valve attributes of the components.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
Through the technical scheme, each component in the BIM modeling terminal is matched with the front and rear valve components, so that the codes of the front and rear valve components can be found by clicking the front and rear valve attribute buttons of the component at the BIM display terminal, and the codes correspond to the valve components one by one, namely, one code corresponds to one valve component. Therefore, the front and rear valve members of the designated member can be found out quickly and displayed in a positioning way. When equipment and pipelines need to be overhauled, corresponding valve members needing to be closed can be found only by opening the front and rear valve attributes of the equipment or pipelines to be overhauled in the BIM display terminal, the valve members needing to be closed do not need to be found in a large number of drawings, and the valve searching method has the advantages of being high in efficiency and accuracy rate in valve searching.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (13)

1. A method for pipeline data processing, comprising:
dividing the members in the modeling into valve members and non-valve members;
coding the valve members, wherein the codes correspond to the valve members one by one;
matching the current component with the front and rear valve components, and writing the valve component code corresponding to the current component into the front and rear valve attributes of the component.
2. The pipeline data processing method according to claim 1, wherein matching the component with the valve class components before and after the component, and writing the valve class component code corresponding to the component into the valve attributes before and after the component comprises:
traversing the valve type components, and recording the currently acquired valve type components as target valves;
acquiring all the non-valve members between the target valve and each adjacent valve member and the valve members adjacent to the target valve, and forming a first collection;
writing the target valve into the front-to-back valve attributes of all the components in the first collection.
3. The method of claim 1, wherein obtaining all of the non-valve components between the target valve and each adjacent valve component and all of the valve components adjacent to the target valve and forming a first set comprises:
selecting a central component, and enabling the target valve to be the central component;
acquiring all components connected with the central component, and forming a first collection;
acquiring components directly connected with the components in the first collection, and forming a second collection;
means that appear in the second collection and do not appear in the first collection are new-order means, the new-order means being merged into the first collection;
judging whether the new-step component is a valve component or not, if not, enabling the new-step component to be a new central component and repeating the steps; if yes, stopping repeating the steps and finishing the first collection.
4. The pipeline data processing method according to claim 1, wherein matching the component with the valve class components before and after the component, and writing the valve class component code corresponding to the component into the valve attributes before and after the component comprises:
traversing all the components, and recording the currently acquired component as a first component;
searching the components connected with the two sides of the first component and recording as a second component;
and judging whether the second component is the valve component, if not, making the second component be a new first component, and recursively executing the steps, if so, ending the recursion, and writing the code of the second component into the front and rear valve attributes of the first component.
5. The pipeline data processing method according to claim 1, wherein after matching the current component with the valve type components before and after the current component, and writing the valve type component code corresponding to the current component into the valve attributes before and after the component, the method further comprises:
and displaying the valve members at two ends of the member based on the front and rear valve attributes of the member.
6. The pipeline data processing method according to claim 1, wherein the dividing of the components under modeling into the valve-like components and the non-valve-like components comprises:
acquiring attribute information of each component in the modeling;
and judging whether the component belongs to a valve component or not based on the attribute information, if so, defining the component as the valve component, and if not, defining the component as a non-valve component.
7. The pipeline data processing method according to any one of claims 1 to 6, wherein when the front and rear valve attributes of the component include more than one valve component, each valve component is separated by a punctuation mark.
8. A pipelined data processing apparatus, comprising:
the modeling classification module is used for classifying the components in modeling into valve components and non-valve components;
the coding module is used for coding the valve members, and the codes correspond to the valve members one by one;
and the matching writing module is used for matching the current component with the front and rear valve components and writing the valve component codes corresponding to the component into the front and rear valve attributes of the component.
9. The pipelined data processing apparatus of claim 8 wherein the matching write module comprises:
the acquisition module is used for traversing the valve type components and recording the currently acquired valve type components as target valves;
the matching module is used for acquiring all the non-valve members between the target valve and each adjacent valve member and the valve members adjacent to the target valve and forming a first collection;
a write module to write the target valve into front and back valve attributes of all the components in the first collection.
10. The pipelined data processing apparatus of claim 8 wherein the matching write module comprises:
the acquisition module is used for traversing all the components and recording the currently acquired component as a first component;
the searching module is used for searching the components connected with the two sides of the first component and recording the components as second components;
and the judging and writing module is used for judging whether the second component is the valve component, if not, the second component is made to be the new first component, and the steps are executed recursively, and if so, the recursion is ended, and the codes of the second component are written into the front and rear valve attributes of the first component.
11. The pipeline data processing apparatus of claim 8, further comprising:
and the display module is used for displaying the valve members at the two ends of the member according to the attributes of the front and the rear valves of the member.
12. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 7 are implemented when the computer program is executed by the processor.
13. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202010761456.5A 2020-07-31 2020-07-31 Pipeline data processing method, device, equipment, computer equipment and storage medium Active CN111859516B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010761456.5A CN111859516B (en) 2020-07-31 2020-07-31 Pipeline data processing method, device, equipment, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010761456.5A CN111859516B (en) 2020-07-31 2020-07-31 Pipeline data processing method, device, equipment, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111859516A true CN111859516A (en) 2020-10-30
CN111859516B CN111859516B (en) 2024-02-02

Family

ID=72953889

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010761456.5A Active CN111859516B (en) 2020-07-31 2020-07-31 Pipeline data processing method, device, equipment, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111859516B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103606063A (en) * 2013-12-05 2014-02-26 重庆中陆承大科技有限公司 Method and system for valve management
US20150309702A1 (en) * 2014-04-07 2015-10-29 Dresser, Inc. Method and system for generating a user interface for device diagnostics of a valve assembly and implementation thereof
CN108921946A (en) * 2018-06-25 2018-11-30 中国人民解放军陆军工程大学 A kind of hidden pipeline of engineering based on BIM+AR measures and spatial position automatic matching method
CN110457843A (en) * 2019-08-16 2019-11-15 同济大学建筑设计研究院(集团)有限公司 Three-dimensional pipeline model generation method, device, computer equipment and storage medium
CN110781537A (en) * 2019-09-20 2020-02-11 久瓴(上海)智能科技有限公司 Building modeling method and device, computer equipment and readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103606063A (en) * 2013-12-05 2014-02-26 重庆中陆承大科技有限公司 Method and system for valve management
US20150309702A1 (en) * 2014-04-07 2015-10-29 Dresser, Inc. Method and system for generating a user interface for device diagnostics of a valve assembly and implementation thereof
CN108921946A (en) * 2018-06-25 2018-11-30 中国人民解放军陆军工程大学 A kind of hidden pipeline of engineering based on BIM+AR measures and spatial position automatic matching method
CN110457843A (en) * 2019-08-16 2019-11-15 同济大学建筑设计研究院(集团)有限公司 Three-dimensional pipeline model generation method, device, computer equipment and storage medium
CN110781537A (en) * 2019-09-20 2020-02-11 久瓴(上海)智能科技有限公司 Building modeling method and device, computer equipment and readable storage medium

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
张晓华 等: "阀门零件分类编码与成组工艺的编制及应用", 阀门, no. 03, pages 13 - 14 *
胡小林 等: "AutoCAD .NET API 在管系原理图设绘中的应用", 船舶与海洋工程, vol. 32, no. 01, pages 45 - 50 *
胡小林 等: "AutoCAD.NET API在管系原理图设绘中的应用", 船舶与海洋工程, vol. 32, no. 01, pages 45 - 50 *
金国良 等: "阀门产品的零件编码研究", 机械制造, vol. 54, no. 626, pages 57 - 59 *

Also Published As

Publication number Publication date
CN111859516B (en) 2024-02-02

Similar Documents

Publication Publication Date Title
Hamledari et al. Automated schedule and progress updating of IFC-based 4D BIMs
US8155928B2 (en) Method for generating data of plant construction simulation and system thereof
US20220036372A1 (en) Method, device and storage medium for masterplan's compliance checking based on standards and codes of urban planning and building design
US20120235944A1 (en) Touchscreen entry of construction punch list items directly on a plan
CN109472044B (en) Cable calculation method, system and medium based on BIM
CN111191800B (en) Equipment model checking method and device, computer equipment and storage medium
CN114692250A (en) Method and device for reinforcing ribs of wall body and computer equipment
CN112926122A (en) Building construction pre-assembly method of pre-assembled three-dimensional effect graph based on BIM technology
Chen et al. Naming objects in BIM: A convention and a semiautomatic approach
CN113051183A (en) Test data recommendation method and system, electronic device and storage medium
Ignatova et al. Parametric geometric modeling in construction planning using industry foundation classes
CN111859516A (en) Pipeline data processing method, device, equipment, computer equipment and storage medium
Shin et al. Statistical evaluation of different sample sizes for local calibration process in the highway safety manual
Su et al. Enabling construction 4D topological analysis for effective construction planning
CN115238338A (en) Component model updating method and device and electronic equipment
CN112597041B (en) Cross-branch merging method, system, equipment and storage medium for code coverage rate
JP4663375B2 (en) Plant inspection system, plant inspection method, and plant inspection program
CN113361050A (en) Drainage decision system and method based on webpage end pipe network model
JP6444911B2 (en) Support system, support method, and support program
CN110968519A (en) Game testing method, device, server and storage medium
CN111310285B (en) Beam-through node generation method and device, computer equipment and storage medium
Bose et al. Impact of COBie on design activities
Fazarinc et al. Parametric pushover curve model for seismic performance assessment of building stock
CN110765508B (en) Method and device for generating tiger window gable truss node and storage medium
CN109213490A (en) A kind of program processing method, device and relevant device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant