CN112818456A - Layer configuration method, electronic equipment and related product - Google Patents

Layer configuration method, electronic equipment and related product Download PDF

Info

Publication number
CN112818456A
CN112818456A CN202110216043.3A CN202110216043A CN112818456A CN 112818456 A CN112818456 A CN 112818456A CN 202110216043 A CN202110216043 A CN 202110216043A CN 112818456 A CN112818456 A CN 112818456A
Authority
CN
China
Prior art keywords
target
cad drawing
component classification
attribute information
layer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110216043.3A
Other languages
Chinese (zh)
Other versions
CN112818456B (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 CN202110216043.3A priority Critical patent/CN112818456B/en
Publication of CN112818456A publication Critical patent/CN112818456A/en
Application granted granted Critical
Publication of CN112818456B publication Critical patent/CN112818456B/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

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)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses a layer configuration method, electronic equipment and related products, which are applied to the electronic equipment, wherein the method comprises the following steps: configuring a component classification structure of each level according to a preset rule, wherein the component classification structure is used for BIM modeling; creating attribute information of each layer according to the component classification structure of each layer, wherein the attribute information comprises at least one of the following: layer type and layer name; acquiring a target CAD drawing; and modeling the target CAD drawing based on the component classification structures of all the levels and the corresponding attribute information to obtain a target BIM. By adopting the method and the device, the drawing can be subjected to data structuring and standardization from a design source, the data can be conveniently extracted from the drawing, and the drawing mode consistency can be directly checked.

Description

Layer configuration method, electronic equipment and related product
Technical Field
The application relates to the technical field of data processing, in particular to a layer configuration method, electronic equipment and a related product.
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 layer configuration method, electronic equipment and related products, and consistency verification 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 layer configuration method, which is applied to an electronic device, and the method includes:
configuring a component classification structure of each level according to a preset rule, wherein the component classification structure is used for BIM modeling;
creating attribute information of each layer according to the component classification structure of each layer, wherein the attribute information comprises at least one of the following: layer type and layer name;
acquiring a target CAD drawing;
and modeling the target CAD drawing based on the component classification structures of all the levels and the corresponding attribute information to obtain a target BIM.
In a second aspect, an embodiment of the present application provides an apparatus for configuring a layer, which is applied to an electronic device, where the apparatus includes: a configuration unit, a creation unit, an acquisition unit and a modeling unit, wherein,
the configuration unit is used for configuring component classification structures of all levels according to preset rules, and the component classification structures are used for BIM modeling;
the creating unit is configured to create attribute information of each layer according to the component classification structure of each hierarchy, where the attribute information includes at least one of: layer type and layer name;
the acquisition unit is used for acquiring a target CAD drawing;
and the modeling unit is used for modeling the target CAD drawing based on the component classification structures of all the levels and the corresponding attribute information to obtain a target BIM.
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:
it can be seen that the layer configuration method, the electronic device, and the related product described in the embodiments of the present application are applied to an electronic device, and configure a component classification structure of each level according to a preset rule, where the component classification structure is used for BIM modeling, and create attribute information of each layer according to the component classification structure of each level, where the attribute information includes at least one of the following: the method comprises the steps of obtaining a target CAD drawing based on the drawing layer type and the drawing layer name, modeling the target CAD drawing based on the component classification structure of each level and corresponding attribute information to obtain a target BIM model, carrying out data structuring and standardization on the drawing from a design source, conveniently extracting data from the drawing, directly carrying out drawing consistency check, and improving CAD drawing efficiency.
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 layer configuration method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of another layer configuration method according to an embodiment 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 layer configuration apparatus according to an embodiment of the present application.
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 flowchart of a layer configuration method according to an embodiment of the present application, where as shown in the drawing, the layer configuration method includes:
201. and configuring the component classification structures of all levels according to preset rules, wherein the component classification structures are used for BIM modeling.
The preset rules can be configured in advance or default to the system. The preset rules may be pre-existing in a rule base. Each hierarchy can be a hierarchy required by a user, the electronic device can configure a component classification structure of each hierarchy according to a preset rule, and the component classification structure can be used for BIM modeling.
Optionally, in the step 201, configuring the component classification structure of each level according to a preset rule, the method may include the following steps:
21. acquiring target identity information;
22. determining a first reference rule corresponding to the target identity information according to a mapping relation between preset identity information and rules;
23. acquiring a target project identifier;
24. determining a second reference rule corresponding to the target project identification according to a mapping relation between preset project identifications and rules;
25. and taking the intersection between the first reference rule and the second reference rule as the preset rule, and configuring the component classification structure of each level based on the preset rule.
The electronic device may pre-store a mapping relationship between the preset identity information and the rule, and a mapping relationship between the preset item identifier and the rule. The identity information may be at least one of: fingerprint images, iris images, face images, vein images, voice print information, user names, MAC addresses, character strings, and the like, without limitation. The item identification may be at least one of: an item name, an item icon, an item number, an item person in charge, an item code, an item start time, and the like, which are not limited herein.
In the specific implementation, the electronic device may obtain target identity information, determine a first reference rule corresponding to the target identity information according to a mapping relationship between preset identity information and rules, where the first reference rule may include at least one rule, and may also obtain a target item identifier, determine a second reference rule corresponding to the target item identifier according to a mapping relationship between preset item identifiers and rules, and use an intersection between the first reference rule and the second reference rule as a preset rule, and configure component classification structures of each hierarchy based on the preset rule, so that rules corresponding to user identities and items may be obtained, which is beneficial to improving subsequent BIM modeling efficiency.
202. Creating attribute information of each layer according to the component classification structure of each layer, wherein the attribute information comprises at least one of the following: layer type and layer name.
In a specific implementation, the electronic device may create attribute information of each layer according to the component classification structure of each hierarchy, where the attribute information may include at least one of the following: the type of the layer, the name of the layer, the position of the layer, the size of the layer, the background of the layer, etc., which are not limited herein.
203. And acquiring a target CAD drawing.
In specific implementation, the target CAD drawing can be pre-stored in the electronic device, or can be shot by a camera to obtain the target CAD drawing. Alternatively, the electronic device may receive target storage identification information, and the target storage identification may be at least one of the following: storage location, storage space name, storage path, etc., without limitation. And further, acquiring a target CAD drawing from a database according to the target storage identification information. For example, in a specific implementation, in order to draw a design drawing and establish a BIM model more efficiently and standardizedly, a drawing module provided by a program is used to call a preset drawing layer for drawing in a drawing process, a CAD drawing is obtained after drawing is completed, and the drawn drawing can be directly subjected to BIM modeling.
The target CAD drawing may be designed based on a specified rule, the specified rule may be preset or default to the system, and the specified rule may be understood as a rule of the CAD system or a rule set by a person, such as line width, component style, component size, and the like, which is not limited herein.
Optionally, in the step 203, acquiring the target CAD drawing may include the following steps:
31. acquiring a CAD drawing set corresponding to the target project identification, wherein the CAD drawing set comprises a plurality of CAD drawings, and each CAD drawing corresponds to a CAD drawing icon;
32. detecting touch operation aiming at CAD drawing icons corresponding to the plurality of CAD drawings;
33. when touch operation aiming at a target CAD drawing icon is detected, a target CAD drawing corresponding to the target CAD drawing icon is obtained, and the target CAD drawing icon is a CAD drawing icon corresponding to any CAD drawing in the multiple CAD drawings.
Further, optionally, between the step 32 and the step 33, the following steps may be further included:
a1, obtaining target touch parameters aiming at the target CAD drawing icon;
a2, comparing the target touch parameter with a preset touch parameter;
and A3, confirming that the touch operation aiming at the target CAD drawing icon is detected when the target touch parameter is successfully compared with the preset touch parameter.
In a specific implementation, in the embodiment of the present application, the touch parameter may be at least one of the following: 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.
Specifically, the electronic device may obtain a target touch parameter for the target CAD drawing icon, compare the target touch parameter with a preset touch parameter, and confirm that the touch operation for the target CAD drawing icon is detected when the target touch parameter is successfully compared with the preset touch parameter, whereas confirm that the touch operation for the target CAD drawing icon is not detected when the target touch parameter is not successfully compared with the preset touch parameter, so as to prevent a false touch behavior.
204. And modeling the target CAD drawing based on the component classification structures of all the levels and the corresponding attribute information to obtain a target BIM.
In specific implementation, because the rule configuration is good, that is, the component classification structure and the corresponding attribute information of each level are configured, the electronic device can model the target CAD drawing based on the component classification structure and the corresponding attribute information of each level to obtain the target BIM model. Of course, the design method also helps to improve the efficiency of the structure design of the top plate of the underground garage.
For example, in the embodiment of the present application, the electronic device may include a modeling and drawing standard rule base, a component classification configuration module, a CAD drawing layer configuration module, and a layer calling module. Further, the following steps may be performed:
1. defining each hierarchical component classification structure in a component classification configuration module according to design specification requirements and modeling standards, wherein the component classification structure is used for BIM modeling;
2. and automatically creating the classification and the layer name of each layer in a CAD drawing layer configuration module according to the defined component classification, and defining the drawing pattern of each layer according to the design specification requirement and the drawing standard. For example, for the structural classification of the structural column and the structural beam, layers with layer names of the structural column and the structural beam are automatically created in a CAD drawing layer configuration module, and simultaneously, according to drawing requirements, the line type of the layer of the structural column is set as a solid line, the line width is 0.8mm, and the color of the layer is blue; the line type of the layer of the structural beam is set as a dotted line, the line width is 0.3mm, and the color of the layer is white.
3. And selecting the matched layer for drawing according to the drawing content through the layer calling module in the drawing. For example, when a structural column needs to be drawn, a 'structural column' predefined layer is called for drawing, and when a structural beam needs to be drawn, a 'structural beam' predefined layer is called for drawing.
Furthermore, the embodiment of the application can carry out data structuring and standardization on the drawing from the design source, is convenient for extracting data from the drawing, and can be directly applied to drawing turnover or drawing consistency check. The data of each module can be maintained according to the business needs and the levels of groups, areas, companies or projects, so that the method is convenient to adapt to different organizational structures and use scenes.
Optionally, after the target CAD drawing is obtained in step 203, and in step 204, modeling the target CAD drawing based on the component classification structures of the respective levels and the corresponding attribute information to obtain a target BIM model, the following steps may be included:
b1, carrying out integrity verification on the target CAD drawing;
b2, when the integrity of the target CAD drawing passes the verification, modeling the target CAD drawing based on the component classification structures of all the levels and the corresponding attribute information to obtain a target BIM;
and B3, when the integrity verification of the target CAD drawing fails, determining a part with the failure of the integrity verification of the target CAD drawing, separating the failed part to obtain a separated target CAD drawing, and modeling the separated target CAD drawing based on the component classification structures of all the levels and the corresponding attribute information to obtain a target BIM.
The electronic equipment can carry out integrity verification on the target CAD drawing, specifically, the integrity of the target CAD drawing can be detected, or the target CAD drawing can be detected to be identified so as to detect the integrity of the component, and then, an integrity verification result can be obtained, the electronic equipment can execute the step 204 when the integrity verification of the target CAD drawing passes, otherwise, when the integrity verification of the target CAD drawing fails, a failure part of the integrity verification of the target CAD drawing is determined, the failure part is separated, the separated target CAD drawing is obtained, and modeling is carried out on the separated target CAD drawing based on the component classification structures of all levels and corresponding attribute information, so that the target BIM model is obtained.
It can be seen that the layer configuration method described in the embodiment of the present application is applied to an electronic device, and configures a component classification structure of each level according to a preset rule, where the component classification structure is used for BIM modeling, and creates attribute information of each layer according to the component classification structure of each level, where the attribute information includes at least one of the following: the method comprises the steps of obtaining a target CAD drawing based on the drawing layer type and the drawing layer name, modeling the target CAD drawing based on the component classification structure of each level and corresponding attribute information to obtain a target BIM model, carrying out data structuring and standardization on the drawing from a design source, conveniently extracting data from the drawing, directly carrying out drawing consistency check, and improving CAD drawing efficiency.
Referring to fig. 3, fig. 3 is a schematic flowchart of a layer configuration method according to an embodiment of the present application, and as shown in the drawing, the layer configuration method is applied to an electronic device, and includes:
301. and configuring the component classification structures of all levels according to preset rules, wherein the component classification structures are used for BIM modeling.
302. Creating attribute information of each layer according to the component classification structure of each layer, wherein the attribute information comprises at least one of the following: layer type and layer name.
303. And acquiring a target CAD drawing.
304. And carrying out integrity verification on the target CAD drawing.
305. And when the integrity of the target CAD drawing passes the verification, modeling the target CAD drawing based on the component classification structures of all the levels and the corresponding attribute information to obtain a target BIM.
The specific description of steps 301 to 305 may refer to corresponding steps of the layer configuration method described in fig. 2, and is not described herein again.
It can be seen that the layer configuration method described in the embodiment of the present application is applied to an electronic device, and configures a component classification structure of each level according to a preset rule, where the component classification structure is used for BIM modeling, and creates attribute information of each layer according to the component classification structure of each level, where the attribute information includes at least one of the following: and when the integrity check of the target CAD drawing passes, modeling is carried out on the target CAD drawing based on the component classification structures of all levels and corresponding attribute information to obtain a target BIM model, the drawing can be structured and standardized in data from a design source, the data can be conveniently extracted from the drawing, the consistency check of the drawing can be directly carried out, and the drawing CAD efficiency is improved.
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:
configuring a component classification structure of each level according to a preset rule, wherein the component classification structure is used for BIM modeling;
creating attribute information of each layer according to the component classification structure of each layer, wherein the attribute information comprises at least one of the following: layer type and layer name;
acquiring a target CAD drawing;
and modeling the target CAD drawing based on the component classification structures of all the levels and the corresponding attribute information to obtain a target BIM.
It can be seen that, in the electronic device described in this embodiment of the present application, a component classification structure of each hierarchy is configured according to a preset rule, where the component classification structure is used for BIM modeling, and attribute information of each layer is created according to the component classification structure of each hierarchy, where the attribute information includes at least one of the following: the method comprises the steps of obtaining a target CAD drawing based on the drawing layer type and the drawing layer name, modeling the target CAD drawing based on the component classification structure of each level and corresponding attribute information to obtain a target BIM model, carrying out data structuring and standardization on the drawing from a design source, conveniently extracting data from the drawing, directly carrying out drawing consistency check, and improving CAD drawing efficiency.
Optionally, in terms of configuring the component classification structures of the respective levels according to the preset rule, the program includes instructions for performing the following steps:
acquiring target identity information;
determining a first reference rule corresponding to the target identity information according to a mapping relation between preset identity information and rules;
acquiring a target project identifier;
determining a second reference rule corresponding to the target project identification according to a mapping relation between preset project identifications and rules;
and taking the intersection between the first reference rule and the second reference rule as the preset rule, and configuring the component classification structure of each level based on the preset rule.
Optionally, in the aspect of acquiring the target CAD drawing, the program includes instructions for performing the following steps:
acquiring a CAD drawing set corresponding to the target project identification, wherein the CAD drawing set comprises a plurality of CAD drawings, and each CAD drawing corresponds to a CAD drawing icon;
detecting touch operation aiming at CAD drawing icons corresponding to the plurality of CAD drawings;
when touch operation aiming at a target CAD drawing icon is detected, a target CAD drawing corresponding to the target CAD drawing icon is obtained, and the target CAD drawing icon is a CAD drawing icon corresponding to any CAD drawing in the multiple CAD drawings.
Optionally, the program further comprises instructions for performing the steps of:
acquiring a target touch parameter aiming at the target CAD drawing icon;
comparing the target touch parameter with a preset touch parameter;
and confirming that the touch operation aiming at the target CAD drawing icon is detected when the target touch parameter is successfully compared with the preset touch parameter.
Optionally, after the target CAD drawing is obtained, and the target CAD drawing is modeled based on the component classification structures of the respective hierarchies and the corresponding attribute information, so as to obtain a target BIM model, the program further includes instructions for performing the following steps:
carrying out integrity verification on the target CAD drawing;
when the integrity of the target CAD drawing passes the verification, the step of modeling the target CAD drawing based on the component classification structures of all the levels and the corresponding attribute information to obtain a target BIM;
and when the integrity verification of the target CAD drawing fails, determining a part with the failure in the integrity verification of the target CAD drawing, separating the failed part to obtain a separated target CAD drawing, and modeling the separated target CAD drawing based on the component classification structures of all the levels and the corresponding attribute information to obtain a target BIM.
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 a layer configuration apparatus 500 according to an embodiment of the present application. The layer configuration apparatus 500 is applied to an electronic device, and the apparatus 500 includes: a configuration unit 501, a creation unit 502, an acquisition unit 503, and a modeling unit 504, wherein,
the configuration unit 501 is configured to configure component classification structures of each hierarchy according to preset rules, where the component classification structures are used for BIM modeling;
the creating unit 502 is configured to create attribute information of each layer according to the component classification structure of each hierarchy, where the attribute information includes at least one of: layer type and layer name;
the acquiring unit 503 is configured to acquire a target CAD drawing;
the modeling unit 504 is configured to model the target CAD drawing based on the component classification structures of the respective hierarchies and the corresponding attribute information, so as to obtain a target BIM model.
It can be seen that the layer configuration apparatus described in this embodiment of the present application is applied to an electronic device, and configures a component classification structure of each level according to a preset rule, where the component classification structure is used for BIM modeling, and creates attribute information of each layer according to the component classification structure of each level, where the attribute information includes at least one of the following: the method comprises the steps of obtaining a target CAD drawing based on the drawing layer type and the drawing layer name, modeling the target CAD drawing based on the component classification structure of each level and corresponding attribute information to obtain a target BIM model, carrying out data structuring and standardization on the drawing from a design source, conveniently extracting data from the drawing, directly carrying out drawing consistency check, and improving CAD drawing efficiency.
Optionally, in terms of configuring the component classification structures of the respective levels according to the preset rule, the configuration unit 501 is specifically configured to:
acquiring target identity information;
determining a first reference rule corresponding to the target identity information according to a mapping relation between preset identity information and rules;
acquiring a target project identifier;
determining a second reference rule corresponding to the target project identification according to a mapping relation between preset project identifications and rules;
and taking the intersection between the first reference rule and the second reference rule as the preset rule, and configuring the component classification structure of each level based on the preset rule.
Optionally, in terms of acquiring the target CAD drawing, the acquiring unit 503 is specifically configured to:
acquiring a CAD drawing set corresponding to the target project identification, wherein the CAD drawing set comprises a plurality of CAD drawings, and each CAD drawing corresponds to a CAD drawing icon;
detecting touch operation aiming at CAD drawing icons corresponding to the plurality of CAD drawings;
when touch operation aiming at a target CAD drawing icon is detected, a target CAD drawing corresponding to the target CAD drawing icon is obtained, and the target CAD drawing icon is a CAD drawing icon corresponding to any CAD drawing in the multiple CAD drawings.
Optionally, the apparatus 500 is further specifically configured to:
acquiring a target touch parameter aiming at the target CAD drawing icon;
comparing the target touch parameter with a preset touch parameter;
and confirming that the touch operation aiming at the target CAD drawing icon is detected when the target touch parameter is successfully compared with the preset touch parameter.
Optionally, after the target CAD drawing is obtained, and the target CAD drawing is modeled based on the component classification structures of the respective levels and the corresponding attribute information to obtain a target BIM model, the apparatus 500 is further specifically configured to:
carrying out integrity verification on the target CAD drawing;
when the integrity of the target CAD drawing passes the verification, the step of modeling the target CAD drawing based on the component classification structures of all the levels and the corresponding attribute information to obtain a target BIM;
and when the integrity verification of the target CAD drawing fails, determining a part with the failure in the integrity verification of the target CAD drawing, separating the failed part to obtain a separated target CAD drawing, and modeling the separated target CAD drawing based on the component classification structures of all the levels and the corresponding attribute information to obtain a target BIM.
It can be understood that the functions of each program module of the layer configuration 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 layer configuration method is applied to electronic equipment, and the method comprises the following steps:
configuring a component classification structure of each level according to a preset rule, wherein the component classification structure is used for BIM modeling;
creating attribute information of each layer according to the component classification structure of each layer, wherein the attribute information comprises at least one of the following: layer type and layer name;
acquiring a target CAD drawing;
and modeling the target CAD drawing based on the component classification structures of all the levels and the corresponding attribute information to obtain a target BIM.
2. The method according to claim 1, wherein the configuring the component classification structures of the respective levels according to the preset rule comprises:
acquiring target identity information;
determining a first reference rule corresponding to the target identity information according to a mapping relation between preset identity information and rules;
acquiring a target project identifier;
determining a second reference rule corresponding to the target project identification according to a mapping relation between preset project identifications and rules;
and taking the intersection between the first reference rule and the second reference rule as the preset rule, and configuring the component classification structure of each level based on the preset rule.
3. The method of claim 2, wherein the obtaining the target CAD drawing comprises:
acquiring a CAD drawing set corresponding to the target project identification, wherein the CAD drawing set comprises a plurality of CAD drawings, and each CAD drawing corresponds to a CAD drawing icon;
detecting touch operation aiming at CAD drawing icons corresponding to the plurality of CAD drawings;
when touch operation aiming at a target CAD drawing icon is detected, a target CAD drawing corresponding to the target CAD drawing icon is obtained, and the target CAD drawing icon is a CAD drawing icon corresponding to any CAD drawing in the multiple CAD drawings.
4. The method of claim 3, further comprising:
acquiring a target touch parameter aiming at the target CAD drawing icon;
comparing the target touch parameter with a preset touch parameter;
and confirming that the touch operation aiming at the target CAD drawing icon is detected when the target touch parameter is successfully compared with the preset touch parameter.
5. The method according to any one of claims 1 to 4, wherein after the obtaining of the target CAD drawing and the modeling of the target CAD drawing based on the component classification structures of the respective hierarchies and the corresponding attribute information to obtain a target BIM, the method further comprises:
carrying out integrity verification on the target CAD drawing;
when the integrity of the target CAD drawing passes the verification, the step of modeling the target CAD drawing based on the component classification structures of all the levels and the corresponding attribute information to obtain a target BIM;
and when the integrity verification of the target CAD drawing fails, determining a part with the failure in the integrity verification of the target CAD drawing, separating the failed part to obtain a separated target CAD drawing, and modeling the separated target CAD drawing based on the component classification structures of all the levels and the corresponding attribute information to obtain a target BIM.
6. The layer configuration device is applied to electronic equipment, and comprises: a configuration unit, a creation unit, an acquisition unit and a modeling unit, wherein,
the configuration unit is used for configuring component classification structures of all levels according to preset rules, and the component classification structures are used for BIM modeling;
the creating unit is configured to create attribute information of each layer according to the component classification structure of each hierarchy, where the attribute information includes at least one of: layer type and layer name;
the acquisition unit is used for acquiring a target CAD drawing;
and the modeling unit is used for modeling the target CAD drawing based on the component classification structures of all the levels and the corresponding attribute information to obtain a target BIM.
7. The apparatus according to claim 6, wherein in the configuring of the component classification structures of the respective levels according to the preset rule, the configuring unit is specifically configured to:
acquiring target identity information;
determining a first reference rule corresponding to the target identity information according to a mapping relation between preset identity information and rules;
acquiring a target project identifier;
determining a second reference rule corresponding to the target project identification according to a mapping relation between preset project identifications and rules;
and taking the intersection between the first reference rule and the second reference rule as the preset rule, and configuring the component classification structure of each level based on the preset rule.
8. The apparatus according to claim 7, wherein, in the obtaining the target CAD drawing, the obtaining unit is specifically configured to:
acquiring a CAD drawing set corresponding to the target project identification, wherein the CAD drawing set comprises a plurality of CAD drawings, and each CAD drawing corresponds to a CAD drawing icon;
detecting touch operation aiming at CAD drawing icons corresponding to the plurality of CAD drawings;
when touch operation aiming at a target CAD drawing icon is detected, a target CAD drawing corresponding to the target CAD drawing icon is obtained, and the target CAD drawing icon is a CAD drawing icon corresponding to any CAD drawing in the multiple CAD drawings.
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.
CN202110216043.3A 2021-02-26 2021-02-26 Layer configuration method, electronic equipment and related products Active CN112818456B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110216043.3A CN112818456B (en) 2021-02-26 2021-02-26 Layer configuration method, electronic equipment and related products

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110216043.3A CN112818456B (en) 2021-02-26 2021-02-26 Layer configuration method, electronic equipment and related products

Publications (2)

Publication Number Publication Date
CN112818456A true CN112818456A (en) 2021-05-18
CN112818456B CN112818456B (en) 2024-02-09

Family

ID=75864022

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110216043.3A Active CN112818456B (en) 2021-02-26 2021-02-26 Layer configuration method, electronic equipment and related products

Country Status (1)

Country Link
CN (1) CN112818456B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113360975A (en) * 2021-06-01 2021-09-07 数云科际(深圳)技术有限公司 View construction method and device of building information model and storage medium
CN113706997A (en) * 2021-09-06 2021-11-26 深圳市库思科技有限公司 Urban and rural planning drawing standardization processing method and device and electronic equipment
CN114882519A (en) * 2022-05-06 2022-08-09 青矩技术股份有限公司 Method and device for extracting layer based on primitive features
CN116110072A (en) * 2023-04-12 2023-05-12 江西少科智能建造科技有限公司 CAD drawing analysis method and system
CN116466853A (en) * 2022-09-08 2023-07-21 苏州浩辰软件股份有限公司 Viewing method, system and computer program product
CN117474500A (en) * 2023-12-27 2024-01-30 中建科工集团有限公司 Cloud checking method, system and medium for steel structure assembly design project

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109615479A (en) * 2018-12-14 2019-04-12 平安城市建设科技(深圳)有限公司 Source of houses dissemination method, device, equipment and readable storage medium storing program for executing
CN111143923A (en) * 2019-12-17 2020-05-12 万翼科技有限公司 Model processing method and related device
CN111143624A (en) * 2019-08-28 2020-05-12 珠海市测绘院 Land approval surveying and mapping data-oriented adaptive calculation rule base matching method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109615479A (en) * 2018-12-14 2019-04-12 平安城市建设科技(深圳)有限公司 Source of houses dissemination method, device, equipment and readable storage medium storing program for executing
CN111143624A (en) * 2019-08-28 2020-05-12 珠海市测绘院 Land approval surveying and mapping data-oriented adaptive calculation rule base matching method and system
CN111143923A (en) * 2019-12-17 2020-05-12 万翼科技有限公司 Model processing method and related device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113360975A (en) * 2021-06-01 2021-09-07 数云科际(深圳)技术有限公司 View construction method and device of building information model and storage medium
CN113706997A (en) * 2021-09-06 2021-11-26 深圳市库思科技有限公司 Urban and rural planning drawing standardization processing method and device and electronic equipment
CN114882519A (en) * 2022-05-06 2022-08-09 青矩技术股份有限公司 Method and device for extracting layer based on primitive features
CN116466853A (en) * 2022-09-08 2023-07-21 苏州浩辰软件股份有限公司 Viewing method, system and computer program product
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
CN117474500A (en) * 2023-12-27 2024-01-30 中建科工集团有限公司 Cloud checking method, system and medium for steel structure assembly design project

Also Published As

Publication number Publication date
CN112818456B (en) 2024-02-09

Similar Documents

Publication Publication Date Title
CN112818456B (en) Layer configuration method, electronic equipment and related products
CN113010944B (en) Model verification method, electronic equipment and related products
CN103781522B (en) For generating and add the method and system that experience is shared
CN110765891B (en) Engineering drawing identification method, electronic equipment and related product
CN110139149B (en) Video optimization method and device, and electronic equipment
CN109683858B (en) Data processing method and device
CN110796016A (en) Engineering drawing identification method, electronic equipment and related product
CN110765893B (en) Drawing file identification method, electronic equipment and related product
US20230083894A1 (en) Integrated application development systems and methods
CN107832440A (en) A kind of data digging method, device, server and computer-readable recording medium
CN113268243A (en) Memory prediction method and device, storage medium and electronic equipment
CN111666100A (en) Software framework generation 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
WO2024002092A1 (en) Method and apparatus for pushing video, and storage medium
JP2019220152A (en) Image filtering methods, electronic devices, and recording media
CN109543166A (en) Generation method, server and the computer readable storage medium of house property poster template
CN114061593A (en) Navigation method based on building information model and related device
CN111783180B (en) Drawing splitting method and related device
CN113987652A (en) Wall model generation method and device
CN113010128A (en) Multi-screen interaction method and system based on BIM (building information modeling)
CN114332972A (en) Monitoring image processing method and device, electronic equipment and readable storage medium
CN111753349A (en) Dimension modification method of structural member, Revit platform and storage medium
CN112446850A (en) Adaptation test method and device and electronic equipment
CN104298763A (en) Web-based external access method of structured database system

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
TA01 Transfer of patent application right

Effective date of registration: 20230627

Address after: A601, Zhongke Naneng Building, No. 06 Yuexing 6th Road, Gaoxin District Community, Yuehai Street, Nanshan District, Shenzhen City, Guangdong Province, 518051

Applicant 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)

Applicant before: WANYI TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant