Process approval method, approval system, electronic equipment and computer program product
By configuring preset rule configuration tables and mapping relationships for each approval node, the problems of inconvenient modification and poor flexibility of approval process in the existing technology are solved, the flexibility and reusability of the approval process are realized, and the convenience of the process is improved. sex.
Patent Information
- Application Number
- CN202411033511.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-30
- Publication Date
- 2024-11-22
AI Technical Summary
The approval process of the existing project management process is inconvenient and has poor flexibility, which makes it difficult to reuse and take.
Configure a preset rule configuration table for each approval node, including routing conditions, current link number and next link handler number, build a mapping relationship, and determine the target number and processing of the next link based on the routing conditions and mapping relationship of the current link. number to determine the direction of the approval process.
It realizes flexible modification and reuse of the approval process, improves the flexibility and convenience of the process, and avoids the need to create a new approval process every time.
Smart Images

Figure CN119005895A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of workflow, and in particular to a process approval method, a process approval system, an electronic device, a computer-readable storage medium and a computer program product. Background Art
[0002] Large enterprises usually have a complete approval system and build corresponding online approval systems, such as OA systems and business operating systems. Specifically in the field of project management, managers need to formulate management processes according to internal specifications, and propose the construction of project operation systems to realize online management of the entire life cycle of projects. The existing project management process requires customized development, that is, the preset approval link flow logic is developed based on the process engine, and business processing operations are performed asynchronously. In the process of project operation management, different projects often have different processes, and the same project at different stages of the life cycle also requires process changes. The traditional process definition method usually uses hard coding, which makes the modification of the process extremely inconvenient, inflexible and difficult to reuse. Therefore, a reusable process approval method is needed. Summary of the invention
[0003] The purpose of the embodiments of the present invention is to provide a process approval method, a process approval system, an electronic device, a computer-readable storage medium and a computer program product. The approval method partially or completely solves the problem that the existing approval process is inconvenient to modify and has poor flexibility, which further makes the approval process difficult to use.
[0004] In order to achieve the above-mentioned purpose, an embodiment of the present invention provides an approval method for a process, the approval method comprising: configuring a preset rule configuration table for each approval node, wherein the preset rule configuration table comprises a routing condition, a current link number, a next link number and a next link handler number; constructing a mapping relationship between the routing condition of each approval node and the next link number and the next link handler number of each approval node; determining the next link target number and the next link target handler number according to the routing condition of the current approval node and the mapping relationship; and determining the direction of the approval process of the current approval node according to the current link number, the next link target number and the next link target handler number.
[0005] Optionally, before executing the step of configuring a preset rule configuration table for each approval node, the approval method further includes: creating an approval process including multiple approval nodes according to user requirements.
[0006] Optionally, determining the next link target number and the next link target processor number according to the routing condition of the current approval node and the mapping relationship includes: matching the routing condition of the current approval node with the routing condition in the mapping relationship; and when the match is successful, determining the next link number and the next link processor number corresponding to the current approval node as the next link target number and the next link target processor number.
[0007] Optionally, the preset rule configuration table also includes a priority rule, and determining the next link target number and the next link target processor number according to the routing condition of the current approval node and the mapping relationship also includes: when the routing condition of the current approval node matches the routing condition in the mapping relationship corresponding to the multiple approval nodes, determining the approval node with the highest priority among the multiple approval nodes as the target approval node; and determining the next link number and the next link processor number corresponding to the target approval node as the next link target number and the next link target processor number.
[0008] Optionally, determining the direction of the approval process of the current approval node based on the current link number, the next link target number and the next link target processor number includes: when the routing condition of the current approval node successfully matches the routing condition in the mapping relationship, the current link number of the current approval node is transferred to the next link number and the next link processor number corresponding to the next approval node.
[0009] Optionally, the preset rule configuration table also includes the response time of the processor, and the approval method also includes: real-time monitoring of the direction of the approval process and the response time of the processor; when the response time of the processor is greater than a preset time threshold, issuing an approval prompt to the processor.
[0010] On the other hand, the present invention also provides an approval system for a process, the approval system comprising: a configuration module, used to configure a preset rule configuration table for each approval node, wherein the preset rule configuration table comprises routing conditions, current link number, next link number and next link handler number; a construction module, used to construct a mapping relationship between the routing conditions of each approval node and the next link number and next link handler number of each approval node; a first determination module, used to determine the next link target number and the next link target handler number according to the routing conditions of the current approval node and the mapping relationship; and a second determination module, used to determine the direction of the approval process of the current approval node according to the current link number, the next link target number and the next link target handler number.
[0011] Optionally, before executing the step of configuring a preset rule configuration table for each approval node, the approval system further includes: a creation module, which is used to create an approval process including multiple approval nodes according to user requirements.
[0012] Optionally, the first determination module is used to determine the next link target number and the next link target processor number according to the routing condition of the current approval node and the mapping relationship, including: matching the routing condition of the current approval node with the routing condition in the mapping relationship; and when the match is successful, determining the next link number and the next link processor number corresponding to the current approval node as the next link target number and the next link target processor number.
[0013] Optionally, the preset rule configuration table also includes a priority rule, and the first determination module is used to determine the next link target number and the next link target processor number according to the routing condition of the current approval node and the mapping relationship, and further includes: when the routing condition of the current approval node matches the routing condition in the mapping relationship corresponding to the multiple approval nodes, determining the approval node with the highest priority among the multiple approval nodes as the target approval node; and determining the next link number and the next link processor number corresponding to the target approval node as the next link target number and the next link target processor number.
[0014] Optionally, the second determination module is used to determine the direction of the approval process of the current approval node according to the current link number, the next link target number and the next link target processor number, including: when the routing condition of the current approval node successfully matches the routing condition in the mapping relationship, the current link number of the current approval node is transferred to the next link number and the next link processor number corresponding to the next approval node.
[0015] Optionally, the preset rule configuration table also includes the response time of the processor, and the approval system also includes: a monitoring module for monitoring the direction of the approval process and the response time of the processor in real time; and a prompt module for issuing an approval prompt to the processor when the response time of the processor is greater than a preset time threshold.
[0016] On the other hand, the present invention also provides an electronic device, comprising: a processor, and a memory communicatively connected to the processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to implement the approval method of the process as described.
[0017] On the other hand, the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the approval method of the process as described.
[0018] In yet another aspect, the present invention further provides a computer program product, including a computer program, which implements the approval method of the process as described above when executed by a processor.
[0019] Through the above technical solution, the approval method configures a preset rule configuration table for each approval node, wherein the preset rule configuration table includes routing conditions, current link number, next link number and next link handler number; constructs a mapping relationship between the routing conditions of each approval node and the next link number and next link handler number of each approval node; determines the next link target number and the next link target handler number according to the routing conditions of the current approval node and the mapping relationship; and determines the direction of the approval process of the current approval node according to the current link number, the next link target number and the next link target handler number. The embodiment of the present invention presets a rule configuration table for each approval node, and establishes a mapping relationship between the routing conditions in the rule configuration table and the next link number and the next link handler number. According to the routing conditions of the current approval node and the established mapping relationship, the next link target number and the next link target handler number can be determined, thereby determining the direction of the current approval node.
[0020] The embodiment of the present invention can modify the content in the preset rule configuration table without creating a new approval process each time, so that the approval modification of the process is more convenient and flexible, and the created approval process can be reused.
[0021] Other features and advantages of the embodiments of the present invention will be described in detail in the subsequent detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The accompanying drawings are used to provide a further understanding of the embodiments of the present invention and constitute a part of the specification. Together with the following specific implementations, they are used to explain the embodiments of the present invention, but do not constitute a limitation on the embodiments of the present invention. In the accompanying drawings:
[0023] Figure 1 It is a flowchart of the process approval method provided by the first embodiment of the present invention;
[0024] Figure 2 This is an approval flow chart provided by the first embodiment of the present invention;
[0025] Figure 3It is a structural diagram of a process approval system provided by a second embodiment of the present invention;
[0026] Figure 4 It is a diagram of the internal structure of a computer device provided in the fourth embodiment of the present invention. DETAILED DESCRIPTION
[0027] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the specific implementation methods described herein are only used to illustrate and explain the embodiments of the present application, and are not used to limit the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0028] It should be noted that if the embodiments of the present application involve directional indications (such as up, down, left, right, front, back...), the directional indications are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0029] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present application, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or suggesting their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.
[0030] The acquisition, transmission, storage, use, and processing of data in the technical solution of this application are in compliance with the relevant provisions of national laws and regulations. It should be noted that in the embodiments of this application, some existing solutions in the industry such as certain software, components, and models may be mentioned, and they should be considered as exemplary. Their purpose is only to illustrate the feasibility of the implementation of the technical solution of this application, but it does not mean that the applicant has or will necessarily use the solution.
[0031] Figure 1 The flowchart of the process approval method provided by the first embodiment of the present invention is a process approval method, which includes the following steps S10-S13.
[0032] S10. Configure a preset rule configuration table for each approval node.
[0033] The preset rule configuration table includes routing conditions, current link number, next link number and next link handler number.
[0034] Furthermore, before executing the step of configuring a preset rule configuration table for each approval node, the approval method further includes: creating an approval process including multiple approval nodes according to user requirements.
[0035] In some embodiments, first, an approval process including multiple approval nodes is created according to user needs. Taking the approval process of project establishment as an example, it covers approval nodes such as project initiation, internal audit of the organization, special review, business operation unit review, project approval unit review, financial management unit review, company authorized person approval and task book issuance. The existing technical means can be used to call the flowchart module based on the flowable workflow engine to draw the approval process including the initiator of the approval process (the initiating organization or initiating department, etc.) and the approval department and approver, that is, including the start approval node (project initiation), the intermediate approval node (such as the above-mentioned internal audit of the organization, special review, business operation unit review, project approval unit review, financial management unit review, company authorized person approval, etc.) and the approval end node. The approval process can be modified by adding a flowchart or deleting a flowchart. Since this flowchart module does not need to be manually generated by hard coding, it can also be modified accordingly for personnel who do not have coding capabilities, which increases the flexibility of the approval process.
[0036] The preset rule configuration table includes routing conditions, current link number, next link number and next link handler number. For example, for the above project approval process, from project initiation to approval completion, there are multiple approval nodes, among which the routing conditions determine the direction of the next approval node after the project is initiated.
[0037] Taking the two approval nodes of institutional internal audit and special review as examples for explanation, when the project is initiated for system upgrade, the corresponding routing conditions are that institutional internal audit is required (i.e. the specific approval department corresponding to the next link of the current approval link, which can be represented by the next link number), and approval is required from the department manager of the institutional internal audit team (i.e. the person who handles the next link of the current approval link, which can be represented by the person who handles the next link number). Similarly, corresponding routing conditions are also set in the institutional internal audit link to continue to determine the approval department and the person who handles the next link of the institutional internal audit node, until the entire approval process for the system upgrade project is completed.
[0038] When the project is initiated to add a business segment, the corresponding routing condition is to skip the approval link of the internal audit of the organization and go directly to the special review (that is, the specific approval department corresponding to the next link of the current approval link), and it needs to be reviewed by the project manager of the special review team (that is, the person in charge of the next link of the current approval link, represented by the number of the person in charge of the next link). Similarly, routing conditions are also set in the special review link to determine the approval department and person in charge of the next approval link of the special review link, and configure the corresponding rule configuration table for each approval node in turn, which will not be repeated here.
[0039] These routing conditions can be set in advance and can be implemented by adding or deleting SQL statements according to project needs. The setting of routing conditions for subsequent approval nodes is similar to that of the two approval nodes of institutional internal audit and special review, and will not be explained one by one here.
[0040] The next stage number is the number of the next approval node in the approval process. It can also represent the number of the approval department corresponding to the next approval node. The current stage number represents the number of the current approval node. These numbers are all unique identification codes. For example, the next stage number corresponds to the number of the internal audit (group) of the organization, and the next stage handler number corresponds to the number of the handler (or approver) under the approval department. Figure 1 A preset rule configuration table for each approval node provided in an embodiment of the present invention. The process definition number is a unique number defined for the approval process, so that it can be distinguished when there are multiple approval processes, and the process version number is used to mark the version of the current approval process, so that it can be distinguished during subsequent updates.
[0041]
[0042] Table 1
[0043] The embodiment of the present invention can customize the direction of the approval process by modifying the content in the above-mentioned preset rule configuration table, so the created approval flowchart can be reused, and the modification is simple and flexible.
[0044] S11, constructing a mapping relationship between the routing condition of each approval node and the next link number and the next link processor number of each approval node.
[0045] In some embodiments, the mapping relationship between the routing condition of each approval node and the next link number and the next link handler number of each approval node is a one-to-one correspondence, that is, the routing condition of each approval node and the next link number and the next link handler number of each approval node are a one-to-one correspondence. Thus, multiple mapping relationships can be constructed for multiple approval nodes.
[0046] S12: Determine the target number of the next link and the target processor number of the next link according to the routing condition of the current approval node and the mapping relationship.
[0047] Furthermore, the step of determining the target number of the next link and the target processor number of the next link according to the routing condition of the current approval node and the mapping relationship includes the following steps S121-S122.
[0048] S121. Match the routing condition of the current approval node with the routing condition in the mapping relationship.
[0049] In some embodiments, in order to ensure that the approval process can flow automatically, the routing conditions of the current approval node are matched with the one-to-one correspondence between the routing conditions in the above step S11 and the next link number and the next link processor number, so as to determine the next approval node and the link number and link processor number corresponding to the next approval node.
[0050] S122. When the match is successful, determine the next link number and the next link handler number corresponding to the current approval node as the next link target number and the next link target handler number.
[0051] In some embodiments, according to the mapping relationship between the routing condition and the next link number and the next link handler number created for each link in the above step S11, multiple mapping relationships corresponding to multiple approval nodes in the entire approval process can be obtained. By matching the routing condition of the current approval node with the mapping relationship corresponding to multiple approval nodes, a next link number and a next link handler number corresponding to the routing condition of the current approval node (the node where the current approval process is located) can be determined from multiple approval nodes, that is, the next link target number and the next link target handler number. Accordingly, in the case of a matching failure, return to the previous approval node, and return step by step until returning to the initiating link, and adjust the preset rule configuration to initiate approval again.
[0052] Furthermore, the preset rule configuration table also includes a priority rule, and the step of determining the next link target number and the next link target processor number according to the routing condition of the current approval node and the mapping relationship also includes the following steps S126-S127.
[0053] S126: When the routing condition of the current approval node matches the routing conditions in the mapping relationship corresponding to the multiple approval nodes, determine the approval node with the highest priority among the multiple approval nodes as the target approval node.
[0054] S127: Determine the next link number and the next link handler number corresponding to the target approval node as the next link target number and the next link target handler number.
[0055] In some embodiments, when the routing condition of the current node matches the routing conditions in the mapping relationship corresponding to multiple approval nodes, the specific direction of the current approval node cannot be determined. At this time, through the set priority rule, the approval node with the highest priority among the priorities corresponding to the multiple approval nodes is used as the target approval node. The next link number and the next link handler number corresponding to the target approval node are the next link target number and the next link target handler number.
[0056] S13. Determine the direction of the approval process of the current approval node according to the current link number, the next link target number and the next link target processor number.
[0057] Further, the determining the direction of the approval process of the current approval node based on the current link number, the next link target number and the next link target processor number includes: when the routing condition of the current approval node successfully matches the routing condition in the mapping relationship, the current link number of the current approval node is transferred to the next link number and the next link processor number corresponding to the next approval node.
[0058] In some embodiments, after determining the target number of the next link and the target processor number of the next link, the current approval number corresponding to the current approval node is transferred to the next link number and the next link processor number corresponding to the next approval node, thereby realizing the automatic flow of the entire approval process.
[0059] Table 2 shows the commonly used elements for creating approval flowcharts.
[0060]
[0061] Table 2
[0062] like Figure 2 This is the approval flowchart provided by the first embodiment of the present invention. Each flowchart has a unique Key value, and each link has a corresponding Key value (unique in the current process). The routing condition is configured when drawing the flowchart and is used to determine the flow direction. Figure 2 As shown in the figure, the "process initiator" link can be submitted to the "organization PMO (project management office) review" link, or it can be submitted to the "business management unit PMO (project management office) review" link. The implementation method is to call the flowable interface, and configure different parameter values or rules for the routing conditions to flow to different directions.
[0063] Furthermore, the preset rule configuration table also includes the response time of the processor, and the approval method also includes: real-time monitoring of the direction of the approval process and the response time of the processor; when the response time of the processor is greater than a preset time threshold, issuing an approval prompt to the processor.
[0064] In some embodiments, the rule configuration table includes the response time of the processor, which is used to monitor the response time of the processor in real time to avoid stagnation or interruption of approval time leading to low approval efficiency. For example, the preset time threshold is 2 days, i.e. 48 hours. When the response time of the processor is monitored to be greater than 48 hours, an approval reminder is issued to the processor to speed up the approval process.
[0065] Through the above steps, the present invention supports user-defined processes and links for step-by-step approval. Moreover, the system can tailor the entire process according to a preset rule configuration table to achieve the effect of differentiated approval according to different input conditions.
[0066] The embodiment of the present invention presets a rule configuration table for each approval node, and establishes a mapping relationship between the routing conditions in the rule configuration table and the next link number and the next link handler number. According to the routing conditions of the current approval node and the established mapping relationship, the next link target number and the next link target handler number can be determined, thereby determining the direction of the current approval node. The embodiment of the present invention can modify the content of the preset rule configuration table without creating a new approval process each time, making the approval modification of the process more convenient and flexible, and the created approval process can be reused.
[0067] Figure 3 It is a structural diagram of a process approval system provided by the second embodiment of the present invention. A process approval system, the approval system 3 includes: a configuration module 31, which is used to configure a preset rule configuration table for each approval node, wherein the preset rule configuration table includes routing conditions, current link number, next link number and next link handler number; a construction module 32, which is used to construct a mapping relationship between the routing conditions of each approval node and the next link number and next link handler number of each approval node; a first determination module 33, which is used to determine the next link target number and the next link target handler number according to the routing conditions of the current approval node and the mapping relationship; and a second determination module 34, which is used to determine the direction of the approval process of the current approval node according to the current link number, the next link target number and the next link target handler number.
[0068] The implementation principle and technical effect of the approval system of the process provided in the second embodiment of the present invention are the same as those of the first embodiment described above, and will not be described in detail here.
[0069] Furthermore, before executing the step of configuring a preset rule configuration table for each approval node, the approval system further includes: a creation module 35 for creating an approval process including multiple approval nodes according to user requirements.
[0070] Further, the first determination module 33 is used to determine the next link target number and the next link target processor number according to the routing condition of the current approval node and the mapping relationship, including: matching the routing condition of the current approval node with the routing condition in the mapping relationship; and when the match is successful, determining the next link number and the next link processor number corresponding to the current approval node as the next link target number and the next link target processor number.
[0071] Further, the preset rule configuration table also includes a priority rule, and the first determination module is used to determine the next link target number and the next link target processor number according to the routing condition of the current approval node and the mapping relationship, and further includes: when the routing condition of the current approval node matches the routing condition in the mapping relationship corresponding to the multiple approval nodes, determining the approval node with the highest priority among the multiple approval nodes as the target approval node; determining the next link number and the next link processor number corresponding to the target approval node as the next link target number and the next link target processor number.
[0072] Furthermore, the second determination module 34 is used to determine the direction of the approval process of the current approval node according to the current link number, the next link target number and the next link target processor number, including: when the routing condition of the current approval node successfully matches the routing condition in the mapping relationship, the current link number of the current approval node is transferred to the next link number and the next link processor number corresponding to the next approval node.
[0073] Furthermore, the preset rule configuration table also includes the response time of the processor, and the approval system also includes: a monitoring module for real-time monitoring of the direction of the approval process and the response time of the processor; a prompt module for issuing an approval prompt to the processor when the response time of the processor is greater than a preset time threshold.
[0074] The third embodiment of the present invention also provides an electronic device, comprising: a processor, and a memory communicatively connected to the processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to implement the approval method of the process as described.
[0075] The implementation principle and technical effects of the electronic device provided in the third embodiment of the present invention are the same as those of the first embodiment, and are not described in detail herein.
[0076] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 4 As shown. The computer device includes a processor 401, a network interface 402, a memory (not shown in the figure) and a database (not shown in the figure) connected through a system bus. Among them, the processor 401 of the computer device is used to provide computing and control capabilities. The memory of the computer device includes an internal memory 403 and a non-volatile storage medium 404. The non-volatile storage medium 404 stores an operating system 501, a computer program 502 and a database (not shown in the figure). The internal memory 403 provides an environment for the operation of the operating system 501 and the computer program 502 in the non-volatile storage medium 404. The database of the computer device is used to store view display data based on financial service projects. The network interface 402 of the computer device is used to communicate with an external terminal through a network connection. When the computer program 502 is executed by the processor 401, a view display method based on financial service projects is implemented.
[0077] Those skilled in the art will understand that Figure 4 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0078] A fourth embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the approval method of the process as described above.
[0079] The implementation principle and technical effect of the computer-readable storage medium provided in the fourth embodiment of the present invention are the same as those of the first embodiment described above, and will not be described in detail herein.
[0080] A fifth embodiment of the present invention further provides a computer program product, including a computer program, which implements the approval method of the process as described when executed by a processor.
[0081] The implementation principle and technical effects of the computer program product provided in the fifth embodiment of the present invention are the same as those of the first embodiment above, and will not be described in detail herein.
[0082] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0083] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0084] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0085] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0086] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0087] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0088] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0089] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0090] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. A process approval method, characterized in that: The approval methods include: A preset rule configuration table is configured for each approval node, wherein the preset rule configuration table includes routing conditions, current link number, next link number and next link handler number; Constructing a mapping relationship between the routing condition of each approval node and the next link number and the next link processor number of each approval node; Determine the next link target number and the next link target processor number according to the routing condition of the current approval node and the mapping relationship; and The direction of the approval process of the current approval node is determined according to the current link number, the next link target number and the next link target processor number.
2. The approval method according to claim 1, characterized in that: Before executing the step of configuring a preset rule configuration table for each approval node, the approval method further includes: Create approval processes with multiple approval nodes based on user needs.
3. The approval method according to claim 2, characterized in that: Determining the next link target number and the next link target processor number according to the routing condition of the current approval node and the mapping relationship includes: matching the routing condition of the current approval node with the routing condition in the mapping relationship; and When the match is successful, the next link number and the next link processor number corresponding to the current approval node are determined to be the next link target number and the next link target processor number.
4. The approval method according to claim 3, characterized in that: The preset rule configuration table also includes priority rules, The step of determining the target number of the next link and the target processor number of the next link according to the routing condition of the current approval node and the mapping relationship further includes: When the routing condition of the current approval node matches the routing conditions in the mapping relationship corresponding to the multiple approval nodes, determining the approval node with the highest priority among the multiple approval nodes as the target approval node; The next link number and the next link processor number corresponding to the target approval node are determined as the next link target number and the next link target processor number.
5. The approval method according to claim 3, characterized in that: Determining the direction of the approval process of the current approval node according to the current link number, the next link target number and the next link target processor number includes: When the routing condition of the current approval node successfully matches the routing condition in the mapping relationship, the current link number of the current approval node is transferred to the next link number and the next link processor number corresponding to the next approval node.
6. The approval method according to claim 1, characterized in that: The preset rule configuration table also includes the response time of the handler. The approval method further includes: real-time monitoring of the direction of the approval process and the response time of the processor; When the response time of the processor is greater than a preset time threshold, an approval prompt is sent to the processor.
7. A process approval system, characterized in that: The approval system includes: A configuration module, used to configure a preset rule configuration table for each approval node, wherein the preset rule configuration table includes routing conditions, current link number, next link number and next link handler number; A construction module, used to construct a mapping relationship between the routing condition of each approval node and the next link number and the next link processor number of each approval node; A first determination module is used to determine the next link target number and the next link target processor number according to the routing condition of the current approval node and the mapping relationship; and The second determination module is used to determine the direction of the approval process of the current approval node according to the current link number, the next link target number and the next link target processor number.
8. The approval system according to claim 7, characterized in that: Before executing the step of configuring a preset rule configuration table for each approval node, the approval system further includes: The creation module is used to create an approval process including multiple approval nodes according to user needs.
9. The approval system according to claim 8, characterized in that: The first determination module is used to determine the next link target number and the next link target processor number according to the routing condition of the current approval node and the mapping relationship, including: matching the routing condition of the current approval node with the routing condition in the mapping relationship; and When the match is successful, the next link number and the next link processor number corresponding to the current approval node are determined to be the next link target number and the next link target processor number.
10. The approval system according to claim 9, characterized in that: The preset rule configuration table also includes priority rules, The first determination module, which is used to determine the target number of the next link and the target processor number of the next link according to the routing condition of the current approval node and the mapping relationship, also includes: When the routing condition of the current approval node matches the routing conditions in the mapping relationship corresponding to the multiple approval nodes, determining the approval node with the highest priority among the multiple approval nodes as the target approval node; The next link number and the next link processor number corresponding to the target approval node are determined as the next link target number and the next link target processor number.
11. The approval system according to claim 9, characterized in that: The second determination module is used to determine the direction of the approval process of the current approval node according to the current link number, the next link target number and the next link target processor number, including: When the routing condition of the current approval node successfully matches the routing condition in the mapping relationship, the current link number of the current approval node is transferred to the next link number and the next link processor number corresponding to the next approval node.
12. The approval system according to claim 7, characterized in that: The preset rule configuration table also includes the response time of the processor, and the approval system also includes: A monitoring module, used to monitor the progress of the approval process and the response time of the processor in real time; The prompt module is used to send an approval prompt to the processor when the response time of the processor is greater than a preset time threshold.
13. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the approval method of the process according to any one of claims 1 to 5.
14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the approval method of the process according to any one of claims 1 to 5.
15. A computer program product, characterized in that The invention comprises a computer program, which, when executed by a processor, implements the approval method of the process as described in any one of claims 1 to 5.
