Method for realizing BIM model collaboration and web lightweighting based on Revit technology

By obtaining the collaborative terminal information set in Revit technology, generating modified BIM model groups, and performing model integration and lightweight processing, the problem of users in Revit software being unable to participate in modeling at the same time, inconsistent design software and model redundancy is solved, and efficient collaborative modeling and good lightweighting are achieved.

CN119002991BActive Publication Date: 2025-06-17CHINA CONSULTING PLANNING & DESIGN RES CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411009706.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-26
Publication Date
2025-06-17
Estimated Expiration
2044-07-26

AI Technical Summary

Technical Problem

When using Revit software to perform BIM modeling, users participating in the modeling cannot participate at the same time, resulting in low modeling efficiency; the design software used by users is not unified, resulting in component conflicts and model distortion; the generated BIM model contains redundant information, resulting in poor lightweighting effect.

Method used

By obtaining the collaborative terminal information set, determining the main control terminal and collaborative terminal, generating the modified BIM model group, performing model integration and lightweight processing, generating a model display page and sending it to each terminal.

Benefits of technology

Multi-user collaborative modeling is realized, reducing modeling time, avoiding component conflicts and model distortion, and improving the lightweight effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119002991B_ABST
    Figure CN119002991B_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure disclose a method for realizing BIM model collaboration and web lightweighting based on Revit technology. A specific implementation manner of this method includes: obtaining a collaborative terminal information set; in response to receiving model design information sent by a target terminal, determining the target terminal as the master control terminal, and determining other terminals in each terminal corresponding to the collaborative terminal information set excluding the master control terminal as the collaborative terminal set; determining a model generation node sequence and an initial BIM model corresponding to the model design information; generating a modified BIM model group according to the model generation node sequence; performing model integration processing on each modified BIM model included in the modified BIM model group to generate an integrated BIM model; performing lightweighting processing on the integrated BIM model to generate a model display page, and sending the BIM display page to each terminal corresponding to the collaborative terminal information set for display. This implementation manner reduces the time for modeling the BIM model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to the field of computer technology, and particularly to a method for realizing BIM model collaboration and web lightweighting based on Revit technology. Background Art

[0002] With the continuous advancement of the digitalization process in the construction industry, the use of design software for BIM forward design has been deeply popularized, and it is possible to effectively complete a model modeling according to the basic process of BIM forward design. However, since there are many personnel participating in the modeling, the model needs to be modified on multiple terminals, and how to improve the modeling efficiency has become an important research topic. Currently, when using Revit software for BIM modeling, the commonly adopted method is: transmitting the generated BIM file to the users participating in the modeling, and then transmitting the modified BIM file after the users complete the modification.

[0003] However, it is found in practice that when using Revit software for BIM modeling in the above manner, there is often the following technical problem 1: The users participating in the modeling cannot participate in the modeling simultaneously, resulting in a long time-consuming to complete the modeling and low modeling efficiency.

[0004] In the process of adopting technical solutions to solve the above technical problem 1, there is often the following technical problem 2: The design software used by the professionals of the users participating in the modeling is not unified, resulting in easy conflicts of components during the modeling process and the need to re-model, causing a long time-consuming to complete the modeling. For these problems of the above technical problem 2, the conventional solution is generally: After the users using the same design software complete the modeling and modification, the modified BIM model is transmitted to the users of other design software. However, the above conventional solution still has the following problems: The modeling processes responsible for each user are different. After the users using the same design software complete the modeling and modification and then make modifications to the next design software, some components cannot be added to the corresponding positions, resulting in the generated model not matching the drawings.

[0005] In the process of adopting technical solutions to solve the above technical problem 1, there is often the following technical problem 3: When modeling through Revit software, the generated source file contains redundant information data such as axis networks and annotations. When performing lightweighting, the redundant data is not cleared, resulting in a long time-consuming for the generated web page to load and poor lightweighting effect. For these problems of the above technical problem 3, the conventional solution is generally: Simplifying the BIM model through the QEM algorithm. However, the above conventional solution still has the following problems: The simplification effect of the QEM algorithm is uniform and the detailed features are easily lost, resulting in distortion of the simplified model.

[0006] The above information disclosed in this background art section is only used to enhance the understanding of the background of the inventive concept, and thus, it may include information that does not form the prior art known to ordinary skilled persons in the art of this country. Summary of the Invention

[0007] The content part of this disclosure is used to briefly introduce the concepts that will be described in detail in the following detailed implementation part. The content part of this disclosure is not intended to identify the key features or essential features of the claimed technical solution, nor is it intended to limit the scope of the claimed technical solution.

[0008] Some embodiments of this disclosure propose a method, apparatus, electronic device, and computer-readable medium for realizing BIM model collaboration and web lightweighting based on Revit technology to solve one or more of the technical problems mentioned in the above background art section.

[0009] In a first aspect, some embodiments of this disclosure provide a method for realizing BIM model collaboration and web lightweighting based on Revit technology. The method includes: obtaining a set of collaborative terminal information, where the collaborative terminal information in the set of collaborative terminal information is information of terminals participating in modeling, and the collaborative terminal information in the set of collaborative terminal information includes terminal codes; in response to receiving model design information sent by a target terminal, determining the target terminal as the master control terminal, and determining the other terminals in each terminal corresponding to the set of collaborative terminal information excluding the master control terminal as a set of collaborative terminals; determining a model generation node sequence and an initial BIM model corresponding to the model design information, where the initial BIM model is a model uploaded by the master control terminal after being generated by Revit software; generating a modified BIM model group according to the model generation node sequence; performing model integration processing on each modified BIM model included in the modified BIM model group to generate an integrated BIM model; performing lightweighting processing on the integrated BIM model to generate a model display page, and sending the BIM display page to each terminal corresponding to the set of collaborative terminal information for display, where the model display page is a page link representing the model display page.

[0010] Second aspect, some embodiments of the present disclosure provide a device for realizing BIM model collaboration and web lightweighting based on Revit technology. The device includes: an acquisition unit configured to acquire a set of collaborative terminal information, where the collaborative terminal information in the set of collaborative terminal information is information of terminals participating in modeling, and the collaborative terminal information in the set of collaborative terminal information includes terminal codes; a first determination unit configured to, in response to receiving model design information sent by a target terminal, determine the target terminal as the master control terminal, and determine other terminals in each terminal corresponding to the set of collaborative terminal information excluding the master control terminal as a set of collaborative terminals; a second determination unit configured to determine a model generation node sequence and an initial BIM model corresponding to the model design information, where the initial BIM model is a model uploaded by the master control terminal after being generated by Revit software; a generation unit configured to generate a modified BIM model group according to the model generation node sequence; an integration unit configured to perform model integration processing on each modified BIM model included in the modified BIM model group to generate an integrated BIM model; a lightweighting unit configured to perform lightweighting processing on the integrated BIM model to generate a model display page, and send the BIM display page to each terminal corresponding to the set of collaborative terminal information for display, where the model display page is a page link representing the model display page.

[0011] Third aspect, some embodiments of the present disclosure provide an electronic device, including: one or more processors; a storage device storing one or more programs thereon, and when the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any implementation manner of the first aspect above.

[0012] Fourth aspect, some embodiments of the present disclosure provide a computer-readable medium storing a computer program thereon, where when the program is executed by a processor, the method described in any implementation manner of the first aspect above is implemented.

[0013] The above-mentioned various embodiments of the present disclosure have the following beneficial effects: Through the method for realizing BIM model collaboration and web lightweighting based on Revit technology in some embodiments of the present disclosure, the time required for modeling the BIM model is reduced. Specifically, the reason for the long time required for modeling the BIM model is that the users participating in the modeling cannot participate in the modeling simultaneously, resulting in a long time required to complete the modeling and low modeling efficiency. Based on this, in some embodiments of the method for realizing BIM model collaboration and web lightweighting based on Revit technology of the present disclosure, first, obtain the collaborative terminal information set. Thus, each terminal participating in the modeling can be determined. Secondly, in response to receiving the model design information sent by the target terminal, determine the above target terminal as the master control terminal, and determine the other terminals in the respective terminals corresponding to the collaborative terminal information set excluding the master control terminal as the collaborative terminal set. Thus, the terminal for master control modeling and the terminals for collaborative modeling can be determined. Then, determine the model generation node sequence and the initial BIM model corresponding to the above model design information. Thus, each node required for modeling and the initial BIM model can be determined. After that, generate a modified BIM model group according to the above model generation node sequence. Thus, a modified BIM model can be generated. Then, perform model integration processing on each modified BIM model included in the above modified BIM model group to generate an integrated BIM model. Thus, the final model can be determined. Finally, perform lightweight processing on the above integrated BIM model to generate a model display page, and send the above BIM display page to each terminal corresponding to the collaborative terminal information set for display. Thus, the model can be lightweighted and displayed. By collaborative modeling through each terminal, the time required for modeling the BIM model is reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] In combination with the accompanying drawings and with reference to the following specific embodiments, the above and other features, advantages and aspects of the various embodiments of the present disclosure will become more obvious. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the elements and elements are not necessarily drawn to scale.

[0015] Figure 1 is a flowchart of some embodiments of the method for realizing BIM model collaboration and web lightweighting based on Revit technology according to the present disclosure;

[0016] Figure 2 is a schematic structural diagram of some embodiments of the device for realizing BIM model collaboration and web lightweighting based on Revit technology according to the present disclosure;

[0017] Figure 3 is a schematic structural diagram of an electronic device suitable for implementing some embodiments of the present disclosure. Detailed implementation manners

[0018] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although some embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. On the contrary, these embodiments are provided to more thoroughly and completely understand the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not used to limit the protection scope of the present disclosure.

[0019] In addition, it should be noted that for the sake of convenience of description, only parts related to the relevant invention are shown in the drawings. Without conflict, the embodiments in the present disclosure and the features in the embodiments can be combined with each other.

[0020] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence relationship of the functions performed by these devices, modules or units.

[0021] It should be noted that the modifications of "one" and "plural" mentioned in the present disclosure are illustrative rather than restrictive. Those skilled in the art should understand that unless clearly specified otherwise in the context, it should be understood as "one or more".

[0022] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only for illustrative purposes and are not used to limit the scope of these messages or information.

[0023] The present disclosure will be described in detail below with reference to the drawings and in combination with embodiments.

[0024] Figure 1 Flow 100 of some embodiments of a method for realizing BIM model collaboration and web lightweighting based on Revit technology according to the present disclosure is shown. The method for realizing BIM model collaboration and web lightweighting based on Revit technology includes the following steps:

[0025] Step 101, obtaining a collaborative terminal information set.

[0026] In some embodiments, the execution entity (such as a server) of the method for implementing BIM model collaboration and web lightweighting based on Revit technology can obtain a set of collaborative terminal information. In practice, the set of collaborative terminal information can be obtained from a target database through a wired connection or a wireless connection. Among them, the collaborative terminal information in the above set of collaborative terminal information can be the information of the terminals participating in the modeling. The collaborative terminal information in the above set of collaborative terminal information includes a terminal code. The above terminal code can uniquely represent a certain collaborative terminal. The above target database can be a database for storing collaborative terminal information.

[0027] Step 102, in response to receiving the model design information sent by the target terminal, determine the target terminal as the master control terminal, and determine the other terminals in each terminal corresponding to the set of collaborative terminal information excluding the master control terminal as the collaborative terminal set.

[0028] In some embodiments, the above execution entity can, in response to receiving the model design information sent by the target terminal, determine the above target terminal as the master control terminal, and determine the other terminals in each terminal corresponding to the above set of collaborative terminal information excluding the above master control terminal as the collaborative terminal set. Among them, the above model design information can be pre-set information for designing a BIM model. For example, the above model design information can be a model drawing.

[0029] Step 103, determine the model generation node sequence and the initial BIM model corresponding to the model design information.

[0030] In some embodiments, the above execution entity can determine the model generation node sequence and the initial BIM model corresponding to the above model design information. In practice, the above model generation node sequence and the above initial BIM model can be obtained after being generated by the master control terminal through Revit software and uploaded.

[0031] Considering the problems of the above conventional solutions, in the face of the above technical problem 2: the design software used by the professionals of the users participating in the modeling is not unified, resulting in easy conflicts of components during the modeling process and the need to re-model, which causes a long time to complete the modeling. Combining the existing technical status, the following solution can be decided.

[0032] Optionally, before step 104, the following steps are further included:

[0033] The first step, for each collaborative terminal in the above collaborative terminal set, perform the following processing steps:

[0034] The first processing step, determine the terminal type corresponding to the above collaborative terminal. Among them, the above terminal type can be the type of the design software used by the terminal. For example, the above terminal type can include but is not limited to: CAD, Revit.

[0035] The second processing step is to determine the model generation node corresponding to the current node as the target generation node.

[0036] The third processing step is to perform parsing processing on the above target node and the above terminal type to generate a parsing result. Among them, the above parsing processing may be to determine whether the terminal corresponding to the above terminal type can be accessed at the above target node.

[0037] The fourth processing step is to disconnect the network connection with the above collaborative terminal in response to the above parsing result being the first parsing result. Among them, the above first parsing result may indicate that the terminal corresponding to the above terminal type cannot be accessed at the above target node.

[0038] The fifth processing step is to obtain the format information corresponding to the above terminal type according to the above terminal type. For example, the format information corresponding to CAD may be the DWG file format.

[0039] The sixth processing step is to perform format conversion processing on the above initial BIM model according to the above format information to generate a converted model.

[0040] The seventh processing step is to send the above converted model to the above collaborative terminal for display.

[0041] The eighth processing step is to receive the model space information sent by the above collaborative terminal in response to the above terminal type representing the first terminal type. Among them, the above model space information may be space information used to represent the space occupied by each component used. The above first terminal type may be a preset terminal type. For example, the above first terminal type may be SketchUp.

[0042] The ninth processing step is to perform space reservation processing on the above initial BIM model according to the above model space information to generate a reserved BIM model.

[0043] The tenth processing step is to update the initial BIM model in the above collaborative terminal set to the above reserved BIM model.

[0044] The above first processing step - tenth processing step is an inventive point of an embodiment of the present disclosure, which solves the second technical problem mentioned in the background art, that is, "the design software used by the professionals of the users participating in the modeling is not unified, resulting in easy conflicts of components during the modeling process, and the need to re - model, which causes a long time to complete the modeling." The reasons for the long time required to complete the modeling are as follows: The design software used by the professionals of the users participating in the modeling is not unified, resulting in easy conflicts of components during the modeling process, and the need to re - model, which causes a long time to complete the modeling. If the above factors are solved, the time to complete the modeling can be reduced and the modeling efficiency can be improved. To achieve this effect, for each collaborative terminal in the above - mentioned collaborative terminal set, the present disclosure performs the following processing steps: First, determine the terminal type corresponding to the above - mentioned collaborative terminal. Thus, the design software used by different terminals can be determined. Second, determine the model generation node corresponding to the current node as the target generation node. Thus, the progress of the current modeling can be determined. Third, perform parsing processing on the above - mentioned target node and the above - mentioned terminal type to generate a parsing result; in response to the parsing result being the first parsing result, disconnect the network connection with the above - mentioned collaborative terminal. Thus, it can be avoided that terminals irrelevant to the current modeling progress modify the model, resulting in errors in the constructed model. Fourth, in response to the parsing result being the second parsing result, obtain the format information corresponding to the above - mentioned terminal type according to the above - mentioned terminal type; perform format conversion processing on the above - mentioned initial BIM model according to the above - mentioned format information to generate a converted model. Thus, the model file can be converted into a file format adapted to other design software. Fifth, send the above - mentioned converted model to the above - mentioned collaborative terminal for display. Thus, it is convenient for the collaborative terminal to view the model. Sixth, in response to the above - mentioned terminal type representing the first terminal type, receive the model space information sent by the above - mentioned collaborative terminal; perform space reservation processing on the above - mentioned initial BIM model according to the above - mentioned model space information to generate a reserved BIM model. Thus, when the design software used by the terminal is a specific software, the space part for adding components required by the specific software can be reserved, avoiding component conflicts caused by other design software adding components in this space, thereby avoiding re - modeling and reducing the time to complete the modeling. Seventh, update the initial BIM model in the above - mentioned collaborative terminal set to the above - mentioned reserved BIM model. Thus, the format conversion of the model is completed, and the time to complete the modeling is reduced.

[0045] Step 104: Generate a modified BIM model group according to the model generation node sequence.

[0046] In some embodiments, the above - mentioned execution subject can generate a modified BIM model group according to the above - mentioned model generation node sequence.

[0047] In practice, the above-mentioned execution entity can generate a modified BIM model through the following steps:

[0048] In the first step, based on the model node generation sequence, the following modification steps are executed:

[0049] In the first modification step, in response to detecting at least one annotation operation on the initial BIM model corresponding to the first model generation node in the model node generation sequence by any one of the collaborative terminals in the above-mentioned collaborative terminal set, an annotation file group is generated. Among them, the above-mentioned annotation operation can be an annotation operation on the components in a certain area of the initial BIM model. For example, component A is added to the selected area in the initial BIM model.

[0050] In the second modification step, the above-mentioned annotation file group is stored in a preset collaborative folder. Among them, the above-mentioned preset collaborative folder can be a folder pre-created for storing annotation files.

[0051] In the third modification step, collaborative information corresponding to the above-mentioned annotation file group is generated. Among them, the above-mentioned collaborative information can represent that the above-mentioned preset collaborative folder stores annotation files.

[0052] In the fourth modification step, the above-mentioned collaborative information is sent to the above-mentioned master control terminal for display.

[0053] In the fifth modification step, in response to receiving the modification file of the above-mentioned master control terminal for the above-mentioned initial BIM model, at least one modified BIM model is generated.

[0054] In practice, the above-mentioned modification file can be generated through the following generation steps:

[0055] In the first generation step, a preset component information set is obtained. Among them, the preset component information in the above-mentioned preset component information set includes component identifiers. Among them, the above-mentioned component identifier can uniquely represent a certain component.

[0056] In the second generation step, component request information sent by a target collaborative terminal is received. Among them, the above-mentioned component request information can be request information for using components.

[0057] In the third generation step, the preset permission information corresponding to the above-mentioned target collaborative terminal is selected from the preset permission information set as the target permission information. Among them, the above-mentioned preset permission information can be the permission information of components that a preset collaborative terminal can call.

[0058] In the fourth generation step, according to the above-mentioned target permission information, at least one preset component information is selected from the above-mentioned preset component information set as the target component information, and a target component information set is obtained. In practice, each preset component information that the target collaborative terminal can call can be selected as the target component information set.

[0059] A fifth generation step, in response to detecting a selection operation of the above-mentioned target collaborative terminal for at least one target component information, determining the position information of each selected target component information to obtain a position information set. The above-mentioned position information may be the position information of the component corresponding to the target component information in the model.

[0060] A sixth generation step, for each selected target component information, merging the component identifier corresponding to the above-mentioned target component information and the corresponding position information to generate a merged component identifier.

[0061] A seventh generation step, determining the generated merged component identifiers as modified files.

[0062] A sixth modification step, in response to the model generation node sequence of removing the above-mentioned first model generation node being empty, determining the at least one generated modified BIM model as a modified BIM model group.

[0063] Optionally, after the sixth modification step, the following sub-steps are further included:

[0064] A first sub-step, in response to receiving a modification request message of a target BIM model from any collaborative terminal in the above-mentioned collaborative terminal set, sending the above-mentioned target BIM model to the above-mentioned collaborative terminal for display. Wherein, the above-mentioned modification request message may be a request message for standard modification of the model.

[0065] A second sub-step, receiving the model modification information sent by the above-mentioned collaborative terminal. Wherein, the above-mentioned model modification information may be used to represent the content of the model modification.

[0066] A third sub-step, determining whether the above-mentioned model modification information meets a preset avoidance condition. Wherein, the above-mentioned preset avoidance condition may be that there is a conflict between the modified component and the original component.

[0067] A fourth sub-step, in response to determining that the above-mentioned model modification information meets the above-mentioned preset avoidance condition, performing an avoidance modification operation on the above-mentioned target BIM model according to the above-mentioned model modification information to generate a modified target BIM model.

[0068] A fifth sub-step, determining the above-mentioned modified target BIM model as a modified BIM model.

[0069] A second step, in response to the model generation node sequence of removing the above-mentioned first model generation node not being empty, performing model combination processing on the at least one generated modified BIM model to generate a combined model, using the above-mentioned combined model as an initial BIM model, using the model generation node sequence of removing the above-mentioned first model generation node as a model generation node sequence, and executing the above-mentioned modification step again.

[0070] Step 105: Perform model integration processing on each modified BIM model included in the modified BIM model group to generate an integrated BIM model.

[0071] In some embodiments, the above-mentioned execution subject may perform model integration processing on each modified BIM model included in the modified BIM model group to generate an integrated BIM model. The above-mentioned model integration processing may be to combine the components included in each modified BIM model in the same BIM model to obtain the integrated BIM model.

[0072] Step 106: Perform lightweight processing on the integrated BIM model to generate a model display page, and send the BIM display page to each terminal corresponding to the collaborative terminal information set for display.

[0073] In some embodiments, the above-mentioned execution subject may perform lightweight processing on the above-mentioned integrated BIM model to generate a model display page, and send the above-mentioned BIM display page to each terminal corresponding to the above-mentioned collaborative terminal information set for display. Among them, the above-mentioned model display page may be a page link representing the model display page.

[0074] Considering the problems of the above-mentioned conventional solutions, in the face of the above-mentioned technical problem three: when modeling through Revit software, the generated source file contains redundant information data such as axis networks and annotations. When performing lightweight processing, the redundant data is not cleared, resulting in the generated web page taking a long time to load and having a poor lightweight effect. Combining the existing technical status, the following solution can be determined.

[0075] In practice, the following steps can be used to perform lightweight processing on the integrated BIM model:

[0076] The first step: Perform extraction processing on the above-mentioned integrated BIM model to generate a model extraction file. Among them, the above-mentioned model extraction file includes model mesh data.

[0077] The second step: Initialize the above-mentioned model mesh data to obtain initialized mesh data.

[0078] The third step: Determine the error matrix of each vertex included in the above-mentioned initialized mesh data.

[0079] The fourth step: For each edge in the above-mentioned initialized mesh data, determine the position of the new vertex after edge folding and the folding cost value of the edge folding.

[0080] The fifth step: Generate vertex curvature values and flatness values. In practice, the following formula can be used to determine vertex curvature values and flatness values:

[0081]

[0082] Among them, represents the vertex curvature value of vertex M i The vertex curvature value. y represents the number of all adjacent triangular faces to vertex M i The number of all adjacent triangular faces to vertex M. represents the angle between the triangular face normal vector and the vertex normal vector. represents the triangular face normal vector. n i represents the vertex normal vector. γ i represents the flattening value. b represents the number of triangular faces in the first-order neighborhood of the current vertex. θ a represents the normal dihedral angle of the a-th edge in the first-order neighborhood of the current vertex.

[0083] Step 6: Generate an updated folding cost value based on the above folding cost value, the above vertex curvature value, and the above flattening value. In practice, the product of the folding cost value and the vertex curvature value and the flattening value can be determined as the updated folding cost value.

[0084] Step 7: Perform an edge folding operation.

[0085] Step 8: Determine the geometric element state corresponding to the folding edge and update the minimum heap according to the above updated folding cost value.

[0086] Step 9: In response to the above geometric element state satisfying a preset simplification condition, perform a compression process on the simplified model extraction file to generate a compressed file. Among them, the above preset simplification condition can be a condition preset for determining the completion of simplification. Here, in response to the above geometric element state not satisfying the preset simplification condition, perform the edge folding operation again.

[0087] Step 10: Generate a model display page based on the above compressed file, and generate a page link corresponding to the above model display page.

[0088] The above first step to tenth step, as an inventive point of the embodiment of the present disclosure, solves the technical problem three mentioned in the background art, that is, "when modeling through the Revit software, the generated source file contains redundant information data such as axis networks and annotations. When lightweighting, the redundant data is not cleared, resulting in the generated web page taking a long time to load and having a poor lightweighting effect." The reasons for the long loading time and poor lightweighting effect are as follows: when modeling through the Revit software, the generated source file contains redundant information data such as axis networks and annotations. When lightweighting, the redundant data is not cleared, resulting in the generated web page taking a long time to load and having a poor lightweighting effect. If the above factors are solved, the effect of improving data security can be achieved. To achieve this effect, first, the integrated BIM model is extracted and processed to generate a model extraction file; the model grid data is initialized to obtain the initialized grid data. Thus, the redundant data in the source file of the Revit software can be removed. Second, the error matrix of each vertex included in the initialized grid data is determined; for each edge in the initialized grid data, the position of the new vertex after the edge is folded and the folding cost value of the edge folding are determined; the vertex curvature value and the flatness value are generated. Thus, the vertex curvature value and the flatness value of each vertex can be determined. Third, according to the folding cost value, the vertex curvature value, and the flatness value, an updated folding cost value is generated. Thus, the cost value after folding can be determined. Fourth, the edge folding operation is performed; according to the updated folding cost value, the geometric element state corresponding to the folded edge and the minimum heap are updated; in response to the geometric element state satisfying the preset simplification condition, the simplified model extraction file is compressed to generate a compressed file. Thus, after the simplification condition is completed, the folding stops. Finally, according to the compressed file, a model display page is generated, and a page link corresponding to the model display page is generated. Thus, the loss of model details can be avoided through the vertex curvature value and the flatness value, so that the distortion of the simplified model can be avoided. At the same time, through the double simplification of data extraction and folding, the time for generating the web page is reduced, and the lightweighting effect is improved.

[0089] The above-mentioned various embodiments of the present disclosure have the following beneficial effects: Through the method for realizing BIM model collaboration and web lightweighting based on Revit technology in some embodiments of the present disclosure, the time for modeling the BIM model is reduced. Specifically, the reason for the need to spend a long time modeling the BIM model is that the users participating in the modeling cannot participate in the modeling simultaneously, resulting in a long time required to complete the modeling and low modeling efficiency. Based on this, in some embodiments of the method for realizing BIM model collaboration and web lightweighting based on Revit technology of the present disclosure, first, a set of collaborative terminal information is obtained. Thus, each terminal participating in the modeling can be determined. Secondly, in response to receiving the model design information sent by the target terminal, the above-mentioned target terminal is determined as the master control terminal, and the other terminals in the set of terminals corresponding to the above-mentioned collaborative terminal information set excluding the master control terminal are determined as the collaborative terminal set. Thus, the terminal for master control modeling and the terminals for collaborative modeling can be determined. Then, a model generation node sequence and an initial BIM model corresponding to the above-mentioned model design information are determined. Thus, each node required for modeling and the initial BIM model can be determined. After that, according to the above-mentioned model generation node sequence, a modified BIM model group is generated. Thus, a modified BIM model can be generated. Then, the modified BIM models included in the above-mentioned modified BIM model group are subjected to model integration processing to generate an integrated BIM model. Thus, the final model can be determined. Finally, the above-mentioned integrated BIM model is subjected to lightweighting processing to generate a model display page, and the above-mentioned BIM display page is sent to each terminal corresponding to the above-mentioned collaborative terminal information set for display. Thus, the model can be lightweighted and displayed. By collaborative modeling through each terminal, the time for modeling the BIM model is reduced.

[0090] Further referring to Figure 2 , as an implementation of the methods shown in the above figures, the present disclosure provides some embodiments of a device for realizing BIM model collaboration and web lightweighting based on Revit technology. These device embodiments correspond to Figure 1 the method embodiments shown. The device for realizing BIM model collaboration and web lightweighting based on Revit technology can be specifically applied to various electronic devices.

[0091] As Figure 2As shown, the device 200 for realizing BIM model collaboration and web lightweighting based on Revit technology in some embodiments includes: an acquisition unit 201, a first determination unit 202, a second determination unit 203, a generation unit 204, an integration unit 205, and a lightweighting unit 206. Among them, the acquisition unit 201 is configured to acquire a set of collaborative terminal information, where the collaborative terminal information in the set of collaborative terminal information is information of terminals participating in modeling, and the collaborative terminal information in the set of collaborative terminal information includes terminal codes; the first determination unit 202 is configured to, in response to receiving model design information sent by a target terminal, determine the target terminal as the master control terminal, and determine the other terminals except the master control terminal among the terminals corresponding to the set of collaborative terminal information as the collaborative terminal set; the second determination unit 203 is configured to determine a model generation node sequence and an initial BIM model corresponding to the model design information, where the initial BIM model is a model uploaded by the master control terminal after being generated by Revit software; the generation unit 204 is configured to generate a modified BIM model group according to the model generation node sequence; the integration unit 205 is configured to perform model integration processing on each modified BIM model included in the modified BIM model group to generate an integrated BIM model; the lightweighting unit 206 is configured to perform lightweighting processing on the integrated BIM model to generate a model display page, and send the BIM display page to each terminal corresponding to the set of collaborative terminal information for display, where the model display page is a page link representing the model display page.

[0092] It can be understood that the units described in the device 200 for realizing BIM model collaboration and web lightweighting based on Revit technology correspond to the respective steps in the method described in the reference Figure 1 Therefore, the operations, features, and beneficial effects described above for the method also apply to the device 200 for realizing BIM model collaboration and web lightweighting based on Revit technology and the units included therein, and will not be elaborated here.

[0093] Next, refer to Figure 3 , which shows a schematic structural diagram of an electronic device 300 suitable for implementing some embodiments of the present disclosure. The electronic device in some embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Tablet Computers), PMPs (Portable Multimedia Players), in-vehicle terminals (such as in-vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 3 The electronic device shown is only an example and should not impose any limitations on the functions and usage scopes of the embodiments of the present disclosure.

[0094] As Figure 3 shown, the electronic device 300 may include a processing device 301 (such as a central processing unit, a graphics processing unit, etc.), which may perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 302 or a program loaded from a storage device 308 into a random access memory (RAM) 303. In the RAM 303, various programs and data required for the operation of the electronic device 300 are also stored. The processing device 301, the ROM 302, and the RAM 303 are connected to each other through a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.

[0095] Generally, the following devices may be connected to the I / O interface 305: an input device 306 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 307 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 308 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 309. The communication device 309 may allow the electronic device 300 to communicate with other devices wirelessly or wiredly to exchange data. Although Figure 3 the electronic device 300 with various devices is shown, it should be understood that it is not required to implement or have all the shown devices. More or fewer devices may be alternatively implemented or had. Figure 3 Each block shown in

[0096] particular, according to some embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, some embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes program codes for performing the methods shown in the flowcharts. In such some embodiments, the computer program may be downloaded and installed from a network through the communication device 309, or installed from the storage device 308, or installed from the ROM 302. When the computer program is executed by the processing device 301, the above-mentioned functions defined in the methods of some embodiments of the present disclosure are executed.

[0097] It should be noted that the computer-readable media described in some embodiments of the present disclosure may be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In some embodiments of the present disclosure, the computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In some embodiments of the present disclosure, the computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium, and the computer-readable signal medium may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted by any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0098] In some embodiments, the client and the server may communicate using any currently known or future-developed network protocol, such as HTTP (HyperText Transfer Protocol), and may be interconnected with digital data communication in any form or medium (e.g., a communication network). Examples of communication networks include local area networks ("LANs"), wide area networks ("WANs"), the Internet (e.g., the Internet), and end-to-end networks (e.g., ad hoc end-to-end networks), as well as any currently known or future-developed networks.

[0099] The above computer-readable medium may be included in the above electronic device; or it may exist independently and not be assembled into the electronic device. The above computer-readable medium carries one or more programs. When the above one or more programs are executed by the electronic device, the electronic device is caused to: obtain a set of collaborative terminal information, wherein the collaborative terminal information in the set of collaborative terminal information is information of terminals participating in modeling, and the collaborative terminal information in the set of collaborative terminal information includes terminal codes. In response to receiving model design information sent by a target terminal, determine the target terminal as the master terminal, and determine the other terminals excluding the master terminal among the terminals corresponding to the set of collaborative terminal information as the collaborative terminal set. Determine a model generation node sequence and an initial BIM model corresponding to the model design information, wherein the initial BIM model is a model generated by the master terminal through Revit software and then uploaded. Generate a modified BIM model group according to the model generation node sequence. Perform model integration processing on each modified BIM model included in the modified BIM model group to generate an integrated BIM model. Perform lightweight processing on the integrated BIM model to generate a model display page, and send the BIM display page to each terminal corresponding to the set of collaborative terminal information for display, wherein the model display page is a page link representing the model display page.

[0100] Computer program code for performing the operations of some embodiments of the present disclosure may be written in one or more programming languages or combinations thereof. The programming languages include object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, executed as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (for example, by using an Internet service provider to connect through the Internet).

[0101] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram may represent a module, a segment of a program, or a portion of code that contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions noted in the blocks may occur in a different order than that noted in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and combinations of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system that performs the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.

[0102] The units described in some embodiments of the present disclosure can be implemented in software or in hardware. The described units can also be provided in a processor. For example, it can be described as: a processor includes an acquisition unit, a first determination unit, a second determination unit, a generation unit, an integration unit, and a lightweight unit. Among them, the names of these units do not constitute a limitation to the unit itself in some cases. For example, the acquisition unit can also be described as "the unit for acquiring the collaborative terminal information set".

[0103] The functions described above can be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that can be used include: Field Programmable Gate Array (FPGA), Application Specific Integrated Circuit (ASIC), Application Specific Standard Product (ASSP), System on Chip (SOC), Complex Programmable Logic Device (CPLD), and so on.

[0104] The above description is only some preferred embodiments of the present disclosure and an explanation of the applied technical principles. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by the specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above inventive concept. For example, the technical solutions formed by mutually replacing the above features with the (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure.

Claims

1. A method for realizing BIM model collaboration and web lightweighting based on Revit technology, comprising: Acquire a collaborative terminal information set, wherein the collaborative terminal information in the collaborative terminal information set is information of terminals participating in modeling, and the collaborative terminal information in the collaborative terminal information set includes terminal codes; In response to receiving the model design information sent by the target terminal, determining the target terminal as a master terminal, and determining other terminals excluding the master terminal from the terminals corresponding to the cooperative terminal information set as a cooperative terminal set; Determine a model generation node sequence and an initial BIM model corresponding to the model design information, wherein the initial BIM model is a model generated by the main control terminal through Revit software and then uploaded; The main control terminal generates a node sequence according to the model to generate a modified BIM model group; Performing model integration processing on each modified BIM model included in the modified BIM model group to generate an integrated BIM model; The integrated BIM model is lightweight processed to generate a model display page, and the BIM display page is sent to each terminal corresponding to the collaborative terminal information set for display, wherein the model display page is a page link representing the model display page.

2. The method according to claim 1, wherein: The step of generating a node sequence according to the model to generate a modified BIM model group includes: Based on the model node generation sequence, perform the following modification steps: In response to detecting at least one annotation operation of any collaborative terminal in the collaborative terminal set on the initial BIM model corresponding to the first model generation node in the model node generation sequence, generating an annotation file group; Storing the annotation file group in a preset collaborative folder; generating collaborative information corresponding to the annotated file group; sending the collaborative information to the main control terminal for display; In response to receiving a modification file for the initial BIM model from the master control terminal, generating at least one modified BIM model; In response to the model generation node sequence after removing the first model generation node being empty, the generated at least one modified BIM model is determined as a modified BIM model group.

3. The method according to claim 2, wherein: The generating a node sequence according to the model to generate a modified BIM model group also includes: In response to the model generation node sequence after removing the first model generation node being not empty, performing model combination processing on the at least one modified BIM model generated to generate a combined model, using the combined model as the initial BIM model, using the model generation node sequence after removing the first model generation node as the model generation node sequence, and performing the modification step again.

4. The method according to claim 2, wherein: After generating at least one modified BIM model in response to detecting a modification operation of the master control terminal on the initial BIM model, the method further includes: In response to receiving modification request information of a target BIM model from any collaborative terminal in the collaborative terminal set, sending the target BIM model to the collaborative terminal for display; Receiving model modification information sent by the collaborative terminal; Determining whether the model modification information satisfies a preset avoidance condition; In response to determining that the model modification information satisfies the preset avoidance condition, performing an avoidance modification operation on the target BIM model according to the model modification information to generate a modified target BIM model; The modified target BIM model is determined as the modified BIM model.

5. The method according to claim 2, wherein: The modification file is generated by the following steps: Acquire a preset component information set, wherein the preset component information in the preset component information set includes a component identifier; Receiving component request information sent by the target collaborative terminal; Selecting preset permission information corresponding to the target collaborative terminal from the preset permission information set as target permission information; According to the target authority information, at least one preset component information is selected from the preset component information set as target component information to obtain a target component information set; In response to detecting a selection operation of the target cooperative terminal on at least one target component information, determining location information of each selected target component information to obtain a location information set; For each selected target component information, merging the component identification corresponding to the target component information and the corresponding position information to generate a merged component identification; Each generated merged component is identified as a modified file.

6. The method according to claim 1, wherein: Before generating a node sequence according to the model to generate a modified BIM model group, the method further includes: For each cooperative terminal in the cooperative terminal set, the following processing steps are performed: Determine the terminal type corresponding to the cooperative terminal; Determine the model generation node corresponding to the current node as the target generation node; Parsing the target generation node and the terminal type to generate a parsing result; In response to the parsing result being the first parsing result, disconnecting the network connection with the cooperative terminal; In response to the parsing result being the second parsing result, acquiring format information corresponding to the terminal type according to the terminal type; According to the format information, the initial BIM model is subjected to format conversion processing to generate a converted model; sending the converted model to the collaborative terminal for display; In response to the terminal type characterizing the first terminal type, receiving the model space information sent by the cooperative terminal; According to the model space information, the initial BIM model is subjected to space reservation processing to generate a reserved BIM model; The initial BIM model in the collaborative terminal set is updated to the reserved BIM model.

7. The method according to claim 1, wherein: The integrated BIM model is lightweighted to generate a model display page, including: Performing extraction processing on the integrated BIM model to generate a model extraction file, wherein the model extraction file includes model mesh data; Initializing the model grid data to obtain initialized grid data; Determine an error matrix of each vertex included in the initialization mesh data; For each edge in the initialization mesh data, determining the position of a new vertex after the edge is folded, and a folding cost value of the edge folding; Generate vertex curvature values ​​and flatness values; Generate an updated folding cost value according to the folding cost value, the vertex curvature value and the flatness value; Perform edge collapse operation; Determine the state of the geometric element corresponding to the folded edge according to the updated folding cost value, and update the minimum heap; In response to the geometric element state satisfying a preset simplification condition, compressing the simplified model extraction file to generate a compressed file; A model display page is generated according to the compressed file, and a page link corresponding to the model display page is generated.

8. A device for realizing BIM model collaboration and web lightweighting based on Revit technology, comprising: an acquisition unit, configured to acquire a collaborative terminal information set, wherein the collaborative terminal information in the collaborative terminal information set is information of terminals participating in modeling, and the collaborative terminal information in the collaborative terminal information set includes terminal codes; A first determining unit is configured to, in response to receiving the model design information sent by the target terminal, determine the target terminal as a master terminal, and determine other terminals excluding the master terminal from the terminals corresponding to the cooperative terminal information set as a cooperative terminal set; A second determining unit is configured to determine a model generation node sequence and an initial BIM model corresponding to the model design information, wherein the initial BIM model is a model generated by the main control terminal through Revit software and then uploaded; A generating unit, configured so that the main control terminal generates a node sequence according to the model to generate a modified BIM model group; an integration unit configured to perform model integration processing on each modified BIM model included in the modified BIM model group to generate an integrated BIM model; The lightweight unit is configured to perform lightweight processing on the integrated BIM model to generate a model display page, and send the BIM display page to each terminal corresponding to the collaborative terminal information set for display, wherein the model display page is a page link representing the model display page.

9. An electronic device, comprising: one or more processors; a storage device having one or more programs stored thereon; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 7.

10. A computer readable medium having a computer program stored thereon, wherein: When the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Remote collaborative design method and system based on BIM cloud collaborative platform

    CN109087057A

  • Online collaborative editing method and device, electronic equipment and storage medium

    CN114329669A