A three-dimensional visualization method, system, storage medium, and electronic device
By receiving the offline deployment installation package from the cloud on a local server, the system generates a 3D model of the device and the relationship between its attributes, solving the problem of private servers being unable to synchronize cloud data in IoT projects, and achieving local construction of 3D scenes and data security.
Patent Information
- Application Number
- CN202211208372.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-30
- Publication Date
- 2025-12-05
- Estimated Expiration
- 2042-09-30
AI Technical Summary
The private servers of IoT projects cannot synchronously obtain cloud-based 3D visualization data by sending requests, which causes operational inconvenience.
This invention provides a 3D visualization method that generates a device 3D model, attributes, and animation relationships by receiving an offline deployment installation package transmitted from the cloud. After installation, a 3D scene is built on a local server, the attribute values of the target device are obtained, and the model animation is run. It also supports secure updates of local data.
It enables the construction of 3D scenes on local servers, solves data security issues, ensures that data is not synchronized to the cloud, and improves the operational convenience of IoT projects.
Smart Images

Figure CN115562784B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of visualization technology, and in particular to a three-dimensional visualization method, system, storage medium, and electronic device. Background Technology
[0002] With the continuous development of the Internet of Things (IoT) industry, 3D visualization will occupy an important position. However, a large portion of current IoT projects are confidential and deployed on private servers that cannot connect to the external network. When the required 3D visualization resources need to be obtained from the public network, to ensure data security, the private server cannot synchronously obtain cloud data by sending requests, which causes great inconvenience to project operation. Summary of the Invention
[0003] The purpose of this invention is to provide a three-dimensional visualization method, system, storage medium, and electronic device. The specific technical solution is as follows:
[0004] This invention provides a three-dimensional visualization method applied to a local server, the method comprising:
[0005] Receives an installation package for offline deployment of 3D visualization transmitted from the cloud; the installation package carries IoT data and a 3D model of the device, and the IoT data includes at least the relationship between the 3D model of the device, device attributes, and device model animation;
[0006] After the installation package is completed, the target device in the three-dimensional scene to be built is obtained, and the target three-dimensional model corresponding to the target device is found from the device three-dimensional model;
[0007] Obtain the local operating data of the target device, determine the target device attributes associated with the target 3D model based on the association relationship, and determine the attribute values of the target device attributes from the local operating data;
[0008] Based on the association relationship, determine the target device model animation that matches the attribute value of the target device attribute, and run the target device model animation.
[0009] Optional, also includes:
[0010] Receive data packets transmitted from the cloud; the data packets are model data packets and / or IoT data packets, wherein the model data packets carry updated 3D models of the devices, and the IoT data packets carry updated IoT data;
[0011] The data packet is parsed to obtain project identification information from the name of the data packet; wherein, different project identification information corresponds to different 3D scenes to be constructed.
[0012] If the project identification information matches the project identification information stored locally, an update operation is performed based on the data packet.
[0013] Optionally, the method for generating the installation package for the 3D visualization offline deployment includes:
[0014] Based on the correspondence between equipment and its 3D model, the equipment identifier is associated with the equipment 3D model identifier;
[0015] Based on the correspondence between equipment operating status and 3D model animation, animation identifiers are associated with equipment attributes; wherein, equipment attributes reflect the equipment operating status;
[0016] Based on the matching relationship between devices and device attributes, the 3D model identifier, the animation identifier, and the device attributes are associated to obtain the association relationship between the device 3D model, device attributes, and device model animation.
[0017] The aforementioned relationships and the 3D model of the device are packaged to generate the installation package for offline deployment of the 3D visualization.
[0018] Optionally, determining the target device attributes associated with the target 3D model based on the association relationship, and determining the attribute values of the target device attributes from the local operating data, includes:
[0019] Obtain the identifier of the target 3D model;
[0020] Target device attributes are determined from the association based on the identifier of the target 3D model;
[0021] The attribute value of the target device attribute is determined from the local operating data.
[0022] Optionally, determining the target device model animation that matches the attribute values of the target device attributes based on the association relationship specifically includes:
[0023] When there are multiple types of device attributes in the association relationship, if the attribute value of the target device attribute matches the attribute values of multiple device attributes, then the target device model animation is determined to be an animation formed by combining device model animations associated with multiple device attributes.
[0024] Optionally, after installation using the installation package, obtaining the target device in the 3D scene to be constructed, and searching for the target 3D model corresponding to the target device from the device 3D model, specifically includes:
[0025] After the installation package is installed, the 3D model download permission is authenticated based on the copyright license. After successful authentication, the target device in the 3D scene to be built is obtained, and the target 3D model corresponding to the target device is found from the device 3D model.
[0026] The present invention also provides a three-dimensional visualization system applied to a local server, the system comprising:
[0027] The installation package receiving module is configured to receive a 3D visualization offline deployment installation package transmitted from the cloud; the installation package carries IoT data and a device 3D model, and the IoT data includes at least the relationship between the device 3D model, device attributes, and device model animation.
[0028] The target 3D model acquisition module is configured to acquire the target device in the 3D scene to be constructed after the installation is completed using the installation package, and search for the target 3D model corresponding to the target device from the device 3D model;
[0029] The attribute value determination module is configured to acquire the local operating data of the target device, determine the target device attributes associated with the target 3D model based on the association relationship, and determine the attribute values of the target device attributes from the local operating data;
[0030] The animation execution module is configured to determine the target device model animation that matches the attribute value of the target device attribute based on the association relationship, and to run the target device model animation.
[0031] Optional, also includes:
[0032] An update module is configured to receive data packets transmitted from the cloud; the data packets are model data packets and / or IoT data packets, wherein the model data packets carry updated 3D models of the devices, and the IoT data packets carry updated IoT data; the data packets are parsed to obtain project identification information from the names of the data packets; wherein different project identification information corresponds to different 3D scenes to be constructed; if the project identification information matches the project identification information stored locally, an update operation is performed based on the data packets.
[0033] The present invention also provides a computer-readable storage medium storing a program that, when executed by a processor, implements the above-described three-dimensional visualization method.
[0034] The present invention also provides an electronic device, comprising:
[0035] At least one processor, and at least one memory and bus connected to the processor;
[0036] The processor and the memory communicate with each other via the bus; the processor is used to call program instructions in the memory to execute the above-described three-dimensional visualization method.
[0037] This invention provides a 3D visualization method, system, storage medium, and electronic device. It receives an installation package for offline deployment of 3D visualization transmitted from the cloud. After installation using the package, it acquires the target device in the 3D scene to be constructed, searches for the corresponding target 3D model from the device's 3D model, acquires the target device's local operating data, determines the target device attributes associated with the target 3D model based on correlation relationships, and determines the attribute values of the target device attributes from the local operating data. Based on the correlation relationships, it determines the target device model animation matching the attribute values and runs the target device model animation. This invention downloads the installation package from the cloud to the local machine and performs 3D visualization on the local server using the device's 3D model and IoT data. This solves the problem that the local server cannot synchronize 3D model data from the cloud by sending requests, ensuring the data security of the local server.
[0038] Of course, any product or method implementing the present invention does not necessarily need to achieve all of the advantages described above at the same time. Attached Figure Description
[0039] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0040] Figure 1 A flowchart of a three-dimensional visualization method provided in an embodiment of the present invention;
[0041] Figure 2 A structural diagram of a three-dimensional visualization system provided in an embodiment of the present invention;
[0042] Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation
[0043] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0044] This invention provides a three-dimensional visualization method, applied to a local server, such as... Figure 1 As shown, the method includes:
[0045] Step 101: Receive the installation package for offline deployment of 3D visualization transmitted from the cloud; the installation package carries IoT data and device 3D models, and the IoT data includes at least the relationship between the device 3D model, device attributes, and device model animation.
[0046] As an optional implementation method, the method for generating the installation package for 3D visualization offline deployment includes:
[0047] Based on the correspondence between equipment and its 3D model, the equipment identifier is associated with the equipment 3D model identifier;
[0048] Based on the correspondence between equipment operating status and 3D model animation, animation identifiers are associated with equipment attributes; whereby equipment attributes reflect equipment operating status.
[0049] Based on the matching relationship between devices and device attributes, the 3D model identifier, animation identifier and device attributes are associated to obtain the relationship between the device 3D model, device attributes and device model animation;
[0050] The relationships and 3D models of the equipment are packaged to generate an installation package for offline deployment of 3D visualization.
[0051] The cloud-based digital twin platform can support the construction of multiple projects, such as subway lines. Each subway line can be built into a project, and each line can have resources such as stations and equipment. The resources of different projects are independent of each other, and each project has a different project identifier. Optionally, the project identifier can be a project ID.
[0052] For each project, when generating the 3D visualization offline deployment installation package, a 3D model of the device can be created based on the project's existing equipment. This 3D model can be edited in the cloud or received from a local server. The 3D model can also be edited on the local server. Different project data can be obtained from the cloud by configuring different service addresses.
[0053] Each device has a device identifier, which can be a device ID. Similarly, the device's 3D model has a device 3D model identifier, which can be a model ID. One device can correspond to one device 3D model. Associating the device ID and model ID allows you to find the corresponding model using the device ID, or vice versa.
[0054] Different devices have different operating states. For example, a fan's operating state can include running, faulty, and offline. Different operating states correspond to different 3D model animations. For instance, the animation for a running device is the fan blades rotating, while the animation for a faulty device is a flashing color. The operating state can be reflected through device attributes. For example, if the device is running, this state can be represented by RUN, with the attribute value being true or false. If RUN = true, the device is operating normally; if RUN = false, the device is faulty. Associating an animation identifier with a device attribute allows the 3D model animation to be triggered when a certain condition is met in the device's operating state. Optionally, the animation identifier can be an animation ID.
[0055] Different devices can have different device attributes. By using the device attributes corresponding to each device, the 3D model identifier, animation identifier, and device attributes can be associated to obtain the relationship between the device 3D model, device attributes, and device model animation. This relationship can be recorded in JSON format.
[0056]
[0057] In the relationship between equipment 3D models, equipment attributes, and equipment model animations, one equipment can be associated with multiple equipment 3D models. For example, an air conditioner can be divided into tabletop air conditioners and floor-standing air conditioners, each corresponding to a different equipment 3D model. One association can correspond to multiple equipment model animations. For instance, if the air conditioner attribute is set to "fault" (true), indicating a malfunction, then either a flashing or color-changing animation can be configured. The expression list for air conditioners is as follows:
[0058]
[0059]
[0060] The associated relationships and 3D models of the devices are packaged to generate an installation package for offline deployment of 3D visualization. This installation package can be named using the project ID. For example, if the project ID is 10214587521, the installation package name can be eco_10214587521. This installation package can be installed on a local server, which can be a private server with only an intranet.
[0061] Step 102: After the installation package is completed, obtain the target device in the 3D scene to be built, and find the target 3D model corresponding to the target device from the device 3D model.
[0062] As an optional implementation, after installation using the installation package, the target device in the 3D scene to be built is obtained, and the target 3D model corresponding to the target device is found from the device 3D model. Specifically, this includes:
[0063] After installation using the installation package, the 3D model download permission is authenticated based on the copyright license. After successful authentication, the target device in the 3D scene to be built is obtained, and the target 3D model corresponding to the target device is found from the device 3D model.
[0064] Optionally, the copyright license can be a license certificate. Based on the license certificate, the target device in the 3D scene to be built can be obtained, and the corresponding target 3D model can be found by the device ID of the target device.
[0065] Step 103: Obtain the local operating data of the target device, determine the target device attributes associated with the target 3D model based on the association relationship, and determine the attribute values of the target device attributes from the local operating data.
[0066] As an optional implementation, the target device attributes associated with the target 3D model are determined based on the association relationship, and the attribute values of the target device attributes are determined from local operating data, including:
[0067] Obtain the identifier of the target 3D model;
[0068] Target device attributes are determined from the association relationships based on the identifiers of the target 3D model;
[0069] Determine the attribute values of the target device from the local runtime data.
[0070] Since there is a correspondence between the target 3D model ID and the target equipment attributes, such as the wind turbine ID corresponding to the wind turbine attribute of normal operation (RUN), the attribute value related to RUN is searched from the local operation data. This attribute value can be true or false.
[0071] Step 104: Determine the target device model animation that matches the attribute values of the target device based on the association relationship, and run the target device model animation.
[0072] As an optional implementation, the target device model animation is determined based on the association relationship to match the attribute values of the target device attributes, specifically including:
[0073] When there are multiple types of device attributes in the association, if the attribute value of the target device attribute matches the attribute values of multiple device attributes, then the target device model animation is determined to be an animation formed by the combination of device model animations associated with multiple device attributes. For example, if the animation associated with one device attribute is that the model moves to the right, and the animation associated with another device attribute is that the indicator light on the model turns red, then the target device model animation is that the model moves to the right while the indicator light turns red.
[0074] In preview mode, device properties will reflect the real-time status of the corresponding device and display the device model's animation effects. For example, the expression `@{error} == true` for air conditioner #1 means that the "fault" attribute of air conditioner #1 is true. This is bound to the model's "flickering" animation. When the fault data for air conditioner #1 is true in the real-time data, the model will play a flickering animation. Alternatively, it can simultaneously play animations such as the model turning gray when disconnected. Of course, commands can also be sent to the device. For example, if the call button for elevator #1 is clicked, the elevator model will trigger an up / down animation.
[0075] After a 3D device model is associated with a device, the model is tagged with that device. For example, if a wind turbine model is bound to a device named "Wind Turbine No. 1," the model is tagged with "Wind Turbine No. 1." The animation of this model is then triggered by data from "Wind Turbine No. 1." The real-time IoT data obtained during scene preview includes the operational data of "Wind Turbine No. 1." If the device's "RUN" attribute is true, the expression @{RUN} == true is matched. If the device's "RUN" value matches this expression, the list of animation IDs in "animId" is retrieved, and the animations corresponding to these IDs on the model are played.
[0076] As an optional implementation, the three-dimensional visualization method of the present invention further includes:
[0077] Receive data packets transmitted from the cloud; the data packets are model data packets and / or IoT data packets, where the model data packets carry updated 3D models of the devices, and the IoT data packets carry updated IoT data; parse the data packets to obtain project identification information from their names; different project identification information corresponds to different 3D scenes to be built; if the project identification information matches locally stored project identification information, perform an update operation based on the data packets. Optionally, the project identification information may include a project ID.
[0078] To ensure data security on the local server, obtaining new data via requests is not supported. When cloud data is updated, such as IoT data updates and / or 3D model updates, the zip data package exported from the cloud can be imported to the local server. The data package can be exported separately as a 3D model or IoT data package, or it can be exported together. The data package name includes the project ID; for example, the exported IoT data package name is eco_iot_10214587521, where 10214587521 is the project ID. During the import process, the project ID being edited locally must match the project ID in the data package. Files within the data package cannot be manually changed; for example, changing or deleting the scene.json file will result in the platform no longer supporting import. Data can be fully imported, without overwriting newly added local data, or without overwriting newly added / edited local data. Due to the private nature of local data, such as real-time device operation data, synchronization to the cloud is not supported. Optionally, during packaging, IoT data and 3D models from the cloud database can be stored in corresponding folders based on environment variables, and the path and configuration information can be written to a JSON file. The local server can then read the IoT data and 3D models based on the data recorded in the JSON file.
[0079] Optionally, the local server can perform secondary development on the received installation package transmitted from the cloud. The preview interface of the 3D scene is embedded in the local server, and the 3D scene to be built can be called by itself. For example, if there is a button on a large screen display interface, clicking it will switch the scene view. The view ID can be called to customize the switch. The view ID is obtained through a request.
[0080] This invention also provides a three-dimensional visualization system applied to a local server, such as... Figure 2 As shown, the system includes:
[0081] The installation package receiving module 201 is configured to receive the 3D visualization offline deployment installation package transmitted from the cloud; the installation package carries IoT data and device 3D model, and the IoT data includes at least the relationship between the device 3D model, device attributes and device model animation.
[0082] The target 3D model acquisition module 202 is configured to acquire the target device in the 3D scene to be built after installation using the installation package, and search for the target 3D model corresponding to the target device from the device 3D model.
[0083] The attribute value determination module 203 is configured to obtain the local operating data of the target device, determine the target device attributes associated with the target 3D model based on the association relationship, and determine the attribute values of the target device attributes from the local operating data.
[0084] Animation execution module 204 is configured to determine the target device model animation based on the association relationship and match the attribute values of the target device attributes, and then run the target device model animation.
[0085] The three-dimensional visualization system of the present invention further includes:
[0086] The update module is configured to receive data packets transmitted from the cloud; the data packets are model data packets and / or IoT data packets, where the model data packets carry updated 3D models of the devices and the IoT data packets carry updated IoT data; the data packets are parsed to obtain project identification information from the names of the data packets; different project identification information corresponds to different 3D scenes to be built; if the project identification information matches the project identification information stored locally, an update operation is performed based on the data packets.
[0087] Optionally, the method for generating a 3D visualization offline deployment installation package in the cloud may include: associating device identifiers with device 3D model identifiers based on the correspondence between devices and device 3D models; associating animation identifiers with device attributes based on the correspondence between device operating status and 3D model animations; wherein, device attributes reflect device operating status; associating 3D model identifiers, animation identifiers, and device attributes based on the matching relationship between devices and device attributes to obtain the association relationship between device 3D models, device attributes, and device model animations; and packaging the association relationship and device 3D models to generate a 3D visualization offline deployment installation package.
[0088] The target 3D model acquisition module 202 is specifically configured to, after installation using the installation package, perform 3D model download permission authentication based on the copyright license, and after successful authentication, acquire the target device in the 3D scene to be constructed, and search for the target 3D model corresponding to the target device from the device 3D model.
[0089] The attribute value determination module 203 is specifically configured to obtain the identifier of the target 3D model; determine the target device attributes from the association based on the identifier of the target 3D model; and determine the attribute values of the target device attributes from the local running data.
[0090] The animation execution module 204 is specifically configured such that when there are multiple types of device attributes in the association relationship, if the attribute value of the target device attribute matches the attribute values of multiple device attributes, then the target device model animation is determined to be an animation formed by the combination of device model animations associated with multiple device attributes.
[0091] This invention provides a computer-readable storage medium storing a program that, when executed by a processor, implements the aforementioned three-dimensional visualization method.
[0092] This invention provides an electronic device, such as... Figure 3 As shown, the electronic device 30 includes at least one processor 301, at least one memory 302 connected to the processor 301, and a bus 303; wherein the processor 301 and the memory 302 communicate with each other through the bus 303; the processor 301 is used to call program instructions in the memory 302 to execute the above-mentioned three-dimensional visualization method. The electronic device in this article may be a server, PC, PAD, mobile phone, etc.
[0093] This application also provides a computer program product that, when executed on a data processing device, is adapted to perform the steps included in the above-described three-dimensional visualization method for initialization.
[0094] This application is described with reference to flowchart illustrations and / or block diagrams of methods, systems, and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0095] In a typical configuration, the device includes one or more processors (CPUs), memory, and a bus. The device may also include input / output interfaces, network interfaces, etc.
[0096] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, like read-only memory (ROM) or flash RAM, and memory includes at least one memory chip. Memory is an example of computer-readable media.
[0097] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0098] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0099] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes the element.
[0100] The various embodiments in this specification are described in a related manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions of the method embodiments.
[0101] The above are merely embodiments of this application and are not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.
Claims
1. A method of three-dimensional visualization, characterized by, The method is applied to a local server and comprises the following steps: receiving a three-dimensional visualization offline deployment installation package transmitted by a cloud server, wherein the installation package carries Internet of Things data and a device three-dimensional model, and the Internet of Things data at least includes a correlation among the device three-dimensional model, device attributes and device model animations; after installation is completed by using the installation package, embedding a preview interface of a three-dimensional scene in the local server, obtaining a target device in a three-dimensional scene to be constructed, and searching for a target three-dimensional model corresponding to the target device from the device three-dimensional model; obtaining local running data of the target device, determining target device attributes associated with the target three-dimensional model based on the correlation, and determining attribute values of the target device attributes from the local running data; based on the correlation, matching the attribute values with device attribute expressions to determine target device model animations matched with the attribute values of the target device attributes, and running the target device model animations; receiving a data package transmitted by the cloud server; analyzing the data package to obtain project identification information from a name of the data package; in a case where the project identification information matches project identification information stored locally, performing an update operation based on the data package, wherein the update operation includes one of full coverage import, non-coverage local new data, or non-coverage local new and edited data.
2. The three-dimensional visualization method of claim 1, wherein, The data package is a model data package and / or an Internet of Things data package, the model data package carries updated device three-dimensional models, the Internet of Things data package carries updated Internet of Things data, and the three-dimensional scenes to be constructed corresponding to different project identification information are different.
3. The three-dimensional visualization method of claim 1, wherein, The method for generating the three-dimensional visualization offline deployment installation package comprises the following steps: based on a correspondence between a device and a device three-dimensional model, associating a device identifier with a device three-dimensional model identifier; based on a correspondence between a device running state and a three-dimensional model animation, associating an animation identifier with a device attribute; wherein the device attribute reflects the device running state; based on a matching relationship between a device and a device attribute, associating the three-dimensional model identifier, the animation identifier and the device attribute to obtain a correlation among the device three-dimensional model, the device attribute and the device model animation; packaging the correlation and the device three-dimensional model to generate the three-dimensional visualization offline deployment installation package.
4. The three-dimensional visualization method of claim 3, wherein, The method comprises the following steps: obtaining an identifier of the target three-dimensional model; determining a target device attribute from the correlation based on the identifier of the target three-dimensional model; determining attribute values of the target device attribute from the local running data.
5. The method for three-dimensional visualization of claim 1, wherein, The method comprises the following steps: When the types of the device attributes in the association relationship are multiple, if the attribute value of the target device attribute matches the attribute values of the multiple device attributes, it is determined that the target device model animation is an animation formed by combining device model animations associated with the multiple device attributes.
6. The three-dimensional visualization method of claim 1, wherein, After the installation is completed by using the installation package, a target device in a three-dimensional scene to be constructed is acquired, and a target three-dimensional model corresponding to the target device is searched from the device three-dimensional models. After the installation is completed by using the installation package, a target device in a three-dimensional scene to be constructed is acquired, and a target three-dimensional model corresponding to the target device is searched from the device three-dimensional models.
7. A three-dimensional visualization system, characterized by The system applied to a local server, comprising: The installation package receiving module is configured to receive the installation package of the three-dimensional visualization offline deployment transmitted by the cloud end; the installation package carries the Internet of Things data and the device three-dimensional model, and the Internet of Things data at least includes the association relationship among the device three-dimensional model, the device attribute and the device model animation; The target three-dimensional model acquisition module is configured to, after the installation is completed by using the installation package, embed a preview interface of the three-dimensional scene in the local server, acquire a target device in a three-dimensional scene to be constructed, and search a target three-dimensional model corresponding to the target device from the device three-dimensional models; The attribute value determination module is configured to acquire local running data of the target device, determine a target device attribute associated with the target three-dimensional model based on the association relationship, and determine an attribute value of the target device attribute from the local running data; The animation running module is configured to determine a target device model animation matching the attribute value of the target device attribute by matching the attribute value with a device attribute expression based on the association relationship, and run the target device model animation. The update module is configured to receive the data package transmitted by the cloud end; analyze the data package to obtain project identification information from the name of the data package; in the case that the project identification information matches the project identification information stored locally, perform an update operation based on the data package, and the update operation includes one of full coverage import, non-coverage local new data, or non-coverage local new and edited data.
8. The three-dimensional visualization system of claim 7, wherein, The data package in the update module is a model data package and / or an Internet of Things data package, the model data package carries an updated device three-dimensional model, the Internet of Things data package carries updated Internet of Things data, and different project identification information corresponds to different three-dimensional scenes to be constructed.
9. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a program, and the program is executed by the processor to implement the three-dimensional visualization method in any one of claims 1-6.
10. An electronic device, comprising: Comprise: At least one processor, and at least one memory connected with the processor, bus; The processor, the memory complete mutual communication through the bus; The processor is used to call the program instruction in the memory, so as to execute the three-dimensional visualization method in any one of claims 1-6.
Citation Information
Patent Citations
Equipment operation state indicating method, cloud and device
CN109586998A