Dynamic bim model tree generation and encoding configuration method, device and equipment

By establishing the relationship between the initial model tree structure and the modeling process in the tunnel model and configuring the coded configuration data, the problem of the model tree and engineering components not being effectively combined in the tunnel model modeling process is solved. This enables the rapid establishment and association of the model tree structure and coded configuration data, improving modeling efficiency and consistency.

CN119129065BActive Publication Date: 2025-12-26CHINA RAILWAY 18TH BUREAU GRP CO LTD +4
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411262325.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-10
Publication Date
2025-12-26
Estimated Expiration
2044-09-10

AI Technical Summary

Technical Problem

The modeling process of the tunnel model is independent of the establishment process of the model tree structure, which results in the model tree and the engineering components, construction procedures and construction methods of the tunnel not being effectively integrated.

Method used

Based on the pre-established model structure tree template, the initial model structure tree corresponding to the engineering model is obtained, and the relationship between the initial model structure tree and the engineering model modeling process is established. The model structure tree corresponding to the engineering model is obtained by updating the initial model structure tree, and the coding configuration data is configured to establish the relationship between the model structure tree and the coding configuration data.

Benefits of technology

It enables the rapid establishment of model structure trees and coding configuration data, ensures the correlation between model structure trees and coding configuration data, and improves the modeling efficiency and consistency of engineering models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119129065B_ABST
    Figure CN119129065B_ABST
Patent Text Reader

Abstract

The application provides a dynamic BIM model tree generation and coding configuration method and device, equipment and a storage medium. The method comprises the following steps: based on a pre-established model structure tree template, an initial model structure tree corresponding to an engineering model is obtained; an association relationship between the initial model structure tree and a modeling process of the engineering model is established; based on the association relationship, the initial model structure tree is updated in the modeling process of the engineering model, and a model structure tree corresponding to the engineering model is obtained; coding configuration data corresponding to the engineering model is obtained; and an association relationship between the model structure tree and the coding configuration data is established. Through the technical solution, the model structure tree corresponding to the engineering model is quickly established, and the association relationship between the model structure tree and the coding configuration data is established.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of engineering models, and particularly relates to a dynamic BIM model tree generation and coding configuration method and device, equipment and a storage medium. BACKGROUND

[0002] In the related art, the modeling process of a tunnel model and the establishment process of a model structure tree are often independent of each other, which results in the fact that the model tree and the tunnel engineering cannot be effectively combined in terms of sub-items, construction processes and construction methods. SUMMARY

[0003] The present application aims to at least partially solve one of the technical problems in the related art.

[0004] In a first aspect, the present application provides a dynamic BIM model tree generation and coding configuration method, which comprises the following steps: obtaining an initial model structure tree corresponding to an engineering model based on a pre-established model structure tree template; establishing an association relationship between the initial model structure tree and a modeling process of the engineering model; updating the initial model structure tree in the modeling process of the engineering model based on the association relationship, to obtain a model structure tree corresponding to the engineering model; obtaining coding configuration data corresponding to the engineering model; and establishing an association relationship between the model structure tree and the coding configuration data.

[0005] In an implementation manner, the step of updating the initial model structure tree in the modeling process of the engineering model based on the association relationship, to obtain the model structure tree corresponding to the engineering model, comprises the following steps: obtaining component attribute information of a model component to be modeled in the engineering model; obtaining an initial model structure tree path and an initial structure tree node corresponding to the model component in the initial model structure tree; configuring the initial model structure tree and the initial structure tree node based on the component attribute information, to obtain an actual structure tree path and an actual structure tree node corresponding to the model component; and updating the initial model structure tree based on the actual structure tree path and the actual structure tree node, to obtain the model structure tree.

[0006] In an optional implementation manner, the step of updating the initial model structure tree based on the actual structure tree path and the actual structure tree node, to obtain the model structure tree, comprises the following steps: determining that the modeling is completed, and obtaining attribute instance information of an attribute instance in a model file corresponding to the engineering model; obtaining a target actual structure tree path existing in the attribute instance information in the actual structure tree path; obtaining a target actual structure tree node corresponding to the target actual structure tree path in the actual structure tree node; and obtaining the model structure tree based on the target actual structure tree path and the target actual structure tree node.

[0007] In an implementation manner, the configuration obtaining the encoding configuration data corresponding to the engineering model comprises: configuring initial encoding configuration information corresponding to each model component in the engineering model based on a preset encoding configuration; determining a mapping relationship between a first encoding rule corresponding to each model component in the engineering model and a second encoding rule to be taken; updating the initial encoding configuration information based on the mapping relationship and the second encoding rule to be taken, to obtain the encoding configuration data corresponding to each model component.

[0008] In an implementation manner, the method further comprises: in response to model updating of the engineering model, obtaining a first part model and a second part model based on a model updating range; wherein the first part model is a model in the model updating range, and the second part model is a model outside the model updating range and adjacent to a boundary of the model updating range; obtaining a target model structure tree node corresponding to the first part model in the model structure tree; obtaining first part model structure tree information corresponding to the model updating range in the model structure tree; obtaining update model information corresponding to an updated model in the model updating range; and updating the first part model structure tree information based on the update model information.

[0009] In an optional implementation manner, the obtaining of the update model information corresponding to the updated model in the model updating range comprises: obtaining first structure tree configuration information corresponding to the first part model based on the model structure tree; obtaining a first structure tree node in the first structure tree path; obtaining a node level of the first structure tree node based on the first structure tree configuration information; and updating the first structure tree node based on the update model attribute information and the node level, to update the first structure tree path.

[0010] In an implementation manner, the method further comprises: in response to model splitting of the engineering model, obtaining a third part model and a fourth part model based on a model splitting range; wherein the third part model is a model in the model splitting range, and the fourth part model is a model outside the model splitting range and adjacent to a boundary of the model splitting range; obtaining a third structure tree path corresponding to the third part model and a fourth structure tree node corresponding to the fourth part model in the model structure tree; updating the fourth structure tree node based on the model splitting range; obtaining splitting model attribute information corresponding to a splitting model; generating a splitting model structure tree node based on the splitting model attribute information; adding the splitting model structure tree node to the third structure tree path to obtain a fourth structure tree path; and updating the model structure tree based on the fourth structure tree path.

[0011] In a second aspect, the application provides a dynamic BIM model tree generation and coding configuration device, which comprises: a first processing module configured to obtain an initial model structure tree corresponding to an engineering model based on a pre-established model structure tree template; a second processing module configured to establish an association between the initial model structure tree and a modeling process of the engineering model; a third processing module configured to update the initial model structure tree during the modeling process of the engineering model based on the association, and obtain a model structure tree corresponding to the engineering model; a coding configuration module configured to configure coding configuration data corresponding to the engineering model; and a fourth processing module configured to establish an association between the model structure tree and the coding configuration data.

[0012] In an implementation manner, the second processing module can be configured to: obtain component attribute information of a model component to be modeled in the engineering model; obtain an initial model structure tree path and an initial structure tree node corresponding to the model component in the initial model structure tree; configure the initial model structure tree and the initial structure tree node based on the component attribute information, and obtain an actual structure tree path and an actual structure tree node corresponding to the model component; and update the initial model structure tree based on the actual structure tree path and the actual structure tree node, and obtain the model structure tree.

[0013] In an implementation manner, the third processing module can be configured to: determine that modeling is completed, obtain attribute instance information of an attribute instance in a model file corresponding to the engineering model; obtain a target actual structure tree path existing in the attribute instance information in the actual structure tree path; obtain a target actual structure tree node corresponding to the target actual structure tree path in the actual structure tree node; and obtain the model structure tree based on the target actual structure tree path and the target actual structure tree node.

[0014] In an implementation manner, the coding configuration module can be configured to: configure initial coding configuration information corresponding to each model component in the engineering model based on a preset coding configuration; determine a mapping relationship between a first coding rule corresponding to each model component in the engineering model and a second coding rule to be accepted; and update the initial coding configuration information based on the mapping relationship and the second coding rule to be accepted, and obtain the coding configuration data corresponding to each model component.

[0015] In an implementation manner, the apparatus further comprises a fifth processing module configured to, in response to model updating of the engineering model, acquire a first part model and a second part model based on a model updating range; the first part model is a model within the model updating range, and the second part model is a model outside the model updating range and adjacent to a boundary of the model updating range; acquire a target model structure tree node corresponding to the first part model in the model structure tree; acquire first part model structure tree information corresponding to the model updating range in the model structure tree; acquire updated model information corresponding to the model within the model updating range; and update the first part model structure tree information based on the updated model information.

[0016] In an optional implementation manner, the fifth processing module can be configured to: acquire first structure tree configuration information corresponding to the first part model based on the model structure tree; acquire a first structure tree node in the first structure tree path; acquire a node level of the first structure tree node based on the first structure tree configuration information; and update the first structure tree node based on the updated model attribute information and the node level, to update the first structure tree path.

[0017] In an implementation manner, the apparatus further comprises a sixth processing module configured to, in response to model splitting of the engineering model, acquire a third part model and a fourth part model based on a model splitting range; the third part model is a model within the model splitting range, and the fourth part model is a model outside the model splitting range and adjacent to a boundary of the model splitting range; acquire a third structure tree path corresponding to the third part model and a fourth structure tree node corresponding to the fourth part model in the model structure tree; update the fourth structure tree node based on the model splitting range; acquire splitting model attribute information corresponding to the splitting model; generate a splitting model structure tree node based on the splitting model attribute information; add the splitting model structure tree node to the third structure tree path to obtain a fourth structure tree path; and update the model structure tree based on the fourth structure tree path.

[0018] In a third aspect, an electronic device is provided, which includes at least one processor, and a memory connected with the at least one processor in communication; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method of the first aspect.

[0019] In a fourth aspect, a computer readable storage medium is provided, which stores instructions, and when the instructions are executed, the method of the first aspect is implemented.

[0020] In a fifth aspect, the present application provides a computer program product comprising a computer program which, when executed by a processor, implements the steps of the dynamic BIM model tree generation and coding configuration method according to the first aspect.

[0021] The dynamic BIM model tree generation and coding configuration method, device, equipment and storage medium provided by the present application can obtain the initial model structure tree corresponding to the engineering model based on the pre-established model structure tree template, establish the association between the initial model structure tree and the modeling process of the engineering model, update the initial model structure tree in the modeling process of the engineering model based on the association, obtain the model structure tree corresponding to the engineering model, and obtain the coding configuration data corresponding to the engineering model, thereby establishing the association between the model structure tree and the coding configuration data. The model structure tree corresponding to the engineering model can be quickly established, and the association between the model structure tree and the coding configuration data can be established.

[0022] Additional aspects and advantages of the present application will be in part apparent and in part pointed out hereinafter. BRIEF DESCRIPTION OF DRAWINGS

[0023] The above and / or additional aspects and advantages of the present application will become apparent and be readily appreciated from the following description, taken in conjunction with the accompanying drawings, in which:

[0024] Figure 1 is a flowchart of a dynamic BIM model tree generation and coding configuration method provided by an embodiment of the present application;

[0025] Figure 2 is a flowchart of another dynamic BIM model tree generation and coding configuration method provided by an embodiment of the present application;

[0026] Figure 3 is a flowchart of still another dynamic BIM model tree generation and coding configuration method provided by an embodiment of the present application;

[0027] Figure 4 is a structural diagram of a dynamic BIM model tree generation and coding configuration device provided by an embodiment of the present application;

[0028] Figure 5 is a structural diagram of another dynamic BIM model tree generation and coding configuration device provided by an embodiment of the present application;

[0029] Figure 6 is a structural diagram of still another dynamic BIM model tree generation and coding configuration device provided by an embodiment of the present application;

[0030] Figure 7 is a structural schematic diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0031] Embodiments of the present application are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar notations represent the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by reference to the accompanying drawings are exemplary and are intended to explain the present application, and cannot be understood as a limitation of the present application.

[0032] A dynamic BIM (Building Information Modeling) model tree generation and coding configuration method and device of an embodiment of the present application are described below with reference to the accompanying drawings.

[0033] Figure 1 is a flowchart of a dynamic BIM model tree generation and coding configuration method provided by an embodiment of the present application. As shown in Figure 1 , the method can include but is not limited to the following steps:

[0034] Step S101: Based on a pre-established model structure tree template, an initial model structure tree corresponding to an engineering model is obtained.

[0035] It should be noted that the above model structure tree template includes model component structure tree templates corresponding to model components of different types.

[0036] Exemplarily, the model structure tree is filtered based on the model components included in the engineering model, a target model component structure tree template corresponding to the model components included in the engineering model is obtained, and the initial model structure tree corresponding to the engineering model is obtained based on the target model structure tree template.

[0037] Step S102: An association relationship between the initial model structure tree and the modeling process of the engineering model is established.

[0038] Exemplarily, the initial information (for example, node main type, node secondary type, node main name, corresponding modeling process) of the structure tree path and the structure tree node corresponding to each model component in the initial model structure tree is configured to establish the association relationship between the model structure tree template and the modeling process of the engineering model. The above target model component structure tree template includes a structure tree template path and a structure tree template node.

[0039] Step S103: Based on the association relationship, the initial model structure tree is updated in the modeling process of the engineering model, and a model structure tree corresponding to the engineering model is obtained.

[0040] Exemplarily, the relevant information in the initial model structure tree is updated based on the relevant information of the generated model component in the modeling process of the engineering model, and a model structure tree corresponding to the engineering model is obtained.

[0041] Step S104: configuration obtaining coding configuration data corresponding to the engineering model.

[0042] Exemplarily, the corresponding model coding and component attribute of each model component in the engineering model are configured.

[0043] Step S105: establishing an association relationship between the model structure tree and the coding configuration data.

[0044] By implementing the embodiments of the present application, the initial model structure tree corresponding to the engineering model can be obtained based on the pre-established model structure tree template, and the association relationship between the initial model structure tree and the modeling process of the engineering model is established, so that the initial model structure tree is updated in the modeling process of the engineering model based on the above association relationship, the model structure tree corresponding to the engineering model is obtained, and the coding configuration data corresponding to the engineering model is obtained, thereby establishing the association relationship between the model structure tree and the coding configuration data. The model structure tree corresponding to the engineering model can be quickly established, and the association relationship between the model structure tree and the coding configuration data is established.

[0045] In an implementation manner, the pre-established model structure tree template can be configured to obtain the initial model structure tree corresponding to the engineering model. As an example, please refer to Figure 2 , Figure 2 is another flowchart of a dynamic BIM model tree generation and coding configuration method provided by the embodiments of the present application. As shown in Figure 2 , the method can include but is not limited to the following steps:

[0046] Step S201: obtaining the initial model structure tree corresponding to the engineering model based on the pre-established model structure tree template.

[0047] In the embodiments of the present application, step S201 can be implemented by any one of the embodiments of the present application, and the embodiments of the present application do not limit this and will not be repeated.

[0048] Step S202: establishing an association relationship between the initial model structure tree and the modeling process of the engineering model.

[0049] In the embodiments of the present application, step S202 can be implemented by any one of the embodiments of the present application, and the embodiments of the present application do not limit this and will not be repeated.

[0050] Step S203: obtaining the component attribute information of the model component to be modeled in the engineering model.

[0051] The component attribute information can include, but is not limited to, a route name and a lining type corresponding to the model component.

[0052] Step S204: Obtain the initial model structure tree path and the initial structure tree node corresponding to the model component in the initial model structure tree.

[0053] The initial model structure tree path and the initial structure tree node corresponding to the model component to be modeled currently are filtered from the model component structure tree configuration data.

[0054] It can be understood that the model structure tree path includes at least one structure tree node and the association relationship between the structure tree nodes.

[0055] Step S205: Configure the initial model structure tree path and the initial structure tree node based on the component attribute information, to obtain the actual structure tree path and the actual structure tree node corresponding to the model component.

[0056] The initial model structure tree path and the initial structure tree node based on the component attribute information, to obtain the actual structure tree path and the actual structure tree node corresponding to the model component.

[0057] As an example, when the node main body name of the initial structure tree node is "route", the node name is changed to the current route name.

[0058] As an example, when the node main body name of the initial structure tree node is "lining type", the node main body name of the initial structure tree node is set to the current lining type name.

[0059] As an example, when the node type of the initial structure tree node is a sorting node, it is determined whether the node has a corresponding modeling process; if the modeling process exists, the node name is changed, and the sub-node name is generated. For example, a corresponding suffix can be added after the node main body name or the sub-node name as the changed node name.

[0060] As an example, when the node type of the initial structure tree node is a fixed same-name node, the node name is not changed.

[0061] As an example, when the node type of the initial structure tree node is a fixed node, the node name is changed to the node main body name.

[0062] In an alternative implementation, the above updating the initial model structure tree based on the actual structure tree path and the actual structure tree node, and obtaining the model structure tree, comprises: determining that the modeling is completed, and obtaining attribute instance information of an attribute instance in a model file corresponding to the engineering model; obtaining a target actual structure tree path in the actual structure tree path that exists in the attribute instance information; obtaining a target actual structure tree node corresponding to the target actual structure tree path in the actual structure tree node; and obtaining the model structure tree based on the target actual structure tree path and the target actual structure tree node.

[0063] Illustratively, all attribute instances in the model file corresponding to the engineering model are obtained; attribute instance information of all the obtained attribute instances is traversed, and corresponding processing is performed based on information contained in the attribute instance information.

[0064] As an example, if the "structure tree actual path" attribute in the attribute instance information is empty, the next attribute instance is continued to be traversed.

[0065] As an example, a model element ID is read from the attribute instance information, and it is determined whether the model element exists. If the model element does not exist, the attribute instance is deleted, and the next attribute instance is continued to be traversed.

[0066] As an example, a corresponding target actual model structure tree path is stored in the structure tree actual path data set according to the "structure tree actual path" attribute in the attribute instance information, so as to generate the model structure tree based on the target actual model structure tree path and the corresponding target model structure tree node.

[0067] Step S206: updating the initial model structure tree based on the actual structure tree path and the actual structure tree node, and obtaining the model structure tree.

[0068] Illustratively, the corresponding initial structure tree path and initial structure tree node in the initial model structure tree are replaced based on the actual structure tree path and the actual structure tree node, and the model structure tree is obtained.

[0069] Step S207: configuring coding configuration data corresponding to the engineering model.

[0070] In the embodiments of the present application, step S207 can be implemented in any of the various embodiments of the present application, and the embodiments of the present application do not limit this and will not be repeated.

[0071] Step S208: establishing an association relationship between the model structure tree and the coding configuration data.

[0072] In the embodiments of the present application, step S208 can be implemented in any of the various embodiments of the present application, and the embodiments of the present application do not limit this and will not be repeated.

[0073] By implementing the embodiments of the present application, the initial structure tree path in the structure tree template corresponding to the model component can be updated based on the component attribute information of the model component in the engineering model, so that the initial model structure tree matching the engineering model is quickly obtained. The model structure tree corresponding to the engineering model is quickly established.

[0074] In an implementation manner, the encoded data to be received can be converted to obtain the encoded data corresponding to the engineering model. As an example, please refer to Figure 3 , Figure 3 is a flowchart of another method for dynamically generating a BIM model tree and configuring encoding provided by the embodiments of the present application. As shown in Figure 3 , the method can include but is not limited to the following steps:

[0075] Step S301: Based on the pre-established model structure tree template, an initial model structure tree corresponding to the engineering model is obtained.

[0076] In the embodiments of the present application, step S301 can be implemented by any one of the embodiments of the present application, and the embodiments of the present application do not limit this and will not be repeated.

[0077] Step S302: An association relationship between the initial model structure tree and the modeling process of the engineering model is established.

[0078] In the embodiments of the present application, step S302 can be implemented by any one of the embodiments of the present application, and the embodiments of the present application do not limit this and will not be repeated.

[0079] Step S303: Based on the association relationship, the initial model structure tree is updated in the modeling process of the engineering model to obtain a model structure tree corresponding to the engineering model.

[0080] In the embodiments of the present application, step S303 can be implemented by any one of the embodiments of the present application, and the embodiments of the present application do not limit this and will not be repeated.

[0081] Step S304: Based on the preset encoding configuration, initial encoding configuration information corresponding to each model component in the engineering model is configured.

[0082] Exemplarily, the corresponding information is read from the preset encoding configuration file to obtain the encoding configuration information of the model component contained in the engineering model. The encoding configuration information can include but is not limited to: model component name, EBS encoding, IFD encoding.

[0083] Step S305: determining a mapping relationship between the first coding rule corresponding to each model component in the engineering model and the second coding rule to be taken over.

[0084] For example, the mapping relationship is obtained by acquiring the corresponding relationship between the number part and the ordering part of the coding string corresponding to the first coding rule and the coding string corresponding to the second coding rule corresponding to each model component in the engineering model.

[0085] In some embodiments of the present application, if the unmapped relationship cannot be determined, all ordering parts in the coding to be taken over can be merged and appended to the tail of the new coding after conversion.

[0086] Step S306: updating the initial coding configuration information based on the mapping relationship and the coding to be taken over, to obtain the coding configuration data corresponding to each model component.

[0087] For example, the number part in the initial coding configuration information corresponding to each model component is replaced according to the mapping relationship in the foregoing steps.

[0088] For example, the ordering part in the initial coding configuration information corresponding to each model component is replaced according to the mapping relationship in the foregoing steps.

[0089] Step S307: establishing an association relationship between the model structure tree and the coding configuration data.

[0090] In some embodiments of the present application, step S307 can be implemented by any of the embodiments of the present application, and the present application does not limit this.

[0091] By implementing the embodiments of the present application, the engineering coding to be taken over can be converted, and the coding configuration data corresponding to the engineering model can be obtained, so that the consistency of different model coding formats can be maintained, and the subsequent application of the engineering model is facilitated.

[0092] In some embodiments, the method can further include the following steps:

[0093] A1: in response to model updating of the engineering model, obtaining a first part model and a second part model based on the model updating range.

[0094] The first part model is a model within the model updating range, and the second part model is a model outside the model updating range and adjacent to the boundary of the model updating range.

[0095] Exemplarily, in response to updating the completed engineering model, a model update range of the model update is determined, a part of the engineering model within the model update range is determined as the first part of the model, and a part of the engineering model at the boundary of the model update range is determined as the second part of the model.

[0096] A2: Obtain a first structure tree path corresponding to the first part of the model and a second structure tree path corresponding to the second part of the model in the model structure tree.

[0097] A3: Obtain updated model attribute information corresponding to the model within the model update range.

[0098] A4: Update the first structure tree path based on the updated model attribute information.

[0099] Exemplarily, a new model structure tree path corresponding to the updated model is generated based on the updated model attribute information, and the first structure tree path in the model structure tree is replaced by the new model structure tree path.

[0100] In an optional implementation, updating the first structure tree path based on the updated model attribute information includes: obtaining first structure tree configuration information corresponding to the first part of the model based on the model structure tree; obtaining a first structure tree node in the first structure tree path; obtaining a node level of the first structure tree node based on the first structure tree configuration information; and updating the first structure tree node based on the updated model attribute information and the node level to update the first structure tree path.

[0101] Exemplarily, the model structure tree configuration information and the first structure tree path corresponding to the first part of the model in the model structure tree are read; all sorting nodes are searched from the model structure tree configuration information, and corresponding node levels are obtained; corresponding sorting nodes are obtained in the first structure tree path according to the obtained node levels; suffix information in the node text of each obtained sorting node is read, and it is judged whether it is model range information (for example, mileage information); if it is model range information, corresponding information in the node text is updated according to the model range information of the updated model; after updating all sorting nodes, a new model structure tree path is formed.

[0102] In some embodiments, the above method can further include the following steps:

[0103] B1: In response to model splitting of the engineering model, obtain a third part of the model and a fourth part of the model based on the model splitting range.

[0104] The third part of the model is the model within the model splitting range, and the fourth part of the model is the model outside the model splitting range and adjacent to the boundary of the model splitting range.

[0105] Exemplarily, in response to the model splitting on the partial model in the engineering model, a third partial model within the model splitting range is acquired, and a fourth partial model outside the model splitting range and adjacent to the boundary of the model splitting range is acquired.

[0106] B2: A third structure tree path corresponding to the third partial model and a fourth structure tree node corresponding to the fourth partial model in the model structure tree are acquired.

[0107] Exemplarily, the third structure tree path corresponding to the third partial model and the fourth structure tree node corresponding to the fourth partial model are acquired from the model structure tree of the engineering model.

[0108] B3: The fourth structure tree node is updated based on the model splitting range.

[0109] Exemplarily, the node information of the fourth structure tree node is updated according to the mileage information corresponding to the model splitting range.

[0110] B4: Split model attribute information corresponding to the split model is acquired.

[0111] Exemplarily, the split model attribute information corresponding to the split model obtained after the third partial model is split is acquired.

[0112] B5: A split model structure tree node is generated based on the split model attribute information.

[0113] In the embodiments of the present application, the specific implementation manner of generating the split model structure tree node based on the split model attribute information can be implemented by any one of the embodiments of the present application, and the embodiments of the present application do not limit this and will not be repeated.

[0114] B6: The split model structure tree node is added to the third structure tree path to obtain a fourth structure tree path.

[0115] Exemplarily, the split model structure tree node is added to the leaf node in the third structure tree path to obtain the fourth structure tree path.

[0116] B7: The model structure tree is updated based on the fourth structure tree path.

[0117] Exemplarily, the fourth structure tree path is used to replace the third structure tree path in the model structure tree.

[0118] Please refer to Figure 4 , Figure 4 is a structural schematic diagram of a dynamic BIM model tree generation and coding configuration device provided by the embodiments of the present application. As shown in Figure 4As shown, the apparatus 400 comprises: a first processing module 401 configured to acquire an initial model structure tree corresponding to an engineering model based on a pre-established model structure tree template; a second processing module 402 configured to establish an association between the initial model structure tree and a modeling process of the engineering model; a third processing module 403 configured to update the initial model structure tree in the modeling process of the engineering model based on the association, and obtain a model structure tree corresponding to the engineering model; an encoding configuration module 404 configured to configure encoding configuration data corresponding to the engineering model; and a fourth processing module 405 configured to establish an association between the model structure tree and the encoding configuration data.

[0119] In an implementation manner, the third processing module 403 can be configured to: acquire component attribute information of a model component to be modeled in the engineering model; acquire an initial model structure tree path and an initial structure tree node corresponding to the model component in the initial model structure tree; configure the initial model structure tree and the initial structure tree node based on the component attribute information, and obtain an actual structure tree path and an actual structure tree node corresponding to the model component; and update the initial model structure tree based on the actual structure tree path and the actual structure tree node, and acquire the model structure tree.

[0120] In an optional implementation manner, the third processing module 403 can be configured to: determine that the modeling is completed, acquire attribute instance information of an attribute instance in a model file corresponding to the engineering model; acquire a target actual structure tree path existing in the attribute instance information in the actual structure tree path; acquire a target actual structure tree node corresponding to the target actual structure tree path in the actual structure tree node; and acquire the model structure tree based on the target actual structure tree path and the target actual structure tree node.

[0121] In an implementation manner, the encoding configuration module 404 can be configured to: configure initial encoding configuration information corresponding to each model component in the engineering model based on a pre-established encoding configuration; determine a mapping relationship between a first encoding rule corresponding to each model component in the engineering model and a second encoding rule to be implemented; and update the initial encoding configuration information based on the mapping relationship and the second encoding rule to be implemented, and obtain encoding configuration data corresponding to each model component.

[0122] In an implementation manner, the apparatus further comprises a fifth processing module. As an example, refer to Figure 5 , Figure 5 is another structure schematic diagram of a dynamic BIM model tree generation and encoding configuration apparatus provided by the embodiment of the application. As shown in Figure 5As shown, the apparatus 500 further includes a fifth processing module 506 configured to, in response to model updating on the engineering model, acquire a first part model and a second part model based on a model updating range; the first part model is a model within the model updating range, and the second part model is a model outside the model updating range and adjacent to a boundary of the model updating range; acquire a target model structure tree node corresponding to the first part model in the model structure tree; acquire first part model structure tree information corresponding to the model updating range in the model structure tree; acquire updated model information corresponding to the model within the model updating range; and update the first part model structure tree information based on the updated model information. Wherein, Figure 5 The modules 501-505 in Figure 5 have the same structure or function as the modules 401-405 in .

[0123] In an optional implementation, the fifth processing module 506 can be configured to: acquire first structure tree configuration information corresponding to the first part model based on the model structure tree; acquire a first structure tree node in a first structure tree path; acquire a node level of the first structure tree node based on the first structure tree configuration information; and update the first structure tree node based on the updated model attribute information and the node level, to update the first structure tree path.

[0124] In an implementation, the apparatus further includes a sixth processing module. As an example, refer to Figure 6 , Figure 6 is a structural schematic diagram of another dynamic BIM model tree generation and coding configuration apparatus provided by the embodiments of the present application. As Figure 6 shown, the apparatus 600 further includes a sixth processing module 606 configured to, in response to model splitting on the engineering model, acquire a third part model and a fourth part model based on a model splitting range; the third part model is a model within the model splitting range, and the fourth part model is a model outside the model splitting range and adjacent to a boundary of the model splitting range; acquire a third structure tree path corresponding to the third part model and a fourth structure tree node corresponding to the fourth part model in the model structure tree; update the fourth structure tree node based on the model splitting range; acquire splitting model attribute information corresponding to the split model; generate a split model structure tree node based on the splitting model attribute information; add the split model structure tree node to the third structure tree path to obtain a fourth structure tree path; and update the model structure tree based on the fourth structure tree path. Wherein, Figure 6 The modules 601-605 in Figure 4 have the same structure or function as the modules 401-405 in .

[0125] It should be noted that the foregoing explanation and description of the embodiments of the dynamic BIM model tree generation and coding configuration method are also applicable to the dynamic BIM model tree generation and coding configuration apparatus of this embodiment, which will not be described here again.

[0126] To achieve the above-mentioned embodiments, the present application further provides an electronic device. Please refer to Figure 7 , Figure 7 is a structural schematic diagram of an electronic device provided by an embodiment of the present application. As shown in Figure 7 , the electronic device 700 comprises a processor 701 and a memory 702 connected with the processor 701 in communication; the memory 702 stores computer execution instructions; the processor 701 executes the computer execution instructions stored in the memory to realize the method provided by the foregoing embodiments.

[0127] To achieve the above-mentioned embodiments, the present application further provides a computer readable storage medium, wherein the computer readable storage medium stores computer execution instructions, and the computer execution instructions are executed by a processor to realize the method provided by the foregoing embodiments.

[0128] To achieve the above-mentioned embodiments, the present application further provides a computer program product, comprising a computer program, wherein the computer program is executed by a processor to realize the method provided by the foregoing embodiments.

[0129] In the description of the present application, unless otherwise specified, “ / ” means or, for example, A / B can mean A or B; “and / or” in the present application is only a description of the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B, which means that there are three cases of A alone, A and B together, and B alone.

[0130] In the foregoing embodiment description, the description of the terms “one embodiment”, “some embodiments”, “example”, “specific example”, or “some examples” means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In the present specification, the illustrative description of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In addition, the skilled in the art can combine and combine the different embodiments or examples described in the specification and the features of the different embodiments or examples without contradiction.

[0131] In addition, the terms “first”, “second” are only for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Therefore, the features limited by “first”, “second” can explicitly or implicitly include at least one feature. In the description of the present application, the meaning of “multiple” is at least two, for example, two, three, etc., unless otherwise specifically limited.

[0132] Any processes or methods described in the flowcharts or otherwise described herein can be understood as representing modules, segments, or portions of code that include one or more executable instructions for implementing specific logic functions (or steps) and / or can be implemented entirely in hardware. The various embodiments of the application can include additional or fewer steps or methods as desired for a given implementation. The various steps or methods can be implemented in software, firmware, hardware, or a combination thereof. The order of any steps or methods can be varied as desired. The various embodiments of the application can be implemented in software and / or firmware and / or hardware, and / or any combination thereof.

[0133] The logic and / or steps represented in the flowcharts and / or otherwise described herein, for example, can be embodied in non-transitory computer-readable media, which can be executed by a processing unit of a computer-based system to perform the functions, steps, or processes represented therein. The logic and / or steps represented in the flowcharts and / or otherwise described herein, for example, can be considered as a list of instructions to implement the logic functions, and can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For purposes of this specification, a "computer-readable medium" can be any apparatus that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. The computer-readable medium can be a product of the manufacturing and / or processing, and can be a machine-readable storage medium (alternatively, "computer-readable storage medium"). The computer-readable medium can include, but is not limited to, the following, non-exhaustively: an electronic connection (electrical) having one or more wires, a portable computer diskette, a RAM, a ROM, an erasable programmable ROM (EPROM or Flash memory), an optical fiber, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium can be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted, or otherwise processed in a suitable manner, if necessary, and then stored in a computer storage medium.

[0134] It should be understood that aspects of the application can be implemented in hardware, software, firmware, or combinations thereof. In the above embodiments, various steps or methods can be implemented in software or firmware that is stored in memory and executed by a suitable instruction execution system. As such, in some embodiments, specifically tailored machine or computer program product executable instructions (e.g., software or firmware) are used to program the instruction execution system to perform the steps or methods described above. If desired, in another embodiment, specifically tailored hardware, such as an application specific integrated circuit (ASIC) can be used in place of software or in combination with software. The ASIC can be programmed in any manner known in the art, such as with logic gates, discrete logic, etc.

[0135] Those skilled in the art of the present technology can understand that all or part of the steps carried out by the above-mentioned embodiment method can be completed by programs instructing related hardware, and the programs can be stored in a computer readable storage medium. When the program is executed, it includes one of the steps of the method embodiment or a combination thereof.

[0136] In addition, each functional unit in each embodiment of the present application can be integrated into one processing module, or each unit can exist physically alone, or two or more units can be integrated into one module. The integrated module can be realized in the form of hardware or in the form of a software functional module. When the integrated module is realized in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer readable storage medium.

[0137] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it should be understood that the above-mentioned embodiments are exemplary and cannot be understood as limiting the present application, and those skilled in the art can make changes, modifications, replacements and variations to the above-mentioned embodiments within the scope of the present application.

Claims

1. A dynamic BIM model tree generation and encoding configuration method, characterized in that, The method comprises the following steps: obtaining an initial model structure tree corresponding to an engineering model based on a pre-established model structure tree template; establishing an association between the initial model structure tree and a modeling process of the engineering model; updating the initial model structure tree in the modeling process of the engineering model based on the association to obtain a model structure tree corresponding to the engineering model; configuring coding configuration data corresponding to the engineering model; establishing an association between the model structure tree and the coding configuration data; updating the initial model structure tree in the modeling process of the engineering model based on the association to obtain a model structure tree corresponding to the engineering model, comprising the following steps: obtaining component attribute information of a model component to be modeled in the engineering model; obtaining an initial model structure tree path and an initial structure tree node corresponding to the model component in the initial model structure tree; configuring the initial model structure tree path and the initial structure tree node based on the component attribute information to obtain an actual structure tree path and an actual structure tree node corresponding to the model component; updating the initial model structure tree based on the actual structure tree path and the actual structure tree node to obtain the model structure tree; configuring the coding configuration data corresponding to the engineering model, comprising the following steps: configuring initial coding configuration information corresponding to each model component in the engineering model based on a pre-established coding configuration; determining a mapping relationship between a first coding rule corresponding to each model component in the engineering model and a second coding rule to be connected; updating the initial coding configuration information based on the mapping relationship and the coding to be connected to obtain the coding configuration data corresponding to each model component.

2. The method of claim 1, wherein, updating the initial model structure tree based on the actual structure tree path and the actual structure tree node to obtain the model structure tree, comprising the following steps: determining that modeling is completed, and obtaining attribute instance information of an attribute instance in a model file corresponding to the engineering model; obtaining a target actual structure tree path existing in the attribute instance information in the actual structure tree path; obtaining a target actual structure tree node corresponding to the target actual structure tree path in the actual structure tree node; obtaining the model structure tree based on the target actual structure tree path and the target actual structure tree node.

3. The method of claim 1, wherein, The method further comprises the following steps: in response to model updating of the engineering model, obtaining a first part model and a second part model based on a model updating range; wherein the first part model is a model in the model updating range, and the second part model is a model outside the model updating range and adjacent to the boundary of the model updating range; obtaining a target model structure tree node corresponding to the first part model in the model structure tree; obtaining first part model structure tree information corresponding to the model updating range in the model structure tree; obtaining updated model information corresponding to an updated model in the model updating range; updating the first part model structure tree information based on the updated model information.

4. The method of claim 3, wherein, obtaining the updated model information corresponding to the updated model in the model updating range, comprising the following steps: Based on the model structure tree, first structure tree configuration information corresponding to the first part model is acquired; A first structure tree node in a first structure tree path is acquired; Based on the first structure tree configuration information, a node level of the first structure tree node is acquired; Based on the updated model information and the node level, the first structure tree node is updated to update the first structure tree path.

5. The method of claim 1, wherein, The method further comprises: In response to model splitting of the engineering model, a third part model and a fourth part model are acquired based on a model splitting range; wherein the third part model is a model within the model splitting range, and the fourth part model is a model outside the model splitting range and adjacent to the boundary of the model splitting range; A third structure tree path corresponding to the third part model and a fourth structure tree node corresponding to the fourth part model in the model structure tree are acquired; The fourth structure tree node is updated based on the model splitting range; Split model attribute information corresponding to the split model is acquired; A split model structure tree node is generated based on the split model attribute information; The split model structure tree node is added to the third structure tree path to obtain a fourth structure tree path; The model structure tree is updated based on the fourth structure tree path.

6. A dynamic BIM model tree generation and encoding configuration apparatus, characterized by, Comprise: The first processing module is used for acquiring the initial model structure tree corresponding to the engineering model based on the pre-established model structure tree template; The second processing module is used for establishing the association between the initial model structure tree and the modeling process of the engineering model; The third processing module is used for updating the initial model structure tree in the modeling process of the engineering model based on the association to obtain the model structure tree corresponding to the engineering model; The coding configuration module is used for configuring the coding configuration data corresponding to the engineering model; The fourth processing module is used for establishing the association between the model structure tree and the coding configuration data; the third processing module is specifically used for: Acquiring component attribute information of a model component to be modeled in the engineering model; Acquiring an initial model structure tree path and an initial structure tree node corresponding to the model component in the initial model structure tree; Based on the component attribute information, the initial model structure tree path and the initial structure tree node are configured to obtain an actual structure tree path and an actual structure tree node corresponding to the model component; Based on the actual structure tree path and the actual structure tree node, the initial model structure tree is updated to acquire the model structure tree; The coding configuration module is specifically used for: Based on the preset coding configuration, the initial coding configuration information corresponding to each model component in the engineering model is configured; The mapping relationship between the first coding rule corresponding to each model component in the engineering model and the second coding rule to be connected is determined; Based on the mapping relationship and the to-be-connected coding, the initial coding configuration information is updated to obtain the coding configuration data corresponding to each model component.

7. An electronic device, comprising: Comprise: A processor and a memory in communication connection with the processor; The memory stores computer execution instructions; The processor executes computer-executable instructions stored in the memory to implement the method of any of claims 1-5.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions that, when executed by a processor, implement the method of any of claims 1-5.

9. A computer program product, characterised in that, A computer program that, when executed by a processor, implements the steps of the method of any of claims 1-5.

Citation Information

Patent Citations

  • Informatization processing method and device of three-dimensional model based on railway track

    CN112184882A

  • Data storage method and apparatus, and storage medium and server

    WO2022127114A1