Resource scheduling method and system for BIM model analysis and visualization

By introducing resource scheduling methods and systems into the BIM model analysis and visualization system, and using the service registration center and server mapping relationship, the problem of poor adaptability of cluster deployment is solved, and the system performance and user experience are improved.

CN119597407AActive Publication Date: 2025-03-11ZHEJIANG HUADONG ENG DIGITAL TECH CO LTD +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202510143649.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-10
Publication Date
2025-03-11
Estimated Expiration
2045-02-10

AI Technical Summary

Technical Problem

Existing BIM model analysis and visualization services have poor adaptability in cluster deployment, resulting in system performance and user experience being affected in large-scale engineering projects with high concurrent access and processing.

Method used

A resource scheduling method and system for BIM model analysis and visualization is provided. Through the service registration center, a low-load server node is selected as a transit station according to the cluster load balancing strategy, a model service request is processed, and a server mapping relationship is queried through the project ID to realize the distribution of model analysis and visualization tasks.

Benefits of technology

It improves the cluster deployment adaptability of BIM model analysis and visualization services, enhances system scalability, solves the performance bottleneck of stand-alone deployment, and significantly improves model analysis and visualization efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119597407A_ABST
    Figure CN119597407A_ABST
Patent Text Reader

Abstract

The invention provides a resource scheduling method and system for BIM (Building Information Modeling) analysis and visualization, and the method comprises the steps: initiating a model service request to a server side through a user side, the request parameter at least comprising a project ID (Identity); the service registration center of the server side selects a server node of which the load is lower than a threshold value as a transfer station to temporarily receive the model service request; the transfer station classifies the requests based on the request names of the model service requests, obtains target data based on public query and feeds back the target data to the user side or continues to execute the following steps; the transfer station verifies a routing identifier carried in a request header of the model service request, obtains a target server node, and forwards the model service request to the target server node; and the target server node executes a model analysis or visualization task based on the model service request. According to the method, the single-machine deployment performance bottleneck is solved, and the model analysis and visualization efficiency is remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of building three-dimensional model data conversion, and in particular to a resource scheduling method and system for BIM model analysis and visualization. Background Art

[0002] Building Information Modeling (BIM) technology has been widely used in modern engineering projects. BIM is an integrated digital information management method that expresses the physical and functional characteristics of buildings by creating and using digital models. These models not only contain the geometric information of the building, but also include data on materials, costs, progress, performance, and other aspects, forming a full life cycle management platform. From design, construction to operation and maintenance, BIM models can be efficiently managed: in the engineering design stage, BIM models can integrate the designs of various disciplines such as architecture, structure, and electromechanical into a three-dimensional model, effectively discover and resolve design conflicts, and improve design efficiency and accuracy; in the construction stage, BIM models can simulate and drill the construction process, optimize construction plans, and reduce problems and risks that may arise during the construction process; after the completion of the building, the BIM model can be used as a digital archive of the building to provide detailed reference data for daily maintenance and facility management.

[0003] Although BIM technology has significant advantages in engineering projects, there are still some inconveniences in browsing and using BIM models at the current stage. First, BIM models have large data volumes and high complexity, requiring specialized software and hardware support, and general computer equipment is difficult to meet its performance requirements. Secondly, the data formats between different BIM software are not unified, resulting in information loss or incompatibility when models are converted between different platforms. Thirdly, browsing BIM models requires certain professional knowledge and skills, and non-professionals have difficulty understanding and operating them.

[0004] At present, there are some products on the market that support browsing BIM models on the Web, which reduces the usage threshold for relevant staff. However, the BIM analysis and visualization services of these products have poor adaptability in cluster deployment, and most of them can only be deployed on a single machine. For some products that support cluster deployment, the construction steps are relatively cumbersome, the data storage locations are inconsistent, and the data needs to be copied to the same location for cross-use, which is inefficient and difficult to meet the needs of large-scale projects for model analysis and visualization. This limitation has restricted the widespread application and promotion of BIM technology to a certain extent, especially in large-scale engineering projects that require high concurrent access and processing. Single-machine deployment cannot give full play to the advantages of BIM technology, resulting in system performance and user experience being affected. Therefore, improving the cluster deployment adaptability of BIM analysis and visualization services and enhancing their system scalability have become issues that need to be urgently addressed. Summary of the invention

[0005] In order to overcome the deficiencies of the above-mentioned prior art and form a complete and systematic cluster deployment solution, the present invention provides a resource scheduling method and system for BIM model parsing and visualization, which specifically adopts the following technical solutions: A first aspect of the present invention provides a resource scheduling method for BIM model parsing and visualization, comprising the following steps: S1. Initiate a model service request from the user end to the server end, wherein the model service request includes a request name and request parameters, and the request parameters include at least a project ID; S2. The service registration center on the server side selects a server node with a load lower than the threshold as a transfer station according to the load balancing strategy of the current cluster to temporarily receive the model service request; S3, the transfer station classifies the request based on the request name of the model service request. If it is a second-class model service request, the transfer station obtains the target data based on the public query and feeds it back to the user end. If it is a first-class model service request, the transfer station continues to execute step S4; S4, the transfer station verifies the routing identifier carried in the request header of the model service request. If the routing identifier exists and is a first preset value, the transfer station is used as the target server node to execute step S6; if the routing identifier does not exist or exists and is a second preset value, the server mapping relationship is queried based on the project ID to obtain the target server node IP corresponding to the project ID, and step S5 is executed; S5. Determine whether the target server node IP is the current server node IP. If so, take the transfer station as the target server node and execute step S6; otherwise, add a routing identifier in the request header and set it to the first preset value or set the original routing identifier to the first preset value, and forward the original model service request to the target server node corresponding to the target server node IP. The target server node verifies the routing identifier in the request header and then executes step S6; S6. The target server node executes a model parsing or visualization task based on the model service request.

[0006] Furthermore, the first type of model service request includes at least a model parsing request or a model visualization request, and the second type of model service request includes at least a parsing progress acquisition request or a model version status query request.

[0007] Furthermore, when the model service request is a model parsing request, the method further includes: S0. Select a project and create a new model version under it or select an existing model version, upload the model file corresponding to the newly created or selected model version to the server, and generate a corresponding model parsing request based on the project ID.

[0008] Furthermore, in step S6, executing the model parsing task includes: The target server node verifies the model version and initializes the parsing parameters, allocates the corresponding parsing program according to the uploaded model file format, and uses the initialized parsing parameters to prepare the execution environment of the subprocess; Start the child process, perform the parsing task, and structure the unstructured data of the source file into SQLite database data; The target server node monitors the model parsing progress and updates the progress information to Redis for storage, and updates the model version status corresponding to the model in the MySQL database after the parsing task is completed.

[0009] Furthermore, when the model service request is a model parsing request, step S4 further includes: The server mapping relationship is queried based on the project ID. If the corresponding mapping relationship cannot be found in the server mapping relationship, the current transfer station is used as the server node for executing subsequent parsing tasks and a mapping relationship is established with the project ID.

[0010] Furthermore, in step S3, obtaining target data based on the public query and feeding back to the user end includes: Query the model parsing progress in Redis and feedback to the user end; Alternatively, the model version status is queried in the MySQL database and fed back to the user.

[0011] Furthermore, when the model service request is a model visualization request, step S4 further includes: The server mapping relationship is queried based on the project ID. If the corresponding mapping relationship cannot be found in the server mapping relationship, it is considered that the project has not yet had a model parsed and cannot be visualized, and an exception prompt is returned.

[0012] Furthermore, in step S6, executing the model visualization task includes: The target server node queries the relevant data in the SQLite database corresponding to the model according to the model visualization request, calculates and processes to generate the required attribute information, and returns it to the user end, which renders the acquired data into a visualization model.

[0013] Furthermore, all model versions corresponding to the same project ID are stored on the same server node, and the model parsing or visualization tasks are executed through the server node.

[0014] A second aspect of the present invention provides a resource scheduling system for BIM model parsing and visualization, which is used to implement the method described in the first aspect, including: The client side is used to select a project and create a new model version under the project or select an existing model version for uploading, generate a model parsing request or a model visualization request or a parsing progress acquisition request or a model version status query request, and render the data obtained from the server side into a visual model; The server side includes a service registration center and several server nodes, which are used to schedule server nodes according to the model service requests of the user side, as well as model management, analysis, storage and visualization processing, and feedback data to the user side; it is also used to generate and maintain server mapping relationships based on the project ID and the allocation between each server node.

[0015] Furthermore, the server mapping relationship includes a project ID and server node ID mapping table, and a server node information table, and the server node information table is used to store the server node ID and the corresponding server IP.

[0016] Furthermore, on the server side, for server nodes under the same service registration center, server nodes with the same service name registered at startup form a cluster; for newly added server nodes, they are added to the cluster when the service name is consistent with the service name of other nodes in the cluster.

[0017] The beneficial effects of the present invention are as follows: (1) The present invention provides a scheduling method for a BIM analysis system supporting cluster deployment, which can be applied to construction projects of various sizes; (2) The present invention uses the project as the mapping point to ensure the unified storage of different versions of model data under the same project, avoiding the situation where multiple copies and redundant storage are required when cross-using and comparing data between different versions due to decentralized storage, thereby improving data security, consistency, and availability; (3) The present invention weakens the concept of master and slave nodes in traditional cluster deployment. Each node in the cluster has the function of a transfer station, and there is no need to deploy and maintain an additional set of transfer services, thereby improving resource utilization and efficiency; (4) When building a cluster, the present invention only needs to configure the service name to enable new services to be seamlessly connected to the cluster, thereby avoiding manual configuration and complex integration steps. Plug-and-play improves the flexibility and scalability of the system; (5) This invention solves the performance bottleneck of single-machine deployment and significantly improves the efficiency of model parsing and visualization. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 It is a flow chart of an embodiment of a scheduling method for BIM model parsing and visualization of the present invention.

[0019] Figure 2 It is a flow chart of the model parsing function in the scheduling method embodiment for BIM model parsing and visualization of the present invention.

[0020] Figure 3 It is a flow chart of the model visualization function in the scheduling method embodiment for BIM model parsing and visualization of the present invention.

[0021] Figure 4 It is a schematic diagram of the architecture of an embodiment of a scheduling system for BIM model parsing and visualization of the present invention. DETAILED DESCRIPTION

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

[0023] See also Figure 1 The present invention provides a resource scheduling method for BIM model parsing and visualization, comprising the following steps: S1. Initiate a model service request from the user end to the server end. The model service request includes a request name and request parameters. The request parameters include at least a project ID. S2. The service registration center on the server side selects a server node with a load lower than the threshold as a transit station according to the load balancing strategy of the current cluster to temporarily receive model service requests; S3, the transfer station classifies the request based on the request name of the model service request. If it is a first-class model service request, the target data is obtained based on the public query and fed back to the user end. If it is a second-class model service request, step S4 is continued; S4, the transfer station verifies the routing identifier carried in the request header of the model service request. If the routing identifier exists and is a first preset value, the transfer station is used as the target server node to execute step S6; if the routing identifier does not exist or exists and is a second preset value, the server mapping relationship is queried based on the project ID to obtain the target server node IP corresponding to the project ID, and step S5 is executed; S5. Determine whether the target server node IP is the current server node IP. If so, take the transfer station as the target server node and execute step S6; otherwise, add a routing identifier in the request header and set it to the first preset value or set the original routing identifier to the first preset value, and forward the original model service request to the target server node corresponding to the target server node IP. The target server node verifies the routing identifier in the request header and then executes step S6; S6. The target server node performs model parsing or visualization tasks based on the model service request.

[0024] Among them, the first type of model service request includes a model parsing request or a model visualization request, and the second type of model service request includes a parsing progress acquisition request or a model version status query request.

[0025] In the present invention, model data is managed with the concepts of project and version. A project is a collection of iterative data of the engineering project model, and a version is the data generated by parsing each iterative version of the model. There can be multiple versions under one project. Throughout the life cycle of the project, the data generated by parsing different iterative versions of the same model are uniformly stored under the project through the concept of version. All model versions corresponding to the same project ID are stored on the same server node, and the model parsing or visualization tasks are performed through the server node.

[0026] Based on the above method, the present invention realizes model parsing, storage, visualization and information query with the project as the core, ensures that different versions of model data under the same project can be stored in the same location, and weakens the concept of master-slave nodes in traditional cluster deployment. Each node in the cluster has the function of a transfer station, thereby improving the cluster deployment adaptability of BIM model parsing and visualization services, enhancing the system scalability, and forming a complete and systematic cluster deployment solution.

[0027] The method of the present invention is further described below with reference to specific embodiments.

[0028] Example 1

[0029] In this embodiment, the model service request is a model parsing request. Figure 2 , the method comprises the following steps: A0. Create a new project or select an existing project on the user side, create a new model version or select an existing model version under the project, upload the model file corresponding to the new or selected model version to the server, and generate a corresponding model parsing request based on the project ID.

[0030] It should be noted that when uploading a model file, you need to confirm whether a previous version has been uploaded. If a previous version has been uploaded, the model uploaded in the new version must be consistent with the format of the old version. If no previous version has been uploaded, you can freely select the model format (DGN, IFC, Revit, etc.) and upload the model.

[0031] A1. The user initiates a model parsing request to the server, including the request name and request parameters. The request parameters include the project ID corresponding to the model. The project ID is selected here instead of the version ID to ensure that different versions of model data under the same project can be stored in the same location.

[0032] A2. The service registration center on the server side selects a server node with a load lower than the threshold as a transit station based on the current cluster's load balancing strategy (polling by default) to temporarily receive the model parsing request.

[0033] A3. The transfer station determines that the model analysis request is a first-type model service request and proceeds to step A4.

[0034] A4. The transfer station verifies the routing identifier carried in the request header of the model parsing request. If the routing identifier exists and is the first preset value (true), the transfer station is used as the target server node to execute step A6. If the routing identifier does not exist or exists and is the second preset value (false), the server mapping relationship is queried based on the project ID. If the mapping relationship exists, it means that a previous version of this project has been model parsed, and the data of its subsequent version should be kept consistent with the storage location of the previous version data to facilitate management and cross-use of data. Therefore, it is necessary to obtain the target server node IP corresponding to the project ID and execute step A5. If the corresponding mapping relationship cannot be found in the server mapping relationship, the current transfer station is used as the target server node for executing subsequent parsing tasks, a mapping relationship is established with the project ID, and step A6 is executed.

[0035] A5. Determine whether the target server node IP is the current server node IP. If so, take the transfer station as the target server node and execute step A6; otherwise, add a routing identifier in the request header and set it to the first preset value (true) or set the original routing identifier to the first preset value (true), and forward the original model parsing request to the target server node corresponding to the target server node IP. The target server node verifies the routing identifier in the request header (the routing identifier exists and is the first preset value (true)) and then executes step A6; A6. The target server node executes the model parsing task based on the model parsing request, including: The target server node performs status verification (determines whether the current version of the model has been parsed or is being parsed), parameter verification (counts the model file size, sorts out the relationship between the main file and the reference file), and format verification (verifies the model source file format to ensure that it is the same as the format selected in step A0 and the model format that has been parsed in the previous version to avoid inconsistent data before and after), and initializes parsing parameters, allocates corresponding parsing programs according to the uploaded model file format (the model parsing program in this embodiment adopts the Bridge series program of Bentley Company), and uses the initialized parsing parameters to prepare the execution environment of the subprocess; Start the child process, perform the parsing task, and structure the unstructured data of the source file into SQLite database data; Monitor the model parsing progress and update the progress information to Redis for storage, and update the model version status corresponding to the model in the MySQL database after the parsing task is completed.

[0036] Example 2

[0037] In this embodiment, the model service request is a model visualization request. Figure 3 , the method comprises the following steps: B1. The user selects the model version and initiates a model visualization request to the server, including a request name and request parameters. The request parameters include at least the project ID.

[0038] It should be noted that the model visualization request here uses the project ID as the parameter for verifying the mapping instead of the version ID because the mapping relationship is created during model parsing, and model parsing stipulates that the mapping is bound by the project ID, so it should be consistent here.

[0039] B2. The service registration center on the server side selects a server node with a load lower than the threshold as a transit station according to the load balancing strategy of the current cluster, and temporarily receives the model visualization request.

[0040] B3. The transfer station determines that the model visualization request is a first-type model service request and proceeds to step B4.

[0041] B4. The transfer station verifies the routing identifier carried in the request header of the model visualization request. If the routing identifier exists and is the first preset value (true), the transfer station is used as the target server node to execute step B6; if the routing identifier does not exist or exists and is the second preset value (false), the server mapping relationship is queried based on the project ID: if the mapping relationship exists, the target server node IP corresponding to the project ID is obtained, and step B5 is executed; if the corresponding mapping relationship cannot be found in the server mapping relationship, it is deemed that this project has not yet had a model analysis and cannot be visualized, and an exception prompt is returned.

[0042] B5. Determine whether the target server node IP is the current server node IP. If so, take the transfer station as the target server node and execute step B6; otherwise, add a routing identifier in the request header and set it to the first preset value (true) or set the original routing identifier to the first preset value (true), and forward the original model visualization request to the target server node corresponding to the target server node IP. The target server node verifies the routing identifier in the request header (the routing identifier exists and is the first preset value (true)) and then executes step B6; B6. The target server node executes the model visualization task based on the model service request, including: The target server node queries the relevant data in the SQLite database corresponding to the model according to the model visualization request, calculates and processes to generate the required attribute information, and returns it to the user end (Web end). The user end (Web end) renders the acquired data into a visualization model through the iTwin.js framework.

[0043] Example 3

[0044] In this embodiment, the model service request is a parsing progress acquisition request or a model version status query request, and the method includes the following steps: C1. The user selects a model version through the user end and initiates a parsing progress acquisition request or a model version status query request to the server end, which specifically includes a request name and request parameters. The request parameters include at least a project ID.

[0045] C2. The service registration center on the server side selects a server node with a load lower than a threshold as a transfer station according to the load balancing strategy of the current cluster, and temporarily receives the parsing progress acquisition request or the model version status query request.

[0046] C3. The transfer station determines that the parsing progress acquisition request or the model version status query request is a second-type model service request, directly obtains the target data based on the public query and feeds it back to the user end, specifically including: Query the model parsing progress in Redis and feedback to the user end; Alternatively, the model version status is queried in the MySQL database and fed back to the user.

[0047] In this way, a skipping mechanism is implemented for common attribute methods such as parsing progress acquisition and model version status query. There is no need to forward to the mapping server node, and any node can obtain such attributes, thereby improving query efficiency.

[0048] Example 4

[0049] This embodiment shows a resource scheduling system for BIM model parsing and visualization, which is used to implement the method described in the present invention and the above embodiments 1-3, and includes: The client side is used to manage projects and allow users to create new model versions under the project or select existing model versions for upload, generate model parsing requests or model visualization requests or parsing progress acquisition requests or model version status query requests, and render the data obtained from the server side into a visual model; The server side includes a service registration center and several server nodes, which are used to schedule server nodes according to the model service requests of the user side, as well as model management, analysis, storage and visualization processing, and feedback data to the user side; it is also used to generate and maintain server mapping relationships based on the project ID and the allocation between each server node.

[0050] See also Figure 4 In this embodiment, the user end may include a mobile device, PC, smart TV or other terminal device located at the access layer in the network architecture. Specifically, a web terminal configured on the above device can be used for human-computer interaction to realize information input or screen output; and various functional modules located at the application layer, including a project management module, an attribute acquisition module, a model parsing module and a model browsing module, etc., each of which realizes corresponding functions.

[0051] The server side may include a service registration center and multiple server nodes located at the service layer in the network architecture, as well as MySQL database, Redis, SQLite and MinlO located at the data layer. Among them, each server node is configured with a transfer station module, a model parsing module, a model browsing module and an attribute acquisition module, etc., which are used to realize the corresponding forwarding, model parsing / browsing and attribute acquisition functions. MySQL database and Redis can realize functions such as data storage and public query.

[0052] The user end and the server end can be connected and exchange data through the service interface layer in the network architecture, thereby realizing the resource scheduling method of BIM model parsing and visualization shown in the above-mentioned embodiments of the present invention.

[0053] It should be noted that the above network architecture is only an example given based on the prior art and does not constitute a specific limitation on the system described in the invention.

[0054] As a preferred implementation scheme, in this embodiment, the scheduling strategy for server node scheduling is developed based on the http-proxy-middleware third-party library, and acts on each server node in the cluster in the form of global middleware, so that all server nodes have the function of a transfer station, weakening the concept of master and slave nodes, so that the service registration center can use all server nodes when allocating tasks, and no longer needs to forward to a single master node to process the mapping relationship.

[0055] As a preferred implementation scheme, in this embodiment, the server mapping relationship includes a project ID and server node ID mapping table, and a server node information table, and the server node information table is used to store the server node ID and the corresponding server IP.

[0056] As a preferred implementation scheme, in this embodiment, Nacos is used as the service registration center. For server nodes under the same service registration center, server nodes with the same service name can be registered at startup to form a cluster; for newly added server nodes, it is only necessary to ensure that the service name in the new node is consistent with the service name in other nodes in the cluster to join the cluster. When a new node is added to the cluster, the new system will encrypt and store the IP corresponding to the new node in the server node information table when executing the request forwarding step for the first time.

[0057] It should be noted that the method of the embodiment of the present invention can be performed by a single device, such as a computer or a server. The method of this embodiment can also be applied in a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present invention, and the multiple devices will interact with each other to complete the described method.

[0058] It should be noted that some embodiments of the present invention are described above. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0059] The embodiments of the present invention are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present invention should be included in the protection scope of the present invention.

Claims

1. A resource scheduling method for BIM model parsing and visualization, characterized in that: The steps include: S1. Initiate a model service request from the user end to the server end, wherein the model service request includes a request name and request parameters, and the request parameters include at least a project ID; S2. The service registration center on the server side selects a server node with a load lower than the threshold as a transfer station according to the load balancing strategy of the current cluster to temporarily receive the model service request; S3, the transfer station classifies the request based on the request name of the model service request. If it is a second-class model service request, the transfer station obtains the target data based on the public query and feeds it back to the user end. If it is a first-class model service request, the transfer station continues to execute step S4; S4, the transfer station verifies the routing identifier carried in the request header of the model service request. If the routing identifier exists and is a first preset value, the transfer station is used as the target server node to execute step S6; if the routing identifier does not exist or exists and is a second preset value, the server mapping relationship is queried based on the project ID to obtain the target server node IP corresponding to the project ID, and step S5 is executed; S5. Determine whether the target server node IP is the current server node IP. If so, take the transfer station as the target server node and execute step S6; otherwise, add a routing identifier in the request header and set it to the first preset value or set the original routing identifier to the first preset value, and forward the original model service request to the target server node corresponding to the target server node IP. The target server node verifies the routing identifier in the request header and then executes step S6; S6. The target server node executes a model parsing or visualization task based on the model service request.

2. The resource scheduling method for BIM model parsing and visualization according to claim 1, characterized in that: The first type of model service request includes at least a model parsing request or a model visualization request, and the second type of model service request includes at least a parsing progress acquisition request or a model version status query request.

3. The resource scheduling method for BIM model parsing and visualization according to claim 2, characterized in that: When the model service request is a model parsing request, the method further includes: S0. Select a project and create a new model version under it or select an existing model version, upload the model file corresponding to the newly created or selected model version to the server, and generate a corresponding model parsing request based on the project ID.

4. The resource scheduling method for BIM model parsing and visualization according to claim 3, characterized in that: In step S6, executing the model parsing task includes: The target server node verifies the model version and initializes the parsing parameters, allocates the corresponding parsing program according to the uploaded model file format, and uses the initialized parsing parameters to prepare the execution environment of the subprocess; Start the child process, perform the parsing task, and structure the unstructured data of the source file into SQLite database data; The target server node monitors the model parsing progress and updates the progress information to Redis for storage, and updates the model version status corresponding to the model in the MySQL database after the parsing task is completed.

5. The resource scheduling method for BIM model parsing and visualization according to claim 4, characterized in that: When the model service request is a model parsing request, step S4 further includes: The server mapping relationship is queried based on the project ID. If the corresponding mapping relationship cannot be found in the server mapping relationship, the current transfer station is used as the server node for executing subsequent parsing tasks and a mapping relationship is established with the project ID.

6. The resource scheduling method for BIM model parsing and visualization according to claim 2, characterized in that: In step S3, obtaining target data based on the public query and feeding it back to the user end includes: Query the model parsing progress in Redis and feedback to the user end; Alternatively, the model version status is queried in the MySQL database and fed back to the user.

7. The resource scheduling method for BIM model parsing and visualization according to claim 2, characterized in that: When the model service request is a model visualization request, step S4 further includes: The server mapping relationship is queried based on the project ID. If the corresponding mapping relationship cannot be found in the server mapping relationship, it is considered that the project has not yet had a model parsed and cannot be visualized, and an exception prompt is returned.

8. The resource scheduling method for BIM model parsing and visualization according to claim 2, characterized in that: In step S6, executing the model visualization task includes: The target server node queries the relevant data in the SQLite database corresponding to the model according to the model visualization request, calculates and processes to generate the required attribute information, and returns it to the user end, which renders the acquired data into a visualization model.

9. The resource scheduling method for BIM model parsing and visualization according to any one of claims 1 to 8, characterized in that: All model versions corresponding to the same project ID are stored on the same server node, and model parsing or visualization tasks are performed through the server node.

10. A resource scheduling system for BIM model parsing and visualization, used to implement the method according to any one of claims 1 to 9, characterized in that: include: The client side is used to select a project and create a new model version under the project or select an existing model version for uploading, generate a model parsing request or a model visualization request or a parsing progress acquisition request or a model version status query request, and render the data obtained from the server side into a visual model; The server side includes a service registration center and several server nodes, which are used to schedule server nodes according to the model service requests of the user side, as well as model management, analysis, storage and visualization processing, and feedback data to the user side; it is also used to generate and maintain server mapping relationships based on the project ID and the allocation between each server node.

11. The resource scheduling system for BIM model parsing and visualization according to claim 10, characterized in that: The server mapping relationship includes a project ID and server node ID mapping table, and a server node information table, and the server node information table is used to store the server node ID and the corresponding server IP.

12. The resource scheduling system for BIM model parsing and visualization according to claim 10, characterized in that: On the server side, for server nodes under the same service registration center, server nodes with the same registered service name at startup form a cluster; for newly added server nodes, they are added to the cluster when the service name is consistent with the service name of other nodes in the cluster.

Citation Information

Patent Citations

  • Security implementation method and device for collaborative design software, equipment and storage medium

    CN114629704A

  • BIM (Building Information Modeling) collaborative engine platform of real-time cloud computing architecture and implementation method

    CN114912050A

  • Load balancing method, device and equipment for recursive analysis node and medium

    CN117651047A

  • Data communications system and method

    WO2011124132A1

  • Distributed shared file system and data processing method thereof

    WO2022105048A1