Digital twin system, method, device and storage medium based on pixel flow
By using a pixel-stream-based digital twin system, the interaction between 3D scenes and front-end web pages was achieved, solving the problem of high construction costs for digital twin systems, promoting the integration and deployment of digital twin technology with existing systems, and reducing construction costs.
Patent Information
- Application Number
- CN202410893004.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-04
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2044-07-04
AI Technical Summary
The high cost of building digital twin systems and their difficulty in coexisting with existing digital systems lead to increased costs during the promotion of digital twin technology.
A pixel-stream-based digital twin system is adopted, including a data management module, a 3D scene module, and a front-end webpage module. It pushes 3D models and data through pixel-stream to achieve linkage between the 3D scene and the front-end webpage, and supports the integration and deployment of existing digital systems.
It reduces the construction cost of digital twin systems, facilitates the integration and deployment of digital twin technology with existing systems, and promotes the widespread application of digital twin technology.
Smart Images

Figure CN118429589B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of digital twins and relates to a digital twin system, method, device and storage medium based on pixel flow. Background Art
[0002] Digital twin technology, characterized by the comprehensive integration of models, perception, location, interaction and artificial intelligence technologies, is entering a stage of large-scale integration and fusion. Digital twin systems have been widely used in industrial manufacturing, architectural design, urban planning, aerospace, transportation and electricity, and have the advantages of improving efficiency, reducing production costs, optimizing decision-making and improving user experience.
[0003] The creation of a digital twin system mainly includes a series of complex processes such as data collection, 3D modeling, simulation analysis, optimization and improvement, and 3D visualization. Therefore, the cost of building a digital twin system is high, requiring a large investment of manpower, material resources, and financial resources. The cost of a digital twin system is often related to the scale and complexity of the application scenario. Large-scale construction of digital twin systems will inevitably increase the cost of project construction. At the same time, digital transformation cannot be achieved overnight, and the existing digital system cannot be completely abandoned. Therefore, in the process of promoting digital twin technology, how to effectively reduce the construction cost of the digital twin system and coordinate the coexistence of the digital twin system with the existing digital system has become an urgent problem to be solved. Summary of the invention
[0004] The purpose of the present invention is to overcome the shortcomings of the above-mentioned prior art and provide a digital twin system, method, device and storage medium based on pixel flow.
[0005] In order to achieve the above object, the present invention adopts the following technical solutions:
[0006] According to a first aspect of the present invention, a digital twin system based on pixel stream is provided, comprising a data management module, a three-dimensional scene module and a front-end web page module; the data management module is used to obtain and process business scenario operation data, obtain the operation data processing results and send them to the front-end web page module; the three-dimensional scene module is used to construct a business scenario three-dimensional model, set a trigger response event for the business scenario three-dimensional model, and push the business scenario three-dimensional model to the front-end web page module in the form of a pixel stream; wherein the trigger response event is used to respond to a trigger instruction to perform a preset operation on the business scenario three-dimensional model, and push the business scenario three-dimensional model after the preset operation to the front-end web page module in the form of a pixel stream; the front-end web page module is used to obtain the trigger instruction and send it to the three-dimensional scene module, and visually display the operation data processing results and the business scenario three-dimensional model pushed in the form of a pixel stream in the form of a front-end web page.
[0007] Optionally, the data management module includes a data access module, a rule engine module and a data processing module; the rule engine module is used to preset parsing protocol packages and data processing rules; the data access module is used to obtain business scenario operation data, and parse the data by calling the parsing protocol package preset in the rule engine module to obtain parsed data, and send the parsed data to the data processing module; the data processing module is used to receive the parsed data, and process the data by calling the data processing rules preset in the rule engine module, obtain the operation data processing results and send them to the front-end web page module.
[0008] Optionally, the data management module also includes an auxiliary module; the auxiliary module is used to modify the preset parsing protocol package and data processing rules; and to modify the configuration parameters of the data access module, rule engine module, data processing module, three-dimensional scene module and front-end web page module; and to obtain account login information and verify it.
[0009] Optionally, the three-dimensional scene module is specifically used to: obtain the three-dimensional model of each facility in the business scene and the scene map of the business scene, and according to the geographic information system information of the business scene, integrate the three-dimensional model of each facility in the business scene into the scene map of the business scene through the rendering engine to obtain the three-dimensional model of the business scene; set a trigger response event for the three-dimensional model of the business scene through the rendering engine; call the pixel stream plug-in in the rendering engine, and push the three-dimensional model of the business scene to the front-end web page module in the form of pixel stream through the pixel stream plug-in.
[0010] Optionally, the three-dimensional scene module is also used to: set skeletal animation for the business scene three-dimensional model through a rendering engine according to business requirements of the business scene; and call the business scene running data in the data management module to drive the playback of the skeletal animation.
[0011] Optionally, when visually displaying the business scenario operation data in the form of a front-end web page, the business scenario operation data is visually displayed in the form of a hierarchical function menu and several types of data cards according to business needs.
[0012] Optionally, the trigger response event is a mouse and keyboard trigger response event; the front-end web page module sends the trigger instruction to the three-dimensional scene module based on the WebSocket protocol, and visualizes the three-dimensional model of the business scene pushed in the form of pixel stream based on the webRTC protocol, and obtains the operation data processing results based on the JSON format and HTTP protocol.
[0013] In a second aspect, the present invention provides a pixel stream-based digital twin method based on the above-mentioned pixel stream-based digital twin system, including: obtaining and processing business scenario operation data through a data management module, obtaining data processing results and sending the data processing results to a front-end web page module; constructing a business scenario three-dimensional model through a three-dimensional scene module, setting a trigger response event for the business scenario three-dimensional model, and pushing the business scenario three-dimensional model to the front-end web page module in a pixel stream manner; wherein the trigger response event is used to respond to a trigger instruction to perform a preset operation on the business scenario three-dimensional model, and pushing the business scenario three-dimensional model after the preset operation to the front-end web page module in a pixel stream manner; obtaining a trigger instruction through the front-end web page module and sending it to the three-dimensional scene module, and visually displaying the business scenario operation data and the business scenario three-dimensional model pushed in a pixel stream manner in the form of a front-end web page.
[0014] According to a third aspect of the present invention, a computer device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned pixel flow-based digital twin method when executing the computer program.
[0015] According to a fourth aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned pixel flow-based digital twin method are implemented.
[0016] Compared with the prior art, the present invention has the following beneficial effects:
[0017] The digital twin system based on pixel stream of the present invention obtains and processes the business scenario operation data through the data management module to realize the access of the business scenario operation data, constructs the business scenario three-dimensional model through the three-dimensional scene module, and sets the trigger response event for the business scenario three-dimensional model, and then pushes the business scenario three-dimensional model to the front-end web page module in the form of pixel stream, and realizes the visual display of the operation data processing result and the business scenario three-dimensional model through the front-end web page module. At the same time, the trigger instruction is obtained through the front-end web page module and sent to the three-dimensional scene module. After receiving the trigger instruction, the three-dimensional scene module triggers the preset trigger response event, performs the preset operation on the business scenario three-dimensional model, and pushes the business scenario three-dimensional model after the preset operation to the front-end web page module in the form of pixel stream to realize the linkage between the three-dimensional scene module and the front-end web page module. The business scenario operation data and the business scenario three-dimensional model are integrated into the front-end web page. One business scenario corresponds to one front-end web page. When the existing digital system integrates the digital twin business scenario, it only needs to call the uniform resource locator of the corresponding web page, which is convenient for the integration and deployment between the digital system and the digital twin system. In addition, the digital twin front-end web page of the corresponding business scenario can be built as needed, which can give full play to the role of digital twins, help promote digital twin technology, and save the construction cost of digital twins. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 This is a structural block diagram of a digital twin system based on pixel flow according to an embodiment of the present invention.
[0019] Figure 2 This is a flow chart of a digital twin method based on pixel flow according to an embodiment of the present invention. DETAILED DESCRIPTION
[0020] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0021] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0022] The present invention is further described in detail below in conjunction with the accompanying drawings:
[0023] See also Figure 1 In one embodiment of the present invention, a digital twin system based on pixel flow is provided to realize the web-based digital twin, which can be flexibly and conveniently integrated and merged with existing digital systems, which is conducive to the promotion and application of digital twin technology. At the same time, digital twins based on business scenarios can also effectively reduce the cost of digital twins.
[0024] Specifically, the digital twin system based on pixel stream of the present invention includes a data management module, a three-dimensional scene module and a front-end webpage module. Among them, the data management module is used to obtain and process the business scenario operation data, obtain the operation data processing results and send them to the front-end webpage module; the three-dimensional scene module is used to build a business scenario three-dimensional model, set a trigger response event for the business scenario three-dimensional model, and push the business scenario three-dimensional model to the front-end webpage module in the form of pixel stream; wherein, the trigger response event is used to respond to the trigger instruction to perform a preset operation on the business scenario three-dimensional model, and push the business scenario three-dimensional model after the preset operation to the front-end webpage module in the form of pixel stream; the front-end webpage module is used to obtain the trigger instruction and send it to the three-dimensional scene module, and visually display the operation data processing results and the business scenario three-dimensional model pushed in the form of pixel stream in the form of the front-end webpage.
[0025] The digital twin system based on pixel stream of the present invention obtains and processes the business scenario operation data through the data management module to realize the access of the business scenario operation data, constructs the business scenario three-dimensional model through the three-dimensional scene module, and sets the trigger response event for the business scenario three-dimensional model, and then pushes the business scenario three-dimensional model to the front-end web page module in the form of pixel stream, and realizes the visual display of the operation data processing result and the business scenario three-dimensional model through the front-end web page module. At the same time, the trigger instruction is obtained through the front-end web page module and sent to the three-dimensional scene module. After receiving the trigger instruction, the three-dimensional scene module triggers the preset trigger response event, performs the preset operation on the business scenario three-dimensional model, and pushes the business scenario three-dimensional model after the preset operation to the front-end web page module in the form of pixel stream to realize the linkage between the three-dimensional scene module and the front-end web page module. The business scenario operation data and the business scenario three-dimensional model are integrated into the front-end web page. One business scenario corresponds to one front-end web page. When the existing digital system integrates the digital twin business scenario, it only needs to call the uniform resource locator of the corresponding web page, which is convenient for the integration and deployment between the digital system and the digital twin system. In addition, the digital twin front-end web page of the corresponding business scenario can be built as needed, which can give full play to the role of digital twins, help promote digital twin technology, and save the construction cost of digital twins.
[0026] In a possible implementation, the data management module includes a data access module, a rule engine module and a data processing module; the rule engine module is used to preset parsing protocol packages and data processing rules; the data access module is used to obtain business scenario operation data, and parse the data by calling the parsing protocol package preset in the rule engine module to obtain parsed data, and send the parsed data to the data processing module; the data processing module is used to receive the parsed data, and process the data by calling the data processing rules preset in the rule engine module, obtain the operation data processing results and send them to the front-end web page module.
[0027] Specifically, the preset parsing protocol package is usually determined by the specific business scenario. The business scenario operation data usually refers to the operation data of various devices in the business scenario, which are generally transmitted using multiple communication protocols. According to the actual situation of the business scenario, the parsing protocol packages of various protocols are pre-set in the rule engine module. In this implementation, the parsing protocol packages of TCP (Transmission Control Protocol), UDP (User Datagram Protocol), HTTP (Hypertext Transfer Protocol) and MQTT (Message Queue Telemetry Transport) protocols are integrated.
[0028] The data access module communicates data with various devices and other business systems through the TCP protocol. After receiving the business scenario operation data, it calls the corresponding parsing protocol package in the preset parsing protocol package to perform data parsing according to the protocol type of the business scenario operation data.
[0029] The data processing module can obtain the parsed data uploaded by the data access module through the publish / subscribe model and process it according to the business needs of the business scenario. Among them, the processing specifically includes data storage, data forwarding, alarm notification, and device control. At the same time, the processed data can also be sent to the corresponding terminal users, including message queues, databases, front-end web pages, three-dimensional scenes, and various devices. The processing method is obtained by calling the corresponding data processing rules according to the type of parsed data.
[0030] Among them, data storage is based on defined data types, data values and corresponding tables in the database. Alarm notification is to monitor various types of data exceeding the threshold or the arrival of alarm data sent by various devices, and notify the defined notifier based on the defined notification method according to the preset alarm notification business rules. Data forwarding is forwarding to other business systems defined by business rules. Equipment control is achieved by issuing command data pre-defined by business personnel to the equipment.
[0031] In one possible implementation, the data management module also includes an auxiliary module; the auxiliary module is used to modify the preset parsing protocol package and data processing rules; and to modify the configuration parameters of the data access module, rule engine module, data processing module, three-dimensional scene module and front-end web page module; and to obtain account login information and verify it.
[0032] Specifically, the auxiliary module uses a friendly user interface to manage the preset parsing protocol packages and data processing rules, as well as the configuration parameters of the data access module, rule engine module, data processing module, 3D scene module and front-end webpage module, making it easier for business personnel to manage and use. At the same time, the security of the system is ensured by obtaining account login information and verifying it.
[0033] In one possible implementation, the three-dimensional scene module is specifically used to: obtain the three-dimensional model of each facility in the business scene and the scene map of the business scene, and according to the geographic information system information of the business scene, integrate the three-dimensional model of each facility in the business scene into the scene map of the business scene through a rendering engine to obtain a three-dimensional model of the business scene; set a trigger response event for the three-dimensional model of the business scene through the rendering engine; call the pixel stream plug-in in the rendering engine, and push the three-dimensional model of the business scene to the front-end web page module in the form of pixel stream through the pixel stream plug-in.
[0034] Specifically, the scene map of the business scene is obtained and converted into a data format supported by the rendering engine. Based on drawings, photos, on-site surveying and mapping information, and point cloud data, a three-dimensional model of each facility in the business scene, such as buildings, facilities, equipment, and components, is produced.
[0035] According to the geographic information system information of the business scenario, the longitude, latitude and elevation information of the scene map of the business scenario is obtained, and based on the longitude, latitude and elevation information of the scene map of the business scenario, UE (Unreal Engine, a rendering engine developed by Epic Games) or UNITY (a multi-platform game development engine developed by Unity Technologies) is used to integrate the three-dimensional models of various facilities in the business scenario into the scene map of the business scenario, thereby realizing the construction of a three-dimensional model of the business scenario.
[0036] Among them, integrating the 3D models of various facilities in the business scene into the scene map of the business scene includes:
[0037] (1) There are multiple 3D models of facilities in the business scenario, specifically A, B, C, …, and S, and the 3D models of each facility have the same local coordinate system, whose origin is O (0, 0, 0). Each vertex of the irregular 3D model is extracted, and the weighted average of all vertices is used as its several central coordinate values, which are used as the characteristic coordinates of the 3D model. The characteristic coordinate value of each 3D model is A (x a ,y a , z a ), B(x b ,y b , z b ), C(x c ,y c , z c ), …, and S(x s ,y s , z s ); and calculate the distance deviation between the coordinates of each 3D model and the origin , and .
[0038] (2) The spatial relationship of the three-dimensional models in the local coordinate system is determined by measuring the relative positions of the three-dimensional models. In the local coordinate system, the intersection of the three coordinate axes X, Y, and Z is used to determine different planes. The X and Z axes determine the M plane, the X and Y axes determine the N plane, and the Y and Z axes determine the P plane.
[0039] (3) Project the spatial points A and B onto different projection planes M, N, and P to generate the projection points of the M plane respectively. and 、N surface projection points and And the projection point of P surface and , calculate the coordinate size of each projection point, generate the distance deviation, and obtain the relative positions of different 3D models by comparing the same-plane projections.
[0040] (4) Input any 3D model into the GIS space of the business scenario's scene map, determine the initial position of the 3D model on the geoid, and make it highly consistent with the ground model of the 3D geographic scene in the GIS space through operations such as movement and rotation. In this process, the relative initial position, the resulting rotation angle and offset are recorded in detail. The first 3D model imported into the GIS space is used as the reference model, and other 3D models are rotated and offset according to the rotation angle and offset, completing the automatic matching of all 3D models with the 3D geographic scene surface model of the business scenario's scene map.
[0041] Specifically, trigger response events are set for the three-dimensional model of the business scene through the rendering engine. In this implementation, mouse and keyboard events are used as trigger response events, including moving in, moving out, pressing, releasing, double-clicking, right button and scroll wheel of the mouse, and pressing A, W, S, D, E, Q and ESC on the keyboard, and corresponding preset operations are set for different mouse and keyboard events, so that corresponding operations can be performed on the three-dimensional model of the business scene after being triggered.
[0042] In this implementation, a trigger response event of a business scene three-dimensional model is developed on the UE5 platform, and the project program in the rendering engine is packaged. By modifying the running parameters of the program startup: -AudioMixer-PixelStreamingIP=localhost-PixelStreamingPort=3888-game-server-log-noLoadingScreen-RenderOffScreen-ForceRes-ResX=1920-ResY=1080, the pixel stream plug-in in the rendering engine is called, and the business scene three-dimensional model is pushed in the form of pixel stream.
[0043] In a possible implementation, the three-dimensional scene module is also used to: set skeletal animation for the business scene three-dimensional model through a rendering engine according to business requirements of the business scene; and call the business scene running data in the data management module to drive the playback of the skeletal animation.
[0044] Specifically, according to business needs, skeletal animation is produced based on the three-dimensional model of the business scene, and the playback sequence of the skeletal animation is driven by setting an animation listener to monitor the relevant data in the business scene operation data in the data management module.
[0045] In a possible implementation, when the business scenario operation data is visually displayed in the form of a front-end web page, the business scenario operation data is visually displayed in the form of a hierarchical function menu and several types of data cards according to business needs.
[0046] Specifically, the front-end webpage can be developed using the VUE framework. When the business scenario operation data is displayed visually in the form of a front-end webpage, it can be divided into a first-level menu, a second-level menu, and a third-level menu according to business needs to achieve hierarchical display. Various data cards can be composed of a scenario overview, monitoring indicators, and related operation information to fully display the operation status of the business scenario.
[0047] In one possible implementation, the front-end web page module sends a trigger instruction to the three-dimensional scene module based on the WebSocket protocol, and visualizes the three-dimensional model of the business scene pushed in a pixel stream manner based on the webRTC protocol, and obtains the operation data processing results based on the JSON format and HTTP protocol.
[0048] Among them, WebSocket is a network communication protocol that provides a channel for full-duplex communication on a single TCP connection. The webRTC protocol is a technology that supports web browsers for real-time voice or video conversations. The JSON format is a lightweight data exchange format that is easy for people to read and write, and is also easy for machines to parse and generate. The HTTP protocol is an application layer protocol used to transmit hypertext and other data on the World Wide Web.
[0049] The front-end web page that visualizes the running data processing results and the business scenario 3D model pushed in pixel streaming mode is a published Web server application. By clicking the button on the front-end web page (i.e. obtaining the trigger instruction), the trigger instruction is sent to the 3D scene module, thereby realizing the linkage between the 3D scene module and the front-end web page module.
[0050] See also Figure 2 In another embodiment of the present invention, a digital twin method based on pixel flow is provided, which can be implemented based on the above-mentioned digital twin method system based on pixel flow.
[0051] Specifically, the digital twin method based on pixel flow includes the following steps:
[0052] S1: Obtain and process the business scenario operation data through the data management module, obtain the data processing results and send the data processing results to the front-end web page module;
[0053] S2: constructing a business scenario three-dimensional model through a three-dimensional scene module, setting a trigger response event for the business scenario three-dimensional model, and pushing the business scenario three-dimensional model to the front-end webpage module in a pixel stream manner; wherein the trigger response event is used to respond to a trigger instruction to perform a preset operation on the business scenario three-dimensional model, and pushing the business scenario three-dimensional model after the preset operation to the front-end webpage module in a pixel stream manner;
[0054] S3: Obtain trigger instructions through the front-end web page module and send them to the three-dimensional scene module, and visualize the business scene operation data and the business scene three-dimensional model pushed in the form of pixel stream in the form of a front-end web page.
[0055] The division of modules in the embodiments of the present invention is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional module in each embodiment of the present invention may be integrated into one processor, or may exist physically separately, or two or more modules may be integrated into one module. The above-mentioned integrated modules may be implemented in the form of hardware or in the form of software functional modules.
[0056] In another embodiment of the present invention, a computer device is provided, which includes a processor and a memory, the memory is used to store a computer program, the computer program includes program instructions, and the processor is used to execute the program instructions stored in the computer storage medium. The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc., which are the computing core and control core of the terminal, which are suitable for implementing one or more instructions, and are specifically suitable for loading and executing one or more instructions in a computer storage medium to implement the corresponding method flow or corresponding functions; the processor described in the embodiment of the present invention can be used for the operation of the digital twin method based on pixel flow.
[0057] In another embodiment of the present invention, the present invention also provides a storage medium, specifically a computer-readable storage medium (Memory), which is a memory device in a computer device for storing programs and data. It is understandable that the computer-readable storage medium here may include both a built-in storage medium in a computer device and an extended storage medium supported by the computer device. The computer-readable storage medium provides a storage space, which stores the operating system of the terminal. In addition, one or more instructions suitable for being loaded and executed by a processor are also stored in the storage space, and these instructions may be one or more computer programs (including program codes). It should be noted that the computer-readable storage medium here may be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory. The processor may load and execute one or more instructions stored in the computer-readable storage medium to implement the corresponding steps of the digital twin method based on pixel flow in the above embodiment.
[0058] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented 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.
[0059] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0060] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0061] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0062] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A digital twin system based on pixel flow, characterized in that: Including data management module, 3D scene module and front-end web page module; The data management module is used to obtain and process the business scenario operation data, obtain the operation data processing results and send them to the front-end web page module; The three-dimensional scene module is used to construct a three-dimensional model of a business scene, set a trigger response event for the three-dimensional model of the business scene, and push the three-dimensional model of the business scene to the front-end webpage module in the form of a pixel stream; wherein the trigger response event is used to respond to a trigger instruction to perform a preset operation on the three-dimensional model of the business scene, and push the three-dimensional model of the business scene after the preset operation to the front-end webpage module in the form of a pixel stream; The front-end webpage module is used to obtain trigger instructions and send them to the 3D scene module, as well as to visualize the operation data processing results and the 3D model of the business scene pushed in the form of pixel stream in the form of front-end webpage; The three-dimensional scene module is specifically used for: Obtain the three-dimensional model of each facility in the business scene and the scene map of the business scene, and according to the geographic information system information of the business scene, fuse the three-dimensional model of each facility in the business scene into the scene map of the business scene through the rendering engine to obtain the three-dimensional model of the business scene; Set trigger response events for business scenario 3D models through the rendering engine; Call the pixel stream plug-in in the rendering engine, and push the business scenario 3D model to the front-end webpage module in the form of pixel stream through the pixel stream plug-in; The three-dimensional scene module is also used for: According to the business needs of the business scenario, the skeletal animation is set for the 3D model of the business scenario through the rendering engine; and the business scenario in the data management module is called to run the data-driven skeletal animation playback; The trigger response event is a mouse and keyboard trigger response event; The data management module includes a data access module, a rule engine module and a data processing module; The rule engine module is used to preset parsing protocol packets and data processing rules; The data access module is used to obtain business scenario operation data, and obtain parsed data by calling the parsing protocol package preset in the rule engine module, and send the parsed data to the data processing module; The data processing module is used to receive the parsed data and process it by calling the data processing rules preset in the rule engine module, obtain the running data processing results and send them to the front-end webpage module; The data management module also includes an auxiliary module; the auxiliary module is used to modify the preset parsing protocol package and data processing rules; and modify the configuration parameters of the data access module, the rule engine module, the data processing module, the three-dimensional scene module and the front-end webpage module; and obtain account login information and verify it; When the business scenario operation data is visually displayed in the form of a front-end web page, the business scenario operation data is visually displayed in the form of a hierarchical function menu and several types of data cards according to business needs; The front-end web page module sends the trigger instruction to the three-dimensional scene module based on the WebSocket protocol, and visualizes the three-dimensional model of the business scene pushed in the form of pixel stream based on the webRTC protocol, and obtains the operation data processing results based on the JSON format and HTTP protocol.
2. A digital twin method based on pixel flow based on the digital twin system based on pixel flow according to claim 1, characterized in that: include: Obtain and process the business scenario operation data through the data management module, obtain the data processing results and send the data processing results to the front-end web page module; A business scenario three-dimensional model is constructed through a three-dimensional scene module, and a trigger response event is set for the business scenario three-dimensional model, and the business scenario three-dimensional model is pushed to the front-end web page module in a pixel stream manner; wherein the trigger response event is used to respond to a trigger instruction to perform a preset operation on the business scenario three-dimensional model, and the business scenario three-dimensional model after the preset operation is pushed to the front-end web page module in a pixel stream manner; The trigger instruction is obtained through the front-end web page module and sent to the three-dimensional scene module, and the business scene operation data and the business scene three-dimensional model pushed in the form of pixel stream are visualized in the form of the front-end web page.
3. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the digital twin method based on pixel flow as claimed in claim 2 are implemented.
4. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the digital twin method based on pixel flow as claimed in claim 2 are implemented.
