CN111831174A - Event setting method, device, equipment and storage medium - Google Patents

Event setting method, device, equipment and storage medium Download PDF

Info

Publication number
CN111831174A
CN111831174A CN201910325495.8A CN201910325495A CN111831174A CN 111831174 A CN111831174 A CN 111831174A CN 201910325495 A CN201910325495 A CN 201910325495A CN 111831174 A CN111831174 A CN 111831174A
Authority
CN
China
Prior art keywords
node
rule
event
trigger
action
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.)
Granted
Application number
CN201910325495.8A
Other languages
Chinese (zh)
Other versions
CN111831174B (en
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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201910325495.8A priority Critical patent/CN111831174B/en
Publication of CN111831174A publication Critical patent/CN111831174A/en
Application granted granted Critical
Publication of CN111831174B publication Critical patent/CN111831174B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application provides an event setting method, an event setting device, event setting equipment and a storage medium, so that the processing efficiency is improved. The method comprises the following steps: creating object nodes according to the selected object, wherein the object nodes comprise trigger object nodes and action object nodes; determining an object event corresponding to the trigger object node; determining an object action corresponding to the action object node, and connecting the object event and the object action through a connecting line of the trigger object node and the action object node; adding rule nodes on a connecting line of the trigger object node and the action object node, wherein the rule nodes comprise a trigger rule node and a conversion rule node; a corresponding interaction event is generated. The object rules and the like of the interaction events can be conveniently set in one interface, repeated switching among the setting panels of all the components is not needed, operation is convenient and fast, and efficiency is high.

Description

Event setting method, device, equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to an event setting method and apparatus, an electronic device, and a storage medium.
Background
In the current visual large-screen building tool in the industry, the setting of the interaction event of the large-screen assembly is usually operated in a form filling mode by adopting a traditional subassembly sub-panel.
In the form setting mode, each component corresponds to an independent setting panel, so that in the setting process, the setting panel of different components needs to be switched repeatedly to complete the setting of a complete interaction event, and particularly when the interaction event setting of a plurality of components is carried out, the setting operation is very complicated, and the processing efficiency is influenced.
Disclosure of Invention
The embodiment of the application provides a data processing method to improve processing efficiency.
Correspondingly, the embodiment of the application also provides a data processing device, an electronic device and a storage medium, which are used for ensuring the implementation and application of the method.
In order to solve the above problem, an embodiment of the present application discloses an event setting method, including: creating object nodes according to the selected object, wherein the object nodes comprise trigger object nodes and action object nodes; determining an object event corresponding to the trigger object node; determining an object action corresponding to the action object node, and connecting the object event and the object action through a connecting line of the trigger object node and the action object node; adding rule nodes on a connecting line of the trigger object node and the action object node, wherein the rule nodes comprise a trigger rule node and a conversion rule node; a corresponding interaction event is generated.
Optionally, the method further includes: providing an event setting interface, the event setting interface comprising: the node adding panel, the main canvas and the rule setting panel.
Optionally, the creating an object node according to the selected object includes: receiving a first instruction, selecting an object on the node adding panel, and determining a corresponding object node; and receiving a second instruction, and displaying the object node on the main canvas.
Optionally, the trigger object node has a first display panel, and the determining an object event corresponding to the trigger object node includes: receiving a third instruction, and displaying object event data on a first display panel of the trigger object node; and receiving a fourth instruction, and determining the selected object event.
Optionally, the action object node has a second display panel; the determining the object action corresponding to the action object node and connecting the object event and the object action through the connecting line of the trigger object node and the action object node includes: receiving a fifth instruction, and displaying object action data on a second display panel of the action object node; and receiving a sixth instruction, determining a selected action object, and generating a connecting line between the object event and the object action.
Optionally, the method further includes: receiving a seventh instruction, and drawing a connecting line by taking the anchor point of the object event of the first display panel as a vertex; the generating a connection line between the object event and the object action includes: and taking the anchor point at the action object on the second display panel as the other vertex of the connecting line.
Optionally, adding a rule node to the connection line between the trigger object node and the action object node includes: receiving an eighth instruction, selecting a rule device on the node adding panel, and determining a corresponding rule node; receiving a ninth instruction, and adding the rule node to a connecting line of the trigger object node and the action object node; and setting rules corresponding to the rule nodes on the rule setting panel, wherein the rules comprise trigger rules and conversion rules.
Optionally, the receiving a ninth instruction, and adding the rule node to the connection line between the trigger object node and the action object node, includes: and determining a ninth instruction according to the rule node moving to the connecting line of the trigger object node and the action object node, disconnecting the connecting line and respectively connecting the two disconnected ends with the rule node.
Optionally, adding a rule node to the connection line between the trigger object node and the action object node includes: receiving the trigger of adding a control on the connecting line of the trigger object node and the action object node, and displaying a corresponding rule adding panel; determining a selected rule node according to the trigger of the rule adding panel, disconnecting the connecting line and respectively connecting the disconnected two ends with the rule node; and setting rules corresponding to the rule nodes on the rule setting panel, wherein the rules comprise trigger rules and conversion rules.
Optionally, the event setting interface includes a preview control; and displaying a corresponding preview floating window on the main canvas according to the triggering of the preview control so as to conveniently execute the preview and logic check of the interactive event.
Optionally, the method further includes: and stacking the rule nodes of the same type, and combining the rule nodes into a rule node group.
The embodiment of the application also discloses an event setting method, which comprises the following steps: providing an event setting interface, the event setting interface comprising: adding a panel and a main canvas on the node; according to the operation of adding the panel to the node, determining a corresponding node and adding the node to the main canvas, wherein the node comprises: an object node and a rule node; and establishing the association between the object node and the rule node on the main canvas to generate a corresponding interaction event.
Optionally, the event setting interface further includes: a rule setting panel; before generating the corresponding interaction event, the method further includes: and setting rules corresponding to the rule nodes on the rule setting panel.
The embodiment of the application also discloses an event setting device, the device includes: an object node determining module, configured to create object nodes according to the selected object, where the object nodes include a trigger object node and an action object node; the object association module is used for determining an object event corresponding to the trigger object node; determining an object action corresponding to the action object node, and connecting the object event and the object action through a connecting line of the trigger object node and the action object node; the rule determining module is used for adding rule nodes on a connecting line of the trigger object node and the action object node, wherein the rule nodes comprise a trigger rule node and a conversion rule node; and the event generating module is used for generating corresponding interactive events.
The embodiment of the application also discloses an event setting device, the device includes: an interface providing module, configured to provide an event setting interface, where the event setting interface includes: adding a panel and a main canvas on the node; a node adding module, configured to determine a corresponding node according to the operation of adding a panel to the node and add the node to the main canvas, where the node includes: an object node and a rule node; and the node association module is used for establishing association between the object node and the rule node on the main canvas and generating a corresponding interaction event.
The embodiment of the application also discloses an electronic device, which comprises: a processor; and a memory having executable code stored thereon, which when executed, causes the processor to perform an event setting method as described in one or more of the embodiments of the present application.
One or more machine-readable media having stored thereon executable code that, when executed, causes a processor to perform an event setting method as described in one or more of the embodiments of the present application are also disclosed.
The embodiment of the application also discloses an electronic device, which comprises: a processor; and a memory having executable code stored thereon, which when executed, causes the processor to perform an event setting method as described in one or more of the embodiments of the present application.
One or more machine-readable media having stored thereon executable code that, when executed, causes a processor to perform an event setting method as described in one or more of the embodiments of the present application are also disclosed.
Compared with the prior art, the embodiment of the application has the following advantages:
in the embodiment of the application, an object node can be created according to a selected object, the object node comprises a trigger object node and an action object node, then an object event corresponding to the trigger object node and an object action corresponding to the action object node can be determined, the object event and the object action are connected through a connecting line of the trigger object node and the action object node, then a rule node is added on the connecting line of the trigger object node and the action object node, the rule node comprises a trigger rule node and a conversion rule node, and a corresponding interaction event is generated, so that the object rule and the like of the interaction event can be conveniently and rapidly set in an interface, repeated switching among setting panels of all components is not needed, the operation is convenient and fast, and the efficiency is high.
Drawings
FIG. 1 is a schematic view of an event setting interface of a large visual screen according to an embodiment of the present application;
FIG. 2 is a flow chart of the steps of an embodiment of an event setting method of the present application;
fig. 3A, fig. 3B, fig. 3C, fig. 3D, fig. 3E, and fig. 3F are schematic diagrams illustrating the setting of object nodes in an interaction event according to an embodiment of the present application;
fig. 4A and fig. 4B are schematic diagrams illustrating a rule node in an interaction event according to an embodiment of the present application;
FIGS. 5A, 5B and 5C are schematic diagrams illustrating the setting of a rule node in another interaction event according to the embodiment of the present application;
FIG. 6 is a flow chart of steps in another event setting method embodiment of the present application;
FIG. 7 is a flow chart of steps in yet another event setting method embodiment of the present application;
8A, 8B and 8C are schematic diagrams of an event setting interface of another visualization large screen according to the embodiment of the application;
FIG. 9 is a block diagram of an embodiment of an event setting device according to the present application;
FIG. 10 is a block diagram of another example of an event setting device according to the present application;
FIG. 11 is a block diagram of an embodiment of an event setting device according to the present application;
fig. 12 is a schematic structural diagram of an apparatus according to an embodiment of the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
The method and the device can be applied to the field of the large visual screen, visual setting can be performed when the large visual screen is set, various objects, rules and the like are abstracted to nodes capable of being visualized, and therefore the setting of the interaction events corresponding to the large visual screen is achieved through operation of the nodes.
When a large visual screen is built, all information charts and visual elements on the screen can be called as an assembly; the interactive event refers to the interactive behavior of the component, and the occurrence rule of the interactive behavior. Referring to the large screen element triggering and interactive behavior occurring in the interactive event as an object, the object may include at least one of: a single component, a sub-component contained under a component, a combination of multiple components, and the like.
In order to facilitate the setting of the large visual screen, the embodiment of the application can provide an event setting interface, and the event setting interface is used for setting the interactive event of the large visual screen. A schematic diagram of a visualization large screen event setting interface is shown in fig. 1. The event setting interface 100 includes: the node add panel 102, the main canvas 104, and the rule set panel 106. To facilitate visualization setup, each element on the main canvas may be referred to as a node, and thus the nodes may include object nodes and rule nodes, including trigger rule nodes (e.g., trigger rulers) and transformation rule nodes (e.g., transformation rulers). One interaction event can be summarized as: an object event of a starting object is triggered with a certain trigger rule, resulting in the terminating object performing a certain action with a certain transformation rule.
The node adding panel is used for determining a node to be added on the main canvas, the class of the node includes an object, a trigger rule, a conversion rule and other classes, the node adding panel correspondingly includes an object list, a trigger rule list and a conversion rule list, different lists can select the node of the corresponding class, and the node adding panel can be folded or unfolded, for example, fig. 1 is an example of unfolding the node adding panel.
The main canvas is used for creating an interaction event, nodes can be selected on the node adding panel and placed on the main canvas, then all the nodes are connected on the main canvas to form the interaction event, and all interaction events, related objects, rules and other elements contained in a large screen project can be displayed on the main canvas.
The rule setting panel is used for performing detailed setting of a rule, interaction logic of nodes can be specifically set in the form of codes on the rule setting panel, and the rule setting panel can be folded or unfolded, as shown in fig. 1, which is an example of unfolding of the rule setting panel.
The event setting interface can also comprise a toolbar, the toolbar comprises controls such as buttons and the like for various operations, and other pages in large-screen setting, such as a whole editing page and the like, can also be returned. In the example shown in FIG. 1, the toolbar includes the following controls: a return control, a cancel control, a redo control, an enable control, a deactivate control, a delete control, a preview control, an apply control, a help control, and the like. The returning control can be used for returning to other pages such as a previous page or a previous page, the canceling control is used for canceling a specified setting operation, the redo control is used for re-specifying the setting operation, the enabling control is used for starting to use a specified node, the disabling control is used for stopping using the specified node, the deleting control is used for deleting the specified node or setting the operation, the previewing control is used for previewing the display effect of the interactive event on the large screen, and the application control is used for applying the interactive event.
Therefore, the user can select the nodes on the event setting interface, the nodes are connected through the connecting lines, and the corresponding rules are set based on requirements, so that the interaction events can be conveniently set, direct repeated switching of the setting panels of different components is not needed, the set operation logic and the event logic in the general cognition of the user are unified, the complete interaction logic of the interaction events can be seen on the event setting interface, and the better global property is achieved.
On the basis of the above embodiments, the embodiments of the present application provide a data processing method, which can set an interactive event based on the event setting interface.
Referring to fig. 2, a flow chart of steps of an embodiment of a data processing method of the present application is shown.
Step 202, creating object nodes according to the selected object, wherein the object nodes comprise trigger object nodes and action object nodes.
The user can visually set the interactive event in the event setting interface, correspondingly receive various indication information of the user based on the event setting interface, and create the interactive event based on the indication. The selection object can be set by clicking or the like on the node adding panel of the event setting interface, so that an object node can be created on the main canvas based on the selected object, for example, the object node corresponding to the selection object is generated and is dropped onto the main canvas by a dragging operation. The object can be divided into a trigger object and an action object according to the purpose division, wherein the trigger object refers to the triggered object in the interaction event, and the action object refers to the object which executes the action in the interaction event. The starting object in an interaction event is usually a trigger object, the ending object is usually an action object, and one interaction event may include one or more trigger objects and one or more action objects, which are set according to requirements. The trigger object and the action object can also be the same object in an interaction event, such as component 001 in fig. 2 being both the trigger object and the action object in the interaction event.
In an optional embodiment, the creating an object node according to the selected object includes: receiving a first instruction, selecting an object on the node adding panel, and determining a corresponding object node; and receiving a second instruction, and displaying the object node on the main canvas. The user can select an object list on the node adding panel so as to view selectable objects, then the objects can be selected through clicking and other operations, accordingly, a first instruction operated by the user can be received, the objects selected on the node adding panel by the user can be determined according to the first instruction, the object nodes of the corresponding objects can be determined, and for example, a display panel of the object nodes which can be displayed on the main canvas is displayed on a clicking position. Then, the user can click and the like at the position where the object node needs to be placed on the main canvas, so that the second instruction can be received, the object node is displayed on the main canvas, and the display panel of the object node can be displayed on the main canvas.
For example, in an example, a user may click an object to be selected on the node add panel (corresponding to receiving a first instruction), keep the click operation to be dragged (correspondingly displaying the display panel of the object node and moving along with a dragging track), and release the selection operation on the object node (corresponding to receiving a second instruction) after reaching a position on the main canvas where the object node is to be placed, such as clicking a left mouse button, releasing a left button after dragging, or performing other operations, so as to display the display panel of the object node on the main canvas.
In the embodiment of the application, corresponding events can be set for the trigger object nodes, and corresponding actions can be set for the action object nodes. For the sake of convenience of distinction, the display panel of the object node may be referred to as a first display panel, and the display panel of the action object node may be referred to as a second display panel.
And 204, determining an object event corresponding to the trigger object node.
Step 206, determining the object action corresponding to the action object node, and connecting the object event and the object action through the connecting line of the trigger object node and the action object node.
After the trigger object node is determined, an object event corresponding to the trigger object node may be set, where the first display panel has an event setting control, such as the "+ event" control in fig. 1, and by selecting the control, settable object events, including various object events, may be displayed, and an event may be selected as the object event of the trigger object node. In an optional embodiment, the determining an object event corresponding to the trigger object node includes: receiving a third instruction, and displaying object event data on a first display panel of the trigger object node; and receiving a fourth instruction, and determining the selected object event. The event setting control may be clicked on the first display panel so that a corresponding third instruction may be received, then object event data of a selectable object event, such as a name, an identifier, and the like of the event, may be displayed on the first display panel, then the object event to be selected may be clicked, and a corresponding fourth instruction may be received so that the selected object event is determined, such as determined based on a click position, a selected state of the control, and the like.
And aiming at the action object node, object actions corresponding to the action object can be set, wherein an action setting control, such as the control "+ action" in fig. 1, is arranged on the second display panel, the settable object actions can be displayed by triggering the action setting control, the object actions comprise various types of actions, and one action can be selected as the object action of the action object node. In an optional embodiment, the determining an object action corresponding to the action object node, and connecting the object event and the object action through a connection line between the trigger object node and the action object node includes: receiving a fifth instruction, and displaying object action data on a second display panel of the action object node; and receiving a sixth instruction, determining a selected action object, and generating a connecting line between the object event and the object action. The object setting control may be clicked on the second display panel so that a corresponding fifth instruction may be received, then object action data of a selectable object action, such as a name, an identifier, and the like of the action, may be displayed on the second display panel, then the object action to be selected may be clicked, and a corresponding sixth instruction may be received so that the selected object action is determined, such as determined based on a click position, a selected state of the control, and the like. And the object event of the trigger object node and the object action of the action object node can be connected through a connecting line, and the trigger object node and the action object node are connected through the connecting line.
In some optional embodiments of the present application, a connection line may also be pulled out from an object event after the object event triggering the object node is set, so that the connection line may be established after an object-out action selected in the second display panel acting on the object node. And correspondingly, a seventh instruction can be received, and the anchor point at the object event of the first display panel is used as a vertex to pull out a connecting line. The generating a connection line between the object event and the object action includes: and according to the sixth instruction, taking the anchor point at the action object on the second display panel as the other vertex of the connecting line. The user drags the connecting line, after the mouse moves to the action setting control of the action object node, a fifth instruction can be determined based on the position where the mouse stays, then object action data can be displayed on the second display panel of the action object node, after the action of the object to be selected is determined, the mouse can move to the anchor point corresponding to the action object and trigger the anchor point to indicate the operation of selecting the anchor point such as clicking or releasing a left mouse button, and the connection of the object event and the object action is established by taking the anchor point at the action object on the second display panel as the other vertex of the connecting line correspondingly after the sixth instruction is received, so that the connecting line is established between the trigger object node and the action object node.
Fig. 3 is a schematic diagram illustrating the arrangement of nodes in an interaction event. The method can be triggered by clicking and the like to display an object list on a node adding panel, as in the example of fig. 3A, display selectable objects such as a global large-screen component which can be displayed in the large-screen component, such as the component 001, the component 002, the component 003 and the like in the group 1, further select a required component or a sub-component and the like as a selection object by mouse clicking in each component group, accordingly, a first instruction can be received, and a display panel of a corresponding object node, such as the object node of the component 002 shown in fig. 3B, is determined. And dragging the node object to a position which is required to be placed on the main canvas by a movable mouse, releasing the selection of the mouse on the object node, and displaying the object node on a corresponding position on the main canvas corresponding to a second instruction.
Two object nodes, one trigger object node and the other role object node, can be selected in this example, as shown in fig. 3C, component 002 as the trigger object and component 003 as the role object. Then, the event setting control may be clicked in the trigger object node, and various types of selectable object event data are displayed on the first display panel in response to receiving the third instruction, as shown in fig. 3D, object event data such as a selectable event a, data refresh, and event C are displayed. Then, the user can click an object event to be selected, for example, click and drag an anchor point at the position of the event to be selected, correspondingly receive a fourth instruction to determine the selected object event, and pull out a connecting line by taking the anchor point as a vertex based on a seventh instruction corresponding to the dragging operation, the connecting line is moved and extended along with the moving track, correspondingly receive a fifth instruction after the mouse moves to the position of an action setting control on a second display panel of the action object node, and display object action data on the second display panel, as shown in fig. 3E, object action data such as action B, click, double click, action D and the like are displayed, and at this time, the mouse moves to the anchor point of the action D. Then the mouse can be released at the anchor point position of the object action to be selected, a sixth command is correspondingly received, the object action at the anchor point is determined to be the selected object action, the anchor point is used as another vertex of the connecting line, and the connecting line is connected between the selected object event and the action object, as shown in fig. 3F, only the selected object event and the selected object action can be displayed on the display panel, for example, the component 002 displays the event C on the display panel, and the component 003 displays the action D on the display panel, that is, the process of creating the connecting line between the trigger object node and the action object node is realized.
And step 208, adding rule nodes on the connecting lines of the trigger object nodes and the action object nodes, wherein the rule nodes comprise trigger rule nodes and conversion rule nodes.
The object event refers to an interface which can be called to occur as a trigger rule in an object, and the object action refers to an interface which can be called to occur as a conversion rule in an object. Therefore, after a connecting line is established between the trigger object node and the action object node, a trigger rule of an event and a conversion rule of an action can be set, a user can trigger the node to add a rule list on a panel, the trigger rule list and the conversion rule list are included to select a corresponding rule device, wherein the user can click the required rule device, so that the rule device is selected on the node adding panel, the corresponding rule node is determined, then the rule node can be dragged to the connecting line of the trigger object node and the action object node, the rule node can be added between the connecting lines by releasing the selection of the rule node, and the rule corresponding to the rule node can be set.
In an optional embodiment, the adding a rule node to the connection line between the trigger object node and the action object node includes: receiving an eighth instruction, selecting a rule device on the node adding panel, and determining a corresponding rule node; receiving a ninth instruction, and adding the rule node to a connecting line of the trigger object node and the action object node; and setting rules corresponding to the rule nodes on the rule setting panel, wherein the rules comprise trigger rules and conversion rules. Clicking a needed rule device, correspondingly receiving an eighth instruction, determining the selected rule device based on the eighth instruction, obtaining a rule node corresponding to the rule device, dragging the rule node to move on the main canvas, after moving to a connecting line of the trigger object node and the action object node, releasing the rule node, correspondingly receiving a ninth instruction, and adding the rule node to the connecting line of the trigger object node and the action object node. And a rule setting panel can be expanded, and a rule code corresponding to the rule node is set on the rule setting panel, wherein the trigger rule can be selected through the trigger rule list to obtain the trigger rule node, and the conversion rule can be selected through the conversion rule list to obtain the conversion rule node.
In a further optional embodiment, the adding the rule node to the connection line between the trigger object node and the action object node includes: and when the rule node is detected to move to the connecting line of the trigger object node and the action object node, disconnecting the connecting line and respectively connecting the two disconnected ends with the rule node. After moving the regular node to the connection line between the trigger object node and the action object node, the event can be detected, after loosening the regular node, the connection line can be disconnected from the position of the regular node based on the corresponding ninth instruction, then the two disconnected ends are respectively connected with the anchor points on the two sides of the regular node, so that the connection line extending out of the anchor point of the object event is connected with the anchor point on one side of the regular node, the connection line extending out of the anchor point on the other side of the regular node is connected with the anchor point on the other node, such as the anchor points of other regular nodes or the anchor points on the action object node.
An example of the connection of the trigger object node and the actor object node is shown in fig. 3F. After the connection between the trigger object node and the action object node is established, a trigger rule and a conversion rule between the two object nodes can be set so as to generate an interaction event. Therefore, a conversion rule list can be triggered on the node adding panel, a trigger rule is clicked and selected as a trigger rule node, an eighth instruction can be correspondingly received, the trigger rule is selected on the node adding panel, the corresponding trigger rule node is determined, then the trigger rule node can be dragged and moved to the main canvas and moved to the connecting line of the trigger object node and the action object node, and the rule node can be detected to move to the connecting line of the trigger object node and the action object node, as shown in fig. 4A. When the mouse is released, the ninth command can be received correspondingly, the connecting line is disconnected, and the two disconnected ends are connected with the trigger rule nodes respectively, as shown in fig. 4B, the trigger rule nodes are displayed as trigger rules.
In some further embodiments, the adding a rule node to the connection line between the trigger object node and the action object node includes: receiving the trigger of adding a control on the connecting line of the trigger object node and the action object node, and displaying a corresponding rule adding panel; determining a selected rule node according to the trigger of the rule adding panel, disconnecting the connecting line and respectively connecting the disconnected two ends with the rule node; and setting rules corresponding to the rule nodes on the rule setting panel, wherein the rules comprise trigger rules and conversion rules. In order to facilitate user operation, in the embodiment of the present application, after a connection line is added to a trigger object node and an action object node, an adding control may be further set and displayed on the connection line, where the adding control may be used to add a rule node, and therefore, after a trigger to the adding control is received, a rule adding panel may be called and displayed, and the rule adding panel may be regarded as a sub-panel of the rule corresponding node adding panel, or may be an independent panel associated with the rule corresponding node adding panel, and may be set according to a requirement, so that a rule node that needs to be set may be added through the rule adding panel, such as adding a trigger rule node or a conversion rule node, and after a selected rule node is determined, the connection line may be disconnected, and the disconnected two ends are respectively connected to the rule node.
As shown in fig. 5A, an add control is displayed on a connection line between a trigger object node and an action object node, and a rule add panel can be displayed by triggering the add control, as shown in fig. 5B, an addable rule interface category is displayed on the rule add panel, and includes a trigger rule node and a conversion rule node, and after a required node is selected, a corresponding rule node can be added, as shown by clicking "+ add trigger rule," the connection line can be disconnected and both disconnected ends are respectively connected to the trigger rule node, as shown in fig. 5C, a trigger rule is added in the middle of the connection line.
After the trigger rule (i.e., the trigger rule node) is set in the above examples of fig. 4 and 5, the trigger rule may be clicked to expand the rule setting panel on the right side of the event setting interface, as shown in fig. 1. Then, the name, rule code and other contents of the trigger rule can be set in the event setting interface, wherein if the selected trigger rule is an existing rule, the set rule code can be directly used or the update is carried out based on the object, and the like, and the setting is specifically carried out according to the requirements. After the rule nodes are moved to the connecting line, the connecting line can prompt that the rule nodes can be added through highlighting and the like, and therefore the rule nodes can be automatically connected in series.
The setting process of the conversion rule node is similar to the setting process of the trigger rule node, one example can be that a conversion rule list is converted on a node adding panel, a conversion rule device is clicked and selected as the conversion rule node, then the conversion rule node can be dragged to a main canvas and moved to a connecting line of a trigger object node and an action object node, the rule node can be detected to move to the connecting line of the trigger rule node and the action object node, a mouse is released, the connecting line is disconnected, and the two disconnected ends are respectively connected with the conversion rule node; in another example, an add node on the connecting line may be triggered, a rule add node displayed, and then "+ add conversion rules" may be triggered, thereby adding the corresponding conversion rulers. And then clicking the conversion rule device, expanding a rule setting panel on the right side of the event setting interface, and setting the name, rule codes and other contents of the conversion rule in the event setting interface, wherein if the selected conversion rule device is an existing rule device, the set rule codes can be directly used or updated based on objects, and the like, and the conversion rule device is specifically set according to requirements. In the embodiment of the application, the rule statements that pass can be set for the trigger rule, the conversion rule, and the like, and corresponding settable parameters are provided, so that the parameter values corresponding to the parameters are set in the rule setting template, for example, the name of the object is set in the parameter values, and the trigger, the conversion, and the like of the object can be determined.
In the embodiment of the application, after the rule node is triggered to display the corresponding rule setting panel, the other parts of the event setting interface can change grey, such as adding a layer of grey shade and the like, so that the setting of the rule can be prompted, and the current unavailability of the other parts can also be prompted.
In the embodiment of the present application, at least one trigger rule and at least one conversion rule may be used in an interaction event, so after a trigger rule node (or a conversion rule node) is added, if a rule node of the same type is to be added, for example, a trigger rule node (or a conversion rule node) is further added, in this case, rule nodes of the same type may be automatically stacked and merged into a rule node group, for example, on a connection line of an object event C and an object action D in fig. 1, a 01_ trigger rule and a 02_ trigger rule are in the same rule node group of a trigger rule, and a 01_ conversion rule and a 02_ conversion rule are in the same rule node group of a conversion rule.
Step 210, generating a corresponding interaction event.
And completing the setting of the object and the rule, and then generating a corresponding interaction event, so that display information corresponding to the interaction event is displayed on a large screen.
The method comprises the steps of establishing an object node according to a selected object, wherein the object node comprises a trigger object node and an action object node, determining an object event corresponding to the trigger object node and an object action corresponding to the action object node, connecting the object event and the object action through a connecting line of the trigger object node and the action object node, and adding a rule node on the connecting line of the trigger object node and the action object node, wherein the rule node comprises a trigger rule node and a conversion rule node to generate a corresponding interaction event, so that the object rule and the like of the interaction event can be conveniently and rapidly set in an interface, the setting panels of all components do not need to be repeatedly switched, and the method is convenient to operate and high in efficiency.
The setting of the interaction event is carried out on an independent interface, so that all screen spaces can be fully utilized, and frequent operation switching is avoided. The association between the profiles of the interaction events and the related objects can be visually presented throughout the canvas. Moreover, the display form also conforms to the conventional cognition of the user to the interactive event, and the understanding cost is reduced.
Interaction events are conveniently set in the event setting interface, and a plurality of interaction events in a large screen can be displayed on the main canvas. The connecting lines between the nodes of each interactive event have flow direction animations which represent the logical relations in the event.
The component 001 in fig. 1 is used as a trigger object and an action object, and the display panel thereof displays an event a corresponding to the trigger object and an action B corresponding to the action object, and the anchor points between the event a and the trigger rule, the trigger rule and the conversion rule, and the conversion rule and the action B are connected through connecting lines. Therefore, the event A of the component 001 can be triggered based on the trigger rule corresponding to the trigger rule, and then the component 001 can execute the action B according to the conversion rule of the conversion rule, so that the display information of the corresponding action can be executed after the component 001 is triggered and converted on the large screen.
Still another interaction event is shown in fig. 1, the component 002 is used as a trigger object, the component 003 is used as an action object, the trigger rule includes 01_ trigger rule and 02_ trigger rule, the conversion rule includes 01_ conversion rule and 02_ conversion rule, the trigger object node, the trigger rule, the conversion rule and the anchor point before the action object node are connected by a connection line, the trigger object component 002 is correspondingly provided with an event C, and the event C can be converted according to the 01_ conversion rule and/or the 02_ conversion rule based on the triggering of the 01_ trigger rule and/or the 02_ trigger rule, so that the action object component 003 executes the action D. Therefore, the displayable component 002 can be triggered and converted on the large screen to enable the component 003 to execute the display information corresponding to the corresponding action.
Therefore, the general view of the interaction events and the association relation among the nodes can be visually displayed on the main canvas.
On the basis of the above embodiment, the embodiment of the present application further provides an event setting method, and in a specific operation, a node programming mode is used to convert a related element in an interaction event into a visualized node on a canvas. Objects (such as assemblies/sub-assemblies/assembly groups and the like) capable of interacting in a large-screen project, conversion among the objects and trigger rules are converted into addable nodes, so that a user can directly carry out series connection on the logical relationship of the nodes, and an interaction event is displayed in an intuitive form. Node programming, namely flow chart programming, visually represents specific steps and main objects in a flow chart form.
Referring to FIG. 6, a flow chart of steps of another event setting method embodiment of the present application is shown.
Step 602, providing an event setting interface, where the event setting interface includes: the node adding panel, the main canvas and the rule setting panel.
Step 604, receiving a first instruction, selecting an object on the node adding panel, and determining a corresponding object node.
Step 606, receiving a second instruction, and displaying the object node on the main canvas. The object nodes include a trigger object node having a first display panel and an effect object node having a second display panel.
Step 608, receiving a third instruction, displaying the object event data on the first display panel of the trigger object node.
Step 610, receiving a fourth instruction, and determining a selected object event.
Step 612, receiving a fifth instruction, and displaying the object action data on the second display panel of the action object node.
And 614, receiving a seventh instruction, and drawing a connecting line by taking the anchor point at the object event of the first display panel as a vertex.
Step 616, receiving the sixth instruction, determining the selected action object, and taking the anchor point on the action object on the second display panel as another vertex of the connection line.
Step 618, receiving an eighth instruction, selecting a trigger rule on the node adding panel, and determining a corresponding trigger rule node.
Step 620, determining a ninth instruction according to the connection line from the trigger rule node to the trigger object node and the action object node, disconnecting the connection line and connecting the disconnected two ends to the trigger rule node respectively.
Step 622, setting a trigger rule corresponding to the trigger rule node on the rule setting panel.
Step 624, receiving the eighth instruction, selecting a conversion rule on the node adding panel, and determining the corresponding conversion rule node.
Step 626, according to the connection line from the conversion rule node to the trigger rule node and the action object node, determining a ninth instruction, disconnecting the connection line and connecting the disconnected two ends to the conversion rule node respectively.
Step 628, setting a conversion rule corresponding to the conversion rule node on the rule setting panel.
At step 630, a corresponding interaction event is generated.
The setting of the interaction event is carried out on an independent interface, all screen spaces can be fully utilized, frequent operation switching is avoided, the display form also accords with the conventional cognition of the user on the interaction event, and the understanding cost is reduced.
On the basis of the above embodiment, the embodiment of the present application further provides an event setting method, which can set an interactive event based on the event setting interface, simplify an operation manner, and improve processing efficiency.
Referring to FIG. 7, a flowchart illustrating steps of yet another event setting method embodiment of the present application is shown.
Step 702, providing an event setting interface, where the event setting interface includes: the node adds a panel and a main canvas. The node adding panel comprises an object list, a trigger rule list and a conversion rule list, different lists can select nodes of corresponding categories, and the node adding panel can be folded or unfolded.
Step 704, determining a corresponding node and adding the node to the main canvas according to the operation of adding the panel to the node, wherein the node comprises: object nodes and rule nodes.
The user can switch between different types of lists on the node adding panel, so that the required node is selected through operations such as clicking, and then the node is dragged to the main canvas to be released, and the node can be added to the position corresponding to the main canvas. The mouse can be used for realizing operations such as clicking, dragging and releasing, and the touch screen can also be used for realizing operations such as clicking, dragging and releasing through fingers, a touch pen and the like.
The node comprises an object node and a rule node, wherein the object node comprises a trigger object node and an action object node, and the rule node comprises a trigger rule node and a conversion rule node. When the nodes are set on the main canvas, the object nodes can be set firstly, then the rule nodes are set, and the nodes can also be set according to other modes. For example, in the manner of the above embodiment, the trigger object node and the action object node are set and the connection line is established, and then the corresponding trigger rule node and the conversion rule node are added to the connection line. The trigger object node corresponds to an object event, and the action object node corresponds to an object action.
Step 706, establishing the association between the object node and the rule node on the main canvas, and generating a corresponding interaction event.
The association between the object node and the rule node can be established on the main canvas, for example, the trigger rule node corresponding to the trigger object node is set, and then the corresponding conversion rule is set and the corresponding action object node is associated, so that after an object is triggered by a certain trigger rule, the action of the object or other objects can be executed through a certain conversion rule, and the setting of the interaction event is realized.
The event setting interface further includes: a rule setting panel; before generating the corresponding interaction event, the method further includes: and setting rules corresponding to the rule nodes on the rule setting panel. Therefore, the corresponding trigger rule and the conversion rule can be set based on the specific requirements of the interaction event, and the setting of the interaction event of the large-screen component is facilitated.
The steps in this embodiment are similar to the steps of selecting and setting the object node in the above embodiment, and reference may be made to the discussion of the above embodiment specifically, and therefore, the description is not repeated.
The above embodiment provides a display example of an event setting interface, and other interface forms may also be adopted in actual processing, such as another example schematic diagram of an event setting interface shown in fig. 8.
Controls corresponding to the panel, such as an object control and a rule template control, can be added to the toolbar setting node. As shown in fig. 8A, by triggering the object control, a node addition panel corresponding to the object node may be displayed, which may include object nodes of various interaction relationships that the large screen item may add in the event setting interface, and each object node may be added to the main canvas by dragging or clicking. As shown in fig. 8C, the node adding panel corresponding to the rule node may be displayed by triggering the rule template control, and may include a panel for triggering the rule and a panel for converting the rule, so that the node adding panel corresponding to the rule may be selected by clicking or the like. The user-defined rulers under the binding account and the uniform template provided by the product side can be saved, and the template can help the user to quickly create an edited ruler.
The tool bar can also comprise other controls, such as a return control, an enabling control, a disabling control and the like, and can also comprise a global visible control, and the node adding panel and the rule setting panel can be folded/unfolded by triggering the global visible control, so that the event can be conveniently viewed from a global angle. The tool bar also comprises a zooming control which can control each node panel displayed on the main canvas to zoom in or zoom out.
As shown in fig. 8B, a rule setting panel of rule nodes may be displayed on the event setting interface. The rule setting panel of the rule node can be exited at the right side of the event setting interface by clicking the rule node to be set, the panel can display component data, outflow data and the like flowing into the rule node, and the passing rule node under the event can be uniformly added, deleted, modified, inquired and the like. After the setting on the rule setting panel is completed and stored, the panel can be retracted, and the modified content can be synchronized to the display panel of the corresponding rule node of the main canvas.
The embodiment of the application further provides a preview function on the main canvas, so that a user can preview a display effect displayed on the screen, and therefore a preview button can be set on the event setting interface, for example, the preview button is set at the lower right corner of the main canvas, or the preview button is set at other positions such as a toolbar, and by triggering the preview button, a preview floating window of a current large screen can be called out, and then various interaction events edited currently are previewed in the preview floating window. The preview floating window also comprises a quit preview control and a preview guide control, the quit preview control can control quit of previewing the large screen, the preview floating window is folded, and the preview guide control can guide the user to operate so as to check whether the logic is correct.
Therefore, the user can create an interactive event in a manner similar to a drawing flow chart through the provided event setting interface based on node programming. The flow chart is a commonly used description form for an event containing a logical relationship, an information flow direction and an occurrence object, an operation interface of a node programming mode can also be provided for a user to operate, so that the user can conveniently create an interactive event, the logical relationship, the information flow direction, the occurrence object and the like contained among the nodes can be displayed on a main canvas similar to the flow chart, and the secondary conversion of a product operation layer is not needed for one interactive event and then the operation is carried out like the traditional form editing. The method can effectively reduce the cost of user learning and cognition in the setting process of the interaction event, and the editing and the modification of the interaction event are simpler and more intuitive.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the embodiments. Further, those skilled in the art will also appreciate that the embodiments described in the specification are presently preferred and that no particular act is required of the embodiments of the application.
On the basis of the above embodiments, the present embodiment further provides an event setting device, which is applied to electronic devices such as a terminal device and a server.
Referring to fig. 9, a block diagram of an embodiment of an event setting apparatus according to the present application is shown, and specifically, the apparatus may include the following modules:
an object node determining module 902, configured to create object nodes according to the selected object, where the object nodes include a trigger object node and an action object node.
An object association module 904, configured to determine an object event corresponding to the trigger object node; and determining the object action corresponding to the action object node, and connecting the object event and the object action through a connecting line of the trigger object node and the action object node.
A rule determining module 906, configured to add rule nodes to the connection line between the trigger object node and the action object node, where the rule nodes include a trigger rule node and a conversion rule node.
An event generation module 908 for generating a corresponding interaction event.
In summary, an object node may be created according to a selected object, where the object node includes a trigger object node and an action object node, and then an object event corresponding to the trigger object node and an object action corresponding to the action object node may be determined, and the object event and the object action are connected through a connection line of the trigger object node and the action object node, and then a rule node is added on the connection line of the trigger object node and the action object node, where the rule node includes a trigger rule node and a conversion rule node to generate a corresponding interaction event, so that an object rule and the like of the interaction event may be conveniently set in an interface, and repeated switching between setting panels of each component is not required, and the operation is convenient and fast, and the efficiency is high.
Referring to fig. 10, a block diagram of another embodiment of an event setting apparatus according to the present application is shown, and specifically, the apparatus may include the following modules:
a providing module 910, configured to provide an event setting interface, where the event setting interface includes: the node adding panel, the main canvas and the rule setting panel.
An object node determining module 902, configured to create object nodes according to the selected object, where the object nodes include a trigger object node and an action object node.
An object association module 904, configured to determine an object event corresponding to the trigger object node; and determining the object action corresponding to the action object node, and connecting the object event and the object action through a connecting line of the trigger object node and the action object node.
A rule determining module 906, configured to add rule nodes to the connection line between the trigger object node and the action object node, where the rule nodes include a trigger rule node and a conversion rule node.
An event generation module 908 for generating a corresponding interaction event.
And the preview module 912 is configured to display a corresponding preview floating window on the main canvas according to the trigger on the preview control, so as to perform preview and logic check of the interactive event.
The object node determining module 902 is configured to receive a first instruction, select an object on the node adding panel, and determine a corresponding object node; and receiving a second instruction, and displaying the object node on the main canvas.
An object association module 904, comprising: an event submodule 9042 and an action submodule 9044, wherein:
the event sub-module 9042 is configured to determine an object event corresponding to the trigger object node.
The action sub-module 9044 is configured to determine an object action corresponding to the action object node, and connect the object event and the object action through a connection line between the trigger object node and the action object node.
The trigger object node is provided with a first display panel, and the event submodule 9042 is configured to receive a third instruction and display object event data on the first display panel of the trigger object node; and receiving a fourth instruction, and determining the selected object event.
The action object node is provided with a second display panel; the action submodule 9044 is configured to receive a fifth instruction, and display object action data on a second display panel of the action object node; and receiving a sixth instruction, determining a selected action object, and generating a connecting line between the object event and the object action.
The event submodule 9042 is further configured to receive a seventh instruction, and pull out a connection line by using an anchor point at the object event of the first display panel as a vertex; the action sub-module 6044 is further configured to use an anchor point on the second display panel at the action object as another vertex of the connection line.
In an optional embodiment, the rule determining module 906 is configured to receive an eighth instruction, select a rule engine on the node adding panel, and determine a corresponding rule node; receiving a ninth instruction, and adding the rule node to a connecting line of the trigger object node and the action object node; and setting rules corresponding to the rule nodes on the rule setting panel, wherein the rules comprise trigger rules and conversion rules. The rule determining module 906 is configured to determine a ninth instruction according to the rule node moving to the connection line between the trigger object node and the action object node, disconnect the connection line, and connect the disconnected two ends to the rule node respectively.
In another optional embodiment, the rule determining module 906 is configured to receive a trigger of adding a control on a connection line between the trigger object node and the action object node, and display a corresponding rule adding panel; determining a selected rule node according to the trigger of the rule adding panel, disconnecting the connecting line and respectively connecting the disconnected two ends with the rule node; and setting rules corresponding to the rule nodes on the rule setting panel, wherein the rules comprise trigger rules and conversion rules.
The rule determining module 906 is further configured to stack and merge rule nodes of the same type into a rule node group.
The setting of the interaction event is carried out on an independent interface, all screen spaces can be fully utilized, frequent operation switching is avoided, the display form also accords with the conventional cognition of the user on the interaction event, and the understanding cost is reduced.
On the basis of the above embodiments, the present embodiment further provides an event setting device, which is applied to electronic devices such as a terminal device and a server.
Referring to fig. 11, a block diagram of a structure of another embodiment of an event setting apparatus according to the present application is shown, and specifically, the apparatus may include the following modules:
an interface providing module 1102, configured to provide an event setting interface, where the event setting interface includes: the node adds a panel and a main canvas.
A node adding module 1104, configured to determine a corresponding node according to the operation of adding a panel to the node and add the node to the main canvas, where the node includes: object nodes and rule nodes. The function of the node adding module is similar to that of the object node determining module, and reference may be made to the above embodiments.
A node association module 1106, configured to establish an association between the object node and the rule node on the main canvas, and generate a corresponding interaction event. The function of the node association module is similar to that of the object association module and the rule determination module, and reference may be made to the above embodiments.
Wherein the event setting interface further comprises: a rule setting panel; the node association module 1106 is further configured to set a rule corresponding to the rule node on the rule setting panel.
Therefore, the user can create an interactive event in a manner similar to a drawing flow chart through the provided event setting interface based on node programming. The flow chart is a commonly used description form for an event containing a logical relationship, an information flow direction and an occurrence object, an operation interface of a node programming mode can also be provided for a user to operate, so that the user can conveniently create an interactive event, the logical relationship, the information flow direction, the occurrence object and the like contained among the nodes can be displayed on a main canvas similar to the flow chart, and the secondary conversion of a product operation layer is not needed for one interactive event and then the operation is carried out like the traditional form editing. The method can effectively reduce the cost of user learning and cognition in the setting process of the interaction event, and the editing and the modification of the interaction event are simpler and more intuitive.
According to the method and the device, related elements in an interaction event are converted into visualized nodes on a canvas in a node programming mode. Objects (such as assemblies/sub-assemblies/assembly groups and the like) capable of interacting in a large-screen project, conversion among the objects and trigger rules are converted into addable nodes, so that a user can directly carry out series connection on the logical relationship of the nodes, and an interaction event is displayed in an intuitive form. Node programming, namely flow chart programming, visually represents specific steps and main objects in a flow chart form. Interaction events are conveniently set in the event setting interface, and a plurality of interaction events in a large screen can be displayed on the main canvas. The connecting lines between the nodes of each interactive event have flow direction animations which represent the logical relations in the event.
The present application further provides a non-transitory, readable storage medium, where one or more modules (programs) are stored, and when the one or more modules are applied to a device, the device may execute instructions (instructions) of method steps in this application.
Embodiments of the present application provide one or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause an electronic device to perform the methods as described in one or more of the above embodiments. In the embodiment of the present application, the electronic device includes various types of devices such as a terminal device and a server (cluster).
Embodiments of the present disclosure may be implemented as an apparatus, which may include electronic devices such as a terminal device, a server (cluster), etc., using any suitable hardware, firmware, software, or any combination thereof, to perform a desired configuration. Fig. 12 schematically illustrates an example apparatus 1200 that can be used to implement various embodiments described herein.
For one embodiment, fig. 12 illustrates an example apparatus 1200 having one or more processors 1202, a control module (chipset) 1204 coupled to at least one of the processor(s) 1202, a memory 1206 coupled to the control module 1204, a non-volatile memory (NVM)/storage 1208 coupled to the control module 1204, one or more input/output devices 1210 coupled to the control module 1204, and a network interface 1212 coupled to the control module 1204.
The processor 1202 may include one or more single-core or multi-core processors, and the processor 1202 may include any combination of general-purpose or special-purpose processors (e.g., graphics processors, application processors, baseband processors, etc.). In some embodiments, the apparatus 1200 can be used as a terminal device, a server (cluster), or the like in the embodiments of the present application.
In some embodiments, the apparatus 1200 may include one or more computer-readable media (e.g., the memory 1206 or NVM/storage 1208) having instructions 1214 and one or more processors 1202 in combination with the one or more computer-readable media and configured to execute the instructions 1214 to implement modules to perform the actions described in this disclosure.
For one embodiment, the control module 1204 may include any suitable interface controllers to provide any suitable interface to at least one of the processor(s) 1202 and/or to any suitable device or component in communication with the control module 1204.
The control module 1204 may include a memory controller module to provide an interface to the memory 1206. The memory controller module may be a hardware module, a software module, and/or a firmware module.
Memory 1206 may be used, for example, to load and store data and/or instructions 1214 for apparatus 1200. For one embodiment, memory 1206 may comprise any suitable volatile memory, such as suitable DRAM. In some embodiments, the memory 1206 may comprise a double data rate type four synchronous dynamic random access memory (DDR4 SDRAM).
For one embodiment, the control module 1204 may include one or more input/output controllers to provide an interface to the NVM/storage 1208 and the input/output device(s) 1210.
For example, NVM/storage 1208 may be used to store data and/or instructions 1214. NVM/storage 1208 may include any suitable non-volatile memory (e.g., flash memory) and/or may include any suitable non-volatile storage device(s) (e.g., one or more hard disk drive(s) (HDD (s)), one or more Compact Disc (CD) drive(s), and/or one or more Digital Versatile Disc (DVD) drive (s)).
The NVM/storage 1208 may include storage resources physically part of the device on which the apparatus 1200 is installed, or it may be accessible by the device and may not necessarily be part of the device. For example, the NVM/storage 1208 may be accessed over a network via the input/output device(s) 1210.
Input/output device(s) 1210 may provide an interface for apparatus 1200 to communicate with any other suitable device, input/output devices 1210 may include communication components, audio components, sensor components, and the like. The network interface 1212 may provide an interface for the device 1200 to communicate over one or more networks, and the device 1200 may wirelessly communicate with one or more components of a wireless network according to any of one or more wireless network standards and/or protocols, such as access to a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G, 5G, etc., or a combination thereof.
For one embodiment, at least one of the processor(s) 1202 may be packaged together with logic for one or more controller(s) (e.g., memory controller module) of the control module 1204. For one embodiment, at least one of the processor(s) 1202 may be packaged together with logic for one or more controllers of the control module 1204 to form a System In Package (SiP). For one embodiment, at least one of the processor(s) 1202 may be integrated on the same die with logic for one or more controller(s) of the control module 1204. For one embodiment, at least one of the processor(s) 1202 may be integrated on the same die with logic of one or more controllers of the control module 1204 to form a system on a chip (SoC).
In various embodiments, the apparatus 1200 may be, but is not limited to being: a server, a desktop computing device, or a mobile computing device (e.g., a laptop computing device, a handheld computing device, a tablet, a netbook, etc.), among other terminal devices. In various embodiments, the apparatus 1200 may have more or fewer components and/or different architectures. For example, in some embodiments, device 1200 includes one or more cameras, a keyboard, a Liquid Crystal Display (LCD) screen (including a touch screen display), a non-volatile memory port, multiple antennas, a graphics chip, an Application Specific Integrated Circuit (ASIC), and speakers.
The detection device may adopt a main control chip as a processor or a control module, the sensor data, the position information and the like are stored in a memory or an NVM/storage device, the sensor group may serve as an input/output device, and the communication interface may include a network interface.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present application have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the true scope of the embodiments of the application.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be 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. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The event setting method and apparatus, the electronic device and the storage medium provided by the present application are introduced in detail, and a specific example is applied to illustrate the principle and the implementation of the present application, and the description of the above embodiment is only used to help understand the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (19)

1. An event setting method, characterized in that the method comprises:
creating object nodes according to the selected object, wherein the object nodes comprise trigger object nodes and action object nodes;
determining an object event corresponding to the trigger object node;
determining an object action corresponding to the action object node, and connecting the object event and the object action through a connecting line of the trigger object node and the action object node;
adding rule nodes on a connecting line of the trigger object node and the action object node, wherein the rule nodes comprise a trigger rule node and a conversion rule node;
a corresponding interaction event is generated.
2. The method of claim 1, further comprising:
providing an event setting interface, the event setting interface comprising: the node adding panel, the main canvas and the rule setting panel.
3. The method of claim 2, wherein creating an object node from the selected object comprises:
receiving a first instruction, selecting an object on the node adding panel, and determining a corresponding object node;
and receiving a second instruction, and displaying the object node on the main canvas.
4. The method of claim 3, wherein the trigger object node has a first display panel, and wherein the determining the object event corresponding to the trigger object node comprises:
receiving a third instruction, and displaying object event data on a first display panel of the trigger object node;
and receiving a fourth instruction, and determining the selected object event.
5. The method of claim 4, wherein the active object node has a second display panel;
the determining the object action corresponding to the action object node and connecting the object event and the object action through the connecting line of the trigger object node and the action object node includes:
receiving a fifth instruction, and displaying object action data on a second display panel of the action object node;
and receiving a sixth instruction, determining a selected action object, and generating a connecting line between the object event and the object action.
6. The method of claim 5, further comprising:
receiving a seventh instruction, and drawing a connecting line by taking the anchor point of the object event of the first display panel as a vertex;
the generating a connection line between the object event and the object action includes:
and taking the anchor point at the action object on the second display panel as the other vertex of the connecting line.
7. The method of claim 2, wherein adding a rule node to the connection line between the trigger object node and the active object node comprises:
receiving an eighth instruction, selecting a rule device on the node adding panel, and determining a corresponding rule node;
receiving a ninth instruction, and adding the rule node to a connecting line of the trigger object node and the action object node;
and setting rules corresponding to the rule nodes on the rule setting panel, wherein the rules comprise trigger rules and conversion rules.
8. The method of claim 7, wherein the receiving a ninth instruction to add the rule node to the connection line between the trigger object node and the active object node comprises:
and determining a ninth instruction according to the rule node moving to the connecting line of the trigger object node and the action object node, disconnecting the connecting line and respectively connecting the two disconnected ends with the rule node.
9. The method of claim 2, wherein adding a rule node to the connection line between the trigger object node and the active object node comprises:
receiving the trigger of adding a control on the connecting line of the trigger object node and the action object node, and displaying a corresponding rule adding panel;
determining a selected rule node according to the trigger of the rule adding panel, disconnecting the connecting line and respectively connecting the disconnected two ends with the rule node;
and setting rules corresponding to the rule nodes on the rule setting panel, wherein the rules comprise trigger rules and conversion rules.
10. The method of claim 2, wherein the event setting interface comprises a preview control;
and displaying a corresponding preview floating window on the main canvas according to the triggering of the preview control so as to conveniently execute the preview and logic check of the interactive event.
11. The method according to any one of claims 7-9, further comprising:
and stacking the rule nodes of the same type, and combining the rule nodes into a rule node group.
12. An event setting method, characterized in that the method comprises:
providing an event setting interface, the event setting interface comprising: adding a panel and a main canvas on the node;
according to the operation of adding the panel to the node, determining a corresponding node and adding the node to the main canvas, wherein the node comprises: an object node and a rule node;
and establishing the association between the object node and the rule node on the main canvas to generate a corresponding interaction event.
13. The method of claim 12, wherein the event setup interface further comprises: a rule setting panel; before generating the corresponding interaction event, the method further includes:
and setting rules corresponding to the rule nodes on the rule setting panel.
14. An event setting apparatus, characterized in that the apparatus comprises:
an object node determining module, configured to create object nodes according to the selected object, where the object nodes include a trigger object node and an action object node;
the object association module is used for determining an object event corresponding to the trigger object node; determining an object action corresponding to the action object node, and connecting the object event and the object action through a connecting line of the trigger object node and the action object node;
the rule determining module is used for adding rule nodes on a connecting line of the trigger object node and the action object node, wherein the rule nodes comprise a trigger rule node and a conversion rule node;
and the event generating module is used for generating corresponding interactive events.
15. An event setting apparatus, characterized in that the apparatus comprises:
an interface providing module, configured to provide an event setting interface, where the event setting interface includes: adding a panel and a main canvas on the node;
a node adding module, configured to determine a corresponding node according to the operation of adding a panel to the node and add the node to the main canvas, where the node includes: an object node and a rule node;
and the node association module is used for establishing association between the object node and the rule node on the main canvas and generating a corresponding interaction event.
16. An electronic device, comprising: a processor; and
memory having stored thereon executable code which, when executed, causes the processor to perform an event setting method as claimed in one or more of claims 1-11.
17. One or more machine-readable media having executable code stored thereon that, when executed, causes a processor to perform an event setting method as recited in one or more of claims 1-11.
18. An electronic device, comprising: a processor; and
memory having stored thereon executable code which, when executed, causes the processor to perform the event setting method as claimed in one or more of claims 12-13.
19. One or more machine-readable media having executable code stored thereon that, when executed, causes a processor to perform the event setting method of one or more of claims 12-13.
CN201910325495.8A 2019-04-22 2019-04-22 Event setting method, device, equipment and storage medium Active CN111831174B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910325495.8A CN111831174B (en) 2019-04-22 2019-04-22 Event setting method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910325495.8A CN111831174B (en) 2019-04-22 2019-04-22 Event setting method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111831174A true CN111831174A (en) 2020-10-27
CN111831174B CN111831174B (en) 2024-06-14

Family

ID=72912220

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910325495.8A Active CN111831174B (en) 2019-04-22 2019-04-22 Event setting method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111831174B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113885850A (en) * 2021-09-27 2022-01-04 京东方科技集团股份有限公司 Event processing method and device based on smart city, medium and electronic equipment
CN115794075A (en) * 2023-02-01 2023-03-14 广州数说故事信息科技有限公司 Visual component interactive linkage configuration system and method and electronic equipment
CN117827199A (en) * 2023-12-18 2024-04-05 深圳市腾进达信息技术有限公司 Processing method and system based on UI interface operation of low-code development platform

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1762930A1 (en) * 2005-09-02 2007-03-14 Sap Ag Process model transformation for event-based coordination of composite applications
CN102981815A (en) * 2005-03-03 2013-03-20 汤姆森路透社全球资源公司 A system and methods for implementing business process applications
WO2014133533A1 (en) * 2013-02-28 2014-09-04 Hewlett-Packard Development Company, L.P. An interface for creating a plan artifact
CN106530371A (en) * 2016-10-12 2017-03-22 网易(杭州)网络有限公司 Method and device for editing and playing animation
CN109408042A (en) * 2018-10-10 2019-03-01 高新兴科技集团股份有限公司 Robot visualization script configuration method, device and computer storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102981815A (en) * 2005-03-03 2013-03-20 汤姆森路透社全球资源公司 A system and methods for implementing business process applications
EP1762930A1 (en) * 2005-09-02 2007-03-14 Sap Ag Process model transformation for event-based coordination of composite applications
WO2014133533A1 (en) * 2013-02-28 2014-09-04 Hewlett-Packard Development Company, L.P. An interface for creating a plan artifact
CN106530371A (en) * 2016-10-12 2017-03-22 网易(杭州)网络有限公司 Method and device for editing and playing animation
CN109408042A (en) * 2018-10-10 2019-03-01 高新兴科技集团股份有限公司 Robot visualization script configuration method, device and computer storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘庆芳;华庆一;李光俊;芦宏亮;蔚娣;: "基于Java的面向对象交互式图形工具箱", 计算机工程, no. 15, 5 August 2009 (2009-08-05) *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113885850A (en) * 2021-09-27 2022-01-04 京东方科技集团股份有限公司 Event processing method and device based on smart city, medium and electronic equipment
CN115794075A (en) * 2023-02-01 2023-03-14 广州数说故事信息科技有限公司 Visual component interactive linkage configuration system and method and electronic equipment
CN117827199A (en) * 2023-12-18 2024-04-05 深圳市腾进达信息技术有限公司 Processing method and system based on UI interface operation of low-code development platform

Also Published As

Publication number Publication date
CN111831174B (en) 2024-06-14

Similar Documents

Publication Publication Date Title
CN103067569B (en) Method and device of multi-window displaying of smart phone
US9092121B2 (en) Copy and paste experience
TWI531953B (en) Temporary formatting and charting of selected data
CN111831174B (en) Event setting method, device, equipment and storage medium
CN106980431B (en) Management method and device for application icons in mobile terminal
CA2963850A1 (en) Systems and methods for creating and displaying multi-slide presentations
US9747267B2 (en) Document editing synchronization
US20180059919A1 (en) Responsive Design Controls
US20160034325A1 (en) Move of object between pages of editable document
US20160026609A1 (en) Appending New Content to Open Content
US9372609B2 (en) Asset-based animation timelines
EP4184302A1 (en) Display method and apparatus, and storage medium
CN103207918A (en) Method, system and device for managing animation effect of presentation files
CN114302009A (en) Video processing method, video processing device, electronic equipment and medium
KR20160020531A (en) Tethered selection handle
CN114518822A (en) Application icon management method and device and electronic equipment
US20140372863A1 (en) Temporary highlighting of selected fields
CN112162805A (en) Screenshot method and device and electronic equipment
US20140173442A1 (en) Presenter view in presentation application
US11573687B2 (en) Screenshot method and apparatus for information interaction interface, computing device and storage medium
CN115981531A (en) Page control method and device and electronic equipment
US20150089356A1 (en) Text Selection
CN104808895A (en) Icon arranging method
CN105183707A (en) Content editing method and terminal
CN105468252A (en) Application software operation interface display method and apparatus

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
GR01 Patent grant
GR01 Patent grant