Configuration animation configuration method and device, electronic equipment and storage medium

By dragging models and action configurations, the problem of traditional configuration tools being difficult to support complex logic animations is solved, and digital twin models and process flow animations can be quickly built in industrial manufacturing enterprises, which reduces development and learning costs and supports Cross-platform deployment and multi-terminal use.

CN118535244APending Publication Date: 2024-08-23NINGBO HOLLYSYS INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410624013.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-20
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

Traditional configuration tools have limited functions when simulating configuration animations, are difficult to support complex logic animations, are highly complex to develop and use, and are difficult to meet the specific process flow needs of industrial manufacturing enterprises.

Method used

By dragging the model and action configuration, the action feature configuration of the model in the scene is realized, and cross-platform 3D configuration animation is supported. HTML5 Canvas/WebGL is used as the underlying rendering engine of the drawing to provide model import, action feature configuration and data. Source binding simplifies the construction and arrangement of configuration animations.

Benefits of technology

It enables rapid construction of digital twin models and animation of specific process flows in industrial manufacturing enterprises, reduces development and learning costs, frees up professional human resources, supports cross-platform deployment and multi-terminal use, and meets the needs of complex logic animations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118535244A
    Figure CN118535244A
Patent Text Reader

Abstract

The invention provides a configuration animation configuration method and device, electronic equipment and a storage medium. A model can be imported into a scene in a dragging mode; and configuring action characteristics for the model, so that the model executes the action characteristics in the scene. Therefore, the complex configuration animation can be solved in a model dragging and action configuration mode, the digital twinborn model can be quickly established according to an actual industrial scene in the specific technological process of a process production and manufacturing enterprise, and the specific technological process animation is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of software technology, and more specifically, to a configuration animation configuration method, device, electronic equipment and storage medium. Background Art

[0002] With the development of the industrial age, digital twins have been applied in many fields such as product design, industrial manufacturing, engineering construction, such as smart factories, smart cities, logistics management, human-computer interaction, and industrial production process control. In a digital virtual model, digital twins collect various data through sensors, and finally display and run the configuration animation results in real time through configuration tools.

[0003] Traditional configuration tools can only simulate a limited number of configuration animations and can only support single-step animations. Continuous complex logic animations basically have to rely on customized development, which is highly professional and difficult to use and develop. Summary of the invention

[0004] In view of this, in order to solve the above problems, the present invention provides a configuration animation configuration method, device, electronic device and storage medium, and the technical solution is as follows:

[0005] A configuration animation configuration method, the configuration animation configuration method comprising:

[0006] Import the model into the scene by dragging and dropping;

[0007] The action characteristics are configured for the model so that the model executes the action characteristics in the scene.

[0008] Preferably, the step of importing the model into the scene by dragging includes:

[0009] In response to resource processing operations, a resource directory is established, and resources are imported into the resource directory by dragging and dropping;

[0010] In response to the model processing operation, a model directory is established, and a model is created under the model directory by selecting the resource in the resource directory, and a scaling ratio of the model is set;

[0011] In response to the scene processing operation, the scene is established, and the model is imported into the scene by dragging and dropping;

[0012] In response to the coordinate homing operation, the model is coordinate-homed to automatically place the model in the scene.

[0013] Preferably, configuring the action characteristic for the model so that the model executes the action characteristic in the scene includes:

[0014] Configuring a first type of action characteristic for the model so that the model performs the first type of action characteristic in the scene after the scene is loaded; and / or

[0015] configuring the model with a second type of action characteristic, so that the model executes the second type of action characteristic in the scene after receiving a click event; and / or

[0016] A data source and a third type of action characteristic are configured for the model so that the model executes the third type of action characteristic according to the data source.

[0017] Preferably, configuring the model with a data source and a third type of action characteristic so that the model executes the third type of action characteristic according to the data source includes:

[0018] configuring a measuring point condition and a first action characteristic for the model, so that the model executes the first action characteristic according to whether the measuring point condition is satisfied; or

[0019] An expression and a second action characteristic are configured for the model so that the model executes the second action characteristic according to whether the expression is satisfied.

[0020] Preferably, the data sources include: local data source SCADA, cloud platform CUBE and edge platform UNITY.

[0021] Preferably, configuring the action characteristics of the model includes:

[0022] configuring action attributes for the model to implement the action characteristics through the action attributes; or

[0023] A user-defined function is configured for the model to implement the action characteristic through the user-defined function.

[0024] A configuration animation configuration device, the configuration animation configuration device comprising:

[0025] Model import module, used to import models into the scene by dragging and dropping;

[0026] The model action module is used to configure action characteristics for the model so that the model executes the action characteristics in the scene.

[0027] Preferably, the model import module is specifically used for:

[0028] In response to the resource processing operation, a resource directory is established, and resources are imported into the resource directory by dragging and dropping; in response to the model processing operation, a model directory is established, and a model is created under the model directory by selecting the resource in the resource directory, and the scaling ratio of the model is set; in response to the scene processing operation, the scene is established, and the model is imported into the scene by dragging and dropping; in response to the coordinate homing operation, the model is homing in the coordinates to automatically place the model in the scene.

[0029] Preferably, the model action module is specifically used for:

[0030] Configuring a first type of action characteristic for the model so that the model performs the first type of action characteristic in the scene after the scene is loaded; and / or

[0031] configuring the model with a second type of action characteristic, so that the model executes the second type of action characteristic in the scene after receiving a click event; and / or

[0032] A data source and a third type of action characteristic are configured for the model so that the model executes the third type of action characteristic according to the data source.

[0033] An electronic device comprises: at least one memory and at least one processor; the memory stores an application program, the processor calls the application program stored in the memory, and the application program is used to implement the configuration animation configuration method.

[0034] A storage medium stores computer program code, and the computer program code implements the configuration animation configuration method when executed.

[0035] Compared with the prior art, the present invention has the following beneficial effects:

[0036] The present invention provides a configuration animation configuration method, device, electronic device and storage medium, which can import a model into a scene by dragging and dropping; and then configure action characteristics for the model so that the model executes the action characteristics in the scene. Therefore, the present invention can solve complex configuration animations by dragging models and action configurations. In the specific process flow of process manufacturing enterprises, digital twin models can be quickly built according to actual industrial scenarios, and specific process flow animations can be realized. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0038] Figure 1 A method flow chart of a configuration animation configuration method provided by an embodiment of the present invention;

[0039] Figure 2 A partial method flow chart of a configuration animation configuration method provided by an embodiment of the present invention;

[0040] Figure 3 A schematic diagram of an interface for configuring measurement point conditions provided in an embodiment of the present invention;

[0041] Figure 4 A schematic diagram of another interface for configuring measurement point conditions provided in an embodiment of the present invention;

[0042] Figure 5 A schematic diagram of an interface for configuring expressions provided in an embodiment of the present invention;

[0043] Figure 6 Another schematic diagram of an interface for configuring an expression provided by an embodiment of the present invention;

[0044] Figure 7 A schematic diagram of an interface for animation arrangement provided by an embodiment of the present invention;

[0045] Figure 8 Another schematic diagram of an interface for animation arrangement provided by an embodiment of the present invention;

[0046] Fig. 9 A schematic diagram of the structure of a configuration animation configuration device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0047] 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.

[0048] To facilitate understanding of the present invention, the following first describes the relevant concepts involved in the present invention:

[0049] Configuration means using the tools provided by the software to create your own work. Configuration animation means using the software configuration or the script writing method provided by the software for developers to enable the configured objects to complete specific animation running requirements.

[0050] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0051] In view of the current problem that the methods for realizing digital twins with 3D (3 Dimensions, 3D) configuration are relatively limited and the development difficulty is relatively high, the present invention provides a configuration animation configuration method, device, electronic device and storage medium to realize digital twins in a cross-platform 3D configuration mode. The present invention relates to the related technical fields such as digital twin graphics visualization, data visualization, model visualization, 3D model rendering, etc., and for the specific process flow of industrial manufacturing enterprises, a one-to-one digital twin model is quickly built according to the actual industrial scene, and a specific process flow animation is realized.

[0052] The present invention can be deployed on Windows system, Linux system or cloud platform. Since it is a product of BS (Browser / Server) architecture, there is no restriction on the access platform of the client. The present invention can use HTML5 Canvas / WebGL as the underlying rendering engine of the drawing, and solve complex 3D configuration animation by dragging models and configuration through technical encapsulation.

[0053] See also Figure 1 , Figure 1 A method flow chart of a configuration animation configuration method provided by an embodiment of the present invention. Figure 1 As shown, the configuration animation configuration method includes the following steps:

[0054] S10, import the model into the scene by dragging.

[0055] The configuration animation configuration method provided in the embodiment of the present invention can be encapsulated into a configuration tool, and the user can operate the configuration tool through the web terminal to implement the configuration animation configuration. Specifically, the user can create a model and import a scene through the web terminal. For a model that has been created, the model can be imported into the scene with one click by dragging and dropping.

[0056] In the specific implementation process, step S10 "importing the model into the scene by dragging" can adopt the following steps, and the method flow chart is as follows Figure 2 As shown:

[0057] S101, in response to a resource processing operation, a resource directory is established, and resources are imported into the resource directory by dragging and dropping.

[0058] S102, in response to the model processing operation, a model directory is established, and a model is created under the model directory by selecting a resource in the resource directory, and a scaling ratio of the model is set.

[0059] S103, responding to the scene processing operation, establishing a scene, and importing the model into the scene by dragging and dropping.

[0060] S104, in response to the coordinate homing operation, the model is homing to automatically place the model in the scene.

[0061] In the embodiment of the present invention, the user can create a corresponding resource directory in the resource tab of the configuration tool, and import the resources exported by the modeler into the resource directory by dragging and dropping. In this regard, after obtaining the resource processing operation input by the user, respond to the resource processing operation, create a resource directory, and import the resources into the resource directory by dragging and dropping, and the resources include grayscale models, maps and textures.

[0062] Furthermore, the user can create a corresponding model directory in the model tab of the configuration tool, select resources from the resource directory to create a model under the model directory, and set the scaling ratio of the model. In this regard, after obtaining the model processing operation input by the user, in response to the model processing operation, a model is created by selecting a grayscale model, a map and a texture in the resource directory, and after the model creation is completed, the scaling ratio of the model is set.

[0063] Furthermore, the user can create a new scene in the model scene tab of the configuration tool, select all previously created models, and drag the selected models into the scene. In this regard, after obtaining the scene processing operation input by the user, respond to the scene processing operation, create a scene, and import the model into the scene by dragging.

[0064] Finally, the user can select all models in the scene and click the coordinate reset button to automatically place the model in the scene. In this regard, after obtaining the coordinate reset operation input by the user, the coordinate reset operation is responded to and the model is automatically placed in the scene. It should be noted that the model is composed of a grayscale model, a map and a texture. The modeler has defined its coordinates when creating the grayscale model. The coordinates of the model are the same as those of the grayscale model, so the position of the model in the scene is determined by its grayscale model.

[0065] In actual applications, users can open the login page and enter the account password to enter the 2D configuration page, which includes 2D drawings and drawings; then, enter the 3D configuration page through the 2D configuration page, drag the required three-dimensional model according to the actual business scenario on the 3D configuration page, and then return the model position with one click through "coordinate homing"; further, the specific business interaction animation in the scene is realized through configuration on the 3D configuration page, and previewed through the preview button. The digital twin solution implemented by the 3D configuration method of the present invention supports Windows system, Linux system and cloud platform deployment at the same time, and has a wide range of applications in industrial automation fields such as new energy, coal mines, and pharmaceuticals, and can easily build enterprise application cases required by customers.

[0066] S20, configuring action characteristics for the model so that the model executes the action characteristics in the scene.

[0067] In the embodiment of the present invention, the user can configure the action characteristics of the model imported into the scene through the web terminal, so that the model can execute the action characteristics in the scene.

[0068] It should be noted that action characteristics are simple model interaction animations and do not involve complex model actions. For example, action characteristics may include color change, visibility, rotation, flashing, rotation, translation, scaling, and flow. When the specified conditions are met, the model can execute the corresponding action characteristics. The condition can be the value of the measurement point selected by the bound data source, or the variable selected in the expression (including global variables and window variables) and mathematical functions.

[0069] In the specific implementation process, step S20 "configuring the action characteristics for the model so that the model executes the action characteristics in the scene" may include the following steps:

[0070] Configuring the first type of action characteristics for the model so that the model executes the first type of action characteristics in the scene after the scene is loaded; and / or

[0071] configuring the second type of action characteristics for the model so that the model executes the second type of action characteristics in the scene after receiving the click event; and / or

[0072] The data source and the third-type action characteristics are configured for the model so that the model executes the third-type action characteristics according to the data source.

[0073] In the embodiment of the present invention, the animation of the model can be triggered in three ways:

[0074] 1) After loading: the animation is automatically triggered when the scene is loaded, and no other configuration is required;

[0075] 2) Click: trigger the animation through a click event by selecting the click object;

[0076] 3) Value trigger: indicates that the animation is executed when a certain value changes. When configuring the action characteristics of the model, associate the data source, select the trigger mode as value trigger, and select the trigger condition to set the trigger judgment.

[0077] Specifically, users can configure different types of action characteristics for models through the web terminal according to the triggering method. In response to the user's configuration operation, the model can be configured with a first type of action characteristic. Based on this configuration, the model executes the first type of action characteristic in the scene after the scene is loaded; the model can also be configured with a second type of action characteristic. Based on this configuration, the model can execute the second type of action characteristic in the scene after obtaining a user click event on the model; the model can also be configured with a third type of action characteristic. Based on this configuration, the third type of action characteristic can be executed when the value of the data source meets the trigger condition.

[0078] It should be noted that a model can be set to any one or more of the above three triggering modes, which is not limited in the embodiment of the present invention.

[0079] In actual applications, the third type of action characteristics can be configured by measuring point conditions or expressions. The step "Configure the data source and the third type of action characteristics for the model so that the model executes the third type of action characteristics according to the data source" can be done in the following steps:

[0080] configuring the measuring point condition and the first action characteristic for the model so that the model executes the first action characteristic according to whether the measuring point condition is satisfied; or

[0081] An expression and a second action characteristic are configured for the model so that the model executes the second action characteristic according to whether the expression is satisfied.

[0082] See also Figure 3 , Figure 3 This is a schematic diagram of an interface for configuring measurement point conditions provided by an embodiment of the present invention. Figure 3 As shown, users can configure measurement point conditions under the action characteristics of color change, visibility, rotation, flashing, rotation, translation, scaling, and flow through the web. The action characteristics under the measurement point conditions are the first action characteristics. Taking the first action characteristic of color change as an example, users can select "Measurement point conditions" in this interface and then add conditions. When configuring, it is necessary to configure the "Logical operator", "Object name", "Condition", and "Set value". Among them, "Logical operator" is used to set logical operators (such as AND, OR, NOT), "Object name" refers to the measurement point name, "Condition" refers to the judgment condition (such as greater than, less than), and "Set value" refers to the custom value. In addition, Figure 3"Change color" means the color when the measurement point conditions are met, and "Restore color" means the color when the measurement point conditions are not met. In addition, users can also choose "Restore color", "Disable", "Reset", etc. according to actual needs.

[0083] See also Figure 4 , Figure 4 Another schematic diagram of the interface for configuring the measurement point conditions provided by the embodiment of the present invention. Figure 4 As shown, after the user clicks "Object Name", the interface for selecting measuring points is entered. The user can select the required measuring points on the left to complete the configuration of the "Object Name", and the type of measuring points on the right can be automatically determined without the need for user selection.

[0084] See also Figure 5 , Figure 5 This is a schematic diagram of the interface for configuring expressions provided in an embodiment of the present invention. Figure 5 As shown in the figure, users can configure the measurement point conditions under the action characteristics of color change, visibility, rotation, flashing, rotation, translation, scaling, and flow through the web terminal. The action characteristics under the expression are the second action characteristics. Take the second action characteristic of color change as an example. The user selects "Expression" in this interface. When configuring, the "variable" and "function" information need to be configured. Figure 5 , after the user clicks "Variable", he can select one from "System Variable", "Global Variable" and "Window Variable" to configure. Among them, system variables are only used when the system changes. Under global variables, after any user changes the color, all users can see it, while under window variables, after any user changes the color, only the user can see it. Taking global variables as an example, the user clicks Figure 5 After the "global variable" in the , its format is defined as "@[G]aa@", you can add multiple global variables. Figure 5 The figure shows several global variables named "visiblelfNull", "pp", and "aa". Each global variable can be set with "reference data", "link", and "comment". When "reference data" is selected, only measurement point links can be selected in "link". When "reference data" is not selected, only ordinary characters can be entered in "link".

[0085] See also Figure 6 , Figure 6 Another schematic diagram of the configuration expression interface provided by the embodiment of the present invention. Figure 6 As shown, taking the second action characteristic of color change as an example, the user selects "Function" in this interface and needs to select one from the mathematical functions on the right during configuration.

[0086] It should be noted that after the variable is configured, the expression can output values ​​such as 0, 1, false, and true, where 0 and false indicate a failed match and no execution, and 1 and true indicate a successful match and execution. For this reason, the configuration tool will only change the color of the model when the expression outputs 1 or true. After the function is configured, a numerical value or string needs to be entered, and the expression can output values ​​such as 0, 1, false, and true only after the function executes the corresponding judgment. The configuration tool chooses whether to change the color of the model based on the result.

[0087] The configuration function of the configuration tool in the present invention, on the one hand, supports local data sources (SCADA, the full name of which is Supervisory Control and Data Acquisition), cloud platforms (CUBE) and edge platforms (UNITY, also known as industrial process data management and control platform); on the other hand, before deserialization (before page initialization), it is generally used to write and define some variables and initialized data that need to be defined in advance before some scenes are loaded; on the other hand, after deserialization (after page initialization), it is generally used to initialize global variables, initialize request data and encapsulated global functions.

[0088] In addition, in the embodiment of the present invention, each step of the model animation can be set with multiple action characteristics, and each action characteristic can be completed by setting action attributes or custom functions. In the specific implementation process, the "configure action characteristics for the model" in step S20 can be implemented as follows:

[0089] Configure action attributes on the model to implement action characteristics through action attributes; or

[0090] Configure a custom function for the model to implement action characteristics through the custom function.

[0091] See also Figure 7 , Figure 7 The following is a schematic diagram of an interface for animation arrangement provided by an embodiment of the present invention. Figure 7 As shown, users can manage animations in the animation list through the web. The "list" displays the animations of "water level initialization", "water level change" and "water tank becomes full". Taking "water level initialization" as an example, its triggering method is "after loading" and "loop" is set to 1, which means it is executed once. In other words, the water level is initialized after the web completes the scene loading, the water level change is displayed after the user clicks the model, and the water tank becomes full after the triggering conditions are met.

[0092] Continue to see Figure 7 The action list shows the action properties, which can be divided into two categories according to type: attributes (i.e. action attributes) and functions (i.e. custom functions). Users click on the attribute column with the serial number "1" to enter Figure 7The action configuration interface on the lower right. Through the configuration of properties, you can realize the animation of most business needs. The configuration items include "object", "property", "start value", "end value", "duration", "delay", "easing mode", and "execution mode". Among them, "object" indicates the name of the drawing or graphic object that triggers the action, "property" indicates the properties of the action to be executed (XYZ position, rotation, size, and transparency, etc.), "start value" indicates the corresponding property start value, "end value" indicates the corresponding property end value, "duration" indicates the time required for the action to be executed (milliseconds), "delay" indicates the delay time of the action execution (milliseconds), "easing mode" indicates the way the action changes slowly (linear-linear motion, easeInQuad-quadratic Bezier curve), and "execution mode" indicates the order of action execution (queue: the previous action is executed before the next action is executed; parallel: the next action and the previous action are executed concurrently).

[0093] In addition, if the configuration method cannot realize the functions required by the specific business, you can also develop customized functions through JS script development and write some custom logic functions in it. Figure 8 , Figure 8 Another schematic diagram of an interface for animation arrangement provided by an embodiment of the present invention. Figure 8 As shown, the user clicks the function column with serial number "2" to enter Figure 8 The function configuration interface in the lower right corner allows you to customize functions with different functions.

[0094] In the embodiment of the present invention, animation choreography can simplify complex animations and configure and manage the animations and actions of scenes (3D or 2D) in an interface, so that when previewing on the WEB side, graphics and model objects can move in an orderly manner according to the configured animations and actions.

[0095] In addition, it should be noted that the configuration tool can achieve the purpose of human-computer interaction through event processing (i.e., through mouse or touch screen actions). Event processing includes click, double-click, context menu, press, lift, move, enter, hover, leave, start drag, drag, end drag, scroll, and each interactive event supports JS script development. In addition, when solving cross-platform problems, the back-end uses the Java cross-platform development language, and the front-end uses the HTML web page markup language and Canvas graphics processing API, supporting cross-platform operation (Windows / Linux / Kirin and other operating systems). The interface component library, data model, general component, and vector topology component use Canvas / WebGL as the underlying rendering engine of the drawing, supporting multi-terminal use.

[0096] Through the above description, the configuration animation configuration method provided by the embodiment of the present invention realizes digital twins through 3D configuration, which not only realizes cross-platform development, but also better develops and encapsulates the configuration animation arrangement, so that the configuration animation arrangement technology can realize the requirement of complex logic animation by configuration animation, which greatly reduces the cost of development and learning, liberates more human resources, and meets the actual business needs of manufacturing enterprises in the industrial environment of continuous reform and innovation.

[0097] In addition, the present invention realizes digital twins in a cross-platform 3D configuration mode, which not only realizes cross-platform deployment (Windows / Linux / cloud platform) on the server side, but also has no platform restrictions on the client side (Windows / Linux / Mac / mobile APP), and upgrades and encapsulates the traditional configuration development of digital twins. The operator only needs to decompose the complex animation into single-step actions through page configuration. It greatly liberates professional human resources and saves the production costs of manufacturing enterprises.

[0098] The web-based visualization configuration tool in the present invention can realize cross-platform (Windows / Linux / Mac), high-fidelity display, seamless and smooth operation business scenarios without installing any plug-ins, and can be used anytime and anywhere on a PC (browser), mobile terminal, tablet device or large screen. For users, the present invention is easy to operate, has low professional and technical requirements, and can also be customized for complex and special business functions. It provides a good development platform for digital realization and is also suitable for the current development direction of the Internet.

[0099] Based on the configuration animation configuration method provided in the above embodiment, the embodiment of the present invention also provides a device for executing the configuration animation configuration method. Fig. 9 , Fig. 9 The structure diagram of the configuration animation configuration device provided by the embodiment of the present invention is shown in FIG. Fig. 9 As shown, the configuration animation configuration includes:

[0100] The model import module 10 is used to import the model into the scene by dragging;

[0101] The model action module 20 is used to configure action characteristics for the model so that the model executes the action characteristics in the scene.

[0102] Optionally, the model import module 10 is specifically used for:

[0103] In response to resource processing operations, a resource directory is established, and resources are imported into the resource directory by dragging and dropping; in response to model processing operations, a model directory is established, and models are created under the model directory by selecting resources in the resource directory, and the scaling of the models is set; in response to scene processing operations, a scene is established, and models are imported into the scene by dragging and dropping; in response to coordinate homing operations, the model is homing in the coordinates to automatically place the model in the scene.

[0104] Optionally, the model action module 20 is specifically used for:

[0105] Configuring the first type of action characteristics for the model so that the model executes the first type of action characteristics in the scene after the scene is loaded; and / or

[0106] configuring the second type of action characteristics for the model so that the model executes the second type of action characteristics in the scene after receiving the click event; and / or

[0107] The data source and the third-type action characteristics are configured for the model so that the model executes the third-type action characteristics according to the data source.

[0108] Optionally, the model action module 20 configured with a data source and a third type of action characteristic for the model so that the model executes the third type of action characteristic according to the data source is specifically used for:

[0109] configuring the measuring point condition and the first action characteristic for the model so that the model executes the first action characteristic according to whether the measuring point condition is satisfied; or

[0110] An expression and a second action characteristic are configured for the model so that the model executes the second action characteristic according to whether the expression is satisfied.

[0111] Optionally, the data sources include: local data source SCADA, cloud platform CUBE, and edge platform UNITY.

[0112] Optionally, the model action module 20 for configuring action characteristics for the model is specifically used to:

[0113] Configure action attributes on the model to implement action characteristics through action attributes; or

[0114] Configure a custom function for the model to implement action characteristics through the custom function.

[0115] It should be noted that the detailed functions of each module in the embodiment of the present invention can be found in the corresponding public part of the above configuration animation configuration method embodiment, which will not be repeated here.

[0116] Based on the configuration animation configuration method provided in the above embodiment, an embodiment of the present invention provides an electronic device, which includes: at least one memory and at least one processor; the memory stores an application, the processor calls the application stored in the memory, and the application is used to implement the configuration animation configuration method.

[0117] Based on the configuration animation configuration method provided in the above embodiment, an embodiment of the present invention provides a storage medium, which stores computer program code, and the configuration animation configuration method is implemented when the computer program code is executed.

[0118] The above is a detailed introduction to a configuration animation configuration method, device, electronic device and storage medium provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

[0119] It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.

[0120] It should also 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 the process, method, article or device that includes a series of elements is inherent to the elements, or also includes elements inherent to these processes, methods, articles or devices. In the absence of further restrictions, the elements defined by the sentence "including a..." do not exclude the presence of other identical elements in the process, method, article or device that includes the elements.

[0121] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A configuration animation configuration method, characterized in that: The configuration animation configuration method comprises: Import the model into the scene by dragging and dropping; The action characteristics are configured for the model so that the model executes the action characteristics in the scene.

2. The configuration animation configuration method according to claim 1, characterized in that: The method of importing the model into the scene by dragging and dropping includes: In response to resource processing operations, a resource directory is established, and resources are imported into the resource directory by dragging and dropping; In response to the model processing operation, a model directory is established, and a model is created under the model directory by selecting the resource in the resource directory, and a scaling ratio of the model is set; In response to the scene processing operation, the scene is established, and the model is imported into the scene by dragging and dropping; In response to the coordinate homing operation, the model is coordinate-homed to automatically place the model in the scene.

3. The configuration animation configuration method according to claim 1, characterized in that: The configuring the action characteristic for the model so that the model executes the action characteristic in the scene includes: Configuring a first type of action characteristic for the model so that the model executes the first type of action characteristic in the scene after the scene is loaded; and / or configuring the model with a second type of action characteristic, so that the model executes the second type of action characteristic in the scene after receiving a click event; and / or A data source and a third type of action characteristic are configured for the model so that the model executes the third type of action characteristic according to the data source.

4. The configuration animation configuration method according to claim 3, characterized in that: The configuring the data source and the third type of action characteristics for the model so that the model executes the third type of action characteristics according to the data source includes: configuring a measuring point condition and a first action characteristic for the model, so that the model executes the first action characteristic according to whether the measuring point condition is satisfied; or An expression and a second action characteristic are configured for the model so that the model executes the second action characteristic according to whether the expression is satisfied.

5. The configuration animation configuration method according to claim 1, characterized in that: The data sources include: local data source SCADA, cloud platform CUBE and edge platform UNITY.

6. The configuration animation configuration method according to claim 1, characterized in that: The configuring action characteristics of the model includes: configuring action attributes for the model to implement the action characteristics through the action attributes; or A user-defined function is configured for the model to implement the action characteristic through the user-defined function.

7. A configuration animation configuration device, characterized in that: The configuration animation configuration device comprises: Model import module, used to import models into the scene by dragging and dropping; The model action module is used to configure action characteristics for the model so that the model executes the action characteristics in the scene.

8. The configuration animation configuration device according to claim 7, characterized in that: The model import module is specifically used for: In response to the resource processing operation, a resource directory is established, and resources are imported into the resource directory by dragging and dropping; in response to the model processing operation, a model directory is established, and a model is created under the model directory by selecting the resource in the resource directory, and a scaling ratio of the model is set; In response to the scene processing operation, the scene is established, and the model is imported into the scene by dragging; in response to the coordinate homing operation, the model is homing to the coordinates so as to automatically place the model in the scene.

9. An electronic device, characterized in that: The electronic device comprises: at least one memory and at least one processor; the memory stores an application program, the processor calls the application program stored in the memory, and the application program is used to implement the configuration animation configuration method described in any one of claims 1-6.

10. A storage medium, characterized in that: The storage medium stores computer program codes, and when the computer program codes are executed, the configuration animation configuration method according to any one of claims 1 to 6 is implemented.