Task node management method and device, electronic equipment and storage medium
The task node management method addresses the challenge of navigating numerous nodes by folding and marking key nodes, enhancing user efficiency and interface clarity in process editing.
Patent Information
- Application Number
- CN202411286824.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-13
- Publication Date
- 2025-01-03
AI Technical Summary
When there are too many task nodes in a graphical interface, users struggle to quickly find the target node, leading to increased scrolling and decreased user efficiency and experience.
A task node management method that includes displaying a folding control element for selected task nodes, folding nodes based on preset conditions, and displaying the number of folded nodes, while allowing users to mark important nodes for easy access.
This method simplifies the display of task nodes, reducing the need for multiple scrolls and improving user efficiency by providing a concise and clear interface for managing complex processes.
Smart Images

Figure CN119248154A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of task management technology, and in particular to a task node management method, device, electronic device and storage medium. Background Art
[0002] Process editors, logic editors, etc. are tools for designing and editing workflows or logic processes, allowing users to intuitively create, modify and manage various complex workflows through a graphical interface.
[0003] However, when there are too many task nodes in the graphical interface, users cannot quickly find the target node and need to scroll multiple times to search. A large number of complex task nodes will increase the steps of the user operation interface, affect the efficiency of the user's operation task path, and affect the user experience. Summary of the invention
[0004] In order to improve the efficiency of user operation task paths, the present application provides a task node management method, device, electronic device and storage medium.
[0005] In a first aspect, the present application provides a task node management method, comprising:
[0006] In the graphical interface corresponding to the task path, in response to a user selecting a plurality of consecutive target task nodes in the task path, displaying a first folding control element;
[0007] In response to the user's confirmation operation on the first folding control element, if there is no marked task node in the plurality of continuous target task nodes, the plurality of continuous target task nodes are folded to obtain a folded task node, and the folded task node and the number of target task nodes included in the folded task node are displayed;
[0008] If there is a marked task node among the multiple continuous target task nodes, and the number of remaining target task nodes except the marked task node meets the preset number, the remaining target task nodes are folded to obtain one or more folded task nodes, and the one or more folded task nodes are displayed, as well as the number of target task nodes included in the one or more folded task nodes.
[0009] In some embodiments, in response to the user's confirmation operation on the first folding control element, if there is a marked task node among the plurality of continuous target task nodes, and the number of the remaining target task nodes except the marked task node meets a preset number, folding the remaining target task nodes includes:
[0010] In response to a user confirmation operation on the first folding control element, if there is a marked task node among the plurality of continuous target task nodes, determining whether the number of target task nodes before or after the marked task node is greater than a preset number;
[0011] If the number of target task nodes before the marked task node is greater than the preset number, folding the target task nodes before the marked task node;
[0012] If the number of target task nodes after the marked task node is greater than the preset number, the target task nodes after the marked task node are folded.
[0013] In some embodiments, the method further comprises:
[0014] In response to a first operation of the user on the collapsed task node, detailed information of a plurality of target task nodes included in the collapsed task node is displayed.
[0015] In some embodiments, the method further comprises:
[0016] In response to a second operation of the user on the collapsed task node, displaying an expand button;
[0017] In response to a user clicking operation on the expand button, multiple target task nodes in the collapsed task node are expanded and displayed.
[0018] In some embodiments, the method further comprises:
[0019] If a third operation of the user on any task node in the task path is received, the task node corresponding to the third operation is determined as a marked task node;
[0020] The marking task node is marked with a first marking symbol, and the first marking symbol is displayed.
[0021] In some embodiments, the method further comprises:
[0022] In response to an input operation of a user in a search box included in the graphical interface, querying at least one task node matching the input content;
[0023] The at least one task node is marked with a second marking symbol, and the second marking symbol is displayed.
[0024] In some embodiments, the method further comprises:
[0025] If a user clicks on a second folding control element contained in the graphical interface, all task nodes in the task path that are in an expanded state and satisfy the folding rules except the marked task node are folded and displayed; wherein satisfying the folding rules includes: the number of consecutive task nodes is greater than a preset number.
[0026] In a second aspect, the present application provides a task node management device, including:
[0027] A display module, configured to display a first folding control element in a graphical interface corresponding to a task path in response to a user's selection operation on a plurality of consecutive target task nodes in the task path;
[0028] A folding module, for responding to a user's confirmation operation on the first folding control element, if there is no marked task node in the plurality of continuous target task nodes, folding the plurality of continuous target task nodes to obtain a folded task node, and displaying the folded task node and the number of target task nodes included in the folded task node;
[0029] The folding module is also used to fold the remaining target task nodes to obtain one or more folded task nodes if there is a marked task node among the multiple consecutive target task nodes, and the number of remaining target task nodes except the marked task node meets a preset number, and display the one or more folded task nodes, as well as the number of target task nodes included in the one or more folded task nodes.
[0030] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a memory and a processor, the memory being used to store a computer program, the processor being used to execute the task node management method described in the first aspect or any optional implementation manner of the first aspect when calling the computer program.
[0031] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the task node management method described in the first aspect or any optional implementation manner of the first aspect is implemented.
[0032] Compared with the prior art, the technical solution provided by the embodiments of the present application has the following advantages:
[0033] The task node management method provided by the embodiment of the present application includes: in the graphical interface corresponding to the task path, in response to the user's selection operation of multiple continuous target task nodes in the task path, a first folding control element is displayed; in response to the user's confirmation operation on the first folding control element, if there is no marked task node in the continuous multiple target task nodes, the continuous multiple target task nodes are folded to obtain a folded task node, and a folded task node and the number of target task nodes included in the folded task node are displayed; if there is a marked task node in the continuous multiple target task nodes, and the number of the remaining target task nodes except the marked task node meets the preset number, the remaining target task nodes are folded to obtain one or more folded task nodes, and one or more folded task nodes are displayed, and the number of target task nodes included in the one or more folded task nodes is displayed. The management method of the task node provided based on the embodiment of the present application folds and displays the target task node selected by the user, which can simplify the information display in the complex process editing process and provide a concise and clear interface for the user. Reduce the number of page scrolling times for users to find task nodes and improve the user's operating efficiency on the task path. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0035] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0036] Figure 1 A flowchart of the steps of a task node management method provided in one embodiment of the present application;
[0037] FIG. 2A to FIG. 2C A schematic diagram of an interface for task node management provided for one or more embodiments of the present application;
[0038] FIG. 3A to FIG. 3C A schematic diagram of an interface for task node management provided for one or more embodiments of the present application;
[0039] FIG. 4A to FIG. 4D A schematic diagram of an interface for task node management provided for one or more embodiments of the present application;
[0040] FIG. 5A to FIG. 5C A schematic diagram of an interface for task node management provided for one or more embodiments of the present application;
[0041] Figure 6 A structural block diagram of a task node management device provided in another embodiment of the present application;
[0042] Figure 7 An internal structure diagram of an electronic device provided for one embodiment of the present application. DETAILED DESCRIPTION
[0043] In order to make the purpose, implementation mode and advantages of the present application clearer, the exemplary implementation mode of the present application will be clearly and completely described below in conjunction with the drawings in the exemplary embodiments of the present application. Obviously, the described exemplary embodiments are only part of the embodiments of the present application, not all of the embodiments.
[0044] Based on the exemplary embodiments described in this application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the claims attached to this application. In addition, although the disclosure in this application is introduced according to one or several exemplary examples, it should be understood that each aspect of these disclosures can also constitute a complete implementation method separately. It should be noted that the brief description of the terms in this application is only for the convenience of understanding the implementation methods described below, and is not intended to limit the implementation methods of this application. Unless otherwise specified, these terms should be understood according to their common and usual meanings.
[0045] First, the application scenario of the embodiment of the present application is described exemplarily. The process editor, logic editor, etc. are used to design and manage various approval processes, task allocation, sort out and optimize existing business processes, etc., by providing a graphical interface for users to operate. However, when there are too many task nodes in the graphical interface, and the display height of the graphical interface is set, all task nodes cannot be displayed in the current interface. The user cannot quickly find the target node and needs to scroll multiple times to search. A large number of complex task nodes will increase the user's operating efficiency on the task nodes in the graphical interface, affecting the user experience.
[0046] Based on this, an embodiment of the present application provides a task node management method, which reduces the task nodes displayed in the graphical interface by folding and displaying multiple task nodes that meet the folding conditions, thereby avoiding users from scrolling multiple times to search, and improving the user's operation efficiency on the task nodes in the graphical interface.
[0047] The task node management method provided in the embodiment of the present application can be applied to the creation and management scenes of nodes such as process editing and logic editing. The method can be performed by a task node management device, which can be implemented by software and / or hardware, and the device can be integrated in an electronic device installed with an application program for the above-mentioned processing scene. The electronic device may include, but is not limited to, such as a smart phone, a personal digital assistant (Personal Digital Assistant, PDA), a tablet computer (Tablet Personal Computer, Tablet PC), a laptop computer, a desktop computer, etc.
[0048] The task node management method provided by the present application will be described and elaborated through specific exemplary embodiments below.
[0049] Figure 1 A flowchart of a task node management method provided by an embodiment of the present application is provided in Figure 1 As shown, the task node management method provided in this embodiment includes the following steps S11 to S13.
[0050] S11. In a graphical interface corresponding to a task path, in response to a user's selection operation on a plurality of consecutive target task nodes in the task path, display a first folding control element.
[0051] Among them, the task path is a logical path connected by sequence flows (or connecting lines) between various task nodes (such as start nodes, manual tasks, service tasks, gateways, etc.) during the process design process. This path defines the execution order and conditions of tasks in the process, and uses sequence flows to connect various task nodes to form a logical task path. The graphical interface is the display interface of an electronic device. The target task node can be any node in the task path, which is the task node that the user wants to choose to fold. The selection operation is an operation in which the user selects the target task node, for example, it can be a box selection operation for multiple consecutive target task nodes, or it can be a selection operation for multiple consecutive target task nodes based on shortcut keys, etc. The first folding control element is an element in the graphical interface that interacts with the user, which can be an input control, a selection control, a button control, or other controls, etc., which is used to fold multiple consecutive target task nodes selected by the user.
[0052] Specifically, the user creates or manages the task path based on the task editor (process editor, logic editor, etc.) installed on the electronic device, and the graphical interface on the electronic device displays the current task path. The display height of the electronic device is pre-set, so the number of task nodes that can be displayed in the graphical interface is limited. When the number of task nodes is too large, all task nodes cannot be displayed in the current graphical interface. In order to simplify the task nodes displayed in the graphical interface, the user can select the target task node that needs to be folded in the task node. After the electronic device receives the user's selection for the target task node, it determines whether the number of continuous target task nodes selected by the user is greater than the preset number. If so, the first folding control element for folding a plurality of continuous target task nodes is displayed. The preset number can be 2, or 3, etc., which is not limited in the embodiment of the present application.
[0053] For example, refer to Figure 2A , Figure 2A A schematic diagram of a task node provided for an embodiment of the present application. Figure 2A In the figure, 201 represents a graphical interface, and a plurality of task nodes are displayed in the current interface of the electronic device, which are "Task Node 1", "Task Node 2", "Task Node 3", "Task Node 4", "Task Node 5", and the task node group after "Task Node 5" in order of process sequence. Among them, "Task Node 1", "Task Node 2", "Task Node 3", "Task Node 4", and "Task Node 5" in the figure are continuous task nodes, and their specific contents can be set according to actual needs. The embodiments of the present application are only examples and are not limited in any way. The task nodes after "Email Notification" are not displayed on the current page due to the setting of the display height of the electronic device. The user can display the task nodes after "Email Notification" by scrolling the page. The user can select the target task node to be folded, such as by dragging the mouse to complete the selection of the task node. Refer to Figure 2B As shown, when the nodes selected by the user include "Task Node 1", "Task Node 2", "Task Node 3", "Task Node 4", and "Task Node 5", "Task Node 1", "Task Node 2", "Task Node 3", "Task Node 4", and "Task Node 5" are determined as target task nodes. Figure 2B Indicated by a dotted box.
[0054] After the target task node is determined, the first folding control element is displayed, refer to Figure 2C As shown, the first folding control element is a "hide" button, and the "hide" button 201 is displayed at a preset position of multiple target task nodes.
[0055] S12. In response to the user's confirmation operation on the first folding control element, if there is no marked task node in the multiple consecutive target task nodes, the multiple consecutive target task nodes are folded to obtain a folded task node, and a folded task node and the number of target task nodes included in the folded task node are displayed.
[0056] The confirmation operation on the first folding control element may be a click operation, a long press operation, a slide operation, a drag operation, etc. The task node is marked as a task node that the user needs to pay special attention to and is not allowed to be folded.
[0057] Specifically, when there is no marked task node in the continuous multiple target task nodes, if the electronic device receives a confirmation operation of the user for the first folding control element, the continuous multiple target task nodes are folded into a folded task node for display. That is, the marked task node is not folded in the embodiment of the present application. The number of target task nodes can be displayed in the form of "+n", where n is the number of target task nodes.
[0058] For example, in combination with the above examples, Figure 2C The first folding button 201 shown in FIG. Figure 2C If there is no marked task node among the five target task nodes, the five target task nodes are collapsed to obtain a collapsed task node 301. Figure 3A As shown in the figure, the number of folded target task nodes is 5. After multiple consecutive target task nodes are folded and displayed, the task nodes on the next page are moved up and displayed on the current interface. Figure 3A As shown, the task nodes after the task node "Email Notification" are also displayed in the current interface, and the user can view them without scrolling the page.
[0059] In some embodiments, details of the target task nodes included in the collapsed task node may be displayed: in response to a user's first operation on the collapsed task node, detailed information of multiple target task nodes included in the collapsed task node is displayed.
[0060] The first operation refers to an operation for displaying detailed information of the folding task node, such as an operation of moving the cursor to the folding task node, a click operation on the folding task node, etc. The detailed information of the target task node may include the node name of the target task node, etc., for describing the target task node.
[0061] Specifically, the user moves the cursor to the folding task node, or clicks on the folding task node to complete the first operation. The electronic device receives the user's first operation on the folding task node, determines the target task node included in the folding task node, and displays the node name and other detailed information of each target task node in the order of the task nodes in a preset display box. For example, when the folding task node includes three target task nodes: create variables, query data, and update data, when the electronic device receives the user's first operation, the detailed information of the folding target task node is displayed at the folding task node: create variables, query data, and update data.
[0062] For example, continue to combine Figure 3A As shown, when the user moves the cursor to the name "+5" of the collapsed task node, the names of the target task nodes included in the collapsed task node are displayed: task node 1, task node 2, task node 3, task node 4, and task node 5, and the graphical interface evolves into Figure 3B shown.
[0063] In some embodiments, an expand button can also be displayed based on the user's second operation: in response to the user's second operation on the collapsed task node, an expand button is displayed; in response to the user's clicking operation on the expand button, multiple target task nodes in the collapsed task node are expanded and displayed.
[0064] The second operation is to call out the expansion button, for example, it may be a click operation on the collapsed task node by right-clicking the mouse.
[0065] Specifically, the user can right-click the folded task node area with the mouse, and the electronic device displays an expand button after receiving the user's right-click operation. If the user clicks the expand button, the folding is canceled and the folded target task node is expanded and displayed.
[0066] For example, continue to combine Figure 3A As shown, the user right-clicks the folded area to display the expand button, and the graphical interface evolves from 3A to Figure 3C As shown, Figure 3C An expansion button 302 is displayed in the figure. If the electronic device receives a click operation of the user on the expansion button 302, the folded target task node is expanded and displayed, and the graphical interface is transformed from 3A to Figure 2A shown.
[0067] In some embodiments, in addition to displaying each task node, the graphical interface also displays other control elements at a preset position, such as a search box, a collapse all button, an expand all button, and the like.
[0068] In response to a user input operation in a search box included in a graphical interface, at least one task node matching the input content is searched; at least one task node is marked with a second marking symbol, and the second marking symbol is displayed.
[0069] The second marking symbol may be a highlight, a bold display, a symbol mark of a specific shape, etc., and the input content may be a keyword.
[0070] Specifically, participate in Figure 4A As shown, the graphical display interface displays a search box 401, a collapse all button, an expand all button, and the like. The user can query the task node based on the input content of the search box 401. The electronic device receives the user's input content, performs a fuzzy search based on the input content, determines the corresponding task node, and marks the task node that matches the query condition with a second marking symbol. Exemplarily, the user's input content is "query", if the third task node is a query data node, then the third task node is determined to be a task node that matches the input content, and the third task node is highlighted, and the graphical display interface is displayed. Figure 4A Evolved into Figure 4B .
[0071] Further, refer to Figure 4C As shown, the search box may also display a conversion button, a page number, and a current page. The conversion button is used to turn pages, and may include a previous page button and a next page button. In response to a user clicking the next page button, the current display content of the graphical interface is updated. For example, the display page is composed of Figure 4C Updated to Figure 4D shown.
[0072] The embodiment of the present application provides a search box, allowing users to quickly lock target nodes by searching keywords or paying attention to nodes, thereby improving search efficiency.
[0073] In some embodiments, the marked task node can be determined based on the user's third operation: if the user's third operation on any task node in the task path is received, the task node corresponding to the third operation is determined as the marked task node; the marked task node is marked with the first marking symbol, and the first marking symbol is displayed.
[0074] The third operation is a marking operation of the user, such as a click operation or a drag operation on a marking button, etc. The first marking symbol is a symbol used to mark a marking task node, such as a highlighting symbol, a symbol of a specific shape (circle, polygon), etc.
[0075] Specifically, when the user hovers the mouse over any task node, the electronic device displays a mark button. If the user clicks the mark button corresponding to the task node that requires special attention, the task node corresponding to the click operation is determined as the marked task node, and the marked task node is marked and displayed with a pre-set first marking symbol.
[0076] For example, refer to Figure 5A As shown, when the user hovers the mouse over the third task node, at least one button is displayed on the third task node, which may include: a copy button, a delete button, a follow button (mark button), etc. Figure 5A Only the mark button is shown, but other function buttons may also be included. When the electronic device receives a click operation of the mark button by the user, the third task node is marked by the first mark symbol. The first mark symbol in the embodiment of the present application is shown as a circular symbol of a certain color. Figure 5A Evolved into Figure 5B shown.
[0077] Furthermore, if a click operation on the focused button 501 is received from the user, the folding state of the graphical interface is refreshed.
[0078] If there is a marked task node among the multiple consecutive target task nodes selected by the user, the marked task node is not collapsed, the target task nodes before the marked task node are collapsed into a collapsed task node, and the target task nodes after the marked task node are collapsed into a collapsed task node. Execute the following step S13.
[0079] S13. If there is a marked task node among multiple consecutive target task nodes, and the number of remaining target task nodes except the marked task node meets the preset number, the remaining target task nodes are folded to obtain one or more folded task nodes, and one or more folded task nodes are displayed, as well as the number of target task nodes included in the one or more folded task nodes.
[0080] One form of satisfying the preset number is that the number of target task nodes other than the marked task node is greater than 2. Or it can be other values, which are not specifically limited in the embodiment of the present application.
[0081] Specifically, when there is a marked task node in the continuous multiple target task nodes selected by the user, the marked task node is used as the demarcation task node. At least two continuous target task nodes before the demarcation task node are folded to obtain a corresponding folded task node. At least two continuous target task nodes after the demarcation task node are folded to obtain a corresponding folded task node. The number of target task nodes included in each folded task node is displayed.
[0082] In some embodiments, when there is a marked task node among multiple consecutive target task nodes, the specific implementation method of folding the target task node includes: in response to the user's confirmation operation on the first folding control element, if there is a marked task node among multiple consecutive target task nodes, determining whether the number of target task nodes before or after the marked task node is greater than a preset number; if the number of target task nodes before the marked task node is greater than the preset number, folding the target task node before the marked task node; if the number of target task nodes after the marked task node is greater than the preset number, folding the target task node after the marked task node.
[0083] Specifically, when there is a marked task node in the task node, the electronic device uses the marked task node as the demarcation task node, folds at least two continuous target task nodes before the demarcation task node, and obtains a corresponding folded task node. At least two continuous target task nodes after the demarcation task node are folded to obtain a corresponding folded task node. And the number of target task nodes included in each folded task node is displayed. When there are multiple marked task nodes in the task node, and the marked task node is a disconnected task node, the target task node between the two marked task nodes is folded.
[0084] For example, the following description is based on the existence of a marking task node. Figure 5B As shown, if the target task node selected by the user is task node 1 to task node 5, and if the marked task node is task node 1, task nodes 2 to task node 5 are folded and displayed. After folding, task node 1, folded task node "+4", and other task nodes are displayed. If the marked task node is task node 2, since there is only one task node 1 before task node 2, which does not meet the preset number, task nodes 3 to task node 5 after task node 2 are folded. After folding, task node 1, task node 2, and folded task node "+3" are displayed. If the marked task node is task node 3, there are two task nodes before task node 3, which meets the preset number, and there are two task nodes after task node 3, which also meet the preset number. The two task nodes before task node 3 (task node 1 and task node 2) are folded, and the two task nodes after task node 3 (task node 4 and task node 5) are folded. After folding, task node "+2", task node 3, task node "+3", and other task nodes are displayed, see Figure 5C shown.
[0085] For further information, see Figure 5CAs shown, the graphical interface also displays an expand all button 501. In response to the user clicking the expand all button 501, all collapsed task nodes in the current task path are expanded and displayed. Figure 5C Click the expand all button 501 in the Figure 5B The display page shown.
[0086] The embodiment of the present application provides a task node management method, including: in a graphical interface corresponding to a task path, in response to a user's selection operation of a plurality of continuous target task nodes in a task path, a first folding control element is displayed; in response to a user's confirmation operation of the first folding control element, if there is no marked task node in the plurality of continuous target task nodes, the plurality of continuous target task nodes are folded to obtain a folded task node, and a folded task node and the number of target task nodes included in the folded task node are displayed; if there is a marked task node in the plurality of continuous target task nodes, and the number of the remaining target task nodes except the marked task node meets a preset number, the remaining target task nodes are folded to obtain one or more folded task nodes, and one or more folded task nodes are displayed, and the number of target task nodes included in the one or more folded task nodes is displayed. The management method of the task nodes provided based on the embodiment of the present application folds and displays the target task nodes selected by the user, and can simplify information display in a complex process editing process, and provide a concise and clear interface for the user. Reduce the number of page scrolling times for users to find task nodes, and improve the user's operating efficiency on the task path.
[0087] Based on the same inventive concept, as an implementation of the above method, the embodiment of the present application also provides a task node management device for executing the above embodiment. The device embodiment corresponds to the above method embodiment. For ease of reading, the present device embodiment will no longer repeat the details of the above method embodiment one by one, but it should be clear that the language task node management device in this embodiment can correspond to all the contents of the above method embodiment.
[0088] Figure 6 A schematic diagram of the structure of the task node management device provided in the embodiment of the present application is shown in FIG. Figure 6 As shown, the task node management device 600 provided in this embodiment includes:
[0089] The display module 601 is used to display a first folding control element in a graphical interface corresponding to a task path in response to a user's selection operation on a plurality of consecutive target task nodes in the task path;
[0090] A folding module 602 is used for responding to the user's confirmation operation on the first folding control element, if there is no marked task node in the plurality of continuous target task nodes, folding the plurality of continuous target task nodes to obtain a folded task node, and displaying the folded task node and the number of target task nodes included in the folded task node;
[0091] The folding module 602 is also used to fold the remaining target task nodes to obtain one or more folded task nodes if there is a marked task node among the multiple continuous target task nodes, and the number of remaining target task nodes except the marked task node meets a preset number, and display the one or more folded task nodes, as well as the number of target task nodes included in the one or more folded task nodes.
[0092] In some embodiments, the folding module 602 is specifically used to: in response to the user's confirmation operation on the first folding control element, if there is a marked task node among the multiple consecutive target task nodes, determine whether the number of target task nodes before the marked task node or after the marked task node is greater than a preset number; if the number of target task nodes before the marked task node is greater than the preset number, fold the target task nodes before the marked task node; if the number of target task nodes after the marked task node is greater than the preset number, fold the target task nodes after the marked task node.
[0093] In some embodiments, the display module 601 is further used to: in response to a user's first operation on the folded task node, display detailed information of multiple target task nodes included in the folded task node.
[0094] In some embodiments, the device also includes an expand button, which is used to: display the expand button in response to the user's second operation on the collapsed task node; and expand and display multiple target task nodes in the collapsed task node in response to the user's click operation on the expand button.
[0095] In some embodiments, the device also includes a marking module, which is used to: if a third operation of the user on any task node in the task path is received, determine the task node corresponding to the third operation as a marked task node; mark the marked task node with a first marking symbol, and display the first marking symbol.
[0096] In some embodiments, the device also includes a search module for: in response to a user's input operation in a search box included in the graphical interface, querying at least one task node that matches the input content; marking the at least one task node with a second marking symbol, and displaying the second marking symbol.
[0097] In some embodiments, the folding module 602 is also used for: if a user click operation on a second folding control element contained in the graphical interface is received, all task nodes in the task path that are in an expanded state and meet the folding rules except the marked task node are folded and displayed; wherein, meeting the folding rules includes: the number of consecutive task nodes is greater than a preset number.
[0098] The task node management device provided in this embodiment can execute the task node management method provided in the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here. Each module in the above task node management device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0099] In one embodiment, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any one of the task node management methods described in the above method embodiments when executing the computer program.
[0100] For example, Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 7 As shown, the electronic device provided in this embodiment includes: a memory 71 and a processor 72, the memory 71 is used to store computer programs; the processor 72 is used to execute the steps of the task node management method provided in the above method embodiment when calling the computer program, and its implementation principle and technical effect are similar, which will not be repeated here. Those skilled in the art can understand that Figure 7 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the electronic device to which the scheme of the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0101] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of any one of the task node management methods described in the above method embodiments are implemented.
[0102] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in various forms, such as static random access memory (SRAM) and dynamic random access memory (DRAM).
[0103] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0104] The above description is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A task node management method, characterized in that: include: In the graphical interface corresponding to the task path, in response to a user selecting a plurality of consecutive target task nodes in the task path, displaying a first folding control element; In response to the user's confirmation operation on the first folding control element, if there is no marked task node in the plurality of continuous target task nodes, the plurality of continuous target task nodes are folded to obtain a folded task node, and the folded task node and the number of target task nodes included in the folded task node are displayed; If there is a marked task node among the multiple continuous target task nodes, and the number of remaining target task nodes except the marked task node meets the preset number, the remaining target task nodes are folded to obtain one or more folded task nodes, and the one or more folded task nodes are displayed, as well as the number of target task nodes included in the one or more folded task nodes.
2. The method according to claim 1, characterized in that In response to the user's confirmation operation on the first folding control element, if there is a marked task node among the plurality of continuous target task nodes, and the number of the remaining target task nodes except the marked task node meets a preset number, folding the remaining target task nodes, including: In response to a user confirmation operation on the first folding control element, if there is a marked task node among the plurality of continuous target task nodes, determining whether the number of target task nodes before or after the marked task node is greater than a preset number; If the number of target task nodes before the marked task node is greater than the preset number, folding the target task nodes before the marked task node; If the number of target task nodes after the marked task node is greater than the preset number, the target task nodes after the marked task node are folded.
3. The method according to claim 1, characterized in that The method further comprises: In response to a first operation of the user on the collapsed task node, detailed information of a plurality of target task nodes included in the collapsed task node is displayed.
4. The method according to claim 1, characterized in that: The method further comprises: In response to a second operation of the user on the collapsed task node, displaying an expand button; In response to a user clicking operation on the expand button, multiple target task nodes in the collapsed task node are expanded and displayed.
5. The method according to claim 1, characterized in that The method further comprises: If a third operation of the user on any task node in the task path is received, the task node corresponding to the third operation is determined as a marked task node; The marking task node is marked with a first marking symbol, and the first marking symbol is displayed.
6. The method according to claim 1, characterized in that The method further comprises: In response to an input operation of a user in a search box included in the graphical interface, querying at least one task node matching the input content; The at least one task node is marked with a second marking symbol, and the second marking symbol is displayed.
7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: If a user clicks on a second folding control element contained in the graphical interface, all task nodes in the task path that are in an expanded state and satisfy the folding rules except the marked task node are folded and displayed; wherein satisfying the folding rules includes: the number of consecutive task nodes is greater than a preset number.
8. A task node management device, characterized in that: include: A display module, configured to display a first folding control element in a graphical interface corresponding to a task path in response to a user's selection operation on a plurality of consecutive target task nodes in the task path; A folding module, for responding to a user's confirmation operation on the first folding control element, if there is no marked task node in the plurality of continuous target task nodes, folding the plurality of continuous target task nodes to obtain a folded task node, and displaying the folded task node and the number of target task nodes included in the folded task node; The folding module is also used to fold the remaining target task nodes to obtain one or more folded task nodes if there is a marked task node among the multiple consecutive target task nodes, and the number of remaining target task nodes except the marked task node meets a preset number, and display the one or more folded task nodes, as well as the number of target task nodes included in the one or more folded task nodes.
9. An electronic device, comprising: A memory and a processor, wherein the memory stores a computer program, and wherein the processor implements the task node management method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the task node management method according to any one of claims 1 to 7 is implemented.
