Method and system for constructing 3D scene in digital twin system
By combining components to build a 3D scene map, establishing a data service interface and binding tags, the problem of low efficiency in 3D scene construction in the existing technology is solved, and a simplified development process and improved development efficiency are achieved.
Patent Information
- Application Number
- CN202411491114.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-24
- Publication Date
- 2025-02-11
AI Technical Summary
When building 3D scenes, existing digital twin systems require professional art and programming technology, resulting in long development cycles, inconvenient adjustments and low efficiency.
Provide a method and system to build a 3D scene map matching with a physical scene by combining target components, establish a data service interface, and set a field binding between the tag and the data service interface to realize the binding of the 3D scene and the data source.
It simplifies the construction and data configuration of 3D scenes, improves development efficiency, and reduces the complexity and difficulty of project development.
Smart Images

Figure CN119417985A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of digital twin and 3D modeling, and in particular to a method and system for constructing a 3D scene in a digital twin system. Background Art
[0002] The core of digital twin technology lies in the docking of real-time data and the process of scene simulation. It not only involves the close connection between physical equipment and digital models, but also relies on multi-disciplinary, multi-physical quantity, multi-scale, and multi-probability simulation to complete the mapping in the virtual space, thereby reflecting the full life cycle of the corresponding physical equipment. Digital twin technology makes full use of data integration such as physical models, sensor updates, and operation history to achieve deep interaction between virtual and reality. Through this technology, physical systems can be monitored, anomalies detected, and predicted in a virtual environment, thereby optimizing the operation of physical systems, improving efficiency, reducing failures, and optimizing resource utilization.
[0003] Therefore, the docking of real-time data and the accuracy of the simulation process are the core parts of digital twin technology. Currently commonly used digital twin systems often use hard coding to update the real-time data of the scene. In addition to the foundation of art majors, the construction of a 3D scene often requires programming technology, which leads to a long project development cycle, difficult implementation, and extremely inconvenient adjustment, which ultimately leads to low efficiency in building digital twin systems. Summary of the invention
[0004] Based on this, it is necessary to provide a method, system, computer device, computer-readable storage medium and computer program product for constructing 3D scenes in a digital twin system that can improve construction efficiency in response to the above technical problems.
[0005] In a first aspect, the present application provides a method for constructing a 3D scene in a digital twin system. The method comprises:
[0006] In response to the scene design operation, the target components are combined to construct a 3D scene graph matching the physical scene;
[0007] Constructing a data service interface for the 3D scene based on the data sources corresponding to the components in the 3D scene graph;
[0008] According to the data information of the data source corresponding to the data service interface, a label of the 3D scene is set, wherein the label is bound to at least one field of the data of the data service interface; the label includes a title and a value;
[0009] A model component of the corresponding 3D scene is constructed according to the information of the 3D scene, wherein the information of the 3D scene includes the 3D scene graph, the data service interface and the label.
[0010] In one embodiment, the information of the 3D scene further includes: a response event callback method of the 3D scene; the method further includes:
[0011] In response to the response event configuration specification, a response event callback method of the 3D scene is obtained.
[0012] In one embodiment, the method further comprises:
[0013] In response to the publishing designation, the 3D scene is published to the specified digital twin system.
[0014] In one embodiment, the method further comprises:
[0015] In the digital twin system, the data service interface of the 3D scene is called to obtain data corresponding to the tag from the data source, and the tag of the 3D scene is refreshed.
[0016] In one embodiment, the method further comprises:
[0017] In response to the callback event, the 3D scene is displayed in the digital twin system according to the callback event response method.
[0018] In one embodiment, the method further comprises:
[0019] In response to the modification instruction of the data service interface, the data source corresponding to the data service interface of the 3D scene is updated.
[0020] In one embodiment, the method further comprises:
[0021] In response to the tag modification instruction, the field of the data of the data service interface bound to the tag is updated.
[0022] In a second aspect, the present application also provides a system for constructing a 3D scene in a digital twin system. The system comprises:
[0023] A composition module, for responding to scene design operations, combining target components, and constructing a 3D scene graph that matches the physical scene;
[0024] An interface construction module, used to construct a data service interface of the 3D scene according to the data source corresponding to each component in the 3D scene graph;
[0025] A label setting module, used to set a label of the 3D scene according to data information of the data source corresponding to the data service interface, wherein the label is bound to at least one field of the data of the data service interface; the label includes a title and a value;
[0026] The storage module is used to construct a model component of the corresponding 3D scene according to the information of the 3D scene, wherein the information of the 3D scene includes the 3D scene graph, the data service interface and the label.
[0027] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the method for constructing a 3D scene in a digital twin system in the above-mentioned embodiments when executing the computer program.
[0028] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method for constructing a 3D scene in a digital twin system in the above-mentioned embodiments.
[0029] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, which, when executed by a processor, implements the steps of the method for constructing a 3D scene in a digital twin system in the above-mentioned embodiments.
[0030] The above-mentioned method, system, computer device, storage medium and computer program product for constructing a 3D scene in a digital twin system constructs a 3D scene graph that matches the physical scene, and a data service interface corresponding to the data source, and then binds the label of the 3D scene to at least one field of the data source data according to the data information of the data source of the data service interface, thereby realizing the binding of the 3D scene to the data source, solving the problem of combining the data source with the 3D scene model, and having good adaptability. Furthermore, by using the constructed 3D scene in the digital twin system, there is no need to configure the data of the 3D scene, which simplifies the development process and improves development efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 A schematic diagram of a process for constructing a 3D scene in a digital twin system in one embodiment;
[0032] Figure 2 A schematic diagram of a framework for constructing a system in an embodiment;
[0033] Figure 3 A structural block diagram of a system for constructing a 3D scene in a digital twin system in another embodiment;
[0034] Figure 4 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0035] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0036] This application provides a method for constructing a 3D scene in a digital twin system, such as Figure 1 As shown, the method includes:
[0037] Step 102, in response to the scene design operation, combine the target components and construct a 3D scene graph matching the physical scene.
[0038] Specifically, in the digital twin system, users can drag various target components that constitute the system into the 3D editor according to the scene design requirements to form a complete 3D visualization scene that matches the physical environment. The construction of a 3D visualization scene is the basic process of building a twin digital system corresponding to the physical system. The 3D scene and the physical scene often need to be highly similar and can feedback the composition of the system.
[0039] Step 104: construct a data service interface for the 3D scene according to the data sources corresponding to the components in the 3D scene graph.
[0040] The data source is the basic component of the system. Generally, after various acquisition terminals complete data collection, they are aggregated and stored in various database systems. In the digital twin system, the data source generally includes the analog data generated in the simulation system (pure digital system) and the physical data generated by the production system. Physical data often presents characteristics such as diversity, fragmentation, and incompleteness. When building a digital twin application, data is usually not obtained directly from the data source.
[0041] The data service module provides a standardized interface for the simulation data generated by the simulation system in the digital twin system and the physical data generated by the production system. It extracts data from various data sources and encapsulates it into a data service interface to meet the data requirements displayed by the business system. Data services generally play a role in unified storage, unified management, and data regularization, and provide stable data query services to the outside world.
[0042] In this embodiment, a data service interface of the 3D scene graph is constructed according to the data source corresponding to each component in the 3D scene graph, and data of the 3D scene can be provided to the outside through the data service interface. Specifically, the data service interface is guided by the business needs of each digital twin system. For example, for equipment monitoring, it is necessary to build a data query interface for all devices in the system, and query the real-time status of the device through the interface. Each service interface can provide structured data that needs to be displayed in real time in the system.
[0043] Step 106: Set a label of the 3D scene according to the data information of the data source corresponding to the data service interface, wherein the label is bound to at least one field of the data of the data service interface; the label includes a title and a value.
[0044] The data information of the data source includes the data information of the data source of the data service interface, which can be specifically embodied as a data field. The label of the 3D scene corresponds to the digital field of the data source of the data service interface.
[0045] In this embodiment, different numbers of tags are added to the 3D scene components, and each tag is bound to at least one field of the data in the data interface of the corresponding component. Which fields are included in a specific bound data interface is determined by the needs of the business system itself. For example, when querying the data interface of a power generation device, it contains values such as electric power and voltage. The tag consists of a title and a value.
[0046] After the label is bound to the field of the data interface, the value is obtained by calling the data interface at a regular interval during display, and the label value is updated to provide real-time feedback on the component status value information.
[0047] Step 108: construct a model component of the corresponding 3D scene according to the information of the 3D scene, wherein the information of the 3D scene includes the 3D scene graph, the data service interface and the label.
[0048] In this embodiment, according to the information of the 3D scene, a model component of the corresponding 3D scene is constructed, and a legend file of the 3D scene is obtained and stored in a 3D scene component library. When the user builds a data twin system, the 3D component is loaded from the component library and can be displayed as a 3D graphic of a scene.
[0049] Specifically, after the construction is completed, in response to the storage designation, the model components of the corresponding 3D scene are constructed according to the information of the 3D scene, and the model components of the 3D scene are stored in the component library. After the 3D scene is saved, the 3D scene can be previewed and displayed, and published and displayed in the application.
[0050] The method for constructing a 3D scene in a digital twin system of this embodiment constructs a 3D scene graph that matches the physical scene, and a data service interface corresponding to the data source, and then binds the label of the 3D scene to at least one field of the data source data according to the data information of the data source of the data service interface, thereby realizing the binding of the 3D scene with the data source, solving the problem of combining the data source with the 3D scene model, and having good adaptability. Furthermore, by using the constructed 3D scene in the digital twin system, there is no need to configure the data of the 3D scene, which simplifies the development process and improves development efficiency.
[0051] In another embodiment, the information of the 3D scene further includes: a response event callback method of the 3D scene.
[0052] Among them, the response event callback method plays an important role in event-driven programming. When the user clicks a button, a network request is completed, a timer expires, and other events occur, the predefined callback function will be called to perform the corresponding operation.
[0053] Furthermore, the method for constructing a 3D scene in a digital twin system also includes: in response to the response event configuration specification, obtaining a response event callback method of the 3D scene; the response event callback method is used to display the 3D scene in the digital twin system according to the response event. The file of the 3D scene is loaded in the digital twin business system (3D business module) to display the 3D scene. When the visual element is clicked in the 3D scene, the response event callback method bound to the interface event will be called back to complete the execution of the user-customizable event response action. When the callback method is called back, the latest interface data currently obtained from the data service module will be passed to the callback method.
[0054] In this embodiment, by setting a callback mechanism for the 3D scene, personalized display of the 3D scene can be achieved.
[0055] In one embodiment, the method for constructing a 3D scene in a digital twin system further includes: in response to a publishing designation, publishing the 3D scene to a specified digital twin system.
[0056] In one embodiment, the method for constructing a 3D scene in a digital twin system further includes: in the digital twin system, calling a data service interface of the 3D scene, obtaining data corresponding to the tag from the data source, and refreshing the tag of the 3D scene.
[0057] Specifically, the above-mentioned 3D scene files are loaded in the digital twin business system (3D business module) to display the 3D scene, and the label data is updated in real time by periodically calling the data service interface.
[0058] In another embodiment, the method for constructing a 3D scene in a digital twin system further includes: updating a data source corresponding to the data service interface of the 3D scene in response to a modification instruction of the data service interface.
[0059] Specifically, for a constructed 3D scene, the data source corresponding to the data service interface can also be modified. When the data source changes, the data source bound to the data service interface can be modified by modifying the data service interface.
[0060] In another embodiment, the method for constructing a 3D scene in a digital twin system further includes: in response to a tag modification instruction, updating a field of data of the data service interface to which the tag is bound.
[0061] Specifically, for a constructed 3D scene, its label can also be modified to modify the type of data displayed in the 3D scene. Specifically, through a label modification instruction, the user modifies the field of the data of the data service interface bound to the label.
[0062] The method for constructing a 3D scene in a digital twin system of the present application can be achieved by Figure 2 The build system implementation shown in Figure 2 As shown, the construction system includes a 3D scene design tool (including a 3D component model library), a data source, a data service, and a digital twin business system. The method of constructing a 3D scene in a digital twin system of this application can be implemented based on the 3D scene design tool of the construction system. A 3D scene design tool refers to a tool for 3D business scene design, generally a three-dimensional modeling software. The scene design tool builds a digital scene according to the topology of the physical system, and supports setting data service interfaces for visualization primitives (3D modules), setting bound interface fields for labels in visualization primitives (to achieve accurate data mapping), and binding action response event callback methods to interface events of visualization primitives. After the scene design is completed, each scene is saved separately as a 3D visualization file.
[0063] The 3D component model library is the material for building 3D scenes. Each model is displayed by a 3D legend file (glb, svg, etc.). The main properties of each model are shown in the following table:
[0064]
[0065] In one embodiment, a method for constructing a 3D scene in a digital twin system includes the following steps:
[0066] Step 1: Design the model component library. After completing the design of the 3D legend file for each component, add the component to the component library and it can be used as a 3D graphics display unit.
[0067] Step 2: Design a digital twin scene. After dragging various components that make up the system into the 3D editor, a complete 3D visualization scene that matches the physical environment is formed. The construction of a 3D visualization scene is the basic process of building a twin digital system corresponding to the physical system. The 3D scene and the physical scene often need to be highly similar, able to feedback the system's composition and display the operating data information in the system in real time (displayed through component labels).
[0068] Step 2: Build a data service interface. The data service interface is guided by the business needs of each digital twin system. For example, for equipment monitoring, it is necessary to build a data query interface for all devices in the system. The real-time status of the device can be queried through the interface. Each service interface can provide structured data that needs to be displayed in real time in the system.
[0069] Step 3: Add different numbers of tags to the components. Each tag is bound to a field in the data interface of the corresponding component (which fields are included in a specific bound data interface is determined by the needs of the business system itself. For example, when querying the data interface of a power generation equipment, it contains values such as electric power and voltage). The tag consists of a title and a value. After the tag is bound to the field of the data interface, the value is obtained by calling the data interface at a fixed time during display, and the value of the tag is updated to provide real-time feedback on the status value information of the component.
[0070] Step 4: Configure response methods for the entire 3D scene and component primitive operation events to support application-side extended personalized display.
[0071] Step 5: Save the 3D scene, preview it, and publish it in the application.
[0072] The method of constructing a 3D scene in a digital twin system in this application combines data sources with 3D models, which has good adaptability. At the same time, by setting a callback method, it supports adding external response events to user actions in 3D scenes, greatly expanding the interactive experience of digital twin scenes.
[0073] Digital twin technology is currently used in various industries, such as the field of integrated energy. At present, integrated energy scenarios generally include source-grid-load-storage components. The entire system includes basic power facilities such as wind turbines, photovoltaics, transmission networks, substations, power loads, and energy storage. These basic power facilities can be designed as 3D components, and the basic components can be organically combined in the 3D scene editor to build a 3D scene that matches the real physical system. The collected system data can be encapsulated as a data service interface according to the components through data services, and bound in the 3D scene and refreshed in real time. In this way, the operating status of the entire integrated energy system can be monitored in real time and visualized. System maintainers do not need to be on site and can grasp the operating status of the system in real time.
[0074] Therefore, in the field of integrated energy, the use of digital twin technology can optimize energy production and distribution, improve energy utilization efficiency, and reduce operation and maintenance costs and risks. In the development of integrated energy digital systems, by creating digital models of energy systems, digital twin technology can simulate and analyze energy production processes, optimize equipment maintenance plans, reduce downtime, and improve production efficiency. In terms of energy distribution, it helps predict and respond to demand peaks, optimize power distribution, and improve the reliability and efficiency of the power grid. The specific advantages are as follows:
[0075] Improve energy utilization efficiency: Digital twin technology can monitor and analyze energy consumption in real time, discover patterns and trends in energy use, and predict future energy demand, thereby enabling better energy planning and scheduling and improving energy utilization efficiency.
[0076] Reduce operation and maintenance costs and risks: Through digital twin technology, equipment status can be monitored in real time, equipment failures can be predicted, and predictive maintenance can be performed to reduce operation and maintenance costs and production losses caused by failures. At the same time, it can also assist in safe operation training and reduce operational risks.
[0077] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0078] Based on the same inventive concept, the embodiment of the present application also provides a system for constructing a 3D scene in a digital twin system for implementing the method for constructing a 3D scene in a digital twin system involved above. The implementation scheme for solving the problem provided by the system is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more system embodiments for constructing a 3D scene in a digital twin system provided below can be found in the above limitations on the method for constructing a 3D scene in a digital twin system, which will not be repeated here.
[0079] In one embodiment, Figure 3 As shown, a system for constructing a 3D scene in a digital twin system is provided, including:
[0080] The composition module 302 is used to respond to the scene design operation, combine target components, and construct a 3D scene graph that matches the physical scene.
[0081] The interface construction module 304 is used to construct a data service interface of the 3D scene according to the data source corresponding to each component in the 3D scene graph.
[0082] The label setting module 306 is used to set the label of the 3D scene according to the data information of the data source corresponding to the data service interface, and the label is bound to at least one field of the data of the data service interface; the label includes a title and a value.
[0083] The storage module 308 is used to construct a model component of the corresponding 3D scene according to the information of the 3D scene, wherein the information of the 3D scene includes the 3D scene graph, the data service interface and the label.
[0084] In another embodiment, the information of the 3D scene further includes: a response event callback method of the 3D scene.
[0085] The system for constructing a 3D scene in a digital twin system also includes a configuration module for obtaining a response event callback method of the 3D scene in response to a response event configuration specification.
[0086] In another embodiment, the system for constructing a 3D scene in a digital twin system further includes a configuration module for publishing the 3D scene to a specified digital twin system in response to a publishing designation.
[0087] In another embodiment, the system for constructing a 3D scene in a digital twin system further includes a calling module for calling a data service interface of the 3D scene in the digital twin system, obtaining data corresponding to the tag from the data source, and refreshing the tag of the 3D scene.
[0088] In another embodiment, the system for constructing a 3D scene in a digital twin system further includes a display module for responding to a callback event and displaying the 3D scene in the digital twin system according to the callback event response method.
[0089] In another embodiment, the system for constructing a 3D scene in a digital twin system further includes an update instruction for updating a data source corresponding to the data service interface of the 3D scene in response to a modification instruction of the data service interface, and for updating a field of data of the data service interface to which the tag is bound in response to a tag modification instruction.
[0090] Each module in the system for constructing a 3D scene in the digital twin system can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each of the above modules.
[0091] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 4 As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected by a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a method for constructing a 3D scene in a digital twin system is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a button, a trackball or a touchpad provided on the housing of the computer device, or an external keyboard, touchpad or mouse, etc.
[0092] Those skilled in the art will understand that Figure 4 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0093] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the steps of the method for constructing a 3D scene in a digital twin system in the above-mentioned embodiments are implemented.
[0094] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for constructing a 3D scene in a digital twin system in the above-mentioned embodiments are implemented.
[0095] In one embodiment, a computer program product is provided, including a computer program, which, when executed by a processor, implements the steps of the method for constructing a 3D scene in a digital twin system in the above-mentioned embodiments.
[0096] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0097] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0098] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for constructing a 3D scene in a digital twin system, characterized in that: The method comprises: In response to the scene design operation, the target components are combined to construct a 3D scene graph matching the physical scene; Constructing a data service interface for the 3D scene based on the data sources corresponding to the components in the 3D scene graph; According to the data information of the data source corresponding to the data service interface, a label of the 3D scene is set, wherein the label is bound to at least one field of the data of the data service interface; the label includes a title and a value; A model component of the corresponding 3D scene is constructed according to the information of the 3D scene, wherein the information of the 3D scene includes the 3D scene graph, the data service interface and the label.
2. The method according to claim 1, characterized in that The information of the 3D scene also includes: a response event callback method of the 3D scene; The method further comprises: In response to the response event configuration specification, a response event callback method of the 3D scene is obtained.
3. The method according to claim 1 or 2, characterized in that: The method further comprises: In response to the publishing designation, the 3D scene is published to the specified digital twin system.
4. The method according to claim 3, characterized in that The method further comprises: In the digital twin system, the data service interface of the 3D scene is called to obtain data corresponding to the tag from the data source, and the tag of the 3D scene is refreshed.
5. The method according to claim 2, characterized in that: The method further comprises: In response to the callback event, the 3D scene is displayed in the digital twin system according to the callback event response method.
6. The method according to claim 1, characterized in that The method further comprises: In response to the modification instruction of the data service interface, the data source corresponding to the data service interface of the 3D scene is updated.
7. The method according to claim 1 or 6, characterized in that: The method further comprises: In response to the tag modification instruction, the field of the data of the data service interface bound to the tag is updated.
8. A system for constructing a 3D scene in a digital twin system, characterized in that: The system comprises: A composition module, for responding to scene design operations, combining target components, and constructing a 3D scene graph that matches the physical scene; An interface construction module, used to construct a data service interface of the 3D scene according to the data source corresponding to each component in the 3D scene graph; A label setting module, used to set a label of the 3D scene according to data information of the data source corresponding to the data service interface, wherein the label is bound to at least one field of the data of the data service interface; the label includes a title and a value; The storage module is used to construct a model component of the corresponding 3D scene according to the information of the 3D scene, wherein the information of the 3D scene includes the 3D scene graph, the data service interface and the label.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.