BIM lightweight engine and target BIM scene construction method
Through the background service, information structure, cloud settings and business modules of the BIM lightweight engine, the problems of low flexibility in the functional and high communication costs of the existing BIM platform are solved, and the target BIM scenario of rapid construction and flexible configuration is achieved.
Patent Information
- Application Number
- CN202210338329.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-01
- Publication Date
- 2025-05-16
- Estimated Expiration
- 2042-04-01
AI Technical Summary
The existing BIM platform has low functional flexibility, high communication costs and complex communication, making it difficult to meet the diverse needs of users.
It provides a BIM lightweight engine, including background service module, information structure module, cloud setup module and business module. Through these modules, model data is obtained and converted, information structure, custom functions, and target BIM scenarios are generated.
The rapid construction and flexible configuration of the target BIM scenarios are achieved, which reduces communication costs and improves functional flexibility, allowing users to quickly experience and apply BIM scenarios that meet specific needs.
Smart Images

Figure CN114662200B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of BIM technology, and in particular to a BIM lightweight engine and a target BIM scene construction method. Background Art
[0002] In the context of the global digital economy, all industries are beginning to transform digitally. As the core technology of digital transformation, BIM (Building Information Modeling) technology is being used by more and more companies to manage their companies and projects.
[0003] The existing BIM platform basically implements specific functions on the desktop or web side through code. Users can only use the existing specific functions or find developers for customized development. Since adding or modifying functions can only modify the code and re-publish the program, the communication cost is high and cumbersome, and the functional flexibility in the BIM scene is low. Summary of the invention
[0004] In view of this, the present application provides a BIM lightweight engine and a target BIM scene construction method, which are used to solve the problems of high and cumbersome communication costs in the prior art, and low functional flexibility in the BIM scene. The technical solution is as follows:
[0005] A BIM lightweight engine, comprising: a background service module, an information structure module, a cloud setting module and a business module;
[0006] The backend service module is used to obtain the model data corresponding to the initial BIM scene and convert the model data into lightweight data, wherein the model data is data describing the initial BIM scene;
[0007] An information structure module is used to create an information structure corresponding to the initial BIM scene based on the lightweight data, and set attribute information for nodes in the information structure according to target requirements, wherein the nodes in the information structure are associated with the graphic elements in the initial BIM scene;
[0008] A cloud setting module is used to set custom functions in the cloud based on target requirements for the initial BIM scenario, wherein the custom functions include one or more of the following functions: creating custom events, creating custom windows, and creating toolbars;
[0009] The business module is used to create a target BIM scene corresponding to the initial BIM scene based on the information structure and customized functions.
[0010] Optionally, the BIM lightweight engine also includes: a twin protocol module;
[0011] The twin protocol module is used to create a twin protocol, receive external data, and process the received external data into the data format specified by the twin protocol, wherein the external data is used to adjust the initial BIM scene.
[0012] Optionally, the information redefinition module includes: an information definition creation module and a node attribute setting module;
[0013] The information definition creation module is used to create the information structure corresponding to the initial BIM scene based on lightweight data;
[0014] The node attribute setting module is used to set attribute information for nodes in the information structure according to target requirements.
[0015] Optionally, the information redefinition module further includes: a data source setting module;
[0016] The data source setting module is used to set the data source for the attribute information of the nodes in the information structure, and / or to establish a mapping relationship between the data fields in the data source and the attribute values corresponding to the attribute information, so as to convert the data fields obtained from the data source into the attribute values corresponding to the attribute information through the mapping relationship.
[0017] Optionally, the information redefinition module further includes: a right-click menu setting module;
[0018] The right-click menu setting module is used to create a new right-click menu node for the corresponding graphic element in the node in the information structure, and set the first click event for the right-click menu node, wherein the first click event refers to the event to be executed when the right-click menu node is clicked.
[0019] Optionally, the information redefinition module further includes: a color setting module;
[0020] The color setting module is used to create an expression for a node in the information structure according to the attribute information of the node, and to establish a mapping relationship between the expression and the color, and when the attribute value corresponding to the attribute information of the node satisfies the expression, the graphic element contained in the node is set to the color corresponding to the expression.
[0021] Optionally, the cloud setting module includes: a custom event module and / or a custom window module and / or a toolbar module;
[0022] The custom event module is used to create custom events in the cloud based on the input event parameter information;
[0023] A custom window module, used to create a custom window in the cloud based on the input window basic information and window code, wherein the window code is a code describing the content of the custom window;
[0024] The toolbar module is used to create a toolbar for the initial BIM scene in the cloud, and / or create a new tool in the toolbar and set a second click event for the new tool, wherein the second click event refers to an event that needs to be executed when the new tool is clicked.
[0025] A target BIM scene construction method, applied to any of the above BIM lightweight engines, comprising:
[0026] Obtain model data corresponding to the initial BIM scene, and convert the model data into lightweight data, wherein the model data is data describing the initial BIM scene;
[0027] According to the lightweight data, an information structure corresponding to the initial BIM scene is created, and attribute information is set for nodes in the information structure according to target requirements, wherein the nodes in the information structure are associated with the graphic elements in the initial BIM scene;
[0028] For the initial BIM scenario, custom function settings are performed in the cloud based on target requirements, wherein the custom functions include one or more of the following functions: creating custom events, creating custom windows, and creating toolbars;
[0029] Create a target BIM scene corresponding to the initial BIM scene based on the information structure and customized functions.
[0030] Optionally, customize the cloud-based functions based on target requirements, including:
[0031] Create custom events in the cloud based on the input event parameter information;
[0032] and / or, creating a custom window in the cloud based on the input window basic information and window code;
[0033] And / or, a toolbar is created for the initial BIM scene in the cloud, and a second click event is set for the tools in the toolbar, wherein the second click event refers to an event to be executed when the tool in the toolbar is clicked.
[0034] Optionally, before creating a target BIM scene corresponding to the initial BIM scene according to the information structure and the custom function, the following is further included:
[0035] A twin protocol is created, external data is received, and the received external data is processed into a data format specified by the twin protocol, wherein the external data is used to adjust the initial BIM scene.
[0036] Through the above technical solutions, it can be known that the BIM lightweight engine provided by the present application includes a background service module, an information redefinition module, a cloud setting module and a business module, wherein the background service module is used to obtain the model data corresponding to the target BIM scene and convert the model data into lightweight data, the information redefinition module is used to create the information structure corresponding to the initial BIM scene according to the lightweight data, and set the attribute information for the nodes in the information structure according to the target requirements, the cloud setting module is used for the initial BIM scene, based on the target requirements, to set the custom function in the cloud, and the business module is used to create the target BIM scene corresponding to the initial BIM scene according to the information structure and the custom function. It can be seen that the present application can create a target BIM scene that meets the target requirements based on the background service module, the information redefinition module, the cloud setting module and the business module, and it will take effect after saving after the creation is completed, and the effect can be quickly experienced, which saves the communication cost, and the functional flexibility in the target BIM scene is relatively high. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0038] Figure 1 A schematic diagram of the structure of a BIM lightweight engine provided in an embodiment of the present application;
[0039] Figure 2 A schematic diagram of the structure of another BIM lightweight engine provided in an embodiment of the present application;
[0040] Figure 3 A schematic diagram of the structure of an information redefinition module provided in an embodiment of the present application;
[0041] Figure 4 A schematic diagram of the structure of another information redefinition module provided in an embodiment of the present application;
[0042] Figure 5 A schematic diagram of the structure of a cloud-based setting module provided in an embodiment of the present application;
[0043] Figure 6 A flowchart of a target BIM scene construction method provided in an embodiment of the present application;
[0044] Figure 7a A schematic diagram of the interface when creating an information structure for the information redefinition module;
[0045] Figure 7bA schematic diagram showing the display effect of the information structure in the target BIM scene;
[0046] Figure 8a A schematic diagram of the interface for setting attribute information for the node attribute setting module;
[0047] Figure 8b It is a schematic diagram of the display effect of attribute information in the target BIM scene;
[0048] Fig. 9 A schematic diagram of the interface when setting the data source for the data source setting module;
[0049] Fig.10 A diagram of the interface when creating a custom window for a custom window module;
[0050] Fig.11a A schematic diagram of the interface when setting the right-click menu node for the right-click menu setting module;
[0051] Fig.11b This is a schematic diagram of the display effect of the right-click menu in the target BIM scene;
[0052] Fig.12a A diagram of the interface when creating toolbars and new tools for the toolbar module;
[0053] Figure 12b This is the display effect diagram of the toolbar in the target BIM scene;
[0054] Fig.13a Schematic diagram of the interface when creating a twin protocol for the twin protocol module;
[0055] Fig.13b Schematic diagram of the code interface used by the Twin Protocol module when processing external data. DETAILED DESCRIPTION
[0056] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0057] In view of the problems existing in the prior art, the inventor of this case conducted in-depth research and finally proposed a BIM lightweight engine. The BIM lightweight engine provided by this application will be introduced in detail through the following embodiments.
[0058] See also Figure 1, shows a schematic diagram of the structure of a BIM lightweight engine provided by an embodiment of the present application, the BIM lightweight engine 1 may include: a background service module 11, an information redefinition module 12, a cloud setting module 13 and a business module 14. Next, these modules are introduced in detail.
[0059] The background service module 11 can be used to obtain model data corresponding to the initial BIM scene and convert the model data into lightweight data, wherein the model data is data describing the initial BIM scene.
[0060] The information redefinition module 12 can be used to create an information structure corresponding to the initial BIM scene based on the lightweight data, and set attribute information for nodes in the information structure according to target requirements, wherein the nodes in the information structure are associated with the elements in the initial BIM scene.
[0061] The cloud setting module 13 can be used to set custom functions in the cloud based on target requirements for the initial BIM scene, wherein the custom functions include one or more of the following functions: creating custom events, creating custom windows, and creating toolbars.
[0062] The business module 14 may be used to create a target BIM scene corresponding to the initial BIM scene according to the information structure and the custom functions.
[0063] Specifically, when it is necessary to create a target BIM scene that meets the target requirements, a new project can be first created in the BIM lightweight engine 1, and all subsequent configurations are associated with this project in the database. Since the model data corresponding to the initial BIM scene is heavy quantitative model data with a large amount of data, it is not suitable for WEB and mobile applications. Therefore, when creating a new project, the model data corresponding to the initial BIM scene is first imported into the background service module 11, so that the model data is lightweight converted through the background service module 11 to obtain lightweight data that is convenient for multi-terminal application. The format of the lightweight data is the format used by the BIM lightweight engine 1.
[0064] Here, the model data is data that describes the initial BIM scene, that is, the model data can describe each graphic element in the initial BIM scene. The target BIM scene ultimately created in this embodiment is a more complete and more flexible BIM scene based on these graphic elements.
[0065] Optionally, the background service module 11 may also store the file address of the converted lightweight data in a database.
[0066] In this embodiment, after the background service module 11 converts the heavy-quantized model data into lightweight data, the BIM lightweight engine 1 provided in this embodiment can define the organization information structure through information to achieve the mapping of the information structure of the physical world, such as the engineering component structure, the construction organization structure, the operation and maintenance asset structure, etc. Specifically, the information redefinition module 12 creates an information structure corresponding to the initial BIM scene based on the lightweight data. That is, the information redefinition module 12 can create an information structure and associate the nodes in the information structure with the primitives in the initial BIM scene (i.e., the primitives described by the lightweight data, corresponding to the physical objects). In this embodiment, the created information structure can be displayed in the target BIM scene, so that specific objects can be quickly located based on the information structure. Optionally, the information structure created by the information redefinition module 12 can be a directory tree.
[0067] It should be noted that when the information redefinition module 12 creates an information structure, it can create multiple different information structures according to different usage scenarios. For example, an information structure can be created for people in a certain building, an information structure can be created for cars in an underground parking lot of a certain building, an information structure can be created for equipment in a certain building, and so on.
[0068] Optionally, when creating an information structure, the information redefinition module 12 can obtain the information structure name input by the user so as to uniquely identify the information structure. At the same time, when creating a node (or subnode) in the information structure, the information redefinition module 12 can obtain the node name input by the user so as to uniquely identify the node in the information structure. Optionally, the information redefinition module 12 can also adjust and edit the order of the nodes in the information structure to meet the target requirements.
[0069] In this embodiment, the information redefinition module 12 can also set attribute information for the nodes in the information structure according to the target requirements. Optionally, the attribute information can include public attributes and private attributes. For example, for an information structure set for people in a certain building, assuming that all people in the building have the same nationality and skin color, then nationality and skin color can be used as public attributes of the person, and name, unit, etc. can be used as private attributes.
[0070] Optionally, when setting the attribute information of the node, the information redefinition module 12 may obtain the attribute name input by the user to uniquely identify the attribute information. Optionally, the information redefinition module 12 may also adjust and edit the order of the attribute information to put important attribute information before unimportant attribute information.
[0071] On the basis of the above two modules, in order to build a more complete target BIM scene with higher functional flexibility, the BIM lightweight engine 1 provided in this embodiment is also provided with a cloud setting module 13, so that the user can create a target BIM scene that meets the target requirements. Here, the cloud setting module 13 can perform customized function settings in the cloud based on the target requirements for the initial BIM scene, for example, creating a custom event or a custom window or a toolbar in the initial BIM scene according to the target requirements in the cloud.
[0072] It should be noted that, in actual applications, the custom functions may include creating custom events, creating custom windows, and creating toolbars, as well as other functions, which are not limited in this application.
[0073] After the information redefinition module creates the information structure and the cloud setting module sets the custom functions, the business module 14 can create a target BIM scene corresponding to the initial BIM scene according to the information structure and the set custom functions.
[0074] It should be noted that a target BIM scene can be a business scene, and a project can include multiple business scenes. Then, the business module 14 can create multiple target BIM scenes corresponding to the initial BIM scene according to the information structure and the custom functions set.
[0075] It is worth noting that the custom functions, information structures, etc. of different business scenarios are different. This embodiment can store these configurations together in the background of the BIM lightweight engine 1, so that different business scenarios can be switched when needed.
[0076] The BIM lightweight engine provided by the present application includes a background service module, an information redefinition module, a cloud setting module and a business module, wherein the background service module is used to obtain the model data corresponding to the target BIM scene and convert the model data into lightweight data, the information redefinition module is used to create the information structure corresponding to the initial BIM scene according to the lightweight data, and set the attribute information for the nodes in the information structure according to the target requirements, the cloud setting module is used to set the custom functions in the cloud based on the target requirements for the initial BIM scene, and the business module is used to create the target BIM scene corresponding to the initial BIM scene according to the information structure and the custom functions. It can be seen that the present application can create a target BIM scene that meets the target requirements based on the background service module, the information redefinition module, the cloud setting module and the business module, and the scene will take effect after being saved after the creation is completed, and the effect can be quickly experienced, which saves the communication cost, and the functional flexibility in the target BIM scene is relatively high.
[0077] In an optional embodiment, considering that BIM has developed from design to construction and operation and maintenance, and from three-dimensional display to twin applications, BIM is integrated with new technologies such as the Internet of Things, Beidou positioning, and big data to realize a series of smart applications based on the framework of the Industrial Internet. In order to adapt to current developments, see Figure 2 As shown, the BIM lightweight engine provided in this embodiment may also include: a twin protocol module 15.
[0078] The twin protocol module 15 can be used to create a twin protocol, receive external data, and process the received external data into a data format specified by the twin protocol, wherein the external data is used to adjust the initial BIM scene.
[0079] Optionally, the process of the twin protocol module 15 receiving external data and processing the received external data into the data format specified by the twin protocol may include: receiving external data through a preset API interface, and processing the received external data into the data format specified by the twin protocol through a preset Java code file.
[0080] In this embodiment, after the external data is processed into the specified data format, the twin protocol module 15 can push the external data in the specified data format to the front-end scene, so that the front-end scene can adjust the initial BIM scene by parsing the protocol data, for example, adding models, deleting models, modifying positions, displaying alarms, and other operations in the initial BIM scene.
[0081] Here, the twin protocol module 15 is a way to interact with the BIM scene. The twin protocol module 15 can dynamically realize the customized docking of the BIM lightweight engine 1 with personnel positioning data, sensor monitoring data, material data and other data through Java code, which greatly ensures the flexibility of the BIM lightweight engine 1. In summary, the twin protocol module 15 enables the BIM lightweight engine 1 to have a back-end development environment and capabilities.
[0082] One embodiment of the present application, combined with Figure 3 and Figure 4 The above-mentioned information redefinition module 12 is described in detail.
[0083] Optional, first see Figure 3 , shows a schematic diagram of the structure of an information redefinition module provided in an embodiment of the present application. Figure 3 As shown, the information redefinition module 12 may include: an information definition creation module 121 and a node attribute setting module 122 .
[0084] Among them, the information definition creation module 121 can be used to create an information structure corresponding to the initial BIM scene based on lightweight data; the node attribute setting module 122 can be used to set attribute information for nodes in the information structure according to target requirements.
[0085] The specific functions of the above-mentioned information definition creation module 121 and node attribute setting module 122 can refer to the introduction in the above-mentioned embodiment, and will not be repeated here.
[0086] Optional, see Figure 4 As shown, the information redefinition module 12 provided in this embodiment may further include: one or more of a data source setting module 123, a right-click menu setting module 124, and a color setting module 125. These three modules are introduced below respectively.
[0087] The above-mentioned data source setting module 123 can be used to set a data source for the attribute information of a node in an information structure, and / or to establish a mapping relationship between data fields in the data source and attribute values corresponding to the attribute information, so as to convert data fields obtained from the data source into attribute values corresponding to the attribute information through the established mapping relationship.
[0088] Specifically, in this embodiment, the attribute value corresponding to the attribute information of the node in the information structure can be static data or dynamic data. For the node attribute information whose attribute value is dynamic data, it is necessary to set a data source for it through the data source setting module 123. For example, if the attribute information of a node in an information structure is the condensing pressure of the condenser, the data source can be set for the condensing pressure through the data source setting module 123 to obtain the specific value of the condensing pressure of the condenser through the set data source.
[0089] Optionally, the method of setting the data source in this embodiment may include: database spl, API interface, Internet of Things access and other methods, which are not specifically limited in this application.
[0090] Optionally, the data source setting module 123 may also establish a mapping relationship between the data field in the data source and the attribute value corresponding to the attribute information, and the data source setting module 123 may also convert the data field in the data source into an attribute value matching the attribute information through the mapping relationship. For example, the attribute information of a node in an information structure is switch information, and the attribute value corresponding to the switch information may be "on" or "off", then the mapping relationship established by the data source setting module 123 may be: "on" corresponds to the data field "1" in the data source, and "off" corresponds to the data field "0" in the data source; and when the data source setting module 123 obtains the data field "1" from the set data source, it converts "1" into the attribute value "on", and when the data field "0" is obtained from the set data source, it converts "0" into the attribute value "off".
[0091] The right-click menu setting module 124 can be used to create a new right-click menu node for the corresponding graphic element in the node in the information structure, and set a first click event for the right-click menu node, wherein the first click event refers to the event to be executed when the right-click menu node is clicked.
[0092] Specifically, the right-click menu setting module 124 can create a new right-click menu node for the corresponding graphic element in the node in the information structure, and set a corresponding first click event so that when the user clicks the newly created right-click menu node, the first click event is executed (equivalent to the right-click menu setting module 124 providing a shortcut for the graphic element corresponding to the node in the information structure).
[0093] Optionally, when creating a new right-click menu node for a corresponding element in a node in the information structure, the right-click menu setting module 124 can also obtain the menu node name input by the user, so that in the target BIM scene, by clicking the menu node name in the right-click menu of the corresponding object, the corresponding first click event is executed.
[0094] Optionally, the first click event can be a custom event and / or a pop-up or hide of a custom window. This embodiment realizes refined operation of the graphic element through a configurable right-click menu combined with event definition, meeting the refined management and control requirements based on BIM.
[0095] The above-mentioned color setting module 125 can be used to create an expression for a node in an information structure according to the attribute information of the node, and establish a mapping relationship between the expression and the color, and when the attribute value corresponding to the attribute information of the node satisfies the expression, the graphic element contained in the node is set to the color corresponding to the expression.
[0096] Specifically, taking any node in the information structure as an example, the node may include one or more attribute information, and the color setting module 125 can create an expression based on the one or more attribute information of the node, and the specific number of expressions created can be determined according to the target requirements; at the same time, a mapping relationship between expressions and colors will also be established. Therefore, when the attribute value corresponding to the attribute information of the node satisfies any of the created expressions, the color setting module 125 can set the primitive contained in the node to the color corresponding to the expression.
[0097] For example, if the attribute information of a node in an information structure includes condenser condensing pressure, the expressions created by the color setting module 125 may include: condenser condensing pressure is greater than 0 and condenser condensing pressure is less than 100 (expression 1), condenser condensing pressure is greater than 100 and condenser condensing pressure is less than 150 (expression 2), condenser condensing pressure is greater than or equal to 150 and condenser condensing pressure is less than 180 (expression 3), and condenser condensing pressure is greater than or equal to 180 (expression 4); and, the mapping relationship established by the color setting module 125 may be: expression 1 corresponds to gray; expression 2 corresponds to pink; expression 3 corresponds to green; expression 4 corresponds to red.
[0098] Based on this, when the data source setting module 123 obtains the data field from the set data source, if the data field (that is, the attribute value corresponding to the attribute information of the node) satisfies expression 1, the graphics contained in the node are displayed in gray; if the data field satisfies expression 2, the graphics contained in the node are displayed in pink; if the data field satisfies expression 3, the graphics contained in the node are displayed in green; if the data field satisfies expression 4, the graphics contained in the node are displayed in red.
[0099] In summary, the information redefinition module 12 in the BIM lightweight engine 1 provided in this embodiment may include a data source setting module 123 and / or a color setting module 125, so that the present application can create a more complete target BIM scene, and the information redefinition module 12 includes a right-click menu setting module 124, so that the functional flexibility of the target BIM scene created by the present application is higher.
[0100] One embodiment of the present application, combined with Figure 5 The cloud setting module 13 is described in detail.
[0101] Optional, see Figure 5 As shown, the cloud setting module 13 provided in this embodiment may include: one or more of a custom event module 131, a custom window module 132 and a toolbar module 133. The following introduces these three modules respectively.
[0102] The custom event module 131 can be used to create a custom event in the cloud based on input event parameter information.
[0103] Optionally, the custom event created above can be a preset event. For example, optionally, the preset events can include: opening a new page, calling an API interface (for example, the corresponding event parameter information can include a type parameter, namely, get and post), jumping to a viewport (for example, the corresponding event parameter information can include a viewport parameter, namely, a computer room, ses test, and electronic fence) and opening a video window (for example, the corresponding event parameter information can include a type parameter, namely, a video library and a live stream).
[0104] That is to say, the custom event module 131 creates a custom event by actually creating a preset event based on the obtained event parameter information. For example, the user can choose to customize the "API interface" event in the interface provided by the custom event module 131, and enter the parameters related to the "API interface". Then, the custom event module 131 can create a custom event for calling the API interface based on the input "API interface" and related type parameters.
[0105] Optionally, when creating a custom event, the custom event module 131 may also obtain an event name input by the user.
[0106] It should be noted that, in this embodiment, the custom events created by the custom event module 131 can be triggered and called in multiple functional modules. For example, the custom events can be called and displayed in the toolbar created by the toolbar module 133, the right-click menu created by the right-click menu setting module 124, the property box provided by the node property setting module 122, etc.
[0107] In summary, the custom event module 131 provided in this embodiment can create custom events in the cloud based on target requirements. The custom events support business definitions of various operations under the three-dimensional visual viewport, such as viewport jump, page jump, hardware control, etc.
[0108] The above-mentioned custom window module 132 can be used to create a custom window in the cloud based on the input window basic information and window code, wherein the window code is a code that describes the content of the custom window.
[0109] Optionally, the custom window module 132 can provide a custom window creation interface, which includes two parts, namely a window basic information input part and a window code writing part, so that the user can input the basic information of the custom window to be created in the window basic information input part, such as window title, window height, window width, window pop-up position, etc., and the user can write the corresponding window code in the window code writing part, which refers to the code that describes the specific content of the custom window. After that, the custom window module 132 can create a custom window based on the input window basic information and window code.
[0110] Optionally, the above window code can be a Vue code, such as template, js, css, etc. When the window code is written, a custom window can be created in real time through the custom window module 132 to preview the code effect in real time.
[0111] It should be noted that, in the present embodiment, the custom window created by the custom window module 132 can be triggered and called in multiple functional modules. For example, the custom window can be called and displayed in the toolbar created by the toolbar module 133, the right-click menu created by the right-click menu setting module 124, the property box provided by the node property setting module 122, etc.
[0112] In summary, the custom window module 132 provides a simple interface development function, and the written window can be called and displayed in the toolbar, property box, right-click menu, etc.; the custom window module 132 embeds the front-end Vue code to realize monitoring data, large-screen forms, customized cards and other functions at the display level, so that the BIM lightweight engine 1 provided in this application has a front-end development environment and capabilities.
[0113] The toolbar module 133 may be used to create a toolbar for the initial BIM scene in the cloud and / or create a new tool in the toolbar, and set a second click event for the new tool, wherein the second click event refers to an event to be executed when the new tool is clicked.
[0114] Here, the toolbar created by the toolbar module 133 includes the engine built-in tools. Optionally, the created toolbar may also include one or more of a custom event and a custom window.
[0115] Optionally, the toolbar module 133 may also obtain a toolbar name input by a user when creating a toolbar for an initial BIM scene, and may also obtain a tool name input by a user when creating a new tool in the toolbar.
[0116] Optionally, the second click event may be the pop-up or hiding of an engine built-in tool and / or a custom event and / or a custom window.
[0117] It is understandable that the toolbar generally also includes tool icons. Optionally, the toolbar module 133 provided in this embodiment can also select corresponding function icons when creating a new tool.
[0118] In summary, the toolbar module 133 provided in this embodiment allows users to create customized toolbars according to target requirements, which facilitates flexible configuration of various businesses, thereby meeting the smart scene requirements of different businesses at different stages.
[0119] In addition, it should be noted that the BIM lightweight engine 1 provided in this embodiment may include other modules in addition to the modules provided in the present application, such as a login module, a model management module, etc., and the present application does not make specific limitations on this.
[0120] The embodiment of the present application also provides a target BIM scene construction method, which can be applied to the BIM lightweight engine 1 provided by the present application. The target BIM scene construction method provided by the present embodiment is described in detail through the following embodiments.
[0121] See also Figure 6 , shows a schematic flow chart of a target BIM scene construction method provided in an embodiment of the present application, and the target BIM scene construction method may include:
[0122] Step S601: Obtain model data corresponding to the initial BIM scene, and convert the model data into lightweight data.
[0123] The model data is data describing the initial BIM scene.
[0124] Step S602: Create an information structure corresponding to the initial BIM scene based on the lightweight data, and set attribute information for nodes in the information structure according to target requirements.
[0125] The nodes in the information structure are associated with the elements in the initial BIM scene.
[0126] Step S603: For the initial BIM scenario, customized function settings are performed in the cloud based on target requirements.
[0127] The custom functions include one or more of the following functions: creating a custom event, creating a custom window, and creating a toolbar.
[0128] Step S604: Create a target BIM scene corresponding to the initial BIM scene according to the information structure and the custom function.
[0129] The target BIM scene construction method provided in the present application can create an information structure corresponding to the initial BIM scene based on the lightweight data corresponding to the model data corresponding to the initial BIM scene, and set attribute information for the nodes in the information structure according to the target requirements, and can perform customized function settings on the cloud based on the target requirements for the initial BIM scene. According to the information structure and the customized functions, a target BIM scene corresponding to the initial BIM scene can be created, and the target BIM scene is more complete, and the functions in the target BIM scene are more flexible.
[0130] Optionally, the process of the above step S603 "setting custom functions in the cloud based on target requirements" may include: creating a custom event in the cloud based on the input event parameter information; and / or, creating a custom window in the cloud based on the input window basic information and window code; and / or, creating a toolbar for the initial BIM scene in the cloud, and setting a second click event for the tools in the toolbar, wherein the second click event refers to the event to be executed when the tool in the toolbar is clicked.
[0131] Optionally, before step S604, the target BIM scene construction method provided in an embodiment of the present application also includes: creating a twin protocol, receiving external data, and processing the received external data into a data format specified by the twin protocol, wherein the external data is used to adjust the initial BIM scene.
[0132] It should be noted that the target BIM scene construction method provided in the present application and the BIM lightweight engine 1 provided in the present application can be referenced to each other. For details, please refer to the introduction of the BIM lightweight engine 1 in the present application, and no further details will be given here.
[0133] In order to enable those skilled in the art to better understand the present application, the detailed process of constructing the target BIM scene is described through the following embodiments.
[0134] Step 1: Based on the login module login page system, the model data corresponding to the initial BIM scene is obtained through the background service module 11, and the model data is converted into lightweight data.
[0135] Furthermore, the file address corresponding to the lightweight data is stored in the database through the background service module 11 .
[0136] Step 2: Create an information structure corresponding to the initial BIM scene based on lightweight data through the information definition creation module 121.
[0137] Among them, the target requirements can be met by adjusting and editing the node order in the information structure.
[0138] For example, taking the information structure as a directory tree, see Figure 7a As shown, it shows the interface diagram of the information redefinition module when creating the information structure. Figure 7a The information structure (directory tree) shown creates seven nodes: room, temperature and humidity sensor, monitoring, inspection personnel, second floor maintenance pipeline, and inspection; see Figure 7b As shown, a schematic diagram of the display effect of the information structure (directory tree) in the target BIM scene is shown. It can be seen that when "Second Floor Maintenance Pipeline" is clicked, the second floor maintenance pipeline in the target BIM scene can be displayed.
[0139] Step 3: Setting attribute information for nodes in the information structure according to target requirements through the node attribute setting module 122.
[0140] Among them, the target requirements can be met by adjusting and editing the order of node attribute information.
[0141] For example, see Figure 8a As shown, it shows a schematic diagram of the interface when the node attribute setting module sets attribute information. Figure 8a A total of one public attribute and seven private attributes of the "device" node are shown; Figure 8b A schematic diagram of the display effect of the attribute information in the target BIM scene is shown. It can be seen that the attribute information can be displayed in the target BIM scene in the form of a floating box.
[0142] Step 4: Set the data source for the attribute information of the node in the information structure through the data source setting module 123, and convert the data fields obtained from the data source into the attribute values corresponding to the attribute information through the mapping relationship between the data fields in the data source and the attribute values corresponding to the attribute information.
[0143] For example, see Fig. 9 As shown, a schematic diagram of the interface when the data source setting module sets the data source is shown. It can be seen that the data source for attribute information setting in this embodiment can be in various forms such as static, database, API, Internet of Things, etc.
[0144] Step 5: Create a custom event based on the input event parameter information through the custom event module 131.
[0145] Step 6: Create a custom window based on the input window basic information and window code through the custom window module 132.
[0146] For example, see Fig.10 As shown, a schematic diagram of the interface when the custom window module creates a custom window is shown. It can be seen that the basic window information and window code can be entered in the custom window creation interface provided by the custom window module, and the custom window described by the window code can be displayed in real time, so that when the custom window (i.e., the "maintenance information" window) is not appropriate, the window code can be adjusted in real time.
[0147] Step 7: Create a new right-click menu node for the corresponding graphic element in the node in the information structure through the right-click menu setting module 124, and set the first click event for the right-click menu node.
[0148] For example, see Fig.11a, which shows a schematic diagram of the interface when the right-click menu setting module sets the right-click menu node. In this interface, two right-click menu nodes are set, namely "test" and "repair information", and the corresponding first click event (ie, the click event in the figure) is set at the same time; see Fig.11b As shown, a schematic diagram of the display effect of the right-click menu in the target BIM scene is shown. It can be seen that when the right-click menu setting module sets the right-click menu node in the right-click menu setting interface, the right-click menu node can be displayed in the right-click menu in the target BIM scene, so as to facilitate users to quickly perform corresponding operations.
[0149] Step 8: Create an expression for the node in the information structure according to the attribute information of the node through the color setting module 125, and establish a mapping relationship between the expression and the color, and when the attribute value corresponding to the attribute information of the node satisfies the expression, set the graphic element contained in the node to the color corresponding to the expression.
[0150] Step 9: Create a toolbar for the initial BIM scene through the toolbar module 133, and / or create a new tool in the toolbar and set a second click event for the new tool.
[0151] For example, see Fig.12a As shown, it shows the interface diagram of the toolbar module when creating toolbars and new tools. Fig.12a The toolbar shown (named Smart Building) includes multiple tools such as main perspective, search, directory tree (the directory tree is the above-mentioned information structure), construction details, alarm, space management, etc. Each tool corresponds to a second click event (i.e., the click event in the figure); see Figure 12b As shown, a display effect diagram of the toolbar in the target BIM scene is shown. When the user clicks a tool icon on the toolbar, a second click event corresponding to the tool icon can be executed.
[0152] Step 10: Create a twin protocol through the twin protocol module 13, receive external data, and process the received external data into the data format specified by the twin protocol.
[0153] For example, see Fig.13a As shown, it shows the interface diagram of the twin protocol module when creating the twin protocol. Fig.13a A total of two twin protocols created by the twin protocol module are shown, namely the "fire alarm protocol" and the "personnel protocol"; see Fig.13b As shown, a schematic diagram of the code interface used by the twin protocol module to process external data is shown. Fig.13b The code shown can process the external data received by the preset API interface into the data format specified by the twin protocol, which is the format used by the BIM lightweight engine 1.
[0154] Step 11: Create a target BIM scene corresponding to the initial BIM scene through the business module 14 according to the information structure and the custom function.
[0155] Optionally, based on the above steps, the business module of this step may include a business scenario name, an information structure, a toolbar (or tool bar) and a default pop-up custom window. That is, based on the creation of the information structure, toolbar, custom window, etc. in the above steps, the business module of this step can create a target BIM scene corresponding to the initial BIM scene according to the business scenario name, information structure, toolbar, custom window, etc.
[0156] It should be noted that the above process provided in this embodiment is only an example and is not intended to limit the present application. In addition, the details of each step can be referred to the introduction in the above embodiment, and will not be repeated here.
[0157] Finally, it should be noted that, in this article, relational terms such as and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprises a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0158] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0159] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A BIM lightweight engine, characterized in that: include: Backend service module, information redefinition module, cloud settings module and business module; The backend service module is used to obtain model data corresponding to the initial BIM scene and convert the model data into lightweight data, wherein the model data corresponding to the initial BIM scene is imported into the backend service module, and the model data is data describing the initial BIM scene; The information redefinition module is used to create an information structure corresponding to the initial BIM scene according to the lightweight data, and set attribute information for nodes in the information structure according to target requirements, wherein the nodes in the information structure are associated with the graphic elements in the initial BIM scene; The cloud setting module is used to set a custom function in the cloud based on the target requirements for the initial BIM scene, wherein the custom function includes one or more of the following functions: creating a custom event, creating a custom window, and creating a toolbar; The business module is used to create a target BIM scene corresponding to the initial BIM scene according to the information structure and the custom function; The information redefinition module includes: An information definition creation module, used to create an information structure corresponding to the initial BIM scene according to the lightweight data; A node attribute setting module, used to set attribute information for nodes in the information structure according to the target requirements; A data source setting module is used to set a data source for the attribute information of the nodes in the information structure, and / or to establish a mapping relationship between the data field in the data source and the attribute value corresponding to the attribute information, so as to convert the data field obtained from the data source into the attribute value corresponding to the attribute information through the mapping relationship; wherein the attribute value corresponding to the attribute information of the nodes in the information structure is static data or dynamic data, and for the node attribute information whose attribute value is dynamic data, it is necessary to set a data source for it through the data source setting module; The color setting module is used to create an expression for a node in the information structure according to the attribute information of the node, and to establish a mapping relationship between the expression and the color, and when the attribute value corresponding to the attribute information of the node satisfies the expression, the graphic element contained in the node is set to the color corresponding to the expression.
2. The BIM lightweight engine according to claim 1, characterized in that: The BIM lightweight engine also includes: a twin protocol module; The twin protocol module is used to create a twin protocol, receive external data, and process the received external data into a data format specified by the twin protocol, wherein the external data is used to adjust the initial BIM scene.
3. The BIM lightweight engine according to claim 1, characterized in that: The information redefinition module also includes: a right-click menu setting module; The right-click menu setting module is used to create a new right-click menu node for the corresponding graphic element in the node in the information structure, and set a first click event for the right-click menu node, wherein the first click event refers to the event that needs to be executed when the right-click menu node is clicked.
4. The BIM lightweight engine according to claim 1, characterized in that: The cloud setting module includes: a custom event module and / or a custom window module and / or a toolbar module; The custom event module is used to create a custom event in the cloud based on input event parameter information; The custom window module is used to create a custom window in the cloud based on the input window basic information and window code, wherein the window code is a code describing the content of the custom window; The toolbar module is used to create a toolbar for the initial BIM scene in the cloud, and / or create a new tool in the toolbar and set a second click event for the new tool, wherein the second click event refers to an event that needs to be executed when the new tool is clicked.
5. A target BIM scene construction method, characterized in that: The BIM lightweight engine as claimed in any one of claims 1 to 4 comprises: Acquire model data corresponding to the initial BIM scene, and convert the model data into lightweight data, wherein the model data is data describing the initial BIM scene; According to the lightweight data, an information structure corresponding to the initial BIM scene is created, and attribute information is set for nodes in the information structure according to target requirements, wherein the model data corresponding to the initial BIM scene is imported into the background service module, and the nodes in the information structure are associated with the graphic elements in the initial BIM scene; For the initial BIM scenario, custom function settings are performed in the cloud based on the target requirements, wherein the custom functions include one or more of the following functions: creating a custom event, creating a custom window, and creating a toolbar; Creating a target BIM scene corresponding to the initial BIM scene according to the information structure and the custom function; It also includes: setting a data source for the attribute information of the node in the information structure, and / or establishing a mapping relationship between the data field in the data source and the attribute value corresponding to the attribute information, so as to convert the data field obtained from the data source into the attribute value corresponding to the attribute information through the mapping relationship; wherein the attribute value corresponding to the attribute information of the node in the information structure is static data or dynamic data, and for the node attribute information whose attribute value is dynamic data, it is necessary to set a data source for it through a data source setting module; The color setting module is used to create an expression for a node in the information structure according to the attribute information of the node, and to establish a mapping relationship between the expression and the color, and when the attribute value corresponding to the attribute information of the node satisfies the expression, the graphic element contained in the node is set to the color corresponding to the expression.
6. The target BIM scene construction method according to claim 5, characterized in that: The custom function setting in the cloud based on the target requirements includes: Create custom events in the cloud based on the input event parameter information; and / or, creating a custom window in the cloud based on the input window basic information and window code; And / or, a toolbar is created for the initial BIM scene in the cloud, and a second click event is set for the tools in the toolbar, wherein the second click event refers to an event to be executed when the tool in the toolbar is clicked.
7. The target BIM scene construction method according to claim 6, characterized in that: Before creating a target BIM scene corresponding to the initial BIM scene according to the information structure and the custom function, the method further includes: Create a twin protocol, receive external data, and process the received external data into a data format specified by the twin protocol, wherein the external data is used to adjust the initial BIM scene.
Citation Information
Patent Citations
Equipment lightweight display system of power system BIM model
CN112634436A
BIM mass model display method based on WebGL + VR
CN113901367A
Method and device for editing and rendering user interface component in real time
CN113934486A
Cited By
BIM lightweight engine component management method based on texture mapping
CN120672927A