A method for realizing custom events by data-driven life forms
By setting the definition of life form rules and two-way data driving, the problem of limited three-dimensional visual interaction function in the existing technology is solved, real-time monitoring and diagnosis functions of virtual objects for real assets is realized, and the configuration process is simplified and traceable.
Patent Information
- Application Number
- CN202110990456.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-26
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2041-08-26
AI Technical Summary
The existing technology is difficult to realize real-time, bidirectional data-driven three-dimensional visual interaction, with limited functions and complex implementation processes, requiring long-term investment from professional developers.
By setting the definition of life form rules, binding the unique identity ID of virtual objects and real assets, using ETL tools for data logic governance, and configuring custom events through a visual editor to realize the two-way data-driven between virtual objects and real assets. Use JAVA and C# languages for uncoded configuration throughout the process.
It realizes the mapping, monitoring, diagnosis and prediction functions of virtual objects to real assets by multi-data driven, and the configuration process is uncoded and traceable throughout, reducing learning costs and execution difficulties.
Smart Images

Figure CN113779126B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a digital twin technology application, specifically a method for realizing customized events by driving a living body with data. Background Art
[0002] Data-driven life forms that implement custom events are technologies that digitally describe the geometric properties of real objects. The shortcoming of existing technologies is that they only map the appearance and structure of real objects but cannot provide data feedback and logical interaction with real phenomena. There are many technologies on the market that have three-dimensional visualization model display, but when the model needs to be data-driven and controlled, the functions that can be realized are limited, and the implementation process is very complicated. It requires long-term investment from professional developers to barely realize some data-driven functions. Therefore, real-time two-way data-driven three-dimensional visualization interaction technology has become a major problem faced by three-dimensional visualization workers.
[0003] It can be seen that providing a method for data-driven life forms to realize customized events is an urgent problem to be solved in this field. Summary of the invention
[0004] A method for realizing a custom event by driving a life form with data, the method comprising the following steps:
[0005] Step 1: Set the definition of life form rules;
[0006] Step 2: Set the unique ID of the virtual object;
[0007] Step 3: Bind the unique ID of the virtual object with the unique ID of the real asset;
[0008] Step 4: Bind the virtual object with relevant business data assets, perform data logic management on the life database assets and business data assets through ETL tools, and output the data assets required for the virtual object target task;
[0009] Step 5: Associate the virtual object with the business data, set conditions for the data fields that need to be analyzed, and filter the data;
[0010] Step 6: Convert the filtered business data into a visual component that can be called by manipulating virtual objects, and define the style of the visual component;
[0011] Step 7: Use the visual editor to operate the virtual object to perform logical configuration on the target task data. Specifically, create a custom event in the visual editor, then select the custom event, and bind the selected custom event to the virtual object that triggers the custom event.
[0012] Step 8: Configure custom events for virtual objects to achieve bidirectional data drive with real assets.
[0013] Furthermore, in the step 2, the unique ID of the virtual object is set, and the Windows system Globally Unique Identifier is used as the system unique identifier to avoid redundant objects.
[0014] Furthermore, the step 1 includes naming and summarizing the life forms and asset objects, and the types of the life forms include models, special effects, and UI.
[0015] Furthermore, the method for realizing custom events by driving a data-driven life form implements a fully code-free configuration process through JAVA language and C# language centralized in Unity, and the configuration process is traceable.
[0016] Furthermore, the codeless configuration process is as follows: first, open the KDSP platform and use the life form front-end component to store the life form data in local JSON files, then open the KDEDITOR platform to import the local JSON file life form data and generate a life form mapping table, create a data source and create business data assets, associate the life form mapping table with the governed data asset table, analyze and generate a business data visualization component that can be called by the life form, format the data of the life form and generate a data life form, and finally configure custom events for the data life form.
[0017] Compared with the prior art, the present invention has the following beneficial effects:
[0018] 1. Use multivariate data to drive virtual objects to map, monitor, manipulate, diagnose, and predict real assets.
[0019] 2. The configuration process of the present invention is a non-coding operation, which can be used after the configuration is completed and the whole process is traceable. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 It is a flow chart of the present invention. DETAILED DESCRIPTION
[0021] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions 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 are within the scope of protection of the present invention.
[0022] The purpose of the present invention is to overcome the shortcomings of the prior art and to realize data life form technology that far exceeds the current definition of three-dimensional visualization models in this field. The data life form not only includes a digital description of the geometric properties of the corresponding real asset as a whole or a subsystem with independent functions, but also includes model mapping, monitoring and manipulation, diagnosis, and prediction functions.
[0023] The method provided by the present invention for driving a life form to realize a custom event comprises the following steps:
[0024] Step 1: Set the definition of life form rules;
[0025] This includes the naming of life forms and asset objects, and an overview of life forms and asset objects; life forms include models, special effects, and UI. For life forms in the form of UI, the SP base only transmits the screen mapping position, and the specific interaction logic is designed and implemented directly by the JS end or by calling the API.
[0026] Step 2: Set the unique ID of the virtual object;
[0027] Import or create a virtual object through Unity, name the virtual object as the real asset name, and obtain the system GUID as the unique ID of the virtual object through the Windows system API. The unique ID of the virtual object is the Windows system Globally Unique Identifier, abbreviated as GUID, and no redundant objects will appear;
[0028] Step 3: Bind the unique ID of the virtual object with the unique ID of the real asset;
[0029] Use Unity's animation tool to animate virtual objects, save GUIDs and real-world asset names, and save them as JSON data in a one-to-one correspondence. Import local JSON data into database assets, where the real-world asset unique identification ID is the real-world data asset name.
[0030] Step 4: Bind the virtual object with relevant business data assets, perform data logic management on the life database assets and business data assets through ETL tools, and output the data assets required for the virtual object target task. The file format of the virtual object is FBX format or OBJ format;
[0031] Step 5: Associate the virtual object with the business data, set conditions for the data fields that need to be analyzed, and filter the data;
[0032] Step 6: Convert the filtered business data into a visualization component that can be called by manipulating virtual objects, such as a visualization chart, and define the style of the visualization component;
[0033] Step 7: Use the visual editor to operate the virtual object to perform logical configuration on the target task data. Specifically, create a custom event in the visual editor, then select the custom event, and bind the selected custom event to the virtual object that triggers the custom event.
[0034] Step 8: Configure custom events for virtual objects to achieve bidirectional data drive with real assets.
[0035] In addition, the present invention uses two software platforms, KDEDITOR and KDSP, and implements a fully code-free configuration process through JAVA language and C# language concentrated in Unity. The configuration process is traceable. The specific process is as follows: first, open the KDSP platform and use the life form front-end component to store the life form data locally in JSON files, then open the KDEDITOR platform to import the local JSON file life form data and generate a life form mapping table, create a data source and create business data assets, associate the life form mapping table with the managed data asset table, analyze and generate a business data visualization component that can be called by the life form, format the data of the life form and generate a data life form, and finally configure custom events for the data life form; through the above steps, it is possible to achieve two-way driving of virtual objects and real assets through data, and the entire process is code-free, all processes are traceable, and the learning cost and execution difficulty are greatly reduced.
[0036] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0037] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A method for realizing custom events by driving a life form with data, characterized in that: The method comprises the following steps: Step 1: Set the definition of life form rules, including naming of life forms and asset objects, and an overview of life forms and asset objects. The types of life forms include models, special effects, and UI. Step 2: Set the unique ID of the virtual object; Step 3: Bind the unique ID of the virtual object with the unique ID of the real asset; Step 4: Bind the virtual object with relevant business data assets, perform data logic management on the life database assets and business data assets through ETL tools, and output the data assets required for the virtual object target task; Step 5: Associate the virtual object with the business data, set conditions for the data fields that need to be analyzed, and filter the data; Step 6: Convert the filtered business data into a visual component that can be called by manipulating virtual objects, and define the style of the visual component; Step 7: Use the visual editor to operate the virtual object to perform logical configuration on the target task data. Specifically, create a custom event in the visual editor, then select the custom event, and bind the selected custom event to the virtual object that triggers the custom event. Step 8: Configure custom events for virtual objects and perform two-way data drive with real assets. Use the two software platforms KDEDITOR and KDSP, and use JAVA language and C# language concentrated in Unity to achieve a fully code-free configuration process. The configuration process is traceable. The specific process is as follows: First, open the KDSP platform and use the life form front-end component to store the life form data in local JSON files. Then open the KDEDITOR platform to import the local JSON file life form data and generate a life form mapping table. Create a data source and create business data assets. Associate the life form mapping table with the governed data asset table, analyze and generate a business data visualization component that can be called by the life form. Format the data of the life form and generate a data life form. Finally, configure custom events for the data life form.
2. The method for realizing a custom event by driving a life form with data according to claim 1, characterized in that: In the step 2, the unique identity ID of the virtual object is set, and the Windows system Globally UniqueIdentifier is used as the system unique identifier to avoid redundant objects.
3. The method for realizing a custom event by driving a life form with data according to claim 1, characterized in that: The method for realizing custom events by data-driven life forms realizes a full code-free configuration process through JAVA language and C# language centralized in Unity, and the configuration process is traceable.
