CN113010944B - Model verification method, electronic equipment and related products - Google Patents

Model verification method, electronic equipment and related products Download PDF

Info

Publication number
CN113010944B
CN113010944B CN202110216874.0A CN202110216874A CN113010944B CN 113010944 B CN113010944 B CN 113010944B CN 202110216874 A CN202110216874 A CN 202110216874A CN 113010944 B CN113010944 B CN 113010944B
Authority
CN
China
Prior art keywords
target
information
model
primitive
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.)
Active
Application number
CN202110216874.0A
Other languages
Chinese (zh)
Other versions
CN113010944A (en
Inventor
赵耀宗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Wanyi Digital Technology Co ltd
Original Assignee
Wanyi Technology 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 Wanyi Technology Co Ltd filed Critical Wanyi Technology Co Ltd
Priority to CN202110216874.0A priority Critical patent/CN113010944B/en
Publication of CN113010944A publication Critical patent/CN113010944A/en
Application granted granted Critical
Publication of CN113010944B publication Critical patent/CN113010944B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/13Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Abstract

The embodiment of the application discloses a model verification 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; 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 check report according to the check result. By adopting the embodiment of the application, the consistency check between the BIM model and the CAD drawing is realized.

Description

Model verification method, electronic equipment and related products
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 (Computer Aided Design, CAD) refers to the use of computers and their graphics devices to assist designers in performing design work. In the design, a large number of calculation, analysis and comparison are usually carried out on different schemes by a computer so as to determine an optimal scheme; various design information, whether digital, literal or graphic, can be stored in the memory or external memory of the computer and can be quickly searched; the designer typically begins the design with a sketch, and the heavy task of changing the sketch into a work drawing can be handed to a computer for completion; the design result automatically generated by the computer can be quickly made into a graph, so that a designer can judge and modify the design in time; graphic data processing work related to editing, enlarging, reducing, translating, copying, rotating, etc. of graphics can be performed by a computer. In a specific implementation, the situation that the building information model (Building Information Modeling) is inconsistent with the drawing model of the CAD drawing may occur, so that the user verification difficulty is increased, and therefore, the problem of how to realize the consistency verification between the BIM model and the CAD drawing is to be solved.
Disclosure of Invention
The embodiment of the application provides a model verification method, electronic equipment and related products, which can realize consistency verification between a BIM model and a CAD drawing.
In a first aspect, an embodiment of the present application provides a model verification 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;
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 check report according to the check result.
In a second aspect, an embodiment of the present application provides a model checking device, applied to an electronic device, where the device includes: 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 performing 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 verification unit is used for verifying the target BIM model according to the target primitive information to obtain a verification result;
the output unit is used for outputting a check report according to the check 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 programs include instructions for performing the steps in the first aspect of the embodiment of the present application.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program causes a computer to perform some or all of the steps as described in the first aspect of the embodiments of the present application.
In a fifth aspect, embodiments of the present application provide a computer program product, wherein the computer program product comprises a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps described in the first aspect of the embodiments of the present application. The computer program product may be a software installation package.
By implementing the embodiment of the application, the following beneficial effects are achieved:
it can be seen that the model verification method, the electronic device and the related products described in the embodiments of the present application are applied to the electronic device, and are used for obtaining a target CAD drawing, where the target CAD drawing is drawn 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, verifying the target BIM model according to the target primitive information to obtain a verification result, and outputting a verification report according to the verification result, so that the primitive information of the CAD drawing can be compared with the BIM module to achieve consistency verification between the BIM model and the CAD drawing.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of a system for applying a building information model interaction method according to an embodiment of the present application;
FIG. 2 is a schematic flow chart of a model verification method according to an embodiment of the present application;
FIG. 3 is a flow chart of another method for verifying a model according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 5 is a functional unit composition block diagram of a model checking device provided in an embodiment of the present application.
Detailed Description
The terms first, second and the like in the description and in the claims of the present application and in the above-described figures, are used for distinguishing between different objects and not for describing a particular sequential order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may 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 may be included in at least one embodiment of the present application. The appearances of such phrases 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. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
In order to make the present application solution better understood by those skilled in the art, the following description will clearly and completely describe the technical solution in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The electronic device described in the embodiments of the present application may include a smart Phone (such as an Android mobile Phone, an iOS mobile Phone, a Windows Phone mobile 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), a wearable device, etc., which are merely examples, but not exhaustive, including but not limited to the above devices, and of course, the above electronic device may also be a server, for example, a cloud server.
The embodiments of the present application are described in detail below.
A system architecture to which the building information model interaction method is applied in the embodiments of the present application is described below with reference to fig. 1, and fig. 1 is a system architecture to which the building information model interaction method is applied provided in the embodiments of the present application, where the system architecture 100 includes a development device 110, a cloud server platform 120, and a user device 130, where the development device 110 is in communication connection with the cloud server platform 120, and where the cloud server platform 120 is in communication connection with the user device 130. 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 build a basic building model, i.e., a BIM model, according to a target engineering drawing, where the target engineering drawing may be a collection of CAD drawings, specifically, the collection of CAD drawings may be identified, each region may be componentized to gradually build the basic building model, and the basic building model may be built by a level of Detail (LOD) technique, so that accuracy of the basic building model may be improved.
Further, the development device 110 may mount a phantom Engine 4 (UE 4), perform rendering processing on the basic building model to obtain a high-definition building model, and add an interactive function to the high-definition building model through the UE4 Engine to obtain a target building model, where the interactive function may include moving, zooming, switching the viewing angle, and the like of the target building model, and is not limited herein. The development device 110 may package the target building model into an executable file in EXE format or directly upload the executable file in pixel stream form to the cloud service platform 120 for configuring the cloud game service.
The cloud service platform 120 may include a cloud GPU server 121 and a cloud front-end server 122, where the cloud GPU server 121 and the cloud front-end server 122 are connected to each other.
In one possible embodiment, in the case that the development device 110 packages the target building model into an executable file in EXE format and uploads the executable file to the cloud service platform 120, the cloud GPU server 121 is configured to start the executable file in EXE format and send the executable file to the cloud front-end server 122 in a video stream, and the cloud front-end server 122 is configured to receive the data in the video stream format 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 configured to enable the 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 (Uniform Resource Locator, URL), a two-dimensional code, etc., which is not particularly limited herein.
In one possible embodiment, in a case where the development device 110 outputs the target building model to the cloud service platform 120 in a pixel stream format, 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, send the pixel stream data in a video stream format to the cloud front end server 122, and the cloud front end server 122 is configured to receive the data in the video stream format 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 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 (Uniform Resource Locator, URL), a two-dimensional code, etc., which is not particularly limited herein.
IT will be appreciated that the cloud service platform 120 may employ infrastructure as a service (Infrastructure as a Service, iaaS) to provide the cloud game service of the target building model, where IaaS refers to providing IT infrastructure as a service to the outside through the network. In this service model, an infrastructure service is not required to be built by itself, but includes a server, a storage and a network through a renting manner, and a cloud service platform of the IaaS architecture can provide a plurality of channels of cloud game services for a target user, and the target user can log in the cloud game service of the target building model from a mobile terminal, a desktop computer terminal and a tablet computer terminal by using the user equipment 130, and can log in from a webpage, an applet and the like, which is not limited in detail herein. The portability of interaction between the target user and the target building model is greatly improved.
The target user may log in a page of a cloud game service of the target building model through the user device 130, send input information to interact with the target building model, and after receiving the input information of the user device 130, the cloud service platform 120 may generate streaming media data of the target building model according to the input information, and send the streaming media data to the user device 130 for display. For example, in a scenario where the target building model is an underground garage, the input information sent by the user device 130 is "move to the third parking space on the left", and the cloud service platform 120 may generate video data of "move to the third parking space on the left" according to the input information, and synchronize the video data to the user device to complete the interaction.
Fig. 2 is a flow chart of a model verification method provided in an embodiment of the present application, as shown in the drawing, 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 of the CAD system or a rule set manually, for example, a line width, a member style, a member size, and the like, which are not limited herein.
Optionally, the step 201 of obtaining 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 item identifier according to a mapping relation between a preset item identifier and a storage identifier;
15. and acquiring the target CAD drawing from a preset database according to the target storage identifier.
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, voiceprint information, user names, MAC addresses, character strings, touch parameters, and the like, are not limited herein. 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 number of times of touch of the touch display screen, the touch duration of the touch display screen, the touch area of the touch display screen, and the like are not limited herein. The target item identification may be at least one of: the item name, item number, item start time, item level, item size, item type, etc., are not limited. CAD drawings of at least one item can be stored in a preset database.
In a specific implementation, a mapping relationship between a preset item identifier and a storage identifier may be stored in the electronic device in advance. The electronic equipment can acquire target identity information of a user, further, can verify the target identity information, acquires target item identifiers input by the user when the target identity information is verified, determines target storage identifiers corresponding to the target item identifiers according to a mapping relation between the preset item identifiers and the storage identifiers, and can acquire the target CAD drawing from a preset database according to the target storage identifiers, so that the corresponding CAD drawing can be acquired after the user identity is verified, and the safety of the CAD drawing is guaranteed.
202. And carrying out BIM modeling according to the CAD drawing to obtain a target BIM model.
In a specific implementation, the electronic device may perform parameter extraction on the CAD drawing to extract a corresponding parameter, and further perform BIM modeling according to the parameter to obtain a target BIM module, where the target BIM module 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 types, primitive numbers, primitive locations, etc., are not limited herein. The electronic device may parse the CAD drawing,
Optionally, in the step 203, the analyzing the target CAD drawing to obtain the target primitive information 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;
33. screening the target drawing layer information and the target model component information according to a mapping relation between a preset drawing layer and a model component 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 graphic elements of the at least one type of graphic layer information to obtain at least one graphic element;
36. determining layer information corresponding to each of the at least one primitive, and determining model member information corresponding to each of the at least one primitive from the first target model member 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 the preset drawing layer and the model member may be stored in the electronic device in advance, and the target drawing layer information may be at least one of the following: the drawing layer type, drawing layer position information, drawing layer size information, and the like are not limited herein. The target model component information may be at least one of: the component position, component type, component size, relationship between components, etc., are not limited herein.
In a specific implementation, the electronic device may acquire target drawing layer information of a target CAD drawing, may also acquire target model component information of a BIM model, and screen 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, extract 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 further determine model component information corresponding to each primitive in the at least one primitive from the first target model component information due to relevance between the primitive and the component, 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, i.e. the primitive new country 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: the position, angle, size, relationship between adjacent components, layer count, etc., are not limited herein, and a corresponding second parameter is extracted from the target BIM model, where the second parameter may be at least one of: the position, angle, size, relationship between adjacent members, layer number, and the like are not limited herein, and parameters of the two are compared to obtain a verification result.
Optionally, in the step 204, the verification of the target BIM model according to the target primitive information to obtain a verification result 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 design content and a component from the target primitive 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 the 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, and may extract a second topological relation between the design content and the component from the target primitive information, and further, may compare the first topological relation with the second topological relation to obtain a verification result, where the verification result may include a portion where the comparison is successful or a portion where the comparison is unsuccessful.
205. And outputting a check report according to the check result.
In the specific implementation, the verification result comprises the final result of comparison, and then, the verification report can be output according to the verification result, so that a user can conveniently and quickly realize verification, and the part with unsuccessful verification can also be verified, thereby being beneficial to improving user experience.
In the specific implementation, CAD drawings can be drawn according to design specifications and drawing standards, verification rules can be configured according to verification contents and requirements, a BIM model is built according to modeling standards and the CAD drawings, primitive information is extracted and analyzed in a classified mode from the CAD drawings according to the corresponding relation between drawing layers and model components, integrity and correctness of the BIM model components are checked and verified according to topological relation between design contents and components, and a check report is output, and further, the method can replace low-efficiency work of manually verifying consistency of the drawing models, error and leakage problems in verification are reduced, and quality and delivery efficiency of the BIM model are improved.
Optionally, the step 205 of outputting the inspection report according to the verification result may include the following steps:
51. acquiring target template information of a reference inspection report;
52. Acquiring parameter identifiers in the target template information;
53. extracting corresponding reference parameters from the verification 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 inspection report, which template information may be understood as a parameter identification, i.e. different locations exhibiting different parameters. The parameter identification may be at least one of: the type of parameter, name of parameter, etc., are not limited herein.
In a specific implementation, according to the embodiment of the application, the electronic device can acquire the target template information of the reference inspection report, acquire the parameter identification in the target template information, extract the corresponding reference parameter from the verification result according to the parameter identification, import the reference parameter into the inspection report according to the distribution condition of the parameter identification in the target template information, and output the imported inspection report, so that the inspection report focused by the user can be obtained.
It can be seen that the model verification method described in the embodiment of the application is applied to electronic equipment, 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 parsed to obtain target primitive information, the target BIM model is verified according to the target primitive information to obtain a verification result, and a check report is output according to the verification result, so that the primitive information of the CAD drawing can be compared with the BIM module to realize consistency verification between the BIM model and the CAD drawing. The method provided by the embodiment of the application has the characteristics of combining parameterized interaction modes with specialized structural analysis programs, replaces the traditional manual scheme-by-scheme modeling calculation low-efficiency working mode, reduces repeated trial calculation and adjustment repeated work, and improves the efficiency of the structural design of the top plate of the underground garage.
In accordance with the embodiment shown in fig. 2, please refer to fig. 3, fig. 3 is a flow chart of a model checking method according to an embodiment of the present application, as shown in the drawings, applied to an electronic device, where the model checking method includes:
301. acquiring a target CAD drawing, wherein the target CAD drawing is drawn based on a preset rule;
302. Performing 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. checking the target BIM model according to the target primitive information to obtain a checking result;
305. acquiring target template information of a reference inspection report;
306. acquiring parameter identifiers in the target template information;
307. extracting corresponding reference parameters from the verification 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 the steps 301 to 308 may refer to the corresponding steps of the model checking method described in fig. 2, and will not be repeated herein.
It can be seen that the model verification method described in the embodiment of the application is applied to electronic equipment, 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 parsed to obtain target primitive information, the target BIM model is verified according to the target primitive information to obtain a verification result, target template information of a reference inspection report is obtained, a parameter identifier in the target template information is obtained, a corresponding reference parameter is extracted from the verification result according to the parameter identifier, the reference parameter is imported into the inspection report according to the distribution condition of the parameter identifier in the target template information, and the inspection report after the import is output, so that the primitive information of the CAD drawing can be compared with the BIM module to realize consistency verification between the BIM model and the CAD drawing.
In accordance with the above embodiment, referring to fig. 4, fig. 4 is a schematic structural diagram of an electronic device provided in an embodiment of the present application, as shown in the fig. 4, 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 the 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;
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 check report according to the check 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, a target BIM model is obtained, the target CAD drawing is parsed, target primitive information is obtained, the target BIM model is verified according to the target primitive information, a verification result is obtained, and a verification report is output according to the verification result, so that the primitive information of the CAD drawing can be compared with the BIM module, so as to implement consistency verification between the BIM model and the CAD drawing.
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;
screening the target drawing layer information and the target model component information according to a mapping relation between a preset drawing layer and a model component 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 graphic elements of the at least one type of graphic layer information to obtain at least one graphic element;
determining layer information corresponding to each of the at least one primitive, and determining model member information corresponding to each of the at least one primitive from the first target model member 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 of verifying the target BIM model 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 design content and a component from the target primitive 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:
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 item identifier according to a mapping relation between a preset item identifier and a storage identifier;
and acquiring the target CAD drawing from a preset database according to the target storage identifier.
Optionally, in the aspect of outputting the inspection report according to the verification result, the program includes instructions for:
acquiring target template information of a reference inspection report;
acquiring parameter identifiers in the target template information;
extracting corresponding reference parameters from the verification 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 foregoing description of the embodiments of the present application has been presented primarily in terms of a method-side implementation. It will be appreciated that the electronic device, in order to achieve the above-described functions, includes corresponding hardware structures and/or software modules that perform the respective functions. Those of skill in the art will readily appreciate that the elements and algorithm steps described in connection with the embodiments disclosed herein may be embodied as hardware or a combination of hardware and computer software. Whether a function is implemented as hardware or computer software driven 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.
The embodiment of the application may divide the functional units of the electronic device according to the above method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated in one processing unit. The integrated units may be implemented in hardware or in software functional units. It should be noted that, in the embodiment of the present application, the division of the units is schematic, which is merely a logic function division, and other division manners may be implemented in actual practice.
Fig. 5 is a functional unit block diagram of a model verification apparatus 500 according to an embodiment of the present application. The model checking device 500 is applied to an electronic device, and the device 500 comprises: an acquisition unit 501, a modeling unit 502, a parsing unit 503, a verification unit 504 and an output unit 505, wherein,
the acquiring unit 501 is configured to acquire a target CAD drawing, where the target CAD drawing is drawn based on a preset rule;
the modeling unit 502 is configured to perform BIM modeling according to the CAD drawing, to obtain a target BIM model;
the parsing unit 503 is configured to parse the target CAD drawing to obtain target primitive information;
the verification unit 504 is configured to verify the target BIM model according to the target primitive information, to obtain a verification result;
the output unit 505 is configured to output an inspection report according to the verification result.
It can be seen that the model verification device described in the embodiment of the application is applied to electronic equipment, 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 parsed to obtain target primitive information, the target BIM model is verified according to the target primitive information to obtain a verification result, and a check report is output according to the verification result, so that the primitive information of the CAD drawing can be compared with the BIM module to realize consistency verification between the BIM model and the CAD drawing.
Optionally, in the aspect of parsing the target CAD drawing to obtain target primitive information, the parsing unit 503 is specifically configured to:
acquiring target drawing layer information of the target CAD drawing;
acquiring target model component information of the BIM;
screening the target drawing layer information and the target model component information according to a mapping relation between a preset drawing layer and a model component 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 graphic elements of the at least one type of graphic layer information to obtain at least one graphic element;
determining layer information corresponding to each of the at least one primitive, and determining model member information corresponding to each of the at least one primitive from the first target model member 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 terms of verifying the target BIM model 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 design content and a component from the target primitive information;
and comparing the first topological relation with the second topological relation to obtain the verification result.
Alternatively, in terms of the 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 item identifier according to a mapping relation between a preset item identifier and a storage identifier;
and acquiring the target CAD drawing from a preset database according to the target storage identifier.
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 parameter identifiers in the target template information;
extracting corresponding reference parameters from the verification 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 may be understood that the functions of each program module of the model checking device of the present embodiment may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the relevant description of the foregoing method embodiment, which is not repeated herein.
The embodiment of the application also provides a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, where the computer program causes a computer to execute part or all of the steps of any one of the methods described in the embodiments of the method, where 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 one of the methods described in the method embodiments above. The computer program product may be a software installation package, said computer comprising an electronic device.
It should be noted that, for simplicity of description, the foregoing method embodiments are all expressed as a series of action combinations, but it should be understood by those skilled in the art that the present application is not limited by the order of actions described, as some steps may be performed in other order or simultaneously in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required in the present application.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, such as the above-described division of units, merely a division of logic functions, and there may be additional manners of dividing in actual implementation, such as multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, or may be in electrical or other forms.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units described above, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a memory, including several instructions for causing a computer device (which may be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the above-mentioned method of the various embodiments of the present application. And the aforementioned memory includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Those of ordinary skill in the art will appreciate that all or a portion of the steps in the various methods of the above embodiments may be implemented by a program that instructs associated hardware, and the program may be stored in a computer readable memory, which may include: flash disk, read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk.
The foregoing has outlined rather broadly the more detailed description of embodiments of the present application, wherein specific examples are provided herein to illustrate the principles and embodiments of the present application, the above examples being provided solely to assist in the understanding of the methods of the present application and the core ideas thereof; meanwhile, as those skilled in the art will have modifications in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.

Claims (6)

1. A model verification method, applied to an electronic device, comprising:
obtaining a target CAD drawing, wherein the target CAD drawing is drawn based on preset rules, and the preset rules comprise rules corresponding to at least one of the following contents: line width, component style, component size;
Performing BIM modeling according to the CAD drawing to obtain a target BIM model, wherein the target BIM model comprises the following specific steps: extracting parameters of the target CAD drawing to extract corresponding parameters, and performing BIM modeling according to the parameters to obtain the 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;
outputting a check report according to the check result;
the analyzing the target CAD drawing to obtain target primitive information comprises the following steps:
acquiring target drawing layer information of the target CAD drawing;
acquiring target model component information of the BIM;
screening the target drawing layer information and the target model component information according to a mapping relation between a preset drawing layer and a model component 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 graphic elements of the at least one type of graphic layer information to obtain at least one graphic element;
determining layer information corresponding to each of the at least one primitive, and determining model member information corresponding to each of the at least one primitive from the first target model member information;
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 verifying the target BIM model according to the target primitive information to obtain a verification result comprises the following steps:
acquiring a first topological relation between design content and a component in the BIM;
extracting a second topological relation between design content and a component from the target primitive information;
and comparing the first topological relation with the second topological relation to obtain the verification result.
2. The method of claim 1, wherein the obtaining 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 item identifier according to a mapping relation between a preset item identifier and a storage identifier;
and acquiring the target CAD drawing from a preset database according to the target storage identifier.
3. The method of claim 1, wherein outputting the inspection report in accordance with the verification result comprises:
Acquiring target template information of a reference inspection report;
acquiring parameter identifiers in the target template information;
extracting corresponding reference parameters from the verification 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.
4. A model checking apparatus, characterized in that it is applied to an electronic device, said apparatus comprising: 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, the target CAD drawing is drawn based on preset rules, and the preset rules comprise rules corresponding to at least one of the following contents: line width, component style, component size;
the modeling unit is used for performing BIM modeling according to the CAD drawing to obtain a target BIM model, and specifically comprises the following steps: extracting parameters of the target CAD drawing to extract corresponding parameters, and performing BIM modeling according to the parameters to obtain the target BIM model;
the analysis unit is used for analyzing the target CAD drawing to obtain target primitive information;
The verification unit is used for verifying the target BIM model according to the target primitive information to obtain a verification result;
the output unit is used for outputting an inspection report according to the verification result;
the analysis unit is specifically configured to, in the aspect of analyzing the target CAD drawing to obtain target primitive information:
acquiring target drawing layer information of the target CAD drawing;
acquiring target model component information of the BIM;
screening the target drawing layer information and the target model component information according to a mapping relation between a preset drawing layer and a model component 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 graphic elements of the at least one type of graphic layer information to obtain at least one graphic element;
determining layer information corresponding to each of the at least one primitive, and determining model member information corresponding to each of the at least one primitive from the first target model member information;
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 verification unit is specifically configured to, in terms of verifying the target BIM model according to the target primitive information to obtain a verification result:
acquiring a first topological relation between design content and a component in the BIM;
extracting a second topological relation between design content and a component from the target primitive information;
and comparing the first topological relation with the second topological relation to obtain the verification result.
5. An electronic device comprising a processor, a memory for storing one or more programs and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-3.
6. 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 of claims 1-3.
CN202110216874.0A 2021-02-26 2021-02-26 Model verification method, electronic equipment and related products Active CN113010944B (en)

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 CN113010944A (en) 2021-06-22
CN113010944B true 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)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
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
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
CN116110072B (en) * 2023-04-12 2023-08-15 江西少科智能建造科技有限公司 CAD drawing analysis method and system

Citations (5)

* Cited by examiner, † Cited by third party
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN113010944A (en) 2021-06-22

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
CN108595583B (en) Dynamic graph page data crawling method, device, terminal and storage medium
CN113301430B (en) Video clipping method, video clipping device, electronic equipment and storage medium
CN104572072B (en) A kind of language transfer method and equipment to the program based on MVC pattern
US20170277703A1 (en) Method for Displaying Webpage and Server
CN108900788B (en) Video generation method, video generation device, electronic device, and storage medium
CN111240669A (en) Interface generation method and device, electronic equipment and computer storage medium
CN110765893B (en) Drawing file identification method, electronic equipment and related product
CN105550179A (en) Webpage collection method and browser plug-in
CN112926083B (en) Interactive processing method based on building information model and related device
CN108268258B (en) Method and device for acquiring webpage code and electronic equipment
CN115563600A (en) Data auditing method and device, electronic equipment and storage medium
CN114021440B (en) FPGA (field programmable Gate array) time sequence simulation verification method and device based on MATLAB (matrix laboratory)
CN109840212A (en) Function test method, device, equipment and the readable storage medium storing program for executing of application program
CN112433935A (en) Test method, test device, electronic equipment and storage medium
CN106599637A (en) Method and device for inputting verification code into verification interface
CN111783561A (en) Picture examination result correction method, electronic equipment and related products
CN109740074B (en) Method, device and equipment for processing parameter configuration information
CN113989442B (en) Building information model construction method and related device
CN113010946B (en) Data analysis method, electronic equipment and related products
CN110706221A (en) Verification method, verification device, storage medium and device for customizing pictures
CN104572595A (en) Word stock check device and word stock check method
CN110262856A (en) A kind of application data acquisition method, device, terminal and storage medium
CN112181414B (en) Data processing method and device, electronic equipment and storage medium

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

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.

TR01 Transfer of patent right