Method for realizing BIM model collaboration and web lightweight based on revit technology

By acquiring the collaborative terminal information set, identifying the master and collaborative terminals, generating and integrating the modified BIM model group, and performing lightweight processing on the model display page, the problems of low modeling efficiency, component conflicts, and poor lightweighting effect in Revit software are solved, achieving efficient collaborative modeling and lightweighting.

CN119002991AActive Publication Date: 2024-11-22CHINA CONSULTING PLANNING & DESIGN RES CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

When using Revit software for BIM modeling, users cannot participate in the modeling process simultaneously, resulting in low modeling efficiency; when users of different design software collaborate on modeling, component conflicts are likely to occur, leading to discrepancies between the model and the drawings; and redundant information in the source files generated by Revit software is not removed, resulting in poor lightweighting effects.

Method used

By acquiring the collaborative terminal information set, the master control and collaborative terminals are identified, the modified BIM model group is generated and integrated, and the model display page is streamlined by removing redundant information data.

Benefits of technology

It reduces BIM modeling time, improves modeling efficiency, avoids component conflicts and model distortion, and enhances the lightweight effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119002991A_ABST
    Figure CN119002991A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a method for realizing BIM (Building Information Modeling) collaboration and web lightweight based on a revit technology. A specific embodiment of the method comprises the following steps: acquiring a collaborative terminal information set; in response to the received model design information sent by the target terminal, determining the target terminal as a master control terminal, and determining other terminals except the master control terminal in the terminals corresponding to the collaborative terminal information set as a collaborative terminal set; determining a model generation node sequence and an initial BIM model corresponding to the model design information; generating a node sequence according to the model, and generating a modified BIM model group; performing model integration processing on each modified BIM model included in the modified BIM model group so as to generate an integrated BIM model; and carrying out lightweight 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. According to the implementation mode, the modeling time of the BIM model is shortened.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to the field of computer technology, and in particular 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 become more popular. Model building can be effectively completed according to the basic process of BIM forward design. However, due to the large number of people involved in modeling, the model needs to be modified on multiple terminals. How to improve modeling efficiency has become an important research topic. At present, when using revit software for BIM modeling, the usual method is to transfer the generated BIM file to the user who participates in the modeling, and then transfer the modified BIM file after the user completes the modification.

[0003] However, it is found in practice that when using the above method to use Revit software for BIM modeling, the following technical problems often occur: users participating in modeling cannot participate in modeling at the same time, resulting in a long time to complete the modeling and low modeling efficiency.

[0004] In the process of adopting technical solutions to solve the above-mentioned technical problem 1, the following problems often occur: Technical problem 2: The design software used by the users involved in modeling is not unified, which leads to conflicts among components during the modeling process and requires re-modeling, resulting in a long time to complete the modeling. For these problems in the above-mentioned technical problem 2, the conventional solution is generally: after users using the same design software complete modeling and modification, the modified BIM model is transmitted to users of other design software. However, the above-mentioned conventional solution still has the following problems: the modeling process for each user is different, and users using the same design software complete modeling and modification before making modifications to the next design software, which results in some components being unable to be added to the corresponding positions, causing the generated model to be inconsistent with the drawing.

[0005] In the process of adopting technical solutions to solve the above technical problem 1, the following problems often occur: Technical problem 3: When modeling through revit software, the generated source file contains redundant information data such as axis grids and annotations. When lightweighting, the redundant data is not cleared, resulting in the generated web page taking a long time to load, and the lightweighting effect is poor. For these problems in the above technical problem 3, the conventional solution is generally to simplify 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 the distortion of the simplified model.

[0006] The above information disclosed in this Background section is only for enhancement of understanding of the background of the inventive concept and therefore it may contain information that does not form the prior art that is already known in this country to a person of ordinary skill in the art. Summary of the invention

[0007] The content of this disclosure is used to introduce concepts in a brief form, which will be described in detail in the detailed implementation section below. The content of this disclosure is not intended to identify the key features or essential features of the technical solution claimed for protection, nor is it intended to limit the scope of the technical solution claimed for protection.

[0008] Some embodiments of the present disclosure propose methods, devices, electronic devices and computer-readable media for implementing BIM model collaboration and web lightweighting based on Revit technology to solve one or more of the technical problems mentioned in the above background technology section.

[0009] In a first aspect, some embodiments of the present disclosure provide a method for realizing BIM model collaboration and web lightweighting based on Revit technology, the method comprising: obtaining 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 model design information sent by a target terminal, determining the target terminal as a master terminal, and determining other terminals excluding the master terminal from the terminals corresponding to the collaborative terminal information set as a collaborative terminal set; determining 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 and uploaded by the master terminal through Revit software; generating a modified BIM model group according to the model generation node sequence; performing model integration processing on the modified BIM models included in the modified BIM model group to generate an integrated BIM model; performing lightweight processing on the integrated BIM model to generate a model display page, and sending the BIM display page to the terminals corresponding to the collaborative terminal information set for display, wherein the model display page is a page link representing the model display page.

[0010] In the second aspect, some embodiments of the present disclosure provide a device for realizing BIM model collaboration and web lightweight based on Revit technology, the device 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 determination unit, configured to, in response to receiving model design information sent by a target terminal, determine the target terminal as a master terminal, and determine other terminals corresponding to the collaborative terminal information set excluding the master terminal as a collaborative terminal set; a second determination unit, configured to determine the model corresponding to the model design information Generate a node sequence and an initial BIM model, wherein the initial BIM model is a model generated and uploaded by the master control terminal through Revit software; a generation unit is configured to generate a node sequence according to the model and generate a modified BIM model group; an integration unit 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; a 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.

[0011] In a third aspect, some embodiments of the present disclosure provide an electronic device comprising: one or more processors; a storage device on which one or more programs are stored, 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 above-mentioned first aspect.

[0012] In a fourth aspect, some embodiments of the present disclosure provide a computer-readable medium having a computer program stored thereon, wherein when the program is executed by a processor, the method described in any implementation manner of the above-mentioned first aspect is implemented.

[0013] The above-mentioned embodiments of the present disclosure have the following beneficial effects: through the method for realizing BIM model collaboration and web lightweight based on revit technology in some embodiments of the present disclosure, the time for modeling BIM model is reduced. Specifically, the reason why it takes a long time to model BIM model is that the users participating in modeling cannot participate in modeling at the same time, resulting in a long time to complete modeling, and the modeling efficiency is low. Based on this, the method for realizing BIM model collaboration and web lightweight based on revit technology in some embodiments of the present disclosure, first, obtains a collaborative terminal information set. Thus, each terminal participating in 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 main control terminal, and the other terminals corresponding to the above-mentioned collaborative terminal information set except the above-mentioned main control terminal are determined as the collaborative terminal set. Thus, the terminal for main control modeling and the terminal for collaborative modeling can be determined. Then, the model generation node sequence and the initial BIM model corresponding to the above-mentioned model design information are determined. Thus, each node and the initial BIM model required for modeling can be determined. Afterwards, 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, each modified BIM model included in the modified BIM model group is subjected to model integration processing to generate an integrated BIM model. Thus, the final model can be determined. Finally, the integrated BIM model is subjected to lightweight processing 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. Thus, the model can be lightweighted and displayed. Collaborative modeling is performed by each terminal, which reduces the time for modeling the BIM model. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. 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 that components and elements are not necessarily drawn to scale.

[0015] Figure 1 It 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 It is a structural schematic 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 It is a schematic diagram of the structure of an electronic device suitable for implementing some embodiments of the present disclosure. DETAILED DESCRIPTION

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

[0019] It should also be noted that, for ease of description, only the parts related to the invention are shown in the drawings. In the absence of conflict, the embodiments and features in the embodiments of the present disclosure 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 of the functions performed by these devices, modules or units.

[0021] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated 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 used 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 accompanying drawings and in conjunction with embodiments.

[0024] Figure 1 The process 100 of some embodiments of the method for implementing BIM model collaboration and web lightweighting based on Revit technology according to the present disclosure is shown. The method for implementing 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 subject (e.g., server) of the method for implementing BIM model collaboration and web lightweighting based on Revit technology can obtain a collaborative terminal information set. In practice, the collaborative terminal information set can be obtained from the target database by wired connection or wireless connection. Among them, the collaborative terminal information in the above-mentioned collaborative terminal information set can be the information of the terminal participating in the modeling. The collaborative terminal information in the above-mentioned collaborative terminal information set includes terminal codes. The above-mentioned terminal code can uniquely represent a certain collaborative terminal. The above-mentioned 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, determining the target terminal as the master terminal, and determining other terminals excluding the master terminal from the terminals corresponding to the cooperative terminal information set as the cooperative terminal set.

[0028] In some embodiments, the execution subject may determine the target terminal as the master terminal in response to receiving the model design information sent by the target terminal, and determine the other terminals corresponding to the collaborative terminal information set except the master terminal as the collaborative terminal set. The model design information may be pre-set information for designing a BIM model. For example, the model design information may 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 execution entity may determine the model generation node sequence and the initial BIM model corresponding to the model design information. In practice, the model generation node sequence and the initial BIM model may be generated by the master control terminal through Revit software and then uploaded.

[0031] Considering the problems of the above conventional solutions, facing the above technical problem 2: the design software used by the users involved in modeling is not unified, which leads to the easy conflict of components during the modeling process, and the need to re-model, resulting in a long time to complete the modeling. Combined with the current technical status, it can be decided to adopt the following solution.

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

[0033] In the first step, for each cooperative terminal in the cooperative terminal set, the following processing steps are performed:

[0034] The first processing step is to determine the terminal type corresponding to the collaborative terminal. The terminal type may be the type of design software used by the terminal. For example, the terminal type may 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 parse the target node and the terminal type to generate a parsing result, wherein the parsing may be to determine whether the terminal corresponding to the terminal type can access the target node.

[0037] The fourth processing step is to disconnect the network connection with the cooperative terminal in response to the parsing result being the first parsing result, wherein the first parsing result may indicate that the terminal corresponding to the terminal type cannot access the target node.

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

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

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

[0041] In an eighth processing step, in response to the terminal type characterizing the first terminal type, the model space information sent by the collaborative terminal is received. The model space information may be space information used to characterize the space occupied by each component used. The first terminal type may be a pre-set terminal type. For example, the first terminal type may be SketchUp.

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

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

[0044] The above-mentioned first processing step to the tenth processing step, as an inventive point of an embodiment of the present disclosure, solves the technical problem 2 mentioned in the background technology, "the design software used by the users participating in the modeling is not unified, which leads to the easy conflict of components in the modeling process, and the need to re-model, resulting in a long time to complete the modeling". The reasons for taking a long time to complete the modeling are as follows: the design software used by the users participating in the modeling is not unified, which leads to the easy conflict of components in the modeling process, and the need to re-model, resulting in a long time to complete the modeling. If the above factors are solved, the effect of reducing the time to complete the modeling and improving the modeling efficiency can be achieved. In order 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, parse the above-mentioned target node and the above-mentioned terminal type to generate a parsing result; in response to the above-mentioned parsing result being the first parsing result, disconnect the network connection with the above-mentioned collaborative terminal. Thus, it is possible to avoid that the terminal unrelated to the current modeling progress modifies the model, resulting in errors in the constructed model. Fourth, in response to the above-mentioned parsing result being the second parsing result, according to the above-mentioned terminal type, the format information corresponding to the above-mentioned terminal type is obtained; according to the above-mentioned format information, the above-mentioned initial BIM model is format-converted to generate a converted model. Thus, the model file can be converted into a file format adapted to other design software. Fifth, the above-mentioned converted model is sent 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 characterizing the first terminal type, the model space information sent by the above-mentioned collaborative terminal is received; according to the above-mentioned model space information, the above-mentioned initial BIM model is space-reserved to generate a reserved BIM model. Thus, when the design software used by the terminal is a specific software, the space part required to add components for the specific software can be reserved to avoid other design software adding components in this space to cause component conflicts, thereby avoiding re-modeling and reducing the time to complete modeling. Seventh, the initial BIM model in the above-mentioned collaborative terminal concentration is updated to the above-mentioned reserved BIM model. Thus, the format conversion of the model is completed, reducing the time to complete modeling.

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

[0046] In some embodiments, the execution entity may generate a node sequence according to the model to generate a modified BIM model group.

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

[0048] The first step is to generate a sequence based on the model node and perform the following modification steps:

[0049] The first modification step is to generate an annotation file group 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. The annotation operation may be a component annotation operation for a certain area in the initial BIM model. For example, a component A is added to a selected area in the initial BIM model.

[0050] The second modification step is to store the annotated file group into a preset collaborative folder, wherein the preset collaborative folder may be a pre-created folder for storing annotated files.

[0051] The third modification step is to generate the collaboration information corresponding to the annotated file group, wherein the collaboration information may indicate that the preset collaboration folder stores the annotated files.

[0052] The fourth modification step is to send the above-mentioned collaborative information to the above-mentioned main control terminal for display.

[0053] A fifth modification step is to generate at least one modified BIM model in response to receiving a modification file for the initial BIM model from the main control terminal.

[0054] In practice, the above modified files can be generated through the following generation steps:

[0055] The first generation step is to obtain a preset component information set, wherein the preset component information in the preset component information set includes a component identifier, wherein the component identifier can uniquely represent a certain component.

[0056] The second generation step is to receive component request information sent by the target collaborative terminal, wherein the component request information may be request information for using the component.

[0057] The third generation step is to select preset permission information corresponding to the target collaborative terminal from the preset permission information set as the target permission information, wherein the preset permission information may be the permission information of the components that can be called by the collaborative terminal in advance.

[0058] The fourth generation step is to select at least one preset component information from the preset component information set as the target component information according to the target authority information to obtain the target component information set. In practice, each preset component information that can be called by the target collaborative terminal can be selected as the target component information set.

[0059] The fifth generation step is to determine the location information of each selected target component information in response to detecting the target cooperative terminal selecting the at least one target component information, and obtain a location information set. The location information may be the location information of the component corresponding to the target component information in the model.

[0060] The sixth generation step is to merge the component identification corresponding to each selected target component information and the corresponding position information to generate a merged component identification.

[0061] The seventh generation step is to identify each generated merged component as a modified file.

[0062] The sixth modification step is to determine the generated at least one modified BIM model as a modified BIM model group in response to the model generation node sequence after removing the first model generation node being empty.

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

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

[0065] The second sub-step is to receive the model modification information sent by the collaborative terminal, wherein the model modification information can be used to represent the content of the model modification.

[0066] The third sub-step is to determine whether the model modification information satisfies a preset avoidance condition, wherein the preset avoidance condition may be a conflict between the modified component and the original component.

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

[0068] The fifth sub-step is to determine the modified target BIM model as the modified BIM model.

[0069] In the second step, in response to the model generation node sequence after removing the above-mentioned first model generation node is not empty, the at least one modified BIM model generated is subjected to model combination processing to generate a combined model, the above-mentioned combined model is used as the initial BIM model, the model generation node sequence after removing the above-mentioned first model generation node is used as the model generation node sequence, and the above-mentioned modification step is performed again.

[0070] Step 105 , performing 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 execution entity may perform model integration processing on each modified BIM model included in the modified BIM model group to generate an integrated BIM model. The model integration processing may be combining the components included in each modified BIM model into the same BIM model to obtain an integrated BIM model.

[0072] Step 106 , lightweight processing is performed on the integrated BIM model 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.

[0073] In some embodiments, the execution entity may 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. The model display page may be a page link representing the model display page.

[0074] Considering the problems of the above conventional solutions, facing the above technical problem three: when modeling through Revit software, the generated source file contains redundant information data such as axis grids and annotations. When lightweighting, the redundant data is not cleared, resulting in the generated web page taking a long time to load, and the lightweighting effect is poor. Combined with the current technical status, it can be decided to adopt the following solution.

[0075] In practice, the integrated BIM model can be lightweighted by following the steps below:

[0076] The first step is to extract the integrated BIM model to generate a model extraction file, wherein the model extraction file includes model mesh data.

[0077] The second step is to initialize the mesh data of the above model to obtain the initialized mesh data.

[0078] The third step is to determine the error matrix of each vertex included in the above-mentioned initialization mesh data.

[0079] The fourth step is to determine, for each edge in the above initialized mesh data, the position of the new vertex after the edge is folded, and the folding cost value of the edge folding.

[0080] The fifth step is to generate vertex curvature values ​​and flattening values. In practice, the vertex curvature values ​​and flattening values ​​can be determined by the following formula:

[0081]

[0082] in, Represents vertex M i The vertex curvature value of y represents the vertex M i The number of all adjacent triangles. Represents the angle between the triangle normal vector and the vertex normal vector. Represents the normal vector of a triangle patch. n i Represents the vertex normal vector. i Indicates the flatness value. b indicates the number of triangles in the first-order domain of the current vertex. θ a Represents the normal dihedral angle of the ath edge of the first-order domain of the current vertex.

[0083] Step 6: Generate an updated folding cost value according to the folding cost value, the vertex curvature value and the flatness value. In practice, the updated folding cost value may be determined as the product of the folding cost value, the vertex curvature value and the flatness value.

[0084] Step 7: Perform edge folding operation.

[0085] Step 8. According to the above updated folding cost, determine the state of the geometric element corresponding to the folded edge and update the minimum heap.

[0086] In step 9, in response to the geometric element state satisfying the preset simplification condition, the simplified model extraction file is compressed to generate a compressed file. The preset simplification condition may be a pre-set condition for determining whether the simplification is completed. Here, in response to the geometric element state not satisfying the preset simplification condition, the edge collapse operation is performed again.

[0087] The tenth step is to generate a model display page based on the compressed file, and generate a page link corresponding to the model display page.

[0088] The above-mentioned first step to the tenth step, as an inventive point of an embodiment of the present invention, solves the technical problem three mentioned in the background technology: "When modeling is performed through the revit software, the generated source file contains redundant information data such as axis grids and annotations. When lightweighting is performed, the redundant data is not cleared, resulting in the generated web page taking a long time to load, and the lightweighting effect is poor." The reasons for taking a long time to load and the poor lightweighting effect are as follows: When modeling is performed through the revit software, the generated source file contains redundant information data such as axis grids and annotations. When lightweighting is performed, the redundant data is not cleared, resulting in the generated web page taking a long time to load, and the lightweighting effect is poor. If the above-mentioned factors are solved, the effect of improving data security can be achieved. In order to achieve this effect, the present invention firstly extracts the above-mentioned integrated BIM model to generate a model extraction file; and initializes the above-mentioned model mesh data to obtain the initialized mesh data. In this way, the redundant data in the source file of the revit software can be removed. Second, determine the error matrix of each vertex included in the above-mentioned initialization mesh data; for each edge in the above-mentioned initialization mesh data, determine the position of the new vertex after the edge is folded, and the folding cost value of the edge folding; generate the vertex curvature value and the flatness value. Thus, the vertex curvature value and the flatness value of each vertex can be determined. Third, generate an updated folding cost value according to the above-mentioned folding cost value, the above-mentioned vertex curvature value and the above-mentioned flatness value. Thus, the cost value after folding can be determined. Fourth, perform the edge folding operation; determine the state of the geometric element corresponding to the folded edge according to the above-mentioned updated folding cost value, and update the minimum heap; in response to the above-mentioned geometric element state meeting the preset simplification condition, compress the simplified model extraction file to generate a compressed file. Thus, after the simplification condition is completed, stop folding. Finally, generate a model display page according to the above-mentioned compressed file, and generate a page link corresponding to the above-mentioned model display page. Thus, the loss of model details can be avoided by 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 dual simplification of data extraction and folding, the time for generating web pages is reduced and the lightweight effect is improved.

[0089] The above-mentioned embodiments of the present disclosure have the following beneficial effects: through the method for realizing BIM model collaboration and web lightweight based on revit technology in some embodiments of the present disclosure, the time for modeling BIM model is reduced. Specifically, the reason why it takes a long time to model BIM model is that the users participating in modeling cannot participate in modeling at the same time, resulting in a long time to complete modeling, and the modeling efficiency is low. Based on this, the method for realizing BIM model collaboration and web lightweight based on revit technology in some embodiments of the present disclosure, first, obtains a collaborative terminal information set. Thus, each terminal participating in 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 main control terminal, and the other terminals corresponding to the above-mentioned collaborative terminal information set except the above-mentioned main control terminal are determined as the collaborative terminal set. Thus, the terminal for main control modeling and the terminal for collaborative modeling can be determined. Then, the model generation node sequence and the initial BIM model corresponding to the above-mentioned model design information are determined. Thus, each node and the initial BIM model required for modeling can be determined. Afterwards, 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, each modified BIM model included in the modified BIM model group is subjected to model integration processing to generate an integrated BIM model. Thus, the final model can be determined. Finally, the integrated BIM model is subjected to lightweight processing 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. Thus, the model can be lightweighted and displayed. Collaborative modeling is performed by each terminal, which reduces the time for modeling the BIM model.

[0090] Further references 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 are similar to Figure 1 Corresponding to 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] like Figure 2As shown, in some embodiments, the apparatus 200 for implementing BIM model collaboration and web lightweighting based on Revit technology 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 lightweight unit 206. The acquisition unit 201 is 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; the first determination unit 202 is configured to, in response to receiving the model design information sent by the target terminal, determine the target terminal as the main control terminal, and determine other terminals corresponding to the collaborative terminal information set excluding the main control terminal as the collaborative terminal set; the second determination unit 203 is configured to determine the model generation node sequence and the initial BIM model corresponding to the model design information, wherein the initial BIM The model is a model generated and uploaded by the above-mentioned main control terminal through Revit software; the generation unit 204 is configured to generate a node sequence according to the above-mentioned model to generate a modified BIM model group; the integration unit 205 is configured to perform model integration processing on each modified BIM model included in the above-mentioned modified BIM model group to generate an integrated BIM model; the lightweight unit 206 is configured to 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, wherein the above-mentioned model display page is a page link representing the model display page.

[0092] It can be understood that the units and references recorded in the device 200 for realizing BIM model collaboration and web lightweighting based on Revit technology Figure 1 Therefore, the operations, features and beneficial effects described above for the method are also applicable to the device 200 for realizing BIM model collaboration and web lightweight based on Revit technology and the units contained therein, and will not be described in detail here.

[0093] Reference below Figure 3 , which shows a schematic diagram of the structure of an electronic device 300 suitable for implementing some embodiments of the present disclosure. The electronic devices in some embodiments of the present disclosure may include but are 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), vehicle terminals (such as 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 bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0094] like Figure 3 As shown, the electronic device 300 may include a processing device 301 (e.g., a central processing unit, a graphics processing unit, etc.), which can 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 via a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.

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

[0096] In particular, according to some embodiments of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. 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 a program code for executing the method shown in the flowchart. In some such embodiments, the computer program can be downloaded and installed from the 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 method of some embodiments of the present disclosure are executed.

[0097] It should be noted that the computer-readable medium recorded in some embodiments of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with 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, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In some embodiments of the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of 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 a computer readable storage medium, which 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 using any suitable 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 any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0099] The computer-readable medium may be included in the electronic device; or it may exist independently without being assembled into the electronic device. The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: obtains 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, the target terminal is determined as the main control terminal, and the other terminals corresponding to the collaborative terminal information set except the main control terminal are determined as the collaborative terminal set. The model generation node sequence and the initial BIM model corresponding to the model design information are determined, wherein the initial BIM model is the model generated and uploaded by the main control terminal through the Revit software. According to the model generation node sequence, a modified BIM model group is generated. The modified BIM models included in the modified BIM model group are subjected to model integration processing 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.

[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 a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0101] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0102] The units described in some embodiments of the present disclosure may be implemented by software or by hardware. The described units may also be provided in a processor, for example, may be described as: a processor including 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 on the unit itself in some cases, for example, the acquisition unit may also be described as a "unit for acquiring a collaborative terminal information set".

[0103] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0104] The above descriptions are only some preferred embodiments of the present disclosure and an explanation of the technical principles used. 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 a specific combination of the above-mentioned technical features, but should also cover other technical solutions formed by any combination of the above-mentioned technical features or their equivalent features without departing from the above-mentioned inventive concept. For example, the above-mentioned features are replaced with the technical features with similar functions disclosed in the embodiments of the present disclosure (but not limited to) and the technical solutions formed.

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; Generate 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 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 is configured to generate 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

  • Three-dimensional intelligent design collaborative platform development method

    CN111274643A

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

    CN114329669A