CN113935659B - Distributed form dispatching method, system, equipment and medium for credit approval work order - Google Patents
Distributed form dispatching method, system, equipment and medium for credit approval work order Download PDFInfo
- Publication number
- CN113935659B CN113935659B CN202111413239.8A CN202111413239A CN113935659B CN 113935659 B CN113935659 B CN 113935659B CN 202111413239 A CN202111413239 A CN 202111413239A CN 113935659 B CN113935659 B CN 113935659B
- Authority
- CN
- China
- Prior art keywords
- approver
- approval
- work order
- current
- idle
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 57
- 239000003795 chemical substances by application Substances 0.000 claims description 27
- 239000012634 fragment Substances 0.000 claims description 24
- 238000004590 computer program Methods 0.000 claims description 14
- 230000001174 ascending effect Effects 0.000 claims description 12
- 230000008569 process Effects 0.000 claims description 11
- 238000013459 approach Methods 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 7
- 238000012545 processing Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 210000001520 comb Anatomy 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Abstract
The invention discloses a distributed form dispatching method, a system, equipment and a medium for credit approval work orders, wherein the method comprises the following steps: acquiring a credit application initiated by a user, generating a credit approval work order by a credit approval center according to the credit application initiated by the user, and streaming the approval work order to a to-be-dispatched work order pool; the credit approval center automatically records the seat state information of the approver according to the login condition of the work order approver; according to the seat state information of the approver and the to-be-dispatched bill work unit pool, the distributed job scheduling system polls the bill dispatching service, polls and dispatches the approval bill to the idle approver, and sends a bill dispatching prompt; the approver accepts the work order and approves the work order. The method and the system overcome the single dispatch bottleneck caused by centralized dispatch adopted in the dispatch method in the prior art, uniformly distribute dispatch tasks to each node for slicing, and greatly improve dispatch throughput in unit time; the invention decouples the strong dependence of the integrated workflow engine configuration in the prior art.
Description
Technical Field
The invention relates to the technical field of system dispatch in the field of credit business approval processes, in particular to a distributed dispatch method, system, equipment and medium for a credit approval work order.
Background
The dispatch method of the prior art can be roughly divided into 2 types:
(1) Assignment method based on workflow process roles
The principle of the scheme is as follows: firstly, a developer converts a business process into a BPM chart at the beginning of process design, and combs out a process link related to approval of an approver and a corresponding approver or approver role, and configures the approver or approver role at a corresponding manual approval node; and when the business process is initiated, the flow node flows to the manual approval node, and the flow is assigned to the corresponding approver or randomly assigned to the approver under the corresponding role according to the approver or the role configured by the workflow, and finally the approver finishes the approval of the business process.
(2) Method for receiving work order by manually clicking by approval personnel
The traditional work order processing flow is that a user initiates an application, a system generates a work order flow, the work order flow is transferred to a database, an approver logs in the system, the work order is continuously clicked on a page, and approval is carried out after the work order is received.
The drawbacks of the above prior art solutions are as follows:
1. The personnel and roles of the approver use the workflow personnel system, and the personnel system of the application system is required to be continuously synchronized, so that the workflow engine and the application system generate stronger coupling degree;
2. the dispatch scheme in the prior art is commonly configured on a workflow flow chart directly, and if the configuration needs to be adjusted after the project is put into production, the adjustment and release of the flow chart are involved, and the change risk exists;
3. The workflow engine dispatch is generally a central single dispatch, and a certain service throughput bottleneck exists;
4. the manual work order picking-up operation requires continuous manpower and has relatively low efficiency.
Disclosure of Invention
The invention aims to solve the technical problem of throughput bottleneck caused by strong coupling of an application system and a workflow engine and workflow center type dispatch in the dispatching method in the prior art. The invention aims to provide a distributed dispatching method, a system, equipment and a medium for credit approval worksheets, which overcome the single dispatching bottleneck caused by centralized dispatching adopted in the dispatching method in the prior art, uniformly distribute dispatching tasks to each node for slicing, and greatly improve dispatching throughput in unit time; the invention decouples the strong dependence of the configuration of the integrated workflow engine in the prior art, abstracts the approval configuration service, the distributed dispatch service, the workflow engine service, the credit approval center service and the like, so that each service is more focused on the respective field, and the robustness of each service of the approval center is also improved.
The invention is realized by the following technical scheme:
In a first aspect, the present invention provides a method for distributed dispatch of credit approval worksheets, the method comprising:
S1: acquiring a credit application initiated by a user, generating a credit approval work order by a credit approval center according to the credit application initiated by the user, and streaming the approval work order to a to-be-dispatched work order pool;
s2: the credit approval center automatically records the seat state information of the approver according to the login condition of the work order approver;
S3: according to the seat state information of the approver and the to-be-dispatched bill work unit pool, the distributed job scheduling system polls the bill dispatching service, polls and dispatches the approval bill to the idle approver, and sends a bill dispatching prompt;
S4: and the approver receives the work order and approves the work order according to the received order sending prompt.
Further, step S2 comprises the sub-steps of:
s21: the work order approver logs in a credit approval center, switches approval roles needing to be operated, and performs manual on-line of the seat;
s22: the credit approval center records the status information of the approval staff seat and marks the current status of the approval staff seat as on-line.
Further, step S3 comprises the sub-steps of:
S31: invoking an agent service to acquire an approver with the current agent state on line, and acquiring a current on-line approver information set, wherein the approver information set comprises an approver identity ID and an approving role set, and is ordered according to the on-line time ascending sequence of the approver agent;
S32: traversing the approver information set, and obtaining all the approver sets of the current slicing of the distributed job scheduling system by adopting a hash slicing and modular approach;
s33: traversing the approver set, sending the identification ID of the approver to the work order service, inquiring whether the current approver has the work order in the approval, judging whether the current approver is idle according to the result, and if the approver is not idle, directly neglecting to continue traversing the next approver; if the inspector is idle, putting the inspector into an idle queue, and obtaining a complete idle inspector queue when traversing is completed;
S34: traversing the idle approver queue, sending the approving role of the approver to a dispatch service, and inquiring the approving configuration corresponding to the approving role to obtain the approving configuration of the current approving role, wherein the approving configuration comprises the approving task type and the task weight set;
S35: grouping the approval configuration sets according to the task weight sets, and sorting the approval configuration sets according to ascending order of weight values to obtain new approval configuration sets;
S36: sending the new approval configuration set to a worksheet service to perform to-be-dispatched list inquiry to obtain a to-be-dispatched list set, and if the to-be-dispatched list set is empty, directly neglecting to continue traversing the next idle approver; if the to-be-dispatched list set is not empty, a single dispatch step is entered;
S37: the dispatch service acquires the information of the current idle approver, submits the current work order information and the identity ID of the approver to the workflow service, sets the appointed approver by the workflow service, and sends a dispatch reminder to the approver.
Further, in step S32, a hash fragment modular approach is adopted to obtain all the approver sets of the current fragments of the distributed job scheduling system; the method specifically comprises the following steps:
S321: traversing the approver information set, and calculating the identity ID of the approver by adopting a hash algorithm to obtain a hash value of the identity ID of the approver;
S322: obtaining the current total number of fragments of the distributed job scheduling system, dividing the hash value of the identifier ID of the approver by the total number of fragments, and taking a model to obtain a model value;
S323: comparing the modulus value with the current fragment index value, and if the modulus value and the current fragment index value are equal, executing a scheduling task of a current approver in the current fragment; if not, directly neglecting to enter the next polling until all the approver sets of the current slice are obtained.
Further, the step S31 is preceded by the following steps:
S30: the distributed job scheduling system acquires an on-line approval list of the agents and judges whether the approval list is empty or not: if the seat online approval list is empty, the approver is not online; if the seat online approval list is not empty, acquiring an idle approval staff list, and judging whether the idle approval staff list is empty or not: if the free approver list is empty, the approver is in approval; if the free approver list is not empty, the step S31 is entered.
Further, the judgment of whether the current dispatch approver is idle is also included between the step S36 and the step S37; the method comprises the following steps:
secondly, confirming whether the current approver is idle or not, if not, continuing traversing the next approver dispatching flow; if idle, the next step will be entered.
In a second aspect, the present invention further provides a distributed dispatch system for a credit approval worksheet, the system supporting the distributed dispatch method for a credit approval worksheet, the system comprising:
the acquisition module is used for acquiring a credit application initiated by a user;
The credit approval work order generation module is used for generating a credit approval work order according to a credit application initiated by a user, and forwarding the approval work order to the to-be-dispatched work order pool;
the approval agent seat state information recording module is used for automatically recording the approval agent seat state information by the credit approval center according to the login condition of the work order approver;
The polling dispatch module is used for polling dispatch list service according to the seat state information of the approver and the list pool to be dispatched, carrying out polling dispatch approval list on the idle approver and sending a list dispatch reminder;
And the approver receives the work order and approves the work order according to the received order sending prompt by the approver.
Further, the execution process of the polling dispatch module is as follows:
Invoking an agent service to acquire an approver with the current agent state on line, and acquiring a current on-line approver information set, wherein the approver information set comprises an approver identity ID and an approving role set, and is ordered according to the on-line time ascending sequence of the approver agent;
traversing the approver information set, and obtaining all the approver sets of the current slicing of the distributed job scheduling system by adopting a hash slicing and modular approach;
Traversing the approver set, sending the identification ID of the approver to the work order service, inquiring whether the current approver has the work order in the approval, judging whether the current approver is idle according to the result, and if the approver is not idle, directly neglecting to continue traversing the next approver; if the inspector is idle, putting the inspector into an idle queue, and obtaining a complete idle inspector queue when traversing is completed;
traversing the idle approver queue, sending the approving role of the approver to a dispatch service, and inquiring the approving configuration corresponding to the approving role to obtain the approving configuration of the current approving role, wherein the approving configuration comprises the approving task type and the task weight set;
Grouping the approval configuration sets according to the task weight sets, and sorting the approval configuration sets according to ascending order of weight values to obtain new approval configuration sets;
Sending the new approval configuration set to a worksheet service to perform to-be-dispatched list inquiry to obtain a to-be-dispatched list set, and if the to-be-dispatched list set is empty, directly neglecting to continue traversing the next idle approver; if the to-be-dispatched list set is not empty, a single dispatch step is entered;
The dispatch service acquires the information of the current idle approver, submits the current work order information and the identity ID of the approver to the workflow service, sets the appointed approver by the workflow service, and sends a dispatch reminder to the approver.
In a third aspect, the present invention further provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the distributed dispatch method of a credit approval work order when the computer program is executed.
In a fourth aspect, the present invention further provides a computer readable storage medium storing a computer program which, when executed by a processor, implements a distributed dispatch method for a credit approval worksheet.
Compared with the prior art, the invention has the following advantages and beneficial effects:
The distributed dispatching method, system, equipment and medium for credit approval worksheets overcomes the single dispatching bottleneck caused by centralized dispatching adopted in the dispatching method in the prior art, uniformly distributes dispatching tasks to each node for slicing, and greatly improves dispatching throughput in unit time; the invention decouples the strong dependence of the configuration of the integrated workflow engine in the prior art, abstracts the approval configuration service, the distributed dispatch service, the workflow engine service, the credit approval center service and the like, so that each service is more focused on the respective field, and the robustness of each service of the approval center is also improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of embodiments of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the principles of the application. In the drawings:
FIG. 1 is a flow chart of a distributed dispatch method for credit approval worksheets according to the present invention.
FIG. 2 is a flow chart of work order flow for a distributed dispatch method for credit approval work orders according to the present invention.
FIG. 3 is a flow chart of a distributed dispatch method for credit approval worksheets according to the present invention.
FIG. 4 is a block diagram of a distributed dispatch system for credit approval worksheets in accordance with the present invention.
Detailed Description
For the purpose of making apparent the objects, technical solutions and advantages of the present invention, the present invention will be further described in detail with reference to the following examples and the accompanying drawings, wherein the exemplary embodiments of the present invention and the descriptions thereof are for illustrating the present invention only and are not to be construed as limiting the present invention.
Example 1
As shown in fig. 1 to 3, a distributed dispatch method for credit approval worksheets according to the present invention, as shown in fig. 1, includes:
S1: acquiring a credit application initiated by a user, generating a credit approval work order by a credit approval center according to the credit application initiated by the user, and streaming the approval work order to a to-be-dispatched work order pool; the step S1 specifically comprises the following steps:
s11: the user initiates a credit application, the credit application flows to a credit approval center, and the credit approval center automatically generates a credit approval work order;
S12: and the credit approval center carries out flow circulation on the application worksheet of the user and transfers the worksheet flow to the to-be-dispatched worksheet pool.
S2: the credit approval center automatically records the seat state information of the approver according to the login condition of the work order approver; step S2 comprises the following sub-steps:
s21: the work order approver logs in a credit approval center, switches approval roles needing to be operated, and performs manual on-line of the seat;
s22: the credit approval center records the status information of the approval staff seat and marks the current status of the approval staff seat as on-line.
S3: according to the seat state information of the approver and the to-be-dispatched bill work unit pool, the distributed job scheduling system polls the bill dispatching service, polls and dispatches the approval bill to the idle approver, and sends a bill dispatching prompt; as shown in fig. 3, step S3 includes the sub-steps of:
S31: invoking an agent service to acquire an approver with the current agent state on line, and acquiring a current on-line approver information set, wherein the approver information set comprises an approver identity ID and an approving role set, and is ordered according to the on-line time ascending sequence of the approver agent;
S32: traversing the approver information set, and obtaining all the approver sets of the current slicing of the distributed job scheduling system by adopting a hash slicing and modular approach;
step S32, obtaining all the approver sets of the current fragments of the distributed job scheduling system by adopting a Hash fragment modular approach; the method specifically comprises the following steps:
S321: traversing the approver information set, and calculating the identity ID of the approver by adopting a hash algorithm to obtain a hash value of the identity ID of the approver;
S322: obtaining the current total number of fragments of the distributed job scheduling system, dividing the hash value of the identifier ID of the approver by the total number of fragments, and taking a model to obtain a model value;
S323: comparing the modulus value with the current fragment index value, and if the modulus value and the current fragment index value are equal, executing a scheduling task of a current approver in the current fragment; if not, directly neglecting to enter the next polling until all the approver sets of the current slice are obtained.
S33: traversing the approver set, sending the identification ID of the approver to the work order service, inquiring whether the current approver has the work order in the approval, judging whether the current approver is idle according to the result, and if the approver is not idle, directly neglecting to continue traversing the next approver; if the inspector is idle, putting the inspector into an idle queue, and obtaining a complete idle inspector queue when traversing is completed;
S34: traversing the idle approver queue, sending the approving role of the approver to a dispatch service, and inquiring the approving configuration corresponding to the approving role to obtain the approving configuration of the current approving role, wherein the approving configuration comprises the approving task type and the task weight set;
S35: grouping the approval configuration sets according to the task weight sets, and sorting the approval configuration sets according to ascending order of weight values to obtain new approval configuration sets;
S36: sending the new approval configuration set to a worksheet service to perform to-be-dispatched list inquiry to obtain a to-be-dispatched list set, and if the to-be-dispatched list set is empty, directly neglecting to continue traversing the next idle approver; if the to-be-dispatched list set is not empty, a single dispatch step is entered;
S37: secondly, confirming whether the current approver is idle or not, if not, continuing traversing the next approver dispatching flow; if the device is idle, the next step is carried out;
s38: the dispatch service acquires the information of the current idle approver, submits the current work order information and the identity ID of the approver to the workflow service, sets the appointed approver by the workflow service, and sends a dispatch reminder to the approver.
S4: and the approver receives the work order and approves the work order according to the received order sending prompt. Specifically: and the approver logs in a credit approval center system, clicks a dispatching message prompt or a my approval task list, performs manual approval on the work order to be approved, completes the work order approval, and ends the flow.
For further explanation of the present embodiment, the following steps are further included before step S31:
S30: the distributed job scheduling system acquires an on-line approval list of the agents and judges whether the approval list is empty or not: if the seat online approval list is empty, the approver is not online; if the seat online approval list is not empty, acquiring an idle approval staff list, and judging whether the idle approval staff list is empty or not: if the free approver list is empty, the approver is in approval; if the free approver list is not empty, the step S31 is entered.
The working principle is as follows: based on the problems of strong coupling of an application system and a workflow engine and throughput bottle neck caused by workflow center type dispatch in the dispatching method in the prior art, the invention provides a distributed dispatching method of credit approval worksheets, overcomes the single dispatching bottleneck caused by centralized dispatching adopted in the dispatching method in the prior art, uniformly distributes dispatching tasks to each node partition, and greatly improves dispatching throughput in unit time; the invention decouples the strong dependence of the configuration of the integrated workflow engine in the prior art, abstracts the approval configuration service, the distributed dispatch service, the workflow engine service, the credit approval center service and the like, so that each service is more focused on the respective field, and the robustness of each service of the approval center is also improved.
Example 2
As shown in fig. 4, the difference between this embodiment and embodiment 1 is that the present invention provides a distributed dispatch system for a credit approval worksheet, which supports a distributed dispatch method for a credit approval worksheet described in embodiment 1, and the system includes:
the acquisition module is used for acquiring a credit application initiated by a user;
The credit approval work order generation module is used for generating a credit approval work order according to a credit application initiated by a user, and forwarding the approval work order to the to-be-dispatched work order pool;
the approval agent seat state information recording module is used for automatically recording the approval agent seat state information by the credit approval center according to the login condition of the work order approver;
The polling dispatch module is used for polling dispatch list service according to the seat state information of the approver and the list pool to be dispatched, carrying out polling dispatch approval list on the idle approver and sending a list dispatch reminder;
And the approver receives the work order and approves the work order according to the received order sending prompt by the approver.
For further explanation of this embodiment, the execution process of the polling dispatch module is as follows:
Invoking an agent service to acquire an approver with the current agent state on line, and acquiring a current on-line approver information set, wherein the approver information set comprises an approver identity ID and an approving role set, and is ordered according to the on-line time ascending sequence of the approver agent;
Traversing the approver information set, and calculating the identity ID of the approver by adopting a hash algorithm to obtain a hash value of the identity ID of the approver;
Obtaining the current total number of fragments of the distributed job scheduling system, dividing the hash value of the identifier ID of the approver by the total number of fragments, and taking a model to obtain a model value;
Comparing the modulus value with the current fragment index value, and if the modulus value and the current fragment index value are equal, executing a scheduling task of a current approver in the current fragment; if the current slices are not equal, directly neglecting to enter the next polling until all the approver sets of the current slices are obtained;
Traversing the approver set, sending the identification ID of the approver to the work order service, inquiring whether the current approver has the work order in the approval, judging whether the current approver is idle according to the result, and if the approver is not idle, directly neglecting to continue traversing the next approver; if the inspector is idle, putting the inspector into an idle queue, and obtaining a complete idle inspector queue when traversing is completed;
traversing the idle approver queue, sending the approving role of the approver to a dispatch service, and inquiring the approving configuration corresponding to the approving role to obtain the approving configuration of the current approving role, wherein the approving configuration comprises the approving task type and the task weight set;
Grouping the approval configuration sets according to the task weight sets, and sorting the approval configuration sets according to ascending order of weight values to obtain new approval configuration sets;
Sending the new approval configuration set to a worksheet service to perform to-be-dispatched list inquiry to obtain a to-be-dispatched list set, and if the to-be-dispatched list set is empty, directly neglecting to continue traversing the next idle approver; if the to-be-dispatched list set is not empty, a single dispatch step is entered;
The dispatch service acquires the information of the current idle approver, submits the current work order information and the identity ID of the approver to the workflow service, sets the appointed approver by the workflow service, and sends a dispatch reminder to the approver.
The distributed dispatching system for credit approval worksheets overcomes the single dispatching bottleneck caused by centralized dispatching adopted in the dispatching method in the prior art, uniformly distributes dispatching tasks to each node for slicing, and greatly improves dispatching throughput in unit time; the invention decouples the strong dependence of the configuration of the integrated workflow engine in the prior art, abstracts the approval configuration service, the distributed dispatch service, the workflow engine service, the credit approval center service and the like, so that each service is more focused on the respective field, and the robustness of each service of the approval center is also improved.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The foregoing description of the embodiments has been provided for the purpose of illustrating the general principles of the invention, and is not meant to limit the scope of the invention, but to limit the invention to the particular embodiments, and any modifications, equivalents, improvements, etc. that fall within the spirit and principles of the invention are intended to be included within the scope of the invention.
Claims (8)
1. A method for distributed dispatch of credit approval worksheets, the method comprising:
S1: acquiring a credit application initiated by a user, generating a credit approval work order by a credit approval center according to the credit application initiated by the user, and streaming the approval work order to a to-be-dispatched work order pool;
s2: the credit approval center automatically records the seat state information of the approver according to the login condition of the work order approver;
S3: according to the seat state information of the approver and the to-be-dispatched bill work unit pool, the distributed job scheduling system polls the bill dispatching service, polls and dispatches the approval bill to the idle approver, and sends a bill dispatching prompt;
s4: the approver receives the work order and approves the work order according to the received order prompt;
Step S3 comprises the following sub-steps:
S31: invoking an agent service to acquire an approver with the current agent state on line, and acquiring a current on-line approver information set, wherein the approver information set comprises an approver identity ID and an approving role set, and is ordered according to the on-line time ascending sequence of the approver agent;
S32: traversing the approver information set, and obtaining all the approver sets of the current slicing of the distributed job scheduling system by adopting a hash slicing and modular approach;
S33: traversing the approver set, sending the identification ID of the approver to the work order service, inquiring whether the current approver has the work order in the approval, judging whether the current approver is idle according to the result, and if the approver is not idle, directly continuing traversing the next approver; if the inspector is idle, putting the inspector into an idle queue, and obtaining a complete idle inspector queue when traversing is completed;
S34: traversing the idle approver queue, sending the approving role of the approver to a dispatch service, and inquiring the approving configuration corresponding to the approving role to obtain the approving configuration of the current approving role, wherein the approving configuration comprises the approving task type and the task weight set;
S35: grouping the approval configuration sets according to the task weight sets, and sorting the approval configuration sets according to ascending order of weight values to obtain new approval configuration sets;
S36: sending the new approval configuration set to a work order service for inquiring the to-be-dispatched work order to obtain a to-be-dispatched work order set, and if the to-be-dispatched work order set is empty, directly continuing to traverse the next idle approver; if the to-be-dispatched list set is not empty, a single dispatch step is entered;
S37: the dispatch service acquires the information of the current idle approver, submits the current work order information and the identity ID of the approver to the workflow service, sets the appointed approver by the workflow service, and sends a dispatch reminder to the approver.
2. The distributed dispatch method of a credit approval work order according to claim 1, wherein the step S2 comprises the sub-steps of:
s21: the work order approver logs in a credit approval center, switches approval roles needing to be operated, and performs on-line of the seat;
s22: the credit approval center records the status information of the approval staff seat and marks the current status of the approval staff seat as on-line.
3. The distributed dispatching method of credit approval worksheets according to claim 1, wherein in step S32, a hash slicing and modular method is adopted to obtain all the approver sets of the current slices of the distributed job scheduling system; the method specifically comprises the following steps:
S321: traversing the approver information set, and calculating the identity ID of the approver by adopting a hash algorithm to obtain a hash value of the identity ID of the approver;
S322: obtaining the current total number of fragments of the distributed job scheduling system, dividing the hash value of the identifier ID of the approver by the total number of fragments, and taking a model to obtain a model value;
S323: comparing the modulus value with the current fragment index value, and if the modulus value and the current fragment index value are equal, executing a scheduling task of a current approver in the current fragment; if the current slices are not equal, the next polling is directly carried out until all the approver sets of the current slices are obtained.
4. The distributed dispatching method of credit approval worksheets according to claim 1, further comprising the following steps before step S31:
S30: the distributed job scheduling system acquires an on-line approval list of the agents and judges whether the approval list is empty or not: if the seat online approval list is empty, the approver is not online; if the seat online approval list is not empty, acquiring an idle approval staff list, and judging whether the idle approval staff list is empty or not: if the free approver list is empty, the approver is in approval; if the free approver list is not empty, the step S31 is entered.
5. The distributed dispatching method of credit approval worksheets according to claim 1, wherein the judgment of whether the current dispatching approval person is idle is further comprised between the step S36 and the step S37; the method comprises the following steps:
secondly, confirming whether the current approver is idle or not, if not, continuing traversing the next approver dispatching flow; if idle, the next step will be entered.
6. A distributed dispatch system for credit approval worksheets, the system supporting a distributed dispatch method for credit approval worksheets as claimed in any one of claims 1 to 5, the system comprising:
the acquisition module is used for acquiring a credit application initiated by a user;
The credit approval work order generation module is used for generating a credit approval work order according to a credit application initiated by a user, and forwarding the approval work order to the to-be-dispatched work order pool;
the approval agent seat state information recording module is used for automatically recording the approval agent seat state information by the credit approval center according to the login condition of the work order approver;
The polling dispatch module is used for polling dispatch list service according to the seat state information of the approver and the list pool to be dispatched, carrying out polling dispatch approval list on the idle approver and sending a list dispatch reminder;
The approver receives the work orders and approves the work orders according to the received dispatching order prompt by the approver;
The execution process of the polling dispatch module is as follows:
Invoking an agent service to acquire an approver with the current agent state on line, and acquiring a current on-line approver information set, wherein the approver information set comprises an approver identity ID and an approving role set, and is ordered according to the on-line time ascending sequence of the approver agent;
traversing the approver information set, and obtaining all the approver sets of the current slicing of the distributed job scheduling system by adopting a hash slicing and modular approach;
Traversing the approver set, sending the identification ID of the approver to the work order service, inquiring whether the current approver has the work order in the approval, judging whether the current approver is idle according to the result, and if the approver is not idle, directly continuing traversing the next approver; if the inspector is idle, putting the inspector into an idle queue, and obtaining a complete idle inspector queue when traversing is completed;
traversing the idle approver queue, sending the approving role of the approver to a dispatch service, and inquiring the approving configuration corresponding to the approving role to obtain the approving configuration of the current approving role, wherein the approving configuration comprises the approving task type and the task weight set;
Grouping the approval configuration sets according to the task weight sets, and sorting the approval configuration sets according to ascending order of weight values to obtain new approval configuration sets;
sending the new approval configuration set to a work order service for inquiring the to-be-dispatched work order to obtain a to-be-dispatched work order set, and if the to-be-dispatched work order set is empty, directly continuing to traverse the next idle approver; if the to-be-dispatched list set is not empty, a single dispatch step is entered;
The dispatch service acquires the information of the current idle approver, submits the current work order information and the identity ID of the approver to the workflow service, sets the appointed approver by the workflow service, and sends a dispatch reminder to the approver.
7. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements a distributed dispatch method of a credit approval work order as claimed in any of claims 1 to 5 when the computer program is executed by the processor.
8. A computer readable storage medium storing a computer program, wherein the computer program when executed by a processor implements a distributed dispatch method of a credit approval worksheet according to any of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111413239.8A CN113935659B (en) | 2021-11-25 | Distributed form dispatching method, system, equipment and medium for credit approval work order |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111413239.8A CN113935659B (en) | 2021-11-25 | Distributed form dispatching method, system, equipment and medium for credit approval work order |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113935659A CN113935659A (en) | 2022-01-14 |
CN113935659B true CN113935659B (en) | 2024-06-28 |
Family
ID=
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109064005A (en) * | 2018-07-27 | 2018-12-21 | 北京中关村科金技术有限公司 | A kind of loan examination & approval task justice auto form delivering system of task based access control priority |
CN109542641A (en) * | 2018-11-14 | 2019-03-29 | 中国联合网络通信集团有限公司 | Service calling method, apparatus and system |
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109064005A (en) * | 2018-07-27 | 2018-12-21 | 北京中关村科金技术有限公司 | A kind of loan examination & approval task justice auto form delivering system of task based access control priority |
CN109542641A (en) * | 2018-11-14 | 2019-03-29 | 中国联合网络通信集团有限公司 | Service calling method, apparatus and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20080046862A1 (en) | Business task management | |
CN107563843A (en) | The inquiry price quoting method and system of auto-parts | |
CN106529871A (en) | Intelligent manufacturing method and system | |
TW200410108A (en) | Main production schedule managing system and method | |
CN109472442A (en) | A kind of automated programming system and method for work order | |
CN105631626A (en) | Method for finished vehicle electronic merchant background order allocation | |
CN111125719B (en) | Method, device, computer equipment and readable storage medium for improving code security detection efficiency | |
CN106855964A (en) | A kind for the treatment of method and apparatus of business datum | |
US7835813B2 (en) | System and method for managing a product manufacturing process | |
CN113935659B (en) | Distributed form dispatching method, system, equipment and medium for credit approval work order | |
TWI338262B (en) | A system and method for managing module development | |
CN107194705A (en) | Device sales information processing system based on sequence number | |
CN115660261A (en) | Production order information processing method, computer device and storage medium | |
CN110751410A (en) | Production management system, method and storage medium | |
CN113935659A (en) | Distributed dispatching method, system, equipment and medium for credit approval work order | |
JP3916199B2 (en) | Workflow matter input method, workflow management system, and workflow matter automatic input device | |
CN111625866B (en) | Authority management method, system, equipment and storage medium | |
CN113807805A (en) | On-line processing method for abnormal parts in valve assembly | |
CN115437757A (en) | Scheduling method, system, server and computer readable storage medium | |
CN111915357A (en) | Block chain-based merchant promotion method and system | |
CN118035899B (en) | Intelligent decision-based purchase application classification realization method, device and equipment | |
CN111858324B (en) | Automatic generation method and device for test cases | |
CN113537667B (en) | Workflow batch processing method and system | |
Pesenti et al. | Scheduling in a realistic environment using autonomous agents: a simulation study | |
CN114926211A (en) | Work order processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant |