CN118094674A - Multi-platform synchronous model rendering method, device, chip and terminal - Google Patents

Multi-platform synchronous model rendering method, device, chip and terminal Download PDF

Info

Publication number
CN118094674A
CN118094674A CN202410119256.8A CN202410119256A CN118094674A CN 118094674 A CN118094674 A CN 118094674A CN 202410119256 A CN202410119256 A CN 202410119256A CN 118094674 A CN118094674 A CN 118094674A
Authority
CN
China
Prior art keywords
format
data
bim model
model data
client
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
Application number
CN202410119256.8A
Other languages
Chinese (zh)
Inventor
韩红剑
汪洋
郭圣博
胡永定
熊均苗
邢燕
袁鑫
张传志
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tongyan Shuzhi Technology Chongqing Co ltd
Original Assignee
Tongyan Shuzhi Technology Chongqing Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Tongyan Shuzhi Technology Chongqing Co ltd filed Critical Tongyan Shuzhi Technology Chongqing Co ltd
Priority to CN202410119256.8A priority Critical patent/CN118094674A/en
Publication of CN118094674A publication Critical patent/CN118094674A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a multi-platform synchronous model rendering method, a device, a chip and a terminal, wherein the multi-platform comprises a cloud server, a webpage end and a client end which are connected with the cloud server in a data way, and the method comprises the following steps: the cloud server stores BIM model data in an original format; converting the BIM model data in the original format into BIM model data in a first format, and sending the BIM model data to a webpage end through a data transmission interface; converting the BIM model data in the original format into BIM model data in a second format, and sending the BIM model data to a client through a data transmission interface; the definition of the data transmission interface comprises the steps of calling a graphic engine interface of a webpage end to process BIM model data in a first format and calling a graphic engine interface of a client end to process BIM model data in a second format. The invention can improve the platform development efficiency and reduce the operation and maintenance workload.

Description

Multi-platform synchronous model rendering method, device, chip and terminal
Technical Field
The invention relates to the technical field of BIM collaborative design, in particular to a multi-platform synchronous model rendering method, a device, a chip and a terminal.
Background
The multi-platform BIM online visualization technology can realize synchronous rendering of the webpage end and the client end, so that designers, constructors and other personnel can more intuitively know information such as appearance, structure, function and the like of a building when carrying out project discussion.
However, the existing multi-platform BIM online visualization technology realizes rendering aiming at a client and a webpage end respectively, reduces development efficiency and increases workload of daily operation and maintenance.
Disclosure of Invention
Based on the method, the device, the chip and the terminal for rendering the multi-platform synchronous model, provided by the invention, can improve the development efficiency and reduce the workload of daily operation and maintenance.
In a first aspect, a method for rendering a multi-platform synchronous model is provided, where the multi-platform includes a cloud server, a web page end and a client end that are connected with the cloud server in data, and the method for rendering the multi-platform synchronous model includes:
the cloud server stores BIM model data in an original format;
Converting the original format BIM model data into first format BIM model data, and sending the first format BIM model data to a webpage end through a data transmission interface;
Converting the BIM model data in the original format into BIM model data in a second format, and sending the BIM model data to a client through a data transmission interface;
The definition of the data transmission interface comprises the steps of calling a graphic engine interface of a webpage end to process the BIM model data in the first format and calling a graphic engine interface of a client end to process the BIM model data in the second format.
Optionally, the original format BIM model data, the first format BIM model data, and the second format BIM model data are BIM model data;
the BIM data comprises geometric data serving as a graphic engine rendering basis and non-geometric data used for realizing graphic engine rendering;
The definition of the data transmission interface comprises the steps of calling a graphic engine interface of a webpage end to process non-geometric data in BIM model data in a first format and calling a graphic engine interface of a client end to process non-geometric data in BIM model data in a second format; the definition of the data transmission interface further comprises model loading for processing the geometric data in the first format BIM model data and the geometric data in the second format BIM model data.
Optionally, before the graphic engine interface of the web page terminal is invoked to process the first format BIM model data and the graphic engine interface of the client terminal is invoked to process the second format BIM model data, the method further comprises:
setting a JavaScript library at a webpage end for processing call from a data transmission interface;
Instructions in the C/C++ or other languages are provided at the client for direct interaction with the graphics engine to handle calls from the data transfer interface.
Optionally, compressing the original format BIM model data into the first format BIM model data by data compression;
and converting the original-format BIM model data into the second-format BIM model data through client application online baking.
Optionally, when the first format BIM model data is modified based on the web page end or the second format BIM model data is modified based on the client, the cloud server receives the BIM model data variable quantity recorded and stored by the web page end or the client.
Optionally, when the first format BIM model data is operated based on the webpage end, calling a graphic engine interface of the webpage end through an interactive webpage; and calling a graphic engine interface of the client through an interactive webpage when the second format BIM model data is operated based on the client.
The second aspect provides a multi-platform synchronous model rendering method, where the multi-platform includes a cloud server and a K-class terminal connected with the cloud server in a data manner, and the multi-platform synchronous model rendering method includes:
the cloud server stores BIM model data in an original format;
converting the original format BIM model data into K-format BIM model data, and sending the K-format BIM model data to a K-type terminal through a data transmission interface; wherein, k= {1,2, 3..k };
The definition of the data transmission interface comprises the steps of calling a graphic engine interface of a first type terminal to process the BIM model data in the first format, and calling a graphic engine interface of a second type terminal to process the BIM model data in the second format until calling a graphic engine interface of a K type terminal to process the BIM model data in the K format.
The third aspect provides a multi-platform synchronous model rendering device, the multi-platform includes a cloud server, a web page end and a client end which are connected with the cloud server in a data manner, and the multi-platform synchronous model rendering device includes:
the original data uploading module is used for storing BIM model data in an original format;
The webpage end data conversion transmission module is used for converting the original format BIM model data into first format BIM model data and transmitting the first format BIM model data to the webpage end through the data transmission interface;
The client data conversion and transmission module is used for converting the original format BIM model data into second format BIM model data and transmitting the second format BIM model data to the client through a data transmission interface;
The definition of the data transmission interface comprises the steps of calling a graphic engine interface of a webpage end to process the BIM model data in the first format and calling a graphic engine interface of a client end to process the BIM model data in the second format.
In a fourth aspect, a chip is provided, comprising a first processor for calling and running a computer program from a first memory, such that a device on which the chip is mounted performs the steps of the multi-platform synchronous model rendering method as described above.
In a fifth aspect, a terminal is provided, comprising a second memory, a second processor and a computer program stored in the second memory and executable on the second processor, the second processor implementing the steps of the multi-platform synchronous model rendering method as introduced above when executing the computer program.
The multi-platform synchronous model rendering method, the device, the chip and the terminal realize double-end rendering based on one data transmission interface and can be expanded into multi-end rendering. In the application, each terminal can communicate with the cloud server when operating the BIM model, and real-time synchronous modification is performed. In the early design, compared with independent development aiming at each terminal, such as development aiming at a webpage end and a client end respectively, the embodiment of the invention only carries out one-time development, simplifies development and maintenance work and saves resources.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a basic flow diagram of a multi-platform synchronous model rendering method according to an embodiment of the present invention;
FIG. 2 is a basic flow diagram of a multi-platform synchronous model rendering method according to an embodiment of the present invention;
FIG. 3 is a basic block diagram of a multi-platform synchronous model rendering device according to an embodiment of the present invention;
fig. 4 is a basic structural block diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to enable those skilled in the art to better understand the present invention, the following description will make clear and complete descriptions of the technical solutions according to the embodiments of the present invention with reference to the accompanying drawings.
In some of the flows described in the specification and claims of the present invention and in the foregoing figures, a plurality of operations occurring in a particular order are included, but it should be understood that the operations may be performed out of order or performed in parallel, with the order of operations such as 101, 102, etc., being merely used to distinguish between the various operations, the order of the operations themselves not representing any order of execution. In addition, the flows may include more or fewer operations, and the operations may be performed sequentially or in parallel. It should be noted that, the descriptions of "first" and "second" herein are used to distinguish different messages, devices, modules, etc., and do not represent a sequence, and are not limited to the "first" and the "second" being different types.
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by a person skilled in the art without any inventive effort, are intended to be within the scope of the present invention based on the embodiments of the present invention.
The embodiment of the application can acquire and process the related data based on the artificial intelligence technology. Among them, artificial intelligence (AI: ARTIFICIAL INTELLIGENCE) is a theory, method, technique, and application system that simulates, extends, and expands human intelligence using a digital computer or a machine controlled by a digital computer, perceives the environment, obtains knowledge, and uses the knowledge to obtain the best result.
Artificial intelligence infrastructure technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technologies, operation/interaction systems, mechatronics, and the like. The artificial intelligence software technology mainly comprises a computer vision technology, a robot technology, a biological recognition technology, a voice processing technology, a natural language processing technology, machine learning/deep learning and other directions.
Referring to fig. 1 in detail, fig. 1 is a basic flow chart of a multi-platform synchronous model rendering method according to the present embodiment. The multi-platform comprises a cloud server and at least one terminal, and in the embodiment of the invention, the terminal can be a webpage end and a client, and the webpage end and the client are respectively connected with the cloud server in a data mode. Based on this, as shown in fig. 1, a multi-platform synchronization model rendering method includes:
S101, the cloud server stores BIM model data in an original format.
In an embodiment of the invention, BIM (Building Information Modeling, building information model) model data is derived from a BIM model, including geometric data that underlies graphics engine rendering and non-geometric data for implementing graphics engine rendering.
In the step S101, the original format BIM model data represents a data format used when the digital twin scene based on the BIM model is uploaded to the cloud server after the digital twin scene editing tool is built. In a preferred embodiment, the original format is gltf format.
S102, converting the BIM model data in the original format into BIM model data in a first format, and sending the BIM model data to a webpage end through a data transmission interface.
In step S102, the first format is a format supported by the graphic engine at the web page end, such as gltf format or glb format. In a preferred embodiment, the raw format BIM model data is compressed into the first format BIM model data by data compression.
Detailed implementations of data compression include, but are not limited to Draco technologies, dictionary compression methods, lossless compression algorithms.
S103, converting the BIM model data in the original format into BIM model data in a second format, and sending the BIM model data to a client through a data transmission interface.
In step S103, the second format is a format supported by the graphics engine of the client, such as uasset format. In a preferred embodiment, the raw format BIM model data is converted to the second format BIM model data by a client application on-line baking.
The client application is deployed on the cloud server, and the online baking gltf format is uasset format, which mainly comprises the following steps:
1. A client application, such as a UE4 editor, is installed.
2. The BIM model data in the original format is selected at the client application and exported into gltf format.
3. Online baking services, such as node. Js+express, are built.
4. The client application fills in the online baking service URL and performs baking, converting gltf format to uasset format, the baking process including model simplification, texture compression, etc.
In the above steps S102 and S103, the format into which the original format is converted is determined by the graphic engine of the terminal. For example, the web page end typically uses babylon. Js as the base graphics engine, so the first format is the glb format, and the client end typically uses Unreal Engine as the base graphics engine, so the second format is the uasset format.
In the above steps S101 to S103, the defining of the data transmission interface includes calling a graphic engine interface of the web page end to process the BIM model data in the first format and calling a graphic engine interface of the client end to process the BIM model data in the second format.
In the embodiment of the invention, the original format BIM model data, the first format BIM model data and the second format BIM model data are BIM model data, which comprise geometric data serving as a graphic engine rendering basis and non-geometric data for realizing graphic engine rendering, so that in a detailed implementation mode, the definition of the data transmission interface comprises the steps of calling a graphic engine interface of a webpage end to process the non-geometric data in the first format BIM model data and calling a graphic engine interface of a client end to process the non-geometric data in the second format BIM model data; the method also comprises model loading, which is used for processing the geometric data in the first format BIM model data and the geometric data in the second format BIM model data.
Therefore, when the cloud server needs to synchronize the BIM model data in the first format to the webpage end, the BIM model data in the original format is firstly converted into the first format, such as the glb format, and then the first format is transmitted to the client through the data transmission interface, the data transmission interface can independently process the geometric data part in the BIM model data in the first format, and a basic BIM model is built at the webpage end; and simultaneously, a graphic engine interface of the webpage end is called to process a non-geometric data part of the BIM model data in the first format, namely, the processed geometric data is rendered through a graphic engine of the webpage end, namely, the basic BIM model established in the previous step is rendered. Similarly, when the cloud server needs to synchronize the BIM model data in the second format to the client, converting the BIM model data in the original format into the second format, for example uasset format, and then transmitting the second format to the client through a data transmission interface, wherein the data transmission interface can independently process the geometric data part in the BIM model data in the second format, and a basic BIM model is built at the client; and simultaneously, calling a graphic engine interface of the client to process a non-geometric data part in the BIM model data in the second format, namely rendering the processed geometric data through a graphic engine of the client, namely rendering the basic BIM model established in advance.
Through the steps S101 to S103, the embodiment of the invention realizes double-end rendering based on one data transmission interface, each terminal can communicate with the server, and real-time synchronous modification is realized, so that a plurality of users can edit the same model simultaneously and cooperatively, and the working efficiency is improved. In addition, compared with independent development aiming at each terminal, such as development aiming at a webpage end and a client end respectively, the embodiment of the invention only carries out one-time development, simplifies development and maintenance work and saves resources.
The embodiment of the invention can load the same model for each application scene uniformly by defining and realizing the data transmission interface which is commonly used for each terminal without increasing the development cost additionally. In order to facilitate understanding of the implementation of the present invention, an example will be listed below, in which, before the graphic engine interface of the web page terminal is invoked to process the first format BIM model data and the graphic engine interface of the client terminal is invoked to process the second format BIM model data, the method further includes:
At the web page end, a JavaScript library is set for processing the call from the data transmission interface, managing the encryption/decryption of the data and the sending and receiving of the data.
And setting instructions of C/C++ or other languages at the client side, wherein the instructions are used for directly interacting with a graphic engine, processing the call from a data transmission interface and realizing operations such as click event response, visual angle transformation and the like.
In the definition of the data transmission interface for realizing model loading, a program named loadModel is set, and the input parameters of the program at least comprise the ID or URL of the geometric data part, such as various building elements and components, including main structures of walls, beams, floors, columns and the like, and the ID or URL of the components attached to the main structures, such as doors, windows, furniture and the like. The output parameters include at least the loading state or error information of the geometric data portion.
The embodiment of the invention also shows other basic definition contents of the data transmission interface, such as definition contents for realizing the data transmission function, definition contents for ensuring the data transmission safety, and the like, and comprises the following steps:
① Defining communication data; in JSON format data standard format, the type of the message (interface type such as rendering request, click request, view angle conversion, etc.) is distinguished through a type field, and the data field stores specific interaction data. Such as clicking on this interface, using type=click to define the message type, and data=xx name to define which mesh body to click on.
② A data encryption convention; the transmission process may have a problem of data encryption, which is agreed to use the same key and the same algorithm for encryption and decryption. And particularly, encrypting data by using an aes symmetric encryption algorithm.
③ Checking data; and defining unified data checking rules to ensure the correctness and the integrity in the data transmission process. At the same time, a uniform temporal reference point is required to determine the order of messages, ensuring high concurrent message sequency.
④ A data method name; the conventions use a uniform method name for the same function.
⑤ Interface annotation; the functions which are specifically needed to be realized on the interface should use comments to clearly express the corresponding functions, so that the later maintenance is convenient.
The embodiment of the invention also provides a multi-platform synchronous model rendering method for modifying BIM model data of a webpage end or a client end, which comprises the following steps:
And when the BIM model data in the first format is modified based on the webpage end or the BIM model data in the second format is modified based on the client end, the cloud server receives the BIM model data variable quantity recorded and stored by the webpage end or the client end.
In a specific application, the original format BIM model data consists of two parts, namely gltf and a bin file, wherein gltf is a json file and is used for storing geometric data, such as various building elements and components, including main structures of walls, beams, floors, columns and the like, and components attached to the main structures, such as doors and windows, furniture and the like; the bin file is used for storing non-geometric data, the non-geometric data comprises attribute information, the attribute information is divided into basic attribute and extension data, the basic attribute refers to basic data such as category specified in IFC (IndustryFoundation Classes, industry basic class) standard, and the extension data is added information for meeting engineering metering needs, and the information needs to be obtained according to a minimum component model such as material, size, coordinates and the like. In addition, in the json file description of gltf format, each object has an extra reserved field, which can be used to store any json format third party data, so the embodiment of the invention proposes the modification mode, and the generated variable of the modification model, that is, the BIM model data variable generated by modifying the first format BIM model data or the second format BIM model data, is recorded and stored through the extra reserved field, and the final model data is generated on the platform according to the BIM model data variable. Compared with the method for directly generating the final model data locally at the terminal, the method avoids complex operations that the final model data are stored locally at each terminal and then are transmitted to the cloud server, and then the cloud server is converted into data formats required by other terminals. Therefore, according to the multi-platform synchronous model rendering method, the cloud server is used for processing and converting, the requirements on the terminal are low, so that a user can access and edit the model on any equipment and platform, and the usability and convenience of the system are greatly improved.
Illustratively, the BIM model data variable includes a scene element variable, a space data variable, a path data variable, a data label variable and a material variable.
In addition, it should be noted that, in the embodiment of the present invention, a Spring Boot is used as a background framework, and model management is performed in the form of Java items. The front end uses Vue. Js as a basic framework, and provides basic model management functions such as model uploading, downloading, online previewing, list query, batch uploading and the like. The definition of the data transmission interface is a link of front-end and back-end cooperation, so that the front-end development efficiency is improved. When the user modifies the model at the front end, the background framework processes the request and returns a corresponding result, and based on the background framework, the embodiment of the invention also calls the interfaces of the graphic engines of the platforms by setting the interactive webpage and using js language to complete the request. In one embodiment, when the first format BIM model data is operated based on the web page terminal, invoking a graphics engine interface of the web page terminal through an interactive web page; and calling a graphic engine interface of the client through an interactive webpage when the second format BIM model data is operated based on the client.
Taking Babylon. Js as an example, the interaction webpage calls the graphic engine interface of the webpage end, and the operations of moving, rotating, zooming and the like of the model can be realized based on the functions provided by the Babylon. Js. These operations can be performed not only immediately after the model is loaded, but also during the user interaction process, providing a rich operational experience for the user. In addition, the model marking and annotating functions are implemented through the GUI system of babylon. For example, labels may be added to the model, or annotations may be added to the scene to enhance the readability and ease of use of the model. Finally, the view-angle switching and roaming functions are implemented by a variety of camera types provided by babylon. Such as free cameras, tracking cameras, arc-shaped rotating cameras, etc., which can achieve various viewing angle switching and roaming effects, providing a rich viewing angle and a free viewing pattern.
Taking Unreal Engine as an example, the interactive web page invokes the graphics engine interface of the client, and can perform operations such as moving, rotating, and zooming on the model based on the functions provided by Unreal Engine. Still further, the UE-built-in physics engine can help us achieve more complex and realistic animation effects. In the implementation of the model marking and annotating functions, the user interface system UMG of the UE is used. UMG allows us to create custom UI elements, such as labels and notes, which can be added to a model or scene to help users understand and manipulate the model.
The embodiment of the invention also provides a multi-platform synchronous model rendering method without limiting the number of terminals in a multi-platform, wherein the multi-platform comprises a cloud server and K-class terminals connected with the cloud server in a data mode.
As shown in fig. 2, the multi-platform synchronization model rendering method includes:
s201, a cloud server stores BIM model data in an original format;
S202, converting the BIM model data in the original format into BIM model data in a K format, and sending the BIM model data to a K-type terminal through a data transmission interface; wherein, k= {1,2, 3..k };
The definition of the data transmission interface comprises the steps of calling a graphic engine interface of a first type terminal to process the BIM model data in the first format, and calling a graphic engine interface of a second type terminal to process the BIM model data in the second format until calling a graphic engine interface of a K type terminal to process the BIM model data in the K format.
In one implementation, k=4, and the above steps are fully expressed as:
the cloud server stores BIM model data in an original format;
The BIM model data in the original format are respectively converted into BIM model data in a first format and sent to a first type of terminal through a data transmission interface, converted into BIM model data in a second format and sent to a second type of terminal through the data transmission interface, converted into BIM model data in a third format and sent to a third type of terminal through the data transmission interface, converted into BIM model data in a fourth format and sent to a fourth type of terminal through the data transmission interface;
The definition of the data transmission interface comprises the steps of calling a graphic engine interface of a first type terminal to process the BIM model data in a first format, calling a graphic engine interface of a second type terminal to process the BIM model data in a second format, calling a graphic engine interface of a third type terminal to process the BIM model data in a third format and calling a graphic engine interface of a fourth type terminal to process the BIM model data in a fourth format.
The first type of terminal is a webpage terminal, the second type of terminal is a client terminal, the third type of terminal is a mobile terminal, and the fourth type of terminal is a VR terminal. The first format is glb format, the second format is uasset format, the third format is unit format, and the fourth format is uasset format. The conversion of the raw format BIM model data into the third format BIM model data is accomplished by converting the format into a. Unit format by a Unit application on-line baking gltf.
It should be noted that the second format is the same as the fourth format, because the second class of terminals and the third class of terminals use the same graphics engine, i.e., the client and VR end use Unreal Engine as graphics engines.
In order to solve the technical problems, the embodiment of the invention also provides a multi-platform synchronous model rendering device. Referring to fig. 3 in detail, fig. 3 is a basic structural block diagram of a multi-platform synchronous model rendering device 30 according to the present embodiment, where the multi-platform includes a cloud server, a web page end and a client end that are connected with the cloud server in a data manner, and the multi-platform synchronous model rendering device 20 includes:
the original data uploading module 31 is configured to store original format BIM model data;
the web page end data conversion and transmission module 32 is configured to convert the original format BIM model data into first format BIM model data, and send the first format BIM model data to the web page end through the data transmission interface;
A client data conversion and transmission module 33, configured to convert the original format BIM model data into second format BIM model data, and send the second format BIM model data to a client through a data transmission interface;
The definition of the data transmission interface comprises the steps of calling a graphic engine interface of a webpage end to process the BIM model data in the first format and calling a graphic engine interface of a client end to process the BIM model data in the second format.
In order to solve the above technical problems, the embodiment of the present invention further provides a chip, where the chip may be a general-purpose processor or a special-purpose processor. The chip comprises a processor for supporting the terminal to execute the above related steps, such as calling and running a computer program from a memory, so that a device mounted with the chip executes to implement the multi-platform synchronous model rendering method in the above embodiments.
Optionally, in some examples, the chip further includes a transceiver, where the transceiver is configured to receive control of the processor, and is configured to support the terminal to perform the above related steps, so as to implement the multi-platform synchronous model rendering method in the foregoing embodiments.
Optionally, the chip may further comprise a storage medium.
It should be noted that the chip may be implemented using the following circuits or devices: one or more field programmable gate arrays (fieldprogrammable GATE ARRAY, FPGA), programmable logic devices (programmablelogic device, PLD), controllers, state machines, gate logic, discrete hardware components, any other suitable circuit or circuits capable of performing the various functions described throughout this application.
The invention also provides a terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the multi-platform synchronous model rendering method according to any one of claims 1 to 7 when the computer program is executed.
Referring specifically to fig. 4, fig. 4 is a basic block diagram illustrating a terminal including a processor, a nonvolatile storage medium, a memory, and a network interface connected by a system bus. The nonvolatile storage medium of the terminal stores an operating system, a database and a computer readable instruction, the database can store a control information sequence, and the computer readable instruction can enable the processor to realize a multi-platform synchronous model rendering method when being executed by the processor. The processor of the terminal is operative to provide computing and control capabilities supporting the operation of the entire terminal. The memory of the terminal may store computer readable instructions that, when executed by the processor, cause the processor to perform a multi-platform synchronous model rendering method. The network interface of the terminal is used for connecting and communicating with the terminal. It will be appreciated by persons skilled in the art that the structures shown in the drawings are block diagrams of only some of the structures associated with the aspects of the application and are not limiting of the terminals to which the aspects of the application may be applied, and that a particular terminal may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
As used herein, a "terminal" or "terminal device" includes both a device of a wireless signal receiver having no transmitting capability and a device of receiving and transmitting hardware having electronic devices capable of performing two-way communication over a two-way communication link, as will be appreciated by those skilled in the art. Such an electronic device may include: a cellular or other communication device having a single-line display or a multi-line display or a cellular or other communication device without a multi-line display; PCS (Personal Communications Service, personal communications System) that may combine voice, data processing, facsimile and/or data communications capabilities; a PDA (Personal DigitalAssistant ) that may include a radio frequency receiver, pager, internet/intranet access, web browser, notepad, calendar and/or GPS (Global Positioning System ) receiver; a conventional laptop and/or palmtop computer or other appliance that has and/or includes a radio frequency receiver. As used herein, "terminal," "terminal device" may be portable, transportable, installed in a vehicle (aeronautical, maritime, and/or land-based), or adapted and/or configured to operate locally and/or in a distributed fashion, to operate at any other location(s) on earth and/or in space. The "terminal" and "terminal device" used herein may also be a communication terminal, a network access terminal, and a music/video playing terminal, for example, may be a PDA, a MID (Mobile INTERNET DEVICE ) and/or a Mobile phone with a music/video playing function, and may also be a smart tv, a set top box, and other devices.
The present invention also provides a storage medium storing computer readable instructions that, when executed by one or more processors, cause the one or more processors to perform the steps of the multi-platform synchronous model rendering method of any of the embodiments described above.
The present embodiment also provides a computer program, which can be distributed on a computer readable medium and executed by a computing device to implement at least one step of the above-described multi-platform synchronous model rendering method; and in some cases at least one of the steps shown or described may be performed in a different order than that described in the above embodiments.
The present embodiment also provides a computer program product comprising computer readable means having stored thereon a computer program as shown above. The computer readable means in this embodiment may comprise a computer readable storage medium as shown above.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in accordance with the embodiments may be accomplished by way of a computer program stored in a computer-readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. The storage medium may be a nonvolatile storage medium such as a magnetic disk, an optical disk, a Read-Only Memory (ROM), or a random access Memory (RandomAccess Memory, RAM).
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited in order and may be performed in other orders, unless explicitly stated herein. Moreover, at least some of the steps in the flowcharts of the figures may include a plurality of sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily being sequential, but may be performed in turn or alternately with other steps or at least a portion of the other steps or stages.
The technical features of the above-described embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above-described embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the invention and are described in detail herein without thereby limiting the scope of the invention. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the invention, which are all within the scope of the invention. Accordingly, the scope of protection of the present invention is to be determined by the appended claims.

Claims (10)

1. The multi-platform synchronous model rendering method is characterized by comprising a cloud server, a webpage end and a client end, wherein the webpage end and the client end are connected with the cloud server in a data mode, and the multi-platform synchronous model rendering method comprises the following steps:
the cloud server stores BIM model data in an original format;
Converting the original format BIM model data into first format BIM model data, and sending the first format BIM model data to a webpage end through a data transmission interface;
Converting the BIM model data in the original format into BIM model data in a second format, and sending the BIM model data to a client through a data transmission interface;
The definition of the data transmission interface comprises the steps of calling a graphic engine interface of a webpage end to process the BIM model data in the first format and calling a graphic engine interface of a client end to process the BIM model data in the second format.
2. The multi-platform synchronous model rendering method of claim 1, wherein the raw format BIM model data, the first format BIM model data, and the second format BIM model data are BIM model data;
the BIM data comprises geometric data serving as a graphic engine rendering basis and non-geometric data used for realizing graphic engine rendering;
The definition of the data transmission interface comprises the steps of calling a graphic engine interface of a webpage end to process non-geometric data in BIM model data in a first format and calling a graphic engine interface of a client end to process non-geometric data in BIM model data in a second format; the definition of the data transmission interface further comprises model loading for processing the geometric data in the first format BIM model data and the geometric data in the second format BIM model data.
3. The multi-platform synchronous model rendering method of claim 1, wherein before invoking the graphic engine interface of the web page side to process the first format BIM model data and invoking the graphic engine interface of the client side to process the second format BIM model data, further comprising:
setting a JavaScript library at a webpage end for processing call from a data transmission interface;
Instructions in the C/C++ or other languages are provided at the client for direct interaction with the graphics engine to handle calls from the data transfer interface.
4. A multi-platform synchronous model rendering method according to any one of claims 1 to 3, wherein the original format BIM model data is compressed into the first format BIM model data by data compression;
and converting the original-format BIM model data into the second-format BIM model data through client application online baking.
5. The multi-platform synchronous model rendering method of claim 1, wherein a cloud server receives BIM model data change amounts recorded and stored by the web side or the client side when modifying the first format BIM model data based on the web side or the second format BIM model data based on the client side.
6. The multi-platform synchronous model rendering method of claim 1, wherein when the first format BIM model data is operated based on the web page terminal, a graphic engine interface of the web page terminal is called through an interactive web page; and calling a graphic engine interface of the client through an interactive webpage when the second format BIM model data is operated based on the client.
7. The multi-platform synchronous model rendering method is characterized by comprising a cloud server and K-class terminals connected with the cloud server in a data mode, and comprises the following steps of:
the cloud server stores BIM model data in an original format;
converting the original format BIM model data into K-format BIM model data, and sending the K-format BIM model data to a K-type terminal through a data transmission interface; wherein, k= {1,2, 3..k };
The definition of the data transmission interface comprises the steps of calling a graphic engine interface of a first type terminal to process the BIM model data in the first format, and calling a graphic engine interface of a second type terminal to process the BIM model data in the second format until calling a graphic engine interface of a K type terminal to process the BIM model data in the K format.
8. The utility model provides a synchronous model rendering device of many platforms, its characterized in that, many platforms include high in the clouds server, with high in the clouds server data connection's web page end and customer end, synchronous model rendering device of many platforms includes:
the original data uploading module is used for storing BIM model data in an original format;
The webpage end data conversion transmission module is used for converting the original format BIM model data into first format BIM model data and transmitting the first format BIM model data to the webpage end through the data transmission interface;
The client data conversion and transmission module is used for converting the original format BIM model data into second format BIM model data and transmitting the second format BIM model data to the client through a data transmission interface;
The definition of the data transmission interface comprises the steps of calling a graphic engine interface of a webpage end to process the BIM model data in the first format and calling a graphic engine interface of a client end to process the BIM model data in the second format.
9. A chip, comprising: a first processor for calling and running a computer program from a first memory, causing a device on which the chip is mounted to perform the steps of the multi-platform synchronous model rendering method according to any one of claims 1 to 7.
10. A terminal comprising a second memory, a second processor and a computer program stored in the second memory and executable on the second processor, characterized in that the second processor implements the steps of the multi-platform synchronous model rendering method according to any one of claims 1 to 7 when executing the computer program.
CN202410119256.8A 2024-01-29 2024-01-29 Multi-platform synchronous model rendering method, device, chip and terminal Pending CN118094674A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410119256.8A CN118094674A (en) 2024-01-29 2024-01-29 Multi-platform synchronous model rendering method, device, chip and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410119256.8A CN118094674A (en) 2024-01-29 2024-01-29 Multi-platform synchronous model rendering method, device, chip and terminal

Publications (1)

Publication Number Publication Date
CN118094674A true CN118094674A (en) 2024-05-28

Family

ID=91152112

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410119256.8A Pending CN118094674A (en) 2024-01-29 2024-01-29 Multi-platform synchronous model rendering method, device, chip and terminal

Country Status (1)

Country Link
CN (1) CN118094674A (en)

Similar Documents

Publication Publication Date Title
EP3731161A1 (en) Model application method and system, and model management method and server
CN111507020B (en) Graphical display method for distributed simulation results of electromechanical systems of multi-electric aircraft
WO2016010831A1 (en) Interoperable machine learning platform
CN102012906A (en) Three-dimensional scene management platform based on SaaS architecture and editing and browsing method
CN101980152A (en) Mobile middleware system and implementation method thereof
CN111259037B (en) Data query method and device based on rule configuration, storage medium and terminal
CN113467972A (en) Communication interface construction method, communication interface construction device, computer equipment and storage medium
CN115550687A (en) Three-dimensional model scene interaction method, system, equipment, device and storage medium
US20200286012A1 (en) Model application method, management method, system and server
CN102930581A (en) General representations for data frame animations
US20230290095A1 (en) User-interface-framework based processing method, apparatus, device, and medium
CN118094674A (en) Multi-platform synchronous model rendering method, device, chip and terminal
CN115454430A (en) Automatic delivery method of icon library and device, equipment, medium and product thereof
CN115328997A (en) Data synchronization method, system, device and storage medium
CN105320499A (en) Adaptive method and related device of application program
CN110990104B (en) Texture rendering method and device based on Unity3D
CN109218063B (en) Method and device for displaying network topology
CN112579827A (en) Data-driven power system data processing method and system
CN112363856A (en) Method for realizing interoperation of deep learning framework and application program based on DDS
CN111581932A (en) Data-driven big data analysis method, system, device, storage medium and terminal
CN104319882A (en) Communication method of GIS system and power scheduling graphic system based on asynchronous callback mechanism
CN116757254B (en) Task processing method, electronic device and storage medium
CN114707680B (en) Aircraft 3D model generation method and device, electronic equipment and readable medium
CN116521146B (en) Secondary development system of cloud GIS platform
CN116610319B (en) Method and system for constructing map application based on low-code platform

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication