CN113010944A - Model checking method, electronic equipment and related product - Google Patents
Model checking method, electronic equipment and related product Download PDFInfo
- Publication number
- CN113010944A CN113010944A CN202110216874.0A CN202110216874A CN113010944A CN 113010944 A CN113010944 A CN 113010944A CN 202110216874 A CN202110216874 A CN 202110216874A CN 113010944 A CN113010944 A CN 113010944A
- Authority
- CN
- China
- Prior art keywords
- target
- information
- primitive
- model
- cad drawing
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
- G06F30/13—Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Geometry (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Theoretical Computer Science (AREA)
- Civil Engineering (AREA)
- Structural Engineering (AREA)
- Computational Mathematics (AREA)
- Architecture (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Evolutionary Computation (AREA)
- General Engineering & Computer Science (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the application discloses a model checking method, electronic equipment and related products, which are applied to the electronic equipment, wherein the method comprises the following steps: acquiring a target CAD drawing, wherein the target CAD drawing is drawn based on a preset rule; carrying out BIM modeling according to the CAD drawing to obtain a target BIM model; analyzing the target CAD drawing to obtain target primitive information; verifying the target BIM according to the target primitive information to obtain a verification result; and outputting an inspection report according to the verification result. The consistency check between the BIM and the CAD drawing is realized by adopting the embodiment of the application.
Description
Technical Field
The application relates to the technical field of data processing, in particular to a model checking method, electronic equipment and related products.
Background
Computer Aided Design (CAD) refers to using a Computer and its graphic equipment to help a designer perform a Design work. In design, a computer is usually used for carrying out a large amount of calculation, analysis and comparison on different schemes so as to determine the optimal scheme; various design information, whether digital, literal or graphical, can be stored in the internal or external memory of the computer and can be quickly searched; designers usually start designing by using sketches, and the heavy work of changing the sketches into working drawings can be finished by a computer; the design result automatically generated by the computer can quickly make a figure, so that a designer can make judgment and modification on the design in time; the graphic data processing work related to editing, enlarging, reducing, translating, copying, rotating, etc. of the graphic can be performed by the computer. In the specific implementation, the condition that the Building Information model (Building Information Modeling) is inconsistent with the drawing model of the CAD drawing may occur, and further, the user verification difficulty is increased, so that the problem of how to implement consistency verification between the BIM model and the CAD drawing needs to be solved urgently.
Disclosure of Invention
The embodiment of the application provides a model checking method, electronic equipment and related products, and consistency checking between a BIM (building information modeling) model and a CAD (computer-aided design) drawing can be realized.
In a first aspect, an embodiment of the present application provides a model checking method, which is applied to an electronic device, and the method includes:
acquiring a target CAD drawing, wherein the target CAD drawing is drawn based on a preset rule;
carrying out BIM modeling according to the CAD drawing to obtain a target BIM model;
analyzing the target CAD drawing to obtain target primitive information;
verifying the target BIM according to the target primitive information to obtain a verification result;
and outputting an inspection report according to the verification result.
In a second aspect, an embodiment of the present application provides a model checking apparatus, which is applied to an electronic device, and the apparatus includes: an acquisition unit, a modeling unit, an analysis unit, a verification unit and an output unit, wherein,
the acquisition unit is used for acquiring a target CAD drawing, and the target CAD drawing is drawn based on a preset rule;
the modeling unit is used for carrying out BIM modeling according to the CAD drawing to obtain a target BIM model;
the analysis unit is used for analyzing the target CAD drawing to obtain target primitive information;
the checking unit is used for checking the target BIM model according to the target primitive information to obtain a checking result;
and the output unit is used for outputting an inspection report according to the verification result.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing the steps in the first aspect of the embodiment of the present application.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program enables a computer to perform some or all of the steps described in the first aspect of the embodiment of the present application.
In a fifth aspect, embodiments of the present application provide a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, where the computer program is operable to cause a computer to perform some or all of the steps as described in the first aspect of the embodiments of the present application. The computer program product may be a software installation package.
The embodiment of the application has the following beneficial effects:
the model checking method, the electronic device and the related product described in the embodiment of the application can be seen, and are applied to the electronic device, the target CAD drawing is obtained, the target CAD drawing is drawn based on the preset rule, BIM modeling is performed according to the CAD drawing to obtain the target BIM model, the target CAD drawing is analyzed to obtain the target primitive information, the target BIM model is checked according to the target primitive information to obtain the checking result, and the checking report is output according to the checking result.
Drawings
In order to more clearly illustrate the embodiments of the present application 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 of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic structural diagram of a system applying a building information model interaction method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a model checking method provided in an embodiment of the present application;
FIG. 3 is a schematic flow chart diagram of another model verification method provided in the embodiments of the present application;
fig. 4 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 5 is a block diagram of functional units of a model checking apparatus according to an embodiment of the present disclosure.
Detailed Description
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The electronic device described in the embodiment of the present application may include a smart Phone (e.g., an Android Phone, an iOS Phone, a Windows Phone, etc.), a tablet computer, a palm computer, a notebook computer, a video matrix, a monitoring platform, a Mobile Internet device (MID, Mobile Internet Devices), or a wearable device, which are merely examples, but not exhaustive, and include but are not limited to the foregoing Devices.
The following describes embodiments of the present application in detail.
A system architecture of an application building information model interaction method in the embodiment of the present application is described below with reference to fig. 1, where fig. 1 is a system architecture of an application building information model interaction method provided in the embodiment of the present application, the system architecture 100 includes a development device 110, a cloud server platform 120, and a user device 130, the development device 110 and the cloud server platform 120 are in communication connection, and the cloud server platform 120 and the user device 130 are in communication connection. The development device 110, the cloud server platform 120, and the user device 130 may be understood as the electronic devices.
The development device 110 may be configured to establish a basic building model, i.e., a BIM model, according to a target engineering drawing, where the target engineering drawing may be a set of CAD drawings, specifically, the CAD drawing set may be identified, each region may be componentized to gradually construct the basic building model, and the basic building model may be established by a level of Detail (LOD) technique, so that accuracy of the basic building model may be improved.
Further, the development device 110 may carry an illusion Engine 4(Unreal Engine 4, UE4), perform rendering processing on the basic building model to obtain a high-definition building model, and add an interaction function to the high-definition building model through the UE4 Engine to obtain a target building model, where the interaction function may include moving, zooming, and switching a view angle of the target building model, and is not specifically limited herein. The development device 110 may package the target building model into an EXE-formatted executable file or directly upload the executable file to the cloud service platform 120 in a pixel stream form for configuration of the cloud game service.
The cloud service platform 120 may include a cloud GPU server 121 and a cloud front-end server 122, and the cloud GPU server 121 and the cloud front-end server 122 are connected to each other.
In a possible embodiment, in a case that the development device 110 packages the target building model into an EXE-formatted executable file and uploads the EXE-formatted executable file to the cloud service platform 120, the cloud GPU server 121 is configured to start the EXE-formatted executable file and send the executable file to the cloud front-end server 122 in a form of a video stream, the cloud front-end server 122 is configured to receive data in the form of the video stream and generate a front-end interaction page and an interaction portal link according to the video stream data, the front-end interaction page is configured to enable a target user to interact with the target building model, and the interaction portal link is configured to jump to the target interaction page. The interactive portal link may be a Uniform Resource Locator (URL), a two-dimensional code, and the like, which is not limited herein.
In a possible embodiment, in a case that the development device 110 outputs the target building model to the cloud service platform 120 in a pixel stream, the pixel stream data may be received by a node service and deployed to the cloud server platform 120, the cloud GPU server 121 may process the pixel stream data in combination with the node service, and send the pixel stream data to the cloud front-end server 122 in a video stream, the cloud front-end server 122 is configured to receive the data in the video stream, and generate a front-end interaction page and an interaction portal link according to the video stream data, where the front-end interaction page is used for enabling a target user to interact with the target building model, and the interaction portal link is used for jumping to the target interaction page. The interactive portal link may be a Uniform Resource Locator (URL), a two-dimensional code, and the like, which is not limited herein.
IT is understood that the cloud Service platform 120 may provide the cloud game Service of the target building model by using Infrastructure as a Service (IaaS), which is to provide the IT Infrastructure as a Service to the outside through a network. In the service model, a data center does not need to be built by itself, infrastructure services including servers, storage, networks and the like are used in a renting mode, cloud game services with various channels can be provided for a target user through a cloud service platform of an IaaS architecture, the target user can log in the cloud game services of the target building model from a mobile terminal, a desktop computer terminal and a tablet computer terminal by using user equipment 130, and the target user can also log in from a webpage, a small program and the like, and the service model is not particularly limited. The portability of interaction between the target user and the target building model is greatly improved.
The target user can log in a page of the cloud game service of the target building model through the user equipment 130 and send the input information to interact with the target building model, and after receiving the input information of the user equipment 130, the cloud service platform 120 can generate streaming media data of the target building model according to the input information and send the streaming media data to the user equipment 130 for displaying. For example, in a scenario where the target building model is an underground garage, the entry information sent by the user equipment 130 is "move to the third left stall", and the cloud service platform 120 may generate video data of "move to the third left stall" according to the entry information, and synchronize the video data to the user equipment to complete the interaction.
Fig. 2 is a schematic flow chart of a model verification method provided in an embodiment of the present application, and as shown in the figure, the model verification method includes:
201. and obtaining a target CAD drawing, wherein the target CAD drawing is drawn based on a preset rule.
The preset rule may be preset or default, and the preset rule may be understood as a rule owned by the CAD system or a rule set by a person, such as line width, component style, component size, and the like, and is not limited herein.
Optionally, in the step 201, acquiring the target CAD drawing may include the following steps:
11. acquiring target identity information of a user;
12. verifying the target identity information;
13. when the target identity information is verified, acquiring a target item identifier input by the user;
14. determining a target storage identifier corresponding to the target project identifier according to a mapping relation between preset project identifiers and storage identifiers;
15. and acquiring the target CAD drawing from a preset database according to the target storage identification.
In this embodiment of the present application, the target identity information may be at least one of the following: fingerprint images, iris images, face images, vein images, voice print information, user names, MAC addresses, character strings, touch parameters, and the like, without limitation. The touch parameter may be at least one of: the touch trajectory of the touch display screen, the touch force of the touch display screen, the touch position of the touch display screen, the touch frequency of the touch display screen, the touch duration of the touch display screen, the touch area of the touch display screen, and the like, which are not limited herein. The target item identification may be at least one of: the name of the item, the number of the item, the time of starting the item, the rating of the item, the size of the item, the type of the item, etc., and is not limited thereto. The preset database can store at least one CAD drawing of the project.
In specific implementation, the mapping relationship between the preset item identifier and the storage identifier may be stored in the electronic device in advance. The electronic equipment can acquire target identity information of a user, further verify the target identity information, acquire a target project identification input by the user when the target identity information is verified, determine a target storage identification corresponding to the target project identification according to a mapping relation between preset project identifications and storage identifications, and acquire the target CAD drawing from a preset database according to the target storage identification, so that the corresponding CAD drawing can be acquired after the user identity information is verified, and the security of the CAD drawing is ensured.
202. And carrying out BIM modeling according to the CAD drawing to obtain a target BIM model.
In specific implementation, the electronic device may extract parameters of the CAD drawing to extract corresponding parameters, and then perform BIM modeling according to the parameters to obtain a target BIM module, which may be another display form of the target CAD drawing.
203. And analyzing the target CAD drawing to obtain target primitive information.
In this embodiment of the present application, the target primitive information may be at least one of the following: primitive type, primitive number, primitive location, etc., without limitation. The electronic device may parse the CAD drawing,
optionally, in step 203, analyzing the target CAD drawing to obtain target primitive information, the method may include the following steps:
31. acquiring target drawing layer information of the target CAD drawing;
32. acquiring target model component information of the BIM model;
33. according to a preset mapping relation between a drawing layer and a model component, screening the target drawing layer information and the target model component information to obtain first drawing layer information and first target model component information;
34. classifying the first drawing layer information to obtain at least one type of layer information;
35. extracting the primitive from the at least one type of layer information to obtain at least one primitive;
36. determining layer information corresponding to each primitive in the at least one primitive, and determining model component information corresponding to each primitive in the at least one primitive from the first target model component information;
37. and integrating the layer information corresponding to each primitive in the at least one primitive and the corresponding model component information to obtain the target primitive information.
The mapping relationship between a preset drawing layer and the model component can be prestored in the electronic device, and the target drawing layer information can be at least one of the following information: the type of the drawing layer, the position information of the drawing layer, the size information of the drawing layer, and the like, which are not limited herein. The object model component information may be at least one of: the position of the members, the type of the members, the size of the members, the relationship between the members, etc., are not limited herein.
In specific implementation, the electronic device may obtain target drawing layer information of a target CAD drawing, may also obtain target model component information of a BIM model, and filters the target drawing layer information and the target model component information according to a mapping relationship between a preset drawing layer and a model component to obtain first drawing layer information and first target model component information. The electronic device may further classify the first drawing layer information to obtain at least one type of layer information, perform primitive extraction on the at least one type of layer information to obtain at least one primitive, determine layer information corresponding to each primitive in the at least one primitive, and because there is a correlation between a layer and a component, further, may determine model component information corresponding to each primitive in the at least one primitive from the first target model component information, and integrate the layer information corresponding to each primitive in the at least one primitive and the corresponding model component information to obtain target primitive information, that is, the new country of the primitive may include the layer information and the corresponding model component information.
204. And verifying the target BIM model according to the target primitive information to obtain a verification result.
In a specific implementation, the electronic device may extract a corresponding first parameter according to the target primitive information, where the first parameter may be at least one of the following parameters: position, angle, size, relationship between adjacent members, number of layers, and the like, which are not limited herein, and extracting a corresponding second parameter from the target BIM model, where the second parameter may be at least one of: the position, the angle, the size, the relationship between adjacent members, the number of layers of the layers, and the like, which are not limited herein, are compared to obtain a verification result.
Optionally, in step 204, verifying the target BIM model according to the target primitive information to obtain a verification result, the method may include the following steps:
41. acquiring a first topological relation between design content and a component in the BIM;
42. extracting a second topological relation between the design content and the member from the target graphic element information;
43. and comparing the first topological relation with the second topological relation to obtain the verification result.
In a specific implementation, the design content may be a place where a user modifies the BIM model, the electronic device may obtain a first topological relation between the design content and the component in the BIM model, may further extract a second topological relation between the design content and the component from the target primitive information, and may further compare the first topological relation with the second topological relation to obtain a verification result, where the verification result may include a part that is successfully compared, and may also include a part that is not successfully compared.
205. And outputting an inspection report according to the verification result.
In specific implementation, the verification result comprises a final comparison result, so that an inspection report can be output according to the verification result, a user can conveniently and quickly verify the verification result, and parts which are not verified can be verified, so that the user experience is improved.
In the concrete implementation, a CAD drawing can be drawn according to a design specification and a drawing standard, a check rule can be configured according to check content and requirements, a BIM model is established according to a modeling standard and the CAD drawing, primitive information is extracted and analyzed from the CAD drawing in a classification mode according to the corresponding relation between a drawing layer and a model component, the integrity and the correctness of the BIM model component are checked and checked according to the topological relation between the design content and the component, and a check report is output.
Optionally, in step 205, outputting the check report according to the check result may include the following steps:
51. acquiring target template information of a reference inspection report;
52. acquiring a parameter identifier in the target template information;
53. extracting corresponding reference parameters from the checking result according to the parameter identification;
54. and importing the reference parameters into the inspection report according to the distribution condition of the parameter identifiers in the target template information, and outputting the imported inspection report.
The reference inspection report may be pre-stored in the electronic device or may be selected or configured by the user. Different template information may be included in the reference examination report, which may be understood as parameter identification, i.e. different locations exhibit different parameters. The parameter identification may be at least one of: parameter type, parameter name, etc., without limitation.
In a specific implementation, in the embodiment of the application, the electronic device may obtain target template information of a reference inspection report, obtain a parameter identifier in the target template information, extract a corresponding reference parameter from a verification result according to the parameter identifier, import the reference parameter into the inspection report according to a distribution condition of the parameter identifier in the target template information, output the imported inspection report, and further obtain the inspection report concerned by a user.
The model checking method described in the embodiment of the application can be seen, which is applied to electronic equipment, and is used for obtaining a target CAD drawing, drawing the target CAD drawing based on a preset rule, performing BIM modeling according to the CAD drawing to obtain a target BIM model, analyzing the target CAD drawing to obtain target primitive information, checking the target BIM model according to the target primitive information to obtain a checking result, and outputting a checking report according to the checking result. The method provided by the embodiment of the application has the characteristics of combining a parameterized interaction mode and specialization of a structural analysis program, replaces the traditional low-efficiency working mode of manual scheme-by-scheme modeling calculation, reduces the repetitive work of repeated trial calculation and adjustment, and improves the efficiency of the design of the top plate structure of the underground garage.
Referring to fig. 3, fig. 3 is a schematic flow chart of a model verification method according to an embodiment of the present application, and as shown in the figure, the model verification method is applied to an electronic device, and includes:
301. acquiring a target CAD drawing, wherein the target CAD drawing is drawn based on a preset rule;
302. carrying out BIM modeling according to the CAD drawing to obtain a target BIM model;
303. analyzing the target CAD drawing to obtain target primitive information;
304. verifying the target BIM according to the target primitive information to obtain a verification result;
305. acquiring target template information of a reference inspection report;
306. acquiring a parameter identifier in the target template information;
307. extracting corresponding reference parameters from the checking result according to the parameter identification;
308. and importing the reference parameters into the inspection report according to the distribution condition of the parameter identifiers in the target template information, and outputting the imported inspection report.
The specific description of steps 301 to 308 may refer to the corresponding steps of the model checking method described in fig. 2, and will not be described herein again.
The model checking method described in the embodiment of the application can be seen, which is applied to electronic equipment, and is used for obtaining a target CAD drawing, drawing the target CAD drawing based on a preset rule, performing BIM modeling according to the CAD drawing to obtain a target BIM model, analyzing the target CAD drawing to obtain target primitive information, checking the target BIM model according to the target primitive information to obtain a checking result, obtaining target template information of a reference checking report, obtaining a parameter identifier in the target template information, extracting a corresponding reference parameter from the checking result according to the parameter identifier, importing the reference parameter into the checking report according to the distribution condition of the parameter identifier in the target template information, and outputting the imported checking report, so that the primitive information of the CAD drawing can be compared with a BIM module to realize consistency checking between the BIM model and the CAD drawing.
In accordance with the foregoing embodiments, please refer to fig. 4, where fig. 4 is a schematic structural diagram of an electronic device provided in an embodiment of the present application, and as shown in the drawing, the electronic device includes a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and in an embodiment of the present application, the programs include instructions for performing the following steps:
acquiring a target CAD drawing, wherein the target CAD drawing is drawn based on a preset rule;
carrying out BIM modeling according to the CAD drawing to obtain a target BIM model;
analyzing the target CAD drawing to obtain target primitive information;
verifying the target BIM according to the target primitive information to obtain a verification result;
and outputting an inspection report according to the verification result.
It can be seen that, in the electronic device described in the embodiment of the present application, a target CAD drawing is obtained, the target CAD drawing is drawn based on a preset rule, BIM modeling is performed according to the CAD drawing to obtain a target BIM model, the target CAD drawing is analyzed to obtain target primitive information, the target BIM model is verified according to the target primitive information to obtain a verification result, and an inspection report is output according to the verification result.
Optionally, in the aspect of analyzing the target CAD drawing to obtain target primitive information, the program includes instructions for executing the following steps:
acquiring target drawing layer information of the target CAD drawing;
acquiring target model component information of the BIM model;
according to a preset mapping relation between a drawing layer and a model component, screening the target drawing layer information and the target model component information to obtain first drawing layer information and first target model component information;
classifying the first drawing layer information to obtain at least one type of layer information;
extracting the primitive from the at least one type of layer information to obtain at least one primitive;
determining layer information corresponding to each primitive in the at least one primitive, and determining model component information corresponding to each primitive in the at least one primitive from the first target model component information;
and integrating the layer information corresponding to each primitive in the at least one primitive and the corresponding model component information to obtain the target primitive information.
Optionally, in the aspect that the target BIM model is verified according to the target primitive information to obtain a verification result, the program includes instructions for executing the following steps:
acquiring a first topological relation between design content and a component in the BIM;
extracting a second topological relation between the design content and the member from the target graphic element information;
and comparing the first topological relation with the second topological relation to obtain the verification result.
Optionally, in the aspect of acquiring the target CAD drawing, the program includes instructions for performing the following steps:
acquiring target identity information of a user;
verifying the target identity information;
when the target identity information is verified, acquiring a target item identifier input by the user;
determining a target storage identifier corresponding to the target project identifier according to a mapping relation between preset project identifiers and storage identifiers;
and acquiring the target CAD drawing from a preset database according to the target storage identification.
Optionally, in the aspect of outputting the inspection report according to the verification result, the program includes instructions for performing the following steps:
acquiring target template information of a reference inspection report;
acquiring a parameter identifier in the target template information;
extracting corresponding reference parameters from the checking result according to the parameter identification;
and importing the reference parameters into the inspection report according to the distribution condition of the parameter identifiers in the target template information, and outputting the imported inspection report.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the electronic device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the above-mentioned functions. Those of skill in the art will readily appreciate that the present application is capable of hardware or a combination of hardware and computer software implementing the various illustrative elements and algorithm steps described in connection with the embodiments provided herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the electronic device may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 5 is a block diagram of functional units of the model checking apparatus 500 according to the embodiment of the present application. The model checking apparatus 500 is applied to an electronic device, and the apparatus 500 includes: an obtaining unit 501, a modeling unit 502, a parsing unit 503, a verification unit 504 and an output unit 505, wherein,
the obtaining unit 501 is configured to obtain a target CAD drawing, where the target CAD drawing is drawn based on a preset rule;
the modeling unit 502 is used for carrying out BIM modeling according to the CAD drawing to obtain a target BIM model;
the analyzing unit 503 is configured to analyze the target CAD drawing to obtain target primitive information;
the checking unit 504 is configured to check the target BIM model according to the target primitive information to obtain a checking result;
the output unit 505 is configured to output an inspection report according to the verification result.
The model checking device described in the embodiment of the application can be seen, which is applied to electronic equipment, and is used for obtaining a target CAD drawing, drawing the target CAD drawing based on a preset rule, performing BIM modeling according to the CAD drawing to obtain a target BIM model, analyzing the target CAD drawing to obtain target primitive information, checking the target BIM model according to the target primitive information to obtain a checking result, and outputting a checking report according to the checking result.
Optionally, in the aspect of analyzing the target CAD drawing to obtain target primitive information, the analyzing unit 503 is specifically configured to:
acquiring target drawing layer information of the target CAD drawing;
acquiring target model component information of the BIM model;
according to a preset mapping relation between a drawing layer and a model component, screening the target drawing layer information and the target model component information to obtain first drawing layer information and first target model component information;
classifying the first drawing layer information to obtain at least one type of layer information;
extracting the primitive from the at least one type of layer information to obtain at least one primitive;
determining layer information corresponding to each primitive in the at least one primitive, and determining model component information corresponding to each primitive in the at least one primitive from the first target model component information;
and integrating the layer information corresponding to each primitive in the at least one primitive and the corresponding model component information to obtain the target primitive information.
Optionally, in the aspect that the target BIM model is verified according to the target primitive information to obtain a verification result, the verification unit 504 is specifically configured to:
acquiring a first topological relation between design content and a component in the BIM;
extracting a second topological relation between the design content and the member from the target graphic element information;
and comparing the first topological relation with the second topological relation to obtain the verification result.
Optionally, in terms of acquiring the target CAD drawing, the acquiring unit 501 is specifically configured to:
acquiring target identity information of a user;
verifying the target identity information;
when the target identity information is verified, acquiring a target item identifier input by the user;
determining a target storage identifier corresponding to the target project identifier according to a mapping relation between preset project identifiers and storage identifiers;
and acquiring the target CAD drawing from a preset database according to the target storage identification.
Optionally, in the aspect of outputting the inspection report according to the verification result, the output unit 505 is specifically configured to:
acquiring target template information of a reference inspection report;
acquiring a parameter identifier in the target template information;
extracting corresponding reference parameters from the checking result according to the parameter identification;
and importing the reference parameters into the inspection report according to the distribution condition of the parameter identifiers in the target template information, and outputting the imported inspection report.
It can be understood that the functions of each program module of the model checking apparatus in this embodiment may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the related description of the foregoing method embodiment, which is not described herein again.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, the computer program enabling a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes an electronic device.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising an electronic device.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.
Claims (10)
1. A model checking method is applied to electronic equipment, and the method comprises the following steps:
acquiring a target CAD drawing, wherein the target CAD drawing is drawn based on a preset rule;
carrying out BIM modeling according to the CAD drawing to obtain a target BIM model;
analyzing the target CAD drawing to obtain target primitive information;
verifying the target BIM according to the target primitive information to obtain a verification result;
and outputting an inspection report according to the verification result.
2. The method of claim 1, wherein the parsing the target CAD drawing to obtain target primitive information comprises:
acquiring target drawing layer information of the target CAD drawing;
acquiring target model component information of the BIM model;
according to a preset mapping relation between a drawing layer and a model component, screening the target drawing layer information and the target model component information to obtain first drawing layer information and first target model component information;
classifying the first drawing layer information to obtain at least one type of layer information;
extracting the primitive from the at least one type of layer information to obtain at least one primitive;
determining layer information corresponding to each primitive in the at least one primitive, and determining model component information corresponding to each primitive in the at least one primitive from the first target model component information;
and integrating the layer information corresponding to each primitive in the at least one primitive and the corresponding model component information to obtain the target primitive information.
3. The method according to claim 1 or 2, wherein the verifying the target BIM model according to the target primitive information to obtain a verification result comprises:
acquiring a first topological relation between design content and a component in the BIM;
extracting a second topological relation between the design content and the member from the target graphic element information;
and comparing the first topological relation with the second topological relation to obtain the verification result.
4. The method according to claim 1 or 2, wherein the obtaining of the target CAD drawing comprises:
acquiring target identity information of a user;
verifying the target identity information;
when the target identity information is verified, acquiring a target item identifier input by the user;
determining a target storage identifier corresponding to the target project identifier according to a mapping relation between preset project identifiers and storage identifiers;
and acquiring the target CAD drawing from a preset database according to the target storage identification.
5. The method according to claim 1 or 2, wherein said outputting a check report according to the check result comprises:
acquiring target template information of a reference inspection report;
acquiring a parameter identifier in the target template information;
extracting corresponding reference parameters from the checking result according to the parameter identification;
and importing the reference parameters into the inspection report according to the distribution condition of the parameter identifiers in the target template information, and outputting the imported inspection report.
6. A model checking device is applied to electronic equipment, and the device comprises: an acquisition unit, a modeling unit, an analysis unit, a verification unit and an output unit, wherein,
the acquisition unit is used for acquiring a target CAD drawing, and the target CAD drawing is drawn based on a preset rule;
the modeling unit is used for carrying out BIM modeling according to the CAD drawing to obtain a target BIM model;
the analysis unit is used for analyzing the target CAD drawing to obtain target primitive information;
the checking unit is used for checking the target BIM model according to the target primitive information to obtain a checking result;
and the output unit is used for outputting an inspection report according to the verification result.
7. The apparatus according to claim 6, wherein, in the analyzing the target CAD drawing to obtain the target primitive information, the analyzing unit is specifically configured to:
acquiring target drawing layer information of the target CAD drawing;
acquiring target model component information of the BIM model;
according to a preset mapping relation between a drawing layer and a model component, screening the target drawing layer information and the target model component information to obtain first drawing layer information and first target model component information;
classifying the first drawing layer information to obtain at least one type of layer information;
extracting the primitive from the at least one type of layer information to obtain at least one primitive;
determining layer information corresponding to each primitive in the at least one primitive, and determining model component information corresponding to each primitive in the at least one primitive from the first target model component information;
and integrating the layer information corresponding to each primitive in the at least one primitive and the corresponding model component information to obtain the target primitive information.
8. The apparatus according to claim 6 or 7, wherein in the aspect of verifying the target BIM model according to the target primitive information to obtain a verification result, the verification unit is specifically configured to:
acquiring a first topological relation between design content and a component in the BIM;
extracting a second topological relation between the design content and the member from the target graphic element information;
and comparing the first topological relation with the second topological relation to obtain the verification result.
9. An electronic device comprising a processor, a memory for storing one or more programs and configured for execution by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-5.
10. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110216874.0A CN113010944B (en) | 2021-02-26 | 2021-02-26 | Model verification method, electronic equipment and related products |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110216874.0A CN113010944B (en) | 2021-02-26 | 2021-02-26 | Model verification method, electronic equipment and related products |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113010944A true CN113010944A (en) | 2021-06-22 |
CN113010944B CN113010944B (en) | 2023-06-20 |
Family
ID=76387274
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110216874.0A Active CN113010944B (en) | 2021-02-26 | 2021-02-26 | Model verification method, electronic equipment and related products |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113010944B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113656353A (en) * | 2021-08-03 | 2021-11-16 | 煤炭科学研究总院 | BIM model processing method and device, computer equipment and storage medium |
CN113688454A (en) * | 2021-08-24 | 2021-11-23 | 广联达科技股份有限公司 | Modeling method and device for protective cover seat, electronic equipment and readable storage medium |
CN114117618A (en) * | 2021-12-10 | 2022-03-01 | 万投(海南)企业管理有限公司 | BIM-based beam automatic checking method |
CN114494742A (en) * | 2021-12-20 | 2022-05-13 | 上海品览数据科技有限公司 | Building professional house type comparison method based on deep learning |
CN116110072A (en) * | 2023-04-12 | 2023-05-12 | 江西少科智能建造科技有限公司 | CAD drawing analysis method and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102222132A (en) * | 2011-05-19 | 2011-10-19 | 北京中科辅龙计算机技术股份有限公司 | Drawing data conformity checking method based on diagram topology structure |
CN102622463A (en) * | 2012-01-05 | 2012-08-01 | 山东电力工程咨询院有限公司 | Drawing-model uniformity based method for automatic check of design drawings |
CN109191576A (en) * | 2018-09-06 | 2019-01-11 | 宁波睿峰信息科技有限公司 | A kind of figure layer classification method that architectural drawing is converted to three-dimensional BIM model |
CN109993827A (en) * | 2019-03-29 | 2019-07-09 | 宁波睿峰信息科技有限公司 | A kind of elevation recognition methods that architectural drawing is converted to three-dimensional BIM model |
CN111931818A (en) * | 2020-07-10 | 2020-11-13 | 上海建工四建集团有限公司 | Automatic checking method and system for consistency of BIM and accessory information in drawing |
-
2021
- 2021-02-26 CN CN202110216874.0A patent/CN113010944B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102222132A (en) * | 2011-05-19 | 2011-10-19 | 北京中科辅龙计算机技术股份有限公司 | Drawing data conformity checking method based on diagram topology structure |
CN102622463A (en) * | 2012-01-05 | 2012-08-01 | 山东电力工程咨询院有限公司 | Drawing-model uniformity based method for automatic check of design drawings |
CN109191576A (en) * | 2018-09-06 | 2019-01-11 | 宁波睿峰信息科技有限公司 | A kind of figure layer classification method that architectural drawing is converted to three-dimensional BIM model |
CN109993827A (en) * | 2019-03-29 | 2019-07-09 | 宁波睿峰信息科技有限公司 | A kind of elevation recognition methods that architectural drawing is converted to three-dimensional BIM model |
CN111931818A (en) * | 2020-07-10 | 2020-11-13 | 上海建工四建集团有限公司 | Automatic checking method and system for consistency of BIM and accessory information in drawing |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113656353A (en) * | 2021-08-03 | 2021-11-16 | 煤炭科学研究总院 | BIM model processing method and device, computer equipment and storage medium |
CN113688454A (en) * | 2021-08-24 | 2021-11-23 | 广联达科技股份有限公司 | Modeling method and device for protective cover seat, electronic equipment and readable storage medium |
CN113688454B (en) * | 2021-08-24 | 2024-03-08 | 广联达科技股份有限公司 | Modeling method and device for protective housing, electronic equipment and readable storage medium |
CN114117618A (en) * | 2021-12-10 | 2022-03-01 | 万投(海南)企业管理有限公司 | BIM-based beam automatic checking method |
CN114494742A (en) * | 2021-12-20 | 2022-05-13 | 上海品览数据科技有限公司 | Building professional house type comparison method based on deep learning |
CN116110072A (en) * | 2023-04-12 | 2023-05-12 | 江西少科智能建造科技有限公司 | CAD drawing analysis method and system |
CN116110072B (en) * | 2023-04-12 | 2023-08-15 | 江西少科智能建造科技有限公司 | CAD drawing analysis method and system |
Also Published As
Publication number | Publication date |
---|---|
CN113010944B (en) | 2023-06-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113010944B (en) | Model verification method, electronic equipment and related products | |
CN112818456B (en) | Layer configuration method, electronic equipment and related products | |
CN113301430B (en) | Video clipping method, video clipping device, electronic equipment and storage medium | |
CN110765891B (en) | Engineering drawing identification method, electronic equipment and related product | |
US20170277703A1 (en) | Method for Displaying Webpage and Server | |
CN113435608B (en) | Method and device for generating federal learning model, computer equipment and storage medium | |
CN108415826B (en) | Application testing method, terminal device and computer readable storage medium | |
CN110798445B (en) | Public gateway interface testing method and device, computer equipment and storage medium | |
CN111950056B (en) | BIM display method and related equipment for building informatization model | |
CN111552633A (en) | Interface abnormal call testing method and device, computer equipment and storage medium | |
CN109683858B (en) | Data processing method and device | |
CN112328237B (en) | Scene display method and device, computer equipment and storage medium | |
CN110765893A (en) | Drawing file identification method, electronic equipment and related product | |
CN114417452B (en) | Building information model processing method and related device | |
CN115563600A (en) | Data auditing method and device, electronic equipment and storage medium | |
CN112433935A (en) | Test method, test device, electronic equipment and storage medium | |
CN112966256A (en) | Equipment management method based on building information model and related device | |
CN111649749A (en) | Navigation method based on BIM (building information modeling), electronic equipment and related product | |
CN106599637A (en) | Method and device for inputting verification code into verification interface | |
CN114061593A (en) | Navigation method based on building information model and related device | |
CN113869032A (en) | Analysis report output method, system, computer and readable storage medium | |
CN112752034A (en) | Video special effect verification method and device | |
CN112150431A (en) | UI visual walkthrough method and device, storage medium and electronic device | |
CN112596745A (en) | Model deployment method and device, electronic equipment and storage medium | |
CN111831992A (en) | Platform authority management method, electronic equipment and related products |
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 | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20230710 Address after: A601, Zhongke Naneng Building, No. 06 Yuexing 6th Road, Gaoxin District Community, Yuehai Street, Nanshan District, Shenzhen City, Guangdong Province, 518051 Patentee after: Shenzhen Wanyi Digital Technology Co.,Ltd. Address before: 519000 room 105-24914, No.6 Baohua Road, Hengqin New District, Zhuhai City, Guangdong Province (centralized office area) Patentee before: WANYI TECHNOLOGY Co.,Ltd. |