Data processing method and device based on digital twinning and electronic equipment
By integrating the three-dimensional data twin applications into configuration software components, the problem that traditional configuration software cannot meet the complex information display needs is solved, and the three-dimensional image display of the process flow is realized, reducing development costs and code intrusion.
Patent Information
- Application Number
- CN202310945043.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-28
- Publication Date
- 2025-02-18
AI Technical Summary
Traditional configuration software cannot meet the needs of complex information display, especially with the development of intelligent manufacturing technology, it is difficult to integrate three-dimensional digital twin applications to achieve three-dimensional image display.
By integrating the three-dimensional data twin application into the configuration software as a component, the configuration software is used to obtain the pending data, determine the properties of the three-dimensional digital twin application components, and perform three-dimensional image display based on the data display information.
It realizes three-dimensional image display of process flow in configuration software, meets the needs of complex information display, and reduces development costs and code intrusion.
Smart Images

Figure CN119473276A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of cloud intelligence technology, and in particular to a data processing method, device and electronic device based on digital twins. Background Art
[0002] Configuration software, also known as configuration monitoring software system, refers to the software used for data acquisition and process control in industrial automation. It is a general-level software tool that provides users with the ability to quickly build monitoring functions for industrial automatic control systems. Configuration software is widely used in many fields such as machinery, automobiles, petroleum, chemicals, papermaking, water treatment, and process control.
[0003] In traditional industrial control systems, due to the limited performance and development cost of running configuration software, most process flow screens in configuration software are displayed through two-dimensional images. With the development of intelligent manufacturing technology and the upgrading of factory hardware equipment in recent years, traditional configuration software can no longer meet the increasingly complex information display needs. Summary of the invention
[0004] The embodiments of the present application provide a data processing method, device and electronic device based on digital twins, which integrate the three-dimensional data twin application into the configuration software in the form of components, so that the configuration software can realize the three-dimensional image display of the process flow through the three-dimensional digital twin application components to meet the complex information display requirements of the configuration software.
[0005] In a first aspect, an embodiment of the present application provides a data processing method based on digital twins, including:
[0006] Use configuration software to obtain data to be processed;
[0007] Determine the properties of the three-dimensional digital twin application component corresponding to the data to be processed; the three-dimensional digital twin application component is pre-added to the configuration software;
[0008] Based on the data to be processed, the display information of the attributes is determined, and based on the display information, the process flow is displayed through a three-dimensional image in the three-dimensional digital twin application component.
[0009] In a second aspect, an embodiment of the present application provides a data processing device based on digital twins, including:
[0010] The data acquisition module is used to acquire the data to be processed by using the configuration software; the configuration software displays the screen in the component through a two-dimensional image;
[0011] A first determination module is used to determine the properties of the three-dimensional digital twin application component corresponding to the data to be processed; the three-dimensional digital twin application component is pre-added to the configuration software;
[0012] The second determination module is used to determine the display information of the attribute according to the data to be processed, and display it through a three-dimensional image in the three-dimensional digital twin application component.
[0013] In a third aspect, an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory, wherein the processor implements any of the above methods when executing the computer program.
[0014] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, any of the above methods is implemented.
[0015] Compared with the prior art, this application has the following advantages:
[0016] The present application provides a data processing method, device and electronic device based on digital twins. First, the data to be processed is obtained by using configuration software; second, the attributes of the three-dimensional digital twin application component corresponding to the data to be processed are determined; the three-dimensional digital twin application component is pre-added to the configuration software; finally, the display information of the attribute is determined according to the data to be processed, and the process flow is displayed through a three-dimensional image in the three-dimensional digital twin application component according to the display information. In the embodiment of the present application, the three-dimensional data twin application is integrated into the configuration software in the form of a component, so that the configuration software can realize the three-dimensional image display of the process flow through the three-dimensional digital twin application component to meet the complex information display requirements of the configuration software, without increasing the development cost of the configuration software, and the code is less invasive.
[0017] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the multiple drawings represent the same or similar parts or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings only depict some embodiments according to the present application and should not be regarded as limiting the scope of the present application.
[0019] Figure 1 A schematic diagram of an application scenario provided for this application;
[0020] Figure 2 This is a flow chart of a data processing method based on digital twins according to an embodiment of the present application;
[0021] Figure 3A schematic diagram of a component container according to an embodiment of the present application;
[0022] Figure 4 A structural block diagram of a data processing device based on digital twins according to an embodiment of the present application; and
[0023] Figure 5 A block diagram of an electronic device used to implement an embodiment of the present application. DETAILED DESCRIPTION
[0024] In the following, only some exemplary embodiments are briefly described. As those skilled in the art will appreciate, the described embodiments may be modified in various ways without departing from the concept or scope of the present application. Therefore, the drawings and descriptions are considered to be exemplary in nature and not restrictive.
[0025] To facilitate understanding of the technical solutions of the embodiments of the present application, the following describes the related technologies of the embodiments of the present application. The following related technologies can be combined with the technical solutions of the embodiments of the present application as optional solutions, and they all belong to the protection scope of the embodiments of the present application.
[0026] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0027] Three-dimensional digital twin applications have the advantages of multi-angle observation, high information density, and high visualization, but they are difficult to integrate in configuration software. Especially in industrial scenarios, the demand for data display is highly different. How to integrate three-dimensional digital twin applications in configuration software has always been a difficult problem. In order to achieve the integration of digital twin applications and configuration software, in related technologies, the integration of three-dimensional digital twin applications and configuration software is achieved by embedding a framework (iframe). Frame embedding is a page integration solution provided by the browser. Digital twin applications need to apply for a server, obtain a domain name or Internet Protocol (IP) address, publish it online, and then integrate it into the configuration software after publishing it on the network. In this case, when the digital twin application and the configuration software communicate, they are independent websites, and the framework needs to be bridged. The code is highly invasive and the cost is high. Moreover, the integration method of framework embedding has problems such as long white screen time and inability to respond to global interaction, which affects the user experience. In another related technology, the development of functions such as data access, control, and data display components of the configuration software is completed on the digital twin application side through customized development, which requires high delivery and construction costs, high complexity, and a long R&D cycle.
[0028] In view of this, the present application provides a data processing method based on digital twins. Figure 1 This is a schematic diagram of an application scenario of the technical solution of this application. In this embodiment, the terminal device is used as the execution subject for introduction. The configuration software runs in the terminal device. The configuration software includes two parts: a designer and a runner. In the designer, the construction, configuration, interaction, and data binding of the configuration screen can be visualized according to the user's drag and drop instructions. The runner displays the final construction screen to the user, and responds to the data pushed by the server in real time, constantly changing the text, color, and position in the screen, or helping the user to achieve reverse control. Figure 1 As shown, the following steps are included:
[0029] (1) After the developer develops the program code of the digital twin application, the digital twin application is published as a code package through a code package manager, such as a Node Package Manager (NPM) software package, and the terminal device receives the code package through the designer of the configuration software.
[0030] (2) Register the 3D digital twin application component in the designer of the configuration software and introduce the code package of the 3D digital twin application.
[0031] (3) Create a component container and configure a data parser in the component container according to the requirements of the 3D digital twin application (e.g., data format requirements, etc.), that is, configure data parsing rules, including format parsing rules and location mapping rules. The format parsing rules are used to parse the data to be processed received by the configuration software into the data format corresponding to the 3D digital twin application component; the location mapping rules are used to map the data to be processed after the data format conversion to the corresponding attributes of the 3D digital twin application component.
[0032] (4) Perform visual configuration of the 3D digital twin application component in the designer canvas according to the user's operating instructions and perform persistent storage. The visual configuration of the 3D digital twin application component includes configuring the display style of the 3D digital twin application component in the configuration software, such as width, height, position, border, background color and other information.
[0033] (5) The terminal device parses the screen file of the configuration software, renders the three-dimensional digital twin application components, and extracts the data points of the component attributes, such as the output of device A.
[0034] (6) The terminal device determines the attributes of the three-dimensional digital twin application component corresponding to the data to be processed sent by the server received by the configuration software, and sends the data to be processed to the corresponding attributes.
[0035] (7) The terminal device parses the data to be processed through the data parser and converts it into display information of the three-dimensional digital twin application component. The process flow screen in the three-dimensional digital twin application component is displayed according to the display information, for example, changing the value, position, animation, etc.
[0036] In this embodiment, through the "component container + online code package" model, the three-dimensional digital twin application can be integrated by the configuration software without the need for an independent deployment server, while avoiding the user experience and event communication problems brought by the framework. Through the component container design, the three-dimensional digital twin application developer only needs to focus on the logic of the three-dimensional digital twin application itself, and does not need to pay attention to how the three-dimensional digital twin application interacts with the configuration software, reducing the workload of the integration work. Integrating the three-dimensional data twin application into the configuration software in the form of a component can enable the configuration software to realize the three-dimensional image display of the process flow through the three-dimensional digital twin application component to meet the complex information display requirements of the configuration software, without increasing the development cost of the configuration software, and the code is less invasive.
[0037] The present application embodiment provides a data processing method based on digital twins. The method in this embodiment can be applied to a computing device, which may include: a terminal device, etc. Figure 2 The flowchart of the data processing method based on digital twins according to an embodiment of the present application is shown, and the method includes:
[0038] Step S201, using configuration software to obtain data to be processed.
[0039] Step S202, determine the properties of the three-dimensional digital twin application component corresponding to the data to be processed; the three-dimensional digital twin application component is pre-added to the configuration software.
[0040] Step S203: Determine the display information of the attribute according to the data to be processed, and display the process flow through a three-dimensional image in the three-dimensional digital twin application component according to the display information.
[0041] The data to be processed may be data received by the terminal device from the server through the configuration software, including data related to the output of equipment, the quantity of raw materials, the location of equipment, animation display method, etc. in the process flow (e.g., stator workshop-electrical machining process flow, etc.) that uses the configuration software for industrial automatic control. The attributes of the three-dimensional digital twin application component include the changing objects and fixed objects in the process flow, such as equipment A, equipment B, production process, etc.
[0042] For example, the configuration software receives the production data of device A sent by the server as 1000. After parsing the data, it is determined that the attribute corresponding to the data to be processed is the production of device A in the three-dimensional digital twin application component. Then, the production of device A in the three-dimensional digital twin application component is modified from 900 to 1000.
[0043] The data processing method based on digital twins provided in the embodiment of the present application first obtains the data to be processed by using the configuration software; secondly, determines the attributes of the three-dimensional digital twin application component corresponding to the data to be processed; the three-dimensional digital twin application component is pre-added to the configuration software; finally, determines the display information of the attribute according to the data to be processed, and displays the process flow through a three-dimensional image in the three-dimensional digital twin application component according to the display information. In the embodiment of the present application, the three-dimensional data twin application is integrated into the configuration software in the form of a component, so that the configuration software can realize the three-dimensional image display of the process flow through the three-dimensional digital twin application component to meet the complex information display requirements of the configuration software, without increasing the development cost of the configuration software, and the code is less invasive.
[0044] In one implementation, before determining the properties of the three-dimensional digital twin application component corresponding to the data to be processed, the method also includes: creating a component container of the configuration software; and using the component container to associate the three-dimensional digital twin application component with the configuration software.
[0045] In practical applications, components refer to the smallest elements that constitute the interface of configuration software, such as buttons, tabs, etc. Components can display data through component containers. Components in configuration software are wrapped in component containers, which define standard styles and data specifications, so that developers only need to focus on the service logic of the component itself, without having to worry about how the component communicates with the configuration software.
[0046] Obtain the code package of the 3D digital twin application through the configuration software, for example, the NPM software package, create a component container, add the code package to the component container, obtain the component container of the 3D digital twin application component, and use the component container to realize the association between the 3D digital twin application component and the configuration software, so that the 3D digital twin application can be integrated by the configuration software without the need for an independent deployment server. Through the component container design, the 3D digital twin application developer only needs to focus on the logic of the 3D digital twin application itself, and does not need to focus on how the 3D digital twin application interacts with the configuration software, which reduces the workload of the integration work. The configuration software can realize the 3D image display of the process flow through the 3D digital twin application component, without increasing the development cost of the configuration software, and the code is less invasive.
[0047] In one implementation, a component container is used to associate a three-dimensional digital twin application component with a configuration software, including at least one of the following: according to the style configuration information, the display style of the three-dimensional digital twin application component in the configuration software is configured in the component container; according to the parsing configuration information, the data parsing rules corresponding to the three-dimensional digital twin application component are configured in the component container; the data parsing rules are used to convert the data obtained by the configuration software into display information of the attributes of the three-dimensional digital twin application component; according to the control configuration information, the association relationship between the events of the three-dimensional digital twin application component and the events in the configuration software is configured in the component container.
[0048] In actual applications, the three-dimensional digital twin application components are integrated into the configuration software through component containers, and the three-dimensional digital twin application components are configured through the component containers to realize the display of the process flow that was previously displayed in two-dimensional images by the configuration software in the form of three-dimensional images through the three-dimensional digital twin application components.
[0049] In one example, a component container of a 3D digital twin application is configured as follows: Figure 3As shown. Configure a style converter in the component container to parse the style information describing the current component in the configuration software and convert it into the display style of the component, such as width, height, position, border, background color, etc. Configure a data parser in the component container to parse the data information obtained by the configuration software from the server in real time, convert it into the data format required by the digital twin application component, map it to the corresponding attributes and display it. Configure a behavior controller to solve the problem of transparent transmission of digital twin application operations, configure the association between configured events and events of three-dimensional digital twin application components, for example, enter a web page address in the configuration software, open a web page in the three-dimensional digital twin application component, implement page refresh in the three-dimensional digital twin application component through instructions in the configuration software, and send data to devices in the three-dimensional digital twin application component through the configuration software.
[0050] In one implementation, the data parsing rules include format parsing rules and position mapping rules, which determine the properties of the three-dimensional digital twin application component corresponding to the data to be processed, including: according to the format parsing rules, parsing the data to be processed into the data format corresponding to the three-dimensional digital twin application component; according to the position mapping rules, mapping the data to be processed after the data format conversion to the corresponding properties of the three-dimensional digital twin application component.
[0051] Among them, the standard style and data specifications are configured in the pre-component container, which is for the configuration software. It needs to be converted into a data format that can be recognized and displayed by the three-dimensional digital twin application component, and mapped to the location of the corresponding attribute of the three-dimensional digital twin application component for display.
[0052] In one implementation, determining the display information of the attribute according to the data to be processed includes: changing the display information of the attribute to target display information according to the data to be processed; wherein the display information includes at least one of the following: display value, display position or display animation.
[0053] In actual applications, the terminal device determines the attributes of the three-dimensional digital twin application component corresponding to the data to be processed sent by the server received by the configuration software, sends the data to be processed to the corresponding attributes, and updates the process flow screen in the three-dimensional digital twin application component according to the display information, for example, changing the value, position, animation, etc.
[0054] In one implementation, before determining the properties of the three-dimensional digital twin application component corresponding to the data to be processed, the method also includes: generating a three-dimensional digital twin application component based on a code package of the three-dimensional digital twin application, and adding it to the configuration software.
[0055] The code package of the three-dimensional digital twin application is, for example, an NPM software package. In this embodiment, the three-dimensional digital twin application can be integrated by the configuration software without independently deploying a server in the form of a code package, without increasing the development cost of the configuration software, and the code is less invasive.
[0056] In one implementation, the method also includes: adding the three-dimensional digital twin application component to the designer of the configuration software according to the operation instructions input by the user; and configuring data variables for the properties of the three-dimensional digital twin application component according to the variable configuration information input by the user.
[0057] Among them, a convenient configuration solution is provided to users in a visual way, so that users can configure data variables for attributes according to specific needs in the designer, so that in the three-dimensional digital twin application component, the process flow and the data variables corresponding to the equipment or processing steps therein can be displayed through three-dimensional images to realize the monitoring of the process flow.
[0058] Corresponding to the application scenario and method of the method provided in the embodiment of the present application, the embodiment of the present application also provides a data processing device based on digital twins, such as Figure 4 The figure is a structural block diagram of a data processing device based on digital twins according to an embodiment of the present application, and the device includes:
[0059] The data acquisition module 401 is used to acquire the data to be processed by using the configuration software; the configuration software displays the screen in the component through a two-dimensional image;
[0060] The first determination module 402 is used to determine the properties of the three-dimensional digital twin application component corresponding to the data to be processed; the three-dimensional digital twin application component is pre-added to the configuration software;
[0061] The second determination module 403 is used to determine the display information of the attribute according to the data to be processed, and display it through a three-dimensional image in the three-dimensional digital twin application component.
[0062] The digital twin-based data processing device provided in the embodiment of the present application first uses the configuration software to obtain the data to be processed; secondly, the attributes of the three-dimensional digital twin application component corresponding to the data to be processed are determined; the three-dimensional digital twin application component is pre-added to the configuration software; finally, the display information of the attribute is determined according to the data to be processed, and the process flow is displayed in the three-dimensional digital twin application component through a three-dimensional image according to the display information. In the embodiment of the present application, the three-dimensional data twin application is integrated into the configuration software in the form of a component, so that the configuration software can realize the three-dimensional image display of the process flow through the three-dimensional digital twin application component to meet the complex information display requirements of the configuration software, without increasing the development cost of the configuration software, and the code is less invasive.
[0063] In one implementation, the device is also used to: create a component container of the configuration software before determining the properties of the three-dimensional digital twin application component corresponding to the data to be processed; and use the component container to associate the three-dimensional digital twin application component with the configuration software.
[0064] In one implementation, when the device uses a component container to associate a three-dimensional digital twin application component with a configuration software, it is used for at least one of the following: configuring the display style of the three-dimensional digital twin application component in the configuration software in the component container according to the style configuration information; configuring the data parsing rules corresponding to the three-dimensional digital twin application component in the component container according to the parsing configuration information; the data parsing rules are used to convert the data obtained by the configuration software into display information of the attributes of the three-dimensional digital twin application component; configuring the association relationship between the events of the three-dimensional digital twin application component and the events in the configuration software in the component container according to the control configuration information.
[0065] In one implementation, the first determining module 402 is configured to:
[0066] According to the format parsing rules, the data to be processed is parsed into the data format corresponding to the 3D digital twin application component;
[0067] According to the position mapping rules, the data to be processed after data format conversion is mapped to the corresponding attributes of the three-dimensional digital twin application components.
[0068] In one implementation, when determining the display information of the attribute according to the data to be processed, the second determination module 403 is used to: change the display information of the attribute to target display information according to the data to be processed; wherein the display information includes at least one of the following: display value, display position or display animation.
[0069] In one implementation, the device is further configured to:
[0070] Before determining the properties of the three-dimensional digital twin application component corresponding to the data to be processed, the three-dimensional digital twin application component is generated based on the code package of the three-dimensional digital twin application and added to the configuration software.
[0071] In one implementation, the device is further configured to:
[0072] According to the operation instructions input by the user, the 3D digital twin application components are added to the designer of the configuration software;
[0073] According to the variable configuration information input by the user, configure data variables for the properties of the 3D digital twin application components.
[0074] The functions of each module in each device in the embodiments of the present application can be found in the corresponding description in the above method, and have corresponding beneficial effects, which will not be repeated here.
[0075] Among them, the specific execution process of the server and the client can refer to the corresponding description in the above method, and has corresponding beneficial effects, which will not be repeated here.
[0076] Figure 5 FIG. 1 is a block diagram of an electronic device used to implement an embodiment of the present application. Figure 5 As shown, the electronic device includes: a memory 510 and a processor 520. The memory 510 stores a computer program that can be run on the processor 520. When the processor 520 executes the computer program, the method in the above embodiment is implemented. The number of the memory 510 and the processor 520 can be one or more.
[0077] The electronic device also includes:
[0078] The communication interface 530 is used to communicate with external devices and perform data exchange transmission.
[0079] If the memory 510, the processor 520 and the communication interface 530 are implemented independently, the memory 510, the processor 520 and the communication interface 530 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0080] Optionally, in a specific implementation, if the memory 510, the processor 520 and the communication interface 530 are integrated on a chip, the memory 510, the processor 520 and the communication interface 530 can communicate with each other through an internal interface.
[0081] An embodiment of the present application provides a computer-readable storage medium storing a computer program, which implements the method provided in the embodiment of the present application when the program is executed by a processor.
[0082] An embodiment of the present application also provides a chip, which includes a processor for calling and executing instructions stored in the memory from the memory, so that a communication device equipped with the chip executes the method provided by the embodiment of the present application.
[0083] An embodiment of the present application also provides a chip, including: an input interface, an output interface, a processor and a memory, wherein the input interface, the output interface, the processor and the memory are connected via an internal connection path, and the processor is used to execute the code in the memory. When the code is executed, the processor is used to execute the method provided in the embodiment of the application.
[0084] It should be understood that 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 gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. It is worth noting that the processor may be a processor supporting the Advanced RISC Machines (ARM) architecture.
[0085] Further, optionally, the above-mentioned memory may include a read-only memory and a random access memory. The memory may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory. Among them, the non-volatile memory may include a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may include a random access memory (RAM), which is used as an external cache. By way of exemplary but not limiting description, many forms of RAM are available. For example, static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct memory bus random access memory (DR RAM).
[0086] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.
[0087] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification and the features of different embodiments or examples, unless they are contradictory.
[0088] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0089] Any process or method described in the flow chart or otherwise described herein can be understood as a module, fragment or portion of a code representing one or more executable instructions for implementing the steps of a specific logical function or process. And the scope of the preferred embodiment of the present application includes other implementations, in which the functions may not be performed in the order shown or discussed, including in a substantially simultaneous manner or in a reverse order according to the functions involved.
[0090] The logic and / or steps described in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, which can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or used in combination with these instruction execution systems, devices or apparatuses.
[0091] It should be understood that the various parts of the present application can be implemented with hardware, software, firmware or a combination thereof. In the above embodiments, multiple steps or methods can be implemented with software or firmware stored in a memory and executed by a suitable instruction execution system. All or part of the steps of the above embodiment method can be completed by instructing the relevant hardware through a program, which can be stored in a computer-readable storage medium, and when the program is executed, it includes one of the steps of the method embodiment or a combination thereof.
[0092] In addition, each functional unit in each embodiment of the present application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into one module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of a software functional module. If the above-mentioned integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. The storage medium can be a read-only memory, a disk or an optical disk, etc.
[0093] The above is only an exemplary embodiment of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various changes or substitutions within the technical scope recorded in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A data processing method based on digital twins, characterized in that: The method comprises: Use configuration software to obtain data to be processed; Determine the properties of the three-dimensional digital twin application component corresponding to the data to be processed; the three-dimensional digital twin application component is pre-added to the configuration software; Based on the data to be processed, display information of the attribute is determined, and based on the display information, the process flow is displayed through a three-dimensional image in the three-dimensional digital twin application component.
2. The method according to claim 1, characterized in that: Before determining the properties of the three-dimensional digital twin application component corresponding to the data to be processed, the method further includes: Creating a component container of the configuration software; The component container is used to associate the three-dimensional digital twin application component with the configuration software.
3. The method according to claim 2, characterized in that The using the component container to associate the three-dimensional digital twin application component with the configuration software includes at least one of the following: According to the style configuration information, configuring in the component container a display style of the three-dimensional digital twin application component in the configuration software; According to the parsing configuration information, a data parsing rule corresponding to the three-dimensional digital twin application component is configured in the component container; the data parsing rule is used to convert the data acquired by the configuration software into display information of the attributes of the three-dimensional digital twin application component; According to the control configuration information, an association relationship between the events of the three-dimensional digital twin application component and the events in the configuration software is configured in the component container.
4. The method according to claim 3, characterized in that: The data parsing rules include format parsing rules and location mapping rules, and the determining of the properties of the three-dimensional digital twin application component corresponding to the data to be processed includes: According to the format parsing rule, the data to be processed is parsed into a data format corresponding to the three-dimensional digital twin application component; According to the position mapping rule, the data to be processed after data format conversion is mapped to the corresponding attributes of the three-dimensional digital twin application component.
5. The method according to any one of claims 1 to 4, characterized in that: The step of determining the display information of the attribute according to the data to be processed includes: According to the data to be processed, changing the display information of the attribute to target display information; The display information includes at least one of the following: Display values, positions, or animations.
6. The method according to any one of claims 1 to 4, characterized in that: Before determining the properties of the three-dimensional digital twin application component corresponding to the data to be processed, the method further includes: Based on the code package of the three-dimensional digital twin application, a three-dimensional digital twin application component is generated and added to the configuration software.
7. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: According to the operation instruction input by the user, the three-dimensional digital twin application component is added to the designer of the configuration software; According to the variable configuration information input by the user, data variables are configured for the properties of the three-dimensional digital twin application component.
8. A data processing device based on digital twins, characterized in that: The device comprises: A data acquisition module, used to acquire the data to be processed by using configuration software; the configuration software displays the screen in the component through a two-dimensional image; A first determination module is used to determine the properties of the three-dimensional digital twin application component corresponding to the data to be processed; the three-dimensional digital twin application component is pre-added to the configuration software; The second determination module is used to determine the display information of the attribute according to the data to be processed, and display it through a three-dimensional image in the three-dimensional digital twin application component.
9. An electronic device comprising a memory, a processor and a computer program stored in the memory, wherein the processor implements the method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.