WO2024255560A1 - 一种多流程节点的处理方法、装置、设备及存储介质 - Google Patents

一种多流程节点的处理方法、装置、设备及存储介质 Download PDF

Info

Publication number
WO2024255560A1
WO2024255560A1 PCT/CN2024/095043 CN2024095043W WO2024255560A1 WO 2024255560 A1 WO2024255560 A1 WO 2024255560A1 CN 2024095043 W CN2024095043 W CN 2024095043W WO 2024255560 A1 WO2024255560 A1 WO 2024255560A1
Authority
WO
WIPO (PCT)
Prior art keywords
node set
node
nodes
selected nodes
flow chart
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.)
Ceased
Application number
PCT/CN2024/095043
Other languages
English (en)
French (fr)
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.)
Beijing Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Publication of WO2024255560A1 publication Critical patent/WO2024255560A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming

Definitions

  • the present application relates to a method, device, equipment and storage medium for processing multiple process nodes.
  • users create business flowcharts and use flowcharts to manage their business.
  • users use the application development service provided by the application platform as a service (aPaaS). Users can first create a flowchart for managing application development in the aPaaS platform and develop applications with reference to the flowchart.
  • aPaaS application development service provided by the application platform as a service
  • the flowchart includes process nodes and the execution order between process nodes.
  • the process nodes can correspond to the processing steps of the business, and the execution order between the process nodes can reflect the processing process between the processing steps of the business.
  • the flowchart of a more complex business may include more process nodes.
  • a user views or edits a flowchart
  • a large number of process nodes are displayed on the process editing page.
  • the user needs to process more process nodes, making it difficult to directly understand the process represented by the flowchart, resulting in a poor user experience.
  • the present application provides a method, device, equipment and storage medium for processing multiple process nodes, which can create a node set, reduce the process nodes displayed in the flowchart, and facilitate user viewing and editing.
  • the present application provides a method for processing multiple process nodes, the method comprising: displaying a first process editing page, the first process editing page being used to display and edit a first flow chart,
  • the first flowchart includes process nodes; in response to obtaining a multi-node processing request for multiple selected nodes, creating a node set including the multiple selected nodes; stopping displaying the multiple selected nodes in the first flowchart and displaying the node set, wherein the node set is used to replace the multiple selected nodes.
  • the multi-node processing request includes a multi-node grouping request, and the node set is a grouped node set.
  • the displaying the node set includes: displaying an editing area of the grouped node set, where the editing area is used to receive editable content of the grouped node set.
  • the editable content includes identification information of the group node set.
  • the method before creating the node set including the multiple selected nodes, the method further includes: determining whether the multiple selected nodes meet a preset grouping condition.
  • the multi-node processing request includes creating a sub-process request, the node set is a sub-process node set, and the creation includes a node set of the multiple selected nodes, including: creating a second flowchart of the sub-process node set based on the multiple selected nodes; displaying a second process editing page, the second process editing page is used to display and edit the second flowchart.
  • the method before creating the second flowchart of the sub-process node set based on the multiple selected nodes, the method further includes: determining whether the multiple selected nodes meet a preset sub-process creation condition.
  • the method further includes: establishing a calling relationship between the sub-process node set and the second flowchart, wherein the calling relationship is used to trigger a call and execute the second flowchart when the sub-process node set is executed.
  • the node display area of the sub-process node set includes identification information of the second flowchart.
  • the present application provides a multi-process node processing device, the device comprising: a first display unit for displaying a first process editing page, the first process editing page being used to display and edit a first flow chart, the first flow chart comprising flow nodes; a creation unit for creating a multi-node processing request including the plurality of selected nodes in response to obtaining a multi-node processing request for the plurality of selected nodes; a second display unit, configured to stop displaying the plurality of selected nodes in the first flowchart and display the node set, wherein the node set is used to replace the plurality of selected nodes.
  • the multi-node processing request includes a multi-node grouping request, and the node set is a grouped node set.
  • the second display unit is used to display the node set, including: the second display unit is used to display an editing area of the grouped node set, and the editing area is used to receive editable content of the grouped node set.
  • the editable content includes identification information of the group node set.
  • the device further includes: a first determining unit, configured to determine whether the plurality of selected nodes meet a preset grouping condition.
  • the multi-node processing request includes a request to create a sub-process
  • the node set is a sub-process node set
  • the creation unit is used to create a node set including the multiple selected nodes, including: the creation unit is used to create a second flowchart of the sub-process node set based on the multiple selected nodes; display a second process editing page, the second process editing page is used to display and edit the second flowchart.
  • the device further includes: a second determining unit, configured to determine whether the plurality of selected nodes meet a preset sub-process creation condition.
  • the device further includes: an establishing unit, configured to establish a calling relationship between the sub-process node set and the second flowchart, wherein the calling relationship is used to trigger a call and execute the second flowchart when the sub-process node set is executed.
  • an establishing unit configured to establish a calling relationship between the sub-process node set and the second flowchart, wherein the calling relationship is used to trigger a call and execute the second flowchart when the sub-process node set is executed.
  • the node display area of the sub-process node set includes identification information of the second flowchart.
  • the present application provides an electronic device, including:
  • processors one or more processors
  • the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors implement any method described in the first aspect.
  • the present application provides a computer-readable medium having a computer program stored thereon. Wherein, when the program is executed by a processor, any method described in the first aspect is implemented.
  • the present application provides a computer program product, which, when executed on a device, enables the device to execute the method described in the first aspect.
  • FIG1 is a schematic diagram of an exemplary application scenario provided in an embodiment of the present application.
  • FIG2 is a schematic diagram of another exemplary application scenario provided in an embodiment of the present application.
  • FIG3 is a schematic diagram of a process flow of a method for processing multiple process nodes provided in an embodiment of the present application
  • FIG4 is a schematic diagram of an operation panel provided in an embodiment of the present application.
  • FIG5 is a schematic diagram of a display method of a node set provided in an embodiment of the present application.
  • FIG6 is a schematic diagram of a display method of a grouped node set provided in an embodiment of the present application.
  • FIG7 is a schematic diagram of another display method of a grouped node set provided in an embodiment of the present application.
  • FIG8 is a schematic diagram of another display method of a grouped node set provided in an embodiment of the present application.
  • FIG9 is a schematic diagram of a display method of a sub-process node set provided in an embodiment of the present application.
  • FIG10 is a schematic diagram of a second process editing page provided in an embodiment of the present application.
  • FIG11 is a schematic diagram of a second flow chart for completing editing provided in an embodiment of the present application.
  • FIG12 is a schematic diagram of the structure of a processing device for multiple process nodes provided in an embodiment of the present application.
  • FIG. 13 is a schematic diagram of the basic structure of an electronic device provided in an embodiment of the present application.
  • the aPaaS platform has low-code or zero-code features.
  • the aPaaS platform provides users with elements and modules for developing applications. Users can edit elements or modules through relatively simple operations such as "drag, drop, and drag" to develop applications.
  • users can choose to edit flowcharts related to developing applications in the aPaaS platform, and refer to the flowcharts to develop applications.
  • the corresponding flowcharts include more process nodes. Users need to view a large number of process nodes to understand the overall process represented by the flowchart. In some cases, due to the limited display area of the process editing page, the process editing page needs to be opened when the user can see each process node clearly.
  • the display ratio is adjusted to a slightly larger value. In this way, the number of process nodes displayed in the display area of the process editing page is small, and all the process nodes included in the flowchart cannot be displayed. Users need to frequently adjust the display area of the process editing page to view all the flowcharts and understand the processes represented by the flowcharts. The process of users viewing flowcharts is cumbersome and the user experience is poor.
  • an embodiment of the present application provides a method, device, equipment and storage medium for processing multiple process nodes.
  • the method first displays a first process editing page for displaying and editing a first flow chart.
  • the user can use the first process editing page to view the first flow chart and edit the first flow chart.
  • a node set including multiple selected nodes is created.
  • a node set is used to replace multiple selected nodes for display, that is, multiple selected nodes are stopped from being displayed and a node set is displayed.
  • Using a node set instead of displaying multiple selected nodes can reduce the number of process nodes that need to be directly displayed in the first flow chart. This makes it easy for users to streamline the process nodes displayed in the first flow chart, facilitates users to view the first flow chart, and improves the efficiency of users viewing and editing the first flow chart.
  • FIG. 1 the figure is a schematic diagram of an exemplary application scenario provided in an embodiment of the present application.
  • the client of the aPaaS platform displays a first process editing page for displaying and editing a first flow chart to the user.
  • the first flow chart includes process nodes and the execution order between the process nodes.
  • a user uses the left mouse button to select multiple selected nodes in the first flowchart displayed on the first process editing page. For example, referring to FIG1 , a user selects process node 2 and process node 3. After the user selects multiple selected nodes, a multi-node processing request for multiple selected nodes is automatically triggered.
  • the client creates a node set in response to obtaining a multi-node processing request.
  • the node set includes multiple selected nodes, namely, process node 2 and process node 3.
  • the client stops displaying multiple selected nodes in the first process editing page of the first flowchart and displays a node set.
  • the multiple process nodes that originally need to be displayed in the first flowchart are simplified to a node set, reducing the number of process nodes directly displayed in the first flowchart. In this way, the number of process nodes that the user views or edits in the first process editing page can be reduced, which is convenient for the user to view or edit the first flowchart, and then it is convenient for the user to edit and view the flowchart in the aPaaS platform, thereby improving the efficiency of developing applications.
  • FIG. 3 is a schematic flow chart of a method for processing multiple process nodes provided in an embodiment of the present application, as shown in FIG. 3 , the method may include S301-S303:
  • the first process editing page is used to display the first flow chart in the editing state.
  • the user can view and edit the first flow chart in the first process editing page.
  • the first flow chart includes multiple flow nodes and the execution order between the multiple flow nodes. Among them, the flow nodes correspond to the steps that need to be executed for the business represented by the first flow chart.
  • the user usually needs to edit the flow nodes, for example, edit the information of the business corresponding to the flow nodes, edit the trigger conditions of the flow nodes, edit the format of the output data of the flow nodes and other editable contents of the flow nodes.
  • the first process editing page can be a page displayed in a browser, or a page displayed in an application.
  • the embodiments of the present application do not limit this.
  • the embodiments of the present application do not limit the triggering method for displaying the first process editing page.
  • a user can trigger the display of the first process editing page by clicking a control that creates the first process editing page.
  • a user can edit the first flow chart by clicking an edit control to trigger the display of the first process editing page.
  • S302 In response to obtaining a multi-node processing request for a plurality of selected nodes, creating a node set including the plurality of selected nodes.
  • the user selects multiple process nodes as selected nodes in the process operation page.
  • the embodiment of the present application does not limit the way in which the user selects the process nodes.
  • the user can use an operation control, such as a mouse cursor, to select multiple process nodes as multiple selected nodes.
  • the user can use shortcut keys to select multiple process nodes as multiple selected nodes.
  • a multi-node processing request for the multiple selected nodes is triggered.
  • a multi-node processing request for multiple selected nodes is automatically triggered.
  • the user holds down the left button of the mouse to create a selection area. Domain.
  • the process nodes belonging to the selection area are selected nodes.
  • the selection of the process nodes is confirmed to be completed, and a multi-node processing request for multiple selected nodes is automatically triggered.
  • the user selects multiple process nodes and the operation interval is greater than the time threshold, the selection of the process nodes is confirmed to be completed, and a multi-node processing request for multiple selected nodes is automatically triggered.
  • the user uses the operating cursor or triggers a keyboard shortcut to trigger the multi-node processing control displayed on the first process editing page, thereby triggering a multi-node processing request for multiple process nodes.
  • control bar of the first process editing page includes a multi-node processing control.
  • the user can click the multi-node processing control in the control bar of the first process editing page to trigger a multi-node processing request for the multiple process nodes.
  • an operation panel for the multiple selected nodes is displayed.
  • the operation panel includes a multi-node processing control.
  • the operation panel can be displayed near the node display area of the multiple selected nodes.
  • the multi-node processing control included in the operation panel is used to trigger a multi-node processing request.
  • the user can use an operation control, such as a mouse cursor, and a shortcut key to trigger the multi-node processing control included in the operation panel.
  • the multi-node processing request is used to trigger the creation of a node set including multiple selected nodes.
  • the embodiment of the present application does not limit the type of the node set.
  • the node set is a group node set. Multiple selected nodes belonging to the same group node set belong to the same group.
  • the node set is a sub-process node set. Multiple selected nodes belonging to the same sub-process node set belong to a sub-process.
  • the content of the multi-node processing request corresponds to the node set that needs to be created.
  • the multi-node processing request includes a multi-node grouping request, and the node set created in response to obtaining the multi-node processing request is a grouping node set.
  • the multi-node processing request includes a sub-process creation request, and the node set created in response to obtaining the multi-node processing request is a sub-process node set.
  • the multi-node processing control included in the operation panel corresponds to the type of node set.
  • the node set can be a grouping node set, or a sub-process node set.
  • the operation panel includes two different multi-node processing controls, namely a grouping control and a sub-process creation control. See Figure 4, which is a schematic diagram of an operation panel provided in an embodiment of the present application.
  • the operation panel includes a "grouping" control.
  • the grouping control is used to trigger a multi-node processing request including a multi-node grouping request.
  • the create sub-process control is used to trigger a multi-node processing request including a create sub-process request.
  • the operation panel also includes other editing controls for uniformly editing multiple selected nodes. For example, as shown in FIG. 4 , the operation panel also includes “copy”, “cut” and “delete”.
  • the display of the multiple selected nodes in the first flow chart stops, and the node set is used to replace the selected nodes for display.
  • the execution order of the node set in the first flowchart is the same as the execution order of the multiple selected nodes as a whole in the first flowchart.
  • Figure 5 is a schematic diagram of a display method of a node set provided in an embodiment of the present application.
  • the created node set includes two selected nodes, "Submit to Warehouse” and "Get Records".
  • the node set is connected to the "Fill in Form” before the execution order of "Submit to Warehouse", and is connected to the two process nodes after the execution order of "Get Records”.
  • a node set is used to replace multiple selected nodes for display, thereby reducing the number of process nodes that need to be directly displayed in the first flowchart.
  • the way to create a node set and the way to display the node set may be different.
  • the embodiments of the present application respectively introduce the creation process of a grouped node set and the possible display method, the creation process of a sub-process node set and the possible display method, please see below for details.
  • a node set including multiple selected nodes can be displayed instead of multiple selected nodes, reducing the number of process nodes that need to be directly displayed in the first flowchart. This makes it convenient for users to streamline the process nodes displayed in the first flowchart, making it convenient for users to view the first flowchart, and improving the efficiency of users viewing and editing the first flowchart.
  • users can easily edit and view flowcharts in the aPaaS platform, improving the efficiency of developing applications.
  • the following uses a node set that is a group node set and a node set that is a sub-process node set as examples to illustrate the creation process and display method of a node set.
  • the first type the node set is a grouped node set.
  • the preset grouping condition is a pre-set condition for confirming that the selected nodes can be grouped.
  • the embodiment of the present application does not limit the specific content included in the preset grouping condition.
  • the preset grouping condition is that the process node is a pre-configured node that can be grouped.
  • the preset grouping condition is that the selected nodes are adjacent in the execution order, and all the selected nodes belong to the same process branch.
  • the preset grouping condition is that the selected nodes are adjacent in the execution order, and the multiple selected nodes include all process nodes belonging to the same branch body.
  • the branch body includes multiple process branches that start branching from the same process node and end at the same process node.
  • process node 1 process node 2 and process node 3 are process nodes belonging to a process branch.
  • Flow node 4 and process node 6 are process nodes belonging to a process branch.
  • Flow node 5 and process node 7 are process nodes belonging to a process branch.
  • Flow node 4, process node 5, process node 6 and process node 7 are process nodes belonging to a branch body.
  • process node 4 When selecting a process node, the user can select adjacent process nodes belonging to the same process group, for example, select process node 4 and process node 6.
  • the user can also select multiple process nodes that are adjacent in the execution order and include all process nodes belonging to the same branch body, for example, the user selects process node 3, process node 4, process node 5, process node 6 and process node 7.
  • process node 4, process node 5, process node 6 and process node 7 are all process nodes belonging to the same branch body. If the user selects process node 3 and process node 4, two process nodes that do not belong to the same process branch, the preset grouping condition is not met.
  • process node 4 If the user selects process node 4, process node 5 and process node 6, the selected multiple process nodes do not include all process nodes belonging to the same branch body, and the preset grouping condition is not met.
  • preset grouping conditions can prevent users from selecting selected nodes that cannot create grouping nodes, thereby ensuring that grouping nodes can be created normally.
  • the multiple selected nodes included in the established grouping node set belong to the same group.
  • the node display area of the grouping node set includes content related to the grouping. In this way, the user can determine the grouping node set based on the content related to the grouping.
  • the node display area of the grouping node set includes a "grouping" logo.
  • the "grouping" logo can be a pre-set icon that identifies the grouping node set.
  • the "grouping" logo can be a pre-set label.
  • the node display area of the grouping node set includes a display state switching control. The display state switching control is used to switch the expanded display state and the collapsed display state of the grouping node set.
  • the grouping node set In the expanded display state, information of the grouped node set and information of multiple selected nodes included in the grouped node set are displayed in the node display area of the grouped node set.
  • the required display area is smaller, which is convenient for users to view more process nodes.
  • the user In the expanded display state, the user can view the information of multiple selected nodes included in the grouped node set, which is convenient for users to edit the multiple selected nodes included in the grouped node set.
  • the node display area of the grouped node set displays the information of the grouped node set.
  • the embodiment of the present application does not limit the manner of displaying the grouping node set in the first flow chart. As some examples, the embodiment of the present application provides a specific implementation manner of displaying the grouping node.
  • the grouped node set is displayed in an edit state.
  • An editing area of the grouped node set is displayed in the node display area of the grouped node set.
  • the editing area is used to receive the editable content of the grouped node set.
  • the editing area of the created grouped node set is displayed.
  • the user can directly edit the editable content of the grouped node set.
  • the editable content includes identification information of the grouped node set.
  • the identification information is, for example, the number of the grouped node set, or, for example, the name of the grouped node set.
  • Figure 6 which is a schematic diagram of a display method of a grouped node set provided in an embodiment of the present application.
  • the editing area includes a name edit box.
  • the name edit box is used to enter the name of the grouped node set.
  • the user can edit the name of the created grouped node set using the name edit box.
  • the grouped node set In addition to the editing state, the grouped node set also has two different display states, namely, the expanded display state and the collapsed display state.
  • the grouped node set is displayed in an expanded display state.
  • the node display area of the grouped node set displays the information of the grouped node set and the information of the selected nodes.
  • the user can distinguish different grouped node sets based on the information of the grouped node sets.
  • the information of the selected nodes is used to determine and distinguish the selected nodes.
  • the user can determine the selected nodes included in the grouped node set and distinguish different selected nodes.
  • the area required to display the information of multiple selected nodes included in the grouped node set is smaller than that of directly displaying
  • the display area of multiple selected nodes makes it easier for users to view more process nodes.
  • FIG. 7 is a schematic diagram of another display method of a grouped node set provided in an embodiment of the present application.
  • the information of the grouped node set includes an icon of the grouped node set and identification information of the grouped node set.
  • the icon of the grouped node set can be a pre-set icon for representing the grouped node set.
  • the identification information of the grouped node set can be determined based on a pre-set identification information template of the grouped node set.
  • the identification information template is "Grouping x".
  • "x" is a positive integer, which is used to represent the xth grouping node set created in the first flowchart.
  • the identification information of the grouped node set is "Grouping 1", indicating that the grouped node set is the first grouping node set created in the first flowchart.
  • the information of the selected nodes includes, for example, the node names of the selected nodes and the execution order between the selected nodes. As shown in FIG7 , the selected nodes are displayed in a collapsed display state. When the selected nodes are in the collapsed display state, the node names of the process nodes are displayed in the node display area. In some other possible implementations, when the selected nodes are in the collapsed display state, the node display area of the selected nodes also displays the introduction text of the selected nodes.
  • the node display area of the grouped node set also includes a first display state switching control. As shown in FIG7 , the first display state switching control is used to switch the display state of the grouped node set from an expanded display state to a collapsed display state.
  • the user can trigger the selected node to be displayed in an expanded display state.
  • the selected node of the non-node set displays an editing area in the expanded display state.
  • the user can edit the selected node of the non-node set.
  • the node display area of the grouped node set also includes a second display state switching control.
  • the second display state switching control is used to switch the display state of all selected nodes included in the grouped node set from a collapsed display state to an expanded display state.
  • the user triggers the second display state switching control to enable each selected node to be displayed in an expanded display state, which is convenient for the user to edit the selected node.
  • the grouping node set is displayed in a collapsed display state.
  • the node display area of the grouping node set only displays the information of the grouping node set.
  • the user can determine the grouping node set based on the information of the grouping node set.
  • the user can distinguish different grouping node sets based on the information of the grouping node sets.
  • FIG. 8 is a schematic diagram of another display method of a grouped node set provided in an embodiment of the present application.
  • the information of the grouping node set includes an icon of the grouping node set and identification information of the grouping node set, that is, "Group 1".
  • the icon of the grouping node set can be a pre-set icon for representing the grouping node set.
  • the identification information of the grouping node set can be determined based on a pre-set identification information template of the grouping node set.
  • the node display area of the grouped node set also includes a third display state switching control. As shown in FIG8 , the third display state switching control is used to switch the display state of the grouped node set from the collapsed display state to the expanded display state.
  • the user can trigger the grouped node set to be displayed in an edit state.
  • the user can trigger the edit state of the grouped node set by double-clicking the node display area of the grouped node set to display the edit area of the grouped node set.
  • the identification information of the grouped node set is displayed in the node display area of the grouped node set. The user can trigger the display of the edit area of the grouped node set by double-clicking the identification information of the grouped node set.
  • the second type the node set is a sub-process node set.
  • the sub-process node set is a node set including multiple process nodes constituting the sub-process.
  • the multiple selected nodes belong to the multiple process nodes constituting the sub-process.
  • the embodiment of the present application does not limit the display method of the sub-process node set in the first flowchart.
  • the node display area of the sub-process node set includes the identification information of the second flowchart. Based on the identification information of the second flowchart, the user can determine the second flowchart that the sub-process node set can call. See Figure 9, which is a schematic diagram of a display method of a sub-process node set provided in an embodiment of the present application. "Sub-process A" is the identification information of the second flowchart, that is, the identification information of the sub-process constructed by the sub-process node set.
  • the preset sub-process creation conditions are pre-set conditions for confirming that the selected nodes can create a sub-process node set.
  • the embodiments of the present application do not limit the specific content of the preset sub-process creation conditions.
  • the preset sub-process creation condition is that the process node is a pre-configured node that can create a sub-process.
  • the preset condition for creating a sub-process is a node that is not used to create a sub-process. This can avoid the problem that the same process node corresponds to different flowcharts, resulting in confusion in calling the flowchart when executing the flowchart.
  • the preset condition for creating a sub-process is that the execution order of multiple selected nodes is continuous. This can avoid the situation where the execution order of the execution process nodes is confused when executing the flowchart.
  • the selected node selected by the user to create the sub-process node set can be a process node included in the grouping node set.
  • the user can first select multiple selected nodes to create a grouping node set including these multiple selected nodes. Further, the user can select some or all of the process nodes from the multiple process nodes included in the grouping node set as selected nodes to create a sub-process node set.
  • an embodiment of the present application provides a specific implementation of creating a node set including multiple selected nodes, including:
  • a second flow chart of a sub-flow node set is created based on the plurality of selected nodes, and a second flow chart editing page for displaying and editing the second flow chart is displayed.
  • the second flow chart is a flow chart corresponding to the sub-flow node set.
  • the second flow chart includes the flow nodes belonging to the sub-flow node set and the execution order between the flow nodes.
  • the second flowchart can also include other process nodes.
  • a second process editing page for displaying and editing the second flowchart is displayed.
  • the second process editing page is a page displayed independently of the first process editing page. The user can view and edit the second flowchart in the second process editing page and add other process nodes in the second flowchart.
  • the second flowchart displayed in the second process editing page retains the execution order between multiple selected nodes.
  • a second flowchart of a sub-process node set including two selected nodes "Submit to Warehouse” and “Get Records” is created, and the second process editing page is displayed.
  • the display layer of the second process editing page is above the display layer of the first process editing page. See Figure 10, which is a schematic diagram of a second process editing page provided in an embodiment of the present application.
  • the second flowchart displayed on the second process editing page includes two selected nodes, "Submit to Warehouse” and “Get Records", and the execution order between the two selected nodes, "Submit to Warehouse” and "Get Records”.
  • the created second flow chart also includes template nodes and connection relationships between the template nodes and the selected nodes.
  • the template node can be, for example, an open One or more of the start node and the end node.
  • the second flowchart includes a start node of "call trigger” and an end node of "end”. Among them, "call trigger” is connected with “submit to warehouse”. “Submit to warehouse” is connected with “get record”. “Get record” is connected with "end”. It means that "call trigger” is executed first, then “submit to warehouse”, then “get record”, and finally "end”.
  • the template node includes an unedited process node.
  • the process node is connected to the last selected node in the execution order among multiple selected nodes.
  • the node display area of the unedited process node displays an editing area so that the user can directly edit the process node.
  • the user can also adjust the execution order of the unedited process node in the second flowchart to edit the second flowchart.
  • the user can insert a new process node between the execution order of the selected nodes, can also insert a new process node after the execution order of the selected nodes, and can also insert a new process node before the execution order of the selected nodes, and this application does not limit this.
  • the specific order of the execution order of multiple selected nodes in the second flowchart can be changed. However, the order of execution of multiple selected nodes is consistent with the order of execution of multiple selected nodes in the first flowchart.
  • the user can insert a new process node between "submit to warehouse” and "obtain records”, or insert a new process node after "obtain records”, or insert a new process node before "submit to warehouse”.
  • the order of execution of "submit to warehouse” is before the order of execution of "obtain records”.
  • Figure 11 is a schematic diagram of a second flowchart for completing editing provided by an embodiment of the present application.
  • a calling relationship between the sub-process node set and the second flowchart is established.
  • the calling relationship between the sub-process node set and the second flowchart can be established using a sub-process trigger.
  • the second flowchart is called based on the scheduling relationship between the sub-process node set and the second flowchart. In this way, the number of process nodes directly displayed in the first flowchart can be reduced, and it is also convenient for other flowcharts to reuse the flowchart, which is convenient for users to edit the flowchart.
  • the page displays the information of each created flowchart.
  • the flowchart information includes, for example, the name of the flowchart, the creation time, and the function of the flowchart.
  • the process management page also includes edit controls and view controls for each flowchart. The user can trigger the view control to view the flowchart. Alternatively, the user can trigger the edit control to display the process edit page to view and edit the flowchart.
  • the embodiment of the present application also provides a processing device for multiple process nodes, and the processing device for multiple process nodes will be described below in conjunction with the accompanying drawings.
  • FIG. 12 is a schematic diagram of the structure of a processing device for multiple process nodes provided in an embodiment of the present application.
  • the processing device for multiple process nodes includes:
  • a first display unit 1201 is used to display a first process editing page, where the first process editing page is used to display and edit a first flow chart, where the first flow chart includes flow nodes;
  • a creating unit 1202 configured to create a node set including the multiple selected nodes in response to obtaining a multi-node processing request for the multiple selected nodes;
  • the second display unit 1203 is used to stop displaying the multiple selected nodes in the first flow chart, and display the node set, where the node set is used to replace the multiple selected nodes.
  • the multi-node processing request includes a multi-node grouping request, and the node set is a grouped node set.
  • the second display unit 1203 is used to display the node set, including:
  • the second display unit 1203 is used to display an editing area of the grouped node set, where the editing area is used to receive editable content of the grouped node set.
  • the editable content includes identification information of the group node set.
  • the device further includes:
  • the first determining unit is configured to determine whether a plurality of the selected nodes meet a preset grouping condition.
  • the multi-node processing request includes a sub-process creation request
  • the node set is a sub-process node set
  • the creating unit 1202 is used to create a node set including the multiple selected nodes, including:
  • the creation unit 1202 is used to create a second flow chart of the sub-process node set based on the multiple selected nodes; display a second flow editing page, the second flow editing page is used to display Display and edit the second flowchart.
  • the device further includes:
  • the second determining unit is used to determine whether the plurality of selected nodes meet a preset sub-process creation condition.
  • the device further includes:
  • An establishing unit is used to establish a calling relationship between the sub-process node set and the second flowchart, and the calling relationship is used to trigger the call and execute the second flowchart when the sub-process node set is executed.
  • the node display area of the sub-process node set includes identification information of the second flowchart.
  • the present application also provides an electronic device, comprising: one or more processors; a storage device on which one or more programs are stored, and when the one or more programs are executed by the one or more processors, the one or more processors implement the method for processing multiple process nodes as described in any of the above embodiments.
  • FIG13 shows a schematic diagram of the structure of an electronic device 1300 suitable for implementing an embodiment of the present application.
  • the terminal device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (portable android devices), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs (televisions), desktop computers, etc.
  • the electronic device shown in FIG13 is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
  • the electronic device 1300 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 1301, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1302 or a program loaded from a storage device 1308 into a random access memory (RAM) 1303.
  • a processing device e.g., a central processing unit, a graphics processing unit, etc.
  • RAM random access memory
  • various programs and data required for the operation of the electronic device 1300 are also stored.
  • the processing device 1301, the ROM 1302, and the RAM 1303 are connected to each other via a bus 1304.
  • An input/output (I/O) interface 1305 is also connected to the bus 1304.
  • the following devices can be connected to the I/O interface 1305: an input device 1306 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 1307 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; an input device 1308 including, for example, a magnetic 1300; and communication means 1309.
  • the communication means 1309 may allow the electronic device 1300 to communicate with other devices wirelessly or by wire to exchange data.
  • FIG. 13 shows an electronic device 1300 with various devices, it should be understood that it is not required to implement or have all the devices shown. More or fewer devices may be implemented or provided instead.
  • an embodiment of the present application includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart.
  • the computer program can be downloaded and installed from the network through the communication device 1309, or installed from the storage device 1308, or installed from the ROM 1302.
  • the processing device 1301 the above-mentioned functions defined in the method of the embodiment of the present application are executed.
  • the electronic device provided in the embodiment of the present application and the processing method of multiple process nodes provided in the above embodiment belong to the same inventive concept.
  • the technical details not fully described in this embodiment can be referred to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.
  • an embodiment of the present application provides a computer storage medium on which a computer program is stored, wherein when the program is executed by a processor, the method for processing multiple process nodes as described in any of the above embodiments is implemented.
  • the computer-readable medium mentioned above in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two.
  • the computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above.
  • Computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device or device.
  • a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code.
  • This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above.
  • the computer-readable signal medium also Any computer-readable medium other than a computer-readable storage medium can be used to send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device.
  • the program code contained on the computer-readable medium can be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
  • the client and server may communicate using any currently known or future developed network protocol such as HTTP (Hyper Text Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network).
  • HTTP Hyper Text Transfer Protocol
  • Examples of communication networks include a local area network ("LAN”), a wide area network ("WAN”), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
  • the computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
  • the computer-readable medium carries one or more programs.
  • the electronic device executes the multi-process node processing method.
  • Computer program code for performing the operations of the present application may 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, C++, and conventional procedural programming languages, such as "C" or similar programming languages.
  • the program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server.
  • the remote computer may 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 may be connected to an external computer (e.g., via the Internet using an Internet service provider).
  • LAN local area network
  • WAN wide area network
  • Internet service provider e.g., via the Internet using an Internet service provider
  • each box in the flowchart or block diagram may represent a module, a program segment, or a portion of code, which contains one or more executable instructions for implementing the specified logical functions.
  • the functions marked in the boxes may also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession may actually be The steps may be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved.
  • each block in the block diagram and/or flow chart, and combinations of blocks in the block diagram and/or flow chart may be implemented by a dedicated hardware-based system that performs the specified functions or operations, or may be implemented by a combination of dedicated hardware and computer instructions.
  • the units involved in the embodiments described in this application may be implemented by software or hardware.
  • the name of a unit/module does not limit the unit itself in some cases.
  • a voice data acquisition module may also be described as a "data acquisition module”.
  • exemplary types of hardware logic components include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
  • FPGAs field programmable gate arrays
  • ASICs application specific integrated circuits
  • ASSPs application specific standard products
  • SOCs systems on chips
  • CPLDs complex programmable logic devices
  • a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment.
  • a machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • a machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing.
  • a more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read-only memory
  • EPROM or flash memory erasable programmable read-only memory
  • CD-ROM portable compact disk read-only memory
  • CD-ROM compact disk read-only memory
  • magnetic storage device or any suitable combination of the foregoing.
  • At least one (item) means one or more, and “more” means two or more.
  • “And/or” is used to describe the association relationship of associated objects, indicating that three relationships may exist.
  • a and/or B can mean: only A exists, only B exists, and both A and B exist, where A and B can be singular or plural.
  • the character “/” generally indicates that the associated objects before and after are in an “or” relationship.
  • “At least one of the following” or similar expressions means Refers to any combination of these items, including any combination of single items or plural items.
  • At least one item of a, b or c can be represented by: a, b, c, "a and b", “a and c", “b and c", or "a and b and c", where a, b, c can be single or plural.

Landscapes

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

Abstract

本申请公开了一种多流程节点的处理方法、装置、设备及存储介质。该方法先显示用于显示并且编辑第一流程图的第一流程编辑页面。用户能够利用第一流程编辑页面查看第一流程图以及编辑第一流程图。响应于获取用户触发的针对多个被选择节点的多节点处理请求,创建包括多个被选择节点的节点集合。在第一流程图中使用节点集合代替多个被选择节点进行显示,也就是停止显示多个被选择节点,显示节点集合。利用节点集合代替显示多个被选择节点,能够减少第一流程图中需要直接显示的流程节点的数量。如此便于用户精简第一流程图显示的流程节点,方便用户查看第一流程图,提高用户查看以及编辑第一流程图的效率。

Description

一种多流程节点的处理方法、装置、设备及存储介质
本申请要求于2023年6月15日递交的中国专利申请第202310715115.8号的优先权,在此全文引用上述中国专利申请公开的内容以作为本申请的一部分。
技术领域
本申请涉及一种多流程节点的处理方法、装置、设备及存储介质。
背景技术
在一些场景中,用户建立业务的流程图,并利用流程图管理业务。比如,用户使用应用程序平台即服务(application Platform as a Service,aPaaS)平台提供的应用程序开发服务。用户能够在aPaaS平台中先建立用于管理开发应用程序的流程图,并参照流程图进行应用程序的开发。
流程图包括流程节点以及流程节点之间的执行顺序。流程节点能够与业务的处理步骤对应,流程节点之间的执行顺序能够体现业务的处理步骤之间的处理过程。
较为复杂的业务的流程图可能包括的流程节点较多。在用户查看或者编辑流程图时,流程编辑页面显示内大量的流程节点。用户在查看以及编辑流程编辑页面显示的流程图时,需要处理较多的流程节点,难以较为直接地了解到流程图表示的流程,用户体验不佳。
发明内容
有鉴于此,本申请提供一种多流程节点的处理方法、装置、设备及存储介质,能够创建节点集合,减少流程图中显示的流程节点,便于用户查看和编辑。
基于此,本申请提供的技术方案如下:
第一方面,本申请提供一种多流程节点的处理方法,所述方法包括:显示第一流程编辑页面,所述第一流程编辑页面用于显示并且编辑第一流程图, 所述第一流程图包括流程节点;响应于获取针对多个被选择节点的多节点处理请求,创建包括所述多个被选择节点的节点集合;在所述第一流程图中停止显示所述多个被选择节点,显示所述节点集合,所述节点集合用于代替所述多个被选择节点。
在一种可能的实现方式中,所述多节点处理请求包括多节点分组请求,所述节点集合为分组节点集合。
在一种可能的实现方式中,所述显示所述节点集合,包括:显示所述分组节点集合的编辑区域,所述编辑区域用于接收所述分组节点集合的可编辑内容。
在一种可能的实现方式中,所述可编辑内容包括所述分组节点集合的标识信息。
在一种可能的实现方式中,在所述创建包括所述多个被选择节点的节点集合之前,所述方法还包括:确定多个所述被选择节点满足预设分组条件。
在一种可能的实现方式中,所述多节点处理请求包括创建子流程请求,所述节点集合为子流程节点集合,所述创建包括所述多个被选择节点的节点集合,包括:基于所述多个被选择节点创建所述子流程节点集合的第二流程图;显示第二流程编辑页面,所述第二流程编辑页面用于显示并且编辑所述第二流程图。
在一种可能的实现方式中,在所述基于所述多个被选择节点创建所述子流程节点集合的第二流程图之前,所述方法还包括:确定多个所述被选择节点满足预设创建子流程条件。
在一种可能的实现方式中,所述方法还包括:建立所述子流程节点集合与所述第二流程图的调用关系,所述调用关系用于在执行所述子流程节点集合时触发调用并且执行所述第二流程图。
在一种可能的实现方式中,所述子流程节点集合的节点展示区域内包括所述第二流程图的标识信息。
第二方面,本申请提供一种多流程节点的处理装置,所述装置包括:第一显示单元,用于显示第一流程编辑页面,所述第一流程编辑页面用于显示并且编辑第一流程图,所述第一流程图包括流程节点;创建单元,用于响应于获取针对多个被选择节点的多节点处理请求,创建包括所述多个被选择节 点的节点集合;第二显示单元,用于在所述第一流程图中停止显示所述多个被选择节点,显示所述节点集合,所述节点集合用于代替所述多个被选择节点。
在一种可能的实现方式中,所述多节点处理请求包括多节点分组请求,所述节点集合为分组节点集合。
在一种可能的实现方式中,所述第二显示单元,用于显示所述节点集合,包括:所述第二显示单元,用于显示所述分组节点集合的编辑区域,所述编辑区域用于接收所述分组节点集合的可编辑内容。
在一种可能的实现方式中,所述可编辑内容包括所述分组节点集合的标识信息。
在一种可能的实现方式中,所述装置还包括:第一确定单元,用于确定多个所述被选择节点满足预设分组条件。
在一种可能的实现方式中,所述多节点处理请求包括创建子流程请求,所述节点集合为子流程节点集合,所述创建单元,用于创建包括所述多个被选择节点的节点集合,包括:所述创建单元,用于基于所述多个被选择节点创建所述子流程节点集合的第二流程图;显示第二流程编辑页面,所述第二流程编辑页面用于显示并且编辑所述第二流程图。
在一种可能的实现方式中,所述装置还包括:第二确定单元,用于确定多个所述被选择节点满足预设创建子流程条件。
在一种可能的实现方式中,所述装置还包括:建立单元,用于建立所述子流程节点集合与所述第二流程图的调用关系,所述调用关系用于在执行所述子流程节点集合时触发调用并且执行所述第二流程图。
在一种可能的实现方式中,所述子流程节点集合的节点展示区域内包括所述第二流程图的标识信息。
第三方面,本申请提供一种电子设备,包括:
一个或多个处理器;
存储装置,其上存储有一个或多个程序,
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现第一方面中任一所述的方法。
第四方面,本申请提供一种计算机可读介质,其上存储有计算机程序, 其中,所述程序被处理器执行时实现第一方面中任一所述的方法。
第五方面,本申请提供一种计算机程序产品,所述计算机程序产品在设备上运行时,使得所述设备执行第一方面所述的方法。
附图说明
图1为本申请实施例提供的一种示例性应用场景的示意图;
图2为本申请实施例提供的另一种示例性应用场景的示意图;
图3为本申请实施例提供的一种多流程节点的处理方法的流程示意图;
图4为本申请实施例提供的一种操作面板的示意图;
图5为本申请实施例提供的一种节点集合的显示方式示意图;
图6为本申请实施例提供的一种分组节点集合的显示方式的示意图;
图7为本申请实施例提供的另一种分组节点集合的显示方式示意图;
图8为本申请实施例提供的再一种分组节点集合的显示方式示意图;
图9为本申请实施例提供的一种子流程节点集合的显示方式的示意图;
图10为本申请实施例提供的一种第二流程编辑页面的示意图;
图11为本申请实施例提供的一种完成编辑的第二流程图的示意图;
图12为本申请实施例提供的一种多流程节点的处理装置的结构示意图;
图13为本申请实施例提供的一种电子设备的基本结构的示意图。
具体实施方式
为了便于理解和解释本申请实施例提供的技术方案,下面将先对本申请的背景技术进行说明。
aPaaS平台具有低代码或者零代码的特征。aPaaS平台向用户提供用于开发应用程序的元素和模块。用户能够通过“拖、拉、拽”等较为简单的操作编辑元素或者模块,实现应用程序的开发。为了较为清楚地查看开发应用程序的流程,用户能够选择在aPaaS平台中编辑与开发应用程序相关的流程图,并参照流程图进行应用程序的开发。对于较为复杂的应用程序的开发流程,对应的流程图包括包括较多的流程节点。用户需要查看大量的流程节点才能够了解流程图表示的整体的流程。在一些情况下,由于流程编辑页面的显示区域有限,在用户能够看清楚各个流程节点的情况下,需要将流程编辑页面 的显示比例调整为稍大的数值。这样,流程编辑页面的显示区域内显示的流程节点的数量较少,无法显示流程图包括的全部的流程节点。用户需要频繁地调整流程编辑页面的显示区域,以查看全部的流程图,了解流程图表示的流程。用户查看流程图的过程较为繁琐,用户体验不佳。
基于此,本申请实施例提供一种多流程节点的处理方法、装置、设备及存储介质。该方法先显示用于显示并且编辑第一流程图的第一流程编辑页面。用户能够利用第一流程编辑页面查看第一流程图以及编辑第一流程图。响应于获取用户触发的针对多个被选择节点的多节点处理请求,创建包括多个被选择节点的节点集合。在第一流程图中使用节点集合代替多个被选择节点进行显示,也就是停止显示多个被选择节点,显示节点集合。利用节点集合代替显示多个被选择节点,能够减少第一流程图中需要直接显示的流程节点的数量。如此便于用户精简第一流程图显示的流程节点,方便用户查看第一流程图,提高用户查看以及编辑第一流程图的效率。
为了便于理解本申请实施例提供的一种多流程节点的处理方法,下面结合附图对本申请实施例提供的一种多流程节点的处理方法进行说明,下面结合图1和图2所示的场景示例进行说明。参见图1和图2所示,该图为本申请实施例提供的示例性应用场景的示意图。
aPaaS平台的客户端向用户显示用于显示并且编辑第一流程图的第一流程编辑页面。第一流程图包括流程节点以及流程节点之间的执行顺序。
作为一种示例,参见图1所示,用户利用鼠标左键在第一流程编辑页面显示的第一流程图中,框选多个被选择节点。例如,参见图1所示,用户选择流程节点2以及流程节点3。用户在选择多个被选择节点后,自动触发针对多个被选择节点的多节点处理请求。客户端响应于获取多节点处理请求创建节点集合。节点集合包括多个被选择节点,即流程节点2以及流程节点3。参见图2所示,客户端在第一流程图的第一流程编辑页面中停止显示多个被选择节点,显示节点集合。将原本在第一流程图中需要显示的多个流程节点精简为节点集合,减少第一流程图中直接显示的流程节点的数量。如此能够减少用户在第一流程编辑页面中查看或者编辑的流程节点的数量,便于用户查看或者编辑第一流程图,进而便于用户在aPaaS平台中编辑以及查看流程图,提高开发应用程序的效率。
本领域技术人员可以理解,图1和图2所示的示意图仅是本申请的实施方式可以在其中得以实现的一个示例。本申请实施方式的适用范围不受到该框架任何方面的限制。
为了便于理解本申请实施例提供的技术方案,下面结合附图对本申请实施例提供的多流程节点的处理方法进行说明。
参见图3所示,该图为本申请实施例提供的一种多流程节点的处理方法的流程示意图,如图3所示,所述方法可以包括S301-S303:
S301:显示第一流程编辑页面。
第一流程编辑页面用于显示处于编辑状态的第一流程图。用户能够在第一流程编辑页面中查看以及编辑第一流程图。第一流程图包括多个流程节点以及多个流程节点之间的执行顺序。其中,流程节点对应第一流程图所表示的业务的需要执行的步骤。用户通常需要对流程节点进行编辑,比如,编辑流程节点的对应的业务的信息,编辑流程节点的触发条件,编辑流程节点的输出数据的格式等流程节点的可编辑内容。
第一流程编辑页面能够是在浏览器中显示的页面,或者是在应用程序中显示的页面。本申请实施例对此不做限定。此外,本申请实施例也不限定显示第一流程编辑页面的触发方式。作为一种示例,用户能够通过点击创建第一流程编辑页面的控件触发显示第一流程编辑页面。作为另一种示例,用户能够在查看第一流程图时,通过点击编辑控件,触发显示第一流程编辑页面,对第一流程图进行编辑。
S302:响应于获取针对多个被选择节点的多节点处理请求,创建包括多个被选择节点的节点集合。
用户在流程操作页面中选择多个流程节点作为被选择节点。本申请实施例不限定用户选择流程节点的方式。作为一种示例,用户能够使用操作控件,例如鼠标光标框选多个流程节点作为多个被选择节点。作为另一种示例,用户能够使用快捷键选择多个流程节点作为多个被选择节点。
用户在选择多个被选择节点后,触发针对多个被选择节点的多节点处理请求。
在一种可能的实现方式中,用户在完成流程节点的选择后自动触发针对多个被选择节点的多节点处理请求。例如,用户按住鼠标的左键建立选择区 域。属于选择区域的流程节点为被选择节点。在用户松开鼠标左键后,确定完成流程节点的选择,自动触发针对多个被选择节点的多节点处理请求。又例如,用户选择多个流程节点的过程中,操作间隔大于时间阈值时,确定完成流程节点的选择,自动触发针对多个被选择节点的多节点处理请求。
在另一种可能的实现方式中,用户在完成针对多个流程节点的选择后,利用操作光标,或者触发键盘快捷键,触发第一流程编辑页面显示的多节点处理控件,触发针对多个流程节点的多节点处理请求。
作为一种示例,第一流程编辑页面的控件栏中包括多节点处理控件。用户能够在选择多个流程节点后,在第一流程编辑页面的控件栏中点击多节点处理控件,触发针对多个流程节点的多节点处理请求。
作为另一种示例,响应于确定用户完成多个流程节点的选择,显示针对多个被选择节点的操作面板。操作面板包括多节点处理控件。操作面板能够显示在多个被选择节点的节点展示区域附近。操作面板包括的多节点处理控件用于触发多节点处理请求。用户能够利用操作控件,例如鼠标光标,以及快捷键触发操作面板包括的多节点处理控件。
多节点处理请求用于触发创建包括多个被选择节点的节点集合。本申请实施例不限定节点集合的类型。作为一种示例,节点集合为分组节点集合。属于同一个分组节点集合的多个被选择节点属于同一个分组。作为另一种示例,节点集合为子流程节点集合。属于同一个子流程节点集合的多个被选择节点属于一个子流程。
在节点集合具有多种类型的情况下,多节点处理请求的内容与需要创建的节点集合对应。例如,多节点处理请求包括多节点分组请求,响应于获取多节点处理请求创建的节点集合为分组节点集合。又例如,多节点处理请求包括创建子流程请求,响应于获取多节点处理请求创建的节点集合为子流程节点集合。
以上述利用操作面板包括的多节点处理控件触发多节点处理请求为例,操作面板包括的多节点处理控件与节点集合的类型对应。比如,节点集合能够是分组节点集合,或者子流程节点集合。对应的,操作面板包括两种不同的多节点处理控件,分别为分组控件以及创建子流程控件。参见图4所示,该图为本申请实施例提供的一种操作面板的示意图。操作面板包括“分组” 的分组控件以及“生成子流程”的创建子流程控件。分组控件用于触发包括多节点分组请求的多节点处理请求。创建子流程控件用于触发包括创建子流程请求的多节点处理请求。在一些可能的实现方式中,操作面板还包括其他编辑控件,用于对多个被选择节点进行统一的编辑。例如,参见图4所示,操作面板还包括“复制”、“剪切”以及“删除”。
S303:在第一流程图中停止显示多个被选择节点,显示节点集合。
在创建节点集合后,在第一流程图中停止显示多个被选择节点,使用节点集合代替被选择节点进行显示。
节点集合在第一流程图中的执行顺序,与作为一个整体的多个被选择节点在第一流程图中的执行顺序相同。以上述图4所示的第一流程图为例,参见图5所示,图5为本申请实施例提供的一种节点集合的显示方式示意图。创建的节点集合包括“提交入库”以及“获取记录”两个被选择节点。节点集合与“提交入库”执行顺序之前的“填写表单”连接,与“获取记录”执行顺序之后的两个流程节点连接。在第一流程图中,利用节点集合代替多个被选择节点进行显示,从而减少第一流程图需要直接显示的流程节点的数量。对于不同类型的节点集合,创建节点集合的方式以及显示节点集合的方式可能不同。作为一些示例,本申请实施例分别对分组节点集合的创建过程以及可能的显示方式,子流程节点集合的创建过程以及可能的显示方式进行介绍,具体请参见下文。
基于上述S301-S303相关内容可知,包括多个被选择节点的节点集合,能够代替多个被选择节点进行显示,减少第一流程图中需要直接显示的流程节点的数量。如此便于用户精简第一流程图显示的流程节点,方便用户查看第一流程图,提高用户查看以及编辑第一流程图的效率。在aPaaS平台的应用场景中,用户便于在aPaaS平台中编辑以及查看流程图,提高开发应用程序的效率。
下面分别以节点集合为分组节点集合,以及节点集合为子流程节点集合为例,对节点集合的创建过程以及显示方式进行说明。
第一种:节点集合为分组节点集合。
需要说明的是,在一些可能的实现方式中,在创建包括多个被选择节点的分组节点集合之前,先确定多个被选择节点满足预设分组条件。也就是说, 需要先确定多个被选择节点能够划分到一个分组中。预设分组条件是预先设置的用于确认被选择节点能够进行分组的条件。本申请实施例不限定预设分组条件包括的具体内容。作为一种示例,预设分组条件为该流程节点为预先配置的能够进行分组的节点。作为另一种示例,预设分组条件为被选择节点在执行顺序中是相邻的,且全部被选择节点属于同一流程分支。或者,预设分组条件为被选择节点在执行顺序中是相邻的,且多个被选择节点包括属于同一分支体的全部流程节点。分支体包括从同一个流程节点开始分支,到同一个流程节点结束的多个流程分支。
以上述图1和图2所示的第一流程编辑页面显示的流程图为例,流程节点1、流程节点2和流程节点3为属于一个流程分支的流程节点。流程节点4和流程节点6为属于一个流程分支的流程节点。流程节点5和流程节点7为属于一个流程分支的流程节点。流程节点4、流程节点5、流程节点6和流程节点7为属于一个分支体的流程节点。
用户在选择流程节点时,能够选择属于同一流程分组的相邻的流程节点,例如,选择流程节点4和流程节点6。用户也能够选择在执行顺序中相邻的,并且包括属于同一分支体的全部流程节点的多个流程节点,例如,用户选择流程节点3、流程节点4、流程节点5、流程节点6和流程节点7。其中,流程节点4、流程节点5、流程节点6和流程节点7是属于同一个分支体的全部的流程节点。如果用户选择流程节点3和流程节点4这两个不属于同一个流程分支的流程节点,则不符合预设分组条件。如果用户选择流程节点4、流程节点5和流程节点6,则选择的多个流程节点中没有包括属于同一个分支体的全部的流程节点,不符合预设分组条件。利用预设分组条件能够防止用户选择无法创建分组节点的被选择节点,进而确保能够正常创建分组节点。
建立的分组节点集合包括的多个被选择节点属于同一个分组。分组节点集合的节点展示区域内包括与分组相关的内容。如此用户能够基于与分组相关的内容确定分组节点集合。作为一种示例,分组节点集合的节点展示区域包括“分组”标识。例如,“分组”标识能够是预先设定的标识分组节点集合的图标。又例如,“分组”标识能够是预先设定的标签。作为另一种示例,分组节点集合的节点展示区域包括展示状态切换控件。展示状态切换控件用于切换分组节点集合的展开展示状态和收起展示状态。其中,对于分组节点集 合,在展开展示状态下,在分组节点集合的节点展示区域内显示分组节点集合的信息以及分组节点集合包括的多个被选择节点的信息。在分组节点集合内显示包括的多个被选择节点的信息,所需的展示的区域面积较小,便于用户查看更多的流程节点。用户在展开展示状态下,能够查看分组节点集合包括的多个被选择节点的信息,便于用户编辑属于该分组节点集合包括的多个被选择节点。在收起展示状态下,分组节点集合的节点展示区域显示分组节点集合的信息。如此,在收起展示状态下,第一流程图需要直接显示的流程节点的数量减少,便于用户查看以及编辑第一流程图。有关分组节点集合的展开展示状态和收起展示状态具体请参见下文介绍。
本申请实施例不限定在第一流程图中显示分组节点集合的方式。作为一些示例,本申请实施例提供显示分组节点的具体实现方式。
在一种可能的实现方式中,采用编辑状态显示分组节点集合。
在分组节点集合的节点展示区域内显示分组节点集合的编辑区域。编辑区域用于接收分组节点集合的可编辑内容。在第一流程编辑页面显示的第一流程图中,显示创建的分组节点集合的编辑区域。用户基于显示的分组节点集合的编辑区域,能够直接对分组节点集合的可编辑内容进行编辑。作为一种示例,可编辑内容包括分组节点集合的标识信息。标识信息例如为分组节点集合的编号,又例如为分组节点集合的名称。比如,参见图6所示,该图为本申请实施例提供的一种分组节点集合的显示方式的示意图。编辑区域包括名称编辑框。名称编辑框用于输入分组节点集合的名称。用户利用名称编辑框能够编辑创建的分组节点集合的名称。
除编辑状态以外,分组节点集合还有具有两种不同的展示状态,分别是展开展示状态以及收起展示状态。
在另一种可能的实现方式中,采用展开展示状态显示分组节点集合。在展开展示状态下,分组节点集合的节点展示区域显示分组节点集合的信息以及被选择节点的信息。在第一流程图包括多个分组节点集合的情况下,用户基于分组节点集合的信息能够区分不同的分组节点集合。被选择节点的信息用于确定以及区分被选择节点。用户基于被选择节点的信息,能够确定分组节点集合包括的被选择节点,并且区分不同的被选择节点。在分组节点集合内显示包括的多个被选择节点的信息,所需的展示的区域面积小于直接显示 多个被选择节点的展示的区域面积,便于用户查看更多的流程节点。
参见图7所示,该图为本申请实施例提供的另一种分组节点集合的显示方式示意图。
作为一种示例,分组节点集合的信息包括分组节点集合的图标以及分组节点集合的标识信息。其中,分组节点集合的图标能够是预先设置的用于表示分组节点集合的图标。分组节点集合的标识信息能够是基于预先设置的分组节点集合的标识信息模板确定的。例如,标识信息模板为“分组x”。其中,“x”为正整数,用于表示第一流程图中创建的第x个分组节点集合。如图7所示,分组节点集合的标识信息为“分组1”,表示该分组节点集合为第一流程图中创建的第一个分组节点集合。
被选择节点的信息例如包括各个被选择节点的节点名称以及被选择节点之间的执行顺序。如图7所示,被选择节点采用收起展示状态显示。被选择节点在收起展示状态下,在节点展示区域内显示流程节点的节点名称。在另一些可能的实现方式中,在收起展示状态下,被选择节点的节点展示区域内还显示被选择节点的介绍文本。
另外,在分组节点集合的节点展示区域内,还包括第一展示状态切换控件。如图7所示,第一展示状态切换控件用于将该分组节点集合的展示状态由展开展示状态切换为收起展示状态。
需要说明的是,在一些情况下,用户能够触发被选择节点采用展开展示状态显示。非节点集合的被选择节点在展开展示状态下,显示编辑区域。如此用户能够对非节点集合的被选择节点进行编辑。如图7所示,在分组节点集合的节点展示区域内,还包括第二展示状态切换控件。第二展示状态切换控件用于将该分组节点集合包括的全部的被选择节点的展示状态由收起展示状态切换为展开展示状态。用户触发第二展示状态切换控件能够实现各个被选择节点采用展开展示状态进行显示,便于用户对被选择节点进行编辑。
在又一种可能的实现方式中,采用收起展示状态显示分组节点集合。在收起展示状态下,分组节点集合的节点展示区域仅显示分组节点集合的信息。用户基于分组节点集合的信息能够确定分组节点集合。并且,在第一流程图包括多个分组节点集合的情况下,用户基于分组节点集合的信息能够区分不同的分组节点集合。
参见图8所示,该图为本申请实施例提供的再一种分组节点集合的显示方式示意图。
作为一种示例分组节点集合的信息包括分组节点集合的图标以及分组节点集合的标识信息,也就是“分组1”。其中,分组节点集合的图标能够是预先设置的用于表示分组节点集合的图标。分组节点集合的标识信息能够是基于预先设置的分组节点集合的标识信息模板确定的。
另外,在分组节点集合的节点展示区域内,还包括第三展示状态切换控件。如图8所示,第三展示状态切换控件用于将该分组节点集合的展示状态由收起展示状态切换为展开展示状态。
需要说明的是,在分组节点集合处于展开展示状态或者收起展示状态下,用户能够触发分组节点集合采用编辑状态显示。作为一种示例,用户能够通过双击分组节点集合的节点展示区域触发分组节点集合的编辑状态,显示分组节点集合的编辑区域。作为一种示例,分组节点集合的节点展示区域内显示分组节点集合的标识信息。用户能够通过双击分组节点集合的标识信息,进而触发显示分组节点集合的编辑区域。
第二种:节点集合为子流程节点集合。
子流程节点集合是包括构成子流程的多个流程节点的节点集合。多个被选择节点属于构成子流程的多个流程节点。
本申请实施例不限定第一流程图中,子流程节点集合的显示方式。在一种可能的实现方式中,子流程节点集合的节点展示区域内包括第二流程图的标识信息。基于第二流程图的标识信息,用户能够确定子流程节点集合所能调用的第二流程图。参见图9所示,该图为本申请实施例提供的一种子流程节点集合的显示方式的示意图。“子流程A”为第二流程图的标识信息,也就是子流程节点集合构建的子流程的标识信息。
需要说明的是,在一些可能的实现方式中,在创建包括多个被选择节点的子流程节点集合之前,确定多个被选择节点满足预设创建子流程条件,也就是说,需要先确定多个被选择节点能够创建子流程节点集合。预设创建子流程条件是预先设置的用于确认被选择节点能够创建子流程节点集合的条件。本申请实施例不限定预设创建子流程条件包括的具体内容。作为一种示例,预设创建子流程条件为该流程节点为预先配置的能够创建子流程的节点。 作为另一种示例,预设创建子流程条件为未用于创建子流程的节点。如此能够避免相同的流程节点对应不同的流程图,导致执行流程图时出现调用流程图混乱的问题。作为又一种示例,预设创建子流程条件为多个被选择节点的执行顺序是连续的。如此能够避免执行流程图时出现执行流程节点的执行顺序混乱的情况。需要说明的是,在一些实现方式中,用户选择的创建第子流程节点集合的被选择节点能够是分组节点集合包括的流程节点。也就是说,用户能够先选择多个被选择节点创建包括这些多个被选择节点的分组节点集合。进一步的,用户能够从分组节点集合包括的多个流程节点中,再选择部分或者全部流程节点作为被选择节点创建子流程节点集合。
在一种可能的实现方式中,本申请实施例提供一种创建包括多个被选择节点的节点集合的具体实现方式,包括:
基于多个被选择节点创建子流程节点集合的第二流程图,显示用于显示并且编辑第二流程图的第二流程编辑页面。
第二流程图为子流程节点集合所对应的流程图。第二流程图包括属于子流程节点集合的流程节点以及流程节点之间的执行顺序。
第二流程图除了包括多个被选择节点以外,还能够包括其他流程节点。显示用于显示并且编辑第二流程图的第二流程编辑页面。第二流程编辑页面是与第一流程编辑页面独立显示的页面。用户能够在第二流程编辑页面中查看以及编辑第二流程图,在第二流程图中增加其他流程节点。
在一些可能的实现方式中,第二流程编辑页面中显示的第二流程图,保留多个被选择节点之间的执行顺序。以图4所示的第一流程编辑页面为例,在用户触发“生成子流程”的子流程控件后,创建包括“提交入库”以及“获取记录”两个被选择节点的子流程节点集合的第二流程图,并显示第二流程编辑页面。第二流程编辑页面的显示图层在第一流程编辑页面的显示图层的上方。参见图10所示,该图为本申请实施例提供的一种第二流程编辑页面的示意图。第二流程编辑页面显示的第二流程图包括“提交入库”以及“获取记录”两个被选择节点,以及“提交入库”以及“获取记录”两个被选择节点之间的执行顺序。
除多个被选择节点以外,创建的第二流程图还包括模板节点,以及模板节点与被选择节点之间的连接关系。作为一种示例,模板节点例如能够是开 始节点和结束节点中的一个或者多个。参见图10所示,第二流程图包括“调用触发”的开始节点和“结束”的结束节点。其中,“调用触发”与“提交入库”连接。“提交入库”与“获取记录”连接。“获取记录”与“结束”连接。表示先执行“调用触发”,再执行“提交入库”,再执行“获取记录”,最后执行“结束”。作为另一种示例,模板节点包括未编辑的流程节点。该流程节点与多个被选择节点中执行顺序为最后一个的被选择节点连接。未编辑的流程节点的节点展示区域显示编辑区域,以便用户直接编辑流程节点。用户也能够调整该未编辑的流程节点在第二流程图中的执行顺序,实现对第二流程图的编辑。
需要说明的是,用户在编辑第二流程图的过程中,可以在被选择节点的执行顺序之间插入新的流程节点,也可以在被选择节点的执行顺序之后插入新的流程节点,还可以在被选择节点的执行顺序之前插入新的流程节点,本申请对此不做限定。多个被选择节点在第二流程图的执行顺序中的具体次序能够改变。但是多个被选择节点的执行的次序的先后关系,与第一流程图中的多个被选择节点的执行的次序的先后关系保持一致。以图10所示的第二流程图为例,用户能够在“提交入库”与“获取记录”之间插入新的流程节点,或者在“获取记录”之后插入新的流程节点,或者在“提交入库”之前插入新的流程节点。但是,“提交入库”执行的次序在“获取记录”执行的次序之前。作为一种示例,参见图11所示,该图为本申请实施例提供的一种完成编辑的第二流程图的示意图。编辑后的第二流程图中,在“提交入库”与“获取记录”两个流程节点之间增加新的流程节点,也就是“确认提交成功”以及“提交失败重复提交”的流程节点。在“获取记录”与“结束”两个流程节点之间增加新的流程节点,也就是“确认记录完整”的流程节点。
在一些可能的实现方式中,在创建第二流程图后,建立子流程节点集合与所述第二流程图的调用关系。子流程节点集合与第二流程图的调用关系能够采用子流程触发器建立。在后续执行第一流程图时,按照执行顺序执行到子流程节点集合时,基于子流程节点集合与第二流程图的调度关系调用第二流程图。如此,能够减少在第一流程图中直接显示的流程节点的数量,也便于其他流程图复用流程图,方便用户编辑流程图。
此外,用户能够在流程管理页面中查看创建的第二流程图。流程管理页 面显示已经创建的各个流程图的信息。流程图的信息例如包括流程图的名称、创建时间以及流程图的作用。流程管理页面还包括各个流程图的编辑控件和查看控件。用户能够触发查看控件查看流程图。或者,用户可以触发编辑控件显示流程编辑页面,查看并且编辑流程图。
基于上述方法实施例提供的一种多流程节点的处理方法,本申请实施例还提供了一种多流程节点的处理装置,下面将结合附图对多流程节点的处理装置进行说明。
参见图12所示,该图为本申请实施例提供的一种多流程节点的处理装置的结构示意图。如图12所示,该多流程节点的处理装置包括:
第一显示单元1201,用于显示第一流程编辑页面,所述第一流程编辑页面用于显示并且编辑第一流程图,所述第一流程图包括流程节点;
创建单元1202,用于响应于获取针对多个被选择节点的多节点处理请求,创建包括所述多个被选择节点的节点集合;
第二显示单元1203,用于在所述第一流程图中停止显示所述多个被选择节点,显示所述节点集合,所述节点集合用于代替所述多个被选择节点。
在一种可能的实现方式中,所述多节点处理请求包括多节点分组请求,所述节点集合为分组节点集合。
在一种可能的实现方式中,所述第二显示单元1203,用于显示所述节点集合,包括:
所述第二显示单元1203,用于显示所述分组节点集合的编辑区域,所述编辑区域用于接收所述分组节点集合的可编辑内容。
在一种可能的实现方式中,所述可编辑内容包括所述分组节点集合的标识信息。
在一种可能的实现方式中,所述装置还包括:
第一确定单元,用于确定多个所述被选择节点满足预设分组条件。
在一种可能的实现方式中,所述多节点处理请求包括创建子流程请求,所述节点集合为子流程节点集合,所述创建单元1202,用于创建包括所述多个被选择节点的节点集合,包括:
所述创建单元1202,用于基于所述多个被选择节点创建所述子流程节点集合的第二流程图;显示第二流程编辑页面,所述第二流程编辑页面用于显 示并且编辑所述第二流程图。
在一种可能的实现方式中,所述装置还包括:
第二确定单元,用于确定多个所述被选择节点满足预设创建子流程条件。
在一种可能的实现方式中,所述装置还包括:
建立单元,用于建立所述子流程节点集合与所述第二流程图的调用关系,所述调用关系用于在执行所述子流程节点集合时触发调用并且执行所述第二流程图。
在一种可能的实现方式中,所述子流程节点集合的节点展示区域内包括所述第二流程图的标识信息。
基于上述方法实施例提供的一种多流程节点的处理方法,本申请还提供一种电子设备,包括:一个或多个处理器;存储装置,其上存储有一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如上述任一实施例所述的多流程节点的处理方法。
下面参考图13,其示出了适于用来实现本申请实施例的电子设备1300的结构示意图。本申请实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(Personal Digital Assistant,个人数字助理)、PAD(portable android device,平板电脑)、PMP(Portable Media Player,便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV(television,电视机)、台式计算机等等的固定终端。图13示出的电子设备仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。
如图13所示,电子设备1300可以包括处理装置(例如中央处理器、图形处理器等)1301,其可以根据存储在只读存储器(ROM)1302中的程序或者从存储装置1308加载到随机访问存储器(RAM)1303中的程序而执行各种适当的动作和处理。在RAM1303中,还存储有电子设备1300操作所需的各种程序和数据。处理装置1301、ROM 1302以及RAM 1303通过总线1304彼此相连。输入/输出(I/O)接口1305也连接至总线1304。
通常,以下装置可以连接至I/O接口1305:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置1306;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置1307;包括例如磁 带、硬盘等的存储装置1308;以及通信装置1309。通信装置1309可以允许电子设备1300与其他设备进行无线或有线通信以交换数据。虽然图13示出了具有各种装置的电子设备1300,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本申请的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本申请的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置1309从网络上被下载和安装,或者从存储装置1308被安装,或者从ROM1302被安装。在该计算机程序被处理装置1301执行时,执行本申请实施例的方法中限定的上述功能。
本申请实施例提供的电子设备与上述实施例提供的多流程节点的处理方法属于同一发明构思,未在本实施例中详尽描述的技术细节可参见上述实施例,并且本实施例与上述实施例具有相同的有益效果。
基于上述方法实施例提供的一种多流程节点的处理方法,本申请实施例提供了一种计算机存储介质,其上存储有计算机程序,其中,所述程序被处理器执行时实现如上述任一实施例所述的多流程节点的处理方法。
需要说明的是,本申请上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本申请中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本申请中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还 可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。
在一些实施方式中,客户端、服务器可以利用诸如HTTP(Hyper Text Transfer Protocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备执行上述多流程节点的处理方法。
可以以一种或多种程序设计语言或其组合来编写用于执行本申请的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本申请各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可 以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本申请实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元/模块的名称在某种情况下并不构成对该单元本身的限定,例如,语音数据采集模块还可以被描述为“数据采集模块”。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。
在本申请的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
需要说明的是,本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的系统或装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。
应当理解,在本申请中,“至少一个(项)”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,用于描述关联对象的关联关系,表示可以存在三种关系,例如,“A和/或B”可以表示:只存在A,只存在B以及同时存在A和B三种情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是 指这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b或c中的至少一项(个),可以表示:a,b,c,“a和b”,“a和c”,“b和c”,或“a和b和c”,其中a,b,c可以是单个,也可以是多个。
还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本申请。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本申请的精神或范围的情况下,在其它实施例中实现。因此,本申请将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。

Claims (12)

  1. 一种多流程节点的处理方法,包括:
    显示第一流程编辑页面,所述第一流程编辑页面用于显示并且编辑第一流程图,所述第一流程图包括流程节点;
    响应于获取针对多个被选择节点的多节点处理请求,创建包括所述多个被选择节点的节点集合;
    在所述第一流程图中停止显示所述多个被选择节点,显示所述节点集合,所述节点集合用于代替所述多个被选择节点。
  2. 根据权利要求1所述的方法,其中,所述多节点处理请求包括多节点分组请求,所述节点集合为分组节点集合。
  3. 根据权利要求2所述的方法,其中,所述显示所述节点集合,包括:
    显示所述分组节点集合的编辑区域,所述编辑区域用于接收所述分组节点集合的可编辑内容。
  4. 根据权利要求3所述的方法,其中,所述可编辑内容包括所述分组节点集合的标识信息。
  5. 根据权利要求2-4任一项所述的方法,其中,在所述创建包括所述多个被选择节点的节点集合之前,所述方法还包括:
    确定多个所述被选择节点满足预设分组条件。
  6. 根据权利要求1-5任一项所述的方法,其中,所述多节点处理请求包括创建子流程请求,所述节点集合为子流程节点集合,所述创建包括所述多个被选择节点的节点集合,包括:
    基于所述多个被选择节点创建所述子流程节点集合的第二流程图;
    显示第二流程编辑页面,所述第二流程编辑页面用于显示并且编辑所述第二流程图。
  7. 根据权利要求6所述的方法,其中,在所述基于所述多个被选择节点创建所述子流程节点集合的第二流程图之前,所述方法还包括:
    确定多个所述被选择节点满足预设创建子流程条件。
  8. 根据权利要求6或7所述的方法,还包括:
    建立所述子流程节点集合与所述第二流程图的调用关系,所述调用关系 用于在执行所述子流程节点集合时触发调用并且执行所述第二流程图。
  9. 根据权利要求6-8任一项所述的方法,其中,所述子流程节点集合的节点展示区域内包括所述第二流程图的标识信息。
  10. 一种多流程节点的处理装置,包括:
    第一显示单元,被配置为显示第一流程编辑页面,所述第一流程编辑页面用于显示并且编辑第一流程图,所述第一流程图包括流程节点;
    创建单元,被配置为响应于获取针对多个被选择节点的多节点处理请求,创建包括所述多个被选择节点的节点集合;
    第二显示单元,被配置为在所述第一流程图中停止显示所述多个被选择节点,显示所述节点集合,所述节点集合用于代替所述多个被选择节点。
  11. 一种电子设备,包括:
    一个或多个处理器;
    存储装置,其上存储有一个或多个程序,
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-9任一项所述的方法。
  12. 一种计算机可读介质,其上存储有计算机程序,其中,所述程序被处理器执行时实现如权利要求1-9任一项所述的方法。
PCT/CN2024/095043 2023-06-15 2024-05-24 一种多流程节点的处理方法、装置、设备及存储介质 Ceased WO2024255560A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202310715115.8 2023-06-15
CN202310715115.8A CN119148983A (zh) 2023-06-15 2023-06-15 一种多流程节点的处理方法、装置、设备及存储介质

Publications (1)

Publication Number Publication Date
WO2024255560A1 true WO2024255560A1 (zh) 2024-12-19

Family

ID=93800544

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2024/095043 Ceased WO2024255560A1 (zh) 2023-06-15 2024-05-24 一种多流程节点的处理方法、装置、设备及存储介质

Country Status (2)

Country Link
CN (1) CN119148983A (zh)
WO (1) WO2024255560A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5515487A (en) * 1993-05-28 1996-05-07 International Business Machines Corporation Displaying partial graphs by expanding and collapsing nodes
CN103577164A (zh) * 2012-07-20 2014-02-12 腾讯科技(深圳)有限公司 流程图的生成方法和装置
CN106648608A (zh) * 2016-10-21 2017-05-10 吴晓军 一种灵活方便的流程图构建方法
CN115509503A (zh) * 2022-09-28 2022-12-23 科大讯飞股份有限公司 自动化流程的编辑方法、装置、电子设备和存储介质

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021217660A1 (zh) * 2020-04-30 2021-11-04 深圳中砼物联网科技有限公司 实现图形化无代码开发用户界面的方法、计算机设备、存储介质
CN115809858A (zh) * 2022-11-29 2023-03-17 北京字跳网络技术有限公司 一种信息处理方法、装置及设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5515487A (en) * 1993-05-28 1996-05-07 International Business Machines Corporation Displaying partial graphs by expanding and collapsing nodes
CN103577164A (zh) * 2012-07-20 2014-02-12 腾讯科技(深圳)有限公司 流程图的生成方法和装置
CN106648608A (zh) * 2016-10-21 2017-05-10 吴晓军 一种灵活方便的流程图构建方法
CN115509503A (zh) * 2022-09-28 2022-12-23 科大讯飞股份有限公司 自动化流程的编辑方法、装置、电子设备和存储介质

Also Published As

Publication number Publication date
CN119148983A (zh) 2024-12-17

Similar Documents

Publication Publication Date Title
JP7812382B2 (ja) ドキュメントの編集方法、装置、デバイス及び記憶媒体
WO2023207543A1 (zh) 媒体内容的发布方法、装置、设备、存储介质和程序产品
US20240281129A1 (en) Method and apparatus for processing information, electronic device and storage medium
JP7609357B2 (ja) ドキュメント作成方法、装置、デバイス及び記憶媒体
EP4489368A1 (en) Information display method and apparatus, information sending method and apparatus, device, medium, and product
US12093639B2 (en) Fast creation of a second document associated with a first document
CN114331331A (zh) 信息处理方法、装置、电子设备和存储介质
WO2024078471A1 (zh) 工作项信息的查看方法、装置、电子设备及存储介质
CN115113861A (zh) 一种流程处理方法、装置及设备
WO2022184077A1 (zh) 文档编辑的方法、装置、终端及非暂时性存储介质
CN114997115B (zh) 文档处理方法、装置、设备和介质
WO2024193637A1 (zh) 信息展示方法、装置及设备
WO2024001936A1 (zh) 一种信息交互方法、装置、设备及介质
CN115733812B (zh) 一种信息交互方法、装置、设备及介质
CN115174509B (zh) 一种信息处理方法、装置、设备及介质
CN116016420A (zh) 一种任务清单分享方法、装置、设备及介质
WO2025251973A1 (zh) 信息显示方法、装置和电子设备
US12205178B2 (en) Method and apparatus for group management, electronic device, and storage medium
WO2025093007A1 (zh) 信息回复方法、装置、电子设备和存储介质
WO2025167645A1 (zh) 应用于项目管理系统的信息处理方法、装置和电子设备
CN115113787B (zh) 一种消息处理方法、装置、设备及介质
WO2025152530A1 (zh) 界面展示方法、装置、电子设备和存储介质
WO2025001726A1 (zh) 封面的设置方法、装置、电子设备和存储介质
WO2025011550A1 (zh) 登录方法、装置和电子设备
WO2024255560A1 (zh) 一种多流程节点的处理方法、装置、设备及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 24822512

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE