A method and system for establishing a metaverse scene based on BIM

By determining the video stream data of the improved model and its subject model in the BIM drawing data, and performing visual consistency judgment and rendering optimization in the metaverse scene, the problems of improved model positioning inaccurate and rendering distortion are solved, and the metaverse is improved The visual effect of the scene.

CN118842964BActive Publication Date: 2024-11-26HUNAN VISUAL ALBERT INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411313823.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-20
Publication Date
2024-11-26
Estimated Expiration
2044-09-20

AI Technical Summary

Technical Problem

In metacosmic scenarios built on BIM, newly added and improved models often face problems of inaccurate positioning and rendering distortion, resulting in reduced visual consistency and sense of reality.

Method used

By determining the improved model and its main model based on the current version of BIM drawing data, visualization processing is performed, video stream data is obtained, metaverse scenes are connected, visual scene consistency is judged, and the rendering effect of the improved model is optimized during the rendering process, using video The streaming data is compared and corrected frame by frame.

Benefits of technology

This has achieved the accurate positioning and optimized rendering of the model in metacosmic scenes, improved the visual effect, and reduced the risks of positioning inaccurate and rendering distortion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118842964B_ABST
    Figure CN118842964B_ABST
Patent Text Reader

Abstract

The present invention is applicable to the technical field of establishing a metaverse scene, and provides a BIM-based metaverse scene establishment method and system, by determining an improved model and a main model attached to the improved model based on the current version of BIM drawing data, and respectively visualizing the main model and the combination of the main model and the improved model, to obtain first visualization model video stream data and second visualization model video stream data. In a metaverse scene constructed based on BIM, when a new improved model is needed, the local metaverse scene where the improved model needs to be rendered can be accurately located in the metaverse scene, and when the improved model is rendered into the metaverse scene, the rendering process can be optimized by comparing the BIM video and the rendering process video, so as to enhance the visual effect of the improved model in the local metaverse scene and reduce the risk of inaccurate positioning of the improved model and rendering distortion.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of establishing a metaverse scene, and in particular, relates to a BIM-based metaverse scene establishment method and system. Background Art

[0002] With the popularization of Building Information Modeling (BIM) in the construction industry, its role as a core tool for integrated design, construction and management has become increasingly prominent. Building metaverse scenes based on BIM drawing data and transforming buildings and facilities into virtual entities has brought new prospects for digital and virtual applications to the construction industry.

[0003] In the prior art, when introducing a new improved model in a metaverse scene built based on BIM, there are often challenges of inaccurate positioning and rendering distortion of the improved model, which will lead to reduced visual consistency and realism in the metaverse scene. In this regard, the present invention provides a BIM-based metaverse scene establishment method and system to solve the above technical problems. Summary of the invention

[0004] The purpose of the present invention is to provide a BIM-based metaverse scene establishment method and system, aiming to solve the problems raised in the background technology.

[0005] The present invention is implemented as follows: a method for establishing a metaverse scene based on BIM, the method comprising:

[0006] Determine the improved model and the main model attached to the improved model based on the current version of the BIM drawing data, and respectively visualize the main model and the combination of the main model and the improved model to obtain first visualization model video stream data and second visualization model video stream data;

[0007] Access and browse the metaverse scene, and determine whether there is a visual scene in the metaverse scene that is the same as the first visualization model video stream data;

[0008] When it is determined that there is a visual scene identical to the first visualization model video stream data in the metaverse scene, determining the visual scene as a target metaverse scene corresponding to the subject model to which the improved model is attached;

[0009] The improved model is rendered into the target metaverse scene, and during the rendering process, the rendering effect of the improved model in the target metaverse scene is optimized according to the second visualization model video stream data.

[0010] As a further limitation of the technical solution of the embodiment of the present invention, the steps of determining the improved model and the main model attached to the improved model based on the current version of the BIM drawing data, and respectively visualizing the main model and the combination of the main model and the improved model to obtain the first visualization model video stream data and the second visualization model video stream data include:

[0011] Obtain the previous version of BIM drawing data that is closest to the current version, and compare the two versions of BIM drawing data to determine the differences;

[0012] The differences between the two versions of BIM data are determined as improved models, and after the improved models are determined, the main model attached to the improved models is found in the current version of BIM drawing data;

[0013] The main model and the combination of the main model and the improved model are respectively visualized to obtain first visualization model video stream data and second visualization model video stream data.

[0014] As a further limitation of the technical solution of the embodiment of the present invention, when visualizing the combination of the improved model and the main model and the main model respectively, all display surfaces of the combination of the main model and the improved model and the main model should be included, and these display surfaces include uncovered display surfaces and display surfaces covered by other models.

[0015] As a further limitation of the technical solution of the embodiment of the present invention, the steps of accessing and browsing the metaverse scene, and determining whether there is a visual scene in the metaverse scene that is the same as the first visualization model video stream data include:

[0016] Obtain the Metaverse platform corresponding to the current version of BIM drawing data, and access the Metaverse scene based on the Metaverse platform;

[0017] After accessing the Metaverse scene, browse all areas in the Metaverse scene step by step;

[0018] During the browsing process, it is determined from the perspective of visual analysis whether there is a visual scene in the metaverse scene that is identical to the first visualization model video stream data.

[0019] As a further limitation of the technical solution of the embodiment of the present invention, the improved model is rendered into the target metaverse scene, and during the rendering process, the step of optimizing the rendering effect of the improved model in the target metaverse scene according to the second visualization model video stream data includes:

[0020] After determining the target metaverse scene corresponding to the main model to which the improved model is attached, rendering the improved model into the target metaverse scene;

[0021] During the rendering process, the entire rendering process is visualized, and it is ensured that the rendering duration is consistent with the duration of the second visualization model video stream data, so as to obtain the visualization video stream data of the rendering process;

[0022] Compare the second visualization model video stream data and the rendering process visualization video stream data frame by frame, and optimize and improve the rendering effect of the model in the target metaverse scene.

[0023] As a further limitation of the technical solution of the embodiment of the present invention, the step of comparing the second visualization model video stream data and the rendering process visualization video stream data frame by frame, and optimizing and improving the rendering effect of the model in the target metaverse scene includes:

[0024] When comparing the second visualization model video stream data and the rendering process visualization video stream data frame by frame, determining whether there is an abnormal frame-by-frame image in the rendering process visualization video stream data that is different from the second visualization model video stream data;

[0025] If it is determined that there are abnormal frame-by-frame images in the visualization video stream data of the rendering process that are different from the second visualization model video stream data, the abnormal frame-by-frame images are corrected based on the second visualization model video stream data, and the correction steps are recorded;

[0026] Determine the local rendering process corresponding to the abnormal frame-by-frame image, and adjust the local rendering process according to the correction steps to optimize the rendering effect of the improved model in the target metaverse scene.

[0027] A BIM-based metaverse scene establishment system, the system comprising: a visualization model video stream data acquisition module, a metaverse scene browsing module, a target metaverse scene determination module and an improved model optimization module, wherein:

[0028] A visualization model video stream data acquisition module is used to determine the improved model and the main model attached to the improved model based on the current version of the BIM drawing data, and to visualize the main model and the combination of the main model and the improved model to obtain the first visualization model video stream data and the second visualization model video stream data;

[0029] A metaverse scene browsing module, used to access and browse the metaverse scene, and determine whether there is a visual scene in the metaverse scene that is the same as the first visualization model video stream data;

[0030] A target metaverse scene determination module is used to determine, when it is determined that there is a visual scene identical to the first visualization model video stream data in the metaverse scene, that the visual scene is a target metaverse scene corresponding to the subject model attached to the improved model;

[0031] The improved model optimization module is used to render the improved model into the target metaverse scene, and during the rendering process, optimize the rendering effect of the improved model in the target metaverse scene according to the second visualization model video stream data.

[0032] As a further limitation of the technical solution of the embodiment of the present invention, the visualization model video stream data acquisition module specifically includes:

[0033] A data comparison unit is used to obtain the BIM drawing data of a previous version that is closest to the current version, and compare the two versions of the BIM drawing data to determine the differences;

[0034] The model determination unit is used to determine the differences between the two versions of BIM data as an improved model, and after determining the improved model, find the main model attached to the improved model in the current version of BIM drawing data;

[0035] A visualization model video stream data acquisition unit is used to respectively perform visualization processing on the main model and the combination of the main model and the improved model to obtain first visualization model video stream data and second visualization model video stream data;

[0036] When visualizing the combination of the improved model and the main model and the main model respectively, all display surfaces of the combination of the main model and the improved model and the main model should be included, and these display surfaces include uncovered display surfaces and display surfaces covered by other models.

[0037] As a further limitation of the technical solution of the embodiment of the present invention, the metaverse scene browsing module specifically includes:

[0038] The Metaverse scene access unit is used to obtain the Metaverse platform corresponding to the current version of the BIM drawing data, and access the Metaverse scene based on the Metaverse platform;

[0039] A metaverse scene browsing unit, used to browse all areas in the metaverse scene step by step after accessing the metaverse scene;

[0040] The visual scene determination unit is used to determine whether there is a visual scene in the metaverse scene that is the same as the first visualization model video stream data based on the perspective of visual analysis during the browsing process.

[0041] As a further limitation of the technical solution of the embodiment of the present invention, the improved model optimization module specifically includes:

[0042] An improved model rendering unit, for rendering the improved model into the target metaverse scene after determining the target metaverse scene corresponding to the main model to which the improved model is attached;

[0043] A rendering process visualization video stream data obtaining unit is used to visualize the entire rendering process during the rendering process, and ensure that the rendering duration is consistent with the duration of the second visualization model video stream data, so as to obtain the rendering process visualization video stream data;

[0044] The improved model optimization unit is used to compare the second visualization model video stream data and the rendering process visualization video stream data frame by frame, and optimize the rendering effect of the improved model in the target metaverse scene.

[0045] Compared with the prior art, the present invention determines the improved model and the main model attached to the improved model based on the current version of BIM drawing data, and visualizes the main model and the combination of the main model and the improved model respectively to obtain the first visualization model video stream data and the second visualization model video stream data; accesses and browses the metaverse scene, and determines whether there is a visual scene in the metaverse scene that is the same as the first visualization model video stream data; when it is determined that there is a visual scene in the metaverse scene that is the same as the first visualization model video stream data, determines that the visual scene is the target metaverse scene corresponding to the main model attached to the improved model; renders the improved model into the target metaverse scene, and during the rendering process, optimizes the rendering effect of the improved model in the target metaverse scene according to the second visualization model video stream data. In a metaverse scene built based on BIM, when a new improved model is needed, the local metaverse scene where the improved model needs to be rendered can be accurately located in the metaverse scene. When rendering the improved model into the metaverse scene, the rendering process can be optimized by comparing the BIM video and the rendering process video to enhance the visual effect of the improved model in the local metaverse scene and reduce the risk of inaccurate positioning of the improved model and rendering distortion. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 A flowchart of a method provided by an embodiment of the present invention;

[0047] Figure 2 A flowchart of generating first visualization model video stream data and second visualization model video stream data in the method provided in an embodiment of the present invention;

[0048] Figure 3 A flowchart for determining whether there is a visual scene identical to the first visualization model video stream data in the metaverse scene in the method provided by an embodiment of the present invention;

[0049] Figure 4 A flowchart of generating visual video stream data of a rendering process in a method provided by an embodiment of the present invention;

[0050] Figure 5A flowchart of optimizing and improving the rendering effect of the model in the target metaverse scene in the method provided in an embodiment of the present invention;

[0051] Figure 6 An application architecture diagram of a system provided by an embodiment of the present invention;

[0052] Figure 7 A structural block diagram of a visualization model video stream data acquisition module in a system provided by an embodiment of the present invention;

[0053] Figure 8 A structural block diagram of a metaverse scene browsing module in a system provided in an embodiment of the present invention;

[0054] Fig. 9 A structural block diagram of an improved model optimization module in the system provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0055] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0056] It is understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but unless otherwise specified, these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of this application, a first xx script may be referred to as a second xx script, and similarly, a second xx script may be referred to as a first xx script.

[0057] Figure 1 A flow chart of a method provided by an embodiment of the present invention is shown.

[0058] Specifically, a method for establishing a metaverse scene based on BIM includes the following steps:

[0059] Step S100, based on the current version of BIM drawing data, determine the improved model and the main model attached to the improved model, and visualize the main model and the combination of the main model and the improved model to obtain the first visualization model video stream data and the second visualization model video stream data.

[0060] Specifically, Figure 2 A flowchart for generating first visualization model video stream data and second visualization model video stream data is shown.

[0061] The process of determining the improved model and the main model attached to the improved model based on the current version of the BIM drawing data, and respectively visualizing the main model and the combination of the main model and the improved model to obtain the first visualization model video stream data and the second visualization model video stream data specifically includes the following steps:

[0062] Step S101, obtaining the BIM drawing data of a previous version closest to the current version, and comparing the two versions of the BIM drawing data to determine the differences;

[0063] Step S102, determining the difference between the two versions of BIM data as an improved model, and after determining the improved model, finding the main model attached to the improved model in the current version of BIM drawing data;

[0064] Step S103, respectively visualizing the main model and the combination of the main model and the improved model to obtain first visualization model video stream data and second visualization model video stream data.

[0065] When visualizing the combination of the improved model and the main model and the main model respectively, all display surfaces of the combination of the main model and the improved model and the main model should be included, and these display surfaces include uncovered display surfaces and display surfaces covered by other models.

[0066] In the embodiment of the present invention, the object of application of the present application is BIM drawing data to which a new model (improved model) is added.

[0067] When visualizing the main model and the combination of the main model and the improved model, built-in tools of BIM software in the prior art can be used: such as Autodesk Revit, Autodesk Navisworks, etc. These software provide built-in rendering and animation functions, which can directly convert BIM models into videos;

[0068] It is understandable that, during the visualization process, all display surfaces of the main model and the combination of the main model and the improved model should be captured. Even if part of the display surface is blocked by other models, it can be represented by a perspective shadow image.

[0069] Furthermore, the BIM-based metaverse scene establishment method further includes the following steps:

[0070] Step S200, accessing and browsing the metaverse scene, and determining whether there is a visual scene in the metaverse scene that is identical to the first visualization model video stream data;

[0071] Step S300, when it is determined that there is a visual scene identical to the first visualization model video stream data in the metaverse scene, the visual scene is determined to be a target metaverse scene corresponding to the main model attached to the improved model.

[0072] Specifically, Figure 3 A flowchart is shown for determining whether there is a visual scene in the metaverse scene that is identical to the first visualization model video stream data.

[0073] Among them, accessing and browsing the metaverse scene, and determining whether there is a visual scene in the metaverse scene that is the same as the first visualization model video stream data specifically includes the following steps:

[0074] Step S201, obtaining the Metaverse platform corresponding to the current version of BIM drawing data, and accessing the Metaverse scene based on the Metaverse platform;

[0075] Step S202, after accessing the Metaverse scene, browse all areas in the Metaverse scene step by step;

[0076] Step S203: During the browsing process, it is determined based on the perspective of visual analysis whether there is a visual scene in the metaverse scene that is identical to the first visualization model video stream data.

[0077] In an embodiment of the present invention, when browsing a metaverse scene, it is possible to determine whether there is a visual scene in the metaverse scene that is identical to the first visualization model video stream data based on visual analysis. The above-mentioned visual analysis technology may use deep learning models such as convolutional neural networks (CNN) or recurrent neural networks (RNN). The model may be trained to identify and compare features of video scenes to determine whether they are similar or exactly the same.

[0078] Furthermore, the BIM-based metaverse scene establishment method further includes the following steps:

[0079] Step S400, rendering the improved model into the target metaverse scene, and during the rendering process, optimizing the rendering effect of the improved model in the target metaverse scene according to the second visualization model video stream data.

[0080] Specifically, Figure 4 A flowchart for generating rendering process visualization video stream data is shown.

[0081] The improved model is rendered into the target metaverse scene, and during the rendering process, according to the second visualization model video stream data, the rendering effect of the improved model in the target metaverse scene is optimized, specifically including the following steps:

[0082] Step S401, after determining the target metaverse scene corresponding to the main model to which the improved model is attached, rendering the improved model into the target metaverse scene;

[0083] Step S402, during the rendering process, the entire rendering process is visualized, and the duration of the rendering is ensured to be consistent with the duration of the second visualization model video stream data, so as to obtain the visualization video stream data of the rendering process;

[0084] Step S403, comparing the second visualization model video stream data and the rendering process visualization video stream data frame by frame, and optimizing and improving the rendering effect of the model in the target metaverse scene.

[0085] Specifically, Figure 5 A flowchart is shown for optimizing and improving the rendering effect of the model in the target metaverse scene.

[0086] Among them, comparing the second visualization model video stream data and the rendering process visualization video stream data frame by frame, and optimizing and improving the rendering effect of the model in the target metaverse scene specifically includes the following steps:

[0087] Step S4031, when comparing the second visualization model video stream data and the rendering process visualization video stream data frame by frame, determining whether there is an abnormal frame-by-frame image in the rendering process visualization video stream data that is different from the second visualization model video stream data;

[0088] Step S4032, if it is determined that there are abnormal frame-by-frame images different from the second visualization model video stream data in the rendering process visualization video stream data, the abnormal frame-by-frame images are corrected based on the second visualization model video stream data, and the correction steps are recorded;

[0089] Step S4033, determine the local rendering process corresponding to the abnormal frame-by-frame image, and adjust the local rendering process according to the correction step to optimize the rendering effect of the improved model in the target metaverse scene.

[0090] In an embodiment of the present invention, in the process of rendering the improved model into the target metaverse scene, the entire process is visualized from the very beginning, and after obtaining the visualized video stream data of the entire process, the recording duration and frame number of the visualized video stream data should be sorted out to obtain the visualized video stream data of the rendering process, and it should be ensured that the recording duration of the visualized video stream data of the rendering process is consistent with the duration of the second visualized model video stream data, and each frame image of the visualized video stream data of the rendering process and the second visualized model video stream data corresponds to each other.

[0091] When comparing the second visualization model video stream data and the rendering process visualization video stream data frame by frame, a hash algorithm or video fingerprint technology in the prior art may be used.

[0092] When adjusting the local rendering process according to the correction steps to optimize the rendering effect of the model in the target metaverse scene, computer vision and image processing technology can be used to extract and analyze the features in the image, and then map it to the three-dimensional model for adjustment. Specifically, image processing software such as OpenCV can be used to extract features, detect edges, and analyze colors on the image to provide quantitative and qualitative basis for model adjustment.

[0093] Through the above technical solution, in the metaverse scene built based on BIM, when a new improved model is needed, the local metaverse scene where the improved model needs to be rendered can be accurately located in the metaverse scene, and when the improved model is rendered into the metaverse scene, the rendering process can be optimized by comparing the BIM video and the rendering process video, so as to enhance the visual effect of the improved model in the local metaverse scene and reduce the risk of inaccurate positioning of the improved model and rendering distortion.

[0094] Furthermore, Figure 6 The application architecture diagram of the system provided by the embodiment of the present invention is shown.

[0095] Among them, in another preferred embodiment provided by the present invention, a BIM-based metaverse scene establishment system includes:

[0096] The visualization model video stream data acquisition module 100 is used to determine the improved model and the main model attached to the improved model based on the current version of the BIM drawing data, and visualize the main model and the combination of the main model and the improved model to obtain the first visualization model video stream data and the second visualization model video stream data.

[0097] Specifically, Figure 7 It shows a structural block diagram of the visualization model video stream data acquisition module 100 in the system provided by an embodiment of the present invention.

[0098] Among them, in the preferred embodiment provided by the present invention, the visualization model video stream data acquisition module 100 specifically includes:

[0099] The data comparison unit 101 is used to obtain the BIM drawing data of the previous version closest to the current version, and compare the two versions of the BIM drawing data to determine the differences;

[0100] The model determination unit 102 is used to determine the difference between the two versions of BIM data as an improved model, and after determining the improved model, find the main model attached to the improved model in the current version of BIM drawing data;

[0101] The visualization model video stream data acquisition unit 103 is used to respectively perform visualization processing on the main model and the combination of the main model and the improved model to obtain first visualization model video stream data and second visualization model video stream data;

[0102] When visualizing the combination of the improved model and the main model and the main model respectively, all display surfaces of the combination of the main model and the improved model and the main model should be included, and these display surfaces include uncovered display surfaces and display surfaces covered by other models.

[0103] In the embodiment of the present invention, the object of application of the present application is BIM drawing data to which a new model (improved model) is added.

[0104] When visualizing the main model and the combination of the main model and the improved model, built-in tools of BIM software in the prior art can be used: such as Autodesk Revit, Autodesk Navisworks, etc. These software provide built-in rendering and animation functions, which can directly convert BIM models into videos;

[0105] It is understandable that, during the visualization process, all display surfaces of the main model and the combination of the main model and the improved model should be captured. Even if part of the display surface is blocked by other models, it can be represented by a perspective shadow image.

[0106] Furthermore, the BIM-based metaverse scene establishment system also includes:

[0107] The metaverse scene browsing module 200 is used to access and browse the metaverse scene, and determine whether there is a visual scene in the metaverse scene that is the same as the first visualization model video stream data;

[0108] The target metaverse scene determination module 300 is used to determine that when it is determined that there is a visual scene identical to the first visualization model video stream data in the metaverse scene, the visual scene is the target metaverse scene corresponding to the main model attached to the improved model.

[0109] Specifically, Figure 8 It shows a structural block diagram of the metaverse scene browsing module 200 in the system provided by an embodiment of the present invention.

[0110] Among them, in the preferred implementation mode provided by the present invention, the metaverse scene browsing module 200 specifically includes:

[0111] The Metaverse scene access unit 201 is used to obtain the Metaverse platform corresponding to the current version of the BIM drawing data, and access the Metaverse scene based on the Metaverse platform;

[0112] The metaverse scene browsing unit 202 is used to browse all areas in the metaverse scene step by step after accessing the metaverse scene;

[0113] The visual scene determination unit 203 is used to determine whether there is a visual scene in the metaverse scene that is the same as the first visualization model video stream data based on the perspective of visual analysis during the browsing process.

[0114] In an embodiment of the present invention, when browsing a metaverse scene, it is possible to determine whether there is a visual scene in the metaverse scene that is identical to the first visualization model video stream data based on visual analysis. The above-mentioned visual analysis technology may use deep learning models such as convolutional neural networks (CNN) or recurrent neural networks (RNN). The model may be trained to identify and compare features of video scenes to determine whether they are similar or exactly the same.

[0115] Furthermore, the BIM-based metaverse scene establishment system also includes:

[0116] The improved model optimization module 400 is used to render the improved model into the target metaverse scene, and during the rendering process, optimize the rendering effect of the improved model in the target metaverse scene according to the second visualization model video stream data.

[0117] Specifically, Fig. 9 It shows a structural block diagram of the improved model optimization module 400 in the system provided by the embodiment of the present invention.

[0118] Among them, in the preferred embodiment provided by the present invention, the improved model optimization module 400 specifically includes:

[0119] An improved model rendering unit 401 is used to render the improved model into the target metaverse scene after determining the target metaverse scene corresponding to the main model to which the improved model is attached;

[0120] The rendering process visualized video stream data obtaining unit 402 is used to visualize the entire rendering process during the rendering process, and ensure that the rendering duration is consistent with the duration of the second visualization model video stream data, so as to obtain the rendering process visualized video stream data;

[0121] The improved model optimization unit 403 is used to compare the second visualization model video stream data and the rendering process visualization video stream data frame by frame, and optimize the rendering effect of the improved model in the target metaverse scene.

[0122] In an embodiment of the present invention, in the process of rendering the improved model into the target metaverse scene, the entire process is visualized from the very beginning, and after obtaining the visualized video stream data of the entire process, the recording duration and frame number of the visualized video stream data should be sorted out to obtain the visualized video stream data of the rendering process, and it should be ensured that the recording duration of the visualized video stream data of the rendering process is consistent with the duration of the second visualized model video stream data, and each frame image of the visualized video stream data of the rendering process and the second visualized model video stream data corresponds to each other.

[0123] When comparing the second visualization model video stream data and the rendering process visualization video stream data frame by frame, a hash algorithm or video fingerprint technology in the prior art may be used.

[0124] When adjusting the local rendering process according to the correction steps to optimize the rendering effect of the model in the target metaverse scene, computer vision and image processing technology can be used to extract and analyze the features in the image, and then map it to the three-dimensional model for adjustment. Specifically, image processing software such as OpenCV can be used to extract features, detect edges, and analyze colors on the image to provide quantitative and qualitative basis for model adjustment.

[0125] Through the above technical solution, in the metaverse scene built based on BIM, when a new improved model is needed, the local metaverse scene where the improved model needs to be rendered can be accurately located in the metaverse scene, and when the improved model is rendered into the metaverse scene, the rendering process can be optimized by comparing the BIM video and the rendering process video, so as to enhance the visual effect of the improved model in the local metaverse scene and reduce the risk of inaccurate positioning of the improved model and rendering distortion.

[0126] It should be understood that, although each step in the flow chart of each embodiment of the present invention is shown in sequence according to the indication of the arrow, these steps are not necessarily performed in sequence according to the order indicated by the arrow. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be performed in other orders. Moreover, at least a portion of the steps in each embodiment may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these sub-steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a portion of other steps or sub-steps or stages of other steps.

[0127] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0128] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0129] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.

[0130] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for establishing a metaverse scene based on BIM, characterized in that: The method comprises: Determine the improved model and the main model attached to the improved model based on the current version of the BIM drawing data, and respectively visualize the main model and the combination of the main model and the improved model to obtain first visualization model video stream data and second visualization model video stream data; Access and browse the metaverse scene, and determine whether there is a visual scene in the metaverse scene that is the same as the first visualization model video stream data; When it is determined that there is a visual scene identical to the first visualization model video stream data in the metaverse scene, determining the visual scene as a target metaverse scene corresponding to the subject model to which the improved model is attached; Rendering the improved model into the target metaverse scene, and during the rendering process, optimizing the rendering effect of the improved model in the target metaverse scene according to the second visualization model video stream data; The improved model is rendered into the target metaverse scene, and during the rendering process, the step of optimizing the rendering effect of the improved model in the target metaverse scene according to the second visualization model video stream data includes: After determining the target metaverse scene corresponding to the main model to which the improved model is attached, rendering the improved model into the target metaverse scene; During the rendering process, the entire rendering process is visualized, and it is ensured that the rendering duration is consistent with the duration of the second visualization model video stream data, so as to obtain the visualization video stream data of the rendering process; Compare the second visualization model video stream data and the rendering process visualization video stream data frame by frame, and optimize and improve the rendering effect of the model in the target metaverse scene; The steps of comparing the second visualization model video stream data and the rendering process visualization video stream data frame by frame, and optimizing and improving the rendering effect of the model in the target metaverse scene include: When comparing the second visualization model video stream data and the rendering process visualization video stream data frame by frame, determining whether there is an abnormal frame-by-frame image in the rendering process visualization video stream data that is different from the second visualization model video stream data; If it is determined that there are abnormal frame-by-frame images in the visualization video stream data of the rendering process that are different from the second visualization model video stream data, the abnormal frame-by-frame images are corrected based on the second visualization model video stream data, and the correction steps are recorded; Determine the local rendering process corresponding to the abnormal frame-by-frame image, and adjust the local rendering process according to the correction steps to optimize the rendering effect of the improved model in the target metaverse scene.

2. The BIM-based metaverse scene establishment method according to claim 1, characterized in that: The steps of determining the improved model and the main model attached to the improved model based on the current version of BIM drawing data, and respectively visualizing the main model and the combination of the main model and the improved model to obtain the first visualization model video stream data and the second visualization model video stream data include: Obtain the previous version of BIM drawing data that is closest to the current version, and compare the two versions of BIM drawing data to determine the differences; The differences between the two versions of BIM data are determined as improved models, and after the improved models are determined, the main model attached to the improved models is found in the current version of BIM drawing data; The main model and the combination of the main model and the improved model are respectively visualized to obtain first visualization model video stream data and second visualization model video stream data.

3. The BIM-based metaverse scene establishment method according to claim 1, characterized in that: When visualizing the combination of the improved model and the main model and the main model respectively, all display surfaces of the combination of the main model and the improved model and the main model should be included, and these display surfaces include uncovered display surfaces and display surfaces covered by other models.

4. The BIM-based metaverse scene establishment method according to claim 1, characterized in that: The steps of accessing and browsing the metaverse scene, and determining whether there is a visual scene in the metaverse scene that is the same as the first visualization model video stream data include: Obtain the Metaverse platform corresponding to the current version of BIM drawing data, and access the Metaverse scene based on the Metaverse platform; After accessing the Metaverse scene, browse all areas of the Metaverse scene step by step; During the browsing process, it is determined from the perspective of visual analysis whether there is a visual scene in the metaverse scene that is identical to the first visualization model video stream data.

5. A BIM-based metaverse scene establishment system, characterized in that: The system comprises: a visualization model video stream data acquisition module, a metaverse scene browsing module, a target metaverse scene determination module and an improved model optimization module, wherein: A visualization model video stream data acquisition module is used to determine the improved model and the main model attached to the improved model based on the current version of the BIM drawing data, and to visualize the main model and the combination of the main model and the improved model to obtain the first visualization model video stream data and the second visualization model video stream data; A metaverse scene browsing module, used to access and browse the metaverse scene, and determine whether there is a visual scene in the metaverse scene that is the same as the first visualization model video stream data; A target metaverse scene determination module is used to determine, when it is determined that there is a visual scene identical to the first visualization model video stream data in the metaverse scene, that the visual scene is a target metaverse scene corresponding to the subject model attached to the improved model; An improved model optimization module, used for rendering the improved model into a target metaverse scene, and during the rendering process, optimizing the rendering effect of the improved model in the target metaverse scene according to the second visualization model video stream data; The improved model optimization module specifically includes: An improved model rendering unit, for rendering the improved model into the target metaverse scene after determining the target metaverse scene corresponding to the main model to which the improved model is attached; A rendering process visualization video stream data obtaining unit is used to visualize the entire rendering process during the rendering process, and ensure that the rendering duration is consistent with the duration of the second visualization model video stream data, so as to obtain the rendering process visualization video stream data; An improved model optimization unit, used for comparing the second visualization model video stream data and the rendering process visualization video stream data frame by frame, and optimizing the rendering effect of the improved model in the target metaverse scene; When comparing the second visualization model video stream data and the rendering process visualization video stream data frame by frame, determining whether there is an abnormal frame-by-frame image in the rendering process visualization video stream data that is different from the second visualization model video stream data; If it is determined that there are abnormal frame-by-frame images in the visualization video stream data of the rendering process that are different from the second visualization model video stream data, the abnormal frame-by-frame images are corrected based on the second visualization model video stream data, and the correction steps are recorded; Determine the local rendering process corresponding to the abnormal frame-by-frame image, and adjust the local rendering process according to the correction steps to optimize the rendering effect of the improved model in the target metaverse scene.

6. The BIM-based metaverse scene establishment system according to claim 5, characterized in that: The visualization model video stream data acquisition module specifically includes: A data comparison unit is used to obtain the BIM drawing data of a previous version that is closest to the current version, and compare the two versions of the BIM drawing data to determine the differences; The model determination unit is used to determine the differences between the two versions of BIM data as an improved model, and after determining the improved model, find the main model attached to the improved model in the current version of BIM drawing data; A visualization model video stream data acquisition unit is used to respectively perform visualization processing on the main model and the combination of the main model and the improved model to obtain first visualization model video stream data and second visualization model video stream data; When visualizing the combination of the improved model and the main model and the main model respectively, all display surfaces of the combination of the main model and the improved model and the main model should be included, and these display surfaces include uncovered display surfaces and display surfaces covered by other models.

7. The BIM-based metaverse scene establishment system according to claim 6, characterized in that: The metaverse scene browsing module specifically includes: The Metaverse scene access unit is used to obtain the Metaverse platform corresponding to the current version of the BIM drawing data, and access the Metaverse scene based on the Metaverse platform; A metaverse scene browsing unit, used to browse all areas in the metaverse scene step by step after accessing the metaverse scene; The visual scene determination unit is used to determine whether there is a visual scene in the metaverse scene that is the same as the first visualization model video stream data based on the perspective of visual analysis during the browsing process.