CN112818456B - Layer configuration method, electronic equipment and related products - Google Patents

Layer configuration method, electronic equipment and related products Download PDF

Info

Publication number
CN112818456B
CN112818456B CN202110216043.3A CN202110216043A CN112818456B CN 112818456 B CN112818456 B CN 112818456B CN 202110216043 A CN202110216043 A CN 202110216043A CN 112818456 B CN112818456 B CN 112818456B
Authority
CN
China
Prior art keywords
target
cad drawing
rule
layer
component classification
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
CN202110216043.3A
Other languages
Chinese (zh)
Other versions
CN112818456A (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
Shenzhen Wanyi Digital 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 Shenzhen Wanyi Digital Technology Co ltd filed Critical Shenzhen Wanyi Digital 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

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 component classification structures of all levels according to preset rules, wherein the component classification structures are used for BIM modeling; creating attribute information of each layer according to the member classification structure of each layer, wherein the attribute information comprises at least one of the following components: layer category, layer name; obtaining a target CAD drawing; and modeling the target CAD drawing based on the component classification structures of the layers and the corresponding attribute information to obtain a target BIM model. By adopting the embodiment of the application, the drawing can be structured and standardized from the design source, so that the data can be conveniently extracted from the drawing, and the consistency check of the drawing and the model can be directly carried out.

Description

Layer configuration method, electronic equipment and related products
Technical Field
The present disclosure relates to the field of data processing technologies, and in particular, to a layer configuration method, an electronic device, 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 layer configuration 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 layer configuration method, which is applied to an electronic device, where the method includes:
configuring component classification structures of all levels according to preset rules, wherein the component classification structures are used for BIM modeling;
creating attribute information of each layer according to the member classification structure of each layer, wherein the attribute information comprises at least one of the following components: layer category, layer name;
obtaining a target CAD drawing;
and modeling the target CAD drawing based on the component classification structures of the layers and the corresponding attribute information to obtain a target BIM model.
In a second aspect, an embodiment of the present application provides a layer configuration apparatus, 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, wherein the component classification structures are used for BIM modeling;
the creation unit is configured to create attribute information of each layer according to the component classification structure of each layer, where the attribute information includes at least one of the following: layer category, layer name;
The acquisition unit is used for acquiring a target CAD drawing;
the modeling unit is used for modeling the target CAD drawing based on the component classification structures of the levels and the corresponding attribute information to obtain a target BIM model.
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 layer configuration method, the electronic device and the related products described in the embodiments of the present application are applied to the electronic device, and configure the component classification structure of each level according to the preset rule, where the component classification structure is used for BIM modeling, and the attribute information of each layer is created 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, modeling the target CAD drawing based on component classification structures of various levels and corresponding attribute information to obtain a target BIM model, structuring and standardizing data of the drawing from a design source, conveniently extracting data from the drawing, directly checking consistency of the drawing and the model, 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 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 flow chart of a layer configuration method according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating another layer configuration method according to an embodiment of the present disclosure;
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 layer configuration 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 flowchart of a layer configuration method provided in an embodiment of the present application, where as shown in the drawing, the layer configuration method includes:
201. and configuring component classification structures of all levels according to preset rules, wherein the component classification structures are used for BIM modeling.
The preset rules may be preconfigured or default. The preset rules may be pre-existing in a rule base. Each level may be a level that a user needs to use, and the electronic device may configure a component classification structure of each level according to a preset rule, where the component classification structure may be used for BIM modeling.
Optionally, the step 201 configures the member classification structure of each level according to a preset rule, and 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 the preset identity information and the rule;
23. acquiring a target item identifier;
24. determining a second reference rule corresponding to the target item identifier according to a mapping relation between a preset item identifier and a rule;
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 mapping relationship between the preset identity information and the rule and the mapping relationship between the preset item identifier and the rule can be stored in the electronic device in advance. The identity information may be at least one of: fingerprint images, iris images, face images, vein images, voiceprint information, user names, MAC addresses, character strings, and the like, are not limited herein. The item identification may be at least one of: the item name, item icon, item number, item responsible person, item code number, item start time, etc., are not limited herein.
In a specific implementation, the electronic device may acquire the target identity information, determine a first reference rule corresponding to the target identity information according to a mapping relationship between the preset identity information and the rule, where the first reference rule may include at least one rule, may also acquire a target item identifier, determine a second reference rule corresponding to the target item identifier according to a mapping relationship between the preset item identifier and the rule, and then use an intersection between the first reference rule and the second reference rule as a preset rule, and configure a member classification structure of each level based on the preset rule, so as to obtain a rule corresponding to the user identity and the item, thereby being beneficial to improving the subsequent BIM modeling efficiency.
202. Creating attribute information of each layer according to the member classification structure of each layer, wherein the attribute information comprises at least one of the following components: layer category, layer name.
In a specific implementation, the electronic device may create attribute information of each layer according to the component classification structure of each layer, where the attribute information may include at least one of the following: the layer category, layer name, layer location, layer size, layer background, etc., are not limited herein.
203. And obtaining a target CAD drawing.
In a specific implementation, the target CAD drawing may be stored in the electronic device in advance, or may be photographed by a camera to obtain the target CAD drawing. Alternatively, the electronic device may receive the target storage identification information, and the target storage identification may be at least one of: storage locations, storage space names, storage paths, etc., are not limited herein. And further, acquiring a target CAD drawing from the database according to the target storage identification information. For example, in a specific implementation, in order to draw a design drawing and build a BIM model more efficiently and normally, in the drawing process, a drawing module provided by a program calls a predetermined layer to draw, and after completion, a CAD drawing is obtained, and the drawn drawing can be directly subjected to BIM modeling.
The target CAD drawing may be designed based on a specified rule, which may be preset or default, and the specified rule may be understood as a rule of the CAD system itself 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 203 of obtaining the target CAD drawing may include the following steps:
31. acquiring a CAD drawing set corresponding to the target item identifier, wherein the CAD drawing set comprises a plurality of CAD drawings, and each CAD drawing corresponds to one CAD drawing icon;
32. detecting touch operation of 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, wherein the target CAD drawing icon is a CAD drawing icon corresponding to any one of the CAD drawings.
Further, optionally, between the steps 32 to 33, the following steps may be further included:
a1, acquiring target touch parameters aiming at the target CAD drawing icon;
a2, comparing the target touch parameters with preset touch parameters;
A3, when the target touch parameter is successfully compared with the preset touch parameter, confirming that the touch operation aiming at the target CAD drawing icon is detected.
In a specific implementation, in an 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 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.
Specifically, the electronic device may acquire the target touch parameter for the target CAD drawing icon, compare the target touch parameter with the 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, otherwise, confirm that the touch operation for the target CAD drawing icon is not detected when the comparison of the target touch parameter and the preset touch parameter fails, so that the false touch prevention behavior may be realized.
204. And modeling the target CAD drawing based on the component classification structures of the layers and the corresponding attribute information to obtain a target BIM model.
In a specific implementation, since the rule is configured, that is, the component classification structure of each level and the corresponding attribute information are configured, the electronic device can model the target CAD drawing based on the component classification structure of each level and the corresponding attribute information, so as to obtain the target BIM model. Of course, the efficiency of the design of the top plate structure of the underground garage is also improved.
For example, in the embodiment of the application, the electronic device may include a modeling and drawing standard rule library, 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 hierarchical component classification structures in a component classification configuration module according to design specification requirements and modeling standards, wherein the component classification structures are used for BIM modeling;
2. according to the defined component classification, the classification and the layer name of each layer are automatically created in a CAD drawing layer configuration module, and according to the design specification requirements and drawing standards, the graph line style of each layer is defined. For example, for the components classified into a 'structural column' and a 'structural beam', automatically creating layers with layer names of the 'structural column' and the 'structural beam' in a CAD drawing layer configuration module, setting the line type of the 'structural column' layer as a solid line, the line width of 0.8mm and the color of the layer as blue according to drawing requirements; the line type of the layer of the structural beam is set as a broken line, the line width is 0.3mm, and the color of the layer is white.
3. And selecting a matched layer to draw according to drawing content through a layer calling module in drawing. For example, when a structural column is required to be drawn, a predefined layer drawing of the structural column is called, and when a structural beam is required to be drawn, a predefined layer drawing of the structural beam is called.
Furthermore, according to the embodiment of the application, the data can be structured and standardized from the design source, so that the data can be conveniently extracted from the drawing, and the method can be directly applied to drawing turning or drawing-model consistency check. The data of each module can be maintained according to the service requirements and the levels of groups, areas, companies or projects, so that the data is convenient to adapt to different organization structures and use scenes.
Optionally, after the target CAD drawing is acquired in step 203, and modeling the target CAD drawing based on the component classification structures of the respective levels and the corresponding attribute information in step 204, to obtain a target BIM model, the method may include the following steps:
b1, carrying out integrity check on the target CAD drawing;
b2, when the integrity verification of the target CAD drawing passes, executing the step of modeling the target CAD drawing based on the component classification structures of all the levels and corresponding attribute information to obtain a target BIM model;
And B3, when the integrity verification of the target CAD drawing fails, determining an integrity verification failure part of the target CAD drawing, separating the failure part to obtain a separated target CAD drawing, and modeling the separated target CAD drawing based on the component classification structures of each level and corresponding attribute information to obtain a target BIM model.
The electronic device may perform integrity verification on the target CAD drawing, specifically, may detect the integrity of the target CAD drawing, or may detect the integrity of the target CAD drawing and identify the target CAD drawing, so as to detect the integrity of the member, and may further obtain an integrity verification result, and the electronic device may execute step 204 when the integrity verification of the target CAD drawing passes, or determine an integrity verification failure portion of the target CAD drawing when the integrity verification of the target CAD drawing fails, separate the failure portion, obtain a separated target CAD drawing, and model the separated target CAD drawing based on the member classification structure of each level and the corresponding attribute information, so as to obtain the target BIM model.
It can be seen that the layer configuration method described in the embodiments 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, modeling the target CAD drawing based on component classification structures of various levels and corresponding attribute information to obtain a target BIM model, structuring and standardizing data of the drawing from a design source, conveniently extracting data from the drawing, directly checking consistency of the drawing and the model, and improving CAD drawing efficiency.
In accordance with the embodiment shown in fig. 2, please refer to fig. 3, fig. 3 is a flowchart of a layer configuration method provided in the embodiment of the present application, as shown in the drawings, applied to an electronic device, where the layer configuration method includes:
301. and configuring 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 member classification structure of each layer, wherein the attribute information comprises at least one of the following components: layer category, layer name.
303. And obtaining a target CAD drawing.
304. And carrying out integrity check on the target CAD drawing.
305. And when the integrity verification of the target CAD drawing passes, modeling the target CAD drawing based on the component classification structures of all the levels and corresponding attribute information to obtain a target BIM model.
The specific description of the steps 301 to 305 may refer to the corresponding steps of the layer configuration method described in fig. 2, and will not be repeated herein.
It can be seen that the layer configuration method described in the embodiments 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 by layer category and layer name, carrying out integrity check on the target CAD drawing, modeling the target CAD drawing based on component classification structures of all levels and corresponding attribute information when the integrity check of the target CAD drawing passes, obtaining a target BIM model, carrying out data structuring and standardization on the drawing from a design source, facilitating data extraction from the drawing, directly carrying out pattern consistency check, and improving CAD drawing efficiency.
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:
configuring component classification structures of all levels according to preset rules, wherein the component classification structures are used for BIM modeling;
creating attribute information of each layer according to the member classification structure of each layer, wherein the attribute information comprises at least one of the following components: layer category, layer name;
obtaining a target CAD drawing;
and modeling the target CAD drawing based on the component classification structures of the layers and the corresponding attribute information to obtain a target BIM model.
It can be seen that, in the electronic device described in the embodiments of the present application, the component classification structures of each level are configured according to a preset rule, the component classification structures are used for BIM modeling, and attribute information of each layer is created according to the component classification structures 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, modeling the target CAD drawing based on component classification structures of various levels and corresponding attribute information to obtain a target BIM model, structuring and standardizing data of the drawing from a design source, conveniently extracting data from the drawing, directly checking consistency of the drawing and the model, and improving CAD drawing efficiency.
Optionally, in the aspect of configuring the member classification structures of the respective levels according to a 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 the preset identity information and the rule;
acquiring a target item identifier;
determining a second reference rule corresponding to the target item identifier according to a mapping relation between a preset item identifier and a rule;
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:
acquiring a CAD drawing set corresponding to the target item identifier, wherein the CAD drawing set comprises a plurality of CAD drawings, and each CAD drawing corresponds to one CAD drawing icon;
detecting touch operation of 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, wherein the target CAD drawing icon is a CAD drawing icon corresponding to any one of the CAD drawings.
Optionally, the above program further comprises instructions for performing the steps of:
acquiring target touch parameters aiming at the target CAD drawing icon;
comparing the target touch parameters with preset touch parameters;
and when the target touch parameters are successfully compared with the preset touch parameters, confirming that touch operation aiming at the target CAD drawing icon is detected.
Optionally, after the obtaining the target CAD drawing and modeling the target CAD drawing based on the member classification structures of the respective levels and the corresponding attribute information, 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, executing the step of modeling the target CAD drawing based on the component classification structures of each level and corresponding attribute information to obtain a target BIM model;
when the integrity verification of the target CAD drawing fails, determining an integrity verification failure part of the target CAD drawing, separating the failure part to obtain a separated target CAD drawing, and modeling the separated target CAD drawing based on the component classification structures of each level and corresponding attribute information to obtain a target BIM model.
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 layer configuration apparatus 500 referred to in the embodiment of the present application. The layer configuration device 500 is applied to an electronic device, and the device 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 a component classification structure of each level according to a preset rule, where the component classification structure is used for BIM modeling;
the creating unit 502 is configured to create attribute information of each layer according to the component classification structures of each hierarchy, where the attribute information includes at least one of the following: layer category, 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 levels and the corresponding attribute information, so as to obtain a target BIM model.
It can be seen that the layer configuration device described in the embodiments 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, modeling the target CAD drawing based on component classification structures of various levels and corresponding attribute information to obtain a target BIM model, structuring and standardizing data of the drawing from a design source, conveniently extracting data from the drawing, directly checking consistency of the drawing and the model, and improving CAD drawing efficiency.
Alternatively, 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 the preset identity information and the rule;
acquiring a target item identifier;
determining a second reference rule corresponding to the target item identifier according to a mapping relation between a preset item identifier and a rule;
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 the acquiring the target CAD drawing, the acquiring unit 503 is specifically configured to:
acquiring a CAD drawing set corresponding to the target item identifier, wherein the CAD drawing set comprises a plurality of CAD drawings, and each CAD drawing corresponds to one CAD drawing icon;
detecting touch operation of 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, wherein the target CAD drawing icon is a CAD drawing icon corresponding to any one of the CAD drawings.
Optionally, the apparatus 500 is further specifically configured to:
acquiring target touch parameters aiming at the target CAD drawing icon;
comparing the target touch parameters with preset touch parameters;
and when the target touch parameters are successfully compared with the preset touch parameters, confirming that touch operation aiming at the target CAD drawing icon is detected.
Optionally, after the obtaining the target CAD drawing and modeling the target CAD drawing based on the component classification structures of the respective levels and the corresponding attribute information, 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, executing the step of modeling the target CAD drawing based on the component classification structures of each level and corresponding attribute information to obtain a target BIM model;
when the integrity verification of the target CAD drawing fails, determining an integrity verification failure part of the target CAD drawing, separating the failure part to obtain a separated target CAD drawing, and modeling the separated target CAD drawing based on the component classification structures of each level and corresponding attribute information to obtain a target BIM model.
It may be understood that the functions of each program module of the layer configuration apparatus 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 (8)

1. A layer configuration method, applied to an electronic device, the method comprising:
configuring component classification structures of all levels according to preset rules, wherein the component classification structures are used for BIM modeling;
creating attribute information of each layer according to the member classification structure of each layer, wherein the attribute information comprises at least one of the following components: layer category, layer name;
Obtaining a target CAD drawing;
modeling the target CAD drawing based on the component classification structures of the layers and corresponding attribute information to obtain a target BIM model;
the configuration of the member classification structure of each level according to the preset rule includes:
acquiring target identity information;
determining a first reference rule corresponding to the target identity information according to a mapping relation between the preset identity information and the rule;
acquiring a target item identifier;
determining a second reference rule corresponding to the target item identifier according to a mapping relation between a preset item identifier and a rule;
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.
2. The method of claim 1, wherein the obtaining the target CAD drawing comprises:
acquiring a CAD drawing set corresponding to the target item identifier, wherein the CAD drawing set comprises a plurality of CAD drawings, and each CAD drawing corresponds to one CAD drawing icon;
detecting touch operation of 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, wherein the target CAD drawing icon is a CAD drawing icon corresponding to any one of the CAD drawings.
3. The method according to claim 2, wherein the method further comprises:
acquiring target touch parameters aiming at the target CAD drawing icon;
comparing the target touch parameters with preset touch parameters;
and when the target touch parameters are successfully compared with the preset touch parameters, confirming that touch operation aiming at the target CAD drawing icon is detected.
4. A method according to any one of claims 1-3, wherein after said obtaining a target CAD drawing and said modeling said target CAD drawing based on said respective hierarchical component classification structures and corresponding attribute information, obtaining a target BIM model, said method further comprises:
carrying out integrity verification on the target CAD drawing;
when the integrity of the target CAD drawing passes, executing the step of modeling the target CAD drawing based on the component classification structures of each level and corresponding attribute information to obtain a target BIM model;
When the integrity verification of the target CAD drawing fails, determining an integrity verification failure part of the target CAD drawing, separating the failure part to obtain a separated target CAD drawing, and modeling the separated target CAD drawing based on the component classification structures of each level and corresponding attribute information to obtain a target BIM model.
5. A layer configuration apparatus, for application to an electronic device, the apparatus comprising: 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, wherein the component classification structures are used for BIM modeling;
the creation unit is configured to create attribute information of each layer according to the component classification structure of each layer, where the attribute information includes at least one of the following: layer category, layer name;
the acquisition unit is used for acquiring a target CAD drawing;
the modeling unit is used for modeling the target CAD drawing based on the component classification structures of the levels and corresponding attribute information to obtain a target BIM model;
in terms of configuring the member classification structures of each level according to a preset rule, the configuration 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 the preset identity information and the rule;
acquiring a target item identifier;
determining a second reference rule corresponding to the target item identifier according to a mapping relation between a preset item identifier and a rule;
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.
6. The apparatus according to claim 5, wherein in the aspect of acquiring the target CAD drawing, the acquiring unit is specifically configured to:
acquiring a CAD drawing set corresponding to the target item identifier, wherein the CAD drawing set comprises a plurality of CAD drawings, and each CAD drawing corresponds to one CAD drawing icon;
detecting touch operation of 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, wherein the target CAD drawing icon is a CAD drawing icon corresponding to any one of the CAD drawings.
7. 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-4.
8. 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-4.
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 CN112818456A (en) 2021-05-18
CN112818456B true 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)

Families Citing this family (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
CN113706997B (en) * 2021-09-06 2023-06-27 深圳市指跃未来科技有限公司 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
CN116466853B (en) * 2022-09-08 2024-06-14 苏州浩辰软件股份有限公司 Viewing method, system and computer program product
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

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

Also Published As

Publication number Publication date
CN112818456A (en) 2021-05-18

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
CN108664364B (en) Terminal testing method and device
US20160349928A1 (en) Generating summary of activity on computer gui
CN110765891B (en) Engineering drawing identification method, electronic equipment and related product
CN111124888B (en) Method and device for generating recording script and electronic device
US20170277703A1 (en) Method for Displaying Webpage and Server
CN111222571B (en) Image special effect processing method and device, electronic equipment and storage medium
CN112988557B (en) Search box positioning method, data acquisition method, device and medium
CN110796016A (en) Engineering drawing identification method, electronic equipment and related product
CN110765893B (en) Drawing file identification method, electronic equipment and related product
CN116097322A (en) Computer automatic interactive activity recognition based on key point detection
Saar et al. Browserbite: cross‐browser testing via image processing
CN111783561A (en) Picture examination result correction method, electronic equipment and related products
CN112966256A (en) Equipment management method based on building information model and related device
CN111428430B (en) Method, device, equipment and medium for acquiring circuit device information in circuit design
CN106599637A (en) Method and device for inputting verification code into verification interface
US20230298373A1 (en) Detecting graphical elements in charts using predicted heatmaps
CN114061593A (en) Navigation method based on building information model and related device
CN112446850A (en) Adaptation test method and device and electronic equipment
CN114332972A (en) Monitoring image processing method and device, electronic equipment and readable storage medium
KR101987183B1 (en) Apparatus, method and server for app development supporting front-end development using app development utility
CN113010946B (en) Data analysis method, electronic equipment and related products
CN112752034B (en) Video special effect verification method and device
JP6803035B2 (en) An electronic device that provides a user interface based on the user's intention and how it operates

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