CN117667055A - Low-code digital twin scene interaction configuration method and system - Google Patents

Low-code digital twin scene interaction configuration method and system Download PDF

Info

Publication number
CN117667055A
CN117667055A CN202311634929.5A CN202311634929A CN117667055A CN 117667055 A CN117667055 A CN 117667055A CN 202311634929 A CN202311634929 A CN 202311634929A CN 117667055 A CN117667055 A CN 117667055A
Authority
CN
China
Prior art keywords
scene
node
interaction
configuration
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311634929.5A
Other languages
Chinese (zh)
Inventor
尹登旺
郭帅
卞国震
白亚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Telecom Digital Intelligence Technology Co Ltd
Original Assignee
China Telecom Digital Intelligence Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Telecom Digital Intelligence Technology Co Ltd filed Critical China Telecom Digital Intelligence Technology Co Ltd
Priority to CN202311634929.5A priority Critical patent/CN117667055A/en
Publication of CN117667055A publication Critical patent/CN117667055A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a digital twin scene interaction configuration method and system of low codes. The interactive configuration method comprises the following steps: the method comprises the steps of constructing a scene based on a digital twin low-code platform, configuring template types of scene interaction through an interaction template configuration function, and sequentially configuring node types and scene interaction by adopting a visual dragging mode after the template types are selected, so that a complete node interaction type digital twin scene is constructed in a low-code mode. The method/system can unify the interaction configuration dispersed in the digital twin scene in the interaction rule function to perform unified configuration, so that the high integration of the interaction configuration in the digital twin scene is realized, the complexity of scene configuration is reduced, and the arrangement efficiency of the digital twin scene is improved.

Description

Low-code digital twin scene interaction configuration method and system
Technical Field
The disclosure relates to the technical field of digital twin code construction, in particular to a digital twin scene interaction configuration method and system for low codes.
Background
The digital twinning is to digitally model the real world by utilizing the technologies of visualization, modeling and the like, so as to realize dynamic monitoring, real-time early warning and accurate judgment, and intelligent transformation and upgrading of the booster industry. The interactive configuration among scene resources of the existing digital twin low-code platform is often scattered in various resource attribute configuration interfaces, so that the resource configuration difficulty is increased, missing or repeated configuration situations often occur, the current interactive configuration cannot be listed, repeated operation scenes are required to test the correctness of the interactive configuration, and the period of setting up a scene is long. Since interactions are scattered in each attribute configuration, complex operations cannot be configured in one configuration. Thereby limiting the inability to configure complex business applications through digital twin low code platforms. The service facing the complexity and the frequent change of the demand often requires a developer to write a logic code, encode, release and test for multiple times, so that the complexity of the digital twin scene interaction configuration is improved to a certain extent, the scene construction efficiency is low, the use threshold of a digital twin low-code platform is high, and therefore, the digital twin scene interaction configuration method and system of the low-code are provided.
Disclosure of Invention
In view of this, the embodiments of the present disclosure provide a low-code digital twin-scene interaction configuration method, which uniformly configures interactions dispersed in each configuration interface, and implements the configuration by a visualized and procedural mouse drag configuration manner, so as to implement complex interaction logic configuration, reduce the use threshold, and improve the scene construction efficiency and the scene effective operation time.
In a first aspect, an embodiment of the present disclosure provides a digital twin scene interaction configuration method of a low code, including:
the method comprises the steps of constructing a scene based on a digital twin low-code platform, configuring template types of scene interaction through an interaction template configuration function, sequentially configuring node types and scene interaction configuration in a visual dragging mode after the template types are selected, monitoring and recording the execution states of nodes and node interactions in a digital twin scene interaction process by adopting a scene interaction process monitoring module, checking rule validity, executing according to a scene interaction operation rule algorithm when the rule is valid, and constructing a complete node interaction type digital twin scene in a low-code mode.
Further comprises:
completing node attribute configuration and node interaction rule configuration by adopting an interaction node configuration module;
Completing node type library, flow editor and flow node attribute configuration by adopting a scene interaction flow configuration module;
and setting the task type and the task execution priority by adopting an interactive flow execution module.
Further preferably, the attributes of the template type configuration include a type name, an interaction type, an attribute field, an input attribute, an output attribute, an attribute default value, an execution priority, a connection rule, and an operation object of the template.
Further preferably, the node type includes a scene type, a component type, a flow type, and a data type.
Further preferably, when the node connection is configured, determining whether two nodes can be connected according to node characteristics and data structures supported by input and output, and configuring a downstream connectable type for each node;
wherein:
the nodes in the downstream node type list can then be connected;
nodes not in the downstream node type list are not allowed to connect.
Further preferably, the node attribute of the scene type includes:
3D resources: binding resources in the 3D scene;
scenario API: node binding scene operation SDK and API access parameters of the external open scene;
the node attributes of the component types include:
UI component: mouse events, data change events, rendered data sources for binding two-dimensional components, data attributes in a scene;
the components are visible and hidden: the method comprises the steps of setting a resource list displayed and hidden by a component, and switching a thematic chart through the component;
page jumping: the method is used for supporting two jump modes of configuring and opening a new page and a pop-up box;
the node attribute of the flow type includes:
and (3) a timer: the periodic query of data and the periodic switching of scenes are realized by setting a periodic execution period and matching the use with an interaction flow;
and (3) a time delay device: delaying execution time by a delay device, wherein the delay device is used for delaying some nodes in an execution flow;
custom code: supporting the input of a custom business logic code and saving and executing;
the node attributes of the data type include:
data API: request mode of configuration data, service address, protocol type, and entry, wherein:
the request mode supports dynamic service and static data, and requests data in the system as the participation of other nodes through a data API;
data subscription: data channels requiring subscription and connection are configured.
Further preferably, when the scene interaction flow monitoring module is used to monitor the digital twin scene interaction flow and record the execution state of the node and node interaction, the method comprises the following steps:
And (3) node detection: node instantiation data monitoring, namely setting data structure correctness and setting a threshold value K1 for attributes, and realizing effective monitoring of each node of a twinning scene;
and (3) interaction monitoring: setting a threshold value K2 under the condition of data interaction between nodes, and prompting and reporting when the data interaction time delay exceeds the threshold value.
Further preferably, the task types include event classes, timing and latency tasks, data requests, component operations, and scene operations.
In a second aspect, embodiments of the present disclosure further provide a digital twin scene interaction configuration system of low code, including:
the interactive node configuration module is used for configuring node attributes and node interactive rules;
the scene interaction flow configuration module is used for configuring a node type library, a flow editor and flow node attributes;
the interactive flow executing module is used for setting the task type and the task executing priority;
the scene interaction flow monitoring module is used for implementing digital twin scene interaction flow monitoring and recording the node and the execution state of node interaction.
In a third aspect, an embodiment of the present disclosure further provides an electronic device, which adopts the following technical scheme:
the electronic device includes:
At least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform any of the above low-code digital twinned scene interaction configuration methods.
In a fourth aspect, the disclosed embodiments also provide a computer-readable storage medium storing computer instructions for causing a computer to perform any of the above-described low-code digital twin scene interaction configuration methods.
The digital twin scene interaction configuration method of the low code provided by the embodiment of the disclosure has the following beneficial effects:
1. according to the invention, the interaction configuration scattered in the digital twin scene is unified in the interaction rule function to perform unified configuration, so that the high integration of the interaction configuration in the digital twin scene is realized, the complexity of the scene configuration is reduced, and the arrangement efficiency of the digital twin scene is improved.
2. The invention adopts the low-code, blue-pattern and flow design method, so that a user can more intuitively design the interaction flow of the digital twin scene, thereby enhancing the interactivity of the scene and improving the user experience.
3. The invention realizes the interactive configuration flow editing of the digital twin scene through the unified configuration module, and realizes the separation of scene establishment and service operation logic configuration, thereby being capable of carrying out division work and cooperation for developing the scene and improving the development efficiency. Meanwhile, when the requirements are changed and the operation is changed, only the scene interaction configuration is required to be changed, the scenes are not required to be opened and modified, and the scenes are not required to be recompiled and released, so that the maintenance cost is reduced.
4. The scene interaction configuration has expandability, provides common scene operation types, and also provides a method for customizing the scene operation types by a user, so that the user can freely expand the scene operation types according to actual requirements without coding, and the flexibility and the customization are improved.
5. The invention not only can support interactive configuration with complex types and logic relations, but also is not limited to the space of the scene resource configuration panel and the scene resource relevance, and can realize more flexible and efficient digital twin scene construction, thereby effectively supporting complex business application scenes.
The foregoing description is only an overview of the disclosed technology, and may be implemented in accordance with the disclosure of the present disclosure, so that the above-mentioned and other objects, features and advantages of the present disclosure can be more clearly understood, and the following detailed description of the preferred embodiments is given with reference to the accompanying drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and other drawings may be obtained according to these drawings without inventive effort to a person of ordinary skill in the art.
FIG. 1 is a flow chart of a method for digital twin scene interaction configuration of low codes provided by an embodiment of the present disclosure;
fig. 2 is a schematic diagram of an interaction node type configuration flow provided in an embodiment of the present disclosure;
fig. 3 is a schematic view of a scene interaction operation flow configuration provided in an embodiment of the disclosure;
fig. 4 is a schematic diagram of a scenario interaction execution flow provided in an embodiment of the present disclosure;
fig. 5 is a schematic diagram of a scenario interaction operation flow execution log recording and storage flow provided in an embodiment of the present disclosure;
fig. 6 is a schematic diagram of a data interaction flow between scene interaction configuration modules according to an embodiment of the disclosure;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
It should be appreciated that the following specific embodiments of the disclosure are described in order to provide a better understanding of the present disclosure, and that other advantages and effects will be apparent to those skilled in the art from the present disclosure. It will be apparent that the described embodiments are merely some, but not all embodiments of the present disclosure. The disclosure may be embodied or practiced in other different specific embodiments, and details within the subject specification may be modified or changed from various points of view and applications without departing from the spirit of the disclosure. It should be noted that the following embodiments and features in the embodiments may be combined with each other without conflict. All other embodiments, which can be made by one of ordinary skill in the art without inventive effort, based on the embodiments in this disclosure are intended to be within the scope of this disclosure.
It is noted that various aspects of the embodiments are described below within the scope of the following claims. It should be apparent that the aspects described herein may be embodied in a wide variety of forms and that any specific structure and/or function described herein is merely illustrative. Based on the present disclosure, one skilled in the art will appreciate that one aspect described herein may be implemented independently of any other aspect, and that two or more of these aspects may be combined in various ways. For example, an apparatus may be implemented and/or a method practiced using any number of the aspects set forth herein. In addition, such apparatus may be implemented and/or such methods practiced using other structure and/or functionality in addition to one or more of the aspects set forth herein.
It should also be noted that the illustrations provided in the following embodiments merely illustrate the basic concepts of the disclosure by way of illustration, and only the components related to the disclosure are shown in the drawings and are not drawn according to the number, shape and size of the components in actual implementation, and the form, number and proportion of the components in actual implementation may be arbitrarily changed, and the layout of the components may be more complicated.
In addition, in the following description, specific details are provided in order to provide a thorough understanding of the examples. However, it will be understood by those skilled in the art that the aspects may be practiced without these specific details.
Example 1
As shown in fig. 1, an embodiment of the present invention provides a digital twin scene interaction configuration method of a low code, including:
the method comprises the steps of constructing a scene based on a digital twin low-code platform, configuring template types of scene interaction through an interaction template configuration function, sequentially configuring node types and scene interaction configuration in a visual dragging mode after the template types are selected, meanwhile, adopting a scene interaction flow monitoring module to implement digital twin scene interaction flow monitoring, recording the execution states of nodes and node interactions, checking rule validity, and executing according to a scene interaction operation rule algorithm when the rule is valid, so that a complete node interaction type digital twin scene is constructed in a low-code mode.
Further comprises:
completing node attribute configuration and node interaction rule configuration by adopting an interaction node configuration module;
completing node type library, flow editor and flow node attribute configuration by adopting a scene interaction flow configuration module;
and setting the task type and the task execution priority by adopting an interactive flow execution module.
On the basis of the low-code digital twin scene interaction configuration method, the invention also provides a low-code digital twin scene interaction configuration system, which comprises the following steps:
the interactive node configuration module is used for configuring node attributes and node interactive rules;
the scene interaction flow configuration module is used for configuring a node type library, a flow editor and flow node attributes;
the interactive flow executing module is used for setting the task type and the task executing priority;
the scene interaction flow monitoring module is used for implementing digital twin scene interaction flow monitoring and recording nodes and node interaction execution states;
the following further explanation is made by adopting each system module in the digital twin scene interaction configuration system and the digital twin scene interaction configuration method.
As shown in fig. 1, when the digital twin scene interaction configuration of the low code comprises the following steps:
S1, scene interaction configuration: firstly, the template type of scene interaction is configured through the interaction template configuration function, and all scenes of the configured template type can be used universally.
The attributes of the template configuration include the type name, interaction type, attribute field, input attribute, output attribute, attribute default value, execution priority, connection rule, operation object, etc.
S2, in the unified configuration function of the scene interaction rule, the interaction type is selected, the operation type is dragged into the interaction rule arrangement canvas in a mouse dragging mode to generate a scene interaction node instance, and the instance is carried out by configuring the basic attribute and the interaction attribute of the interaction template.
S3, activating a regular node connection mode, connecting the connection between two nodes, checking according to configured connection rules when the connection is performed, and establishing a connection relation when the checking is passed. And dynamically editing and deleting the configured interaction flow.
And S4, providing a scene rule checking algorithm in a scene interaction rule configuration function, checking node attributes configured in an interaction rule chain and connection relations among the nodes, avoiding invalid nodes and error nodes in the scene, and improving the configuration success rate of the interaction rule.
S5, after the scene interaction rule passes verification, previewing the well-arranged digital twin scene by combining with the interaction rule configuration, and ensuring orderly and steady operation of the interaction rule by the system in an event-driven mode.
As shown in fig. 2, in order to use the interaction node configuration module to perform interaction node type configuration flow diagram, the interaction node type configuration includes the following steps:
s11, newly adding and editing a node type template;
s12, node attribute configuration: the node attributes comprise node names, node types, input parameters, output parameters and execution functions;
s13, configuring the connectable type of the downstream node: the number of the downstream nodes is one, each node type is numbered in sequence, such as node type 1 and node type 2.
S14, entering a background service after configuration and storing the background service into a database.
Specifically, after the template configuration is completed, the configured scene interaction template can be deleted or edited through a background service.
More specifically, the interaction node is a basic unit of digital twin scene interaction operation, and the node is standardized and dynamically configured, so that selection is provided for subsequent user low-code operation. The node configuration module comprises two parts, namely node attribute configuration and node interaction rule configuration. And constructing a node resource library by a configuration module, and providing prefabricated nodes for the low-code operation mode.
Node type:
the node types include 4 types of scene types, component types, flow types, and data types.
Scene type nodes including scene settings, scene resource operations, scene APIs, etc.
Component type nodes including UI components, component facades, event bindings, etc.
Flow type node: including timers, delays, branch decisions, breakpoints, custom codes, etc.
Data type node: including data requests, data statistics, data subscriptions, etc.
The node type attribute comprises a type name, a type ID, an input parameter, an output parameter and an operation function body when the node executes.
The node may support a connection configuration:
the node connection configuration is responsible for defining supportable connection types for each node, upstream and downstream nodes. Each node only carries out scene and data interaction with 2 upstream and downstream nodes, so that the correctness and stability of the whole digital twin scene interaction logic are ensured.
And when the nodes are connected and configured, configuring the downstream connectable type for each node according to the characteristics of the nodes and the data structures supported by input and output, and determining whether the two nodes can be connected. Nodes in the downstream node type list may then be connected, and nodes not in the downstream node type list may not be allowed to connect.
Standardized data output of the nodes:
the type configuration and connection relation of the nodes can be continuously expanded and accumulated, but the standardization of the output data format of each configuration node is required to be maintained. A recommended data format includes three parts, namely a node type ID, a node attribute and a node connection rule. The node attribute comprises a node type name, input and output parameters and the like, and the node can support the connection type to comprise an upstream node and a downstream node.
The invention provides a mode of storing nodes by adopting a JSON data format, and the example data format is as follows:
as shown in fig. 3, in order to use the scene interaction flow configuration module to perform scene interaction operation flow configuration, the scene interaction operation flow configuration includes the following steps:
s31, displaying a node type list on a visual interface through inquiring the node types in the system. The node type list includes UI components, 3D resources, component visible and invisible, scene APIs, data requests, custom codes, page jumps, timers, delays and the like;
s32, performing node operation by adopting a flow editor in a mouse dragging mode;
the node operation specifically comprises attribute configuration, copying nodes, cutting nodes, pasting nodes, mobile nodes, deleting nodes and creating connecting lines;
When creating a connection, there are two cases:
the mouse selects a node and triggers the creation of a connecting line;
and (5) the nodes are not selected by the mouse, the connectable downstream node types are displayed according to the rules, the nodes are generated, and the connection is created.
S33, inquiring a configuration template according to the type ID and entering an attribute configuration function when the attribute is configured;
the attribute configuration comprises UI component node configuration, 3D resource node configuration, component display hidden node configuration, scene API node configuration, data request node configuration, custom code node configuration, page jump node configuration, timer node configuration, delay node configuration and the like;
s34, after the attribute configuration is completed, entering a flow checksum for storage.
Specifically, the attribute configuration is performed, and meanwhile, the node attribute in the canvas is updated in real time on the node operation interface.
The interactive configuration module comprises a node type library, a flow editor and a flow node attribute configuration.
1) Node type library
And (3) displaying the nodes configured in the step 1 in a node type library. The node types configured in the system are listed in the scene interaction unified configuration module, and a user can also customize the node types according to the service scene to package a series of operations into customized nodes. The user is supported to manually drag the node type into the flow editor and generate the node instance.
2) Node attribute instantiation
The mouse is dragged to the node of the flow editor, and then the attribute of the node needs to be instantiated to inject the actual twin scene resource data. Specific requirements, typical examples of each type of node attribute instantiation are described below.
Node attributes for scene types
3D resources: binding resources in a 3D scene, such as: scene model, scene special effect, twins, scene landmark.
Scenario API: node binding scene operation SDK, API entry, etc. of the external opening scene, such as: scene weather setting, view angle setting, special effect drawing, scene positioning, roaming and the like.
Node attributes for component types
UI component: two-dimensional components in a scene, mouse events for data attributes, data change events, rendered data sources, etc. may be bound.
The components are visible and hidden: the resource list displayed and hidden by the component can be set, and the switching of the thematic chart can be realized through the component.
Page jumping: and supporting two jump modes of opening a new page and a pop-up box by configuration. The URL of the new page may be configured when the new page is configured. When the pop-up box is configured, the title style, text, the size and the position of the pop-up box and the embedded webpage link of the pop-up box can be configured. The links configured in the two modes support URL entry, and scene linkage is conveniently realized with upstream nodes.
Node attributes for flow types
And (3) a timer: the periodic inquiry of data, the periodic switching of scenes and the like are realized by setting a periodic execution period and matching the use with an interactive flow.
And (3) a time delay device: the execution time is delayed by setting a delay device. May be used to postpone some nodes in the execution flow.
Custom code: and supporting the input of the customized business logic codes and saving the execution. A user may implant custom code in a scene to implement scene functions and interactions.
Node attributes for data types
Data API, request mode of configuration data, service address, protocol type and entry. The request mode supports dynamic services and static data. Data in the system is requested through the data API as an entry for other nodes, such as graph component assignments and data updates.
Data subscription: configuring data channels that require subscription and connection typically requires configuring data channel names, connection authentication, subscription periods, etc.
2) Flow editor
The flow editor is a visual programming tool for creating the logic and behavior of a digital twinning scene. The manner in which the user uses nodes and wires is allowed to create complex scene logic and interaction behavior without having to write code. The editor provides node management and connection management functions, completes scene interaction flow configuration in a mouse dragging mode, binds the scene interaction flow configuration with the scene and stores the scene interaction flow configuration in a database table.
Visualization/low code orchestration: nodes are represented in the interactive flow editor through graphic symbols, and connection lines between the nodes represent data transmission and interactive logic between the nodes. The graphical and flow service interaction logic structure is easy to understand. The user quickly programs the scene interaction logic through the mouse.
Node operation: and operations such as selecting, moving, copying, cutting, pasting, deleting, moving nodes in batches, connecting the mice and the like through the mouse and the shortcut keys are supported, and the user is assisted to quickly generate the interactive logic diagram.
Node rule prompting: the user can automatically prompt the downstream node according to the rule configured in the step 1 by clicking the input and output connection points in the nodes, and the selected node can rapidly instantiate the upstream and downstream nodes and automatically connect the lines, so that the accuracy of the connection lines is ensured.
And (3) flow verification: the interactive flow integrity and rationality verification tool is provided in the flow editor, and can perform pre-execution according to the configured flow configuration, output analysis results and mark invalid nodes, error nodes and the like.
As shown in fig. 4, in order to use the interactive flow execution module to execute the scene interactive operation, the method includes the following steps:
Inquiring the established flow, and carrying out disassembly classification on the flow;
after classification, task type creation is carried out, wherein the task types comprise tasks such as event class, timing and delay task, data request, component operation, scene operation and the like;
when the digital twin scene previews and runs, tasks such as event class, timing and delay tasks, data request, component operation, scene operation and the like are generated according to the node connection sequence of the interaction flow, the node connection rule and the instantiation attribute data of the nodes, and orderly and stably execute according to the task types and priorities;
the specific work content of the task type is as follows:
a) Event class: after the scene initialization is completed, traversing the UI components and the 3D resource nodes in the flow, inquiring node configuration information, and registering the nodes bound with the mouse events.
b) Timing and execution tasks: and searching for effective timer and delayer nodes in the flow, and creating timing or delay execution tasks according to the point configuration.
c) Instant task: analyzing the scene interaction flow configuration, screening some operations needed to be executed by scene initialization, and creating tasks needed to be executed during scene initialization.
d) Task scheduling: the class 3 tasks in a, b, c are executed asynchronously. And in each task, the configured business logic in the scene is sequentially executed according to the type and the configuration attribute of the node in the flow.
As shown in fig. 5, in order to ensure that the digital twin scene can run smoothly, the invention adopts a scene interaction flow monitoring module to monitor and record the execution state of nodes and node interactions and write logs periodically when executing the digital twin scene interaction flow. Early warning can be carried out when the process is executed incorrectly, and problems can be analyzed through logs;
FIG. 5 depicts the specific steps performed by the scene interaction flow monitoring module in monitoring, including:
in the operation of the execution node, storing node information, recording execution time, updating each execution time in real time, and entering into a browser cache;
then executing interactive operation, calling back after the execution is finished, updating the finishing time, entering a browser cache and calling a storage interface;
and then entering Web service, and storing the Web service into a database to complete scene monitoring and scene log recording.
Specifically, when the scene interaction flow monitoring module monitors, the following two content monitoring methods are included:
1) Node monitoring
The node instantiation data monitoring can set the correctness of a data structure and set a threshold K1 for the attribute, so that the effective monitoring of each node of the twin scene is realized.
2) And (3) interaction monitoring:
and setting a threshold K2 according to the up-down data interaction condition among the nodes, and prompting and reporting when the data interaction time delay exceeds the threshold.
When the data interaction frequency threshold is specifically set, the data interaction frequency threshold can be set to K21, the data interaction delay time threshold can be set to K22, and when the data interaction frequency threshold exceeds the threshold, the data interaction delay time threshold is prompted and reported.
As shown in fig. 6, a data transfer and interaction flow among the four modules of the interaction node configuration module, the scene interaction flow configuration module, the interaction flow execution module and the scene interaction flow monitoring module is provided.
The low-code digital twin scene interaction method is based on a page configuration mode to rapidly realize business operation flow and data flow configuration.
1) Node type table node_template is created in the database, and when a user creates, updates and deletes a node type in the node type configuration module, configuration data of the node type needs to be saved in the data table.
2) And inquiring the node type in the resource library during process editing. And generating node examples, example attributes and connection relations among the nodes when the user configures the flow. And when the process editing is finished, binding the interactive process and the digital twin scene, and timely storing the interactive process to a process configuration table scene_flow_setting.
3) And inquiring scene resources stored in the database, configuring the initialization flow for the scene interaction flow when the interaction flow is executed, and disassembling and classifying the interaction flow to create an execution task.
4) And recording the operation of the flow node and the record of data flow when the flow is executed. And analyzing the log, generating an alarm log aiming at the abnormal log, and storing the alarm log into a scene log table scene_oper_log.
When a scene is built through the digital twin low-code platform, the interactive operation configuration of the 2D data chart component and the 3D model resource depends on twin attribute and event configuration, the realization of operation logic needs to be realized by a large number of hard codes, the interactive operation configuration is relatively scattered, the interactive logic of the current scene cannot be browsed, missing and repeated configuration situations often occur, the scene building difficulty is increased, the correctness of the service logic needs to be tested by repeatedly running the digital twin scene, and the problems of long scene building period, multiple codes, difficult maintenance and the like are caused.
The invention constructs a complete scene interaction configuration system by constructing a node type configuration module, a scene interaction configuration module and a scene interaction monitoring module. In the execution flow, the standardized and up-down ordered matching control of the node data is realized based on the node configuration module, the digital twin scene is injected into the node based on the scene interaction configuration module, the instantiation of the node attribute and the up-down ordered interaction of the node are realized, and the node interaction operation monitoring in the operation process of the twin scene is realized based on the scene interaction monitoring module. In the three-step flow, the configuration and implementation are carried out in a low-code mode, so that the low-code mode is adopted to construct a complete node interaction type digital twin scene.
The invention configures the business logic scattered in the resource configuration interface uniformly by constructing low-code and graphical scene interaction configuration, and realizes scene operation logic configuration by providing a visual and flow mouse dragging mode. The interaction configuration module can list all operation logics of the scene, is clear and visible to the interaction logics among the resources, greatly reduces the complexity of digital twin development, facilitates a user to develop digital twin application with high interactivity more efficiently, and improves the development efficiency of the digital twin scene.
An electronic device according to an embodiment of the present disclosure includes a memory and a processor. The memory is for storing non-transitory computer readable instructions. In particular, the memory may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. The volatile memory may include, for example, random Access Memory (RAM) and/or cache memory (cache), and the like. The non-volatile memory may include, for example, read Only Memory (ROM), hard disk, flash memory, and the like.
The processor may be a Central Processing Unit (CPU) or other form of processing unit having data processing and/or instruction execution capabilities, and may control other components in the electronic device to perform the desired functions. In one embodiment of the present disclosure, the processor is configured to execute the computer readable instructions stored in the memory to cause the electronic device to perform all or part of the steps of the low-code digital twin scene interaction configuration method of the embodiments of the present disclosure described above.
It should be understood by those skilled in the art that, in order to solve the technical problem of how to obtain a good user experience effect, the present embodiment may also include well-known structures such as a communication bus, an interface, and the like, and these well-known structures are also included in the protection scope of the present disclosure.
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure. A schematic diagram of an electronic device suitable for use in implementing embodiments of the present disclosure is shown. The electronic device shown in fig. 7 is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
As shown in fig. 7, the electronic device may include a processor (e.g., a central processing unit, a graphic processor, etc.) that may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) or a program loaded from a storage device into a Random Access Memory (RAM). In the RAM, various programs and data required for the operation of the electronic device are also stored. The processor, ROM and RAM are connected to each other by a bus. An input/output (I/O) interface is also connected to the bus.
In general, the following devices may be connected to the I/O interface: input means including, for example, sensors or visual information gathering devices; output devices including, for example, display screens and the like; storage devices including, for example, magnetic tape, hard disk, etc.; a communication device. The communication means may allow the electronic device to communicate wirelessly or by wire with other devices, such as edge computing devices, to exchange data. While fig. 7 shows an electronic device having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a non-transitory computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via a communication device, or installed from a storage device, or installed from ROM. All or part of the steps of the low-code digital twin scene interaction configuration method of embodiments of the present disclosure are performed when the computer program is executed by a processor.
The invention firstly unifies mating configuration scattered in the digital twin scene in the interaction rule function to perform unified configuration, and does not need to pay attention to resource initialization and interaction operation when arranging resources, thereby reducing the complexity of scene configuration and improving the scene arranging efficiency;
the visual and flow mouse dragging configuration method is used for configuring scene interaction logic, and the threshold used by a user is reduced.
According to the invention, the interactive configuration of the digital twin scene is realized through the unified configuration interface, and the scene running effect can be checked in the face of complex application and business scenes with frequent requirement change without writing codes or reissuing or compiling the scenes, and the direct preview of the scenes is completed through configuration.
The scene interaction configuration of the invention has strong expandability, can dynamically interact types, scene interaction and scene resource arrangement functions and realize decoupling, and does not need to expand a scene arrangement interface when expanding one type.
The invention is not limited by the space of the scene resource configuration panel and the relevance between resources, can realize the interactive configuration of various types and complex logic relations, and can effectively support the construction of some complex business application scenes.
Application scene:
the method can be used for a digital twin low-code platform, and the digital twin scene interaction configuration with complex interaction logic and frequently changed requirements can be dealt with by configuring the method.
The method is suitable for component interaction configuration in a large-screen and chart display related low-code platform.
Value of
1. The interactive logic configuration of the digital twin scene is realized by using the visualization, flow and mouse dragging modes, the customized logic code is not required to be written for coping with the complex service scene, and the technical threshold of the digital twin low-code platform user is reduced.
2. The interactive configuration originally scattered on each attribute interface is uniformly configured, the scene interactive operation configuration and the scene resource compiling are decoupled, the complexity of digital twin scene configuration is reduced, and the scene construction efficiency is improved.
3. The scene interaction rules are uniformly configured, so that a user can see the interaction flow of the scene at a glance, repeated or invalid operations are avoided, and the success rate of configuring the interaction rules is improved.
3. The interaction type template configuration function is provided, the zero code extension scene interaction type is realized, and the expandability is strong.
The working flow is as follows: firstly, after the digital twin scene resource layout and scene effect configuration are completed, using a field Jing Jiaohu configuration method to configure scene initialization and data initialization logic, performing interactive operation among components, components and 3D scenes, triggering special effects of the 3D scenes, calling external resources of the scenes and the like; then triggering the execution of a scene rule chain through an event circulation mechanism in the presence Jing Yun, and further driving the ordered and steady operation of the digital twin scene;
The digital twin low-code platform can be supported, complex digital twin scene interaction configuration can be completed, scene construction efficiency is improved, and the use threshold of the digital twin low-code platform is reduced.
The detailed description of the present embodiment may refer to the corresponding description in the foregoing embodiments, and will not be repeated herein.
A computer-readable storage medium according to an embodiment of the present disclosure has stored thereon non-transitory computer-readable instructions. When executed by a processor, perform all or part of the steps of the low-code digital twin scene interaction configuration method of the various embodiments of the disclosure described previously.
The computer-readable storage medium described above includes, but is not limited to: optical storage media (e.g., CD-ROM and DVD), magneto-optical storage media (e.g., MO), magnetic storage media (e.g., magnetic tape or removable hard disk), media with built-in rewritable non-volatile memory (e.g., memory card), and media with built-in ROM (e.g., ROM cartridge).
The detailed description of the present embodiment may refer to the corresponding description in the foregoing embodiments, and will not be repeated herein.
The basic principles of the present disclosure have been described above in connection with specific embodiments, however, it should be noted that the advantages, benefits, effects, etc. mentioned in the present disclosure are merely examples and not limiting, and these advantages, benefits, effects, etc. are not to be considered as necessarily possessed by the various embodiments of the present disclosure. Furthermore, the specific details disclosed herein are for purposes of illustration and understanding only, and are not intended to be limiting, since the disclosure is not necessarily limited to practice with the specific details described.
In this disclosure, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions, and the block diagrams of devices, apparatuses, devices, systems involved in this disclosure are merely illustrative examples and are not intended to require or implicate that connections, arrangements, configurations must be made in the manner shown in the block diagrams. As will be appreciated by one of skill in the art, the devices, apparatuses, devices, systems may be connected, arranged, configured in any manner. Words such as "including," "comprising," "having," and the like are words of openness and mean "including but not limited to," and are used interchangeably therewith. The terms "or" and "as used herein refer to and are used interchangeably with the term" and/or "unless the context clearly indicates otherwise. The term "such as" as used herein refers to, and is used interchangeably with, the phrase "such as, but not limited to.
In addition, as used herein, the use of "or" in the recitation of items beginning with "at least one" indicates a separate recitation, such that recitation of "at least one of A, B or C" for example means a or B or C, or AB or AC or BC, or ABC (i.e., a and B and C). Furthermore, the term "exemplary" does not mean that the described example is preferred or better than other examples.
It is also noted that in the systems and methods of the present disclosure, components or steps may be disassembled and/or assembled. Such decomposition and/or recombination should be considered equivalent to the present disclosure.
Various changes, substitutions, and alterations are possible to the techniques described herein without departing from the teachings of the techniques defined by the appended claims. Furthermore, the scope of the claims of the present disclosure is not limited to the particular aspects of the process, machine, manufacture, composition of matter, means, methods and acts described above. The processes, machines, manufacture, compositions of matter, means, methods, or acts, presently existing or later to be developed that perform substantially the same function or achieve substantially the same result as the corresponding aspects described herein may be utilized. Accordingly, the appended claims are intended to include within their scope such processes, machines, manufacture, compositions of matter, means, methods, or acts.
The previous description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects without departing from the scope of the disclosure. Thus, the present disclosure is not intended to be limited to the aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing description has been presented for purposes of illustration and description. Furthermore, this description is not intended to limit the embodiments of the disclosure to the form disclosed herein. Although a number of example aspects and embodiments have been discussed above, a person of ordinary skill in the art will recognize certain variations, modifications, alterations, additions, and subcombinations thereof.

Claims (10)

1. A low-code digital twin scene interaction configuration method, comprising:
a scene is built based on a digital twin low code platform,
the template type of the scene interaction is configured by the interaction template configuration function,
after the template type is selected, the node type configuration and the scene interaction configuration are sequentially carried out by adopting a visual dragging mode,
a scene interaction flow monitoring module is adopted to monitor the digital twin scene interaction flow and record the node and the execution state of node interaction,
and checking rule validity, and executing according to a scene interaction operation rule algorithm when the rule is valid, so as to construct a complete node interaction type digital twin scene in a low-code mode.
2. The low-code digital twin scene interaction configuration method of claim 1, further comprising:
completing node attribute configuration and node interaction rule configuration by adopting an interaction node configuration module;
Completing node type library, flow editor and flow node attribute configuration by adopting a scene interaction flow configuration module;
and setting the task type and the task execution priority by adopting an interactive flow execution module.
3. The low-code digital twin-scene interactive configuration method according to claim 1, wherein the attributes of the template type configuration comprise a type name, an interactive type, an attribute field, an input attribute, an output attribute, an attribute default value, an execution priority, a connection rule and an operation object of a template;
the node types include scene type, component type, flow type, and data type.
4. The low-code digital twin scene interaction configuration method of claim 3, wherein the node attributes of the scene type comprise:
3D resources: binding resources in the 3D scene;
scenario API: node binding scene operation SDK and API access parameters of the external open scene;
the node attributes of the component types include:
UI component: mouse events, data change events, rendered data sources for binding two-dimensional components, data attributes in a scene;
the components are visible and hidden: the method comprises the steps of setting a resource list displayed and hidden by a component, and switching a thematic chart through the component;
Page jumping: the method is used for supporting two jump modes of configuring and opening a new page and a pop-up box;
the node attribute of the flow type includes:
and (3) a timer: the periodic query of data and the periodic switching of scenes are realized by setting a periodic execution period and matching the use with an interaction flow;
and (3) a time delay device: delaying execution time by a delay device, wherein the delay device is used for delaying some nodes in an execution flow;
custom code: supporting the input of a custom business logic code and saving and executing;
the node attributes of the data type include:
data API: request mode of configuration data, service address, protocol type, and entry, wherein:
the request mode supports dynamic service and static data, and requests data in the system as the participation of other nodes through a data API;
data subscription: data channels requiring subscription and connection are configured.
5. The method for configuring digital twin scenes of low codes according to claim 1, wherein when the nodes are connected and configured, determining whether two nodes can be connected according to node characteristics and data structures supported by input and output, and configuring downstream connectable types for each node;
wherein:
The nodes in the downstream node type list can then be connected;
nodes not in the downstream node type list are not allowed to connect.
6. The method for configuring digital twin scene interaction of low code according to claim 1, wherein when the scene interaction flow monitoring module is adopted to monitor and record the execution state of the node and the node interaction, the method comprises the following steps:
and (3) node detection: node instantiation data monitoring, namely setting data structure correctness and setting a threshold value K1 for attributes, and realizing effective monitoring of each node of a twinning scene;
and (3) interaction monitoring: setting a threshold value K2 under the condition of data interaction between nodes, and prompting and reporting when the data interaction time delay exceeds the threshold value.
7. The low-code digital twin scenario interaction configuration method according to claim 1, wherein the task types include event class, timing and latency tasks, data requests, component operations and scenario operations.
8. A low-code digital twin scene interaction configuration system, comprising:
the interactive node configuration module is used for configuring node attributes and node interactive rules;
The scene interaction flow configuration module is used for configuring a node type library, a flow editor and flow node attributes;
the interactive flow executing module is used for setting the task type and the task executing priority;
the scene interaction flow monitoring module is used for implementing digital twin scene interaction flow monitoring and recording the node and the execution state of node interaction.
9. An electronic device, the electronic device comprising:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the low-code digital twinned scene interaction configuration method of any of claims 1-7.
10. A computer readable storage medium storing computer instructions for causing a computer to perform the low-code digital twin scene interaction configuration method of any of claims 1-7.
CN202311634929.5A 2023-12-01 2023-12-01 Low-code digital twin scene interaction configuration method and system Pending CN117667055A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311634929.5A CN117667055A (en) 2023-12-01 2023-12-01 Low-code digital twin scene interaction configuration method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311634929.5A CN117667055A (en) 2023-12-01 2023-12-01 Low-code digital twin scene interaction configuration method and system

Publications (1)

Publication Number Publication Date
CN117667055A true CN117667055A (en) 2024-03-08

Family

ID=90085798

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311634929.5A Pending CN117667055A (en) 2023-12-01 2023-12-01 Low-code digital twin scene interaction configuration method and system

Country Status (1)

Country Link
CN (1) CN117667055A (en)

Similar Documents

Publication Publication Date Title
US11610164B2 (en) Workflow project design systems, apparatuses, and methods
US7448024B2 (en) System and method for software application development in a portal environment
US20190196672A1 (en) Visual effects system for "big data" analysis workflow editors, distribution platforms, execution engines, and management systems comprising same
US9471213B2 (en) Chaining applications
US8756515B2 (en) Dynamic editors for functionally composed UI
US20160313874A1 (en) Visual effects system for "big data" analysis workflow editors, distribution platforms, execution engines, and management systems comprising same
CN104484189A (en) Construction and design method of application interface
CN103984818A (en) AUV (autonomous underwater vehicle) design flow visualization modeling method based on Flex technology
JP2012508934A (en) Data object management and automatic linking
WO2012140564A1 (en) System and method for mobile application development
CN112214214A (en) Low code development system, device and medium for android native APP
JP7280388B2 (en) Apparatus and method, equipment and medium for implementing a customized artificial intelligence production line
CN113900636A (en) Self-service channel business process development system and development method thereof
CN117032675B (en) Dynamic form design method
CN112068879B (en) Method and device for constructing client application program development framework based on configuration
CN111797340B (en) Service packaging system for user-defined extraction flow
US20120330859A1 (en) Interactive business process modeling and simulation
CN117667055A (en) Low-code digital twin scene interaction configuration method and system
CN111949267B (en) UI front end generation method and device
CN114237583A (en) Cross-platform visual code generation device and method
CN115113874B (en) Configuration development method, system, equipment and storage medium based on small program
CN113806596B (en) Operation data management method and related device
CN103164257B (en) Multi-platform picture dynamic call method and system in industrial configuration application
Patel Sitecore Cookbook for Developers
Zhu et al. Implementation and Application of GUI Model-Driven Low-Code Platform in Energy Industry

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination