CN114116620A - Building data processing method and device, terminal and storage medium - Google Patents

Building data processing method and device, terminal and storage medium Download PDF

Info

Publication number
CN114116620A
CN114116620A CN202111248810.5A CN202111248810A CN114116620A CN 114116620 A CN114116620 A CN 114116620A CN 202111248810 A CN202111248810 A CN 202111248810A CN 114116620 A CN114116620 A CN 114116620A
Authority
CN
China
Prior art keywords
data
target
building
modeling
data streams
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.)
Pending
Application number
CN202111248810.5A
Other languages
Chinese (zh)
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.)
Shenzhen Huayang International Engineering Design Co ltd
Original Assignee
Shenzhen Huayang International Engineering Design 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 Shenzhen Huayang International Engineering Design Co ltd filed Critical Shenzhen Huayang International Engineering Design Co ltd
Priority to CN202111248810.5A priority Critical patent/CN114116620A/en
Publication of CN114116620A publication Critical patent/CN114116620A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • 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

Abstract

The invention discloses a building data processing method, a device, a terminal and a storage medium, wherein the method comprises the steps of obtaining a plurality of data streams corresponding to a target building, wherein the data streams are respectively used for reflecting modeling data of different floors in the target building; acquiring selection data of a user, and determining a target data stream from a plurality of data streams according to the selection data; and loading the target data stream. The invention can selectively load the building project data of the target building, thereby effectively reducing the data loading time, saving the time cost consumed by modeling, and solving the problem that the data loading time is too long because all building project files of the target building must be loaded when modeling software is used for modeling in the prior art.

Description

Building data processing method and device, terminal and storage medium
Technical Field
The present invention relates to the field of architectural design, and in particular, to a method, an apparatus, a terminal and a storage medium for processing architectural data.
Background
Revit is the name of a suite of software series available from Autodesk. The Revit series software is constructed for a Building Information Model (BIM) and can help architects to design, build and maintain buildings with better quality and higher energy efficiency. At present, when Revit is used for three-dimensional design, all building project files of a target building must be loaded, and then modeling can be started. The data loading time is too long due to the fact that the data amount corresponding to all the building project files is too large.
Thus, there is still a need for improvement and development of the prior art.
Disclosure of Invention
The present invention is to provide a building data processing method, device, terminal and storage medium, aiming at solving the problem that in the prior art, when modeling is performed by using modeling software, all building project files of a target building must be loaded, which results in too long data loading time.
The technical scheme adopted by the invention for solving the problems is as follows:
in a first aspect, an embodiment of the present invention provides a building data processing method, where the method includes:
acquiring a plurality of data streams corresponding to a target building, wherein the data streams are respectively used for reflecting modeling data of different floors in the target building;
acquiring selection data of a user, and determining a target data stream from a plurality of data streams according to the selection data;
and loading the target data stream.
In one embodiment, the obtaining a plurality of data streams corresponding to the target building includes:
acquiring a document state of a modeling document corresponding to the target building, wherein the modeling document is established based on preset modeling software;
and when the document state is a non-initial opening state, acquiring a plurality of data streams.
In one embodiment, when the document state is a non-first-time-on state, acquiring a plurality of data streams includes:
when the document state is a non-initial-opening state, determining a target storage file corresponding to the target building from storage files corresponding to the modeling software;
and acquiring a plurality of data streams from the target storage file.
In one embodiment, the process of constructing the target storage file includes:
when the document state is a first opening state, acquiring integral modeling data corresponding to the target building;
classifying the integral modeling data to obtain a plurality of data streams;
and generating the target storage file according to the data streams.
In one embodiment, the determining a target data stream from the plurality of data streams according to the selection data includes:
determining a target floor according to the selection data;
and determining a target data stream from a plurality of data streams according to the target floor.
In one embodiment, the loading the target data stream includes:
converting the target data stream into local model data;
and loading the local model data.
In one embodiment, the method further comprises:
and constructing a local building model corresponding to the target building according to the loaded local model data.
In a second aspect, an embodiment of the present invention further provides a building data processing apparatus, where the apparatus includes:
the system comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring a building project file corresponding to a target building and classifying the building project file to obtain a plurality of data streams, and the data streams respectively correspond to different floors in the target building;
the selection module is used for acquiring selection data of a user and determining a target data stream from a plurality of data streams according to the selection data;
and the modeling module is used for loading the target data stream in preset modeling software.
In a third aspect, an embodiment of the present invention further provides a terminal, where the terminal includes a memory and one or more processors; the memory stores one or more programs; the program comprising instructions for carrying out the building data processing method as described in any one of the above; the processor is configured to execute the program.
In a fourth aspect, the present invention further provides a computer-readable storage medium, on which a plurality of instructions are stored, wherein the instructions are adapted to be loaded and executed by a processor to implement any of the above-mentioned steps of the building data processing method.
The invention has the beneficial effects that: the method comprises the steps of obtaining a plurality of data streams corresponding to a target building, wherein the data streams are respectively used for reflecting modeling data of different floors in the target building; acquiring selection data of a user, and determining a target data stream from a plurality of data streams according to the selection data; and loading the target data stream. The invention can selectively load the building project data of the target building, thereby effectively reducing the data loading time, saving the time cost consumed by modeling, and solving the problem that the data loading time is too long because all building project files of the target building must be loaded when modeling software is used for modeling in the prior art.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a building data processing method according to an embodiment of the present invention.
Fig. 2 is a schematic diagram of a window for selecting a loading floor according to an embodiment of the present invention.
Fig. 3 is a connection diagram of internal modules of the building data processing apparatus according to the embodiment of the present invention.
Fig. 4 is a schematic block diagram of a terminal according to an embodiment of the present invention.
Detailed Description
The invention discloses a building data processing method, a building data processing device, a building data processing terminal and a storage medium, and in order to make the purpose, technical scheme and effect of the invention clearer and clearer, the invention is further described in detail by referring to the attached drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including 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. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
Revit is the name of a suite of software series available from Autodesk. The Revit series software is constructed for a Building Information Model (BIM) and can help architects to design, build and maintain buildings with better quality and higher energy efficiency. At present, when Revit is used for three-dimensional design, all building project files of a target building must be loaded, and then modeling can be started. The data loading time is too long due to the fact that the data amount corresponding to all the building project files is too large.
In view of the foregoing drawbacks of the prior art, the present invention provides a building data processing method, which includes obtaining a plurality of data streams corresponding to a target building, where the data streams are respectively used for reflecting modeling data of different floors in the target building; acquiring selection data of a user, and determining a target data stream from a plurality of data streams according to the selection data; and loading the target data stream. The invention can selectively load the building project data of the target building, thereby effectively reducing the data loading time, saving the time cost consumed by modeling, and solving the problem that the data loading time is too long because all building project files of the target building must be loaded when modeling software is used for modeling in the prior art.
As shown in fig. 1, the method comprises the steps of:
step S100, a plurality of data streams corresponding to a target building are obtained, wherein the data streams are respectively used for reflecting modeling data of different floors in the target building.
Specifically, the target building in the present embodiment may be any building for which a model needs to be currently constructed. Construction models are one of the tools commonly used in the construction industry. The building model is important in the design work of the building industry because the building model can be used for simulating the construction of a building and shows the image and the concrete of the building. In the existing modeling method, all modeling data corresponding to a target building need to be loaded during each modeling, a large amount of loading time needs to be consumed, and a user needs to refer to a specific local model when performing three-dimensional design of the building, so that the loaded data utilization rate is low, and a large amount of time cost is wasted. In order to improve the modeling efficiency and save the time cost, the embodiment adopts a data classification method, and a plurality of data streams classified in advance according to floors are firstly acquired during each modeling, that is, each data stream is modeling data corresponding to one floor of a target building. Because the data streams are classified data streams, a user can select the data streams of a specific category from the classified data streams according to the self requirement for modeling, and does not need to load all the data streams at one time for modeling, so that the data loading time is greatly shortened.
In an implementation manner, the acquiring a plurality of data streams corresponding to a target building specifically includes the following steps:
s101, acquiring a document state of a modeling document corresponding to the target building, wherein the modeling document is established based on preset modeling software;
and step S102, when the document state is a non-initial opening state, acquiring a plurality of data streams.
Specifically, the technical solution in this embodiment is mainly implemented for a modeling document that does not first start a target building. In brief, when modeling is performed on a target building, a modeling document corresponding to the target building is first established through modeling software, and then each time modeling is performed, updating of the model is performed based on the modeling document. Specifically, the data classification process of the present embodiment is completed when the modeling document is first created. And subsequently, each time the modeling document is opened to continue modeling, only the data stream of the specific category required by the user for modeling needs to be determined from the classified data streams to be loaded.
In an implementation manner, the step S102 specifically includes the following steps:
step S1021, when the document state is a non-initial starting state, determining a target storage file corresponding to the target building from storage files corresponding to the modeling software;
step S1022, obtaining a plurality of data streams from the target storage file.
Specifically, when the document state is a non-first-time-on state, it indicates that there is currently already a classified data flow for constructing the model of the target building. The modeling software is not only used for modeling a target building, but also can be used for modeling other buildings, so that the storage file of the modeling software actually contains a plurality of storage files respectively corresponding to different buildings. In order to obtain the classified data streams for constructing the model of the target building, a storage file corresponding to the target building, i.e., a target storage file, needs to be determined from the storage file of the modeling software, where the target storage file includes a plurality of classified data streams, and the data streams can be used for constructing the model of the target building.
In an implementation manner, the process of constructing the target storage file specifically includes the following steps:
s1, when the document state is a first opening state, acquiring integral modeling data corresponding to the target building;
s2, classifying the integral modeling data to obtain a plurality of data streams;
and step S3, generating the target storage file according to a plurality of data streams.
Specifically, when the document state is the first-on state, it means that modeling is performed for the target building when the first time is, and therefore there is no data flow for constructing a model of the target building that has been classified, and therefore the entire modeling data of the target building must be acquired when the first time is. In order to facilitate the subsequent continuous modeling of the target building and reduce the data loading time, after the modeling document of the target building is started for the first time, the whole modeling data needing to be acquired is classified, and a plurality of classified data streams are stored to obtain a target storage file.
For example, when it is detected that a user creates a Revit modeling document, the overall modeling data of the target building is obtained. When the modeling document is detected to be closed by a user, a DocumentClosing event in the Revit API is triggered, the current overall modeling data is classified according to floors to obtain a plurality of data streams, and the data streams are stored as target storage files.
As shown in fig. 2, the method further comprises the steps of:
and S200, acquiring selection data of a user, and determining a target data stream from a plurality of data streams according to the selection data.
Specifically, the data streams classified according to the present embodiment have a plurality of types, and each type of data stream corresponds to a specific floor. Because the selection data of the user can reflect the floor which the user wants to model, the data stream which is needed by the user to model currently can be determined from various data streams based on the selection data, namely the target data stream is obtained. And then, the terminal can be used for loading only the target data stream in a targeted manner so as to reduce the data loading time.
For example, as shown in fig. 2, a window for selecting a floor to load may be displayed to a user, the selected data obtained by detecting a click operation of the user in the window are floors 1 and 2, and then it is determined that data streams corresponding to the floors 1 and 2 are both target data streams.
In one implementation, the determining a target data stream from the plurality of data streams according to the selection data specifically includes the following steps:
step S201, determining a target floor according to the selection data;
and step S202, determining a target data stream from a plurality of data streams according to the target floor.
Specifically, according to the selection data of the user, the floor that the user wants to model can be determined, and the floor is the target floor. And searching the data stream corresponding to the target floor in the multiple data streams to obtain the target data stream needing to be loaded at the time.
As shown in fig. 1, the method further comprises the steps of:
and step S300, loading the target data stream.
Specifically, in order to reduce the data loading time, the terminal does not load other data streams except for the target data stream. Through modeling software and the loaded target data stream, a user can generate a model corresponding to a specific floor of a target building.
In an implementation manner, the step S300 specifically includes the following steps:
step S301, converting the target data stream into local model data;
and S302, loading the local model data.
Specifically, in order to perform modeling by modeling software, in this embodiment, after determining a target data stream that needs to be loaded, format conversion needs to be performed on the target data stream so that the target data stream is converted into local model data that can be opened in the modeling software, and then the local model data is loaded.
In one implementation, the modeling software may be Revit software.
In one implementation, the method further comprises the steps of:
and S303, constructing a local building model corresponding to the target building according to the loaded local model data.
Specifically, after the local model data is loaded, the user can perform modeling in modeling software according to the loaded local model data to obtain a local building model corresponding to a specific floor, and the user can observe the three-dimensional structure of the floor through the local building model.
Based on the above embodiment, the present invention further provides a building data processing apparatus, as shown in fig. 3, the apparatus includes:
the system comprises an acquisition module 01, a storage module and a processing module, wherein the acquisition module 01 is used for acquiring a building project file corresponding to a target building and classifying the building project file to obtain a plurality of data streams, and the data streams respectively correspond to different floors in the target building;
the selection module 02 is used for acquiring selection data of a user and determining a target data stream from a plurality of data streams according to the selection data;
and the modeling module 03 is configured to load the target data stream in preset modeling software.
Based on the above embodiments, the present invention further provides a terminal, and a schematic block diagram thereof may be as shown in fig. 4. The terminal comprises a processor, a memory, a network interface and a display screen which are connected through a system bus. Wherein the processor of the terminal is configured to provide computing and control capabilities. The memory of the terminal 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 terminal is used for connecting and communicating with an external terminal through a network. The computer program is executed by a processor to implement a building data processing method. The display screen of the terminal can be a liquid crystal display screen or an electronic ink display screen.
It will be understood by those skilled in the art that the block diagram of fig. 4 is a block diagram of only a portion of the structure associated with the inventive arrangements and is not intended to limit the terminals to which the inventive arrangements may be applied, and that a particular terminal may include more or less components than those shown, or may have some components combined, or may have a different arrangement of components.
In one implementation, one or more programs are stored in a memory of the terminal and configured to be executed by one or more processors, the one or more programs including instructions for performing a building data processing method.
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 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, databases, or other media used in embodiments provided herein may include non-volatile and/or volatile memory. 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).
In summary, the present invention discloses a building data processing method, an apparatus, a terminal and a storage medium, wherein the method obtains a plurality of data streams corresponding to a target building, wherein the data streams are respectively used for reflecting modeling data of different floors in the target building; acquiring selection data of a user, and determining a target data stream from a plurality of data streams according to the selection data; and loading the target data stream. The invention can selectively load the building project data of the target building, thereby effectively reducing the data loading time, saving the time cost consumed by modeling, and solving the problem that the data loading time is too long because all building project files of the target building must be loaded when modeling software is used for modeling in the prior art.
It is to be understood that the invention is not limited to the examples described above, but that modifications and variations may be effected thereto by those of ordinary skill in the art in light of the foregoing description, and that all such modifications and variations are intended to be within the scope of the invention as defined by the appended claims.

Claims (10)

1. A method of building data processing, the method comprising:
acquiring a plurality of data streams corresponding to a target building, wherein the data streams are respectively used for reflecting modeling data of different floors in the target building;
acquiring selection data of a user, and determining a target data stream from a plurality of data streams according to the selection data;
and loading the target data stream.
2. The building data processing method according to claim 1, wherein the obtaining of the plurality of data streams corresponding to the target building comprises:
acquiring a document state of a modeling document corresponding to the target building, wherein the modeling document is established based on preset modeling software;
and when the document state is a non-initial opening state, acquiring a plurality of data streams.
3. The building data processing method according to claim 2, wherein when the document state is a non-first-time-on state, acquiring a number of the data streams comprises:
when the document state is a non-initial-opening state, determining a target storage file corresponding to the target building from storage files corresponding to the modeling software;
and acquiring a plurality of data streams from the target storage file.
4. The building data processing method according to claim 2, wherein the construction process of the target storage file includes:
when the document state is a first opening state, acquiring integral modeling data corresponding to the target building;
classifying the integral modeling data to obtain a plurality of data streams;
and generating the target storage file according to the data streams.
5. The building data processing method of claim 1, wherein said determining a target data stream from a plurality of said data streams based on said selection data comprises:
determining a target floor according to the selection data;
and determining a target data stream from a plurality of data streams according to the target floor.
6. The building data processing method of claim 1, wherein the loading the target data stream comprises:
converting the target data stream into local model data;
and loading the local model data.
7. The building data processing method according to claim 6, wherein the method further comprises:
and constructing a local building model corresponding to the target building according to the loaded local model data.
8. A construction data processing apparatus, characterized in that the apparatus comprises:
the system comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring a building project file corresponding to a target building and classifying the building project file to obtain a plurality of data streams, and the data streams respectively correspond to different floors in the target building;
the selection module is used for acquiring selection data of a user and determining a target data stream from a plurality of data streams according to the selection data;
and the modeling module is used for loading the target data stream in preset modeling software.
9. A terminal, comprising a memory and one or more processors; the memory stores one or more programs; the program comprising instructions for performing the building data processing method of any one of claims 1-7; the processor is configured to execute the program.
10. A computer readable storage medium having stored thereon a plurality of instructions adapted to be loaded and executed by a processor to perform the steps of the building data processing method according to any of the preceding claims 1-7.
CN202111248810.5A 2021-10-26 2021-10-26 Building data processing method and device, terminal and storage medium Pending CN114116620A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111248810.5A CN114116620A (en) 2021-10-26 2021-10-26 Building data processing method and device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111248810.5A CN114116620A (en) 2021-10-26 2021-10-26 Building data processing method and device, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN114116620A true CN114116620A (en) 2022-03-01

Family

ID=80376965

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111248810.5A Pending CN114116620A (en) 2021-10-26 2021-10-26 Building data processing method and device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN114116620A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115829297A (en) * 2023-02-09 2023-03-21 中建科技集团有限公司 Method and device for generating work package of assembly type building, terminal and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115829297A (en) * 2023-02-09 2023-03-21 中建科技集团有限公司 Method and device for generating work package of assembly type building, terminal and storage medium

Similar Documents

Publication Publication Date Title
CN108446190B (en) Interface test method and device
CN111078339A (en) Interface element positioning method and device, computer equipment and storage medium
CN111061475A (en) Software code generation method and device, computer equipment and storage medium
CN111857777B (en) System updating method and device based on double-core intelligent ammeter and computer equipment
CN115829297B (en) Work package generation method, device, terminal and storage medium for assembly type building
CN105204871A (en) Plug-in type development method and device
CN114116620A (en) Building data processing method and device, terminal and storage medium
CN108255914B (en) Webpage generation method and application server
CN113094125B (en) Business process processing method, device, server and storage medium
CA3149711A1 (en) Method of and device for tracing logical node in automation testing, program and medium
CN101136780A (en) Method, system to obtain user command information, and user command registered device
CN110704898B (en) Method for placing connecting node between tiger window model and roof truss girder model and product
CN112416350A (en) View page construction method and device, computer equipment and storage medium
WO2023071101A1 (en) Io task processing method and apparatus, and computer device and storage medium
CN111290774A (en) Method and device for upgrading solid state disk firmware in batch based on Windows system
CN111125809B (en) Building steel column generation method and device, computer equipment and storage medium
CN115471111A (en) Work order management method based on building information model and intelligent construction site
CN111159796B (en) Method and device for generating beam of building, computer equipment and storage medium
CN114756938A (en) Data processing method, device and equipment and readable storage medium
CN110737934B (en) Tiger window roof truss node generation method, device and storage medium
CN111459564B (en) boot stage initialization compatible implementation method, system and computer equipment
CN111079262B (en) Pipeline hoisting structure generation method and device, computer equipment and storage medium
CN110781536B (en) Building flat skylight node generation method, system, computer equipment and storage medium
CN110704899B (en) Connecting node placement method and device for tiger window model and roof opening model
CN112328385B (en) Multi-scene Kubernetes task submission method based on plug-in

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