WO2025136222A1 - 流程图显示方法及设备 - Google Patents
流程图显示方法及设备 Download PDFInfo
- Publication number
- WO2025136222A1 WO2025136222A1 PCT/SG2024/050793 SG2024050793W WO2025136222A1 WO 2025136222 A1 WO2025136222 A1 WO 2025136222A1 SG 2024050793 W SG2024050793 W SG 2024050793W WO 2025136222 A1 WO2025136222 A1 WO 2025136222A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- target
- node
- flowchart
- nodes
- role
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04845—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/53—Querying
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
Definitions
- the corresponding flowchart can be selected according to the business to display all nodes in the flowchart, so that the user can view the complete processing flow of the business.
- the above scheme has the problem of inconvenience for user operation.
- an embodiment of the present disclosure provides a flowchart display method, the method comprising: obtaining user role information; if the user role information corresponds to an operation role, determining a target node corresponding to the user role information from a target flowchart, and the relationship between the target nodes, the target node comprising a node to be operated corresponding to the operation role and an operated node on which the node to be operated depends, and the operation role comprises a role for performing node operations; displaying the target node in the target flowchart, and the relationship between the target nodes.
- an embodiment of the present disclosure provides a flowchart display device, the method comprising: a role acquisition module, for obtaining user role information; a target node acquisition module, for determining a target node corresponding to the user role information from a target flowchart, and the relationship between the target nodes, if the user role information corresponds to an operation role, the target node comprising a node to be operated corresponding to the operation role and an operated node on which the node to be operated depends, and the operation role comprises a role for performing node operations; a flowchart display module, for displaying the target node in the target flowchart, and the relationship between the target nodes.
- an embodiment of the present disclosure provides an electronic device, comprising: at least one processor and a memory; the memory stores computer-executable instructions; the at least one processor executes the computer-executable instructions stored in the memory, so that the electronic device implements the method described in the first aspect.
- an embodiment of the present disclosure provides a computer-readable storage medium, in which computer-executable instructions are stored, and when the processor executes the computer-executable instructions, the computing device implements the method described in the first aspect.
- an embodiment of the present disclosure provides a computer program, and the computer program is used to implement the method described in the first aspect.
- FIG. 1 is a schematic diagram of the structure of a flowchart provided by an embodiment of the present disclosure
- FIG. 2 is a flowchart of the steps of a flowchart display method provided by an embodiment of the present disclosure
- FIG. 3 is a schematic diagram of displaying a target node provided by an embodiment of the present disclosure
- the operated node is associated with the node to be operated, and is located before the node to be operated, and the indication information in the node information is an operated node. For example, after determining the corresponding operation role according to the user role information, it is determined from the target flow chart shown in FIG3 that the nodes that the operation role needs to operate are A3 and A4, and both nodes A3 and A4 are unoperated nodes. Thus, the node A3 that needs to be operated the earliest can be used as the node to be operated for the operation role. In some embodiments, the node to be operated can be determined in combination with the continuity between the unoperated nodes corresponding to the operation role.
- the unoperated nodes of an operation role C3 are A5 and A6 in sequence
- the unoperated nodes A5 and A5 can be used as the nodes to be operated for the operation role C3.
- the embodiment of the present disclosure can use the continuous unoperated nodes corresponding to the same operation role as the nodes to be operated for the operation role, so that it is convenient for the operation role to operate multiple nodes at one time, which helps to further improve the operation efficiency of the nodes.
- S203 Display the target nodes in the target flow chart and the relationship between the target nodes. Based on the target nodes determined in S202, the display process of S203 realizes partial display of the target flow chart. Compared with displaying all the nodes of the target flow chart, partial display can save display space, and fewer nodes are displayed.
- the displayed target nodes include the user's to-be-operated nodes, so that the user can quickly find the to-be-operated nodes.
- the user can also operate with the assistance of the aforementioned operated nodes, which can be operated faster and improve the operation efficiency. It can be understood that the to-be-operated nodes are usually the last one or more nodes, and the nodes located in the front position are the operated nodes.
- FIG. 3 is a display schematic diagram of a target node provided by an embodiment of the present disclosure, and FIG. 3 is an example of displaying the target nodes in the target flow chart shown in FIG. 1.
- the target flow chart includes nodes A1 to A6.
- node A3 and node A4 belong to branch path B1
- node A5 and node A6 belong to branch path B2.
- Branch path B1 and branch path B2 are two independent branch paths that do not affect each other.
- the node to be operated of the operating role corresponding to the user role information is A3
- the operated nodes that the node to be operated A3 depends on are nodes A1 and A2.
- nodes A1, A2 and A3 in the target flow chart are displayed, and the remaining nodes A4, A5 and A6 of the nodes enclosed by the dotted lines are not displayed.
- nodes A1 and A2 in FIG. 3 can be nodes operated by other user roles.
- the content displayed by S203 is determined by S202.
- S202 determines the target node it is not only necessary to determine whether the user role information corresponds to the operating role, but also to further determine whether the target flow chart is a complex flow chart. If the user role information corresponds to the operating role and the target flow chart is a complex flow chart, at this time, the target node corresponding to the operating role is obtained.
- the above logic can be implemented by the following process: If the user role information corresponds to the operating role, and the target flowchart meets the preset conditions, the target node corresponding to the user role information is determined from the target flowchart to display the target node and its relationship. If the user role information corresponds to a role other than the operating role, and/or the target flowchart does not meet the above preset conditions, all nodes are determined from the target flowchart to display all the nodes and their relationship.
- the above preset conditions are used to determine whether the target flowchart is a complex flowchart.
- the target flowchart meets the preset conditions, the target flowchart is determined to be a complex flowchart.
- the target flowchart does not meet the preset conditions, the target flowchart is determined not to be a complex flowchart.
- the preset conditions include at least one of the following: the number of branch paths existing in the target flowchart is greater than or equal to the first threshold, the number of nodes included in the target flowchart is greater than or equal to the second threshold, and the length of the branch path included in the target flowchart is greater than or equal to the third threshold.
- the embodiment of the present disclosure can determine whether the target flowchart is a complex flowchart from three dimensions, namely the number of branch paths, the number of nodes, and the length of the branch path. In this way, the user role information and whether the target flowchart is a complex flowchart can be combined to implement a flexible display strategy. Based on the above preset conditions, the target flowchart that does not include a branch path can be used as a simple flowchart to display all nodes of the target flowchart and the relationship between them.
- FIG. 4 is a display schematic diagram of a simple flowchart provided by an embodiment of the present disclosure. Referring to FIG.
- the target flowchart includes nodes A1 to A4, and the target flowchart does not include a branch path, that is, the number of branch paths is 0. Therefore, the target flowchart can be used as a simple flowchart to display all nodes A1 to A4 of the target flowchart and the relationship between them when any user role logs in. In an extreme case, there is only one node in the target flowchart, so when the target flowchart is displayed, the node is displayed. At this time, all detailed information of the node can be directly displayed, and there is no concept of a flowchart. When displaying the above target node, in order to further facilitate users to quickly and accurately find the node to be operated, the node to be operated and the operated node can be distinguished and marked.
- the node to be operated and the operated node can be distinguished and marked by color, size, auxiliary mark, etc., so that the node to be operated is more prominent than the operated node.
- the operated node may be displayed in an enlarged manner, or displayed in a striking color, or marked with a bold line, etc.
- the node A3 to be operated is highlighted in a larger size, while the operated nodes A1 and A2 are displayed in a smaller size, so that the user can quickly find the node A3 to be operated from the display result shown in FIG. 3 .
- role prompt information may also be displayed around the node to be operated to prompt the user role information corresponding to the node.
- the role prompt information may be an avatar, name, etc. of the operating role.
- the role prompt information is displayed in an image next to the node A3 to be operated to prompt the user role corresponding to the image to operate the node to be operated.
- the target node is displayed by default through the above S202 and S203, but it can be switched to the display mode of all nodes based on the user operation. Specifically, first, a display switching operation triggered by the operating role is received, and in response to the display switching operation, the display is switched between the target node and all nodes in the target flow chart. In this way, multiple modes of display can be provided to the operating role, enriching the display mode of the target flowchart.
- the display switching operation can be any operation on the display interface, for example, a click operation on the operating control in the display interface, or a sliding operation on the display interface, or a pressing operation on the physical button of the electronic device.
- the user can continuously perform the display switching operation to continuously and repeatedly switch between the target node and all nodes in the target flowchart. For example, when the user performs a display switching operation once, switching from the target node to all nodes is equivalent to expanding the target flowchart; when the user performs a second display switching operation, switching from all nodes to the target node is equivalent to folding the target flowchart.
- the display is switched repeatedly in this way.
- S202 and S203 are used to display the target node corresponding to the operating role and the relationship between them when the user role information corresponds to the operating role.
- the user role information corresponds to the management role
- all nodes in the target flowchart and the relationship between them are displayed, that is, the entire target flowchart is displayed.
- the user role information corresponds to the management role
- all nodes A1 to A6 in the target flowchart and the relationship between A1 to A6 can be displayed.
- the operation role information corresponding to the node is displayed around each node.
- the operation role information is displayed in at least one of the following ways: image, text. All nodes displayed here can be all nodes displayed when the aforementioned operation role performs display switching operation, or all nodes displayed for the management role, or all nodes displayed for the simple flowchart.
- the way of displaying the operation role information here can refer to the effect displayed for the node A3 to be operated in Figure 3. Different from Figure 3, the operation role information is displayed for each node here. Further, when displaying all nodes of the target flowchart, the operated nodes and the unoperated nodes can also be marked therein.
- the processing stage to which each node belongs can also be displayed in the target flowchart.
- the target flowchart is divided into at least one processing stage, and each processing stage includes at least one node.
- the branch path B1 and the branch path B2 are two processing stages of the target flowchart.
- the disclosed embodiment can assist the management role to better manage the target flow chart through the marking of the processing stage, and can also assist the operation role to analyze the processing stage to which the operation performed by itself belongs.
- the processing stage information can also be displayed for each processing stage, and the processing stage information includes at least one of the following: the number of nodes included in the processing stage, the number of unoperated nodes included in the processing stage, the number of operated nodes included in the processing stage, the operation role corresponding to the operated nodes included in the processing stage, the operation role corresponding to the unoperated nodes included in the processing stage, the proportion of the number of unoperated nodes included in the processing stage, and the proportion of the number of operated nodes included in the processing stage.
- the unoperated nodes and the corresponding operation roles that need to be operated first in each processing stage can also be marked to facilitate the management role to notify the operation role to operate the corresponding node.
- a notification control can also be displayed. After the management role operates the notification control, the corresponding operation role can be notified to operate.
- the unoperated nodes can be displayed so that the management personnel can select nodes from them to notify the corresponding operation role.
- a one-key select all function can also be provided so that the management personnel can notify the operation roles corresponding to all the unoperated nodes at one time.
- the embodiment of the present disclosure can flexibly display the target flow chart in combination with the user role information and the complexity of the target flow chart.
- the target flow chart is displayed according to the complexity of the target flow chart.
- the complexity of the target flow chart is low, all nodes are displayed as much as possible.
- the complexity of the target flow chart is high, some target nodes are displayed to facilitate the operation of the operation role.
- the user role information corresponds to the management role, all nodes of the target flow chart are displayed, which can facilitate the management role to manage from a global perspective.
- FIG5 is a flowchart of another flowchart display method provided by an embodiment of the present disclosure.
- the flowchart display method may include:
- S301 Obtain user role information. After executing S301, execute S302 to S305, or execute S306 to display the target flow chart under two types of user role information.
- the target node includes the node to be operated corresponding to the operating role and the operated node on which the node to be operated depends, the operating role includes the role for performing node operation, and the preset condition includes at least one of the following: the number of branch paths existing in the target flowchart is greater than or equal to a first threshold, the number of nodes included in the target flowchart is greater than or equal to a second threshold, and the length of the branch path included in the target flowchart is greater than or equal to a third threshold.
- S303 Display the target nodes and the relationship between the target nodes, and distinguish and mark the nodes to be operated and the nodes that have been operated.
- S304 Receive a display switching operation triggered by an operating role.
- S306 If the user role information corresponds to the management role, all nodes in the target flow chart and the relationship between all nodes are displayed. After executing S302 to S305, or after executing S306, S307 and S308 are executed.
- FIG. 6 is a structural block diagram of a flowchart display device provided by an embodiment of the present disclosure.
- a hardware abstraction layer is provided in the image acquisition device, and the hardware abstraction layer includes a user driver and a kernel driver.
- the flowchart display device 400 includes: a role acquisition module 401, which is used to obtain user role information.
- the target node acquisition module 402 is used to determine the target node corresponding to the user role information from the target flow chart if the user role information corresponds to the operation role, and the relationship between the target nodes, the target node includes the node to be operated corresponding to the operation role and the operated node that the node to be operated depends on, and the operation role includes the role used to perform node operation.
- the flow chart display module 403 is used to display the target node in the target flow chart, and the relationship between the target node and the target node.
- the target node acquisition module 402 is further used to: if the user role information corresponds to the operation role and the target flowchart satisfies a preset condition, determine the target node corresponding to the user role information from the target flowchart, the preset condition including at least one of the following: the number of branch paths existing in the target flowchart is greater than or equal to a first threshold, the number of nodes included in the target flowchart is greater than or equal to a second threshold, and the length of the branch paths included in the target flowchart is greater than or equal to a third threshold.
- the device further includes: an operation role prompt module, which is used to display the operation role information corresponding to the node around each node when displaying the target node or all nodes in the target flow chart, and the operation role information is displayed in at least one of the following ways: image, text.
- the device further includes: a processing stage annotation module, which is used to display the processing stage to which each node belongs in the target flow chart when displaying all nodes of the target flow chart, and the target flow chart is divided into at least one processing stage, and each processing stage includes at least one node.
- the flowchart display device provided in this embodiment can be used to execute the technical solution of the above flowchart display method embodiment, and its implementation principle and technical effect are similar, and this embodiment will not be repeated here. FIG.
- the electronic device 600 includes a memory 602 and at least one processor 601. Among them, the memory 602 stores computer execution instructions. At least one processor 601 executes the computer execution instructions stored in the memory 602, so that the electronic device 600 implements the above flowchart display method.
- the electronic device may further include a receiver 603 and a transmitter 604, the receiver 603 is used to receive information from other devices or equipment and forward it to the processor 601, and the transmitter 604 is used to send the information to other devices or equipment.
- an embodiment of the present disclosure provides a flowchart display method, the method comprising: Obtain user role information; if the user role information corresponds to an operation role, determine the target node corresponding to the user role information from a target flowchart, and the relationship between the target nodes, the target node includes a to-be-operated node corresponding to the operation role and an operated node on which the to-be-operated node depends, and the operation role includes a role for performing node operations; display the target node in the target flowchart, and the relationship between the target nodes.
- the target node corresponding to the user role information if the user role information corresponds to an operation role, determine the target node corresponding to the user role information from a target flowchart, including: if the user role information corresponds to the operation role, and the target flowchart meets a preset condition, determine the target node corresponding to the user role information from the target flowchart, and the preset condition includes at least one of the following: the number of branch paths existing in the target flowchart is greater than or equal to a first threshold, the number of nodes included in the target flowchart is greater than or equal to a second threshold, and the length of the branch paths included in the target flowchart is greater than or equal to a third threshold.
- the displaying the target node in the target flow chart includes: when displaying the target node, distinguishing and marking the node to be operated and the operated node.
- the method further includes: receiving a display switching operation triggered by the operation role; in response to the display switching operation, switching the display between the target node and all the nodes in the target flow chart.
- the method further includes: if the user role information corresponds to a management role, displaying all the nodes in the target flow chart and the relationship between all the nodes.
- the method further includes: when displaying the target node or all the nodes in the target flow chart, displaying the operation role information corresponding to the node around each node, and the operation role information is displayed in at least one of the following ways: image, text.
- the method further includes: when displaying all nodes of the target flowchart, displaying the processing stage to which each node belongs in the target flowchart, the target flowchart is divided into at least one processing stage, and each processing stage includes at least one node.
- a flowchart display device including: a role acquisition module, used to acquire user role information; a target node acquisition module, used to determine the target node corresponding to the user role information from the target flowchart if the user role information corresponds to an operation role, and the relationship between the target nodes, the target node including the to-be-operated node corresponding to the operation role and the operated node on which the to-be-operated node depends, the operation role including the node for performing role for performing node operations; a flowchart display module for displaying the target nodes in the target flowchart and the relationship between the target nodes.
- the target node acquisition module is further used to: if the user role information corresponds to the operation role, and the target flowchart satisfies a preset condition, then determine the target node corresponding to the user role information from the target flowchart, and the preset condition includes at least one of the following: the number of branch paths existing in the target flowchart is greater than or equal to a first threshold, the number of nodes included in the target flowchart is greater than or equal to a second threshold, and the length of the branch paths included in the target flowchart is greater than or equal to a third threshold.
- the flowchart display module is further used to: when displaying the target node, distinguish and mark the node to be operated and the node that has been operated.
- the device further includes: a switching operation receiving module, which is used to receive the display switching operation triggered by the operation role; a switching display module, which is used to switch the display between the target node and all nodes in the target flowchart in response to the display switching operation.
- a computer-readable storage medium in which computer-readable storage instructions are stored, and when the processor executes the computer-executable instructions, the computer The device implements any flowchart display method of the first aspect.
- a computer program is provided, and the computer program is used to implement any flowchart display method of the first aspect.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本公开提供一种流程图显示方法及设备,涉及前端显示技术领域。该方法包括:获取用户角色信息;若用户角色信息对应操作角色,则从目标流程图中确定用户角色信息对应的目标节点,以及目标节点之间的关系,目标节点包括操作角色对应的待操作节点以及待操作节点依赖的已操作节点,操作角色包括用于进行节点操作的角色;显示目标流程图中的目标节点,以及目标节点之间的关系。由于目标节点并不是目标流程图中的所有节点,而是该操作角色关注的节点,从而可以方便用户快速的找到要操作的节点,并且在依赖的已操作节点的辅助下进行操作。
Description
流程图显示方法及设备 本申请要求于 2023年 12月 18 日递交的中国专利申请第 202311745254.1号的优 先权, 在此全文引用上述中国专利申请公开的内容以作为本申请的一部分。 技术领域 本公开实施例涉及一种流程图显示方法及设备。 背景技术 流程图用于表示完成一个业务流程所要依次进行的操作。流程图中的每个节点用于表示 一个操作节点, 每个操作节点用于完成业务流程的一次操作。 不同操作节点可由不同用户完 成其操作。 针对不同业务流程设计不同的流程图。在用户登录时,可以根据业务选取对应的流程图, 以将该流程图中的所有节点进行显示, 使用户查看该业务的完整处理流程。 然而, 上述方案存在不方便用户操作的问题。 发明内容 本公开实施例提供一种流程图显示方法及设备, 可以提高图像采集设备的验证准确度。 第一方面, 本公开实施例提供一种流程图显示方法, 所述方法包括: 获取用户角色信息; 若所述用户角色信息对应操作角色,则从目标流程图中确定所述用户角色信息对应的目 标节点, 以及所述目标节点之间的关系, 所述目标节点包括所述操作角色对应的待操作节点 以及所述待操作节点依赖的已操作节点, 所述操作角色包括用于进行节点操作的角色; 显示所述目标流程图中的所述目标节点, 以及所述目标节点之间的关系。 第二方面, 本公开实施例提供一种流程图显示装置, 所述方法包括: 角色获取模块, 用于获取用户角色信息; 目标节点获取模块, 用于若所述用户角色信息对应操作角色, 则从目标流程图中确定所 述用户角色信息对应的目标节点, 以及所述目标节点之间的关系, 所述目标节点包括所述操 作角色对应的待操作节点以及所述待操作节点依赖的已操作节点,所述操作角色包括用于进 行节点操作的角色; 流程图显示模块, 用于显示所述目标流程图中的所述目标节点, 以及所述目标节点之间 的关系。 i
第三方面, 本公开实施例提供一种电子设备, 包括: 至少一个处理器和存储器; 所述存储器存储计算机执行指令; 所述至少一个处理器执行所述存储器存储的计算机执行指令,使得所述电子设备实现如 第一方面所述的方法。 第四方面, 本公开实施例提供一种计算机可读存储介质, 所述计算机可读存储介质中存 储有计算机执行指令, 当处理器执行所述计算机执行指令时, 使计算设备实现如第一方面所 述的方法。 第五方面, 本公开实施例提供一种计算机程序, 所述计算机程序用于实现如第一方面所 述的方法。 附图说明 为了更清楚地说明本公开实施例中的技术方案,下面将对实施例描述中所需要使用的附 图作一简单地介绍, 显而易见地, 下面描述中的附图是本公开的一些实施例, 对于本领域普 通技术人员来讲, 在不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。 图 1是本公开实施例提供的一种流程图的结构示意图; 图 2是本公开实施例提供的一种流程图显示方法的步骤流程图; 图 3是本公开实施例提供的一种目标节点的显示示意图; 图 4是本公开实施例提供的一种简单流程图的显示示意图; 图 5是本公开实施例提供的另一种流程图显示方法的步骤流程图; 图 6是本公开实施例提供的一种流程图显示装置的结构框图; 以及 图 7是本公开实施例提供的一种电子设备的结构框图 „ 具体实施方式 为使本公开实施例的目的、技术方案和优点更加清楚, 下面将结合本公开实施例中的附 图, 对本公开实施例中的技术方案进行清楚、 完整地描述, 显然, 所描述的实施例是本公开 一部分实施例, 而不是全部的实施例。 基于本公开中的实施例, 本领域普通技术人员在没有 作出创造性劳动前提下所获得的所有其他实施例, 都属于本公开保护的范围。 本公开实施例用于显示目标流程图 ,以辅助用户对目标流程图进行管理以及进行节点操 作。 这里的目标流程图是任意一个待显示的流程图, 流程图是根据业务场景灵活自定义的。 流程图中包括多个相互依赖的节点, 每个节点用于进行一次操作。 本公开实施例的流程图是 多人协作执行的流程图, 也就是说, 流程图中的所有节点是由至少两个操作人员执行的, 不 同的节点对应不同的操作人员。 图 1是本公开实施例提供的一种流程图的结构示意图。 参照图 1所示, 流程图包括 6个
节点 Al至 A6, 依据图 1所示的流程图, 先执行节点 A1的操作之后执行节点 A2的操作; 然后, 在执行节点 A2的操作之后, 存在两个分支路径 B1和 B2, 这两个分支路径可以分别 并行执行。 对于分支路径 B1 , 先执行节点 A3对应的操作再执行节点 A4对应的操作。 对于 分支路径 B2 , 先执行节点 A5对应的操作再执行节点 A6对应的操作 „ 从上述图 1中可以看出, 流程图中可以包括一个或多个节点, 并且节点在执行时间上之 间具有先后顺序。 在执行其中节点的用户或管理人员登录时, 需要向其显示流程图。 例如, 在显示流程图时通常将流程图中的所有节点均显示给用户。 这样的显示策略对于 简单的流程图并不存在较大的问题, 但是对于复杂的流程图, 用户不容易快速的从中找到要 操作的节点, 或想要查看的节点。 因此, 并不方便用户进行操作。 为了解决上述技术问题, 本公开实施例基于用户角色信息进行流程图的显示, 以在用户 角色信息表示用于为操作角色时, 显示目标节点。 目标节点包括操作角色对应的待操作节点 以及该待操作节点依赖的已操作节点。可以理解的是, 目标节点并不是目标流程图中的所有 节点及所有节点之间的关系, 而是该操作角色关注的节点, 从而可以方便用户快速的找到要 操作的节点, 并且在依赖的已操作节点的辅助下进行操作。 下面以具体地实施例对本公开实施例的技术方案以及本公开的技术方案如何解决上述 技术问题进行详细说明。 下面这几个具体的实施例可以相互结合, 对于相同或相似的概念或 过程可能在某些实施例中不再赘述。 下面将结合附图, 对本公开实施例进行描述。 图 2是本公开实施例提供的一种流程图显示方法的步骤流程图。 参照图 2所示, 该流程 图显示方法包括:
S201: 获取用户角色信息。 其中, 用户角色信息用于指示用户角色, 用户角色信息的一种常见表示方式为用户角色 标识。 在用户登录系统时, 可以根据用户标识确定用户角色标识, 用户标识所对应的用户角 色标识是在用户注册时设置的。 在本公开实施例中, 用户角色分为两大类: 管理角色和操作角色。 其中, 管理角色用于 对目标流程图进行全局管理, 而操作角色用于对目标流程图中的对应节点进行操作 „在本公 开实施例中, 操作角色可以为一个或多个, 不同操作角色可操作的节点不同。 本公开实施例可以基于用户角色信息确定对应的用户角色,以基于不同的用户角色实现 不同的流程图显示策略。本公开实施例的流程图显示策略是基于不同用户角色的作用不同而 设置的。 例如, 对于管理角色, 为了方便管理角色对目标流程图进行全局管理, 可以显示目 标流程图的所有节点, 以及这所有节点之间的关系。 又例如, 对于操作角色, 为了方便该操 作角色对其需要操作的节点进行快速操作,可以显示该操作角色对应的待操作节点以及进行 操作时依赖的已操作节点。
S202: 若用户角色信息对应操作角色, 则从目标流程图中确定用户角色信息对应的目标
节点, 以及目标节点之间的关系, 目标节点包括操作角色对应的待操作节点以及待操作节点 依赖的已操作节点, 操作角色包括用于进行节点操作的角色。 其中, 待操作节点是用户角色信息对应的操作角色待处理的节点, 不同操作角色对应的 待操作节点不同。 当待操作节点为目标流程图中的第一个节点时, 待操作节点不存在依赖的 已操作节点, 而当待操作节点为目标流程图中的第一个节点之后的节点, 那么待操作节点存 在依赖的已操作节点。 需要说明的是, 这里的已操作节点可以是该操作角色已操作的节点, 也可以是其余操作 角色已操作的节点, 已操作节点可以是一个或多个。 在确定目标节点时, 首先, 获取针对目标流程图存储的目标流程图信息, 其中, 包括目 标流程图中的各个节点信息以及节点之间的关系信息,每个节点信息中包括该节点所对应的 操作角色以及该节点是否已操作的指示信息; 然后 , 可以基于目标流程图信息获取到用户角 色信息对应的操作角色在目标流程图中的待操作节点和依赖的已操作节点。待操作节点是节 点信息中的操作角色和用户角色信息对应的操作角色相同, 且指示信息为未操作的节点。 已 操作节点是与该待操作节点关联, 且位于该待操作节点之前, 且节点信息中的指示信息为已 操作的节点。 例如, 在根据用户角色信息确定对应的操作角色之后, 从图 3所示的目标流程图中确定 该操作角色需要操作的节点为 A3和节点 A4, 并且节点 A3和节点 A4均为未操作的节点。 从而可以将最早需要操作的节点 A3作为该操作角色的待操作节点。 在一些实施方式中,可以结合操作角色对应的未操作的节点之间的连续性确定待操作节 点。 具体的, 当操作角色对应多个未操作的节点时, 如果这多个未操作的节点是连续的, 中 间并没有其余操作角色对应的节点, 那么可以将这多个操作节点均作为待操作节点。 如果这 多个未操作的节点并不连续, 也就是说, 中间存在其余操作角色对应的节点, 那么, 可以将 这多个未操作的节点中位于该其余操作角色之前的节点作为待操作节点。 例如, 当一个操作 角色 C1的未操作的节点依次为 Al、 A3时, 由于这两个未操作的节点 A1和 A3之间存在其 余操作角色 C2的节点 A2, 从而针对操作角色 C1的待操作节点为 AL 又例如, 当一个操 作角色 C3的未操作的节点依次为 A5、 A6时, 由于这两个未操作的节点 A5和 A6之间并没 有其余操作角色的节点,从而,可以将未操作的节点 A5和 A5作为操作角色 C3的待操作节 点。 从上述过程可以看出,本公开实施例可以将同一个操作角色对应的连续的未操作的节点 作为该操作角色的待操作节点, 这样, 可以方便该操作角色一次性进行多个节点的操作, 有 助于进一步提高节点的操作效率。 在实际应用中, 待操作节点可以为一个或多个, 可以显示操作角色待操作的最早的一个 或多个节点。
S203: 显示目标流程图中的目标节点, 以及目标节点之间的关系。 基于 S202确定的目标节点, S203的显示过程实现了目标流程图的部分显示。 相较于显 示目标流程图的所有节点, 部分显示可以节约显示空间, 并且显示的节点较少, 显示的目标 节点中包括用户的待操作节点, 从而可以方便用户快速找到待操作节点。 此外, 用户还可以 在前述已操作节点的辅助下进行操作, 可以更快的进行操作, 提高操作效率。 可以理解的是, 待操作节点通常为最后的一个或多个节点, 而位于靠前位置的节点为已 操作节点。 图 3是本公开实施例提供的一种目标节点的显示示意图, 图 3是基于图 1所示的目标流 程图显示其中目标节点的示例。 参照图 3所示, 目标流程图中包括节点 A1至 A6。 其中, 节 点 A3和节点 A4属于分支路径 B1 , 节点 A5和节点 A6属于分支路径 B2。 分支路径 B1和 分支路径 B2是两个相互独立互不影响的分支路径. 当用户角色信息对应的操作角色的待操 作节点为 A3时, 待操作节点 A3依赖的已操作节点为节点 A1和 A2。 从而, 在显示时仅显 示目标流程图中的节点 Al . A2和 A3, 虚线圈起来的节点的其余节点 A4. A5和 A6不显 示。 可以理解的是, 图 3中的节点 A1和 A2可以是其余用户角色操作过的节点。 可以看出, S203显示的内容是 S202确定的, S202在确定目标节点时, 不仅需要判断用 户角色信息是否对应操作角色, 还可以进一步确定目标流程图是否为复杂流程图。若用户角 色信息对应操作角色, 且目标流程图为复杂流程图, 此时, 获取操作角色对应的目标节点。 否则, 即使用户角色信息对应操作角色, 目标流程图为简单流程图时, 也还是可以显示目标 流程图中的所有节点以及各节点之间的关系。 具体的, 上述逻辑可以通过以下过程实现: 若用户角色信息对应操作角色, 且目标流程 图满足预设条件, 则从目标流程图中确定用户角色信息对应的目标节点, 以显示该目标节点 及其关系。若用户角色信息对应操作角色之外的角色,和/或目标流程图不满足上述预设条件, 则从目标流程图中确定所有节点以显示该所有节点及其关系。 可以看出, 上述预设条件用于判断目标流程图是否为复杂流程图, 当目标流程图满足预 设条件时, 确定目标流程图为复杂流程图, 当目标流程图不满足预设条件时, 确定目标流程 图不为复杂流程图。 其中, 预设条件包括以下至少一项: 目标流程图中存在的分亥路径数量大于或等于第一 阈值、 目标流程图包括的节点数量大于或等于第二阈值、 目标流程图包括的分支路径长度大 于或等于第三阈值。 从上述过程可以看出, 本公开实施例可以从分支路径数量、 节点数量以及分支路径长度 等三个维度判断目标流程图是否为复杂流程图。 如此, 可以结合用户角色信息和目标流程图 是否为复杂流程图, 以实现灵活的显示策略。
基于上述预设条件, 可以将不包括分支路径的目标流程图作为简单流程图, 以显示目标 流程图的所有节点及其之间的关系。 图 4是本公开实施例提供的一种简单流程图的显示示意 图。 参照图 4所示, 目标流程图包括节点 A1至 A4, 并且目标流程图并没有包括分支路径, 也就是说分支路径数量为 0。 因此, 可以将该目标流程图作为简单流程图, 以在任意用户角 色登录时, 显示该目标流程图的所有节点 A1至 A4及其之间的关系。 在一种极端情况下, 目标流程图中仅存在一个节点, 因此, 在显示目标流程图时, 也就 是显示该节点。 此时, 可以直接显示该节点的所有详细信息, 并不存在流程图的概念。 在显示上述目标节点时, 为了进一步的方便用户快速准确的找到待操作节点, 可以区别 标注待操作节点和已操作节点。 具体的, 可以通过颜色、 大小、 辅助标记等方式区别标注待 操作节点和已操作节点, 以使待操作节点相较于已操作节点更加突出。 例如, 可以将已操作 节点放大显示、 或采用醒目的颜色显示、 或通过加粗的线条标出等。 参照图 3所示, 通过较大的尺寸突出显示待操作节点 A3 , 而以较小的尺寸显示已操作 节点 A1和 A2, 以使用户可以快速的从图 3所示的显示结果中找到待操作节点 A3。 在一些实施方式中, 还可以在待操作节点周围显示角色提示信息, 以提示该节点所对应 的用户角色信息。 例如, 角色提示信息可以为操作角色的头像、 名称等。 参照图 3所示, 在 待操作节点 A3旁边以图像的方式显示角色提示信息, 以提示该图像对应的用户角色对待操 作节点进行操作。 在一些实施方式中, 对于操作角色, 其默认通过上述 S202和 S203显示目标节点, 但是 可以基于用户操作切换到所有节点的显示方式上。 具体的, 首先, 接收操作角色触发的显示 切换操作, 以响应于该显示切换操作, 在目标节点和目标流程图中的所有节点之间进行切换 显示。 如此, 可以向操作角色提供多种模式的显示, 丰富目标流程图的显示方式。 其中, 显示切换操作可以是在显示界面上的任意操作, 例如, 针对显示界面中的操作控 件的点击操作, 或, 在显示界面上的滑动操作, 或, 对电子设备的物理按键的按压操作。 用 户可以连续进行显示切换操作,以在目标节点和目标流程图中的所有节点之间进行连续反复 切换. 例如, 在用户进行一次显示切换操作时, 从目标节点切换到所有节点, 相当于展开目 标流程图; 在用户进行第二次显示切换操作时, 从所有节点切换到目标节点, 相当于收起目 标流程图。 如此不断的反复切换显示。 从前述说明可以看出, S202和 S203用于在用户角色信息对应操作角色时, 显示与该操 作角色相对应的目标节点及其之间的关系。 而在用户角色信息对应管理角色时, 显示目标流 程图中的所有节点及所有节点之间的关系, 也就是显示整个目标流程图。 参照图 1所示, 当 用户角色信息对应管理角色时, 为了方便管理角色对该目标流程图进行全局管理, 可以显示 目标流程图中的所有节点 A1至 A6, 以及 A1至 A6之间的关系。 为了提高目标流程图的显示效果, 可以在显示目标流程图中的目标节点或所有节点时,
在每个节点的周围显示节点对应的操作角色信息。操作角色信息通过以下至少一种方式显示: 图像、文本。这里显示的所有节点可以是前述操作角色进行显示切换操作时显示的所有节点, 也可以是针对管理角色显示的所有节点, 也可以是对简单流程图显示的所有节点。这里显示 操作角色信息的方式可以参,瞪图 3中针对待操作节点 A3显示的效果。 与图 3不同的是, 这 里针对每个节点均显示操作角色信息。 进一步的, 在显示目标流程图的所有节点时, 还可以在其中标注已操作节点和未操作节 点。 这样可以方便管理角色更好的掌握目标流程图的进度, 以进行决策和管理。 在另一些实施方式中, 为了进一步的提高目标流程图的显示效果, 还可以在显示目标流 程图的所有节点时, 在目标流程图中显示每个节点所归属的处理阶段。 目标流程图被划分为 至少一个处理阶段, 每个处理阶段包括至少一个节点。 如图 3所示, 分支路径 B1和分支路 径 B2作为目标流程图的两个处理阶段,除此之外,还存在一个处理阶段 B3。其中, 节点 A1 和 A2属于处理阶段 B3,节点 A3和 A4属于处理阶段 B1 ,节点 A5和 A6属于处理阶段 B2。 本公开实施例通过处理阶段的标注, 可以辅助管理角色更好的对目标流程图进行管理, 还可以辅助操作角色分析得到自己所进行的操作所归属的处理阶段。 在一些可选地实施方式中, 还可以针对每个处理阶段显示处理阶段信息, 处理阶段信息 包括以下至少一项: 处理阶段中包括的节点数量、 处理阶段中包括的未操作的节点数量、 处 理阶段中包括的已操作的节点数量、 处理阶段中包括的已操作的节点对应的操作角色、 处理 阶段中包括的未操作的节点对应的操作角色、处理阶段中包括的未操作的节点数量占比、 处 理阶段中包括的已操作的节点数量占比。 此外, 还可以标注每个处理阶段中最先需要操作的未操作的节点和对应的操作角色, 以 方便管理角色通知该操作角色进行相应节点的操作。 为了方便管理角色通知操作角色,还可以显示通知控件, 当管理角色对该通知控件进行 操作之后, 可以通知相应操作角色进行操作。 可选地, 在对通知控件进行操作之后, 可以显 示未操作的节点, 以使管理人员从中选取节点以通知相应的操作角色。 当然, 还可以提供一 键全选的功能, 以使管理人员一次性通知所有未操作的节点所对应的操作角色。 综上所述, 本公开实施例可以结合用户角色信息、 目标流程图的复杂程度, 对目标流程 图进行灵活的显示。在用户角色信息对应操作角色时, 根据目标流程图的复杂程度显示目标 流程图,尽可能的在目标流程图复杂度较低时,显示所有节点,在目标流程图复杂度较高时, 显示部分目标节点, 以方便操作角色进行操作。 在用户角色信息对应管理角色时, 显示目标 流程图的所有节点, 可以方便管理角色从全局进行管理。 此外, 在显示目标流程图的过程中, 可以区分显示待操作节点和已操作节点, 并提示每 个节点所对应的用户角色信息以及所归属的处理阶段。有助于进一步的提高目标流程图的显 示效果。
图 5是本公开实施例提供的另一种流程图显示方法的步骤流程图。 参照 ,图 5所示, 上述 流程图显示方法可以包括:
S301: 获取用户角色信息。 在执行 S301之后执行 S302至 S305, 或执行 S306, 以在两种用户角色信息下显示目标 流程图。
S302: 若用户角色信息对应操作角色, 且目标流程图满足预设条件, 则从目标流程图中 确定用户角色信息对应的目标节点, 以及目标节点之间的关系。 其中, 目标节点包括操作角色对应的待操作节点以及待操作节点依赖的已操作节点, 操 作角色包括用于进行节点操作的角色,预设条件包括以下至少一项: 目标流程图中存在的分 支路径数量大于或等于第一阈值、 目标流程图包括的节点数量大于或等于第二阈值、 目标流 程图包括的分支路径长度大于或等于第三阈值。
S303: 显示目标节点以及目标节点之间的关系, 并区别标注待操作节点和已操作节点。
S304: 接收操作角色触发的显示切换操作。
S305:响应于显示切换操作,在目标节点和目标流程图中的所有节点之间进行切换显示。
S306: 若用户角色信息对应管理角色, 则显示目标流程图中的所有节点及所有节点之间 的关系。 在执行 S302至 S305, 或, 执行 S306之后, 均执行 S307和 S30&
S307: 在显示目标流程图中的目标节点或所有节点时,在每个节点的周围显示节点对应 的操作角色信息, 操作角色信息通过以下至少一种方式显示: 图像、 文本。
S308: 在显示目标流程图的所有节点时,在目标流程图中显示每个节点所归属的处理阶 段, 目标流程图被划分为至少一个处理阶段, 每个处理阶段包括至少一个节点。 需要说明的是, 上述图 5所示的各步骤可以在相互独立的基础上顺序灵活调整。 此外, 上述流程图显示方法可以参照前述图 2所示的流程图显示方法对应说明, 在此不再赘述。 对应于上文实施例的流程图显示方法, 图 6是本公开实施例提供的一种流程图显示装置 的结构框图。 图像采集设备中设置有硬件抽象层,硬件抽象层包括用户驱动程序和内核驱动 程序。 为了便于说明, 仅示出了与本公开实施例相关的部分。 参照图 6, 上述流程图显示装 置 400包括: 角色获取模块 401 , 用于获取用户角色信息。 目标节点获取模块 402, 用于若所述用户角色信息对应操作角色, 则从目标流程图中确 定所述用户角色信息对应的目标节点, 以及所述目标节点之间的关系, 所述目标节点包括所 述操作角色对应的待操作节点以及所述待操作节点依赖的已操作节点,所述操作角色包括用 于进行节点操作的角色。 流程图显示模块 403 , 用于显示所述目标流程图中的所述目标节点, 以及所述目标节点
之间的关系。 可选地, 所述目标节点获取模块 402还用于: 若所述用户角色信息对应所述操作角色, 且所述目标流程图满足预设条件, 则从所述目 标流程图中确定所述用户角色信息对应的所述目标节点, 所述预设条件包括以下至少一项: 所述目标流程图中存在的分支路径数量大于或等于第一阈值、所述目标流程图包括的节点数 量大于或等于第二阈值、 所述目标流程图包括的分支路径长度大于或等于第三阈值。 可选地, 所述流程图显示模块 403还用于: 在显示所述目标节点时, 区别标注所述待操作节点和所述已操作节点。 可选地, 所述装置还包括: 切换操作接收模块, 用于接收所述操作角色触发的显示切换操作。 切换显示模块, 用于响应于所述显示切换操作, 在所述目标节点和所述目标流程图中的 所有节点之间进行切换显示。 可选地, 所述装置还包括: 全局显示模块, 用于若所述用户角色信息对应管理角色, 则显示所述目标流程图中的所 有节点及所有节点之间的关系。 可选地, 所述装置还包括: 操作角色提示模块, 用于在显示所述目标流程图中的所述目标节点或所有节点时, 在每 个所述节点的周围显示所述节点对应的操作角色信息,所述操作角色信息通过以下至少一种 方式显示: 图像、 文本。 可选地, 所述装置还包括: 处理阶段标注模块, 用于在显示所述目标流程图的所有节点时, 在所述目标流程图中显 示每个所述节点所归属的处理阶段, 所述目标流程图被划分为至少一个所述处理阶段, 每个 所述处理阶段包括至少一个所述节点。 本实施例提供的流程图显示装置, 可用于执行上述流程图显示方法实施例的技术方案, 其实现原理和技术效果类似, 本实施例此处不再赘述。 图 7是本公开实施例提供的一种电子设备的结构框图。 该电子设备 600包括存储器 602 和至少一个处理器 601。 其中, 存储器 602存储计算机执行指令。 至少一个处理器 601执行存储器 602存储的计算机执行指令,使得电子设备 600实现前 述流程图显示方法。 此外, 该电子设备还可以包括接收器 603和发送器 604, 接收器 603用于接收从其余装 置或 7殳备的信息, 并转发给处理器 601 , 发送器 604用于将信息发送到其余装置或设备。 在第一方面的第一种示例中,本公开实施例提供了一种流程图显示方法,所述方法包括:
获取用户角色信息; 若所述用户角色信息对应操作角色,则从目标流程图中确定所述用户角色信息对应的目 标节点, 以及所述目标节点之间的关系, 所述目标节点包括所述操作角色对应的待操作节点 以及所述待操作节点依赖的已操作节点, 所述操作角色包括用于进行节点操作的角色; 显示所述目标流程图中的所述目标节点, 以及所述目标节点之间的关系。 基于第一方面的第一种示例, 在第一方面的第二种示例中, 所述若所述用户角色信息对 应操作角色, 则从目标流程图中确定所述用户角色信息对应的目标节点, 包括: 若所述用户角色信息对应所述操作角色, 且所述目标流程图满足预设条件, 则从所述目 标流程图中确定所述用户角色信息对应的所述目标节点, 所述预设条件包括以下至少一项: 所述目标流程图中存在的分支路径数量大于或等于第一阈值、所述目标流程图包括的节点数 量大于或等于第二阈值、 所述目标流程图包括的分支路径长度大于或等于第三阈值。 基于第一方面的第一种示例, 在第一方面的第三种示例中, 所述显示所述目标流程图中 的所述目标节点, 包括: 在显示所述目标节点时, 区别标注所述待操作节点和所述已操作节点。 基于第一方面的第一种示例, 在第一方面的第四种示例中, 所述方法还包括: 接收所述操作角色触发的显示切换操作; 响应于所述显示切换操作,在所述目标节点和所述目标流程图中的所有节点之间进行切 换显示。 基于第一方面的第一种示例, 在第一方面的第五种示例中, 述方法还包括: 若所述用户角色信息对应管理角色,则显示所述目标流程图中的所有节点及所有节点之 间的关系。 基于第一方面的第一至第五种示例, 在第一方面的第六种示例中, 所述方法还包括: 在显示所述目标流程图中的所述目标节点或所有节点时,在每个所述节点的周围显示所 述节点对应的操作角色信息, 所述操作角色信息通过以下至少一种方式显示: 图像、 文本。 基于第一方面的第一至第五种示例, 在第一方面的第七种示例中, 所述方法还包括: 在显示所述目标流程图的所有节点时,在所述目标流程图中显示每个所述节点所归属的 处理阶段, 所述目标流程图被划分为至少一个所述处理阶段, 每个所述处理阶段包括至少一 个所述节点。 在第二方面的第一种示例中, 提供了一种流程图显示装置, 所述装置包括: 角色获取模块, 用于获取用户角色信息; 目标节点获取模块, 用于若所述用户角色信息对应操作角色, 则从目标流程图中确定所 述用户角色信息对应的目标节点, 以及所述目标节点之间的关系, 所述目标节点包括所述操 作角色对应的待操作节点以及所述待操作节点依赖的已操作节点,所述操作角色包括用于进
行节点操作的角色; 流程图显示模块, 用于显示所述目标流程图中的所述目标节点, 以及所述目标节点之间 的关系。 基于第二方面的第一种示例, 在第二方面的第二种示例中, 所述目标节点获取模块还用 于: 若所述用户角色信息对应所述操作角色, 且所述目标流程图满足预设条件, 则从所述目 标流程图中确定所述用户角色信息对应的所述目标节点, 所述预设条件包括以下至少一项: 所述目标流程图中存在的分支路径数量大于或等于第一阈值、所述目标流程图包括的节点数 量大于或等于第二阈值、 所述目标流程图包括的分更路径长度大于或等于第三阈值。 基于第二方面的第一种示例,在第二方面的第三种示例中,所述流程图显示模块还用于: 在显示所述目标节点时, 区别标注所述待操作节点和所述已操作节点。 基于第二方面的第一种示例, 在第二方面的第四种示例中, 所述装置还包括: 切换操作接收模块, 用于接收所述操作角色触发的显示切换操作 ; 切换显示模块, 用于响应于所述显示切换操作, 在所述目标节点和所述目标流程图中的 所有节点之间进行切换显示。 基于第二方面的第一种示例, 在第二方面的第五种示例中, 所述装置还包括: 全局显示模块, 用于若所述用户角色信息对应管理角色, 则显示所述目标流程图中的所 有节点及所有节点之间的关系。 基于第二方面的第一至五种示例, 在第二方面的第六种示例中, 所述装置还包括: 操作角色提示模块, 用于在显示所述目标流程图中的所述目标节点或所有节点时, 在每 个所述节点的周围显示所述节点对应的操作角色信息,所述操作角色信息通过以下至少一种 方式显示: 图像、 文本。 基于第二方面的第一至五种示例, 在第二方面的第七种示例中, 所述装置还包括: 处理阶段标注模块, 用于在显示所述目标流程图的所有节点时, 在所述目标流程图中显 示每个所述节点所归属的处理阶段, 所述目标流程图被划分为至少一个所述处理阶段, 每个 所述处理阶段包括至少一个所述节点。 第三方面, 根据本公开的一个或多个实施例, 提供了一种电子设备, 包括: 至少一个处 理器和存储器。 所述存储器存储计算机执行指令。 所述至少一个处理器执行所述存储器存储的计算机执行指令,使得所述电子设备实现第 - —方面任一项流程图显示的方法。 第四方面, 根据本公开的一个或多个实施例, 提供了一种计算机可读存储介质, 所述计 算机可读存储介质中存储有计算机执行指令, 当处理器执行所述计算机执行指令时, 使计算
设备实现第一方面任一项流程图显示方法。 第五方面, 根据本公开的一个或多个实施例, 提供了一种计算机程序, 所述计算机程序 用于实现第一方面任一项流程图显示的方法。 以上描述仅为本公开实施例对所运用技术原理的说明。 本领域技术人员应当理解, 本公 开中所涉及的公开范围, 并不限于上述技术特征的特定组合而成的技术方案, 同时也应涵盖 在不脱离上述公开构思的情况下, 由上述技术特征或其等同特征进行任意组合而形成的其它 技术方案。 例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相 替换而形成的技术方案。 此外, 虽然采用特定次序描绘了各操作, 但是这不应当理解为要求这些操作以所示出的 特定次序或以顺序次序执行来执行。 在一定环境下, 多任务和并行处理可能是有利的。 同样 地, 虽然在上面论述中包含了若干具体实现细节, 但是这些不应当被解释为对本公开的范围 的限制。 在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相 反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式 实现在多个实施例中。 尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本公开, 但是应当理解 所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反, 上面所描述 的特定特征和动作仅仅是实现权利要求书的示例形式。
Claims
1、 一种流程图显示方法, 包括: 获取用户角色信息; 若所述用户角色信息对应操作角色,则从目标流程图中确定所述用户角色信息对应的目 标节点, 以及所述目标节点之间的关系, 所述目标节点包括所述操作角色对应的待操作节点 以及所述待操作节点依赖的已操作节点, 所述操作角色包括用于进行节点操作的角色; 显示所述目标流程图中的所述目标节点, 以及所述目标节点之间的关系。
2、 根据权利要求 1所述的方法, 其中, 所述若所述用户角色信息对应操作角色, 则从 目标流程图中确定所述用户角色信息对应的目标节点, 包括: 若所述用户角色信息对应所述操作角色, 且所述目标流程图满足预设条件, 则从所述目 标流程图中确定所述用户角色信息对应的所述目标节点, 所述预设条件包括以下至少一项: 所述目标流程图中存在的分支路径数量大于或等于第一阈值、所述目标流程图包括的节点数 量大于或等于第二阈值、 所述目标流程图包括的分支路径长度大于或等于第三阈值。
3、 根据权利要求 1或 2所述的方法, 其中, 所述显示所述目标流程图中的所述目标节 点 , 包括: 在显示所述目标节点时, 区别标注所述待操作节点和所述已操作节点。
4、 根据权利要求 1至 3任一项所述的方法, 还包括: 接收所述操作角色触发的显示切换操作; 响应于所述显示切换操作,在所述目标节点和所述目标流程图中的所有节点之间进行切 换显示。
5、 根据权利要求 1至 4任一项所述的方法, 还包括: 若所述用户角色信息对应管理角色,则显示所述目标流程图中的所有节点及所有节点之 间的关系。
6、 根据权利要求 1至 5任一项所述的方法, 还包括: 在显示所述目标流程图中的所述目标节点或所有节点时,在每个所述节点的周围显示所 述节点对应的操作角色信息, 所述操作角色信息通过以下至少一种方式显示: 图像、 文本。
7、 根据权利要求 1至 5任一项所述的方法, 还包括: 在显示所述目标流程图的所有节点时,在所述目标流程图中显示每个所述节点所归属的 处理阶段, 所述目标流程图被划分为至少一个所述处理阶段, 每个所述处理阶段包括至少一 个所述节点。
8、 一种流程图显示装置, 包括: 角色获取模块, 被配置为获取用户角色信息;
目标节点获取模块, 被配置为若所述用户角色信息对应操作角色, 则从目标流程图中确 定所述用户角色信息对应的目标节点, 以及所述目标节点之间的关系, 所述目标节点包括所 述操作角色对应的待操作节点以及所述待操作节点依赖的已操作节点,所述操作角色包括用 于进行节点操作的角色; 流程图显示模块, 被配置为显示所述目标流程图中的所述目标节点, 以及所述目标节点 之间的关系。
9、 一种电子设备, 包括至少一个处理器和存储器, 其中, 所述存储器被配置为存储计算机执行指令; 所述至少一个处理器被配置为执行所述存储器存储的所述计算机执行指令,使得所述电 子设备实现如权利要求 1至 7任一项所述的流程图显示方法。
10、 一种计算机可读存储介质, 存储有计算机执行指令, 其中, 当处理器执行所述计算 机执行指令听 使计算设备实现如权利要求 1至 7任一项所述的流程图显示方法。
1 1、 一种计算机程序, 所述计算机程序用于实现如权利要求 1至 7任一项所述的方法。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202311745254.1A CN120179325A (zh) | 2023-12-18 | 2023-12-18 | 流程图显示方法及设备 |
| CN202311745254.1 | 2023-12-18 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| WO2025136222A1 true WO2025136222A1 (zh) | 2025-06-26 |
| WO2025136222A9 WO2025136222A9 (zh) | 2025-10-02 |
Family
ID=96036737
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/SG2024/050793 Pending WO2025136222A1 (zh) | 2023-12-18 | 2024-12-13 | 流程图显示方法及设备 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN120179325A (zh) |
| WO (1) | WO2025136222A1 (zh) |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111192004A (zh) * | 2019-12-12 | 2020-05-22 | 北京城乡建设集团有限责任公司 | 用于当前待办任务和后续待办工作流程展示的方法 |
-
2023
- 2023-12-18 CN CN202311745254.1A patent/CN120179325A/zh active Pending
-
2024
- 2024-12-13 WO PCT/SG2024/050793 patent/WO2025136222A1/zh active Pending
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111192004A (zh) * | 2019-12-12 | 2020-05-22 | 北京城乡建设集团有限责任公司 | 用于当前待办任务和后续待办工作流程展示的方法 |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2025136222A9 (zh) | 2025-10-02 |
| CN120179325A (zh) | 2025-06-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN105556509A (zh) | 智能填充 | |
| US20100281409A1 (en) | Apparatus and method for handling notifications within a communications device | |
| US9405576B2 (en) | Flow topology of computer transactions | |
| CN109471678A (zh) | 基于图像识别的语音中控方法及装置 | |
| WO2017076023A1 (zh) | 路径导航方法、装置、设备及非易失性计算机存储介质 | |
| WO2010125455A1 (en) | Apparatus and method for providing a user interface within a computing device | |
| EP2522079A2 (en) | Method and apparatus for setting section of a multimedia file in mobile device | |
| US20090094343A1 (en) | System and Method for Freezing Portions of a Chat Conversation in an Instant Messaging System | |
| CN107005467B (zh) | 用于在交换机中路由数据的装置和方法 | |
| CN112099684A (zh) | 一种搜索展示方法、装置及电子设备 | |
| CN111796747A (zh) | 多开应用的处理方法、装置和电子设备 | |
| CN115344340A (zh) | 基于捆绑会话组的交互方法、装置和计算机设备 | |
| CN111917628A (zh) | 消息处理方法、装置和电子设备 | |
| US12443332B2 (en) | Information processing method and apparatus | |
| WO2022143524A1 (zh) | 信息显示方法、装置和电子设备 | |
| WO2025136222A1 (zh) | 流程图显示方法及设备 | |
| CN102945284A (zh) | 搜索引擎的状态获取方法、装置以及浏览器 | |
| CN109857298B (zh) | 应用启动方法、装置、设备和存储介质 | |
| US7954113B2 (en) | Signal processing apparatus, signal processing method, and recording medium | |
| WO2022218192A1 (zh) | 文件处理方法及装置 | |
| CN111857459B (zh) | 应用处理方法、装置、电子设备及存储介质 | |
| WO2022135259A1 (zh) | 语音输入方法、装置及电子设备 | |
| CN109298956A (zh) | 文件传输方法、装置及终端设备 | |
| CN108734398B (zh) | 任务流同步控制方法、装置及存储介质和电子设备 | |
| CN102968483B (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: 24908419 Country of ref document: EP Kind code of ref document: A1 |