CN113506035A - Method, device and equipment for determining approval process - Google Patents

Method, device and equipment for determining approval process Download PDF

Info

Publication number
CN113506035A
CN113506035A CN202110854825.XA CN202110854825A CN113506035A CN 113506035 A CN113506035 A CN 113506035A CN 202110854825 A CN202110854825 A CN 202110854825A CN 113506035 A CN113506035 A CN 113506035A
Authority
CN
China
Prior art keywords
approval
target
node
current
approval process
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110854825.XA
Other languages
Chinese (zh)
Inventor
张利文
马潇俊
翁迎旭
杨依宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202110854825.XA priority Critical patent/CN113506035A/en
Publication of CN113506035A publication Critical patent/CN113506035A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06311Scheduling, planning or task assignment for a person or group
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/02Banking, e.g. interest calculation or account maintenance

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • General Physics & Mathematics (AREA)
  • Marketing (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Accounting & Taxation (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Technology Law (AREA)
  • Data Mining & Analysis (AREA)
  • Educational Administration (AREA)
  • Game Theory and Decision Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the specification provides a method, a device and equipment for determining an approval process, and relates to the technical field of big data, wherein the method comprises the following steps: receiving an approval process creation request; the approval process creating request comprises identification information of an approval process initiator, business data to be approved and a business scene; acquiring a target approval node set and a target process edge set according to the identification information of the approval process initiator and the service scene; generating a target directed graph based on the target approval node set and the target process edge set; the target directed graph comprises a plurality of examination and approval nodes, and adjacent examination and approval nodes are connected through directed edges; executing a target approval process by using a target directed graph; and the object of the target approval process is the business data to be approved. In the embodiment of the specification, the approval process can be efficiently established through the directed graph according to the business requirements, business personnel do not need to have programming knowledge, the development difficulty is low, and the business requirements can be timely met.

Description

Method, device and equipment for determining approval process
Technical Field
The embodiment of the specification relates to the technical field of big data, in particular to a method, a device and equipment for determining an approval process.
Background
With the continuous development of banking business, more and more business processes need cross-organization, cross-department and cross-role approval, and the approval links are gradually increased. And as the business requirements tend to be complicated and diversified, the approval process also needs to be correspondingly adjusted, so that a complete business approval process has the characteristics of more participants, long approval period, complicated approval state and the like.
In the prior art, the approval process requires a developer to write a generated template in advance according to business requirements, the development difficulty of the approval process is high, and certain learning time is required, so that the approval process needs to be completed step by step according to a fixed sequence in a fixed approval process template, and the approval process is heavy and inflexible. When the approval process in the fixed approval process template involves a change, developers are required to modify the whole approval process relationship, which is time-consuming, labor-consuming and high in development cost. Therefore, the technical scheme in the prior art cannot efficiently realize the approval of the business process based on the business requirements.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the specification provides a method, a device and equipment for determining an approval process, so as to solve the problem that the approval of a business process cannot be efficiently realized based on business requirements in the prior art.
An embodiment of the present specification provides a method for determining an approval process, including: receiving an approval process creation request; the approval process creating request comprises identification information of an approval process initiator, business data to be approved and a business scene; acquiring a target approval node set and a target process edge set according to the identification information of the approval process initiator and the service scene; generating a target directed graph based on the target approval node set and the target process edge set; the target directed graph comprises a plurality of examination and approval nodes, and adjacent examination and approval nodes are connected through directed edges; executing a target approval process by using the target directed graph; and the target approval process approval object is the business data to be approved.
An embodiment of the present specification further provides an approval process determining apparatus, including: the receiving module is used for receiving an approval process establishing request; the approval process creating request comprises identification information of an approval process initiator, business data to be approved and a business scene; the acquisition module is used for acquiring a target approval node set and a target process edge set according to the identification information of the approval process initiator and the service scene; the generating module is used for generating a target directed graph based on the target approval node set and the target process edge set; the target directed graph comprises a plurality of examination and approval nodes, and adjacent examination and approval nodes are connected through directed edges; the execution module is used for executing the target approval process by utilizing the target directed graph; and the target approval process approval object is the business data to be approved.
The embodiment of the present specification further provides an approval process determination device, which includes a processor and a memory, where the memory is used for storing processor-executable instructions, and when the processor executes the instructions, the steps of any one of the method embodiments in the embodiments of the present specification are implemented.
The present specification embodiments also provide a computer readable storage medium having stored thereon computer instructions which, when executed, implement the steps of any one of the method embodiments of the specification embodiments.
The embodiment of the present specification provides a method for determining an approval process, which may receive an approval process creation request, where the approval process creation request may include identification information of an approval process initiator, service data to be approved, and a service scene. And acquiring a target approval node set and a target process edge set according to the identification information of the approval process initiator and the service scene. The target approval node set can be used for representing all approval nodes related to the whole approval process, information of an approver corresponding to each approval node and the like, and the target process edge set can be used for representing approval operation relations among all approval nodes. Further, the target directed graph can be utilized to execute a target approval process; and the target approval process approval object is the business data to be approved. Therefore, the approval process can be efficiently established through the directed graph according to the business requirements, business personnel do not need to have programming knowledge, the development difficulty is low, and the business requirements can be timely met.
Drawings
The accompanying drawings, which are included to provide a further understanding of the embodiments of the disclosure, are incorporated in and constitute a part of this specification, and are not intended to limit the embodiments of the disclosure. In the drawings:
FIG. 1 is a schematic diagram illustrating steps of a method for determining an approval process according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram illustrating steps of a method for determining an approval process according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a determination apparatus of an approval process provided according to an embodiment of the present specification;
fig. 4 is a schematic structural diagram of a determination device of an approval process provided according to an embodiment of the present specification.
Detailed Description
The principles and spirit of the embodiments of the present specification will be described with reference to a number of exemplary embodiments. It should be understood that these embodiments are presented merely to enable those skilled in the art to better understand and to implement the embodiments of the present description, and are not intended to limit the scope of the embodiments of the present description in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As will be appreciated by one skilled in the art, implementations of the embodiments of the present description may be embodied as a system, an apparatus, a method, or a computer program product. Therefore, the disclosure of the embodiments of the present specification can be embodied in the following forms: entirely hardware, entirely software (including firmware, resident software, micro-code, etc.), or a combination of hardware and software.
Although the flow described below includes operations that occur in a particular order, it should be appreciated that the processes may include more or less operations that are performed sequentially or in parallel (e.g., using parallel processors or a multi-threaded environment).
Referring to fig. 1, the present embodiment may provide a method for determining an approval process. The method for determining the approval process can be used for efficiently establishing the approval process through the directed graph according to the business requirements. The method for determining the approval process may include the following steps.
S101: receiving an approval process creation request; the approval process creating request comprises identification information of an approval process initiator, business data to be approved and a business scene.
In this embodiment, the approval process initiator may fill in the service data and service scene to be approved on the foreground interface as required based on the service requirement, and trigger the submission event after the filling is completed, and initiate a new approval process creation request. The server side can receive the approval process creation request, and the approval process creation request can include identification information of an approval process initiator, business data to be approved and business scenes.
In this embodiment, the identification information of the approval process initiator may be used to uniquely determine the approval process initiator, and in some embodiments, the identification information may be a serial number, an identification number, a name, and the like of the approval process initiator, and may be specifically determined according to an actual situation, which is not limited in this specification.
In this embodiment, the pending service data may be determined according to actual service requirements, for example: and under the condition that the service requirement is to audit the reimbursement bill, the to-be-audited service data is a specific reimbursement bill. In some embodiments, the pending service data may include: user number, user name, currency, amount, business variety, interest rate code, etc. Of course, the pending service data is not limited to the above examples, and other modifications may be made by those skilled in the art in light of the technical spirit of the embodiments of the present disclosure, and the functions and effects achieved by the pending service data are all within the scope of the embodiments of the present disclosure.
In this embodiment, the service scenario may be used to represent different service types, for example: the meetings of fake bank examination and approval, reimbursement examination and approval, large-amount transfer examination and approval, loan examination and approval and the like. Of course, the business scenario is not limited to the above example, and other modifications are possible for those skilled in the art in light of the technical spirit of the embodiments of the present disclosure, but all that can be achieved by the business scenario is encompassed in the scope of the embodiments of the present disclosure as long as the functions and effects achieved by the business scenario are the same as or similar to the embodiments of the present disclosure.
S102: and acquiring a target approval node set and a target process edge set according to the identification information and the service scene of the approval process initiator.
In this embodiment, the target approval node set and the target process edge set may be obtained according to the identification information of the approval process initiator and the service scenario. The target approval node set may include parameter information of a plurality of approval nodes, and the target process edge set may include parameter information of at least one process edge.
In this embodiment, the approval process may be correspondingly determined according to the service scenario, for example: the fake strip examination and approval needs two-stage examination and approval, the examination and approval of the first-stage examination and approval node is the direct leader of an examination and approval process initiator, the examination and approval of the second-stage examination and approval node is the general manager, and the examination and approval logic is that the examination and approval process is ended under the condition that the direct leader and the general manager of the examination and approval process initiator pass examination and approval, so that the target examination and approval node set and the target process edge set can be determined. Of course, the correspondence between the service scenario and the approval process is not limited to the above example, and other modifications may be made by those skilled in the art within the spirit of the embodiments of the present disclosure, but the functions and effects implemented by the embodiments of the present disclosure are all covered within the scope of the embodiments of the present disclosure.
In this embodiment, because the approval process initiators are different, the approval processes corresponding to the same service scenario may also differ, for example, the approval process initiated by the supervisor may only need the chief manager to perform a first-level approval. Therefore, the target approval node set and the target process edge set can be obtained according to the identification information and the service scene of the approval process initiator. It is understood that, in some embodiments, the target approval node set and the target process edge set may also be obtained only according to the identification information of the approval process initiator, which may be determined specifically according to an actual situation, and this is not limited in this description embodiment.
In this embodiment, the approval node set and the process edge set may be pre-configured and stored in the target database, and corresponding approval node sets and process edge sets may be configured for different types of approval process initiators and different types of business scenes, so as to be obtained in time when an approval process creation request is received.
In this embodiment, if the corresponding approval node set and the corresponding process edge set cannot be obtained according to the identification information of the approval process initiator and the service scene, it is indicated that the process is a new approval process, and the configuration can be performed in real time to configure the information of the approvers and the approval logic of each approval node. For example: a complete approval process is determined through the service scene and identification information of an approval process initiator, wherein the complete approval process comprises n levels of approvers (n approval nodes can be determined) and m approval relations (m process edges can be determined), and then the determined information is analyzed and configured in an approval node set and a process edge set. Specifically, if the service scene Z needs to generate an approval process Y, and the whole process needs three-level approval, a process node A, B, C may be configured, where the process node a is operated by an approver in the role of "an administrator", and the approver information of the node a may be configured in the role of "an administrator", and then configured sequentially, so as to obtain corresponding approval node sets and process edge sets.
In this embodiment, the target database may be further configured with approval logics of the approval nodes in advance, so as to determine the flow direction of the approval nodes when executing the corresponding approval process.
In this embodiment, the target approval node set may include a plurality of approval node subsets, and each approval node subset may include: the system comprises an approval node number, an approval role name, a main key and the like, wherein the main key can be an ID uniquely determined according to identification information of an approval process initiator and a service scene. Of course, it should be understood that the examination and approval node subset may further include other parameter information, for example: the number of approval stages and the like can be determined according to actual conditions, and the embodiments of the present specification do not limit this.
In this embodiment, the target flow edge set may include at least one flow edge subset, and each flow edge subset may include: the operation type, the number of the previous node, the number of the next node, the primary key and the like, wherein the primary key can be an ID uniquely determined according to the identification information of the approval process initiator and the service scene. It is understood that, the flow edge subset may further include other parameter information, for example: the examination and approval logic and the like can be determined according to actual conditions, and the embodiment of the present specification does not limit the details.
S103: generating a target directed graph based on the target approval node set and the target process edge set; the target directed graph comprises a plurality of examination and approval nodes, and adjacent examination and approval nodes are connected through directed edges.
In this embodiment, the target approval node set may be used to represent all approval nodes related to the entire approval process, and approver information corresponding to each approval node, and the target process edge set may be used to represent an approval operation relationship between the approval nodes, for example: the process node A carries out 'agreement' operation, and then determines that the next process node is B according to the flow direction of the 'agreement edge'; and if the process node A carries out the operation of 'not agreeing', determining that the process node is C according to the flow direction of the 'not agreeing side'. Therefore, a target directed graph can be generated based on the target approval node set and the target process edge set; the target directed graph can contain a plurality of examination and approval nodes, and adjacent examination and approval nodes are connected through directed edges.
In this embodiment, the target directed graph is drawn according to the target approval node set and the target process edge set, and the target directed graph can clearly and concisely show the relationship of the whole approval process. The directed graph is composed of a plurality of vertexes and a plurality of directed edges, the set of all the vertexes is called as a point set of the directed graph, the set of all the directed edges is called as an edge set of the directed graph, all the vertexes are connected one by one through the directed edges, and the directed graph has the characteristics of strong connectivity, clear flow direction and the like. Therefore, the characteristics of strong connectivity and clear flow direction of the directed graph can be utilized, the directed graph of the examination and approval process is automatically drawn through the dynamically configured examination and approval node set and the process edge set, the whole examination and approval process is more flexible, and the continuous development is simpler, more convenient and faster.
S104: executing a target approval process by using a target directed graph; and the object of the target approval process approval is the business data to be approved.
In this embodiment, since the target directed graph may be used to represent the relationship of the entire approval process, the target approval process may be executed by using the target directed graph, where an object of the approval of the target approval process may be to-be-approved business data.
In this embodiment, the flow may be first performed from the initial approval node in the target directed graph, after the approval operation is performed by the approver corresponding to the initial approval node, the flow direction of the initial approval node may be determined according to the approval logic of the initial approval node, and the flow direction of the initial approval node is divided into two cases, one is directly jumping to the designated approval node, and the other is directly ending the approval process. The designated approval node may be a next approval node of the initial approval node, and may be specifically determined according to approval logic. Further, the above steps may be repeated based on the target directed graph until the target approval process is finished.
From the above description, it can be seen that the embodiments of the present specification achieve the following technical effects: the method can receive an approval process creation request, wherein the approval process creation request can include identification information of an approval process initiator, business data to be approved and business scenes. And acquiring a target approval node set and a target process edge set according to the identification information of the approval process initiator and the service scene. The target approval node set can be used for representing all approval nodes related to the whole approval process, information of an approver corresponding to each approval node and the like, and the target process edge set can be used for representing approval operation relations among all approval nodes. Further, the target approval process can be executed by using the target directed graph; and the object of the target approval process approval is the business data to be approved. Therefore, the approval process can be efficiently established through the directed graph according to the business requirements, business personnel do not need to have programming knowledge, the development difficulty is low, and the business requirements can be timely met.
In an embodiment, acquiring the target point set and the target edge set according to the identifier information of the approval process initiator and the service scenario may include: and determining the mechanism level corresponding to the approval process initiator based on the identification information of the approval process initiator. Furthermore, the process approval type can be determined according to the mechanism level and the service scene corresponding to the approval process initiator, and the target approval node set and the target process edge set are obtained from the target database based on the process approval type.
In this embodiment, the identification information of the approval process initiator may be used to uniquely determine the approval process initiator, and in some embodiments, the identification information may be a serial number, an identification number, a name, and the like of the approval process initiator, and may be specifically determined according to an actual situation, which is not limited in this specification. Furthermore, the mechanism level corresponding to the approval process initiator can be determined according to the identification information of the approval process initiator. The correspondence between the identification information and the organization hierarchy may be configured in advance and stored in a table in the form of key-value pairs.
In this embodiment, the organization hierarchy may be used to indicate the level of the user in the organization, and for example, the organization hierarchy may be: branch type, secondary branch type, primary branch type, etc. Of course, the mechanism level is not limited to the above examples, and other modifications are possible for those skilled in the art in light of the technical spirit of the embodiments of the present disclosure, and all that can be achieved is encompassed within the scope of the embodiments of the present disclosure as long as the functions and effects achieved by the embodiments of the present disclosure are the same or similar to the embodiments of the present disclosure.
In this embodiment, the approval node sets and the process edge sets may be pre-configured and stored in the target database, and the corresponding approval node sets and the process edge sets may be configured for mechanism levels and service scenes corresponding to different approval process initiators, so as to be obtained in time when an approval process creation request is received.
In this embodiment, the primary key of the approval node set and the process edge set may be a process approval type, one approval node set and one process edge set may be uniquely determined according to one process approval type, and one process approval type may be uniquely determined according to an organization level and a service scenario corresponding to an approval process initiator.
In this embodiment, since the approval process initiator has different mechanism levels, the corresponding approval processes may have differences, for example: the approval process initiated by the head office and the approval process initiated by the branch office are different, and the approval process initiated by the general staff and the head office is different, and can be determined according to actual conditions. Therefore, the process approval type can be determined by combining the mechanism level and the service scene corresponding to the approval process initiator. The mechanism level corresponding to the approval process initiator and the corresponding relation between the service scene and the process approval type can be stored in the process type table in advance so as to be obtained in time.
In one embodiment, after the performing the target approval process by using the target directed graph, the method may further include: and acquiring a service requirement, and modifying the target approval node set and the target process edge set based on the service requirement under the condition that the target approval process is determined to be adjusted according to the service requirement to obtain the modified target approval node set and the modified target process edge set. Further, the modified target approval node set and the modified target process edge set can be utilized to generate a modified target directed graph, and the adjusted target approval process is continuously executed based on the modified target directed graph.
In this embodiment, since there may be a situation that a business requirement changes in the process of executing the target approval process, the target directed graph needs to be adjusted. Therefore, the latest business requirements can be acquired, and the target approval node set and the target process edge set can be correspondingly adjusted under the condition that the target approval process needs to be adjusted according to the latest acquired business requirements. The adjustment method may include adding or deleting an approval node and/or a process edge, and may further include modifying an attribute of the approval node (approver information, a node name, and the like), and modifying an attribute of the process edge (an operation type, approval logic, and the like). Of course, the adjustment method is not limited to the above examples, and other modifications may be made by those skilled in the art in light of the technical spirit of the embodiments of the present disclosure, but the functions and effects achieved by the embodiments of the present disclosure are all within the scope of the embodiments of the present disclosure.
In this embodiment, the modified target directed graph is generated by using the modified target approval node set and the target process edge set, so that the modified target directed graph can accurately reflect the latest business requirements, and the adjusted target approval process can be continuously executed based on the modified target directed graph. In the embodiment, when the inherent approval process involves a change, the relation of the whole approval process does not need to be changed, and only the corresponding point set and the corresponding edge set need to be modified, so that the change of the approval process is simpler and more convenient.
In this embodiment, the whole approval process may be re-executed from the initial approval node in the adjusted target approval process, or may be continuously executed from the last circulated approval node in the target approval process before the adjustment. The specific situation can be determined according to actual situations, and the embodiment of the present specification does not limit the specific situation.
In one embodiment, performing the target approval process using the target directed graph may include: and receiving the approval operation aiming at the current approval node, and acquiring the approval logic of the current approval node from the target database. Furthermore, the examination and approval state of the current examination and approval node can be determined according to the examination and approval logic of the current examination and approval node. And under the condition that the approval state of the current approval node is approved, determining whether the current approval node is a termination node, and under the condition that the current approval node is the termination node, finishing the target approval process.
In this embodiment, the target approval process may be started by calling an API (interface) function. The API function is a group of public function functions and is used for executing the approval logic corresponding to each approval node.
In this embodiment, the flow may be performed from the initial approval node in the target directed graph, and the approval logic of the current approval node may be acquired from the target database when the approval operation for the current approval node is received. The target database can be pre-configured with approver information and approval logic obtained by each approval node in the target approval process, and the approver information of the approval nodes in the target directed graph can be used as a node attribute record, so that the approval logic can be obtained from the target database. In some embodiments, the examination and approval logic may also be recorded in the directed graph as an attribute of the process edge, so that the circulation of the examination and approval nodes may be directly performed according to the target directed graph. In some embodiments, the approval role and the approval logic may also be simultaneously obtained from the target database, which may be determined according to actual situations, and this is not limited in this specification.
In this embodiment, the API function may be called to execute the obtained approval logic of the current approval node, so as to obtain the approval state of the current approval node. Wherein, the approval status may include: non-submitted, under-approval, application deleted, approved, not approved, etc. Of course, the examination and approval state is not limited to the above examples, and other modifications are possible for those skilled in the art in light of the technical spirit of the embodiments of the present disclosure, and all such modifications are intended to be included within the scope of the embodiments of the present disclosure as long as they achieve the same or similar functions and effects as the embodiments of the present disclosure.
In this embodiment, the system can continue to wait when the approval state is uncommitted, approved, or the like, and re-determine the approval state of the current approval node at preset intervals. The target approval process can be ended when the approval state is application deletion, disapproval, approval failure, approval list deletion and the like, and the approval state can be identical to approval passing.
In this embodiment, when the approval state of the current approval node is determined to be approval pass, it may be further determined whether the current approval node is a termination node. If the current approval node is the termination node, the target approval process is completely executed, and the target approval process can be ended.
In this embodiment, if the examination and approval status of the examination and approval node is other than that of passing examination and approval, whether to end the target examination and approval process, or to jump to a designated examination and approval node, or to suspend the target examination and approval process may be determined according to the examination and approval logic, which may be determined according to actual conditions, and this is not limited in this embodiment of the present disclosure.
In this embodiment, after the execution of the approval logic of the current approval node is completed, the approval process data of the current approval node may be stored and updated. The approval process data may include: the system comprises an approval process number, an approval state, a current approval node, approval process initiator information, approver information of a next approval node, approval logic of the next approval node and the like, wherein the approval process data can be generated after the target approval process is submitted and continuously updated in the execution process, and the historical data can be covered by updating every time so as to ensure that the latest data is stored, and the efficiency of updating the approval process data is improved.
In this embodiment, if the current approval node is a termination node, when the approval process data is updated, the approver information of the next approval node and the approval logic of the next approval node may be updated to be control. It is understood that, of course, the information of the approver of the next approval node and the approval logic of the next approval node may not be updated, and may be determined according to actual situations, which is not limited in this description.
In one embodiment, after determining whether the current approval node is the termination node, the method may further include: and under the condition that the current approval node is not the termination node, acquiring the information of an approver of the next approval node of the current approval node according to the target directed graph. Furthermore, the target approval process can be skipped to the next approval node of the current approval node based on the approver information of the next approval node of the current approval node.
In this embodiment, when the current approval node is not the termination node, the approver information of the next approval node of the current approval node may be obtained according to the target directed graph. In some embodiments, the approval logic of the next approval node of the current approval node may also be obtained from the target database, and the approval process data may be updated.
In this embodiment, a skip API function may be called to skip the target approval process to the next approval node of the current approval node based on the approver information of the next approval node of the current approval node.
In an embodiment, after the target approval process jumps to the next approval node of the current approval node, the method may further include: updating a flow jump log; wherein, the process jump log comprises the information of the approver of the current approval node. And under the condition that the approval node rollback is determined to be required, determining the approver information of the approval node to be rolled back according to the process jump log. Furthermore, the target approval process can be skipped to the examination and approval node to be rolled back according to the information of the approver of the examination and approval node to be rolled back.
In the embodiment, when the center jumps to the current approval node, the flow jump log of the current approval node can be synchronously recorded. The process jump log may include approval information of each approval node that has executed the jump operation in the target approval process, where the approval information includes information of an approver specific to each approval node. Thus, the operation of the "rollback" function may be simplified by preserving redundant data.
In this embodiment, when the target approval process is in the normal approval process, and it is determined that the target approval process needs to be returned to the historical approver for modification, the process skip log may be first queried, the approver information of the approval node to be returned is determined, the approval node information corresponding to the approver information is further determined, then an approval return API function is called to return the target approval process to the corresponding node to be returned, and the approver of the node to be returned may complete the target approval process again after modification is required.
In this embodiment, whether or not the rollback operation is required may be determined by the current approver, or may be determined according to approval logic. For example: if the business data filled in the examination and approval sheet is wrong, the current examining and approving person can perform rollback operation, and the information list of the examining and approving persons of all historical examination and approval nodes can be inquired from the process jump log and can be selected by the current examining and approving person.
In this embodiment, after the to-be-rolled-back approval node is determined, the information of the approver of the to-be-rolled-back approval node can be queried from the process jump log and updated into the latest approval process data.
In one embodiment, before determining whether the current approval node is the termination node, the method may further include: and acquiring the control parameter of the current approval node, and determining whether the current approval node is a termination node or not under the condition that the control parameter of the current approval node is empty.
In the present embodiment, the control parameters of the approval node refer to special restrictions for the approval process, for example: controlling the total amount of money, wherein the total amount of money control parameters of each day are configured into AMT1, the total amount of the examination and approval sheets submitted in the current day is AMT2, the total amount of the examination and approval sheets in the current examination and approval process is AMT3, and if AMT2+ AMT3< AMT1, normal examination and approval can be carried out; otherwise, the "amount of money is out of limit" is prompted, at this time, the amount of money can be modified by returning, or the "approval fails" directly, which can be determined according to the actual situation, and is not limited in the embodiment of the present specification.
In this embodiment, after performing the approval logical judgment on the current approval node, or while performing the approval logical judgment on the current approval node, the control parameter of the current approval node may also be acquired before performing the approval logical judgment on the current approval node.
In this embodiment, it may be determined whether the control parameter of the current approval node is empty, and if the control parameter is empty, it indicates that the current approval node is not configured with the control parameter, so as to determine whether the current approval node is a termination node.
In one embodiment, after obtaining the control parameters of the current approval node, the method may further include: and determining the checking sequence of at least one control parameter under the condition that the control parameter of the current approval node is not null. And sequentially checking the current approval nodes according to the checking sequence of at least one control parameter to obtain a checking result, and further determining the flow direction of the current approval nodes according to the checking result.
In this embodiment, the current approval node may be sequentially checked according to a checking sequence of at least one control parameter, and if the current control parameter fails to be checked, the next control parameter may be sequentially checked, and the above logic may be repeated until all the control parameters are traversed. If the current control parameter passes the verification, the specific configuration information of the control parameter can be obtained, and the trend of the approval process is dynamically changed. The trend of the approval process is changed into two conditions, wherein one condition is that the approval process is directly jumped to a specified approval node, and the other condition is that the approval process is directly ended.
In this embodiment, the specific configuration information of the control parameter may include information of a next approval node of the approval process after the control parameter passes verification. For example: controlling the sum of money, wherein when the sum of money exceeds the limit, if the rollback operation is selected, the next approval node reads the information and the approval logic of the node where the rollback person is located; if the 'approval is not passed', the next approval node is directly 'approval end'.
In this embodiment, the verification result may include: the check passes and the check fails. The control parameter of each approval node can be configured with a corresponding check logic in advance, and the specific judgment mode can be determined according to the check logic. When there are a plurality of control parameters of one approval node, the check logic may further include whether other control parameters still need to be checked when one control parameter fails to be checked, whether other control parameters still need to be checked when one control parameter passes the check, and the like.
In one embodiment, a foreground interface can be provided to provide the business personnel with functions of filling and submitting business data to be examined and approved and inquiring, displaying, operating and the like of the examination and approval process data.
The above method is described below with reference to a specific embodiment, however, it should be noted that the specific embodiment is only for better describing the embodiment of the present specification and should not be construed as an improper limitation to the embodiment of the present specification. As shown in fig. 2, may include:
step S201: and the approval process initiator fills in the business data to be approved according to business requirements on a foreground interface of the approval device, triggers a submission event after filling is completed, and initiates a new approval process.
Step S202: calling the approval process to start the API function, and formally starting a new approval process.
Step S203: after the approval process is started, inquiring a corresponding approval process type ID from a process type table (process _ flow _ type) according to the mechanism level where an approval process initiator is located and a service scene, and respectively inquiring a corresponding point set and an edge set from an approval node set table (process _ flow _ node) and a process edge set table (process _ flow _ transition) according to the approval process type ID to draw a corresponding approval process directed graph.
Step S204: and acquiring the approval role and the approval logic of the current approval node in the approval process directed graph, calling an execution API function, executing the read approval logic of the current approval node, and finishing the real-time updating of the approval process state.
Step S205: and checking the control parameters.
And reading the control parameters of the current approval node, and calling an approval control API function to carry out control parameter logic verification. Firstly, judging whether the total amount of the control parameters of the current approval node is zero, if so, configuring no approval control for the approval node, and skipping the approval process to the step S206; if not, checking one by one according to the configured control parameter checking sequence. If the current control parameter is not checked, the total amount of the control parameter is decreased progressively, and the logic is continuously repeated; if the current control parameter passes the verification, the specific configuration information of the control parameter can be read, and the trend of the approval process is dynamically changed. The trend of the approval process is changed into two cases, one is that the approval process directly jumps to the designated approval node as shown in step S208, and the other is that the approval process directly ends as shown in step S209.
Step S206: after the approval logic of the current approval node is executed, the information of the approver and the approval logic of the next approval node can be read continuously, and then a jump API function is called to complete the jump between the approval nodes.
Step S207: and judging whether the current approval node is a termination node of the approval process, if so, ending the approval process, otherwise, jumping to the step S204, and repeating the steps until the termination node is reached.
In this embodiment, the total amount of the control parameters refers to the total number of the control parameters configured at the current flow node.
In the embodiment, an approval process creation mode with strong integration, high processing efficiency, low development difficulty and convenient continuous maintenance is realized based on the characteristics of strong connectivity, clear flow direction and the like of the directed graph. And various approval controls can be dynamically added between approval links of any mechanism level and flow skipping, and flow skipping logs of all approval nodes can be recorded in real time in the whole approval process, so that a rollback mechanism is realized. Furthermore, an examination and approval flow directed graph can be drawn in real time by dynamically maintaining flow data by adopting a flow data and business data separation development mode. In addition, the examination and approval control function among all the process jumps is realized through the real-time configuration of the control parameters, the trend of the whole examination and approval process is flexibly controlled, and the purposes of strong integration, high flexibility and convenient continuous maintenance are achieved. And the method is convenient for continuous development and has less performance loss.
Based on the same inventive concept, the embodiment of the present specification further provides an approval process determination apparatus, as in the following embodiments. Because the principle of solving the problems of the approval process determination device is similar to that of the approval process determination method, the approval process determination device can be implemented by the approval process determination method, and repeated parts are not described again. As used hereinafter, the term "unit" or "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated. Fig. 3 is a block diagram of a structure of an approval process determination apparatus according to an embodiment of the present disclosure, and as shown in fig. 3, the approval process determination apparatus may include: the following describes the configuration of the receiving module 301, the obtaining module 302, the generating module 303, and the executing module 304.
A receiving module 301, configured to receive an approval process creation request; the approval process creating request comprises identification information of an approval process initiator, business data to be approved and a business scene;
the obtaining module 302 may be configured to obtain a target approval node set and a target process edge set according to the identification information of the approval process initiator and a service scenario;
the generating module 303 may be configured to generate a target directed graph based on the target approval node set and the target process edge set; the target directed graph comprises a plurality of examination and approval nodes, and adjacent examination and approval nodes are connected through directed edges;
an execution module 304, which may be configured to execute the target approval process using the target directed graph; and the object of the target approval process approval is the business data to be approved.
The embodiment of the present specification further provides an electronic device, which may specifically refer to a schematic structural diagram of the electronic device shown in fig. 4 based on the determination method of the approval process provided by the embodiment of the present specification, and the electronic device may specifically include an input device 41, a processor 42, and a memory 43. The input device 41 may be specifically configured to input an approval process creation request. The processor 42 may be specifically configured to receive an approval process creation request; the approval process creating request comprises identification information of an approval process initiator, business data to be approved and a business scene; acquiring a target approval node set and a target process edge set according to the identification information of the approval process initiator and the service scene; generating a target directed graph based on the target approval node set and the target process edge set; the target directed graph comprises a plurality of examination and approval nodes, and adjacent examination and approval nodes are connected through directed edges; executing a target approval process by using the target directed graph; and the target approval process approval object is the business data to be approved. The memory 43 may be specifically configured to store data such as a target directed graph.
In this embodiment, the input device may be one of the main apparatuses for information exchange between a user and a computer system. The input device may include a keyboard, a mouse, a camera, a scanner, a light pen, a handwriting input board, a voice input device, etc.; the input device is used to input raw data and a program for processing the data into the computer. The input device can also acquire and receive data transmitted by other modules, units and devices. The processor may be implemented in any suitable way. For example, the processor may take the form of, for example, a microprocessor or processor and a computer-readable medium that stores computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, an embedded microcontroller, and so forth. The memory may in particular be a memory device used in modern information technology for storing information. The memory may include multiple levels, and in a digital system, the memory may be any memory as long as it can store binary data; in an integrated circuit, a circuit without a physical form and with a storage function is also called a memory, such as a RAM, a FIFO and the like; in the system, the storage device in physical form is also called a memory, such as a memory bank, a TF card and the like.
In this embodiment, the functions and effects specifically realized by the electronic device can be explained by comparing with other embodiments, and are not described herein again.
The embodiment of the present specification further provides a computer storage medium based on an approval process determination method, where the computer storage medium stores computer program instructions, and when the computer program instructions are executed, the computer storage medium may implement: receiving an approval process creation request; the approval process creating request comprises identification information of an approval process initiator, business data to be approved and a business scene; acquiring a target approval node set and a target process edge set according to the identification information of the approval process initiator and the service scene; generating a target directed graph based on the target approval node set and the target process edge set; the target directed graph comprises a plurality of examination and approval nodes, and adjacent examination and approval nodes are connected through directed edges; executing a target approval process by using the target directed graph; and the target approval process approval object is the business data to be approved.
In this embodiment, the storage medium includes, but is not limited to, a Random Access Memory (RAM), a Read-Only Memory (ROM), a Cache (Cache), a Hard Disk Drive (HDD), or a Memory Card (Memory Card). The memory may be used to store computer program instructions. The network communication unit may be an interface for performing network connection communication, which is set in accordance with a standard prescribed by a communication protocol.
In this embodiment, the functions and effects specifically realized by the program instructions stored in the computer storage medium can be explained by comparing with other embodiments, and are not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the embodiments of the present specification described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed over a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different from that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, embodiments of the present description are not limited to any specific combination of hardware and software.
Although the embodiments herein provide the method steps as described in the above embodiments or flowcharts, more or fewer steps may be included in the method based on conventional or non-inventive efforts. In the case of steps where no causal relationship is logically necessary, the order of execution of the steps is not limited to that provided by the embodiments of the present description. When the method is executed in an actual device or end product, the method can be executed sequentially or in parallel according to the embodiment or the method shown in the figure (for example, in the environment of a parallel processor or a multi-thread processing).
It is to be understood that the above description is intended to be illustrative, and not restrictive. Many embodiments and many applications other than the examples provided will be apparent to those of skill in the art upon reading the above description. The scope of embodiments of the present specification should, therefore, be determined not with reference to the above description, but should instead be determined with reference to the appended claims, along with the full scope of equivalents to which such claims are entitled.
The above description is only a preferred embodiment of the embodiments of the present disclosure, and is not intended to limit the embodiments of the present disclosure, and it will be apparent to those skilled in the art that various modifications and variations can be made in the embodiments of the present disclosure. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the embodiments of the present disclosure should be included in the protection scope of the embodiments of the present disclosure.

Claims (11)

1. A method for determining an approval process, comprising:
receiving an approval process creation request; the approval process creating request comprises identification information of an approval process initiator, business data to be approved and a business scene;
acquiring a target approval node set and a target process edge set according to the identification information of the approval process initiator and the service scene;
generating a target directed graph based on the target approval node set and the target process edge set; the target directed graph comprises a plurality of examination and approval nodes, and adjacent examination and approval nodes are connected through directed edges;
executing a target approval process by using the target directed graph; and the target approval process approval object is the business data to be approved.
2. The method of claim 1, wherein obtaining a target point set and a target edge set according to the identification information of the approval process initiator and the service scenario comprises:
determining an organization level corresponding to the approval process initiator based on the identification information of the approval process initiator;
determining a process approval type according to the mechanism level and the service scene corresponding to the approval process initiator;
and acquiring a target approval node set and a target process edge set from a target database based on the process approval type.
3. The method of claim 1, after performing a target approval process using the target directed graph, further comprising:
acquiring a service requirement;
under the condition that the target approval process needs to be adjusted according to business requirements, modifying the target approval node set and the target process edge set based on the business requirements to obtain a modified target approval node set and a modified target process edge set;
generating a modified target directed graph by using the modified target approval node set and the target process edge set;
and continuously executing the adjusted target approval process based on the modified target directed graph.
4. The method of claim 1, wherein performing a target approval process using the target directed graph comprises:
receiving an approval operation aiming at a current approval node;
acquiring the approval logic of the current approval node from a target database;
determining the examination and approval state of the current examination and approval node according to the examination and approval logic of the current examination and approval node;
under the condition that the approval state of the current approval node is approved, determining whether the current approval node is a termination node;
and under the condition that the current approval node is a termination node, ending the target approval process.
5. The method of claim 4, after determining whether the current approval node is a termination node, further comprising:
under the condition that the current approval node is not a termination node, acquiring approver information of a next approval node of the current approval node according to the target directed graph;
and jumping the target approval process to the next approval node of the current approval node based on the approver information of the next approval node of the current approval node.
6. The method of claim 5, after jumping the target approval process to the next approval node of the current approval node, further comprising:
updating a flow jump log; wherein, the process jump log comprises the approver information of the current approval node;
under the condition that the approval node backspacing is determined to be needed, determining approver information of the approval node to be backspaced according to the process jump log;
and skipping the target approval process to the approval node to be backed according to the approver information of the approval node to be backed.
7. The method of claim 4, further comprising, prior to determining whether the current approval node is a termination node:
acquiring control parameters of the current approval node;
and under the condition that the control parameter of the current approval node is null, determining whether the current approval node is a termination node.
8. The method of claim 7, after obtaining the control parameters of the current approval node, further comprising:
determining a check sequence of at least one control parameter under the condition that the control parameter of the current approval node is not empty;
sequentially verifying the current approval nodes according to the verification sequence of the at least one control parameter to obtain a verification result;
and determining the flow direction of the current approval node according to the verification result.
9. An approval process determination apparatus, comprising:
the receiving module is used for receiving an approval process establishing request; the approval process creating request comprises identification information of an approval process initiator, business data to be approved and a business scene;
the acquisition module is used for acquiring a target approval node set and a target process edge set according to the identification information of the approval process initiator and the service scene;
the generating module is used for generating a target directed graph based on the target approval node set and the target process edge set; the target directed graph comprises a plurality of examination and approval nodes, and adjacent examination and approval nodes are connected through directed edges;
the execution module is used for executing the target approval process by utilizing the target directed graph; and the target approval process approval object is the business data to be approved.
10. An approval process determination device comprising a processor and a memory for storing processor-executable instructions which, when executed by the processor, implement the steps of the method of any one of claims 1 to 8.
11. A computer-readable storage medium having stored thereon computer instructions which, when executed, implement the steps of the method of any one of claims 1 to 8.
CN202110854825.XA 2021-07-28 2021-07-28 Method, device and equipment for determining approval process Pending CN113506035A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110854825.XA CN113506035A (en) 2021-07-28 2021-07-28 Method, device and equipment for determining approval process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110854825.XA CN113506035A (en) 2021-07-28 2021-07-28 Method, device and equipment for determining approval process

Publications (1)

Publication Number Publication Date
CN113506035A true CN113506035A (en) 2021-10-15

Family

ID=78014807

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110854825.XA Pending CN113506035A (en) 2021-07-28 2021-07-28 Method, device and equipment for determining approval process

Country Status (1)

Country Link
CN (1) CN113506035A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114118866A (en) * 2021-12-07 2022-03-01 中国建设银行股份有限公司 Data processing method, device, equipment and computer storage medium
CN115564322A (en) * 2022-12-06 2023-01-03 连连(杭州)信息技术有限公司 Business processing method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110251868A1 (en) * 1999-11-22 2011-10-13 Accenture Global Services Limited Technology sharing during demand and supply planning in a network-based supply chain environment
CN111695876A (en) * 2020-06-16 2020-09-22 北京同邦卓益科技有限公司 Approval process processing method, device, equipment and storage medium
CN112184077A (en) * 2020-10-30 2021-01-05 平安数字信息科技(深圳)有限公司 Configurable process approval method and device, computer equipment and storage medium
CN112330275A (en) * 2020-10-30 2021-02-05 平安信托有限责任公司 Business approval flow processing method, device, equipment and storage medium
CN112766907A (en) * 2021-01-20 2021-05-07 中国工商银行股份有限公司 Service data processing method and device and server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110251868A1 (en) * 1999-11-22 2011-10-13 Accenture Global Services Limited Technology sharing during demand and supply planning in a network-based supply chain environment
CN111695876A (en) * 2020-06-16 2020-09-22 北京同邦卓益科技有限公司 Approval process processing method, device, equipment and storage medium
CN112184077A (en) * 2020-10-30 2021-01-05 平安数字信息科技(深圳)有限公司 Configurable process approval method and device, computer equipment and storage medium
CN112330275A (en) * 2020-10-30 2021-02-05 平安信托有限责任公司 Business approval flow processing method, device, equipment and storage medium
CN112766907A (en) * 2021-01-20 2021-05-07 中国工商银行股份有限公司 Service data processing method and device and server

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114118866A (en) * 2021-12-07 2022-03-01 中国建设银行股份有限公司 Data processing method, device, equipment and computer storage medium
CN115564322A (en) * 2022-12-06 2023-01-03 连连(杭州)信息技术有限公司 Business processing method and device, electronic equipment and storage medium
CN115564322B (en) * 2022-12-06 2023-09-19 连连(杭州)信息技术有限公司 Service processing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108595157B (en) Block chain data processing method, device, equipment and storage medium
US20190332502A1 (en) Method, device and computer program product for managing storage system
US10949314B2 (en) Method and apparatus for failure recovery of storage device
CN113506035A (en) Method, device and equipment for determining approval process
US11455523B2 (en) Risk evaluation method, computer-readable recording medium, and information processing apparatus
CN110471688A (en) Operation system processing method, device, equipment and storage medium
CN108492005B (en) Project data processing method and device, computer equipment and storage medium
WO2016118429A1 (en) System for efficient processing of transaction requests related to an account in a database
CN105989059A (en) Data record checking method and device
CN112685391B (en) Service data migration method and device, computer equipment and storage medium
CN111988188A (en) Transaction endorsement method, device and storage medium
CN110210845B (en) Method, apparatus, medium, and computing device for blockchain data migration
KR20230004394A (en) Hared memory access control method, device, electronic device and autonomous vehicle
CN104978336A (en) Unstructured data storage system based on Hadoop distributed computing platform
CN106201788A (en) Copy restorative procedure and system for distributed storage cluster
WO2021027612A1 (en) Method and apparatus for executing transaction in blockchain
CN109871290A (en) Allocating stack method for tracing, device and storage medium applied to Java
CN109213429B (en) Storage management method and device
US10761940B2 (en) Method, device and program product for reducing data recovery time of storage system
CN111507405A (en) Picture labeling method and device, electronic equipment and computer readable storage medium
CN112732367A (en) Event flow processing method, device and equipment and readable storage medium
CN114356768A (en) Method and device for reducing transaction read-write conflict through placeholder
CN116974983A (en) Data processing method, device, computer readable medium and electronic equipment
EP3866010A1 (en) Method and system for processing transactions in a block-chain network
CN112053125A (en) Countersigning method and device, electronic equipment and computer readable storage medium

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