CN113867773A - Real-time updating mechanism of building model data for illusion engine - Google Patents
Real-time updating mechanism of building model data for illusion engine Download PDFInfo
- Publication number
- CN113867773A CN113867773A CN202110947983.XA CN202110947983A CN113867773A CN 113867773 A CN113867773 A CN 113867773A CN 202110947983 A CN202110947983 A CN 202110947983A CN 113867773 A CN113867773 A CN 113867773A
- Authority
- CN
- China
- Prior art keywords
- model
- data
- building
- real
- updated
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000007246 mechanism Effects 0.000 title claims abstract description 16
- 239000000463 material Substances 0.000 claims description 5
- 238000000034 method Methods 0.000 description 11
- 230000008569 process Effects 0.000 description 5
- 230000004075 alteration Effects 0.000 description 1
- 230000003321 amplification Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 239000000725 suspension Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
- G06F8/658—Incremental updates; Differential updates
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/26—Special purpose or proprietary protocols or architectures
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computing Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a real-time updating mechanism of building model data for an illusion engine, which comprises the following steps: establishing a model base in UE; establishing a project template according to each model of the model library; the remote building model data configuration module configures parameter information of each model prefabricated in a model base and stores configuration result data into a terminal database; comparing the result data with original data in the parameterized building model database to obtain updated data; the UE subscribes the message through the MQTT protocol, acquires updated result data which needs to be updated to the three-dimensional scene, and stores the updated result data to a parameterized building model database; and the building model data real-time updating module loads each model corresponding to the updated result data into the three-dimensional scene. The invention can provide real-time and reliable message service for connecting remote equipment by using few codes and limited bandwidth through the MQTT protocol.
Description
Technical Field
The invention relates to the technical field of unreal engines, in particular to a building model data real-time updating mechanism for a unreal engine.
Background
Based on the existing basic functions of the illusion engine (hereinafter referred to as "UE"), there is no existing real-time updating mechanism for UE and building model data.
The existing updating of the UE and the building model data is performed by acquiring data through an HTTP (hyper text transport protocol) reading interface, and the whole complete model data can be updated at one time in the mode. However, such a data updating method is a non-real-time data updating method of active query, and the data volume of the complete model data obtained at one time is very large, and it takes a certain time to analyze the data, so that the method is suitable for being used in the model data loading process at the beginning stage of program operation.
Disclosure of Invention
According to the embodiment of the invention, a real-time updating mechanism of building model data facing to an illusion engine is provided, which comprises the following steps:
establishing a model base in UE;
establishing a project template according to each model of the model library, wherein the template comprises: the system comprises a parameterized building model database, a building model material library, a remote building model data configuration module, an MQTT protocol module and a building model data real-time updating module;
the remote building model data configuration module configures parameter information of each model prefabricated in a model base and stores configuration result data into a terminal database;
comparing the result data with original data in the parameterized building model database to obtain updated data;
the UE subscribes the message through the MQTT protocol, acquires updated result data which needs to be updated to the three-dimensional scene, and stores the updated result data to a parameterized building model database;
and the building model data real-time updating module loads each model corresponding to the updated result data into the three-dimensional scene.
Further, establishing a model base in the UE specifically includes: and modeling a model in a model base needed to be used in the UE by using a modeling tool, importing the modeled model into the UE, and establishing the model base.
Further, the parameter information of each model in the model library includes: position coordinates, rotation, scaling, attribute data.
Furthermore, when the remote building model data configuration module configures the parameter information of each model prefabricated in the model base, a trigger event can be configured for each model in the model base.
Further, the triggering event includes: clicking to highlight and suspending and zooming.
According to the unreal engine-oriented architecture model data real-time updating mechanism disclosed by the embodiment of the invention, through an MQTT protocol, a real-time reliable message service can be provided for connecting remote equipment with few codes and limited bandwidth, and data can be updated in real time in a low-bandwidth and unreliable network. The mode of updating the building model data in an incremental mode is adopted, the data size required by updating is smaller than that of the mode of acquiring the model data information of the whole building at one time, resources are saved, and the cost for analyzing the building model data is saved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and are intended to provide further explanation of the claimed technology.
Drawings
Fig. 1 is a flowchart of a real-time architecture model data update mechanism for an illusion engine according to an embodiment of the invention.
Detailed Description
The present invention will be further explained by describing preferred embodiments of the present invention in detail with reference to the accompanying drawings.
First, a phantom engine-oriented architecture model data real-time updating mechanism for providing real-time reliable information for a remote device according to an embodiment of the present invention will be described with reference to fig. 1, which has a wide application range.
As shown in fig. 1, the mechanism for updating building model data in real time for an illusion engine according to an embodiment of the present invention includes the following steps:
in S1, as shown in fig. 1, a model base is established in the UE, and in this embodiment, the establishing of the model base in the UE specifically includes: modeling models in a model base needed to be used in the UE by using modeling tools such as 3Ds Max, Maya and the like, importing the models which are modeled into the UE by using a Datasmith tool, and establishing the model base.
At S2, as shown in fig. 1, a project template is created from each model of the model library, the template including: the system comprises a parameterized building model database, a building model material library, a remote building model data configuration module, an MQTT protocol module and a building model data real-time updating module.
In S3, as shown in fig. 1, the remote building model data configuration module configures parameter information such as position coordinates, rotation, scaling, and attribute data of each model prefabricated in the model library, configures trigger events such as click highlighting, floating scaling, and the like for each model in the model library, stores configured result data in the terminal database, binds the trigger event type required by the model and the content required to be displayed after triggering after completing the attribute configuration, and stores the configuration result in the terminal database in a configuration data table in JSON format.
At S4, as shown in fig. 1, comparing the result data with the original data in the parameterized building model database to obtain updated data;
in S5, as shown in fig. 1, a blueprint script is created in the UE, the UE subscribes to the message through the MQTT protocol, acquires updated result data that needs to be updated into the three-dimensional scene, and stores the updated result data into the parameterized building model database.
At S6, the building model data real-time update module loads each model corresponding to the updated result data into the three-dimensional scene, as shown in fig. 1. In this embodiment, when the UE program runs, the module is updated in real time by using the building model data, and the module dynamically loads the model from the model library according to the model configuration data table during running, and attaches the corresponding material to the model from the building model material library, so that the attributes such as the position, the size, the rotation, and the like of the model can be matched with the model scene, if the model has a trigger event, the model is bound to the corresponding model according to the model trigger event, so that the model can respond to events such as mouse suspension, click, and the like, and generate the effects such as amplification, highlight, and the like on the model, and can pop up the attribute information panel corresponding to the model. The whole process of updating the building model data facing the UE in real time is completed.
In the above, the architecture model data real-time updating mechanism facing the illusion engine according to the embodiment of the invention is described with reference to fig. 1, and by using the MQTT protocol, a real-time reliable message service can be provided for a connection remote device with few codes and limited bandwidth, and data can be updated in real time in a low-bandwidth and unreliable network. The mode of updating the building model data in an incremental mode is adopted, the data size required by updating is smaller than that of the mode of acquiring the model data information of the whole building at one time, resources are saved, and the cost for analyzing the building model data is saved.
It should be noted that, in the present specification, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
While the present invention has been described in detail with reference to the preferred embodiments, it should be understood that the above description should not be taken as limiting the invention. Various modifications and alterations to this invention will become apparent to those skilled in the art upon reading the foregoing description. Accordingly, the scope of the invention should be determined from the following claims.
Claims (5)
1. A real-time updating mechanism of building model data facing to an illusion engine is characterized by comprising the following steps:
establishing a model base in UE;
establishing a project template according to each model of the model library, wherein the template comprises: the system comprises a parameterized building model database, a building model material library, a remote building model data configuration module, an MQTT protocol module and a building model data real-time updating module;
the remote building model data configuration module configures parameter information of each model prefabricated in the model base and stores the configured result data into a terminal database;
comparing the result data with original data in the parameterized building model database to obtain updated data;
the UE subscribes a message through an MQTT protocol, acquires the updated result data which needs to be updated to the three-dimensional scene, and stores the updated result data to the parameterized building model database;
and the building model data real-time updating module loads each model corresponding to the updated result data into the three-dimensional scene.
2. The illusion-engine-oriented architecture model data real-time updating mechanism of claim 1, wherein the building of the model base in the UE is specifically: and modeling a model in a model base needed to be used in the UE by using a modeling tool, importing the modeled model into the UE, and establishing the model base.
3. A phantom engine oriented architecture model data real-time update mechanism according to claim 1, wherein the parameter information of each model of said model library comprises: position coordinates, rotation, scaling, attribute data.
4. A phantom engine oriented architecture model data real-time update mechanism according to claim 1, wherein trigger events are configurable for each model of said model base when said remote architecture model data configuration module configures parameter information for each model pre-fabricated in said model base.
5. A phantom engine oriented architecture model data real-time update mechanism according to claim 4, wherein said triggering event comprises: clicking to highlight and suspending and zooming.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110947983.XA CN113867773A (en) | 2021-08-18 | 2021-08-18 | Real-time updating mechanism of building model data for illusion engine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110947983.XA CN113867773A (en) | 2021-08-18 | 2021-08-18 | Real-time updating mechanism of building model data for illusion engine |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113867773A true CN113867773A (en) | 2021-12-31 |
Family
ID=78990642
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110947983.XA Pending CN113867773A (en) | 2021-08-18 | 2021-08-18 | Real-time updating mechanism of building model data for illusion engine |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113867773A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115576952A (en) * | 2022-11-14 | 2023-01-06 | 润芯微科技(江苏)有限公司 | Method for realizing vehicle-mounted android platform communication structure based on Unreal |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105006017A (en) * | 2015-07-01 | 2015-10-28 | 国家电网公司 | Simulation method for generating three-dimensional scene based on Unity dynamic technology |
CN112465981A (en) * | 2020-12-30 | 2021-03-09 | 华建数创(上海)科技有限公司 | Method for automatically modeling by utilizing BIM data based on UE4 |
WO2021114479A1 (en) * | 2019-12-11 | 2021-06-17 | 清华大学 | Three-dimensional display system and method for sound control building information model |
CN113177093A (en) * | 2021-05-24 | 2021-07-27 | 商汤国际私人有限公司 | Data synchronization method and device, electronic equipment and storage medium |
-
2021
- 2021-08-18 CN CN202110947983.XA patent/CN113867773A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105006017A (en) * | 2015-07-01 | 2015-10-28 | 国家电网公司 | Simulation method for generating three-dimensional scene based on Unity dynamic technology |
WO2021114479A1 (en) * | 2019-12-11 | 2021-06-17 | 清华大学 | Three-dimensional display system and method for sound control building information model |
CN112465981A (en) * | 2020-12-30 | 2021-03-09 | 华建数创(上海)科技有限公司 | Method for automatically modeling by utilizing BIM data based on UE4 |
CN113177093A (en) * | 2021-05-24 | 2021-07-27 | 商汤国际私人有限公司 | Data synchronization method and device, electronic equipment and storage medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115576952A (en) * | 2022-11-14 | 2023-01-06 | 润芯微科技(江苏)有限公司 | Method for realizing vehicle-mounted android platform communication structure based on Unreal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110795148B (en) | Method and device for generating layout file and electronic equipment | |
CN109460232B (en) | Method for manufacturing and monitoring configuration page | |
CN108984895B (en) | Model automatic identification method based on XML heterogeneous platform | |
DE60108158T2 (en) | ONLINE DEVELOPMENT OF APPLICATIONS | |
CN104321768B (en) | For executing application to consult the method and system of addressable content and service by browsing telecommunication network | |
Milenkovic | Internet of Things: Concepts and System Design | |
CN101185303A (en) | System and method for creating a mapping document for binding messages between an application and an associated backend server | |
WO2006086582A2 (en) | Systems and method for deploying a software application on a wireless device | |
CN106844453B (en) | Electronic file format conversion method | |
US20130339787A1 (en) | Systematic failure remediation | |
CN111506942A (en) | Model data processing method, device, equipment and computer storage medium | |
CN112465981A (en) | Method for automatically modeling by utilizing BIM data based on UE4 | |
CN114270282A (en) | System for generating an integral digital twin | |
CN113867773A (en) | Real-time updating mechanism of building model data for illusion engine | |
WO2020220891A1 (en) | Method and apparatus for generating configuration file of site in internet of things system | |
CN113408572A (en) | Unreal engine-based data model fusion method capable of being configured remotely | |
CN114443294B (en) | Big data service component deployment method, system, terminal and storage medium | |
CN114185795A (en) | Embedded point configuration method and device, electronic equipment and storage medium | |
CN117762865A (en) | Data lake entering method and system of big data platform | |
CN115129574A (en) | Code testing method and device | |
CN115587517B (en) | Intelligent design system for electromechanical equipment number based on cloud computing | |
CN109062548B (en) | Web service expansion method and system based on workflow construction | |
CN115185960A (en) | Data processing method, data association system, and computer-readable storage medium | |
CN113919030A (en) | BIM and Web 3D-based transformer substation three-dimensional model design intersection method | |
CN113407598A (en) | Method and device for generating demand document, storage medium and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |