CN114707961A - Method, apparatus, device, medium and program product for executing tasks to be approved based on approval flow configuration - Google Patents
Method, apparatus, device, medium and program product for executing tasks to be approved based on approval flow configuration Download PDFInfo
- Publication number
- CN114707961A CN114707961A CN202210352839.6A CN202210352839A CN114707961A CN 114707961 A CN114707961 A CN 114707961A CN 202210352839 A CN202210352839 A CN 202210352839A CN 114707961 A CN114707961 A CN 114707961A
- Authority
- CN
- China
- Prior art keywords
- approval
- current
- flow
- task
- approval flow
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- 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/10—Office automation; Time management
- G06Q10/103—Workflow collaboration or project management
Landscapes
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Strategic Management (AREA)
- Engineering & Computer Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Operations Research (AREA)
- Economics (AREA)
- Marketing (AREA)
- Data Mining & Analysis (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本公开提供了一种基于审批流配置的待审批任务执行方法,可以应用于物联网技术领域和大数据技术领域。该基于审批流配置的待审批任务执行方法包括:根据待审批任务的任务类型标识和预设审批流匹配规则,匹配所述待审批任务对应的当前审批流;基于所述当前审批流的当前审批要求度和所述待审批任务的任务要求度,匹配所述当前审批流对应的升级审批流;以及根据所述升级审批流的审批执行状态,对所述当前审批流执行回转操作,以完成所述待审批任务执行。本公开还提供了一种基于审批流配置的待审批任务执行装置、设备、存储介质和程序产品。
The present disclosure provides a method for executing a task to be approved based on an approval flow configuration, which can be applied to the technical field of the Internet of Things and the technical field of big data. The method for executing a task to be approved based on an approval flow configuration includes: matching the current approval flow corresponding to the task to be approved according to the task type identifier of the task to be approved and a preset approval flow matching rule; and based on the current approval flow of the current approval flow The requirement degree and the task requirement degree of the to-be-approved task match the upgrade approval flow corresponding to the current approval flow; and according to the approval execution status of the upgrade approval flow, a reversal operation is performed on the current approval flow to complete all the approval procedures. The task to be approved is executed. The present disclosure also provides an apparatus, device, storage medium and program product for executing a task to be approved based on an approval flow configuration.
Description
技术领域technical field
本公开涉及计算机技术领域,具体地涉及一种基于审批流配置的待审批任务执行方法、装置、设备、介质和程序产品。The present disclosure relates to the field of computer technologies, and in particular, to a method, apparatus, device, medium and program product for executing a task to be approved based on an approval flow configuration.
背景技术Background technique
随着信息技术的快速发展和广泛应用,对于金融、教育、制造等各个行业在内,都基本实现了业务审批、报表审批以及单据审批等系统化的电子审批流转进程,从而取代了纸件传递报送的传统审批方式,极大提高了业务审批工作效率,保证了审批过程的透明度,增加了业务审批办理准确度,且能够提供实时审批节点的随时查阅,对审批流程的进度能够进行直观性掌握。目前常用的电子审批流转系统一般向业务人员提供可使用的操作页面,由业务人员对需要进行审批的信息通过操作页面进行选择填写,提交系统流程进行审批流转。此外,进一步地,为满足不断创新的业务模式进展,和频繁调整的业务审批场景,同时降低审批系统的开发成本,提高开发效率,现有的电子审批流转系统开始朝向流程可配置化的方面进行展开,以实现系统的高度复用,提高审批节点的新增、废弃等修改变更过程的稳定性。但是,基于现有的流程可配置化(即审批流配置)的电子审批流转系统虽然可以相当程度上的提高电子审批效率,然而在很多应用场景下,其仍然具有较多的审批限制,限制其进一步的发展应用。With the rapid development and wide application of information technology, systematic electronic approval and circulation processes such as business approval, statement approval and document approval have basically been realized for various industries including finance, education, and manufacturing, thus replacing paper delivery. The traditional approval method of submission greatly improves the efficiency of business approval, ensures the transparency of the approval process, increases the accuracy of business approval processing, and can provide real-time review of approval nodes at any time, and the progress of the approval process can be intuitive. master. At present, the commonly used electronic approval circulation system generally provides operation pages that can be used by business personnel. The business personnel can select and fill in the information that needs to be approved through the operation page, and submit the system process for approval and circulation. In addition, further, in order to meet the continuous innovation of the business model and the frequently adjusted business approval scenarios, while reducing the development cost of the approval system and improving the development efficiency, the existing electronic approval circulation system has begun to move towards the aspect of process configurability. Expand to achieve a high degree of reuse of the system and improve the stability of the modification and change process such as the addition and abandonment of approval nodes. However, although the electronic approval circulation system based on the existing process configurability (ie approval flow configuration) can improve the efficiency of electronic approval to a considerable extent, in many application scenarios, it still has many approval restrictions, which limit its further development applications.
发明内容SUMMARY OF THE INVENTION
鉴于上述问题,本公开提供了一种能够提高待审批任务的自动化审批速度、优化审批流执行进程的基于审批流配置的待审批任务执行方法、装置、设备、介质和程序产品。In view of the above problems, the present disclosure provides a method, apparatus, device, medium and program product for executing a task to be approved based on the configuration of an approval flow, which can improve the automatic approval speed of the task to be approved and optimize the execution process of the approval flow.
根据本公开的第一个方面,提供了一种基于审批流配置的待审批任务执行方法,包括:根据待审批任务的任务类型标识和预设审批流匹配规则,匹配所述待审批任务对应的当前审批流;基于所述当前审批流的当前审批要求度和所述待审批任务的任务要求度,匹配所述当前审批流对应的升级审批流;以及根据所述升级审批流的审批执行状态,对所述当前审批流执行回转操作,以完成所述待审批任务执行。According to a first aspect of the present disclosure, a method for executing a task to be approved based on an approval flow configuration is provided, including: matching a task corresponding to the task to be approved according to a task type identifier of the task to be approved and a preset approval flow matching rule current approval flow; based on the current approval requirement degree of the current approval flow and the task requirement degree of the task to be approved, matching the upgrade approval flow corresponding to the current approval flow; and according to the approval execution status of the upgrade approval flow, A turnaround operation is performed on the current approval flow to complete the execution of the to-be-approved task.
根据本公开实施例,在所述根据待审批任务的任务类型标识和预设审批流匹配规则,匹配所述待审批任务对应的当前审批流之前,还包括:查询当前时刻的所述待审批任务;解析与所述待审批任务相匹配的所述任务类型标识。According to an embodiment of the present disclosure, before matching the current approval flow corresponding to the to-be-approved task according to the task type identifier of the to-be-approved task and the preset approval flow matching rule, the method further includes: querying the to-be-approved task at the current moment ; Parse the task type identifier matching the task to be approved.
根据本公开实施例,在所述根据待审批任务的任务类型标识和预设审批流匹配规则,匹配所述待审批任务对应的当前审批流中,包括:根据预设审批流匹配规则,匹配与所述任务类型标识对应的审批流标签;根据所述审批流标签查询所述待审批任务对应的当前审批流。According to an embodiment of the present disclosure, in the matching the current approval flow corresponding to the to-be-approved task according to the task type identifier of the to-be-approved task and the preset approval flow matching rule, the method includes: matching the current approval flow corresponding to the to-be-approved task according to the preset approval flow matching rule. The task type identifies a corresponding approval flow label; the current approval flow corresponding to the to-be-approved task is queried according to the approval flow label.
根据本公开实施例,在所述基于所述当前审批流的当前审批要求度和所述待审批任务的任务要求度,匹配所述当前审批流对应的升级审批流之前,还包括:在执行所述当前审批流之前,解析所述待审批任务的字段解析结果;根据字段解析结果确定待审批任务的任务要求度。According to an embodiment of the present disclosure, before the current approval requirement degree based on the current approval flow and the task requirement degree of the to-be-approved task match the upgrade approval flow corresponding to the current approval flow, the method further includes: Before describing the current approval flow, the field analysis result of the task to be approved is parsed; the task requirement degree of the task to be approved is determined according to the field analysis result.
根据本公开实施例,在所述基于所述当前审批流的当前审批要求度和所述待审批任务的任务要求度,匹配所述当前审批流对应的升级审批流中,包括:当所述当前审批要求度小于所述任务要求度时,筛选所述当前审批流的多个流程审批节点,生成所述升级审批流;当所述当前审批要求度大于所述任务要求度时,执行所述当前审批流。According to an embodiment of the present disclosure, in the matching upgrade approval flow corresponding to the current approval flow based on the current approval requirement degree of the current approval flow and the task requirement degree of the to-be-approved task, including: when the current approval flow is When the approval requirement degree is less than the task requirement degree, screen multiple process approval nodes of the current approval flow to generate the upgrade approval flow; when the current approval requirement degree is greater than the task requirement degree, execute the current approval flow Approval flow.
根据本公开实施例,在所述当所述当前审批要求度小于所述任务要求度时,筛选所述当前审批流的多个流程审批节点,生成所述升级审批流中,包括:根据所述多个流程审批节点的节点权限信息筛除与所述任务要求度相匹配的至少一个中间流程审批节点;组合所述至少一个中间流程审批节点筛除之后的其他流程审批节点,生成所述升级审批流。According to an embodiment of the present disclosure, when the current approval requirement degree is less than the task requirement degree, filtering multiple process approval nodes of the current approval flow to generate the upgrade approval flow includes: according to the The node authority information of multiple process approval nodes filters out at least one intermediate process approval node that matches the task requirement degree; and combines other process approval nodes after being screened out by the at least one intermediate process approval node to generate the upgrade approval flow.
根据本公开实施例,在所述执行所述当前审批流中,包括:查询当前审批流的当前流程审批节点的当前审批时间;当所述当前审批时间大于第一时间阈值时,向所述当前流程审批节点发起提示操作;查询当前流程审批节点对应所述提示操作的当前提示时间;当所述当前提示时间大于第二时间阈值时,匹配所述当前审批流对应的第一更新审批流。According to an embodiment of the present disclosure, the executing the current approval flow includes: querying the current approval time of the approval node of the current process of the current approval flow; when the current approval time is greater than a first time threshold, reporting to the current approval flow The process approval node initiates a prompt operation; the current prompt time corresponding to the prompt operation of the current process approval node is queried; when the current prompt time is greater than a second time threshold, the first update approval flow corresponding to the current approval flow is matched.
根据本公开实施例,在所述匹配所述当前审批流对应的第一更新审批流中,包括:查询与所述当前流程审批节点的节点权限信息一致的备用流程审批节点;组合所述备用流程审批节点和筛除所述当前流程审批节点之后的与所述当前审批流对应的多个流程审批节点,生成所述第一更新审批流;其中,所述第一更新审批流中每个流程审批节点所对应的审批时间阈值小于所述当前审批流中的每个流程审批节点所对应的审批时间阈值,且所述第一更新审批流中每个流程审批节点所对应的提示时间阈值小于所述当前审批流中的每个流程审批节点所对应的提示时间阈值。According to an embodiment of the present disclosure, the matching of the first update approval flow corresponding to the current approval flow includes: querying a standby process approval node that is consistent with the node permission information of the current process approval node; combining the standby processes The approval node and multiple process approval nodes corresponding to the current approval flow after the current process approval node are filtered out to generate the first update approval flow; wherein, each process approval flow in the first update approval flow The approval time threshold corresponding to the node is less than the approval time threshold corresponding to each process approval node in the current approval flow, and the prompt time threshold corresponding to each process approval node in the first update approval flow is less than the The prompt time threshold corresponding to each process approval node in the current approval flow.
根据本公开实施例,在所述基于所述当前审批流的当前审批要求度和所述待审批任务的任务要求度,匹配所述当前审批流对应的升级审批流之后,还包括:查询所述升级审批流的当前流程审批节点的当前审批时间;当所述当前审批时间大于第三时间阈值时,向所述当前流程审批节点发起提示操作;查询当前流程审批节点对应所述提示操作的当前提示时间;当所述当前提示时间大于第四时间阈值时,匹配所述升级审批流对应的第二更新审批流。According to an embodiment of the present disclosure, after matching the upgrade approval flow corresponding to the current approval flow based on the current approval requirement degree of the current approval flow and the task requirement degree of the to-be-approved task, the method further includes: querying the Upgrading the current approval time of the current process approval node of the approval flow; when the current approval time is greater than the third time threshold, initiate a prompt operation to the current process approval node; query the current prompt corresponding to the prompt operation of the current process approval node time; when the current prompt time is greater than the fourth time threshold, match the second update approval flow corresponding to the upgrade approval flow.
根据本公开实施例,在所述匹配所述升级审批流对应的第二更新审批流中,包括:查询与所述当前流程审批节点的节点权限信息一致的备用流程审批节点;组合所述备用流程审批节点和筛除所述当前流程审批节点之后的与所述升级审批流对应的多个流程审批节点,生成所述第二更新审批流;其中,所述第二更新审批流中每个流程审批节点所对应的审批时间阈值小于所述升级审批流中的每个流程审批节点所对应的审批时间阈值,且所述第二更新审批流中每个流程审批节点所对应的提示时间阈值小于所述升级审批流中的每个流程审批节点所对应的提示时间阈值。According to an embodiment of the present disclosure, the matching of the second update approval flow corresponding to the upgrade approval flow includes: querying a standby process approval node that is consistent with the node permission information of the current process approval node; combining the standby processes The approval node and the multiple process approval nodes corresponding to the upgrade approval flow after the current process approval node are filtered out, to generate the second update approval flow; wherein, each process approval flow in the second update approval flow The approval time threshold corresponding to the node is less than the approval time threshold corresponding to each process approval node in the upgrade approval flow, and the prompt time threshold corresponding to each process approval node in the second update approval flow is less than the The prompt time threshold corresponding to each process approval node in the escalation approval flow.
根据本公开实施例,在所述根据所述升级审批流的审批执行状态,对所述当前审批流执行回转操作,以完成所述待审批任务执行中,包括:当所述升级审批流的审批执行状态为结束状态时,回转执行所述当前审批流;生成与所述升级审批流的审批执行结果相对应的回转执行结果。According to an embodiment of the present disclosure, the performing a reversal operation on the current approval flow according to the approval execution state of the upgrade approval flow to complete the execution of the pending approval task includes: when the approval of the upgrade approval flow is approved When the execution state is the end state, the current approval flow is executed in a reversal manner; a reversal execution result corresponding to the approval execution result of the upgrade approval flow is generated.
根据本公开实施例,在所述回转执行所述当前审批流中,包括:监测所述当前审批流的回转执行时间;当所述回转执行时间超出第五时间阈值时,结束所述当前审批流的回转。According to an embodiment of the present disclosure, performing the current approval flow in the reversal includes: monitoring the reversal execution time of the current approval flow; when the reversal execution time exceeds a fifth time threshold, ending the current approval flow 's rotation.
本公开的第二方面提供了一种基于审批流配置的待审批任务执行装置,包括当前审批流匹配模块、升级审批流匹配模块和当前审批流回转模块。当前审批流匹配模块用于根据待审批任务的任务类型标识和预设审批流匹配规则,匹配所述待审批任务对应的当前审批流;升级审批流匹配模块用于基于所述当前审批流的当前审批要求度和所述待审批任务的任务要求度,匹配所述当前审批流对应的升级审批流;以及当前审批流回转模块用于根据所述升级审批流的审批执行状态,对所述当前审批流执行回转操作,以完成所述待审批任务执行。A second aspect of the present disclosure provides an apparatus for executing tasks to be approved based on an approval flow configuration, including a current approval flow matching module, an upgraded approval flow matching module, and a current approval flow reversing module. The current approval flow matching module is used to match the current approval flow corresponding to the to-be-approved task according to the task type identifier of the to-be-approved task and the preset approval flow matching rule; the upgraded approval flow matching module is used to match the current approval flow of the current approval flow based on the current approval flow The approval requirement degree and the task requirement degree of the to-be-approved task match the upgrade approval flow corresponding to the current approval flow; and the current approval flow rotation module is configured to, according to the approval execution status of the upgrade approval flow, perform the approval process for the current approval flow The flow performs a turnaround operation to complete the execution of the pending task.
本公开的第三方面提供了一种电子设备,包括:一个或多个处理器;存储器,用于存储一个或多个程序,其中,当所述一个或多个程序被所述一个或多个处理器执行时,使得一个或多个处理器执行上述基于审批流配置的待审批任务执行方法。A third aspect of the present disclosure provides an electronic device, comprising: one or more processors; a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more programs When the processor executes, one or more processors are caused to execute the above-mentioned method for executing the task to be approved based on the approval flow configuration.
本公开的第四方面还提供了一种计算机可读存储介质,其上存储有可执行指令,该指令被处理器执行时使处理器执行上述基于审批流配置的待审批任务执行方法。A fourth aspect of the present disclosure also provides a computer-readable storage medium storing executable instructions thereon, and when the instructions are executed by the processor, the processor executes the above-mentioned method for executing a task to be approved based on an approval flow configuration.
本公开的第五方面还提供了一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现上述基于审批流配置的待审批任务执行方法。A fifth aspect of the present disclosure also provides a computer program product, including a computer program, which, when executed by a processor, implements the above-mentioned method for executing a task to be approved based on an approval flow configuration.
本公开提供了一种基于审批流配置的待审批任务执行方法、装置、设备、介质和程序产品。其中,基于审批流配置的待审批任务执行方法包括:根据待审批任务的任务类型标识和预设审批流匹配规则,匹配所述待审批任务对应的当前审批流;基于所述当前审批流的当前审批要求度和所述待审批任务的任务要求度,匹配所述当前审批流对应的升级审批流;以及根据所述升级审批流的审批执行状态,对所述当前审批流执行回转操作,以完成所述待审批任务执行。因此,相对于现有技术中审批流配置固定无法进一步实现审批优化的传统方式,本公开实施例的上述基于审批流配置的待审批任务执行方法可以在审批流配置的当前审批流基础上,进一步通过进一步自识别待审批业任务生成升级审批流,通过升级审批流显著简化审批流程,进一步加快审批速度,而且通过对当前审批流的回转确保原审批流程的执行,能够在加快审批的基础上,尽可能保证审批的准确性,降低因加快审批造成审批错误率,从而实现在审批流配置的基础上对任务审批过程的执行优化。The present disclosure provides a method, apparatus, device, medium and program product for executing a task to be approved based on an approval flow configuration. The method for executing a task to be approved based on an approval flow configuration includes: matching the current approval flow corresponding to the task to be approved according to the task type identifier of the task to be approved and a preset approval flow matching rule; based on the current approval flow of the current approval flow The approval requirement degree and the task requirement degree of the task to be approved match the upgrade approval flow corresponding to the current approval flow; and according to the approval execution status of the upgrade approval flow, a reversal operation is performed on the current approval flow to complete The task to be approved is executed. Therefore, compared with the conventional method in the prior art in which the approval flow configuration is fixed and cannot further realize approval optimization, the above-mentioned method for executing tasks to be approved based on the approval flow configuration according to the embodiment of the present disclosure can be further based on the current approval flow configured in the approval flow. By further self-identifying the tasks to be approved, an upgrade approval flow is generated, the approval process is significantly simplified by upgrading the approval flow, and the approval speed is further accelerated, and the execution of the original approval process is ensured by reversing the current approval flow, which can accelerate the approval process. Ensure the accuracy of approval as much as possible and reduce the approval error rate caused by accelerated approval, so as to optimize the execution of the task approval process based on the approval flow configuration.
附图说明Description of drawings
通过以下参照附图对本公开实施例的描述,本公开的上述内容以及其他目的、特征和优点将更为清楚,在附图中:The foregoing and other objects, features and advantages of the present disclosure will become more apparent from the following description of embodiments of the present disclosure with reference to the accompanying drawings, in which:
图1示意性示出了根据本公开实施例的基于审批流配置的待审批任务执行方法、装置、设备、介质和程序产品的应用场景图;1 schematically shows an application scenario diagram of a method, apparatus, device, medium, and program product for executing a task to be approved based on an approval flow configuration according to an embodiment of the present disclosure;
图2示意性示出了根据本公开实施例的基于审批流配置的待审批任务执行方法的流程图;2 schematically shows a flowchart of a method for executing a task to be approved based on an approval flow configuration according to an embodiment of the present disclosure;
图3A示意性示出了根据本公开实施例的基于审批流配置的待审批任务执行方法中当前审批流执行过程的流程图;3A schematically shows a flow chart of the current approval flow execution process in the method for executing tasks to be approved based on the approval flow configuration according to an embodiment of the present disclosure;
图3B示意性示出了根据本公开实施例的基于审批流配置的待审批任务执行方法中升级审批流执行过程的场景图;FIG. 3B schematically shows a scenario diagram of upgrading an approval flow execution process in a method for executing a task to be approved based on an approval flow configuration according to an embodiment of the present disclosure;
图4示意性示出了根据本公开实施例的基于审批流配置的待审批任务执行方法中的审批流执行回转过程的场景图;FIG. 4 schematically shows a scenario diagram of an approval flow execution rotation process in the method for executing a task to be approved based on an approval flow configuration according to an embodiment of the present disclosure;
图5示意性示出了根据本公开实施例的基于审批流配置的待审批任务执行装置的结构框图;以及FIG. 5 schematically shows a structural block diagram of an apparatus for executing a task to be approved based on an approval flow configuration according to an embodiment of the present disclosure; and
图6示意性示出了根据本公开实施例的适于实现基于审批流配置的待审批任务执行方法的电子设备的方框图。6 schematically shows a block diagram of an electronic device suitable for implementing a method for executing a task to be approved based on an approval flow configuration according to an embodiment of the present disclosure.
具体实施方式Detailed ways
以下,将参照附图来描述本公开的实施例。但是应该理解,这些描述只是示例性的,而并非要限制本公开的范围。在下面的详细描述中,为便于解释,阐述了许多具体的细节以提供对本公开实施例的全面理解。然而,明显地,一个或多个实施例在没有这些具体细节的情况下也可以被实施。此外,在以下说明中,省略了对公知结构和技术的描述,以避免不必要地混淆本公开的概念。Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood, however, that these descriptions are exemplary only, and are not intended to limit the scope of the present disclosure. In the following detailed description, for convenience of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the present disclosure. It will be apparent, however, that one or more embodiments may be practiced without these specific details. Also, in the following description, descriptions of well-known structures and techniques are omitted to avoid unnecessarily obscuring the concepts of the present disclosure.
在此使用的术语仅仅是为了描述具体实施例,而并非意在限制本公开。在此使用的术语“包括”、“包含”等表明了所述特征、步骤、操作和/或部件的存在,但是并不排除存在或添加一个或多个其他特征、步骤、操作或部件。The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the present disclosure. The terms "comprising", "comprising" and the like as used herein indicate the presence of stated features, steps, operations and/or components, but do not preclude the presence or addition of one or more other features, steps, operations or components.
在此使用的所有术语(包括技术和科学术语)具有本领域技术人员通常所理解的含义,除非另外定义。应注意,这里使用的术语应解释为具有与本说明书的上下文相一致的含义,而不应以理想化或过于刻板的方式来解释。All terms (including technical and scientific terms) used herein have the meaning as commonly understood by one of ordinary skill in the art, unless otherwise defined. It should be noted that terms used herein should be construed to have meanings consistent with the context of the present specification and should not be construed in an idealized or overly rigid manner.
在使用类似于“A、B和C等中至少一个”这样的表述的情况下,一般来说应该按照本领域技术人员通常理解该表述的含义来予以解释(例如,“具有A、B和C中至少一个的系统”应包括但不限于单独具有A、单独具有B、单独具有C、具有A和B、具有A和C、具有B和C、和/或具有A、B、C的系统等)。Where expressions like "at least one of A, B, and C, etc.," are used, they should generally be interpreted in accordance with the meaning of the expression as commonly understood by those skilled in the art (eg, "has A, B, and C") At least one of the "systems" shall include, but not be limited to, systems with A alone, B alone, C alone, A and B, A and C, B and C, and/or A, B, C, etc. ).
现有的电子审批流转系统虽然通过审批流配置能够实现针对不同审批任务的审批流程高度复用,在对审批流程节点的修改变更过程中保持系统稳定性,但是新成的审批流在后续的审批过程中基本不得再作更改,换言之一次审批流程的配置就固定下本次审批业务的审批信息的审批流转,形成该审批业务的固定审批流。换言之,本次审批提交的该审批业务的审批信息就决定了该审批过程的审批流配置,在审批流执行过程中审批流程以及流程节点都将难以再作进一步调整。因此,对于已提交审批业务的审批信息应为紧急审批业务,但错匹配为普通审批流配置并执行了审批过程的场景而言,只能重新提交审批,进行重复节点的流程审批,严重影响该审批业务的紧急审批效率,增加审批流转复杂度,不利于流程简约化、快速化、高速化的现代办公需求。此外,对于这种普通审批流配置若临时需要加快处理,也只能对各个流程节点的审批人进行逐个催促,无法实现有效的加速审批方案。Although the existing electronic approval flow system can achieve a high degree of reuse of approval processes for different approval tasks through approval flow configuration, and maintain system stability in the process of modifying and changing the approval process nodes, the new approval flow is used in subsequent approvals. Basically, no changes can be made during the process. In other words, the configuration of one approval process will fix the approval flow of the approval information of this approval business, forming a fixed approval flow for the approval business. In other words, the approval information of the approval business submitted for this approval determines the approval flow configuration of the approval process, and it is difficult to make further adjustments to the approval process and process nodes during the execution of the approval flow. Therefore, for the scenario where the approval information of the submitted approval business should be an emergency approval business, but the wrong match is a common approval flow configuration and the approval process is executed, the approval process can only be resubmitted and the process approval of the duplicate node is performed, which seriously affects the process. The urgent approval efficiency of the approval business increases the complexity of the approval flow, which is not conducive to the modern office needs of simplified, fast and high-speed processes. In addition, if this kind of common approval flow configuration needs to be temporarily accelerated, the approvers of each process node can only be urged one by one, and an effective accelerated approval scheme cannot be realized.
为解决现有技术中因审批流配置固定无法灵活更改导致的审批流执行无法加快不能很好适应多样化的现代办公需求的技术问题,本公开提供了一种能够显著提高待审批任务的自动化审批速度、优化审批流执行进程的基于审批流配置的待审批任务执行方法、装置、设备、介质和程序产品。In order to solve the technical problem in the prior art that the execution of the approval flow cannot be accelerated due to the fact that the configuration of the approval flow cannot be changed flexibly, the present disclosure provides an automated approval method that can significantly improve the tasks to be approved. A method, apparatus, device, medium and program product for executing tasks to be approved based on the approval flow configuration that optimizes the speed and execution process of the approval flow.
需要说明的是,本公开实施例的上述基于审批流配置的待审批任务执行方法和装置可用于物联网技术领域和大数据技术领域,也可用于金融领域以及金融领域之外的任意领域,本公开实施例的基于审批流配置的待审批任务执行方法和装置的应用领域不做限定。It should be noted that the above-mentioned method and apparatus for executing tasks to be approved based on the approval flow configuration in the embodiments of the present disclosure can be used in the technical field of the Internet of Things and the technical field of big data, and can also be used in the financial field and any fields other than the financial field. The application fields of the method and apparatus for executing tasks to be approved based on the approval flow configuration of the disclosed embodiments are not limited.
在本公开的技术方案中,所涉及的包括用户个人信息等数据的收集、存储、使用、加工、传输、提供、公开和应用等处理,均符合相关法律法规的规定,采取了必要保密措施,且不违背公序良俗。其中,在获取或采集用户个人信息之前,均获取了用户的授权或同意。In the technical solutions of the present disclosure, the collection, storage, use, processing, transmission, provision, disclosure and application of data, including user personal information, etc., all comply with relevant laws and regulations, and necessary confidentiality measures have been taken. And it does not violate public order and good morals. Among them, the authorization or consent of the user is obtained before the user's personal information is obtained or collected.
本公开的实施例提供了一种基于审批流配置的待审批任务执行方法,包括:根据待审批任务的任务类型标识和预设审批流匹配规则,匹配所述待审批任务对应的当前审批流;基于所述当前审批流的当前审批要求度和所述待审批任务的任务要求度,匹配所述当前审批流对应的升级审批流;以及根据所述升级审批流的审批执行状态,对所述当前审批流执行回转操作,以完成所述待审批任务执行。An embodiment of the present disclosure provides a method for executing a task to be approved based on an approval flow configuration, including: matching a current approval flow corresponding to the task to be approved according to a task type identifier of the task to be approved and a preset approval flow matching rule; Based on the current approval requirement degree of the current approval flow and the task requirement degree of the to-be-approved task, match the upgrade approval flow corresponding to the current approval flow; The approval flow performs a reversal operation to complete the execution of the tasks to be approved.
图1示意性示出了根据本公开实施例的基于审批流配置的待审批任务执行方法、装置、设备、介质和程序产品的应用场景图。FIG. 1 schematically shows an application scenario diagram of a method, apparatus, device, medium, and program product for executing a task to be approved based on an approval flow configuration according to an embodiment of the present disclosure.
如图1所示,根据该实施例的应用场景100可以包括终端设备101、102、103、网络104和服务器105。网络104用以在终端设备101、102、103和服务器105之间提供通信链路的介质。网络104可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。As shown in FIG. 1 , an
用户可以使用终端设备101、102、103通过网络104与服务器105交互,以接收或发送消息等。终端设备101、102、103上可以安装有各种通讯客户端应用,例如购物类应用、网页浏览器应用、搜索类应用、即时通信工具、邮箱客户端、社交平台软件等(仅为示例)。The user can use the
终端设备101、102、103可以是具有显示屏并且支持网页浏览的各种电子设备,包括但不限于智能手机、平板电脑、膝上型便携计算机和台式计算机等等。The
服务器105可以是提供各种服务的服务器,例如对用户利用终端设备101、102、103所浏览的网站提供支持的后台管理服务器(仅为示例)。后台管理服务器可以对接收到的用户请求等数据进行分析等处理,并将处理结果(例如根据用户请求获取或生成的网页、信息、或数据等)反馈给终端设备。The
需要说明的是,本公开实施例所提供的基于审批流配置的待审批任务执行方法一般可以由服务器105执行。相应地,本公开实施例所提供的基于审批流配置的待审批任务执行装置一般可以设置于服务器105中。本公开实施例所提供的基于审批流配置的待审批任务执行方法也可以由不同于服务器105且能够与终端设备101、102、103和/或服务器105通信的服务器或服务器集群执行。相应地,本公开实施例所提供的基于审批流配置的待审批任务执行装置也可以设置于不同于服务器105且能够与终端设备101、102、103和/或服务器105通信的服务器或服务器集群中。It should be noted that, the method for executing a task to be approved based on the approval flow configuration provided by the embodiment of the present disclosure may generally be executed by the
应该理解,图1中的终端设备、网络和服务器的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络和服务器。It should be understood that the numbers of terminal devices, networks and servers in FIG. 1 are merely illustrative. There can be any number of terminal devices, networks and servers according to implementation needs.
以下将基于图1描述的场景,通过图2~图6对公开实施例的基于审批流配置的待审批任务执行方法进行详细描述。Based on the scenario described in FIG. 1 , the method for executing a task to be approved based on an approval flow configuration according to the disclosed embodiment will be described in detail below with reference to FIGS. 2 to 6 .
图2示意性示出了根据本公开实施例的基于审批流配置的待审批任务执行方法的流程图。FIG. 2 schematically shows a flowchart of a method for executing a task to be approved based on an approval flow configuration according to an embodiment of the present disclosure.
如图2所示,该实施例的基于审批流配置的待审批任务执行方法包括操作S201~操作S203。As shown in FIG. 2 , the method for executing a task to be approved based on an approval flow configuration in this embodiment includes operations S201 to S203.
在操作S201,根据待审批任务的任务类型标识和预设审批流匹配规则,匹配所述待审批任务对应的当前审批流;In operation S201, according to the task type identifier of the task to be approved and the preset approval flow matching rule, match the current approval flow corresponding to the task to be approved;
在操作S202,基于所述当前审批流的当前审批要求度和所述待审批任务的任务要求度,匹配所述当前审批流对应的升级审批流;以及In operation S202, matching an upgrade approval flow corresponding to the current approval flow based on the current approval requirement degree of the current approval flow and the task requirement degree of the to-be-approved task; and
在操作S203,根据所述升级审批流的审批执行状态,对所述当前审批流执行回转操作,以完成所述待审批任务执行。In operation S203, a reversal operation is performed on the current approval flow according to the approval execution state of the upgrade approval flow, so as to complete the execution of the task to be approved.
待审批任务可以是基于报表形式的电子审批业务文件的业务任务,可以含有待审批的业务信息。其中,该电子审批业务文件可以是如xml格式的应用文件,能够在被解析之后生成或者通过电子审批系统展示所要执行审批的待审批信息。A task to be approved may be a business task based on an electronic approval business document in the form of a report, and may contain business information to be approved. Wherein, the electronic approval business file may be an application file in xml format, which can be generated after being parsed or display pending approval information to be approved through the electronic approval system.
在本公开实施例中,每个待审批任务在被提交到系统的相应任务接收模块进行接收时,提交该待审批任务的用户可以直接通过系统的显示设备的显示页面选择或者提供相应的待审批任务的审批标识,该审批标识可以作为上述的任务类型标识,用于标识该待审批任务的当前时刻的如任务单类型、交易类型甚至岗位权限类型的审批执行类型。预设审批流匹配规则为任务类型标识和对应的预设审批流之间的对应关系的匹配规则,用于通过任务类型标识来匹配与该任务类型标识相对应的预设审批流作为对应于该任务类型标识的待审批任务的当前时刻的当前审批流。In the embodiment of the present disclosure, when each task to be approved is submitted to the corresponding task receiving module of the system for reception, the user who submitted the task to be approved can directly select or provide the corresponding task to be approved through the display page of the display device of the system. The approval identifier of the task, which can be used as the above task type identifier to identify the approval execution type such as task order type, transaction type or even post permission type at the current moment of the task to be approved. The preset approval flow matching rule is a matching rule of the correspondence between the task type identifier and the corresponding preset approval flow, and is used to match the preset approval flow corresponding to the task type identifier through the task type identifier as the corresponding preset approval flow. The current approval flow at the current moment of the task to be approved identified by the task type.
其中,每个预设审批流设定了对应待审批任务在执行审批过程中对应审批流程节点以及该流程节点的审批流转逻辑,使得待审批任务依照该预设审批流执行审批时可以顺利实现相应的流程审批过程,而无需其他相应的人工干涉。当前审批流为根据上述预设审批流匹配规则匹配与当前时刻的待审批任务对应的预设审批流。因此,通过上述任务类型标识能够使得用户非常便利的实现对待审批任务的提交,结合预设审批流匹配规则可以快速有效地为当前时刻的待审批任务匹配相应的当前审批流。Among them, each preset approval flow sets the corresponding approval process node and the approval flow logic of the process node during the approval process for the task to be approved, so that the task to be approved can be smoothly implemented according to the preset approval flow. process approval process without the need for other corresponding manual interventions. The current approval flow is the preset approval flow that matches the task to be approved at the current moment according to the preset approval flow matching rule. Therefore, the above task type identification can make it very convenient for the user to submit the task to be approved, and combined with the preset approval flow matching rules, the corresponding current approval flow can be quickly and effectively matched for the task to be approved at the current moment.
进一步地,每个匹配的预设审批流都会对应不同的审批要求度,审批要求度为反应该预设审批流的审批执行场景的要求信息的参数,具体可以为一数值,可以用于体现该预设审批流在执行过程中的紧急程度等相应的审批要求信息。不同的审批要求度的预设审批流的流程节点数量和流程节点审批执行逻辑对应有所不同。一般审批要求度越高,预设审批流对应的流程节点数据越少,审批执行逻辑越简单。相应地,当前审批要求度为对应的当前审批流的审批要求信息参数,以反映该当前审批流的审批要求信息。Further, each matching preset approval flow will correspond to a different approval requirement degree, and the approval requirement degree is a parameter that reflects the requirement information of the approval execution scenario of the preset approval flow, and can be a numerical value, which can be used to reflect the requirement. Corresponding approval requirement information such as the urgency of the preset approval flow during the execution process. The number of process nodes of the preset approval flow with different approval requirements and the corresponding approval execution logic of the process nodes are different. Generally, the higher the approval requirement, the less process node data corresponding to the preset approval flow, and the simpler the approval execution logic. Correspondingly, the current approval requirement degree is the approval requirement information parameter of the corresponding current approval flow, so as to reflect the approval requirement information of the current approval flow.
在本公开实施例中,对应于上述当前审批流的当前审批要求度,对该当前审批流的该待审批任务也同样设置相应的任务要求度。该任务要求度为用于反应该待审批任务的审批执行场景的要求信息的参数,具体可以为与审批要求度相同的设置规则,二者可以执行相应的匹配对应操作,从而建立待审批任务的要求信息和对应当前审批流的要求信息的审批场景对应关系。其中,该任务要求度越高,该待审批任务的对应审批流要求度也越高,基对应审批流的流程节点数据越少,审批执行逻辑越简单。须知,在通常情况下,用户向系统提交待审批任务时,通常难以很好的理解自己所提交的待审批任务的任务要求度的高低需要,或者系统因自身限制提交页面展示给用户的选择内容过少,往往导致待审批任务的任务要求度和当前审批流的当前审批要求度并不匹配,这就容易造成往往普通的审批任务会执行加速审批流程,而需要进行加速审批的紧急审批任务反而处于普通审批流程,这就造成的审批资源的浪费,而现有审批流的固定配置往往还不能够对审批流程进行适应性调整,这就造成错误匹配审批流的待审批任务只能重新提交审批,进行重复节点的流程审批,严重影响该审批业务的紧急审批效率,增加审批流转复杂度,不利于流程简约化、快速化、高速化的现代办公需求。In the embodiment of the present disclosure, corresponding to the current approval requirement degree of the current approval flow, a corresponding task requirement degree is also set for the to-be-approved task of the current approval flow. The task requirement degree is a parameter used to reflect the requirement information of the approval execution scenario of the to-be-approved task. Specifically, it can be the same setting rule as the approval requirement degree. The two can perform corresponding matching operations, thereby establishing a The corresponding relationship between the requirement information and the approval scenario corresponding to the requirement information of the current approval flow. Among them, the higher the requirement degree of the task, the higher the requirement degree of the corresponding approval flow of the task to be approved, the less process node data corresponding to the approval flow, and the simpler the approval execution logic. It should be noted that, under normal circumstances, when a user submits a task to be approved to the system, it is usually difficult to understand the level of task requirements of the task to be approved, or the system restricts the submission page to display to the user the selection content. If too few, the task requirements of the tasks to be approved often do not match the current approval requirements of the current approval flow, which is easy to cause the accelerated approval process to be executed for ordinary approval tasks, while the urgent approval tasks that require accelerated approval In the ordinary approval process, which results in a waste of approval resources, and the fixed configuration of the existing approval flow is often unable to adapt to the approval process, which results in that the pending approval tasks that incorrectly match the approval flow can only be resubmitted for approval. , process approval for repeated nodes, which seriously affects the emergency approval efficiency of the approval business, increases the complexity of approval flow, and is not conducive to the modern office needs of simplified, fast, and high-speed processes.
因此,根据上述当前审批流的当前审批要求度和所述待审批任务的任务要求度之间的对应关系,可以对当前审批要求度和任务要求度不能很好匹配的待审批任务进行审批流调整。换言之,在匹配当前审批流的审批流配置基础上,进一步实现了对进入审批执行操作过程的待审批任务的审批流的流程节点及流程审批执行逻辑的更改。其中,升级审批流为基于当前审批流进行更改之后形成的审批流,该审批流对当前审批流的一些流程节点和流程审批执行逻辑可以进行更改,这些更改一般只能对当前审批流进行简化或者简约,比如删除一些中间审批节点以及将涉及循环审批的流程逻辑修改为简单的串行审批逻辑等。升级审批流可以视为对当前审批流的审批升级,该升级审批流的流程节点更少,流程审批逻辑更为简单,审批执行速度更快,自然其对应的升级审批要求度相对于当前审批要求度更高。换言之,对于待审批任务而言,其审批过程直接从原有复杂的当前审批流升级匹配到审批流程更为简化的升级审批流,通过升级审批流实现对待审批任务的审批,自然就能够在执行审批过程中对固定的审批流配置进行自由灵活的适应性修改,从而加快审批速度,适应于要求审批速度更快的业务审批场景。因此,通过升级审批流能够实现对审批过程的进一步优化,加快审批进程,节约审批资源,实现了对审批流配置的更改,更能够适应于越来越高要求的多样化现代业务审批需要。Therefore, according to the corresponding relationship between the current approval requirement degree of the current approval flow and the task requirement degree of the to-be-approved task, the approval flow adjustment can be performed for the to-be-approved task whose current approval requirement degree and the task requirement degree cannot well match . In other words, on the basis of the approval flow configuration matching the current approval flow, the process node and the process approval execution logic of the approval flow of the pending task entering the approval execution operation process are further changed. The upgrade approval flow is an approval flow formed after changes are made based on the current approval flow. The approval flow can change some process nodes and process approval execution logic of the current approval flow. Generally, these changes can only simplify or simplify the current approval flow. Simplicity, such as removing some intermediate approval nodes and modifying the process logic involving circular approval to simple serial approval logic, etc. The upgrade approval flow can be regarded as an approval upgrade to the current approval flow. The upgrade approval flow has fewer process nodes, simpler process approval logic, and faster approval execution. Naturally, its corresponding upgrade approval requirement is relatively higher than the current approval requirement. higher degree. In other words, for tasks to be approved, the approval process is directly upgraded from the original complex current approval flow to an upgraded approval flow with a more simplified approval process. The approval of tasks to be approved is realized by upgrading the approval flow, and it is naturally possible to execute the approval process. During the approval process, the fixed approval flow configuration can be modified freely and flexibly, so as to speed up the approval speed and adapt to the business approval scenarios that require faster approval speed. Therefore, by upgrading the approval flow, the approval process can be further optimized, the approval process can be accelerated, the approval resources can be saved, the configuration of the approval flow can be changed, and it can better adapt to the increasingly demanding and diversified modern business approval needs.
在本公开的实施例中,在当前审批流的基础上,匹配新的升级审批流对待审批任务执行加速审批的过程中,对于原当前审批流而言,可以继续保持原待审批任务的审批执行,以确保原当前审批流的各个节点正常的审批操作,同时还可以确保待审批任务能够通过升级审批流快速完成审批。或者,在审批业务进程较多的情况下,原当前审批流还可以在升级审批流执行过程中中止或暂停当前审批流的审批执行,以节约系统当前审批资源占用,确保电子审批系统的有序高效审批执行进程。因此,在该待审批任务完成升级审批流的审批过程中,对该升级审批流的执行过程状态进行查询监测,来确定其审批执行状态。也即该审批执行状态为该待审批任务的升级审批流的审批执行过程状态,可以为“审批执行中”、“审批结束”等,具体可以通过相应的代码或者字段进行标记。In the embodiments of the present disclosure, on the basis of the current approval flow, in the process of matching the new upgraded approval flow for the task to be approved for accelerated approval, for the original current approval flow, the approval execution of the original task to be approved can continue to be maintained. , to ensure the normal approval operation of each node of the original current approval flow, and also to ensure that the tasks to be approved can be quickly approved by upgrading the approval flow. Alternatively, when there are many approval business processes, the original current approval flow can also suspend or suspend the approval execution of the current approval flow during the execution of the upgraded approval flow, so as to save the current approval resources of the system and ensure the orderly electronic approval system. Efficient approval and execution process. Therefore, when the task to be approved completes the approval process of the upgrade approval flow, the execution process status of the upgrade approval flow is queried and monitored to determine its approval execution status. That is, the approval execution status is the approval execution process status of the upgrade approval flow of the task to be approved.
当审批执行状态为审批结束时,可以根据该审批执行状态的标记字段相应生成对应的响应指令,响应于该响应指令,可以对该升级审批流的原当前审批流执行回转,回转可以理解为升级审批流结束执行,对原审批流执行回调,继续执行原当前审批流的待审批任务的审批进程。如此,可以在节约系统当前审批资源占用情况下,继续进行原待审批任务的当前审批流的审批执行,以确保原当前审批流的各个节点正常的审批操作,防止因升级审批流的加速执行造成审批错误情况的出现,实现对升级审批流的执行复核,同时还可以确保待审批任务能够通过升级审批流快速完成审批。When the approval execution status is the approval end, a corresponding response instruction can be generated according to the marked field of the approval execution status. In response to the response instruction, the original and current approval flow of the upgrade approval flow can be reversed, and the rotation can be understood as an upgrade After the approval flow finishes execution, the original approval flow is called back, and the approval process of the pending tasks in the current approval flow is continued. In this way, the approval execution of the current approval flow of the original to-be-approved task can be continued under the circumstance of saving the current approval resource occupation of the system, so as to ensure the normal approval operation of each node of the original current approval flow, and prevent the accelerated execution of the upgrade approval flow from causing problems. In case of approval errors, the implementation review of the upgrade approval flow can be realized, and at the same time, it can also ensure that the tasks to be approved can be quickly approved through the upgrade approval flow.
因此,相对于现有技术中审批流配置固定无法进一步实现审批优化的传统方式,本公开实施例的上述基于审批流配置的待审批任务执行方法可以在审批流配置的当前审批流基础上,进一步通过进一步自识别待审批业任务生成升级审批流,通过升级审批流显著简化审批流程,进一步加快审批速度,而且通过对当前审批流的回转确保原审批流程的执行,能够在加快审批的基础上,尽可能保证审批的准确性,降低因加快审批造成审批错误率,从而实现在审批流配置的基础上对任务审批过程的执行优化。Therefore, compared with the conventional method in the prior art in which the approval flow configuration is fixed and cannot further realize approval optimization, the above-mentioned method for executing tasks to be approved based on the approval flow configuration according to the embodiment of the present disclosure can be further based on the current approval flow configured in the approval flow. By further self-identifying the tasks to be approved, an upgrade approval flow is generated, the approval process is significantly simplified by upgrading the approval flow, and the approval speed is further accelerated, and the execution of the original approval process is ensured by reversing the current approval flow, which can accelerate the approval process. Ensure the accuracy of approval as much as possible and reduce the approval error rate caused by accelerated approval, so as to optimize the execution of the task approval process based on the approval flow configuration.
图3A示意性示出了根据本公开实施例的基于审批流配置的待审批任务执行方法中当前审批流执行过程的流程图;图3B示意性示出了根据本公开实施例的基于审批流配置的待审批任务执行方法中升级审批流执行过程的场景图;图4示意性示出了根据本公开实施例的基于审批流配置的待审批任务执行方法中的审批流执行回转过程的场景图。Fig. 3A schematically shows a flow chart of the current approval flow execution process in the method for executing a task to be approved based on an approval flow configuration according to an embodiment of the present disclosure; Fig. 3B schematically shows an approval flow configuration based on an embodiment of the present disclosure. Figure 4 schematically shows a scene diagram of the approval flow execution rotation process in the method for executing tasks to be approved based on the approval flow configuration according to an embodiment of the present disclosure.
如图2-图4所示,根据本公开实施例,在操作S201所述根据待审批任务的任务类型标识和预设审批流匹配规则,匹配所述待审批任务对应的当前审批流之前,还包括:As shown in FIG. 2 to FIG. 4 , according to an embodiment of the present disclosure, before matching the current approval flow corresponding to the to-be-approved task according to the task type identifier of the to-be-approved task and the preset approval flow matching rule in operation S201 , further include:
查询当前时刻的所述待审批任务;Query the task to be approved at the current moment;
解析与所述待审批任务相匹配的所述任务类型标识。Parse the task type identifier matching the to-be-approved task.
在本公开实施例中,对于电子审批系统而言,同一个用户可以通过提交页面提交多个待审批任务,但是对于这些多个待审批任务一般都是分时输入系统,因此,响应于用户起单提交操作,可以对当前时刻的待审批任务进行确认,进而可以从系统所接收的该用户的所有待审批任务中查询对应当前时刻的待审批任务,以获取该待审批任务,具体可以参见操作S301。其中,当前时刻可以理解为对应于本次用户的起单提交操作的时刻。In the embodiment of the present disclosure, for the electronic approval system, the same user can submit multiple tasks to be approved through the submission page, but these multiple tasks to be approved are generally entered into the system in time-sharing. The single submit operation can confirm the pending tasks at the current moment, and then query the pending tasks at the current moment from all the pending tasks received by the system for the user to obtain the pending tasks. For details, see Operation S301. Wherein, the current time can be understood as the time corresponding to the user's order-taking and submitting operation this time.
在接收到该待审批任务之后,对该待审批任务的电子审批业务文件进行解析操作,从而能够确定该待审批任务的任务类型标识和其相应的待审批信息等审批相关的内容。After receiving the to-be-approved task, the electronic approval business file of the to-be-approved task is parsed, so that the task type identifier of the to-be-approved task and its corresponding to-be-approved information and other approval-related content can be determined.
借此,可以实现简单快捷地对待审批任务的任务类型标识的确定,从而有助于通过任务类型标识对该待审批任务的当前审批流进行匹配配置。Thereby, the task type identifier of the to-be-approved task can be determined simply and quickly, thereby helping to match and configure the current approval flow of the to-be-approved task through the task type identifier.
待审批任务的任务单审批执行一般主要由起单、流转审批等流程节点组成实现,具体地流程控制配置化改造将涉及节点信息参数的配置。该节点信息参数包括业务类型、交易类型以及岗位信息的相应的节点参数,具体将一级分类、大原因、小原因、交易类型、涉及机构、各机构岗位数量、层级及权限等参数抽取至参数配置数据表中。提供参数配置数据表参数维护服务,同时增加双敲复核保证参数配置的正确性。把任务单的结单、退单、撤销、作废、保存、转高级机构等动作抽象成不同的服务单元,根据岗位权限参数动态组合成相应的审批流配置服务,根据机构和岗位层级自动匹配任务单流转审批流。The task list approval and execution of the task to be approved is generally implemented by process nodes such as order starting and circulation approval. Specifically, the configuration transformation of process control will involve the configuration of node information parameters. The node information parameters include business type, transaction type, and the corresponding node parameters of job information. Specifically, parameters such as primary classification, major cause, minor cause, transaction type, institutions involved, number of positions in each institution, level and authority are extracted to the parameters. configuration data sheet. Provide parameter maintenance service for parameter configuration data table, and increase double-knocking review to ensure the correctness of parameter configuration. It abstracts actions such as statement, refund, revocation, voiding, saving, and transfer of task orders into different service units, and dynamically combines them into corresponding approval flow configuration services according to job authority parameters, and automatically matches tasks according to the organization and job level. Single-transfer approval flow.
如图2-图4所示,根据本公开实施例,在操作S201所述根据待审批任务的任务类型标识和预设审批流匹配规则,匹配所述待审批任务对应的当前审批流中,包括:As shown in FIG. 2 to FIG. 4 , according to an embodiment of the present disclosure, in operation S201 , the current approval flow corresponding to the task to be approved is matched according to the task type identifier of the task to be approved and the preset approval flow matching rule, including: :
根据预设审批流匹配规则,匹配与所述任务类型标识对应的审批流标签:According to the preset approval flow matching rule, match the approval flow label corresponding to the task type identifier:
根据所述审批流标签查询所述待审批任务对应的当前审批流。The current approval flow corresponding to the to-be-approved task is queried according to the approval flow label.
在获取相应的待审批任务及其对应任务类型标识之后,通过预设审批流匹配规则,确定与该任务类型标识相互匹配的审批流标签。审批流标签为该预设审批流匹配规则相适应的预设审批流的匹配标签,不同的审批流标签用于反映该预设审批流的不同审批流程类型,审批流程类型用于定义该预设审批流的审批相关类型,如多级审批类型、同级审批类型等与审批执行逻辑相关内容。具体地,对于多级审批类型的应用场景,如二级子机构的经办岗用户提出的待审批任务,需要在二级子机构的主管、负责人审批之后,经二级子机构的上级的一级子机构的经办岗、主管和负责人审批,最后经总机构的经办岗、主管和负责人审批的多级权限审批,换言之,按照不同的机构权限级别,同一机构的不同岗位审核权限级别进行串行审批;对于同级审批类型的应用场景,如甲公司的经办岗用户提出的待审批任务,需要同时经过甲公司的主管、负责人审批之后,经与甲公司同级的乙机构和丙机构各自的经办岗、主管和负责人审批的同级结构审批,换言之,按照同级权限级别,同一机构的不同岗位审核权限级别进行机构并行审批。其中,相应的其他审批类型还可以包括上述串行和并行混合模式的审批类型,在此不作赘述。需要说明的是,上述的机构可以是公司、单位、企业、学校等,也可以是其中的某个组织、部门等。After obtaining the corresponding task to be approved and its corresponding task type identifier, the approval flow label matching the task type identifier is determined by preset approval flow matching rules. The approval flow label is the matching label of the preset approval flow that matches the preset approval flow matching rule. Different approval flow labels are used to reflect different approval process types of the preset approval flow, and the approval process type is used to define the preset Approval-related types of the approval flow, such as multi-level approval types, peer approval types, etc., are related to the approval execution logic. Specifically, for the application scenario of multi-level approval type, such as the pending task proposed by the handling post of the second-level subsidiary, it needs to be approved by the supervisor and person in charge of the second-level subsidiary, and then approved by the superior of the second-level subsidiary. Approved by the handling posts, supervisors and persons-in-charge of the first-level sub-organizations, and finally approved by the handling posts, supervisors and persons-in-charge of the head office with multi-level authority approval. Serial approval is carried out at the authority level; for application scenarios of the same level approval type, such as the pending approval task proposed by the handling post of company A, it needs to be approved by the supervisor and person in charge of company A at the same time, and then approved by the same level of company A. Institution B and Institution C are subject to the same-level structure approval of their respective handling posts, supervisors, and persons-in-charge. Wherein, the corresponding other approval types may also include the above-mentioned approval types in the mixed mode of serial and parallel, which will not be repeated here. It should be noted that the above-mentioned institutions may be companies, units, enterprises, schools, etc., or may be an organization, department, etc. therein.
预设审批流匹配规则可以基于任务类型标识-审批流标签-预设审批流之间的映射关系通过数据表的形式进行构建。因此,在获取该待审批任务的审批流标签之后,可以根据该映射关系在数据表等文件中执行查询操作,确定相应的预设审批流作为与该待审批任务相适应的当前审批流,具体参见操作S302。可见,相对于现有根据待审批任务进行流程节点灵活组合进行审批流的生成的传统方式,本案可以直接实现对当前审批流(即流程节点串,而非是单流程节点)的匹配,从而能够更快更准确地调取审批流,定义该待审批任务的审批类型对应的审批执行逻辑,避免传统方式的流程节点配置错误的问题。The preset approval flow matching rule may be constructed in the form of a data table based on the mapping relationship between the task type identifier-approval flow label-preset approval flow. Therefore, after obtaining the approval flow label of the to-be-approved task, a query operation can be performed in the data table and other files according to the mapping relationship to determine the corresponding preset approval flow as the current approval flow suitable for the to-be-approved task. Specifically, See operation S302. It can be seen that, compared with the existing traditional method of generating approval flow by flexibly combining process nodes according to tasks to be approved, this case can directly realize the matching of the current approval flow (that is, a string of process nodes, rather than a single process node), so as to be able to Call the approval flow faster and more accurately, define the approval execution logic corresponding to the approval type of the task to be approved, and avoid the problem of incorrect configuration of process nodes in the traditional way.
借此,通过预设审批流配置规则的设定,可以实现对当前审批流的快速准确配置,防止出现传统方式的流程节点错误配置的情况。In this way, through the setting of the preset approval flow configuration rules, the current approval flow can be quickly and accurately configured, and the misconfiguration of the process nodes in the traditional method can be prevented.
在本公开另一实施例中,审批流配置方法也可以基于流程审批的开始节点进行业务审批数据配置,然后进一步逐个节点进行匹配获取,最终形成业务审批流。In another embodiment of the present disclosure, the approval flow configuration method may also configure business approval data based on the starting node of the process approval, and then further perform matching and acquisition node by node to finally form a business approval flow.
具体地,首先获取开始节点,开始节点用于确定待审批的业务数据。根据一般的业务审批流的流向与配置习惯,先获取审批流配置必须要素的开始节点,该开始节点用于确定待审批的业务数据,不同的业务审批流对应的开始节点的权限属性可以不同,即不同的业务审批流开始节点可以接收部分或全部的用户发起的业务审批请求,开始节点是用于接收用户发起的业务审批请求的节点。Specifically, a start node is obtained first, and the start node is used to determine the business data to be approved. According to the flow direction and configuration habits of the general business approval flow, first obtain the start node of the necessary elements for the approval flow configuration. The start node is used to determine the business data to be approved. The permission attributes of the start node corresponding to different business approval flows can be different. That is, different service approval flow start nodes can receive some or all of the service approval requests initiated by users, and the start node is a node used to receive service approval requests initiated by users.
之后,获取一个或多个审批节点,审批节点用于对待审批的业务数据进行审核。在获取业务审批流的开始节点之后,此时需要根据该开始节点选择对应的审批节点,该审批节点用于对上述开始节点的待审批的业务数据进行审核,根据不同的实际需要,可能存在不同数量的审批节点,具体数量的审批节点在此不做限定。After that, one or more approval nodes are obtained, and the approval nodes are used to review the business data to be approved. After obtaining the start node of the business approval flow, the corresponding approval node needs to be selected according to the start node at this time. The approval node is used to review the business data to be approved of the above start node. According to different actual needs, there may be different The number of approval nodes, the specific number of approval nodes is not limited here.
然后,配置审批节点,其中审批节点的类型为层级关系节点,岗位关系节点或用户关系节点。在上述获取业务审批流的审批节点之后,此时可以对审批节点进行类型配置,设审批节点的类型包括层级关系节点、岗位关系节点以及用户关系节点这三种类型。层级关系节点用于表示该审批节点将按照企业组织架构的层级关系进行解析,岗位关系节点表示该审批节点按照企业组织架构的岗位关系进行解析,用户关系节点表示该审批节点按照具体的用户进行解析。层级关系节点或岗位关系节点可以视为一种变元用户,是一个变量。Then, configure the approval node, where the type of the approval node is a hierarchical relationship node, a post relationship node or a user relationship node. After the approval node of the business approval flow is obtained above, the approval node type can be configured at this time, and the types of the approval node include three types: hierarchical relationship node, post relationship node and user relationship node. The hierarchical relationship node is used to indicate that the approval node will be parsed according to the hierarchical relationship of the enterprise organizational structure, the post relationship node indicates that the approval node will be analyzed according to the post relationship of the enterprise organizational structure, and the user relationship node indicates that the approval node will be analyzed according to specific users. . A hierarchical relationship node or a position relationship node can be regarded as a kind of variable user, which is a variable.
进一步地,获取结束节点,结束节点用于结束待审批的业务数据的审核。在对获取的审批节点都进行配置之后,即按照业务审核的实际需要对特定的设审批节点都配置完成之后,可以进行在最后一个审批节点后获取结束节点,该结束节点用于结束该待审批的业务数据的审核。Further, an end node is acquired, and the end node is used to end the review of the business data to be approved. After all the obtained approval nodes are configured, that is, after the specific approval nodes are configured according to the actual needs of business review, the end node can be obtained after the last approval node, and the end node is used to end the pending approval. audit of business data.
之后,再使用流转线条将开始节点、一个或多个审批节点以及结束节点依次连接,得到业务审批流。在上述获取该业务审批流的结束节点之后,该业务审批流的全部必需要素中的节点就全部获取完成,此时可以使用流转线条将开始节点、一个或多个的审批节点以及结束节点依次连接,即可得到业务审批流。所谓流转线条用于指示业务审批流的业务数据从一个节点流转到另一个节点。流转线条用于记录两个节点的流向关系,记录从一个节点流转到另一个节点。在业务审批流设计时会将节点关系信息存储到数据库表,然后在业务审批流运行时从开始节点开始,寻找节点的上下游关系,通过这个关系将节点连接起来构建成一个业务审批流。具体的,在数据库表中存储的数据结构为:每一个节点是一条记录,每一个流转线条也是一条记录,节点记录上会记录审批权限配置信息,流转线条上会记录流转条件、线条连接的开始节点和目标节点的ID等信息。后续通过这些信息在业务审批流运行时则可以解析出具体的审批线路。After that, use the flow line to connect the start node, one or more approval nodes, and the end node in sequence to obtain the business approval flow. After the end node of the business approval flow is obtained above, all the nodes in all the necessary elements of the business approval flow are obtained. At this time, the flow line can be used to connect the start node, one or more approval nodes and the end node in sequence. , you can get the business approval flow. The so-called flow line is used to indicate that the business data of the business approval flow flows from one node to another node. The flow line is used to record the flow relationship between two nodes, from one node to another. When the business approval flow is designed, the node relationship information will be stored in the database table. Then, when the business approval flow is running, it will start from the start node to find the upstream and downstream relationships of the nodes, and connect the nodes through this relationship to build a business approval flow. Specifically, the data structure stored in the database table is: each node is a record, each flow line is also a record, the node record will record the approval authority configuration information, and the flow line will record the flow conditions and the start of the line connection Information such as the ID of the node and the target node. Subsequent to this information, the specific approval line can be parsed when the business approval flow is running.
因此,该业务审批流的审批节点配置过程即可以配置各种审批节点,依据各个审批节点去对接实现使用具有变元性质的审批节点配置业务审批流时,可以实现一次性配置多条业务审批流。但是,这相对于上述审批流的整体匹配生成,在实际落地之后由于现有系统的运维管理技术限制,仍然会存在审批节点匹配不够准确的情况,从而影响相应的审批配置管理效率。Therefore, in the approval node configuration process of the business approval flow, various approval nodes can be configured, and when the approval nodes with variable properties are used to configure the business approval flow according to the docking of each approval node, multiple business approval flows can be configured at one time. . However, compared with the overall matching generation of the above approval flow, after the actual implementation, due to the limitations of the operation and maintenance management technology of the existing system, there will still be insufficient matching of approval nodes, thus affecting the corresponding approval configuration management efficiency.
如图2-图4所示,根据本公开实施例,在操作S202所述基于所述当前审批流的当前审批要求度和所述待审批任务的任务要求度,匹配所述当前审批流对应的升级审批流之前,还包括:As shown in FIGS. 2 to 4 , according to an embodiment of the present disclosure, in operation S202 , based on the current approval requirement degree of the current approval flow and the task requirement degree of the to-be-approved task, match the current approval flow corresponding to the Before upgrading the approval flow, also include:
在执行所述当前审批流之前,解析所述待审批任务的字段解析结果;Before executing the current approval flow, parse the field parsing result of the task to be approved;
根据字段解析结果确定待审批任务的任务要求度。Determine the task requirement degree of the task to be approved according to the field analysis result.
待审批任务可以基于电子审批业务文件的形式在电子审批系统中执行业务传输操作,其中,每个待审批任务的都在起单提交之时通过如用户手工填写操作进行定义的此次业务审批的待审批信息,如审批事件信息(如请假、请款等)、用户身份信息(如姓名、级别或权限、年龄、工号等)、审批说明信息(如怀孕、生病、客户业务要求等审批理由)、审批级别信息(如普通、中等、紧急、特殊等审批级别)。对于上述待审批信息可以建立一个固定的字段信息库,即通过不同的字段来定义的不同的待审批信息,其中,字段可以是数字、字母甚至汉语文字组成的代码,如100代表怀孕,200代表生病等。The tasks to be approved can be transferred in the electronic approval system based on the electronic approval business documents, in which, each task to be approved is defined by the user manually filling in the operation for this business approval when the order is submitted. Information to be approved, such as approval event information (such as leave, money, etc.), user identity information (such as name, level or authority, age, job number, etc.), approval explanation information (such as pregnancy, illness, customer business requirements, etc.) ), approval level information (such as normal, medium, urgent, special and other approval levels). For the above information to be approved, a fixed field information base can be established, that is, different information to be approved is defined by different fields, wherein the fields can be codes composed of numbers, letters or even Chinese characters, such as 100 for pregnancy, 200 for sick etc.
进一步地,不同的字段代表不同的审批信息,定义相应的审批事件、审批说明、审批级别以及用户身份等内容。在本公开的实施例中,电子审批系统的处理数据形式可以为xml格式的电子审批业务文件,其中,xml格式文件为类似于html文件的可拓展标记语言的数据文件,主要应用于数据或者信息传输。具体地,创建document对象,向系统执行该document对象的写入操作,形成xml格式文件。其中,该xml格式文件可以包含xml版本解析器和编码,相应的API可以为<Document.DocumenHelper.createrDocument>。进一步地,创建符合上述xml文件格式的待审批信息对应的字段的字符串,将上述字符串输出转换为xml文件。之后,对已存在的该xml文件加载到系统内存,形成倒状的树结构,其中,根即document对象。获取该根的根节点的名字并获取根节点下的直接子节点的个数和名字。解析所有根节点的节点属性值以及所有根节点下的子节点内容,从而能够解析得到相应的待审批信息的字段内容,这些字段内容即可以构成上述的字段解析结果。即,在完成对上述待审批任务对应的电子审批业务文件的解析操作之后,可以对待审批信息进行解析,生成字段解析结果,参见操作S303。Further, different fields represent different approval information, and content such as corresponding approval events, approval descriptions, approval levels, and user identities are defined. In the embodiment of the present disclosure, the processing data form of the electronic approval system may be an electronic approval business file in xml format, wherein the xml format file is a data file in an extensible markup language similar to an html file, and is mainly applied to data or information transmission. Specifically, a document object is created, and the writing operation of the document object is performed to the system to form an xml format file. Wherein, the xml format file may include an xml version parser and encoding, and the corresponding API may be <Document.DocumenHelper.createrDocument>. Further, a character string corresponding to the field corresponding to the information to be approved in the above-mentioned xml file format is created, and the above-mentioned character string output is converted into an xml file. After that, load the existing xml file into the system memory to form an inverted tree structure, in which the root is the document object. Get the name of the root node of the root and get the number and name of the direct child nodes under the root node. The node attribute values of all root nodes and the contents of sub-nodes under all root nodes are parsed, so that the corresponding field contents of the information to be approved can be obtained by parsing, and these field contents can constitute the above-mentioned field parsing result. That is, after the parsing operation of the electronic approval service file corresponding to the task to be approved is completed, the pending approval information may be parsed to generate a field parsing result, see operation S303.
在字段信息库中通过建立这些字段解析结果与不同的审批要求度之间的关系时,就可以实现根据待审批任务的字段解析结果在字段信息库中查询相应的该待审批任务对应的任务要求度。其中,对于字段解析结果也可以是通过上述待审批信息中的之一进行确定,如对于怀孕请假的事项,字段信息库中可以直接对符合该事件的请假审批任务匹配相应的紧急审批流的高审批要求度,同样对于一些特殊的需要进行加速处理的也可以仅通过字段解析结果对其任务审批要求度进行匹配,具体参见操作S304。When the relationship between these field analysis results and different approval requirements is established in the field information database, it is possible to query the corresponding task requirements corresponding to the task to be approved in the field information database according to the field analysis results of the task to be approved. Spend. Among them, the field analysis result can also be determined by one of the above-mentioned pending approval information. For example, for the matter of pregnancy leave, the field information database can directly match the leave approval task that matches the event to the corresponding emergency approval flow. As for the approval requirement degree, the task approval requirement degree can also be matched only through the field analysis result for some special needs to be accelerated. For details, see operation S304.
如此,便能够实现对待审批任务的当前审批的任务要求度的识别确认,仅通过对当前的待审批任务的待审批信息中的某些特定字段进行简单识别,就可以确认当前审批的任务要求度的具体参数大小,从而能够在审批流配置的基础上,通过对待审批任务的审批信息的增强性识别,识别其符合相应审批要求度的字段,通过这些字段对该待审批任务的任务要求度进行确定。In this way, the identification and confirmation of the task requirement degree of the current approval of the task to be approved can be realized, and the task requirement degree of the current approval can be confirmed only by simply identifying some specific fields in the pending approval information of the current task to be approved. Therefore, based on the configuration of the approval flow, through the enhanced identification of the approval information of the task to be approved, the fields that meet the corresponding approval requirements can be identified, and the task requirements of the to-be-approved task can be evaluated through these fields. Sure.
因此,在审批流配置执行的基础上,本公开实施例可以进一步自主实现对该当前审批流的待审批任务的审批信息识别,从而可以进一步识别该待审批任务的任务要求度,通过该任务要求度来判断相应的待审批任务是否需要进行审批流升级操作,即在原当前审批流的执行或者中止执行基础上,进一步新建一个新的更简化的升级审批流的执行进程,从而能够基于系统角度加快当前审批流的待审批任务的审批速度。Therefore, on the basis of the configuration and execution of the approval flow, the embodiments of the present disclosure can further autonomously realize the identification of approval information of the task to be approved in the current approval flow, so that the task requirement degree of the task to be approved can be further identified. To judge whether the corresponding pending approval task needs to be upgraded to the approval flow, that is, on the basis of the execution or suspension of the original current approval flow, a new and simplified execution process of the upgraded approval flow is created, which can speed up the process from a system perspective. The approval speed of the pending tasks in the current approval flow.
如图2-图4所示,根据本公开实施例,在操作S202所述基于所述当前审批流的当前审批要求度和所述待审批任务的任务要求度,匹配所述当前审批流对应的升级审批流中,包括:As shown in FIG. 2 to FIG. 4 , according to an embodiment of the present disclosure, in operation S202 , based on the current approval requirement degree of the current approval flow and the task requirement degree of the to-be-approved task, match the current approval flow corresponding to the In the escalation approval flow, including:
当所述当前审批要求度小于所述任务要求度时,筛选所述当前审批流的多个流程审批节点,生成所述升级审批流;When the current approval requirement degree is less than the task requirement degree, screening multiple process approval nodes of the current approval flow to generate the upgrade approval flow;
当所述当前审批要求度大于所述任务要求度时,执行所述当前审批流。When the current approval requirement degree is greater than the task requirement degree, the current approval flow is executed.
在操作S305中,对于待审批任务对应匹配当前审批流的当前审批要求度小于该待审批任务的任务要求度时,则说明相对于当前审批流的审批执行的紧急程度小于该待审批任务所需的审批执行的紧急程度,即该当前审批流审批执行的流程节点过多,流程流转执行逻辑过于复杂,不利于满足待审批任务的紧急执行的要求。换言之,待审批任务的任务要求度与该当前审批流的当前审批要求度不匹配,这就需要考虑对该当前审批流的多个流程审批节点进行筛选,筛选处理的主要操作目的在于简化现有的当前审批流的流程节点和流程流转执行逻辑,形成新的升级审批流,用于匹配该当前时刻亟待执行的待审批任务,具体参见操作S311、S351和S401。此时,对于原有执行的当前审批流而言,可以先中止或暂停审批执行。In operation S305, when the current approval requirement degree of the task to be approved that matches the current approval flow is smaller than the task requirement degree of the to-be-approved task, it means that the urgency of the approval execution relative to the current approval flow is less than that required by the to-be-approved task The urgency of the approval execution, that is, the current approval flow has too many process nodes for approval and execution, and the process flow execution logic is too complicated, which is not conducive to meeting the urgent execution requirements of the tasks to be approved. In other words, the task requirement degree of the task to be approved does not match the current approval requirement degree of the current approval flow, so it is necessary to consider screening multiple process approval nodes of the current approval flow. The main purpose of the screening process is to simplify the existing The process node of the current approval flow and the flow execution logic of the process flow form a new upgrade approval flow, which is used to match the pending approval task that needs to be executed urgently at the current moment. For details, refer to operations S311, S351 and S401. At this point, for the current approval flow of the original execution, you can abort or suspend the approval execution first.
相反,对于待审批任务对应匹配当前审批流的当前审批要求度大于该待审批任务的任务要求度时,则说明相对于当前审批流的审批执行的紧急程度大于该待审批任务所需的审批执行的紧急程度,即该当前审批流审批执行的流程节点并不多,流程流转执行逻辑也并不复杂,满足待审批任务的执行要求。换言之,待审批任务的任务要求度与该当前审批流的当前审批要求度相匹配,这就不需要再考虑对该当前审批流的多个流程审批节点进行筛选简化,只需要按照当前审批流的流程节点和流程流转执行逻辑继续流转执行即可,具体参见操作S306。也即,原当前审批流继续保持执行待审批任务即可。On the contrary, when the current approval requirement degree of the task to be approved that matches the current approval flow is greater than the task requirement degree of the to-be-approved task, it means that the urgency of the approval execution relative to the current approval flow is greater than the approval execution required by the to-be-approved task. The urgency of the current approval flow, that is, there are not many process nodes for approval and execution in the current approval flow, and the process flow execution logic is not complicated, which meets the execution requirements of the tasks to be approved. In other words, the task requirement degree of the task to be approved matches the current approval requirement degree of the current approval flow, so there is no need to consider the screening and simplification of multiple process approval nodes of the current approval flow. The process node and the process flow execution logic may continue to flow and execute. For details, refer to operation S306. That is, the original and current approval flow can continue to execute the pending approval tasks.
因此,通过上述升级审批流的新建,可以实现对当前审批流的审批紧急程度的只升不降,由于升级审批流是在简化当前审批流的流程节点和流转逻辑基础上生成的,这就可以实现对当前审批流的待审批任务的加速审批,而且还能够不影响原当前审批流的审批操作,如此,相对于现有审批流配置的流程节点的自由组合导致资源占用较大且易于组合配置出错的情况,可以仅对已有执行逻辑的当前审批流进行简化得到升级审批流,从而极大地节省资源占用,降低审批流配置出错率,极大加快审批速度,保证审批的准确性。Therefore, by creating the above-mentioned upgrade approval flow, the approval urgency of the current approval flow can only be increased but not lowered. Since the upgrade approval flow is generated on the basis of simplifying the process nodes and flow logic of the current approval flow, this can Accelerates the approval of tasks pending approval in the current approval flow without affecting the approval operation of the original approval flow. In this way, the free combination of process nodes configured in the existing approval flow results in a larger resource occupation and is easy to configure. In the case of errors, only the current approval flow with existing execution logic can be simplified to obtain an upgraded approval flow, which greatly saves resources, reduces the error rate of approval flow configuration, greatly speeds up approval, and ensures the accuracy of approval.
如图2-图4所示,根据本公开实施例,在所述当所述当前审批要求度小于所述任务要求度时,筛选所述当前审批流的多个流程审批节点,生成所述升级审批流中,包括:As shown in FIGS. 2-4 , according to an embodiment of the present disclosure, when the current approval requirement degree is less than the task requirement degree, multiple process approval nodes of the current approval flow are screened to generate the upgrade In the approval flow, including:
根据所述多个流程审批节点的节点权限信息筛除与所述任务要求度相匹配的至少一个中间流程审批节点;Filter out at least one intermediate process approval node matching the task requirement degree according to the node authority information of the plurality of process approval nodes;
组合所述至少一个中间流程审批节点筛除之后的其他流程审批节点,生成所述升级审批流。The upgrade approval flow is generated by combining other process approval nodes screened out by the at least one intermediate process approval node.
对于当前审批流中的每个流程审批节点而言,节点权限信息可以为对应的流程审批节点的审批权限内容,用于反映该流程审批节点对应的审批岗位,如对于同一机构中,经办人对应的流程审批节点的节点权限信息为低权限,主管对应的流程审批节点的节点权限信息为中权限,负责人对应的流程审批节点的节点权限信息为高权限,总负责人对应的流程审批节点的节点权限信息为最高权限,也即同一机构的审批过程,需要依次经过经办人-主管-负责人-总负责人的串行审批,才算审批通过。中间审批流程节点为该当前审批流中定义的起始审批流程节点和终止审批流程节点之间的审批节点,如上述串行审批的经办人-主管-负责人-总负责人的审批流,主管和负责人视为中间审批流程节点。For each process approval node in the current approval flow, the node authority information can be the approval authority content of the corresponding process approval node, which is used to reflect the approval position corresponding to the process approval node. The node authority information of the corresponding process approval node is low authority, the node authority information of the process approval node corresponding to the supervisor is medium authority, the node authority information of the process approval node corresponding to the person in charge is high authority, and the process approval node corresponding to the general person in charge The node authority information of the node is the highest authority, that is, the approval process of the same organization needs to go through the serial approval of the manager-supervisor-person-in-charge-general-in-charge in order to be considered approved. The intermediate approval process node is the approval node between the start approval process node and the termination approval process node defined in the current approval flow, such as the approval flow of the above-mentioned serial approval operator-supervisor-person in charge-general in charge, Supervisors and principals are considered intermediate approval process nodes.
在所述当所述当前审批要求度小于所述任务要求度时,当前审批流的当前审批要求度与该待审批任务的任务要求度并不匹配,因此,按照该待审批任务的任务要求度的大小,将并行审批类型的该当前审批流对应的每个机构中的相应数量的中间流程审批节点予以删除,或者将串行审批类型的该当前审批流对应的相应数量的中间流程审批节点予以删除。如将甲机构的当前审批流的“经办人-主管-负责人-总负责人”中的“主管-负责人”至少一个中间流程节点予以删除,同时对应将乙机构的当前审批流的“经办人-主管-负责人-总负责人”中的“主管-负责人”至少一个中间流程节点予以删除;或者,将二级子机构-一级子机构-总机构的串行审批流中涉及一级子机构的所有流程节点或其连同二级子机构和总机构中的部分中间流程节点作为中间流程节点予以删除,从而实现对当前审批流的筛选简化。其中,删除中间流程节点的数量具体可以依据任务要求度大小而定。When the current approval requirement degree is less than the task requirement degree, the current approval requirement degree of the current approval flow does not match the task requirement degree of the to-be-approved task, therefore, according to the task requirement degree of the to-be-approved task delete the corresponding number of intermediate process approval nodes in each institution corresponding to the current approval flow of the parallel approval type, or delete the corresponding number of intermediate process approval nodes corresponding to the current approval flow of the serial approval type delete. For example, delete at least one intermediate process node of "Director-Responsible Person" in "Attorney-Supervisor-Person-in-Charge-General Manager" of the current approval flow of Institution A, and correspondingly delete the "Manager-in-charge" of the current approval flow of Institution B. At least one intermediate process node of "Director-Responsible Person" in the "Manager-Supervisor-Responsible Person-General Manager" is deleted; All process nodes involved in the first-level sub-organization or some intermediate process nodes in the second-level sub-organization and the head office are deleted as intermediate process nodes, so as to simplify the screening of the current approval flow. The number of deleted intermediate process nodes may be specifically determined according to the degree of task requirement.
进一步地,基于该当前审批流的简化筛除操作,对剩余的当前审批流的其他流程审批节点按照该当前审批流的原有流程流转执行逻辑所定义的审批节点执行顺序,对这些经过筛除操作之后剩余的其他流程审批节点进行组合配置操作,从而能够生成相应的基于当前审批流的简化操作的升级审批流。其中,该升级审批流的起始审批节点可以为该当前审批流中涉及的该待审批任务的字段解析的执行节点。Further, based on the simplified screening operation of the current approval flow, other process approval nodes of the remaining current approval flow are executed according to the approval node execution order defined by the original process flow execution logic of the current approval flow. After the operation, other remaining process approval nodes perform combined configuration operations, so that a corresponding upgrade approval flow based on the simplified operation of the current approval flow can be generated. Wherein, the starting approval node of the upgrade approval flow may be an execution node of field parsing of the to-be-approved task involved in the current approval flow.
如此,相对于现有审批流配置的流程节点的自由组合导致资源占用较大且易于组合配置出错的情况,可以仅对已有执行逻辑的当前审批流进行简化得到升级审批流,从而极大地节省资源占用,降低审批流配置出错率,极大加快审批速度,保证审批的准确性。In this way, compared to the situation where the free combination of process nodes configured in the existing approval flow results in a large resource occupation and is prone to combination configuration errors, it is possible to simplify the current approval flow with the existing execution logic to obtain an upgraded approval flow, which greatly saves money. Resource occupation, reduce the error rate of approval flow configuration, greatly speed up the approval speed, and ensure the accuracy of approval.
如图2-图4所示,根据本公开实施例,在所述执行所述当前审批流中,包括:As shown in FIGS. 2-4 , according to an embodiment of the present disclosure, the executing the current approval flow includes:
查询当前审批流的当前流程审批节点的当前审批时间;Query the current approval time of the current process approval node of the current approval flow;
当所述当前审批时间大于第一时间阈值时,向所述当前流程审批节点发起提示操作;When the current approval time is greater than the first time threshold, initiate a prompt operation to the current process approval node;
查询当前流程审批节点对应所述提示操作的当前提示时间;Query the current prompt time of the prompt operation corresponding to the current process approval node;
当所述当前提示时间大于第二时间阈值时,匹配所述当前审批流对应的第一更新审批流。When the current prompt time is greater than the second time threshold, the first update approval flow corresponding to the current approval flow is matched.
在操作S307-S310中,在执行当前审批流的过程中,对于每一个流程审批节点都需要进行对应审批岗位的审批人的推送,将节点推送至对应的审批人。对应于当前的审批人推送的流程审批节点可以作为该待审批任务的当前流程审批节点。In operations S307-S310, in the process of executing the current approval flow, for each process approval node, it is necessary to push the approver corresponding to the approval position, and the node is pushed to the corresponding approver. The process approval node pushed by the current approver can be used as the current process approval node of the task to be approved.
对于每个审批岗位的审批人而言,可以自推送审批节点的操作执行起,计算相应的审批时间,该审批时间用于作为对应流程审批节点的审批人的总需要的审批时间,如24小时或更久等,具体可以根据岗位权限等进行匹配设置,在此不作具体限制。当前审批时间为待审批任务在该当前流程审批节点的实时审批所经过的时间。审批时间阈值则为对应每个流程审批节点所设定的审批人所需的最大审批限制时间。第一时间阈值为对应的当前流程审批节点的审批人所需的最大审批限制时间。For the approver of each approval position, the corresponding approval time can be calculated from the execution of the operation of pushing the approval node. The approval time is used as the total required approval time of the approver of the corresponding process approval node, such as 24 hours. Or wait for a longer time, you can set the matching according to the position permissions, etc., and there are no specific restrictions here. The current approval time is the time elapsed for the real-time approval of the task to be approved at the current process approval node. The approval time threshold is the maximum approval time limit required by the approver set corresponding to each process approval node. The first time threshold is the maximum approval time limit required by the approver of the corresponding current process approval node.
当当前流程审批节点的审批人的当前审批时间超过该第一时间阈值时,则说明该审批人未在规定的限制审批时间中完成对该当前流程审批节点的审批操作。此时,可以据此对该当前流程审批节点进行提示操作,如发短信、发邮件、电脑开机弹窗和语音留言等方式。即,该提示操作为向审批人进行审批执行的提醒操作。When the current approval time of the approver of the current process approval node exceeds the first time threshold, it means that the approver has not completed the approval operation of the current process approval node within the specified limited approval time. At this time, prompt operations can be performed on the current process approval node, such as sending text messages, sending emails, computer startup pop-ups, and voice messages. That is, the prompt operation is a prompt operation for the approver to perform the approval.
相应地,对于每个审批岗位的审批人而言,可以自发起提示操作的操作执行起,计算相应的提示时间,该提示时间用于作为对应流程审批节点的审批人的总需要的提示反应时间,如24小时或更久等,具体可以根据岗位权限等进行匹配设置,在此不作具体限制。当前提示时间为待审批任务在该当前流程审批节点的实时提示操作之后所经过的时间。提示时间阈值则为对应每个流程审批节点所设定的审批人所需的最大提示反馈限制时间。第二时间阈值为对应的当前流程审批节点的审批人所需的最大提示反馈限制时间。Correspondingly, for the approver of each approval position, the corresponding prompt time can be calculated from the execution of the operation that initiates the prompt operation, and the prompt time is used as the total required prompt response time of the approver of the corresponding process approval node. , such as 24 hours or more, which can be matched and set according to the position permissions, etc., and no specific restrictions are imposed here. The current prompt time is the time elapsed after the real-time prompt operation of the current process approval node for the task to be approved. The prompt time threshold is the maximum prompt feedback limit time required by the approver set corresponding to each process approval node. The second time threshold is the maximum prompt feedback limit time required by the approver of the corresponding current process approval node.
当当前流程审批节点的审批人的当前提示时间超过该第二时间阈值时,则说明该审批人未在规定的限制提示时间中完成对该当前流程审批节点的审批操作作为对该提示操作的反馈。此时,可以根据当前审批流的该当前流程审批节点生成新的审批流作为第一更新审批流,来实现对该当前审批流的当前流程审批节点的替换更新。其中,第一更新审批流为该当前审批流的替代审批流,对该当前审批流无法继续在规定时间之内执行审批的当前流程审批节点及其后续节点进行统一替换。并且,为弥补当前流程审批节点所耽误的第一时间阈值和第二时间阈值,对该第一更新审批流中的其他后续审批节点的审批时间阈值和提示时间阈值进行适应性减小设置,从而确保整个对应当前审批流的待审批任务的整体审批流程不至于延时过长。同时,对原当前审批流执行终止,结束当前审批流的执行,待审批任务后续仅通过第一更新审批流定义的审批流程进行审批程序。When the current prompt time of the approver of the current process approval node exceeds the second time threshold, it means that the approver has not completed the approval operation of the current process approval node within the specified limit prompt time as the feedback of the prompt operation . At this time, a new approval flow may be generated according to the current process approval node of the current approval flow as the first update approval flow, so as to realize the replacement and update of the current process approval node of the current approval flow. Wherein, the first update approval flow is an alternative approval flow of the current approval flow, and the current process approval node and its subsequent nodes for which the current approval flow cannot continue to perform approval within the specified time are uniformly replaced. In addition, in order to make up for the first time threshold and the second time threshold delayed by the current process approval node, the approval time threshold and prompt time threshold of other subsequent approval nodes in the first update approval flow are adaptively reduced and set, so that Ensure that the overall approval process of the tasks to be approved corresponding to the current approval flow is not delayed too long. At the same time, the execution of the original current approval flow is terminated, and the execution of the current approval flow is ended, and the subsequent approval tasks are only approved through the approval process defined by the first update approval flow.
因此,通过第一更新审批流的生成,完成对无法有效进行审批执行操作的当前流程审批节点的跳过,进一步地,通过第一更新审批流的后续审批时间阈值和提示时间阈值的缩减,能够保证待审批任务的整体审批时间与原当前审批流的审批执行时间相差无几,从而保证了待审批任务在预定的时间范围内能顺利完成。Therefore, through the generation of the first update approval flow, the skipping of the current process approval node that cannot effectively perform the approval execution operation is completed. Further, by reducing the subsequent approval time threshold and prompt time threshold of the first update approval flow, it is possible It is ensured that the overall approval time of the task to be approved is almost the same as the approval execution time of the original current approval flow, thereby ensuring that the task to be approved can be successfully completed within the predetermined time range.
如图2-图4所示,根据本公开实施例,在所述匹配所述当前审批流对应的第一更新审批流中,包括:As shown in FIGS. 2-4 , according to an embodiment of the present disclosure, the first update approval flow corresponding to the matching current approval flow includes:
查询与所述当前流程审批节点的节点权限信息一致的备用流程审批节点;query the standby process approval node that is consistent with the node authority information of the current process approval node;
组合所述备用流程审批节点和筛除所述当前流程审批节点之后的与所述当前审批流对应的多个流程审批节点,生成所述第一更新审批流;Combining the standby process approval node and multiple process approval nodes corresponding to the current approval flow after the current process approval node is filtered out, to generate the first update approval flow;
其中,所述第一更新审批流中每个流程审批节点所对应的审批时间阈值小于所述当前审批流中的每个流程审批节点所对应的审批时间阈值,且所述第一更新审批流中每个流程审批节点所对应的提示时间阈值小于所述当前审批流中的每个流程审批节点所对应的提示时间阈值。Wherein, the approval time threshold corresponding to each process approval node in the first update approval flow is smaller than the approval time threshold corresponding to each process approval node in the current approval flow, and in the first update approval flow The prompt time threshold corresponding to each process approval node is smaller than the prompt time threshold corresponding to each process approval node in the current approval flow.
备用流程审批节点为对应当前流程审批节点的备用节点,具体地,该备用流程审批节点和当前审批流程节点对应的审批岗位权限一致,其中,符合该审批岗位权限的审批操作执行的审批人可以有多个,该备用流程审批节点对应的审批人与该当前审批流程节点对应的审批人不一致。其中,对应于相同审批岗位权限的审批人按照设定的备用顺序,在当前流程审批节点无法继续有效进行审批的情况下,对该当前流程审批节点对应的审批人进行顺位查询并执行替换,从而形成新的备用流程审批节点。The standby process approval node is the standby node corresponding to the current process approval node. Specifically, the standby process approval node has the same approval post authority corresponding to the current approval process node, and the approver who performs the approval operation that conforms to the approval post authority may have If there are more than one, the approver corresponding to the standby process approval node is inconsistent with the approver corresponding to the current approval process node. Among them, the approvers corresponding to the authority of the same approval position are in accordance with the set standby sequence. If the current process approval node cannot continue to effectively approve the approval, the order of the approvers corresponding to the current process approval node is queried and replaced. Thereby, a new standby process approval node is formed.
将上述备用流程审批节点和筛除原当前流程审批节点之后的其余的当前审批流的多个流程审批节点进行组合,生成对应的第一更新审批流。同时,在组合过程中,对应于该筛除原当前流程审批节点之后的其余的当前审批流的多个流程审批节点中每个流程审批节点进行审批时间阈值和提示时间阈值的缩减,使得前述当前流程审批节点所耽误的审批时间和提示时间能够得到有效的弥补,从而维持整体审批流程的审批时间保持在合理的设定范围之内。也即,所述第一更新审批流中备用流程审批节点所对应的审批时间阈值小于所述第一时间阈值,且对应的提示时间阈值小于所述第二时间阈值,具体可以依据相应的整体时间范围进行第一更新审批流中每个流程审批节点的审批时间和提示时间的调整。A corresponding first update approval flow is generated by combining the above-mentioned standby process approval node and multiple process approval nodes of the remaining current approval flow after screening out the original current process approval node. At the same time, in the combining process, each process approval node in the multiple process approval nodes corresponding to the remaining current approval flow after the original current process approval node is filtered out reduces the approval time threshold and the prompt time threshold, so that the aforementioned current process approval time threshold is reduced. The approval time and prompt time delayed by the process approval node can be effectively compensated, so as to maintain the approval time of the overall approval process within a reasonable set range. That is, the approval time threshold corresponding to the standby process approval node in the first update approval flow is smaller than the first time threshold, and the corresponding prompt time threshold is smaller than the second time threshold. The scope is used to adjust the approval time and prompt time of each process approval node in the first update approval flow.
因此,通过第一更新审批流的生成,完成对当前审批流执行过程中无法有效进行审批执行操作的当前流程审批节点的跳过,进一步地,通过第一更新审批流的后续审批时间阈值和提示时间阈值的缩减,能够保证待审批任务的整体审批时间与原当前审批流的审批执行时间范围相差无几,从而保证了待审批任务在预定的时间范围内能顺利完成。最后,在生成第一更新审批流的同时,终止原当前审批流的审批执行,可以显著减小系统资源占用,确保系统的审批执行更加稳定高效。Therefore, through the generation of the first update approval flow, the skipping of the current process approval node that cannot effectively perform the approval execution operation during the execution of the current approval flow is completed, and further, the subsequent approval time threshold and prompt of the first update approval flow are completed. The reduction of the time threshold can ensure that the overall approval time of the task to be approved is almost the same as the approval execution time range of the original current approval flow, thus ensuring that the task to be approved can be successfully completed within the predetermined time range. Finally, when the first update approval flow is generated, the approval execution of the original current approval flow is terminated, which can significantly reduce the occupation of system resources and ensure that the approval execution of the system is more stable and efficient.
如图2-图4所示,根据本公开实施例,在操作S202所述基于所述当前审批流的当前审批要求度和所述待审批任务的任务要求度,匹配所述当前审批流对应的升级审批流之后,还包括:As shown in FIGS. 2 to 4 , according to an embodiment of the present disclosure, in operation S202 , based on the current approval requirement degree of the current approval flow and the task requirement degree of the to-be-approved task, match the current approval flow corresponding to the After upgrading the approval flow, it also includes:
查询所述升级审批流的当前流程审批节点的当前审批时间;query the current approval time of the current process approval node of the upgrade approval flow;
当所述当前审批时间大于第三时间阈值时,向所述当前流程审批节点发起提示操作;When the current approval time is greater than a third time threshold, initiate a prompt operation to the current process approval node;
查询当前流程审批节点对应所述提示操作的当前提示时间;Query the current prompt time of the prompt operation corresponding to the current process approval node;
当所述当前提示时间大于第四时间阈值时,匹配所述升级审批流对应的第二更新审批流。When the current prompt time is greater than the fourth time threshold, the second update approval flow corresponding to the upgrade approval flow is matched.
对应于上述当前审批流的执行操作,在操作S312-S315中,在执行升级审批流的过程中,对于每一个流程审批节点都需要进行对应审批岗位的审批人的推送,将节点推送至对应的审批人。对应于当前的审批人推送的流程审批节点可以作为该待审批任务的当前流程审批节点。Corresponding to the above execution operation of the current approval flow, in operations S312-S315, in the process of executing the upgrade approval flow, for each process approval node, it is necessary to push the approver of the corresponding approval position, and push the node to the corresponding approval flow. Approver. The process approval node pushed by the current approver can be used as the current process approval node of the task to be approved.
对于每个审批岗位的审批人而言,可以自推送审批节点的操作执行起,计算相应的审批时间,该审批时间用于作为对应流程审批节点的审批人的总需要的审批时间,如24小时或更久等,具体可以根据岗位权限等进行匹配设置,在此不作具体限制。当前审批时间为待审批任务在该当前流程审批节点的实时审批所经过的时间。审批时间阈值则为对应每个流程审批节点所设定的审批人所需的最大审批限制时间。第一时间阈值为对应的当前流程审批节点的审批人所需的最大审批限制时间。For the approver of each approval position, the corresponding approval time can be calculated from the execution of the operation of pushing the approval node. The approval time is used as the total required approval time of the approver of the corresponding process approval node, such as 24 hours. Or wait for a longer time, you can set the matching according to the position permissions, etc., and there are no specific restrictions here. The current approval time is the time elapsed for the real-time approval of the task to be approved at the current process approval node. The approval time threshold is the maximum approval time limit required by the approver set corresponding to each process approval node. The first time threshold is the maximum approval time limit required by the approver of the corresponding current process approval node.
当当前流程审批节点的审批人的当前审批时间超过该第三时间阈值时,则说明该审批人未在规定的限制审批时间中完成对该当前流程审批节点的审批操作。此时,可以据此对该当前流程审批节点进行提示操作,如发短信、发邮件、电脑开机弹窗和语音留言等方式。即,该提示操作为向审批人进行审批执行的提醒操作。When the current approval time of the approver of the current process approval node exceeds the third time threshold, it means that the approver has not completed the approval operation of the current process approval node within the specified limited approval time. At this time, prompt operations can be performed on the current process approval node, such as sending text messages, sending emails, computer startup pop-ups, and voice messages. That is, the prompt operation is a prompt operation for the approver to perform the approval.
相应地,对于每个审批岗位的审批人而言,可以自发起提示操作的操作执行起,计算相应的提示时间,该提示时间用于作为对应流程审批节点的审批人的总需要的提示反应时间,如24小时或更久等,具体可以根据岗位权限等进行匹配设置,在此不作具体限制。当前提示时间为待审批任务在该当前流程审批节点的实时提示操作之后所经过的时间。提示时间阈值则为对应每个流程审批节点所设定的审批人所需的最大提示反馈限制时间。第二时间阈值为对应的当前流程审批节点的审批人所需的最大提示反馈限制时间。Correspondingly, for the approver of each approval position, the corresponding prompt time can be calculated from the execution of the operation that initiates the prompt operation, and the prompt time is used as the total required prompt response time of the approver of the corresponding process approval node. , such as 24 hours or more, which can be matched and set according to the position permissions, etc., and no specific restrictions are imposed here. The current prompt time is the time elapsed after the real-time prompt operation of the current process approval node for the task to be approved. The prompt time threshold is the maximum prompt feedback limit time required by the approver set corresponding to each process approval node. The second time threshold is the maximum prompt feedback limit time required by the approver of the corresponding current process approval node.
当当前流程审批节点的审批人的当前提示时间超过该第四时间阈值时,则说明该审批人未在规定的限制提示时间中完成对该当前流程审批节点的审批操作作为对该提示操作的反馈。此时,可以根据该升级审批流的该当前流程审批节点生成新的审批流作为第二更新审批流,来实现对该升级审批流的当前流程审批节点的替换更新。其中,第二更新审批流为该升级审批流的替代审批流,对该升级审批流无法继续在规定时间之内执行审批的当前流程审批节点及其后续节点进行统一替换。并且,为弥补当前流程审批节点所耽误的第一时间阈值和第二时间阈值,对该第二更新审批流中的其他后续审批节点的审批时间阈值和提示时间阈值进行适应性减小设置,从而确保整个对应升级审批流的待审批任务的整体审批流程不至于延时过长。同时,对原升级审批流执行终止,结束升级审批流的执行,待审批任务后续仅通过第二更新审批流定义的审批流程进行审批程序。When the current prompt time of the approver of the current process approval node exceeds the fourth time threshold, it means that the approver has not completed the approval operation of the current process approval node within the specified limit prompt time as the feedback to the prompt operation . At this time, a new approval flow can be generated according to the current process approval node of the upgrade approval flow as the second update approval flow, so as to realize the replacement and update of the current process approval node of the upgrade approval flow. Wherein, the second update approval flow is an alternative approval flow for the upgrade approval flow, and the current process approval node and its subsequent nodes for which the upgrade approval flow cannot continue to perform approval within the specified time are uniformly replaced. In addition, in order to make up for the first time threshold and the second time threshold delayed by the approval node of the current process, the approval time threshold and prompt time threshold of other subsequent approval nodes in the second update approval flow are adaptively reduced and set, so that Ensure that the overall approval process of the tasks to be approved corresponding to the upgrade approval flow is not delayed too long. At the same time, the execution of the original upgrade approval flow is terminated, the execution of the upgrade approval flow is ended, and the approval process of the pending approval task is subsequently approved only through the approval flow defined by the second update approval flow.
因此,通过第二更新审批流的生成,完成对无法有效进行审批执行操作的当前流程审批节点的跳过,进一步地,通过第二更新审批流的后续审批时间阈值和提示时间阈值的缩减,能够保证待审批任务的整体审批时间与原升级审批流的审批执行时间相差无几,从而保证了待审批任务在预定的时间范围内能顺利完成。Therefore, through the generation of the second update approval flow, the skipping of the current process approval node that cannot effectively perform the approval execution operation is completed. It is ensured that the overall approval time of the task to be approved is almost the same as the approval execution time of the original upgrade approval flow, thus ensuring that the task to be approved can be successfully completed within the predetermined time range.
如图2-图4所示,根据本公开实施例,在所述匹配所述升级审批流对应的第二更新审批流中,包括:As shown in FIGS. 2-4 , according to an embodiment of the present disclosure, the second update approval flow corresponding to the matching upgrade approval flow includes:
查询与所述当前流程审批节点的节点权限信息一致的备用流程审批节点;query the standby process approval node that is consistent with the node authority information of the current process approval node;
组合所述备用流程审批节点和筛除所述当前流程审批节点之后的与所述升级审批流对应的多个流程审批节点,生成所述第二更新审批流;Combining the standby process approval node and multiple process approval nodes corresponding to the upgrade approval flow after the current process approval node is filtered out, to generate the second update approval flow;
其中,所述第二更新审批流中每个流程审批节点所对应的审批时间阈值小于所述升级审批流中的每个流程审批节点所对应的审批时间阈值,且所述第二更新审批流中每个流程审批节点所对应的提示时间阈值小于所述升级审批流中的每个流程审批节点所对应的提示时间阈值。Wherein, the approval time threshold corresponding to each process approval node in the second update approval flow is smaller than the approval time threshold corresponding to each process approval node in the upgrade approval flow, and in the second update approval flow The prompt time threshold corresponding to each process approval node is smaller than the prompt time threshold corresponding to each process approval node in the upgrade approval flow.
备用流程审批节点为对应当前流程审批节点的备用节点,具体地,该备用流程审批节点和当前审批流程节点对应的审批岗位权限一致,其中,符合该审批岗位权限的审批操作执行的审批人可以有多个,该备用流程审批节点对应的审批人与该当前审批流程节点对应的审批人不一致。其中,对应于相同审批岗位权限的审批人按照设定的备用顺序,在当前流程审批节点无法继续有效进行审批的情况下,对该当前流程审批节点对应的审批人进行顺位查询并执行替换,从而形成新的备用流程审批节点。The standby process approval node is the standby node corresponding to the current process approval node. Specifically, the standby process approval node has the same approval post authority corresponding to the current approval process node, wherein, the approver who performs the approval operation that conforms to the approval post authority may have If there are more than one, the approver corresponding to the standby process approval node is inconsistent with the approver corresponding to the current approval process node. Among them, the approvers corresponding to the authority of the same approval position are in accordance with the set standby sequence. If the current process approval node cannot continue to effectively approve the approval, the order of the approvers corresponding to the current process approval node is queried and replaced. Thereby, a new standby process approval node is formed.
将上述备用流程审批节点和筛除原当前流程审批节点之后的其余的升级审批流的多个流程审批节点进行组合,生成对应的第二更新审批流。同时,在组合过程中,对应于该筛除原当前流程审批节点之后的其余的升级审批流的多个流程审批节点中每个流程审批节点进行审批时间阈值和提示时间阈值的缩减,使得前述当前流程审批节点所耽误的审批时间和提示时间能够得到有效的弥补,从而维持整体审批流程的审批时间保持在合理的设定范围之内。也即,所述第二更新审批流中备用流程审批节点所对应的审批时间阈值小于所述第三时间阈值,且对应的提示时间阈值小于所述第四时间阈值,具体可以依据相应的整体时间范围进行第二更新审批流中每个流程审批节点的审批时间和提示时间的调整。A corresponding second update approval flow is generated by combining the above-mentioned standby process approval node and a plurality of process approval nodes for the upgrade approval flow after screening out the original current process approval node. At the same time, in the combining process, each process approval node in the multiple process approval nodes corresponding to the remaining upgrade approval flows after the original current process approval node is filtered out reduces the approval time threshold and the prompt time threshold, so that the aforementioned current process approval node is reduced. The approval time and prompt time delayed by the process approval node can be effectively compensated, so as to maintain the approval time of the overall approval process within a reasonable set range. That is, the approval time threshold corresponding to the standby process approval node in the second update approval flow is smaller than the third time threshold, and the corresponding prompt time threshold is smaller than the fourth time threshold. The scope is used to adjust the approval time and prompt time of each process approval node in the second update approval flow.
因此,通过第二更新审批流的生成,完成对升级审批流执行过程中无法有效进行审批执行操作的当前流程审批节点的跳过,进一步地,通过第二更新审批流的后续审批时间阈值和提示时间阈值的缩减,能够保证待审批任务的整体审批时间与原升级审批流的审批执行时间范围相差无几,从而保证了待审批任务在预定的时间范围内能顺利完成。最后,在生成第二更新审批流的同时,终止原升级审批流的审批执行,可以显著减小系统资源占用,确保系统的审批执行更加稳定高效。Therefore, through the generation of the second update approval flow, the skipping of the current process approval node that cannot effectively perform the approval execution operation during the execution of the upgrade approval flow is completed, and further, the subsequent approval time threshold and prompt of the second update approval flow are completed. The reduction of the time threshold can ensure that the overall approval time of the task to be approved is almost the same as the approval execution time range of the original upgrade approval flow, thus ensuring that the task to be approved can be successfully completed within the predetermined time range. Finally, when the second update approval flow is generated, the approval execution of the original upgrade approval flow is terminated, which can significantly reduce the occupation of system resources and ensure that the approval execution of the system is more stable and efficient.
需要说明的是,本领域技术人员应当可以理解:针对于当前审批流的执行,在形成第一更新审批流的审批执行过程中,若仍然遇到相应的流程审批节点无法顺利进行审批,可以在第一更新审批流的基础上进一步形成新的第三更新审批流,直至该待审批任务的审批完成,具体不作赘述;相应地,针对于升级审批流的执行,在形成第二更新审批流的审批执行过程中,若仍然遇到相应的流程审批节点无法顺利进行审批,可以在第二更新审批流的基础上进一步形成新的第四更新审批流,直至该待审批任务的审批完成,具体不作赘述。换言之,本公开实施例所提供的图3A-图4所示的应用场景案例及其相应的说明解释内容,仅能作为特定实施例的说明展示以使得本领域技术人员能够快速准确地掌握本公开的技术方案,并不能作为本公开所请求保护范围的限定。It should be noted that those skilled in the art should understand that: for the execution of the current approval flow, during the approval execution process of forming the first update approval flow, if it is still encountered that the corresponding process approval node cannot perform the approval smoothly, you can On the basis of the first update approval flow, a new third update approval flow is further formed until the approval of the to-be-approved task is completed. During the approval execution process, if the corresponding process approval node still fails to approve the approval smoothly, a new fourth update approval flow can be further formed on the basis of the second update approval flow until the approval of the pending task is completed. Repeat. In other words, the application scenarios shown in FIG. 3A to FIG. 4 and the corresponding description and explanation content provided by the embodiments of the present disclosure can only be shown as the description of a specific embodiment, so that those skilled in the art can quickly and accurately grasp the present disclosure The technical solution of the present disclosure shall not be regarded as the limitation of the claimed protection scope of the present disclosure.
如图2-图4所示,根据本公开实施例,在操作S203所述根据所述升级审批流的审批执行状态,对所述当前审批流执行回转操作,以完成所述待审批任务执行中,包括:As shown in FIG. 2 to FIG. 4 , according to an embodiment of the present disclosure, in operation S203, according to the approval execution state of the upgrade approval flow, a reversal operation is performed on the current approval flow to complete the execution of the pending task. ,include:
当所述升级审批流的审批执行状态为结束状态时,回转执行所述当前审批流;When the approval execution state of the upgrade approval flow is the end state, revert to executing the current approval flow;
生成与所述升级审批流的审批执行结果相对应的回转执行结果。A rollover execution result corresponding to the approval execution result of the upgrade approval flow is generated.
在操作S352和S402中,对于升级审批流的执行而言,若其对应的审批执行状态为结束状态时,说明该升级审批流的执行已完结,该待审批任务完成初步审批。此时,可以根据该审批执行状态的结束状态对应的标记字段相应生成对应的响应指令,响应于该响应指令,可以对该升级审批流的原当前审批流执行回转,回转可以理解为升级审批流结束执行,对处于中止窒执行或者暂停执行状态的原当前审批流执行回调,继续执行原当前审批流的该待审批任务的审批进程。In operations S352 and S402, for the execution of the upgrade approval flow, if the corresponding approval execution state is the end state, it means that the execution of the upgrade approval flow has been completed, and the preliminary approval of the pending approval task has been completed. At this time, a corresponding response command can be generated according to the tag field corresponding to the end state of the approval execution state, and in response to the response command, the original and current approval flow of the upgrade approval flow can be reversed, and the reversion can be understood as the upgrade approval flow End the execution, execute the callback for the original current approval flow in the suspended or suspended execution state, and continue to execute the approval process of the to-be-approved task in the original current approval flow.
通过该原当前审批流继续依据原有的流程审批流转执行逻辑逐个流程审批节点进行该待审批任务的审批执行,从而生成与该处于结束状态的升级审批流的审批执行结果相应的回转执行结果。其中,审批执行结果为对应于升级审批流的该待审批任务的审批结果信息,审批结果信息包括对应该升级审批流的通过、不通过、中间终止审批、中间中止审批等结果事件信息以及包括每个节点的审批人所留下的审批意见信息等。回转执行结果则为对应于当前审批流的该待审批任务的审批结果信息,审批结果信息包括对应该当前审批流的通过、不通过、中间终止审批、中间中止审批等结果事件信息以及包括每个节点的审批人所留下的审批意见信息等。Through the original current approval flow, the approval execution of the to-be-approved task is continued one by one according to the original process approval flow execution logic, thereby generating a reversal execution result corresponding to the approval execution result of the upgraded approval flow in the end state. Among them, the approval execution result is the approval result information of the task to be approved corresponding to the upgrade approval flow, and the approval result information includes the result event information such as pass, fail, intermediate termination of approval, intermediate termination of approval, etc. Approval comments left by the approvers of each node, etc. The reversal execution result is the approval result information of the to-be-approved task corresponding to the current approval flow. The approval result information includes the result event information of the current approval flow, such as pass, fail, intermediate termination of approval, and intermediate termination of approval, as well as event information including each Approval comment information left by the approver of the node, etc.
因此,通过对该两个审批流的审批执行结果和回转执行结果进行对比,可以对其中审批执行结果中不存在的审批结果信息进行分析,以提取相应的升级审批流中缺少的审批人的审批意见和审批结果事件,从而对该审批执行结果是否进一步下发执行作最后判断,从而能够在加快待审批任务的审批流程情况下,确保待审批任务的审批准确性,降低审批错误率,提高审批管理效率。Therefore, by comparing the approval execution results and the reversal execution results of the two approval flows, the approval result information that does not exist in the approval execution results can be analyzed to extract the approvals of the approvers that are missing in the corresponding upgrade approval flow. Comments and approval result events, so as to make the final judgment on whether the approval execution result is further issued for execution, so as to speed up the approval process of the tasks to be approved, ensure the approval accuracy of the tasks to be approved, reduce the approval error rate, and improve the approval process. management efficiency.
如此,可以在节约系统当前审批资源占用情况下,继续进行原待审批任务的当前审批流的审批执行,以确保原当前审批流的各个节点正常的审批操作,防止因升级审批流的加速执行造成审批错误情况的出现,实现对升级审批流的执行复核,同时还可以确保待审批任务能够通过升级审批流快速完成审批。In this way, the approval execution of the current approval flow of the original to-be-approved task can be continued under the circumstance of saving the current approval resource occupation of the system, so as to ensure the normal approval operation of each node of the original current approval flow, and prevent the accelerated execution of the upgrade approval flow from causing problems. In case of approval errors, the implementation review of the upgrade approval flow can be realized, and at the same time, it can also ensure that the tasks to be approved can be quickly approved through the upgrade approval flow.
需要说明的是,在操作S316中,对应于升级审批流的第二更新审批流执行结束之后,其相应的也会对应执行原升级审批流的对应当前审批流的回转执行。换言之,只要对于当前审批流进行了审批流升级简化,在简化的升级审批流及其对应的更新审批流完成审批之后,都需要对当前审批流的进行回转执行。It should be noted that, in operation S316, after the execution of the second update approval flow corresponding to the upgrade approval flow is completed, the corresponding current approval flow corresponding to the original upgrade approval flow will also be executed in reverse. In other words, as long as the current approval flow is upgraded and simplified, the current approval flow needs to be reversed and executed after the simplified upgrade approval flow and its corresponding updated approval flow are approved.
如图2-图4所示,根据本公开实施例,在所述回转执行所述当前审批流中,包括:As shown in FIG. 2 to FIG. 4 , according to an embodiment of the present disclosure, in the revolving execution of the current approval flow, the process includes:
监测所述当前审批流的回转执行时间;monitoring the turnaround execution time of the current approval flow;
当所述回转执行时间超出第五时间阈值时,结束所述当前审批流的回转。When the turnaround execution time exceeds a fifth time threshold, the turnaround of the current approval flow is ended.
在操作S403-S405,对于当前审批流的回转执行,可以对其进行相应的回转执行时间的设定。回转执行时间为回调该当前审批流时,当前审批流中所有未执行的流程审批节点在顺利完成全部审批执行时所需的整体的实际执行时间。也即,当前审批流中用于执行该待审批任务审批的未执行的流程审批节点有三个的话,则当这三个流程审批节点全部完成该待审批任务的执行之后,其所消耗的实际执行时间。In operations S403-S405, for the reversal execution of the current approval flow, the corresponding reversal execution time may be set. The reversal execution time is the overall actual execution time required for all unexecuted process approval nodes in the current approval flow to successfully complete all approval executions when the current approval flow is recalled. That is, if there are three unexecuted process approval nodes in the current approval flow for executing the approval of the pending task, then when these three process approval nodes have all completed the execution of the pending task, the actual execution consumption consumed by them is time.
第五时间阈值为该当前审批刘中所有未执行的流程审批节点在完成全部审批执行时所能提供的最大执行限制时间。因此,该回转执行时间对应的第五时间阈值具体可以依照每个流程审批节点的审批时间和提示时间的阈值作为参考,结合该当前审批流对应的已执行完毕的升级审批流的审批执行结果的下发执行的时间阈值进行设定。The fifth time threshold is the maximum execution time limit that all unexecuted process approval nodes in the current approval process can provide when all approval executions are completed. Therefore, the fifth time threshold corresponding to the reversal execution time can be specifically based on the approval time and prompt time threshold of each process approval node as a reference, combined with the approval execution result of the completed upgrade approval flow corresponding to the current approval flow. Set the time threshold for delivery execution.
为确保对升级审批流的已执行完毕的审批执行结果的顺利下发,该回转执行的当前审批流的回转执行时间不得超出第五时间阈值,以满足对当前审批流的继续执行,以获取相应的回转执行结果。但是,若该回转执行的当前审批流的回转执行时间超出第五时间阈值,则为优先保证对升级审批流的已执行完毕的审批执行结果的顺利下发,必须要终止当前审批流的回转执行操作,获取已回转执行的相应的回转执行结果。In order to ensure the smooth delivery of the completed approval execution result of the upgrade approval flow, the reversal execution time of the current approval flow of the reversal execution shall not exceed the fifth time threshold, so as to satisfy the continuous execution of the current approval flow to obtain the corresponding execution time. Rotation execution result. However, if the reversal execution time of the current approval flow of the reversal execution exceeds the fifth time threshold, the reversal execution of the current approval flow must be terminated in order to ensure the smooth delivery of the completed approval execution result of the upgrade approval flow. operation to obtain the corresponding pivot execution result that has been pivoted.
因此,借助于上述当前审批流的回转执行的回转执行时间限制,可以在确保不耽误已通过升级审批流加速审批的待审批任务的审批执行结果的下发执行情况下,尽可能地获取与该升级审批流对应的当前审批流的回转执行结果,从而实现对加速审批的审批执行结果的审批信息的回转复核,尽可能保证审批的准确性,降低因加快审批造成审批错误率,从而实现在审批流配置的基础上对任务审批过程的执行优化。Therefore, with the help of the above-mentioned rotation execution time limit of the rotation execution of the current approval flow, it is possible to obtain as much as possible the same as the approval execution result of the pending approval task that has been accelerated through the upgrade approval flow without delaying the issuance and execution of the approval execution result. Upgrade the reversal execution result of the current approval flow corresponding to the approval flow, so as to realize the reversal and review of the approval information of the approval execution result of the accelerated approval, ensure the accuracy of the approval as much as possible, and reduce the approval error rate caused by the accelerated approval, so as to realize the approval process in the approval process. The execution of the task approval process is optimized based on the flow configuration.
显然,相对于现有技术中审批流配置固定无法进一步实现审批优化的传统方式,本公开实施例的上述基于审批流配置的待审批任务执行方法可以在审批流配置的当前审批流基础上,进一步通过进一步自识别待审批业任务生成升级审批流,通过升级审批流显著简化审批流程,进一步加快审批速度,而且通过对当前审批流的回转确保原审批流程的执行,能够在加快审批的基础上,尽可能保证审批的准确性,降低因加快审批造成审批错误率,从而实现在审批流配置的基础上对任务审批过程的执行优化。Obviously, compared with the conventional method in the prior art in which the approval flow configuration is fixed and cannot further realize approval optimization, the above-mentioned method for executing tasks to be approved based on the approval flow configuration according to the embodiment of the present disclosure can be further based on the current approval flow configured in the approval flow. By further self-identifying the tasks to be approved, an upgrade approval flow is generated, the approval process is significantly simplified by upgrading the approval flow, and the approval speed is further accelerated, and the execution of the original approval process is ensured by reversing the current approval flow, which can accelerate the approval process. Ensure the accuracy of approval as much as possible and reduce the approval error rate caused by accelerated approval, so as to optimize the execution of the task approval process based on the approval flow configuration.
其中,本公开实施例中所提及的时间,可以为一时间点也可以为一时间范围,以具体的场景可以对其进行相应的判断,具体不作限制。Wherein, the time mentioned in the embodiments of the present disclosure may be a time point or a time range, and a corresponding judgment may be made according to a specific scenario, which is not specifically limited.
基于上述基于审批流配置的待审批任务执行方法,本公开还提供了一种基于审批流配置的待审批任务执行装置。以下将结合图5对该装置进行详细描述。Based on the above-mentioned method for executing a task to be approved based on an approval flow configuration, the present disclosure also provides an apparatus for executing a task to be approved based on an approval flow configuration. The device will be described in detail below with reference to FIG. 5 .
图5示意性示出了根据本公开实施例的基于审批流配置的待审批任务执行装置的结构框图。FIG. 5 schematically shows a structural block diagram of an apparatus for executing a task to be approved based on an approval flow configuration according to an embodiment of the present disclosure.
如图5所示,该实施例的基于审批流配置的待审批任务执行装置800包括当前审批流匹配模块510、升级审批流匹配模块520和当前审批流回转模块530。As shown in FIG. 5 , the apparatus 800 for executing tasks to be approved based on the approval flow configuration in this embodiment includes a current approval
当前审批流匹配模块510用于根据待审批任务的任务类型标识和预设审批流匹配规则,匹配所述待审批任务对应的当前审批流。在一实施例中,当前审批流匹配模块510可以用于执行前文描述的操作S201,在此不再赘述。The current approval
升级审批流匹配模块520用于基于所述当前审批流的当前审批要求度和所述待审批任务的任务要求度,匹配所述当前审批流对应的升级审批流。在一实施例中,升级审批流匹配模块520可以用于执行前文描述的操作S202,在此不再赘述。The upgrade approval
当前审批流回转模块530用于根据所述升级审批流的审批执行状态,对所述当前审批流执行回转操作,以完成所述待审批任务执行。在一实施例中,当前审批流回转模块530可以用于执行前文描述的操作S203,在此不再赘述。The current approval
根据本公开的实施例,当前审批流匹配模块510、升级审批流匹配模块520和当前审批流回转模块530中的任意多个模块可以合并在一个模块中实现,或者其中的任意一个模块可以被拆分成多个模块。或者,这些模块中的一个或多个模块的至少部分功能可以与其他模块的至少部分功能相结合,并在一个模块中实现。根据本公开的实施例,当前审批流匹配模块510、升级审批流匹配模块520和当前审批流回转模块530中的至少一个可以至少被部分地实现为硬件电路,例如现场可编程门阵列(FPGA)、可编程逻辑阵列(PLA)、片上系统、基板上的系统、封装上的系统、专用集成电路(ASIC),或可以通过对电路进行集成或封装的任何其他的合理方式等硬件或固件来实现,或以软件、硬件以及固件三种实现方式中任意一种或以其中任意几种的适当组合来实现。或者,当前审批流匹配模块510、升级审批流匹配模块520和当前审批流回转模块530中的至少一个可以至少被部分地实现为计算机程序模块,当该计算机程序模块被运行时,可以执行相应的功能。According to an embodiment of the present disclosure, any number of modules in the current approval
图6示意性示出了根据本公开实施例的适于实现基于审批流配置的待审批任务执行方法的电子设备的方框图。6 schematically shows a block diagram of an electronic device suitable for implementing a method for executing a task to be approved based on an approval flow configuration according to an embodiment of the present disclosure.
如图6所示,根据本公开实施例的电子设备600包括处理器601,其可以根据存储在只读存储器(ROM)602中的程序或者从存储部分608加载到随机访问存储器(RAM)603中的程序而执行各种适当的动作和处理。处理器601例如可以包括通用微处理器(例如CPU)、指令集处理器和/或相关芯片组和/或专用微处理器(例如,专用集成电路(ASIC))等等。处理器601还可以包括用于缓存用途的板载存储器。处理器601可以包括用于执行根据本公开实施例的方法流程的不同动作的单一处理单元或者是多个处理单元。As shown in FIG. 6 , an
在RAM 603中,存储有电子设备600操作所需的各种程序和数据。处理器601、ROM602以及RAM 603通过总线604彼此相连。处理器601通过执行ROM 602和/或RAM 603中的程序来执行根据本公开实施例的方法流程的各种操作。需要注意,所述程序也可以存储在除ROM 602和RAM 603以外的一个或多个存储器中。处理器601也可以通过执行存储在所述一个或多个存储器中的程序来执行根据本公开实施例的方法流程的各种操作。In the
根据本公开的实施例,电子设备600还可以包括输入/输出(I/O)接口605,输入/输出(I/O)接口605也连接至总线604。电子设备600还可以包括连接至I/O接口605的以下部件中的一项或多项:包括键盘、鼠标等的输入部分606;包括诸如阴极射线管(CRT)、液晶显示器(LCD)等以及扬声器等的输出部分607;包括硬盘等的存储部分608;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分609。通信部分609经由诸如因特网的网络执行通信处理。驱动器610也根据需要连接至I/O接口605。可拆卸介质611,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器610上,以便于从其上读出的计算机程序根据需要被安装入存储部分608。According to an embodiment of the present disclosure, the
本公开还提供了一种计算机可读存储介质,该计算机可读存储介质可以是上述实施例中描述的设备/装置/系统中所包含的;也可以是单独存在,而未装配入该设备/装置/系统中。上述计算机可读存储介质承载有一个或者多个程序,当上述一个或者多个程序被执行时,实现根据本公开实施例的方法。The present disclosure also provides a computer-readable storage medium. The computer-readable storage medium may be included in the device/apparatus/system described in the above embodiments; it may also exist alone without being assembled into the device/system. device/system. The above-mentioned computer-readable storage medium carries one or more programs, and when the above-mentioned one or more programs are executed, implement the method according to the embodiment of the present disclosure.
根据本公开的实施例,计算机可读存储介质可以是非易失性的计算机可读存储介质,例如可以包括但不限于:便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。例如,根据本公开的实施例,计算机可读存储介质可以包括上文描述的ROM 602和/或RAM 603和/或ROM 602和RAM 603以外的一个或多个存储器。According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, such as, but not limited to, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM) , erasable programmable read only memory (EPROM or flash memory), portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing. In this disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. For example, according to embodiments of the present disclosure, a computer-readable storage medium may include one or more memories other than
本公开的实施例还包括一种计算机程序产品,其包括计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。当计算机程序产品在计算机系统中运行时,该程序代码用于使计算机系统实现本公开实施例所提供的方法。Embodiments of the present disclosure also include a computer program product comprising a computer program containing program code for performing the method illustrated in the flowchart. When the computer program product runs in the computer system, the program code is used to make the computer system implement the methods provided by the embodiments of the present disclosure.
在该计算机程序被处理器601执行时执行本公开实施例的系统/装置中限定的上述功能。根据本公开的实施例,上文描述的系统、装置、模块、单元等可以通过计算机程序模块来实现。When the computer program is executed by the
在一种实施例中,该计算机程序可以依托于光存储器件、磁存储器件等有形存储介质。在另一种实施例中,该计算机程序也可以在网络介质上以信号的形式进行传输、分发,并通过通信部分609被下载和安装,和/或从可拆卸介质611被安装。该计算机程序包含的程序代码可以用任何适当的网络介质传输,包括但不限于:无线、有线等等,或者上述的任意合适的组合。In one embodiment, the computer program may rely on a tangible storage medium such as an optical storage device, a magnetic storage device, or the like. In another embodiment, the computer program may also be transmitted, distributed in the form of a signal over a network medium, downloaded and installed through the
在这样的实施例中,该计算机程序可以通过通信部分609从网络上被下载和安装,和/或从可拆卸介质611被安装。在该计算机程序被处理器601执行时,执行本公开实施例的系统中限定的上述功能。根据本公开的实施例,上文描述的系统、设备、装置、模块、单元等可以通过计算机程序模块来实现。In such an embodiment, the computer program may be downloaded and installed from the network via the
根据本公开的实施例,可以以一种或多种程序设计语言的任意组合来编写用于执行本公开实施例提供的计算机程序的程序代码,具体地,可以利用高级过程和/或面向对象的编程语言、和/或汇编/机器语言来实施这些计算程序。程序设计语言包括但不限于诸如Java,C++,python,“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分地在用户设备上执行、部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。在涉及远程计算设备的情形中,远程计算设备可以通过任意种类的网络,包括局域网(LAN)或广域网(WAN),连接到用户计算设备,或者,可以连接到外部计算设备(例如利用因特网服务提供商来通过因特网连接)。According to the embodiments of the present disclosure, the program code for executing the computer program provided by the embodiments of the present disclosure may be written in any combination of one or more programming languages, and specifically, high-level procedures and/or object-oriented programming may be used. programming language, and/or assembly/machine language to implement these computational programs. Programming languages include, but are not limited to, languages such as Java, C++, python, "C" or similar programming languages. The program code may execute entirely on the user computing device, partly on the user device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (eg, using an Internet service provider business via an Internet connection).
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,上述模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。电要注意的是,框图或流程图中的每个方框、以及框图或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more logical functions for implementing the specified functions executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It is to be noted that each block of the block diagrams or flowchart illustrations, and combinations of blocks in the block diagrams or flowchart illustrations, can be implemented in special purpose hardware-based systems that perform the specified functions or operations, or can be implemented using A combination of dedicated hardware and computer instructions is implemented.
本领域技术人员可以理解,本公开的各个实施例和/或权利要求中记载的特征可以进行多种组合或/或结合,即使这样的组合或结合没有明确记载于本公开中。特别地,在不脱离本公开精神和教导的情况下,本公开的各个实施例和/或权利要求中记载的特征可以进行多种组合和/或结合。所有这些组合和/或结合均落入本公开的范围。Those skilled in the art will appreciate that various combinations and/or combinations of features recited in various embodiments and/or claims of the present disclosure are possible, even if such combinations or combinations are not expressly recited in the present disclosure. In particular, various combinations and/or combinations of the features recited in the various embodiments of the present disclosure and/or in the claims may be made without departing from the spirit and teachings of the present disclosure. All such combinations and/or combinations fall within the scope of this disclosure.
以上对本公开的实施例进行了描述。但是,这些实施例仅仅是为了说明的目的,而并非为了限制本公开的范围。尽管在以上分别描述了各实施例,但是这并不意味着各个实施例中的措施不能有利地结合使用。本公开的范围由所附权利要求及其等同物限定。不脱离本公开的范围,本领域技术人员可以做出多种替代和修改,这些替代和修改都应落在本公开的范围之内。Embodiments of the present disclosure have been described above. However, these examples are for illustrative purposes only, and are not intended to limit the scope of the present disclosure. Although the various embodiments are described above separately, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. The scope of the present disclosure is defined by the appended claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art can make various substitutions and modifications, and these substitutions and modifications should all fall within the scope of the present disclosure.
Claims (16)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210352839.6A CN114707961B (en) | 2022-03-31 | 2022-03-31 | Method, device, equipment, medium and program product for executing task to be approved based on approval stream configuration |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210352839.6A CN114707961B (en) | 2022-03-31 | 2022-03-31 | Method, device, equipment, medium and program product for executing task to be approved based on approval stream configuration |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN114707961A true CN114707961A (en) | 2022-07-05 |
| CN114707961B CN114707961B (en) | 2025-07-22 |
Family
ID=82171887
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210352839.6A Active CN114707961B (en) | 2022-03-31 | 2022-03-31 | Method, device, equipment, medium and program product for executing task to be approved based on approval stream configuration |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114707961B (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117787902A (en) * | 2023-12-26 | 2024-03-29 | 航天神舟智慧系统技术有限公司 | A control and early warning system and method based on batch integration |
| TWI890342B (en) * | 2024-03-05 | 2025-07-11 | 彰化商業銀行股份有限公司 | Voucher destruction application, review and approval system and method thereof |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106779430A (en) * | 2016-12-23 | 2017-05-31 | 重庆足下科技有限公司 | The method and management equipment of a kind of Work Process Management |
| CN108346028A (en) * | 2017-01-24 | 2018-07-31 | 阿里巴巴集团控股有限公司 | A kind of business approval processing method, apparatus and system |
| WO2019200756A1 (en) * | 2018-04-18 | 2019-10-24 | 平安科技(深圳)有限公司 | Data examination and approval method and apparatus, computer device and storage medium |
| CN110852695A (en) * | 2019-09-30 | 2020-02-28 | 厦门网宿有限公司 | Task approval method and device, server and storage medium |
| CN111090478A (en) * | 2019-12-20 | 2020-05-01 | 金蝶软件(中国)有限公司 | ERP system business approval flow configuration method and related device |
| CN113362040A (en) * | 2021-06-30 | 2021-09-07 | 平安普惠企业管理有限公司 | Approval chain configuration updating method and device, electronic equipment and storage medium |
| CN113627890A (en) * | 2021-08-12 | 2021-11-09 | 神州数码融信软件有限公司 | Method for monitoring and processing abnormal flow in automatic approval flow |
-
2022
- 2022-03-31 CN CN202210352839.6A patent/CN114707961B/en active Active
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106779430A (en) * | 2016-12-23 | 2017-05-31 | 重庆足下科技有限公司 | The method and management equipment of a kind of Work Process Management |
| CN108346028A (en) * | 2017-01-24 | 2018-07-31 | 阿里巴巴集团控股有限公司 | A kind of business approval processing method, apparatus and system |
| WO2019200756A1 (en) * | 2018-04-18 | 2019-10-24 | 平安科技(深圳)有限公司 | Data examination and approval method and apparatus, computer device and storage medium |
| CN110852695A (en) * | 2019-09-30 | 2020-02-28 | 厦门网宿有限公司 | Task approval method and device, server and storage medium |
| CN111090478A (en) * | 2019-12-20 | 2020-05-01 | 金蝶软件(中国)有限公司 | ERP system business approval flow configuration method and related device |
| CN113362040A (en) * | 2021-06-30 | 2021-09-07 | 平安普惠企业管理有限公司 | Approval chain configuration updating method and device, electronic equipment and storage medium |
| CN113627890A (en) * | 2021-08-12 | 2021-11-09 | 神州数码融信软件有限公司 | Method for monitoring and processing abnormal flow in automatic approval flow |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117787902A (en) * | 2023-12-26 | 2024-03-29 | 航天神舟智慧系统技术有限公司 | A control and early warning system and method based on batch integration |
| TWI890342B (en) * | 2024-03-05 | 2025-07-11 | 彰化商業銀行股份有限公司 | Voucher destruction application, review and approval system and method thereof |
Also Published As
| Publication number | Publication date |
|---|---|
| CN114707961B (en) | 2025-07-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11468229B2 (en) | Describing changes in a workflow based on changes in structured documents containing workflow metadata | |
| US20080126439A1 (en) | Change verification in a configuration management database | |
| US12505028B2 (en) | Automatic generation of test scenarios from specification files | |
| CN102812435A (en) | Validating configuration of distributed applications | |
| CN110795479A (en) | Method and device for distributed ETL scheduling based on data | |
| US12154052B2 (en) | Cross-enterprise workflow adaptation | |
| US10649824B1 (en) | Event subscription and management system | |
| US9632837B2 (en) | Systems and methods for system consolidation | |
| US20250238744A1 (en) | System and method for leveraging a completeness graph | |
| CN114707961A (en) | Method, apparatus, device, medium and program product for executing tasks to be approved based on approval flow configuration | |
| CN110019177A (en) | The method and apparatus of rule storage | |
| US20090328043A1 (en) | Infrastructure of data summarization including light programs and helper steps | |
| CN115114233A (en) | Data transmission method, device, equipment and medium | |
| US20190391804A1 (en) | Odata/crud enabled solution framework | |
| US7865481B2 (en) | Changing documents to include changes made to schemas | |
| CN111770128A (en) | A message management method and device | |
| US11567908B1 (en) | Virtual storage interface | |
| CN113656812A (en) | A data management system and method based on big data technology | |
| CN119089039A (en) | Data processing method, device, equipment and readable storage medium | |
| CN112148762A (en) | Statistical method and device for real-time data flow | |
| CN116703629A (en) | A business processing method, device, electronic device, and computer-readable medium | |
| US7739592B2 (en) | Delivery, organization, and management of data capture elements | |
| CN115576980A (en) | SQL statement configuration method and device and electronic equipment | |
| CN115408009A (en) | A code file generation method, device, equipment and storage medium | |
| CN114816483A (en) | A development method and device for a business system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |