Workflow editing method and device, electronic equipment, storage medium and program product

By using different interface areas to represent different node types in the editing interface, and by adjusting the interface area where the process node is located, workflow editing is simplified, solving the problem of cumbersome editing process in the existing technology and improving editing efficiency.

CN121785573APending Publication Date: 2026-04-03BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-22
Publication Date
2026-04-03

AI Technical Summary

Technical Problem

The existing workflow editing process is cumbersome, resulting in low editing efficiency.

Method used

Different interface areas are used to represent different node types in the editing interface, and the node type can be adjusted by changing the interface area where the process node is located, thus simplifying the editing process.

Benefits of technology

It reduces the difficulty of viewing and editing process nodes of different node types, and improves the efficiency of workflow editing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121785573A_ABST
    Figure CN121785573A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a workflow editing method and device, electronic equipment, a storage medium and a program product. The method comprises the steps that a to-be-edited workflow is displayed on an editing interface, the editing interface comprises at least two interface areas, different interface areas correspond to different node types, and the node types of process nodes in the workflow are indicated by the interface areas where the process nodes are located; and in response to an adjustment operation based on the editing interface, adjusting an interface area in which at least part of process nodes in the workflow are located. According to the technical scheme, the editing process of the workflow can be simplified, and the editing efficiency of the workflow is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of computer technology, and more particularly to a workflow editing method, apparatus, electronic device, storage medium, and program product. Background Technology

[0002] In some applications, users can edit workflows to adjust the execution flow of related business processes. However, in related technologies, the workflow editing process (such as the workflow setup process for intelligent agents) is relatively cumbersome, resulting in low workflow editing efficiency. Summary of the Invention

[0003] This disclosure provides a workflow editing method, apparatus, electronic device, storage medium, and program product to simplify the workflow editing process and improve workflow editing efficiency.

[0004] In a first aspect, embodiments of this disclosure provide a workflow editing method, including:

[0005] The editing interface displays the workflow to be edited, wherein the editing interface includes at least two interface areas, different interface areas correspond to different node types, and the node type of the process node in the workflow is indicated by the interface area where the process node is located.

[0006] In response to an adjustment operation based on the editing interface, the interface area where at least some process nodes in the workflow are located is adjusted.

[0007] Secondly, embodiments of this disclosure also provide a workflow editing apparatus, comprising:

[0008] The workflow display module is used to display the workflow to be edited in the editing interface. The editing interface includes at least two interface areas, and different interface areas correspond to different node types. The node type of the process node in the workflow is indicated by the interface area where the process node is located.

[0009] The region adjustment module is used to adjust the interface region where at least some process nodes in the workflow are located in response to the adjustment operation based on the editing interface.

[0010] Thirdly, embodiments of this disclosure also provide an electronic device, including:

[0011] One or more processors;

[0012] Memory, used to store one or more programs.

[0013] When the one or more programs are executed by the one or more processors, the one or more processors implement the workflow editing method as described in the embodiments of this disclosure.

[0014] Fourthly, embodiments of this disclosure also provide a computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements the workflow editing method as described in embodiments of this disclosure.

[0015] Fifthly, embodiments of this disclosure also provide a computer program product that, when executed by a computer, enables the computer to implement the workflow editing method as described in embodiments of this disclosure.

[0016] The workflow editing method, apparatus, electronic device, storage medium, and program product provided in this disclosure display process nodes with different node types in different interface areas of the editing interface. Users can adjust the node type of a process node by adjusting the interface area where the process node is located, eliminating the need for users to manually mark the node type of each process node in the workflow. This reduces the difficulty of viewing process nodes of different node types and the difficulty of editing the node types, simplifying the workflow editing process and improving workflow editing efficiency. Attached Figure Description

[0017] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and the originals and elements are not necessarily drawn to scale.

[0018] Figure 1 A flowchart illustrating a workflow editing method provided in this embodiment of the disclosure;

[0019] Figure 2 A schematic diagram showing a workflow provided in an embodiment of this disclosure;

[0020] Figure 3 A schematic diagram illustrating another workflow provided in an embodiment of this disclosure;

[0021] Figure 4 This is a schematic diagram showing the adjusted display area of ​​a process node according to an embodiment of the present disclosure;

[0022] Figure 5 This is a schematic diagram showing another process node after adjusting the display area, provided in an embodiment of this disclosure.

[0023] Figure 6A flowchart illustrating another workflow editing method provided in this embodiment of the disclosure;

[0024] Figure 7 A structural block diagram of a workflow editing device provided in an embodiment of this disclosure;

[0025] Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure. Detailed Implementation

[0026] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.

[0027] It should be understood that the steps described in the method embodiments of this disclosure may be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of this disclosure is not limited in this respect.

[0028] The term "comprising" and its variations as used herein are open-ended inclusions, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Definitions of other terms will be given in the description below.

[0029] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are used only to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependencies.

[0030] It should be noted that the terms "a" and "a plurality of" used in this disclosure are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".

[0031] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.

[0032] It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.

[0033] For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the software or hardware, such as the electronic device, application, server, or storage medium performing the operations of this disclosed technical solution, based on the prompt message.

[0034] As an optional but non-limiting implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0035] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.

[0036] It is understood that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and related provisions.

[0037] Figure 1 This is a flowchart illustrating a workflow editing method provided in an embodiment of this disclosure. The method can be executed by a workflow editing device, which can be implemented in software and / or hardware and can be configured in an electronic device, typically a computer, mobile phone, or tablet. The workflow editing method provided in this disclosure is applicable to scenarios where workflows are edited based on process nodes displayed in different interface areas of the editing interface. Figure 1 As shown, the workflow editing method provided in this embodiment may include:

[0038] S101. Display the workflow to be edited in the editing interface, wherein the editing interface includes at least two interface areas, different interface areas correspond to different node types, and the node type of the process node in the workflow is indicated by the interface area where the process node is located.

[0039] The aforementioned workflow can be understood as a workflow to be edited. A workflow can be understood as the workflow of a work object in performing one or more of its own functions. The type of this work object is not limited; such a work object can be a virtual object, etc. Optionally, the workflow includes the workflow of an intelligent agent. For example, the workflow to be edited in the editing interface can be the workflow of the intelligent agent itself. Furthermore, the workflow can also include automated execution program workflows, which are graphical representations of at least some key steps, logical relationships, and execution order of a project from initiation to completion. An intelligent agent's workflow is a graphical representation of the process by which an intelligent agent (such as an AI agent, robot, or degree of automation) moves from perceiving input to making decisions and executing them. In some examples, an intelligent agent's workflow can be used to instruct how the agent interacts with the environment, users, or other systems and responds based on policies or machine learning.

[0040] The editing interface can be a page used to edit workflows, such as a workflow editing interface. The editing interface can include multiple interface areas, with different areas corresponding to different node types. For example, different interface areas can be used to display process nodes of different node types in the workflow, thus indicating the node type of a process node in the workflow based on the interface area where the process node is located.

[0041] The method for determining the node type of a process node is not limited. Optionally, the node type of the process node is determined based on at least one of the following: the business function, business logic, corresponding triggering operation, node priority, and business party.

[0042] For example, process nodes can be categorized by business function. Node types based on business function could include decision nodes, operation nodes, or termination nodes, etc. In this case, different interface areas of the editing interface can display process nodes with different functions, allowing editors to clearly identify and optimize the workflow structure. Alternatively, process nodes can be categorized by business logic. This business logic could include account management, document processing, or resource transfer, etc. In this case, different interface areas of the editing interface can be used to display process nodes for different business modules within the workflow, facilitating understanding and maintenance by relevant personnel. Or, process nodes can be categorized by their corresponding triggering operations. These triggering operations could include clicks, browsing, and / or resource transfers, etc. Thus, in the user's interaction flow, different interface areas of the editing interface can display process nodes corresponding to different triggering operations, optimizing the user's interaction process. Alternatively, process nodes can be categorized by node priority. This priority could be the priority of the task and / or operation corresponding to the process node, which could include high priority, medium priority, or low priority. This allows different interface areas of the editing interface to display process nodes with different priorities, facilitating the appropriate work allocation by relevant personnel. Alternatively, process nodes can be categorized by business party. This business party could include, for example, the person editing the process node and / or the person executing the task corresponding to the process node. This allows different interface areas of the editing interface to display process nodes edited and / or managed by different team members, facilitating internal business communication and collaboration, and so on.

[0043] Specifically, the workflow to be edited can be displayed in the editing interface. For example, different interface areas in the editing interface can display process nodes with different node types in the workflow, so that the node type of each process node can be indicated by the interface area where each process node is located.

[0044] The number of interface areas used to display different types of process nodes in the editing interface is unlimited. Taking an editing interface with two interface areas as an example, such as... Figure 2 As shown, when the workflow to be edited is displayed in the editing interface, process node a and process node b with node type A can be displayed in one interface area of ​​the editing interface; and process node c with node type B can be displayed in another interface area of ​​the editing interface, so that relevant personnel can quickly distinguish process nodes with different node types in the workflow by the interface area where the process node is located.

[0045] In some implementations, different interface areas of the editing interface can be displayed when the editing interface is initially displayed. For example, when the editing interface is initially displayed, it includes different interface areas so that process nodes with different node types in the workflow can be displayed in different areas in the editing interface.

[0046] Optionally, displaying the workflow to be edited in the editing interface includes: in response to the editing interface display operation, displaying the editing interface and at least two interface areas that have been divided in the editing interface; and displaying process nodes of different node types in the workflow in different interface areas of the editing interface.

[0047] The editing interface display operation can be a trigger operation used to indicate the display of the editing interface, such as triggering the display control of the editing interface, or switching the currently displayed interface to the editing interface.

[0048] For example, upon receiving an operation to display an editing interface, such as receiving an instruction to display an editing interface, the editing interface and its various interface areas can be displayed; and in response to the display of the editing interface, and / or in response to a workflow display operation for a workflow, the workflow can be displayed on the editing interface, such as displaying process nodes with different node types in the workflow on different interface areas of the editing interface.

[0049] When the editing interface is displayed in response to an editing interface display operation, the workflow can be displayed automatically. For example, in response to an editing interface display operation for a specific workflow, the editing interface can be displayed, and process nodes with different node types in this workflow can be displayed in different interface areas of the editing interface. Alternatively, the workflow can not be displayed automatically. For example, in response to an editing interface display operation, the editing interface and its different interface areas can be displayed. In this case, the workflow to be edited may not be displayed in the editing interface. Upon receiving a user's workflow display operation based on the editing interface, the workflow can be added to the editing interface, such as displaying process nodes with different node types in different interface areas of the editing interface.

[0050] In some implementations, different interface areas of the editing interface may not be displayed when the editing interface is initially displayed. For example, when the editing interface is initially displayed, it may not include different interface areas for displaying different types of process nodes. Instead, after receiving the user's area division operation, different interface areas for displaying different types of process nodes may be displayed in the editing interface to satisfy the user's different display areas of the editing interface.

[0051] Optionally, displaying the workflow to be edited in the editing interface includes: displaying the editing interface in response to an editing interface display operation; dividing the editing interface into at least two interface areas in response to a region division operation based on the editing interface; and displaying process nodes of different node types in the workflow in different interface areas of the editing interface.

[0052] The region division operation can be understood as a trigger operation used to instruct the display of process nodes with different node types in a workflow in different regions. The execution method of the region division operation is not limited. For example, the region division operation may include a trigger operation to open the regional display function of the editing interface or workflow, such as triggering the operation of the regional display control displayed in the editing interface; it may also include a first sliding operation within the editing interface or an operation to trigger a preset key on an input device (such as a keyboard or mouse).

[0053] Specifically, upon receiving an operation to display the editing interface, the editing interface can be displayed. In this case, the editing interface may not display different interface areas for displaying process nodes with different node types. Upon receiving an operation to divide the editing interface into regions, the editing interface can be divided into at least two interface areas; and process nodes with different node types in the workflow can be displayed in different interface areas of the editing interface.

[0054] In some examples, upon receiving an operation to display an editing interface for a specific workflow, the editing interface can be displayed, showing the workflow and the closed area division control 23, such as... Figure 3 As shown. Upon detecting that the user has triggered the currently closed area division control 23 displayed in the editing interface, it can be determined that an area division operation has been received. In response to this operation, the editing interface is divided into different interface areas for displaying process nodes of different node types. Process nodes with different node types in this workflow are then displayed in these different interface areas, such as... Figure 2 As shown.

[0055] It should be noted that when different interface areas are displayed in the editing interface in response to a region division operation, the display position of the process nodes in the workflow displayed in the editing interface can be adjusted or not. For example, the display position of each process node in the workflow can be kept unchanged, and the node type of each process node can be determined or updated based on the interface area where each process node is located after displaying different interface areas, such as... Figure 2 and 3As shown; alternatively, based on the node type of each process node and the node type corresponding to each interface area, the process nodes in the workflow can be adjusted to the interface area corresponding to their node type for display, so as to keep the node type of each process node in the workflow unchanged. This embodiment does not limit this.

[0056] In some implementations, in response to a region division operation, the editing interface can be directly divided into at least two interface regions. For example, based on a region attribute pre-set by relevant personnel, the editing interface can be directly divided into at least two interface regions that correspond to this region attribute. Figure 2 As shown, users do not need to set the region attributes of the interface area to be divided, which simplifies the operation required for process nodes with different node types in the workflow to be displayed in different regions.

[0057] In some implementations, in response to a region division operation, the user can set the region attributes of the interface region to be divided to meet different user interface region division needs. Optionally, in this case, dividing the editing interface into at least two interface regions in response to a region division operation based on the editing interface includes: displaying a region setting interface in response to the region division operation based on the editing interface, the region setting interface being used to set the region attributes of the editing interface, the region attributes including at least one of region number and region range; and dividing the editing interface into at least two interface regions based on at least some of the region attributes in response to a completion operation for setting the region attributes.

[0058] The region settings interface is used by users to set the region attributes of the interface areas to be divided. The display style of the region settings interface is not limited; for example, it can be displayed as a panel, window, or page. The "setting completion" operation can be understood as an operation indicating that the region attribute settings are complete, such as triggering the "setting completion" control in the region settings interface, performing a second swipe operation in the region settings interface, or triggering the setting button on the input device.

[0059] Region attributes can be understood as the relevant attributes of the interface regions to be divided in the editing interface. The content included in these region attributes is not limited. For example, these region attributes can include at least one of the following: the number of regions and the region range. The number of regions can be understood as the number of interface regions to be divided; the region range can be understood as the display range of the interface regions to be divided, such as the region size and / or region position of the interface regions to be divided.

[0060] Optionally, the region attributes further include at least one of the following: the region name of the interface region to be divided; the display style of the interface region to be divided; the node type corresponding to the interface region to be divided; and the display style of the process nodes in the interface region to be divided. Wherein, the region name of the interface region to be divided can be understood as the name of the interface region to be displayed within the interface region. The display style of the process nodes in the interface region to be divided can be understood as the display style of the process nodes located in this interface region. The node type corresponding to the interface region to be divided can be understood as the node type of the process nodes used for display in this interface region; the node types corresponding to different interface regions may be different. The display style of the process nodes in the interface region to be divided can be understood as the display style of the process nodes located in this interface region.

[0061] Specifically, upon receiving a region division operation based on the editing interface, a region settings interface can be displayed. This allows the user to set the number of regions to be divided, their range, names, display styles, node types, and / or display styles of process nodes within the regions. Upon receiving a completion operation for region attribute settings, the user's region attributes in the region settings interface can be retrieved. Based on these attributes, the editing interface can be divided into at least two regions. For example, if the user triggers the completion control in the region settings interface, at least two interface regions matching the user's settings can be displayed in the editing interface.

[0062] In this embodiment, whether to display different interface areas for displaying different types of process nodes in the editing interface can be set as needed. In some examples, when the sub-region display function of the editing interface is off, the different interface areas for displaying different types of process nodes may not be displayed in the editing interface; when the sub-region display function of the editing interface is on, the different interface areas for displaying different types of process nodes may be displayed in the editing interface. And / or, when the sub-region display function of the workflow to be displayed is on, when a workflow display operation for this workflow is received, the different types of process nodes in this workflow are displayed in the editing interface in sub-regions. In this case, the editing interface displays different interface areas for displaying different types of process nodes; when the sub-region display function of the workflow to be displayed is off, when a workflow display operation for this workflow is received, this workflow is displayed in the editing interface. In this case, different types of process nodes in the workflow may be located in the same area, and the editing interface does not display different interface areas for displaying different types of process nodes.

[0063] S102. In response to the adjustment operation based on the editing interface, adjust the interface area where at least some process nodes in the workflow are located.

[0064] The adjustment operation can be understood as a triggering operation used to instruct the adjustment of the interface area where one or more process nodes in the workflow are located. The execution method of the adjustment operation is not limited. For example, the operation may include adjusting the display position of at least some process nodes in the workflow in the editing interface, adjusting the area range of one or more interface areas in the editing interface, or adjusting the node type of at least some process nodes in the workflow, and so on.

[0065] Specifically, upon receiving an adjustment operation based on the editing interface, the interface area where at least some process nodes in the workflow are located can be adjusted based on this adjustment operation, so as to adjust the node type of at least some process nodes in the workflow.

[0066] In some implementations, users can adjust the interface area where at least some process nodes in the workflow are located by adjusting the display position of process nodes in the editing interface. Optionally, in response to an adjustment operation based on the editing interface, adjusting the interface area where at least some process nodes in the workflow are located includes: in response to a first adjustment operation on at least some process nodes in the workflow, moving the at least some process nodes from a first interface area of ​​the editing interface to a second interface area of ​​the editing interface for display.

[0067] The first adjustment operation can be understood as a triggering operation that adjusts the display position of one or more process nodes in the workflow within the editing interface. The execution method of the first adjustment operation is not limited; for example, it may include dragging one or more process nodes in the workflow, triggering the first adjustment control displayed in the editing interface, and / or triggering the directional keys on an input device (such as a keyboard), etc. The first interface area can be understood as the interface area where the process node was located before the adjustment. The second interface area can be understood as the interface area where the process node is located after the adjustment. For example, the first interface area and the second interface area can be different interface areas within the editing interface.

[0068] For example, upon receiving a first adjustment operation based on the editing interface, the process node corresponding to the first adjustment operation in the workflow can be moved based on this first adjustment operation to adjust the display position of the corresponding process node in the editing interface, such as moving the process node corresponding to the first adjustment operation from the first interface area of ​​the editing interface to the second interface area of ​​the editing node for display.

[0069] For example, upon receiving a drag operation applied to at least some process nodes in the workflow, the at least some process nodes can be controlled to move with the drag operation; upon detecting that a user has triggered a direction key on an input device, the at least some process nodes in the workflow can be controlled to move in the editing interface along the direction corresponding to the direction key, so as to adjust the position of the at least some process nodes in the editing interface and / or the interface area where the at least some process nodes are located in the editing interface. These at least some process nodes may include, for example, the process node currently triggered by the user or a process node in the workflow that is selected, etc., and this embodiment does not limit this.

[0070] like Figure 2 and 4 As shown in the figure (taking the first interface area 21 as the interface area on the left side of the editing interface and the second interface area 22 as the interface area on the right side of the editing interface as an example), when a first adjustment operation is detected for process node b, the display position of process node b in the editing interface can be adjusted based on this first adjustment operation, such as moving process node b from the first interface area 21 to the second interface area 22 for display.

[0071] In some implementations, users can adjust the interface area where at least some process nodes in a workflow are located by adjusting the area range of one or more interface areas in the editing interface. Optionally, in response to an adjustment operation based on the editing interface, adjusting the interface area where at least some process nodes in the workflow are located includes: in response to a second adjustment operation targeting at least some interface areas, keeping the display position of each process node in the workflow unchanged, adjusting the area range of the at least some interface areas, and determining the interface area where each process node is located based on the adjusted area range of the at least some interface areas and the display position of each process node.

[0072] The second adjustment operation can be understood as adjusting the area range of one or more interface regions in the editing interface. The execution method of the second adjustment operation is not limited; for example, it may include dragging the boundary line of a certain interface region in the editing interface, and / or dragging the intersection line between multiple interface regions in the editing interface, etc.

[0073] For example, upon receiving a second adjustment operation based on the editing interface, the display position of each process node in the workflow can be kept unchanged. Based on this second adjustment operation, the area range of one or more interface areas in the workflow corresponding to this second adjustment operation can be adjusted. During the adjustment process and / or after the adjustment is completed, the interface area where the process node in the workflow is located can be determined based on the adjusted area range of the one or more interface areas. Furthermore, the node type of the process node in the workflow can be determined as the node type corresponding to the interface area where it is located.

[0074] like Figure 2 and Figure 5 As shown (taking the intersection line 24 of the interface area dragged to the left as an example), when a drag operation is received on the intersection line 24 between two interface areas in the editing interface, this intersection line 24 can be controlled to move with this drag operation to adjust the area range of these two interface areas in the editing interface. As the intersection line 24 moves, the process node b in the workflow changes from the interface area located on the left side of the editing interface (such as...) Figure 2 (As shown) has been adjusted to the interface area located on the right side of the editing interface (as shown). Figure 5 As shown in the diagram, with the adjustment of the interface area where process node b is located, the node type of process node b can be switched from type A before the interface area is adjusted to type B after the interface area is adjusted. This allows for the adjustment of both the interface area where process node b is located and the node type of process node b.

[0075] In some implementations, users can adjust the interface area where a process node is located by adjusting its node type. Optionally, in response to an adjustment operation based on the editing interface, adjusting the interface area where at least some process nodes in the workflow are located includes: in response to a third adjustment operation for at least some process nodes in the workflow, adjusting the node type of the at least some process nodes, and moving the at least some process nodes to an interface area corresponding to the adjusted node type for display.

[0076] The third adjustment operation can be understood as adjusting the node type of a process node. The execution method of the third adjustment operation is not limited; for example, it includes, but is not limited to, editing the node type item in the configuration information of a process node.

[0077] For example, upon receiving a third adjustment operation for at least some process nodes in a workflow, the node type of the at least some process nodes can be adjusted based on the third adjustment operation, and in response to the adjustment of the node type of the at least some process nodes, the at least some process nodes can be moved to the interface area corresponding to their adjusted node type for display.

[0078] For example, such as Figure 2 and 4 As shown, assuming the user changes the node type of a certain process node (such as process node b) in the workflow from type A to type B through the third adjustment operation, the process node can be moved from the interface area corresponding to type A to the interface area corresponding to type B for display in response to the adjustment of the node type.

[0079] In this embodiment, when the display area of ​​at least one process node in the workflow is adjusted, the association attributes of this at least one process node may be adjusted automatically or not automatically; the association attributes of at least some process nodes in this at least one process node may be adjusted automatically, and / or the association attributes of other process nodes in this at least one process node may not be adjusted automatically, etc., and can be set as needed.

[0080] Optionally, the workflow editing method further includes at least one of the following: in response to the adjustment of the interface area, keeping the first association attribute of the first process node in the at least some process nodes unchanged; in response to the adjustment of the interface area, updating the second association attribute of the second process node in the at least some process nodes.

[0081] In this context, a first process node can be understood as a process node whose at least some of its associated attributes do not adjust with changes in the interface area where it is located. A first associated attribute can be understood as an associated attribute of the first process node that does not adjust with changes in the interface area where it is located. A second process node can be understood as a process node whose at least some of its associated attributes adjust with changes in the interface area where it is located. A second associated attribute can be understood as an associated attribute of the second process node that adjusts with changes in the interface area where it is located. The associated attributes of a process node can be understood as attributes associated with the process node, such as the node attributes of the process node itself. These node attributes may include, but are not limited to, the model associated with the process node, the configuration items of the model associated with the process node, the default values ​​of the configuration items, and / or the input, output, and other configuration parameters of the process node, etc.

[0082] The determination method of the first process node, the second process node, the first associated attribute, and / or the second associated attribute is not limited. Optionally, the first process node is in an edited state, and the second process node is in an unedited state; and / or, the first associated attribute includes at least one of the node attributes that the user has edited and the node attributes associated with the node attributes that the user has edited, and the second associated attribute includes the node attributes that the user has not yet edited. For example, the first associated attribute may include the node attributes that the user has edited; or, the node attributes associated with the node attributes that the user has edited, such as node attributes whose attribute values ​​change with the attribute values ​​of the node attributes that the user has edited. The second associated attribute may include the node attributes that the user has not edited, such as node attributes that the user has not edited and that are not associated with the node attributes that the user has edited. The first process node may include a process node in an edited state, such as a process node whose node attributes have been edited by the user or a process node with a first associated attribute; the second process node may include a process node in an unedited state. In some examples, the second process node may also include a process node in an unedited state, such as a process node with a second associated attribute.

[0083] Specifically, after adjusting the interface area where at least some process nodes in the workflow are located based on the adjustment operation, the node attributes of these at least some process nodes may be updated or not updated, such as keeping the first association attribute of the first process node in these at least some process nodes unchanged; and / or updating the second association attribute of the second process node in these at least some process nodes.

[0084] In some examples, for instance, the node type of at least some process nodes in the workflow can be adjusted in response to an adjustment of the interface area where at least some process nodes are located. Furthermore, for a first process node in this at least some process nodes where the user has edited its associated attributes, the node attributes (such as a first associated attribute, etc.) of this first process node are kept unchanged; and / or, for a second process node in this at least some process nodes where the user has not yet edited its associated attributes, one or more node attributes of this second process node are updated, such as updating at least some attribute items (such as a second associated attribute) or the attribute values ​​of at least some attribute items, etc., to further simplify the workflow editing process.

[0085] The workflow editing method provided in this embodiment displays the workflow to be edited in an editing interface. The editing interface includes at least two interface areas, with different interface areas corresponding to different node types. The node type of a process node in the workflow is indicated by the interface area where the process node is located. In response to adjustment operations based on the editing interface, the interface areas where at least some process nodes in the workflow are located are adjusted. This embodiment utilizes the above technical solution to display process nodes with different node types in the workflow in different interface areas of the editing interface. It also supports users adjusting the node type of a process node by adjusting the interface area where the process node is located, eliminating the need for users to manually mark the node type of each process node in the workflow. This reduces the difficulty of viewing process nodes of different node types and the difficulty of editing the node types, simplifying the workflow editing process and improving workflow editing efficiency.

[0086] Figure 6 This is a flowchart illustrating another workflow editing method provided by an embodiment of this disclosure. The solution in this embodiment can be combined with one or more optional solutions in the above embodiments. Optionally, the workflow editing method further includes: in response to the adjustment of the interface area, switching the display style of at least some process nodes from a first display style to a second display style, wherein the first display style corresponds to the first interface area where the at least some process nodes were located before the adjustment, and the second display style corresponds to the second interface area where the at least some process nodes are located after the adjustment.

[0087] Correspondingly, such as Figure 6 As shown, the workflow editing method provided in this embodiment may include:

[0088] S201. Display the workflow to be edited in the editing interface, wherein the editing interface includes at least two interface areas, different interface areas correspond to different node types, and the node type of the process node in the workflow is indicated by the interface area where the process node is located.

[0089] In this embodiment, the process nodes in different interface areas of the editing interface can have different display styles. These display styles may include, but are not limited to, node shape, node background, and / or node text style.

[0090] In some examples, different areas of the editing interface can correspond to different area styles, and process nodes located within these areas can be displayed using a display style corresponding to that area style. Both the area style and the node style can be set as needed. For example, the area style may include, but is not limited to, area shape and / or area background, and the node style may include, but is not limited to, node shape and / or node background. The area background and / or node background may include, but is not limited to, background color or background image.

[0091] Taking an editing interface including a first interface area 21 and a second interface area 22, with area styles including area background colors and node styles including node background colors as an example, at least some sub-areas of the first interface area 21 and the second interface area 22 can have different area backgrounds. For example, the first interface area 21 and the second interface area 22 can include type identifier sub-areas. This type identifier sub-area can be used to display the type identifier of the node type corresponding to the corresponding interface area. The first identifier sub-area 210 of the first interface area 21 can have a first background color, and the second identifier sub-area 220 of the second interface area 22 can have a second background color. Figure 2 As shown. The process nodes located within area 21 of the first interface (such as...) Figure 2 The process nodes a and b shown can display a background color that is the same as or related to the first background color of the first interface area 21; process nodes located in the second interface area 22 (such as...) Figure 2 The process node c) shown can display a background color that is the same as or related to the second background color of the second interface area 22, such as... Figure 2 As shown in the figure (using the same background color for nodes and regions as an example), this helps users quickly distinguish process nodes with different node types in the workflow.

[0092] S202. In response to the adjustment operation based on the editing interface, adjust the interface area where at least some process nodes in the workflow are located.

[0093] Specifically, upon receiving an adjustment operation based on the editing interface, the interface area where one or more process nodes in the workflow are located can be adjusted. For example, at least some process nodes in the editing interface can be moved from the first interface area 21 of the editing interface to the second interface area 22 of the editing interface. Figure 2 , 4 As shown in Figure 5 (taking the interface area where process node b is located as an example in the figure).

[0094] S203. In response to the adjustment of the interface area, the display style of at least some process nodes is switched from a first display style to a second display style, wherein the first display style corresponds to the first interface area where the at least some process nodes were located before the adjustment, and the second display style corresponds to the second interface area where the at least some process nodes are located after the adjustment.

[0095] The first display style can be understood as the display style corresponding to the first interface area, such as the display style of process nodes in the first interface area. The second display style can be understood as the display style corresponding to the second interface area, such as the display style of process nodes in the second interface area. The first interface area and the second interface area can be different interface areas in the editing interface. The first display style and the second display style can be different display styles, such as corresponding to different node shapes, different node backgrounds, and / or different node text styles. This node text style can be understood as the display style of the text (such as characters) in the node.

[0096] Specifically, when adjusting the interface area where at least some process nodes in a workflow are located in response to an adjustment operation, such as when the interface area where at least some process nodes in the workflow are located changes, the display style of these at least some process nodes can be switched to the display style corresponding to the adjusted interface area. For example... Figure 2 , 4 As shown in Figure 5, when process node b in the workflow is moved from the first interface area 21 to the second interface area 22 for display, the display style of process node b can be adjusted to the second display style corresponding to the second interface area 22 in response to the adjustment of the interface area where process node b is located.

[0097] In this embodiment, the method for determining the interface area where the process node is located (such as the interface area where the process node was located before adjustment and / or the interface area where the process node is located after adjustment) can be flexibly set. In some examples, the interface area where the process node is located can be determined based on the interface area where the key point of the process node is located, such as determining the interface area where the key point of the process node is located as the interface area where this process node is located. When the key point of the process node is located on the intersection line of multiple interface areas, which interface area this process interface is located in can be preset or determined by the user. The key point of the process node may include, but is not limited to, the midpoint or a vertex of the process node, and this embodiment does not limit this.

[0098] In this embodiment, the workflow can have different versions, such as workflows arranged in ascending order of editing time. Workflow nodes with different node types within the same version of the workflow can have different display styles. In different versions of the workflow, the display styles of flow nodes of the same or different types can be the same or different. Optionally, flow nodes of the same node type can have the same or different display styles in different versions of the workflow. For example, the display styles corresponding to each node type in different versions of the workflow can be flexibly set as needed. Thus, flow nodes of the same node type can present the same or different display styles in different versions of the workflow. Taking a flow node of node type A as an example, in the same version of the workflow, flow nodes of node type A can have the same display style, while in different versions of the workflow, flow nodes of node type A can have the same or different display styles. This embodiment does not limit this.

[0099] The workflow editing method provided in this embodiment has different display styles for different interface areas. When the interface area where the process node is located is adjusted, the display style of this process node is switched to the display style corresponding to the interface area where it is located after the adjustment. This can enrich the display methods of process nodes with different node types, reduce the difficulty of distinguishing process nodes with different node types, and provide convenience for users to quickly distinguish and edit process nodes with different node types.

[0100] Figure 7 This is a structural block diagram of a workflow editing device provided in an embodiment of the present disclosure. The device can be implemented by software and / or hardware, and can be configured in an electronic device, typically a computer, mobile phone, or tablet computer. It can edit the workflow based on the process nodes displayed in different interface areas of the editing interface by executing a workflow editing method. Figure 7 As shown, the workflow editing device provided in this embodiment may include: a workflow display module 701 and an area adjustment module 702, wherein,

[0101] Workflow display module 701 is used to display the workflow to be edited in the editing interface, wherein the editing interface includes at least two interface areas, different interface areas correspond to different node types, and the node type of the process node in the workflow is indicated by the interface area where the process node is located.

[0102] The area adjustment module 702 is used to adjust the interface area where at least some process nodes in the workflow are located in response to the adjustment operation based on the editing interface.

[0103] The workflow editing device provided in this embodiment displays the workflow to be edited on the editing interface through a workflow display module. The editing interface includes at least two interface areas, with different interface areas corresponding to different node types. The node type of a process node in the workflow is indicated by the interface area where the process node is located. A region adjustment module responds to adjustment operations based on the editing interface, adjusting the interface areas where at least some process nodes in the workflow are located. This embodiment utilizes the above technical solution to display process nodes with different node types in the workflow in different interface areas of the editing interface. It also supports users adjusting the node type of a process node by adjusting the interface area where the process node is located, eliminating the need for users to manually mark the node type of each process node in the workflow. This reduces the difficulty of viewing and editing process nodes of different types, simplifies the workflow editing process, and improves workflow editing efficiency.

[0104] Furthermore, the workflow editing device may also include: a style switching module, used to switch the display style of at least some process nodes from a first display style to a second display style in response to the adjustment of the interface area, wherein the first display style corresponds to the first interface area where the at least some process nodes were located before the adjustment, and the second display style corresponds to the second interface area where the at least some process nodes are located after the adjustment.

[0105] Optionally, process nodes of the same node type may have the same or different display styles in different versions of the workflow.

[0106] Furthermore, the workflow editing device may also include at least one of the following: an attribute retention module, configured to retain the first associated attribute of the first process node among the at least some process nodes unchanged in response to the adjustment of the interface area; and an attribute update module, configured to update the second associated attribute of the second process node among the at least some process nodes in response to the adjustment of the interface area.

[0107] Optionally, the first process node is in an edited state, and the second process node is in an unedited state; and / or, the first associated attribute includes at least one of the node attributes that the user has edited and the node attributes associated with the node attributes that the user has edited, and the second associated attribute includes the node attributes that the user has not yet edited.

[0108] Optionally, the area adjustment module 702 can be used to perform at least one of the following: in response to a first adjustment operation for at least some process nodes in the workflow, move the at least some process nodes from a first interface area of ​​the editing interface to a second interface area of ​​the editing interface for display; in response to a second adjustment operation for at least some interface areas in the interface area, keep the display position of each process node in the workflow unchanged, adjust the area range of the at least some interface areas, and determine the interface area where each process node is located based on the adjusted area range of the at least some interface areas and the display position of each process node; in response to a third adjustment operation for at least some process nodes in the workflow, adjust the node type of the at least some process nodes, and move the at least some process nodes to an interface area corresponding to the adjusted node type for display.

[0109] Optionally, the workflow display module 701 may include: a region display unit, used to display the editing interface and at least two interface regions divided in the editing interface in response to the editing interface display operation; and a first node display unit, used to display process nodes of different node types in the workflow in different interface regions of the editing interface.

[0110] Optionally, the workflow display module 701 may include: an interface display unit for displaying the editing interface in response to an editing interface display operation; a region division unit for dividing the editing interface into at least two interface regions in response to a region division operation based on the editing interface; and a second node display unit for displaying process nodes of different node types in the workflow in different interface regions of the editing interface.

[0111] Optionally, the region division unit may be specifically used to: display a region setting interface in response to a region division operation based on the editing interface, the region setting interface being used to set the region attributes of the editing interface, the region attributes including at least one of region quantity and region range; and, in response to a completion operation for setting the region attributes, divide the editing interface into at least two interface regions based on at least some of the region attributes of the editing interface.

[0112] Optionally, the region attributes may further include at least one of the following: the region name of the interface region to be divided; the display style of the interface region to be divided; the node type corresponding to the interface region to be divided; and the display style of the process nodes in the interface region to be divided.

[0113] Optionally, the node type of the process node is determined based on at least one of the process node's business function, business logic, corresponding triggering operation, node priority, and business party; and / or, the workflow includes the workflow of an intelligent agent.

[0114] The workflow editing apparatus provided in this disclosure can execute the workflow editing method provided in any embodiment of this disclosure, and has the corresponding functional modules and beneficial effects for executing the workflow editing method. Technical details not described in detail in this embodiment can be found in the workflow editing method provided in any embodiment of this disclosure.

[0115] The following is for reference. Figure 8 This illustration shows a structural diagram of an electronic device (e.g., a terminal device) 800 suitable for implementing embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 8 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.

[0116] like Figure 8 As shown, the electronic device 800 may include a processing device (e.g., a central processing unit, a graphics processor, etc.) 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage device 808 into a random access memory (RAM) 803. The RAM 803 also stores various programs and data required for the operation of the electronic device 800. The processing device 801, ROM 802, and RAM 803 are interconnected via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.

[0117] Typically, the following devices can be connected to I / O interface 805: input devices 806 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 807 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 808 including, for example, magnetic tapes, hard disks, etc.; and communication devices 809. Communication device 809 allows electronic device 800 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 8 An electronic device 800 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.

[0118] In particular, according to embodiments of this disclosure, the processes described above with reference to the workflow can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the workflow. In such embodiments, the computer program can be downloaded and installed from a network via communication device 809, or installed from storage device 808, or installed from ROM 802. When the computer program is executed by processing device 801, it performs the functions defined above in the methods of embodiments of this disclosure.

[0119] It should be noted that the computer-readable medium described in this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.

[0120] In some implementations, clients and servers can communicate using any currently known or future-developed network protocol such as HTTP (Hypertext Transfer Protocol) and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet of Things), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future-developed networks.

[0121] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.

[0122] The aforementioned computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to: display a workflow to be edited in an editing interface, wherein the editing interface includes at least two interface areas, different interface areas corresponding to different node types, and the node type of the process nodes in the workflow is indicated by the interface area where the process node is located; and adjust the interface areas where at least some of the process nodes in the workflow are located in response to an adjustment operation based on the editing interface.

[0123] Computer program code for performing the operations of this disclosure can be written in one or more programming languages ​​or a combination thereof, including but not limited to object-oriented programming languages ​​such as Java, Smalltalk, and C++, as well as conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0124] The workflows and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in the workflow or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than those shown in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or workflows, and combinations of blocks in the block diagrams and / or workflows, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0125] The units described in the embodiments of this disclosure can be implemented in software or hardware. The names of modules do not, in some cases, constitute a limitation on the unit itself.

[0126] The functions described above in this document can be performed at least in part by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), system-on-a-chip (SoCs), complex programmable logic devices (CPLDs), and so on.

[0127] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0128] According to one or more embodiments of this disclosure, Example 1 provides a workflow editing method, including:

[0129] The editing interface displays the workflow to be edited, wherein the editing interface includes at least two interface areas, different interface areas correspond to different node types, and the node type of the process node in the workflow is indicated by the interface area where the process node is located.

[0130] In response to an adjustment operation based on the editing interface, the interface area where at least some process nodes in the workflow are located is adjusted.

[0131] According to one or more embodiments of this disclosure, Example 2 describes the method according to Example 1, the method further comprising:

[0132] In response to the adjustment of the interface area, the display style of at least some process nodes is switched from a first display style to a second display style, wherein the first display style corresponds to the first interface area where the at least some process nodes were located before the adjustment, and the second display style corresponds to the second interface area where the at least some process nodes are located after the adjustment.

[0133] According to one or more embodiments of this disclosure, Example 3 describes the method described in Example 2, in which process nodes of the same node type have the same or different display styles in different versions of the workflow.

[0134] According to one or more embodiments of this disclosure, Example 4 describes the method according to Example 1, wherein the method further includes at least one of the following:

[0135] In response to adjustments to the interface area, the first associated attribute of the first process node in at least some of the process nodes remains unchanged;

[0136] In response to the adjustment of the interface area, the second associated attribute of the second process node in the at least some process nodes is updated.

[0137] According to one or more embodiments of this disclosure, Example 5 describes the method described in Example 4.

[0138] The first process node is in an edited state, and the second process node is in an unedited state; and / or

[0139] The first associated attribute includes at least one of the node attributes that the user has edited and the node attributes associated with the node attributes that the user has edited, and the second associated attribute includes the node attributes that the user has not yet edited.

[0140] According to one or more embodiments of this disclosure, Example 6 describes the method according to Example 1, wherein adjusting the interface area where at least some process nodes in the workflow are located in response to an adjustment operation based on the editing interface includes at least one of the following:

[0141] In response to a first adjustment operation for at least some process nodes in the workflow, the at least some process nodes are moved from the first interface area of ​​the editing interface to the second interface area of ​​the editing interface for display.

[0142] In response to a second adjustment operation targeting at least a portion of the interface area, the display position of each process node in the workflow is kept unchanged, the area range of the at least a portion of the interface area is adjusted, and the interface area where each process node is located is determined based on the adjusted area range of the at least a portion of the interface area and the display position of each process node.

[0143] In response to a third adjustment operation for at least some process nodes in the workflow, the node type of the at least some process nodes is adjusted, and the at least some process nodes are moved to the interface area corresponding to the adjusted node type for display.

[0144] According to one or more embodiments of this disclosure, Example 7, based on any one of Examples 1-6, includes displaying the workflow to be edited in the editing interface, comprising:

[0145] In response to the operation of displaying the editing interface, the editing interface and at least two interface areas that have been divided in the editing interface are displayed;

[0146] Different interface areas of the editing interface display process nodes of different node types in the workflow.

[0147] According to one or more embodiments of this disclosure, Example 8 describes the method described in any of Examples 1-6, wherein displaying the workflow to be edited in the editing interface includes:

[0148] In response to the operation of displaying the editing interface, the editing interface is displayed;

[0149] In response to a region division operation based on the editing interface, the editing interface is divided into at least two interface regions;

[0150] Different interface areas of the editing interface display process nodes of different node types in the workflow.

[0151] According to one or more embodiments of this disclosure, Example 9 describes the method described in Example 8, wherein dividing the editing interface into at least two interface regions in response to a region division operation based on the editing interface includes:

[0152] In response to a region division operation based on the editing interface, a region setting interface is displayed. The region setting interface is used to set the region attributes of the editing interface. The region attributes include at least one of the number of regions and the region range.

[0153] In response to the completion of the setting operation for the region attributes, the editing interface is divided into at least two interface regions based on at least some of the region attributes of the editing interface.

[0154] According to one or more embodiments of this disclosure, Example 10, based on the method described in Example 9, further includes at least one of the following:

[0155] The name of the interface area to be divided;

[0156] The display style of the interface area to be divided;

[0157] The node types corresponding to the interface areas to be divided;

[0158] The display style of process nodes in the interface area to be divided.

[0159] According to one or more embodiments of this disclosure, Example 11, according to any one of Examples 1-6, the node type of the process node is determined based on at least one of the process node's business function, business logic, corresponding triggering operation, node priority, and business party; and / or

[0160] The workflow includes the workflow of the intelligent agent.

[0161] According to one or more embodiments of this disclosure, Example 12 provides a workflow editing apparatus, including:

[0162] The workflow display module is used to display the workflow to be edited in the editing interface. The editing interface includes at least two interface areas, and different interface areas correspond to different node types. The node type of the process node in the workflow is indicated by the interface area where the process node is located.

[0163] The region adjustment module is used to adjust the interface region where at least some process nodes in the workflow are located in response to the adjustment operation based on the editing interface.

[0164] According to one or more embodiments of this disclosure, Example 13 provides an electronic device, including:

[0165] One or more processors;

[0166] Memory, used to store one or more programs.

[0167] When the one or more programs are executed by the one or more processors, the one or more processors implement the workflow editing method as described in any of Examples 1-11.

[0168] According to one or more embodiments of the present disclosure, Example 14 provides a computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements an editing method of a workflow as described in any of Examples 1-11.

[0169] According to one or more embodiments of this disclosure, Example 15 provides a computer program product that, when executed by a computer, causes the computer to implement an editing method of a workflow as described in any of Examples 1-11.

[0170] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed in this disclosure that have similar functions.

[0171] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.

[0172] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.

Claims

1. A workflow editing method, characterized in that, include: The editing interface displays the workflow to be edited, wherein the editing interface includes at least two interface areas, different interface areas correspond to different node types, and the node type of the process node in the workflow is indicated by the interface area where the process node is located. In response to an adjustment operation based on the editing interface, the interface area where at least some process nodes in the workflow are located is adjusted.

2. The method according to claim 1, characterized in that, The method further includes: In response to the adjustment of the interface area, the display style of at least some process nodes is switched from a first display style to a second display style, wherein the first display style corresponds to the first interface area where the at least some process nodes were located before the adjustment, and the second display style corresponds to the second interface area where the at least some process nodes are located after the adjustment.

3. The method according to claim 2, characterized in that, Process nodes of the same type may display in the same or different styles in different versions of the workflow.

4. The method according to claim 1, characterized in that, The method further includes at least one of the following: In response to adjustments to the interface area, the first associated attribute of the first process node in at least some of the process nodes remains unchanged; In response to the adjustment of the interface area, the second associated attribute of the second process node in the at least some process nodes is updated.

5. The method according to claim 4, characterized in that, The first process node is in an edited state, and the second process node is in an unedited state; and / or The first associated attribute includes at least one of the node attributes that the user has edited and the node attributes associated with the node attributes that the user has edited, and the second associated attribute includes the node attributes that the user has not yet edited.

6. The method according to claim 1, characterized in that, The adjustment of the interface area where at least some process nodes in the workflow are located in response to the adjustment operation based on the editing interface includes at least one of the following: In response to a first adjustment operation for at least some process nodes in the workflow, the at least some process nodes are moved from the first interface area of ​​the editing interface to the second interface area of ​​the editing interface for display. In response to a second adjustment operation targeting at least a portion of the interface area, the display position of each process node in the workflow is kept unchanged, the area range of the at least a portion of the interface area is adjusted, and the interface area where each process node is located is determined based on the adjusted area range of the at least a portion of the interface area and the display position of each process node. In response to a third adjustment operation for at least some process nodes in the workflow, the node type of the at least some process nodes is adjusted, and the at least some process nodes are moved to the interface area corresponding to the adjusted node type for display.

7. The method according to any one of claims 1-6, characterized in that, The step of displaying the workflow to be edited in the editing interface includes: In response to the operation of displaying the editing interface, the editing interface and at least two interface areas that have been divided in the editing interface are displayed; Different interface areas of the editing interface display process nodes of different node types in the workflow.

8. The method according to any one of claims 1-6, characterized in that, The step of displaying the workflow to be edited in the editing interface includes: In response to the operation of displaying the editing interface, the editing interface is displayed; In response to a region division operation based on the editing interface, the editing interface is divided into at least two interface regions; Different interface areas of the editing interface display process nodes of different node types in the workflow.

9. The method according to claim 8, characterized in that, The step of dividing the editing interface into at least two interface regions in response to the region division operation based on the editing interface includes: In response to a region division operation based on the editing interface, a region setting interface is displayed. The region setting interface is used to set the region attributes of the editing interface. The region attributes include at least one of the number of regions and the region range. In response to the completion of the setting operation for the region attributes, the editing interface is divided into at least two interface regions based on at least some of the region attributes of the editing interface.

10. The method according to claim 9, characterized in that, The region attribute also includes at least one of the following: The name of the interface area to be divided; The display style of the interface area to be divided; The node types corresponding to the interface areas to be divided; The display style of process nodes in the interface area to be divided.

11. The method according to any one of claims 1-6, characterized in that, The node type of the process node is determined based on at least one of the following: the process node's business function, business logic, corresponding triggering operation, node priority, and business party; and / or The workflow includes the workflow of the intelligent agent.

12. A workflow editing device, characterized in that, include: The workflow display module is used to display the workflow to be edited in the editing interface. The editing interface includes at least two interface areas, and different interface areas correspond to different node types. The node type of the process node in the workflow is indicated by the interface area where the process node is located. The region adjustment module is used to adjust the interface region where at least some process nodes in the workflow are located in response to the adjustment operation based on the editing interface.

13. An electronic device, characterized in that, include: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the workflow editing method according to any one of claims 1-11.

14. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed by a processor, implement the workflow editing method according to any one of claims 1-11.

15. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the workflow editing method according to any one of claims 1-11.