CN111062634A - Approval task allocation method and device, computer equipment and storage medium - Google Patents
Approval task allocation method and device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN111062634A CN111062634A CN201911352013.4A CN201911352013A CN111062634A CN 111062634 A CN111062634 A CN 111062634A CN 201911352013 A CN201911352013 A CN 201911352013A CN 111062634 A CN111062634 A CN 111062634A
- Authority
- CN
- China
- Prior art keywords
- approval
- task
- examination
- terminal
- tasks
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 49
- 230000004044 response Effects 0.000 claims description 23
- 238000004590 computer program Methods 0.000 claims description 22
- 238000012545 processing Methods 0.000 claims description 17
- 238000012163 sequencing technique Methods 0.000 claims description 15
- 238000010586 diagram Methods 0.000 description 11
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012550 audit Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0631—Resource planning, allocation, distributing or scheduling for enterprises or organisations
Landscapes
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Engineering & Computer Science (AREA)
- Strategic Management (AREA)
- Entrepreneurship & Innovation (AREA)
- Economics (AREA)
- Operations Research (AREA)
- Game Theory and Decision Science (AREA)
- Development Economics (AREA)
- Marketing (AREA)
- Educational Administration (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The embodiment of the invention provides an approval task allocation method and device, computer equipment and a storage medium. Wherein the method comprises the following steps: if an approval task is received, adding the approval task into a preset task pool to be distributed; acquiring the residual examination and approval task quantity of each examination and approval terminal, wherein the residual examination and approval task quantity is the quantity of the examination and approval tasks which are not processed currently by the examination and approval terminal; and distributing the approval tasks in the task pool to be distributed to each approval terminal according to the residual approval task quantity of each approval terminal. According to the embodiment of the invention, the approval tasks in the task pool to be distributed are distributed to the approval terminals according to the residual approval task quantity of the approval terminals, so that the efficient configuration of approval resources can be realized, and the approval efficiency of the approval tasks is greatly improved.
Description
Technical Field
The invention relates to the technical field of task allocation, in particular to an approval task allocation method and device, computer equipment and a storage medium.
Background
With the increase of business volume of enterprises, the examination and approval tasks in the enterprises are more and more. At present, the distribution of the examination and approval tasks mainly adopts an off-line examination and approval mode, the efficiency is extremely low, and the task remaining condition of each examination and approval person cannot be accurately known. Moreover, the method adopts a random allocation mode, so that efficient configuration of the approval resources cannot be realized, and the processing efficiency of the approval task is further slowed down.
Disclosure of Invention
The embodiment of the invention provides an approval task allocation method and device, computer equipment and a storage medium, and aims to solve the problem of low approval efficiency of an approval task.
In a first aspect, an embodiment of the present invention provides an approval task allocation method, which includes:
if an approval task is received, adding the approval task into a preset task pool to be distributed;
acquiring the residual examination and approval task quantity of each examination and approval terminal, wherein the residual examination and approval task quantity is the quantity of the examination and approval tasks which are not processed currently by the examination and approval terminal;
and distributing the approval tasks in the task pool to be distributed to each approval terminal according to the residual approval task quantity of each approval terminal.
According to the further technical scheme, the method for distributing the approval tasks in the task pool to be distributed to the approval terminals according to the residual approval task amount of the approval terminals comprises the following steps:
sequencing all the approval terminals according to the sequence of the rest approval task quantities from low to high;
and sequentially distributing the examination and approval tasks in the task pool to be distributed to the examination and approval terminals according to the sequencing sequence of the examination and approval terminals.
The further technical scheme is that the obtaining of the remaining approval task quantity of each approval terminal comprises the following steps:
sending a task quantity query instruction to an approval terminal;
and receiving a response message returned by the approval terminal, wherein the response message comprises the residual approval task quantity of the approval terminal.
According to a further technical scheme, after the remaining approval task volumes of the approval terminals are obtained, the method further comprises the following steps:
judging whether the residual examination and approval task quantity of the examination and approval terminal is larger than a preset quantity threshold value or not;
and if the residual approval task quantity of the approval terminal is larger than a preset quantity threshold value, sending a task processing reminding message to the approval terminal.
According to a further technical scheme, after the approval tasks in the task pool to be allocated are allocated to the approval terminals according to the residual approval task quantity of the approval terminals, the method further comprises the following steps:
and deleting the approval tasks which are already allocated to the approval terminal in the task pool to be allocated.
In a second aspect, an embodiment of the present invention further provides an approval task allocation apparatus, which includes:
the adding unit is used for adding the approval tasks into a preset task pool to be distributed if the approval tasks are received;
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring the residual examination and approval task quantity of each examination and approval terminal, and the residual examination and approval task quantity is the quantity of the examination and approval tasks which are not processed currently by the examination and approval terminals;
and the first allocation unit is used for allocating the examination and approval tasks in the task pool to be allocated to the examination and approval terminals according to the residual examination and approval task quantity of the examination and approval terminals.
The further technical scheme is that the first distribution unit comprises:
the sequencing unit is used for sequencing all the approval terminals according to the sequence of the rest approval task quantities from low to high;
and the second distribution unit is used for sequentially distributing the approval tasks in the task pool to be distributed to the approval terminals according to the sorting sequence of the approval terminals.
The further technical scheme is that the acquiring unit comprises:
the sending unit is used for sending a task quantity query instruction to the approval terminal;
and the receiving unit is used for receiving a response message returned by the approval terminal, and the response message comprises the residual approval task quantity of the approval terminal.
In a third aspect, an embodiment of the present invention further provides a computer device, which includes a memory and a processor, where the memory stores a computer program, and the processor implements the above method when executing the computer program.
In a fourth aspect, the present invention also provides a computer-readable storage medium, which stores a computer program, and the computer program can implement the above method when being executed by a processor.
The embodiment of the invention provides an approval task allocation method and device, computer equipment and a storage medium. Wherein the method comprises the following steps: if an approval task is received, adding the approval task into a preset task pool to be distributed; acquiring the residual examination and approval task quantity of each examination and approval terminal, wherein the residual examination and approval task quantity is the quantity of the examination and approval tasks which are not processed currently by the examination and approval terminal; and distributing the approval tasks in the task pool to be distributed to each approval terminal according to the residual approval task quantity of each approval terminal. According to the embodiment of the invention, the approval tasks in the task pool to be distributed are distributed to the approval terminals according to the residual approval task quantity of the approval terminals, so that the efficient configuration of approval resources can be realized, and the approval efficiency of the approval tasks is greatly improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic view of an application scenario of an approval task allocation method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of an approval task allocation method according to an embodiment of the present invention;
fig. 3 is a sub-flow diagram of an approval task allocation method according to an embodiment of the present invention;
fig. 4 is a sub-flow diagram of an approval task allocation method according to an embodiment of the present invention;
fig. 5 is a schematic flowchart of an approval task allocation method according to another embodiment of the present invention;
FIG. 6 is a schematic block diagram of an approval task allocation apparatus according to an embodiment of the present invention;
fig. 7 is a schematic block diagram of a first allocation unit of an approval task allocation apparatus according to an embodiment of the present invention;
fig. 8 is a schematic block diagram of an obtaining unit of an approval task allocation apparatus according to an embodiment of the present invention;
FIG. 9 is a schematic block diagram of an approval task distribution apparatus according to another embodiment of the present invention;
fig. 10 is a schematic block diagram of a computer device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Referring to fig. 1 and fig. 2, fig. 1 is a schematic view of an application scenario of an approval task allocation method according to an embodiment of the present invention. Fig. 2 is a schematic flowchart of an approval task allocation method according to an embodiment of the present invention. The approval task allocation method is applied to the server 20. If the approval task is received, the server 20 adds the approval task to a preset task pool to be allocated; the server 20 acquires the remaining approval task quantity of each approval terminal 10, wherein the remaining approval task quantity is the quantity of the current unprocessed approval tasks of the approval terminals 10; and the server 20 distributes the approval tasks in the task pool to be distributed to each approval terminal 10 according to the residual approval task quantity of each approval terminal 10.
Fig. 2 is a schematic flowchart of an approval task allocation method according to an embodiment of the present invention. As shown, the method includes the following steps S1-S3.
And S1, if the approval task is received, adding the approval task into a preset task pool to be distributed.
In specific implementation, if an approval task is received, the server adds the approval task to a preset task pool to be allocated. The approval task is sent to the server by the staff in the enterprise.
And S2, obtaining the residual examination and approval task quantity of each examination and approval terminal, wherein the residual examination and approval task quantity is the quantity of the examination and approval tasks which are not processed at the current examination and approval terminal.
In specific implementation, the server acquires the remaining approval task volumes of the approval terminals. And the residual examination and approval task quantity is the quantity of the examination and approval tasks which are not processed at the examination and approval terminal currently. The larger the remaining approval task amount is, the higher the work saturation of the approval staff corresponding to the approval terminal is. The smaller the remaining examination and approval task quantity is, the lower the work saturation of the examination and approval personnel corresponding to the examination and approval terminal is.
It should be noted that the approval terminal refers to a terminal used by an approval person, and the approval terminal may be specifically a mobile phone terminal or a PC terminal. And the examination and approval personnel examine and approve the examination and approval task through the examination and approval terminal.
Referring to fig. 3, in an embodiment, the above steps of obtaining the remaining approval task volumes of the approval terminals specifically include the following steps S21-S22.
And S21, sending a task quantity inquiry command to the approval terminal.
In specific implementation, the server sends task quantity query instructions to each approval terminal. And the task quantity query instruction is used for querying the remaining examination and approval task quantities of all examination and approval terminals.
And S22, receiving a response message returned by the approval terminal, wherein the response message comprises the remaining approval task amount of the approval terminal.
In specific implementation, the server receives a response message returned by each approval terminal, wherein the response message comprises the remaining approval task amount of the approval terminal, so that the server can analyze and acquire the remaining approval task amount of the approval terminal from the response message.
And S3, distributing the approval tasks in the task pool to be distributed to each approval terminal according to the residual approval task quantity of each approval terminal.
In specific implementation, the approval tasks in the task pool to be allocated are allocated to the approval terminals according to the remaining amount of the approval tasks of the approval terminals.
And the approval terminal with smaller residual approval task amount preferentially obtains the approval tasks. Therefore, auditors with low working saturation can be guaranteed to obtain audit tasks preferentially, and efficient configuration of audit resources is achieved.
Referring to fig. 4, in an embodiment, the above steps of obtaining the remaining approval task volumes of the approval terminals specifically include the following steps S31-S32.
And S31, sequencing the examination and approval terminals according to the sequence of the rest examination and approval task quantities from low to high.
In specific implementation, all the approval terminals are sorted according to the sequence of the rest approval task quantities from low to high. Thus, the lower the remaining number of approval tasks (i.e., the lower the saturation level of operation), the further ahead the approval terminal rank.
And S32, distributing the approval tasks in the task pool to be distributed to the approval terminals in sequence according to the sequencing order of the approval terminals.
In specific implementation, the approval tasks in the task pool to be allocated are allocated to the approval terminals in sequence according to the sequencing order of the approval terminals. Therefore, the lower the residual examination and approval task quantity (namely, the lower the work saturation), the higher the priority of the examination and approval terminal to obtain the examination and approval tasks, and the efficient configuration of the examination and approval resources is realized.
By applying the technical scheme of the embodiment of the invention, if an approval task is received, the approval task is added into a preset task pool to be distributed; acquiring the residual examination and approval task quantity of each examination and approval terminal, wherein the residual examination and approval task quantity is the quantity of the examination and approval tasks which are not processed currently by the examination and approval terminal; and distributing the approval tasks in the task pool to be distributed to each approval terminal according to the residual approval task quantity of each approval terminal, so that the efficient configuration of approval resources can be realized, and the approval efficiency of the approval tasks is greatly improved.
Fig. 5 is a schematic flowchart of an approval task allocation method according to another embodiment of the present invention. As shown in FIG. 5, the approval task distribution method of the present embodiment includes steps S51-S56. Steps S51-S53 are similar to steps S1-S3 in the above embodiments, and are not repeated herein. The steps S53-S56 added in the present embodiment are explained in detail below.
And S51, if the approval task is received, adding the approval task into a preset task pool to be distributed.
And S52, obtaining the residual examination and approval task quantity of each examination and approval terminal, wherein the residual examination and approval task quantity is the quantity of the examination and approval tasks which are not processed at the current examination and approval terminal.
And S53, distributing the approval tasks in the task pool to be distributed to each approval terminal according to the residual approval task quantity of each approval terminal.
And S54, judging whether the residual examination and approval task quantity of the examination and approval terminal is larger than a preset quantity threshold value.
In a specific implementation, after the step S52 obtains the remaining approval task volumes of the approval terminals, the approval task allocation method provided by the present invention further includes: and judging whether the residual approval task quantity of the approval terminal is larger than a preset quantity threshold value. If the remaining approval task quantity of the approval terminal is larger than the preset quantity threshold value, the fact that a large number of approval tasks are accumulated on the approval terminal is indicated.
It should be noted that the number threshold can be set by those skilled in the art according to practical situations, and the present invention is not limited in particular.
And S55, if the residual examination and approval task quantity of the examination and approval terminal is larger than the preset quantity threshold value, sending a task processing reminding message to the examination and approval terminal.
In the specific implementation, if the remaining approval task quantity of the approval terminal is greater than the preset quantity threshold, a task processing reminding message is sent to the approval terminal so as to remind an approval person to accelerate processing of the approval task, and the processing efficiency of the approval task is further improved.
It should be noted that the task processing reminding message may specifically include a short message reminding message, an instant messaging reminding message, a mail reminding message, and the like.
And S56, deleting the approval tasks which are already allocated to the approval terminal in the task pool to be allocated.
In a specific implementation, after the step S53 allocates the approval tasks in the task pool to be allocated to each approval terminal according to the remaining approval task amount of each approval terminal, the approval task allocation method provided by the present invention further includes: and deleting the approval tasks which are already allocated to the approval terminal in the task pool to be allocated.
By deleting the approval tasks which are already allocated to the approval terminal in the task pool to be allocated, the secondary allocation of the approval tasks can be effectively avoided, and the waste of approval resources is avoided.
Fig. 6 is a schematic block diagram of an approval task distribution device 40 according to an embodiment of the present invention. As shown in fig. 6, the present invention further provides an approval task allocation apparatus 40 corresponding to the above approval task allocation method. The approval task allocation device 40 includes a unit for executing the approval task allocation method, and the approval task allocation device 40 may be configured in a server. Specifically, referring to fig. 6, the approval task distribution device 40 includes an adding unit 41, an obtaining unit 42, and a first distributing unit 43.
The adding unit 41 is configured to add the approval task to a preset task pool to be allocated if the approval task is received;
an obtaining unit 42, configured to obtain a remaining approval task amount of each approval terminal, where the remaining approval task amount is a number of approval tasks that are not currently processed by the approval terminal;
and the first allocating unit 43 is configured to allocate the approval tasks in the task pool to be allocated to each approval terminal according to the remaining approval task amount of each approval terminal.
In one embodiment, as shown in fig. 7, the first allocating unit 43 includes a sorting unit 431 and a second allocating unit 432.
The sorting unit 431 is used for sorting all the approval terminals according to the sequence of the rest approval task quantities from low to high;
and the second allocating unit 432 is configured to sequentially allocate the approval tasks in the task pool to be allocated to each approval terminal according to the sorting order of each approval terminal.
In an embodiment, as shown in fig. 8, the obtaining unit 42 includes a sending unit 421 and a receiving unit 422.
The sending unit 421 is configured to send a task amount query instruction to the approval terminal.
The receiving unit 422 is configured to receive a response message returned by the approval terminal, where the response message includes the remaining approval task amount of the approval terminal.
Fig. 9 is a schematic block diagram of an approval task distribution device 40 according to another embodiment of the present invention. As shown in fig. 9, the approval task distribution device 40 of the present embodiment is the above-mentioned embodiment, and is added with a determination unit 44, a reminding unit 45, and a deletion unit 45.
And the judging unit 44 is configured to judge whether the remaining approval task amount of the approval terminal is greater than a preset number threshold.
And the reminding unit 45 is used for sending a task processing reminding message to the approval terminal if the residual approval task quantity of the approval terminal is larger than a preset quantity threshold.
And the deleting unit 46 is configured to delete the approval tasks already allocated to the approval terminal in the task pool to be allocated.
It should be noted that, as can be clearly understood by those skilled in the art, the detailed implementation process of the approval task allocation apparatus 40 and each unit may refer to the corresponding description in the foregoing method embodiment, and for convenience and brevity of description, no further description is provided herein.
The approval task distribution means 40 may be implemented in the form of a computer program that can be run on a computer device as shown in fig. 10.
Referring to fig. 10, fig. 10 is a schematic block diagram of a computer device according to an embodiment of the present application. The computer device 500 may be a terminal or a server, where the terminal may be an electronic device with a communication function, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a personal digital assistant, and a wearable device. The server may be an independent server or a server cluster composed of a plurality of servers.
Referring to fig. 10, the computer device 500 includes a processor 502, memory, and a network interface 505 connected by a system bus 501, where the memory may include a non-volatile storage medium 503 and an internal memory 504.
The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. The computer program 5032, when executed, causes the processor 502 to perform an approval task assignment method.
The processor 502 is used to provide computing and control capabilities to support the operation of the overall computer device 500.
The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503, and when the computer program 5032 is executed by the processor 502, the processor 502 may perform an approval task assignment method.
The network interface 505 is used for network communication with other devices. Those skilled in the art will appreciate that the configuration shown in fig. 10 is a block diagram of only a portion of the configuration relevant to the present teachings and is not intended to limit the computing device 500 to which the present teachings may be applied, and that a particular computing device 500 may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
Wherein the processor 502 is configured to run the computer program 5032 stored in the memory to implement the following steps:
if an approval task is received, adding the approval task into a preset task pool to be distributed;
acquiring the residual examination and approval task quantity of each examination and approval terminal, wherein the residual examination and approval task quantity is the quantity of the examination and approval tasks which are not processed currently by the examination and approval terminal;
and distributing the approval tasks in the task pool to be distributed to each approval terminal according to the residual approval task quantity of each approval terminal.
In an embodiment, when the step of allocating the approval tasks in the to-be-allocated task pool to the approval terminals according to the remaining amount of the approval tasks of the approval terminals is implemented by the processor 502, the following steps are specifically implemented:
sequencing all the approval terminals according to the sequence of the rest approval task quantities from low to high;
and sequentially distributing the examination and approval tasks in the task pool to be distributed to the examination and approval terminals according to the sequencing sequence of the examination and approval terminals.
In an embodiment, when the step of obtaining the remaining approval task volumes of the approval terminals is implemented by the processor 502, the following steps are specifically implemented:
sending a task quantity query instruction to an approval terminal;
and receiving a response message returned by the approval terminal, wherein the response message comprises the residual approval task quantity of the approval terminal.
In an embodiment, after the step of obtaining the remaining approval task volumes of the approval terminals is implemented, the processor 502 further implements the following steps:
judging whether the residual examination and approval task quantity of the examination and approval terminal is larger than a preset quantity threshold value or not;
and if the residual approval task quantity of the approval terminal is larger than a preset quantity threshold value, sending a task processing reminding message to the approval terminal.
In an embodiment, after the step of allocating the approval tasks in the to-be-allocated task pool to the approval terminals according to the remaining amount of the approval tasks of the approval terminals is implemented, the processor 502 further implements the following steps:
and deleting the approval tasks which are already allocated to the approval terminal in the task pool to be allocated.
It should be understood that, in the embodiment of the present Application, the Processor 502 may be a Central Processing Unit (CPU), and the Processor 502 may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It will be understood by those skilled in the art that all or part of the flow of the method implementing the above embodiments may be implemented by a computer program instructing associated hardware. The computer program may be stored in a storage medium, which is a computer-readable storage medium. The computer program is executed by at least one processor in the computer system to implement the flow steps of the embodiments of the method described above.
Accordingly, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program. The computer program, when executed by a processor, causes the processor to perform the steps of:
if an approval task is received, adding the approval task into a preset task pool to be distributed;
acquiring the residual examination and approval task quantity of each examination and approval terminal, wherein the residual examination and approval task quantity is the quantity of the examination and approval tasks which are not processed currently by the examination and approval terminal;
and distributing the approval tasks in the task pool to be distributed to each approval terminal according to the residual approval task quantity of each approval terminal.
In an embodiment, when the processor executes the computer program to implement the step of allocating the approval tasks in the to-be-allocated task pool to the approval terminals according to the remaining approval task volumes of the approval terminals, the following steps are specifically implemented:
sequencing all the approval terminals according to the sequence of the rest approval task quantities from low to high;
and sequentially distributing the examination and approval tasks in the task pool to be distributed to the examination and approval terminals according to the sequencing sequence of the examination and approval terminals.
In an embodiment, when the processor executes the computer program to implement the step of obtaining the remaining approval task quantities of the approval terminals, the following steps are specifically implemented:
sending a task quantity query instruction to an approval terminal;
and receiving a response message returned by the approval terminal, wherein the response message comprises the residual approval task quantity of the approval terminal.
In an embodiment, after the step of obtaining the remaining approval task volumes of the approval terminals is implemented by executing the computer program, the processor further implements the following steps:
judging whether the residual examination and approval task quantity of the examination and approval terminal is larger than a preset quantity threshold value or not;
and if the residual approval task quantity of the approval terminal is larger than a preset quantity threshold value, sending a task processing reminding message to the approval terminal.
In an embodiment, after the step of allocating the approval tasks in the to-be-allocated task pool to the approval terminals according to the remaining approval task volumes of the approval terminals is realized by executing the computer program, the processor further realizes the following steps:
and deleting the approval tasks which are already allocated to the approval terminal in the task pool to be allocated.
The storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk, which can store various computer readable storage media.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative. For example, the division of each unit is only one logic function division, and there may be another division manner in actual implementation. For example, various elements or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs. The units in the device of the embodiment of the invention can be merged, divided and deleted according to actual needs. In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a terminal, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, while the invention has been described with respect to the above-described embodiments, it will be understood that the invention is not limited thereto but may be embodied with various modifications and changes.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (10)
1. An approval task allocation method is characterized by comprising the following steps:
if an approval task is received, adding the approval task into a preset task pool to be distributed;
acquiring the residual examination and approval task quantity of each examination and approval terminal, wherein the residual examination and approval task quantity is the quantity of the examination and approval tasks which are not processed currently by the examination and approval terminal;
and distributing the approval tasks in the task pool to be distributed to each approval terminal according to the residual approval task quantity of each approval terminal.
2. The approval task allocation method according to claim 1, wherein the allocating the approval tasks in the to-be-allocated task pool to the approval terminals according to the remaining amount of the approval tasks of the approval terminals comprises:
sequencing all the approval terminals according to the sequence of the rest approval task quantities from low to high;
and sequentially distributing the examination and approval tasks in the task pool to be distributed to the examination and approval terminals according to the sequencing sequence of the examination and approval terminals.
3. The approval task distribution method according to claim 1, wherein the obtaining of the remaining approval task volumes of the approval terminals comprises:
sending a task quantity query instruction to an approval terminal;
and receiving a response message returned by the approval terminal, wherein the response message comprises the residual approval task quantity of the approval terminal.
4. The approval task allocation method according to claim 1, wherein after obtaining the remaining approval task volumes of the approval terminals, the method further comprises:
judging whether the residual examination and approval task quantity of the examination and approval terminal is larger than a preset quantity threshold value or not;
and if the residual approval task quantity of the approval terminal is larger than a preset quantity threshold value, sending a task processing reminding message to the approval terminal.
5. The approval task allocation method according to claim 1, wherein after the approval tasks in the task pool to be allocated are allocated to the approval terminals according to the remaining amount of the approval tasks of the approval terminals, the method further comprises:
and deleting the approval tasks which are already allocated to the approval terminal in the task pool to be allocated.
6. An approval task assigning apparatus, comprising:
the adding unit is used for adding the approval tasks into a preset task pool to be distributed if the approval tasks are received;
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring the residual examination and approval task quantity of each examination and approval terminal, and the residual examination and approval task quantity is the quantity of the examination and approval tasks which are not processed currently by the examination and approval terminals;
and the first allocation unit is used for allocating the examination and approval tasks in the task pool to be allocated to the examination and approval terminals according to the residual examination and approval task quantity of the examination and approval terminals.
7. The approval task allocation apparatus according to claim 6, wherein the first allocation unit comprises:
the sequencing unit is used for sequencing all the approval terminals according to the sequence of the rest approval task quantities from low to high;
and the second distribution unit is used for sequentially distributing the approval tasks in the task pool to be distributed to the approval terminals according to the sorting sequence of the approval terminals.
8. The approval task allocation apparatus according to claim 6, wherein the obtaining unit includes:
the sending unit is used for sending a task quantity query instruction to the approval terminal;
and the receiving unit is used for receiving a response message returned by the approval terminal, and the response message comprises the residual approval task quantity of the approval terminal.
9. A computer arrangement, characterized in that the computer arrangement comprises a memory having stored thereon a computer program and a processor implementing the method according to any of claims 1-5 when executing the computer program.
10. A computer-readable storage medium, characterized in that the storage medium stores a computer program which, when being executed by a processor, is adapted to carry out the method according to any one of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911352013.4A CN111062634A (en) | 2019-12-25 | 2019-12-25 | Approval task allocation method and device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911352013.4A CN111062634A (en) | 2019-12-25 | 2019-12-25 | Approval task allocation method and device, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111062634A true CN111062634A (en) | 2020-04-24 |
Family
ID=70303317
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911352013.4A Pending CN111062634A (en) | 2019-12-25 | 2019-12-25 | Approval task allocation method and device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111062634A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112990709A (en) * | 2021-03-17 | 2021-06-18 | 中国建设银行股份有限公司 | Approval task allocation method, device, equipment and storage medium |
CN114066335A (en) * | 2022-01-18 | 2022-02-18 | 飞狐信息技术(天津)有限公司 | Auditing task distribution method, device, equipment and storage medium |
CN114971509A (en) * | 2021-12-20 | 2022-08-30 | 广东轻工职业技术学院 | Approval process processing method and device, terminal device and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107423894A (en) * | 2017-07-19 | 2017-12-01 | 东软集团股份有限公司 | The task measures and procedures for the examination and approval, device and computer equipment |
CN108876306A (en) * | 2018-06-28 | 2018-11-23 | 中国建设银行股份有限公司 | A kind of online measures and procedures for the examination and approval, device and storage medium |
CN109345108A (en) * | 2018-09-26 | 2019-02-15 | 湖南人文科技学院 | Method for allocating tasks, device, equipment and storage medium |
-
2019
- 2019-12-25 CN CN201911352013.4A patent/CN111062634A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107423894A (en) * | 2017-07-19 | 2017-12-01 | 东软集团股份有限公司 | The task measures and procedures for the examination and approval, device and computer equipment |
CN108876306A (en) * | 2018-06-28 | 2018-11-23 | 中国建设银行股份有限公司 | A kind of online measures and procedures for the examination and approval, device and storage medium |
CN109345108A (en) * | 2018-09-26 | 2019-02-15 | 湖南人文科技学院 | Method for allocating tasks, device, equipment and storage medium |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112990709A (en) * | 2021-03-17 | 2021-06-18 | 中国建设银行股份有限公司 | Approval task allocation method, device, equipment and storage medium |
CN114971509A (en) * | 2021-12-20 | 2022-08-30 | 广东轻工职业技术学院 | Approval process processing method and device, terminal device and storage medium |
CN114066335A (en) * | 2022-01-18 | 2022-02-18 | 飞狐信息技术(天津)有限公司 | Auditing task distribution method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20170255496A1 (en) | Method for scheduling data flow task and apparatus | |
CN109104336B (en) | Service request processing method and device, computer equipment and storage medium | |
CN111062634A (en) | Approval task allocation method and device, computer equipment and storage medium | |
CN110852882B (en) | Packet consensus method, apparatus, device, and medium for blockchain networks | |
US10425273B2 (en) | Data processing system and data processing method | |
CN103581336B (en) | Service flow scheduling method and system based on cloud computing platform | |
CN112769943A (en) | Service processing method and device | |
CN114422509B (en) | Automatic file backup method and device, network disk and storage medium | |
CN112328688A (en) | Data storage method and device, computer equipment and storage medium | |
CN111062572A (en) | Task allocation method and device | |
CN112073395B (en) | File distribution method and device | |
CN112559179A (en) | Job processing method and device | |
CN107045452B (en) | Virtual machine scheduling method and device | |
CN108920278B (en) | Resource allocation method and device | |
CN117130979A (en) | Service resource migration method and device and electronic equipment | |
CN111259045A (en) | Data processing method, device, server and medium | |
CN111258729A (en) | Redis-based task allocation method and device, computer equipment and storage medium | |
CN112667368A (en) | Task data processing method and device | |
US20230049322A1 (en) | Information processing method, device, system, and computer-readable storage medium | |
CN113409081A (en) | Information processing method and device | |
CN115599838B (en) | Data processing method, device, equipment and storage medium based on artificial intelligence | |
US11150947B2 (en) | Determining a deletion deadline for a staging environment | |
CN113313196B (en) | Labeling data processing method, related device and computer program product | |
CN113778657B (en) | Data processing method and device | |
CN117591293B (en) | Memory management method, memory management device, computer 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200424 |
|
RJ01 | Rejection of invention patent application after publication |