Method, device, computer equipment and storage medium for assigning approval tasks
By automatically determining the node to be scheduled by using node attendance data and idle levels in the business system, the problem of low efficiency in the allocation of approval tasks is solved, and efficient and accurate allocation of approval tasks is achieved.
Patent Information
- Application Number
- CN201811554488.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-12-19
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2038-12-19
AI Technical Summary
In the process of approving tasks allocation in the business system, due to the great influence of the professional experience of the approving and allocating personnel, the approving tasks are misaligned, which is inefficient, and is prone to repeated allocation, which reduces the processing efficiency.
By receiving business approval requests, querying the set of preset approval nodes corresponding to the business type, extracting the scheduling approval nodes that meet the preset scheduling conditions based on the node attendance data, and determining the scheduling approval nodes based on the node idle level, sending the business approval request to The node to be dispatched will process it to realize automated approval task allocation.
There is no need for professional approval and allocation personnel to be assigned, and the nodes to be dispatched are determined in a comprehensive manner. This improves the allocation efficiency of approval tasks, avoids task allocation errors and repeated allocations, and improves the efficiency and accuracy of business approval.
Smart Images

Figure CN109726983B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method, apparatus, computer device and storage medium for allocating approval tasks. Background Art
[0002] With the development of computer technology, more and more business systems implement related business processes through electronic office systems, such as library management systems, bank business management systems, etc., which greatly improves the processing efficiency of business processes in various business systems and facilitates people's work and life.
[0003] At present, in the business approval processing nodes of various business systems, the approval allocation personnel usually send the pending approval tasks to the corresponding approval personnel for business approval. However, the approval task allocation by the approval allocation personnel is greatly affected by the professional experience of the approval allocation personnel, and it is easy to make repeated allocations due to errors in the approval task allocation, resulting in low processing efficiency of the approval task allocation. Summary of the invention
[0004] Based on this, it is necessary to provide an approval task allocation method, device, computer equipment and storage medium that can improve the efficiency of approval task allocation in response to the above technical problems.
[0005] A method for allocating approval tasks, the method comprising:
[0006] Receive a business approval request, and query a preset approval node set corresponding to the business type of the business approval request;
[0007] Query the node attendance data corresponding to each approval node in the approval node set;
[0008] According to the node attendance data, the scheduling approval node that meets the preset attendance scheduling conditions is extracted from the approval node set;
[0009] Obtain the node idle level of the scheduling approval node, and determine the approval node to be scheduled from the scheduling approval nodes according to the node idle level;
[0010] The business approval request is sent to the approval node to be scheduled for business approval processing.
[0011] In one embodiment, when the approval task type of the business approval request is a batch approval type, determining the approval node to be scheduled from the scheduled approval nodes according to the node idle level includes:
[0012] Determine the number of approval nodes based on business approval requests and each scheduling approval node;
[0013] According to the node idle level, determine the batch approval nodes that meet the number of approval nodes from each scheduling approval node;
[0014] Sending the business approval request to the approval node to be scheduled for business approval processing includes:
[0015] The business request message is sent to the pending approval task set corresponding to the batch approval node.
[0016] In one embodiment, determining the number of approval nodes according to the business approval request and each scheduling approval node includes:
[0017] Extract batch identification information from business approval requests;
[0018] Determine the number of batch tasks to be approved according to the batch identification information;
[0019] Query the unit node approval efficiency parameters of the approval node set to be scheduled, where the approval node set to be scheduled includes each approval node to be scheduled;
[0020] Determine the number of approval nodes based on the number of batch tasks to be approved and the unit node approval efficiency parameters.
[0021] In one embodiment, querying a preset approval node set corresponding to a business type of a business approval request includes:
[0022] Extract request keywords from business approval requests;
[0023] Query the preset business type form and perform character matching between the message keyword and the business keyword in the business type form;
[0024] Determine the business type corresponding to the business approval request according to the character matching result;
[0025] Query the preset approval node set corresponding to the business type.
[0026] In one embodiment, according to the node attendance data, extracting the scheduling approval node that meets the preset attendance scheduling condition from the approval node set includes:
[0027] Query the preset attendance scheduling conditions, which include work status screening conditions;
[0028] Perform attendance screening on the node attendance data according to the work status screening conditions to obtain the attendance screening results;
[0029] The scheduling approval node corresponding to the attendance screening result is extracted from the approval node set.
[0030] In one of the embodiments, before obtaining the node idle level of the scheduling approval node, the method further includes:
[0031] Query the approval efficiency parameters and pending approval task sets corresponding to the scheduling approval nodes;
[0032] Calculate the approval time of the scheduling approval node based on the approval efficiency parameter and the set of pending approval tasks;
[0033] According to the waiting time of each approval node to be scheduled, the approval nodes to be scheduled are sorted to obtain a sequence of nodes to be scheduled;
[0034] According to the sequence of nodes to be scheduled, the node idle level of each scheduling approval node is determined according to the preset space level division rules.
[0035] In one embodiment, after sending the service approval request to the approval node to be scheduled for service approval processing, the method further includes:
[0036] Obtain the approval processing data of each approval node in the approval node set and establish an approval processing form;
[0037] When the preset approval task verification conditions are met, the preset request message form is queried, and the request message form records the business approval request;
[0038] From the approval processing form, query the approval processing data corresponding to the business approval request in the request message form;
[0039] When the query result is empty, the preset approval node set corresponding to the business type of the business approval request is returned.
[0040] An approval task allocation device, the device comprising:
[0041] A node set query module, used to receive a business approval request and query a preset approval node set corresponding to the business type of the business approval request;
[0042] The attendance data query module is used to query the node attendance data corresponding to each approval node in the approval node set;
[0043] The scheduling node extraction module is used to extract the scheduling approval nodes that meet the preset attendance scheduling conditions from the approval node set according to the node attendance data;
[0044] The to-be-scheduled node determination module is used to obtain the node idle level of the scheduling approval node, and determine the to-be-scheduled approval node from the scheduling approval nodes according to the node idle level;
[0045] The approval task allocation module is used to send the business approval request to the approval node to be scheduled for business approval processing.
[0046] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0047] Receive a business approval request, and query a preset approval node set corresponding to the business type of the business approval request;
[0048] Query the node attendance data corresponding to each approval node in the approval node set;
[0049] According to the node attendance data, the scheduling approval node that meets the preset attendance scheduling conditions is extracted from the approval node set;
[0050] Obtain the node idle level of the scheduling approval node, and determine the approval node to be scheduled from the scheduling approval nodes according to the node idle level;
[0051] The business approval request is sent to the approval node to be scheduled for business approval processing.
[0052] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:
[0053] Receive a business approval request, and query a preset approval node set corresponding to the business type of the business approval request;
[0054] Query the node attendance data corresponding to each approval node in the approval node set;
[0055] According to the node attendance data, the scheduling approval node that meets the preset attendance scheduling conditions is extracted from the approval node set;
[0056] Obtain the node idle level of the scheduling approval node, and determine the approval node to be scheduled from the scheduling approval nodes according to the node idle level;
[0057] The business approval request is sent to the approval node to be scheduled for business approval processing.
[0058] The above-mentioned approval task allocation method, device, computer equipment and storage medium query and receive the business approval request corresponding to the preset approval node set, and extract the scheduling approval node that meets the preset attendance scheduling conditions from the approval node set according to the node attendance data, and then determine the approval node to be scheduled from the scheduling approval node according to the node idle level, and send the business approval request to the approval node to be scheduled for business approval processing, thereby realizing the allocation of approval tasks. In the process of approval task allocation, no professional approval allocation personnel are required to handle it, and the node attendance data and node idle level corresponding to each approval node are comprehensively considered to determine the approval node to be scheduled, so that the approval task allocation is highly targeted and the allocation efficiency of approval tasks is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] Figure 1 An application scenario diagram of an approval task allocation method in an embodiment;
[0060] Figure 2 A flowchart of a method for allocating approval tasks in one embodiment;
[0061] Figure 3 A flowchart of the steps of determining the number of approval nodes in one embodiment;
[0062] Figure 4 A flowchart of a method for allocating approval tasks in another embodiment;
[0063] Figure 5 It is a structural block diagram of an approval task allocation device in one embodiment;
[0064] Figure 6 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0065] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0066] The approval task allocation method provided in this application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The terminal 102 uploads a business approval request to the server 104, and the server 104 queries the preset approval node set corresponding to the business approval request, and extracts the scheduling approval node that meets the preset attendance scheduling condition from the approval node set according to the node attendance data, and then determines the approval node to be scheduled from the scheduling approval node according to the node idle level, and sends the business approval request to the approval node to be scheduled for business approval processing, thereby realizing the allocation of approval tasks. Among them, the terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers and portable wearable devices, and the server 104 can be implemented with an independent server or a server cluster composed of multiple servers.
[0067] In one embodiment, Figure 2 As shown, a method for assigning approval tasks is provided, which is applied to Figure 1 Taking the server 104 in the example as an example, the following steps are included:
[0068] Step S201: receiving a business approval request, and querying a preset approval node set corresponding to the business type of the business approval request.
[0069] Generally, various business approvals in a business system need to be approved by different approval nodes. For example, the approval of insurance business and the approval of claims business in an insurance system require the underwriting approval node and the claims approval node to perform business approval respectively.
[0070] In this embodiment, the terminal 102 uploads a business approval request to the server 104 so that the server 104 performs business approval on the business service requested by the terminal 102. After receiving the business approval request, the server 104 determines its business type and queries the preset approval node set corresponding to the business type. Among them, the approval node set is set corresponding to each business type, including each approval node for performing business approval processing on the business approval request of the business type. By performing business approval processing on the business approval request through the approval node set corresponding to the business type of the business approval request, it is possible to ensure the correspondence between the approval node and the business approval request, thereby improving the efficiency and accuracy of business approval.
[0071] Step S203: querying the node attendance data corresponding to each approval node in the approval node set.
[0072] The approval node set consists of various approval nodes that can process business approval requests. However, in actual applications, the status of each approval node is different. For example, the approvers corresponding to some approval nodes are not in a working state, such as having taken leave or being temporarily dispatched out of the office. If the business approval request is sent to the approval node for approval, the assigned approval task will be stranded in the approval node and cannot be responded to in a timely manner, which reduces the processing efficiency of the approval task.
[0073] In this embodiment, after obtaining the corresponding approval node set according to the business type of the business approval request, the node attendance data corresponding to each approval node is further obtained. Among them, the node attendance data reflects the current status of each approval node, such as normal working status, overtime working status, and non-working status. According to the node attendance data, each approval node can be screened, thereby filtering out the business approval nodes that cannot perform business approval processing in time.
[0074] Step S205: extracting a scheduling approval node that meets a preset attendance scheduling condition from the approval node set according to the node attendance data.
[0075] After obtaining the node attendance data of each approval node, query the preset attendance scheduling conditions, which are used to perform attendance screening based on the node attendance data and filter out business approval nodes that cannot perform business approval processing in a timely manner. In a specific application, the attendance scheduling conditions include working status screening conditions, that is, attendance screening is performed according to the status of each approval node, such as filtering out approval nodes in a non-working state and retaining approval nodes in other states for subsequent approval task allocation.
[0076] In this embodiment, based on the node attendance data, an approval node that meets the preset attendance scheduling conditions is extracted from the approval node set, and the approval node that meets the attendance scheduling conditions is used as the scheduling approval node to allocate the business approval request to the scheduling approval node for business approval processing.
[0077] Step S207: Obtain the node idle level of the scheduling approval node, and determine the node to be scheduled for approval from the scheduling approval nodes according to the node idle level.
[0078] In addition to screening the attendance of each approval node according to the node attendance data and extracting the scheduling approval nodes that meet the attendance scheduling conditions from the approval node set, the business approval request can be further allocated according to the idle status of each approval node to ensure that the business approval request can be promptly processed after allocation. Specifically, after obtaining the scheduling approval node, query the node idle level of each scheduling approval node. The node idle level reflects the current approval task saturation status of each scheduling approval node. The higher the node idle level, the more it indicates that the scheduling approval node is currently in a highly idle state, and its current approval task is highly unsaturated. The scheduling approval node can accept business approval requests and can promptly process business approvals; and the lower the node idle level, the more it indicates that the current approval task of the scheduling approval node is highly saturated, and the scheduling approval node cannot respond to the business approval request in a timely manner.
[0079] After obtaining the node idle level of each scheduling approval node, determine the approval node to be scheduled from the scheduling approval node according to the node idle level. The approval node to be scheduled meets both the attendance scheduling conditions and the node idle level, and can quickly and effectively process the business approval request, thereby improving the business approval efficiency. In the specific implementation, the scheduling approval nodes can be sorted in descending order of the node idle level, and the scheduling approval nodes with high node idle levels are used as the approval nodes to be scheduled.
[0080] Step S209: Send the business approval request to the approval node to be scheduled for business approval processing.
[0081] After determining the approval node to be scheduled, the business approval request is sent to the approval node to be scheduled for business approval processing. The approval node to be scheduled meets both the attendance scheduling conditions and the node idle level, and can quickly and effectively process the business approval request.
[0082] In the above-mentioned approval task allocation method, the business approval request corresponding to the received business approval request is queried and received, and the scheduling approval node that meets the preset attendance scheduling conditions is extracted from the approval node set according to the node attendance data, and then the approval node to be scheduled is determined from the scheduling approval node according to the node idle level, and the business approval request is sent to the approval node to be scheduled for business approval processing, thereby realizing the allocation of approval tasks. In the process of approval task allocation, no professional approval allocation personnel are required to handle it. The node attendance data and node idle level corresponding to each approval node are comprehensively considered to determine the approval node to be scheduled. The approval task allocation is highly targeted, which improves the allocation efficiency of approval tasks.
[0083] In one embodiment, when the approval task type of the business approval request is a batch approval type, determining the approval nodes to be scheduled from the scheduling approval nodes according to the node idle level includes: determining the number of approval nodes according to the business approval request and each scheduling approval node; and determining batch approval nodes that meet the number of approval nodes from each scheduling approval node according to the node idle level.
[0084] In the actual application of the business system, the terminal 102 can send a batch approval type of business approval request to the server 104 to request the server 104 to perform batch processing on the business services. For example, in an online ticket purchase system, the terminal 102 requests to purchase multiple tickets, or the terminal 102 requests multiple business services at the same time, etc., all of which require batch approval processing of the business approval request to ensure business approval efficiency.
[0085] In this embodiment, after receiving the business approval request, the approval task type of the business approval request can be further determined. For example, it can be queried from the business approval request whether a batch approval task identifier is included. If it is included, it indicates that its approval task type is a batch approval type. When the approval task type of the business approval request is a batch approval type, a batch approval node that meets the batch approval requirements can be selected from the scheduling approval node for centralized processing to achieve rapid business approval processing of the business approval request. Specifically, the number of approval nodes is determined according to the business approval request and each scheduling approval node. For example, the number of approval nodes that meet the actual needs can be calculated according to the number of batch tasks of the business approval request and the unit approval efficiency parameters of each scheduling approval node. Then, according to the node idle level of the scheduling approval node, the scheduling approval node that meets the number of approval nodes is extracted from the scheduling approval node to form a batch approval node. The batch approval node performs centralized batch approval processing on the business approval request whose approval task type is a batch approval type, which can effectively improve the business approval processing efficiency of the batch approval task.
[0086] Furthermore, sending the service approval request to the to-be-scheduled approval node for service approval processing includes: sending the service request message to a to-be-approved task set corresponding to the batch approval node.
[0087] After the batch approval node is determined, the business request message is sent to the pending approval task set corresponding to the batch approval node, and the batch approval node performs business approval processing. In this embodiment, when the approval task type of the business approval request is a batch approval type, the batch approval node is extracted from each scheduling approval node, and the business approval request is centrally batch approved through the batch approval node, which effectively improves the business approval processing efficiency of the batch approval task.
[0088] In one embodiment, Figure 3 As shown, the steps of determining the number of approval nodes, that is, determining the number of approval nodes according to the business approval request and each scheduling approval node, include:
[0089] Step S301: extracting batch identification information from a business approval request.
[0090] The batch identification information is used to identify that the approval task type of the business approval request is a batch approval type. In a specific application, the batch identification information may be added to the business approval request only when the approval task type is a batch approval type, and the batch identification information may not be set for business approval requests of non-batch approval types. The batch identification information may include relevant attribute information of the batch tasks, such as the number of batch tasks and the business type corresponding to each batch task.
[0091] Step S303: Determine the number of batch tasks to be approved according to the batch identification information.
[0092] After the batch identification information is obtained, the number of batch tasks to be approved of the business approval request is determined according to the batch identification information. Specifically, the batch number identification information can be directly extracted from the batch identification information, and the number of batch tasks to be approved is obtained according to the batch number identification information.
[0093] Step S305: querying the unit node approval efficiency parameter of the approval node set to be scheduled, where the approval node set to be scheduled includes each approval node to be scheduled.
[0094] When receiving a business approval request whose approval task type is a batch approval type, it is necessary to schedule an appropriate number of approval nodes to be scheduled for batch approval processing, so as to achieve rapid business approval processing of batch tasks while ensuring timely response processing of other business approval requests. In this embodiment, the unit node approval efficiency parameter is calculated based on the set of approval nodes to be scheduled composed of each approval node to be scheduled. The unit node approval efficiency parameter reflects the average approval processing efficiency of the set of approval nodes to be scheduled. The number of approval nodes that meet the demand is based on the average approval processing efficiency combined with the number of batch tasks to be approved.
[0095] Step S307: Determine the number of approval nodes according to the number of batch tasks to be approved and the unit node approval efficiency parameter.
[0096] After obtaining the number of pending batch tasks of the business approval request and the unit node approval efficiency parameter of the approval node set to be scheduled, the required number of approval nodes can be determined according to the ratio of the number of pending batch tasks to the unit node approval efficiency parameter.
[0097] In specific applications, after obtaining the ratio of the number of batch tasks to be approved to the approval efficiency parameter of the unit node, the number of approval nodes can be further determined in combination with the number of approval nodes to be scheduled in the approval node set to be scheduled. For example, the limit value of the number of approval nodes can be set as a preset threshold value of the number of approval nodes to be scheduled, such as 50%. When the ratio of the number of batch tasks to be approved to the approval efficiency parameter of the unit node calculated is greater than the preset threshold value, the preset threshold value is used as the number of approval nodes; otherwise, the ratio of the number of batch tasks to be approved to the approval efficiency parameter of the unit node calculated is directly used as the number of approval nodes, thereby avoiding the situation where the number of approval nodes directly determined based on the number of batch tasks to be approved and the approval efficiency parameter of the unit node is large, resulting in the vast majority of the approval nodes to be scheduled in the approval node set to be scheduled being used as batch approval nodes, which affects the timely response processing of other business approval requests.
[0098] In this embodiment, the number of approval nodes is determined by combining the number of pending batch tasks of the business approval request and the unit node approval efficiency parameter of the approval node set to be scheduled, so that batch approval nodes with the number of approval nodes that meet actual needs can be obtained, thereby achieving rapid business approval processing of batch tasks while ensuring timely response processing of other business approval requests.
[0099] In one embodiment, querying a preset approval node set corresponding to a business type of a business approval request includes: extracting a request keyword from the business approval request; querying a preset business type form, and performing character matching between a message keyword and a business keyword in the business type form; determining the business type corresponding to the business approval request based on the character matching result; and querying a preset approval node set corresponding to the business type.
[0100] Business approval requests of different business types need to be processed through different approval nodes for business approval, that is, business approval requests of different business types correspond to different approval node sets. Specifically, when querying the approval node set corresponding to the business approval request, the request keyword can be extracted from the business approval request, such as using the TextRank algorithm to extract the request keyword from the business approval request, and the request keyword is the field information related to the requested business service in the business approval request. Query the preset business type form, which records the business keywords corresponding to each business type. Then, character match the message keyword with the business keyword in the business type form, and use the business type with consistent character match as the business type of the business approval request. After determining the business type of the business approval request, query the corresponding preset approval node set according to the business type, and the approval node set includes each approval node for business approval processing of the business approval request of the business type.
[0101] In one embodiment, based on the node attendance data, extracting the scheduling approval node that meets the preset attendance scheduling conditions from the approval node set includes: querying the preset attendance scheduling conditions, the attendance scheduling conditions include work status screening conditions; performing attendance screening on the node attendance data according to the work status screening conditions to obtain the attendance screening results; extracting the scheduling approval node corresponding to the attendance screening results from the approval node set.
[0102] In the present embodiment, according to the node attendance data, when extracting the scheduling approval node from the approval node set by the preset attendance scheduling condition, the attendance scheduling condition is inquired about, the attendance scheduling condition comprises the working state screening condition, namely, the working state by each approval node is carried out attendance screening. Specifically, according to the working state screening condition, the node attendance data is carried out attendance screening, and the attendance screening result is obtained, and the approval node corresponding to the attendance screening result is extracted as the scheduling approval node. As the approval node corresponding to the node attendance data that does not meet the working state screening condition can be filtered out, the approval node that meets the working state screening condition is used as the scheduling approval node, and subsequent approval task distribution is carried out. By the node attendance data, each approval node is carried out attendance screening, and the business approval node that cannot be timely carried out business approval processing can be effectively filtered out, and the repeated distribution of approval tasks is avoided, and the distribution efficiency of approval tasks is improved.
[0103] In one embodiment, before obtaining the node idle level of the scheduling approval node, it also includes: querying the approval efficiency parameters and the set of pending approval tasks corresponding to the scheduling approval nodes respectively; calculating the pending approval time of the scheduling approval node according to the approval efficiency parameters and the set of pending approval tasks; sorting each pending approval node according to the pending approval time of each pending approval node to obtain a sequence of nodes to be scheduled; and determining the node idle level of each scheduling approval node according to the sequence of nodes to be scheduled and a preset space level division rule.
[0104] The node idle level of the scheduling approval node can be updated periodically or in real time to ensure that the nodes to be scheduled for approval can be quickly determined when allocating business approval requests. In this embodiment, when determining the node idle level of the scheduling approval node, it can be obtained based on the approval efficiency of each scheduling approval node and the current pending approval tasks. Specifically, the approval efficiency parameters and the pending approval task set corresponding to the scheduling approval nodes are queried, wherein the approval efficiency parameters reflect the approval processing efficiency of the scheduling approval node, such as 2 items / hour or 2 hours / item, etc.; the pending approval task set is the pending approval task queue of the scheduling approval node, which stores the pending approval tasks that the scheduling approval node currently needs to process for business approval.
[0105] According to the approval efficiency parameter and the set of pending approval tasks, the pending approval time of the scheduling approval node is calculated. Specifically, the pending approval time of the scheduling approval node can be calculated according to the ratio of the number of pending approval tasks in the set of pending approval tasks to the approval efficiency parameter. The pending approval time reflects the time required for the scheduling approval node to complete the processing of the current pending approval task. Then, according to the pending approval time of each pending approval node, each pending approval node is sorted to obtain a sequence of pending nodes. Specifically, each pending approval node can be sorted in the order of the pending approval time from short to long to obtain a sequence of pending nodes. Finally, according to the sequence of pending nodes, the node idle level of each scheduling approval node is determined according to the preset spatial level division rule. The spatial level division rule can be set according to actual needs, such as the first 20% of the sequence of pending nodes can be set as a high node idle level, the first 20%-70% as a medium node idle level, and the last 30% as a low node idle level, thereby realizing the determination of the node idle level of each scheduling approval node.
[0106] In one embodiment, after the business approval request is sent to the approval node to be scheduled for business approval processing, it also includes: obtaining the approval processing data of each approval node in the approval node set and establishing an approval processing form; when the preset approval task verification condition is met, querying the preset request message form, the request message form records the business approval request; from the approval processing form, querying the approval processing data corresponding to the business approval request in the request message form; when the query result is empty, returning to query the preset approval node set corresponding to the business type of the business approval request.
[0107] After the business approval request is processed by the approval task allocation, that is, after it is sent to the approval node to be scheduled for business approval processing, the business approval request can be verified to ensure that the business approval request can be responded to and processed in a timely manner. Specifically, the approval processing data of each approval node in the approval node set is obtained, and an approval processing form is established. The approval processing form records the approval processing data processed by each approval node. When the preset approval task verification conditions are met, the business approval request verification mechanism is triggered. Among them, the approval task verification conditions can be set according to actual application requirements, such as periodic verification or quantitative verification. For example, when the amount of approval processing data in the approval processing form reaches a preset verification threshold, the business approval request verification process is performed.
[0108] After the business approval request verification mechanism is triggered, the preset request message form is queried, and the request message form records the business approval request. In the specific implementation, after receiving the business approval request, the received business approval request is recorded in the request message form. When the verification process is performed, the approval processing data corresponding to the business approval request in the request message form can be queried from the approval processing form. Specifically, the corresponding approval processing data is queried from the approval processing form according to the business approval request in the request message form. When the query result is empty, it indicates that the received business approval request has not been processed, and omissions may occur, then the step of querying the preset approval node set corresponding to the business type of the business approval request is returned to re-assign the approval task to the business approval request. In this embodiment, by performing verification processing on the business approval request, it can be ensured that the received business approval request is not omitted and can be processed by the business approval in a timely manner.
[0109] In one embodiment, Figure 4 As shown, a method for assigning approval tasks is provided, comprising the following steps:
[0110] Step S401: receiving a business approval request;
[0111] Step S402: extracting request keywords from the business approval request;
[0112] Step S403: Query the preset business type form;
[0113] Step S404: character matching of the message keyword with the business keyword in the business type table;
[0114] Step S405: determining the business type corresponding to the business approval request according to the character matching result;
[0115] Step S406: Query the preset approval node set corresponding to the business type.
[0116] In this embodiment, business approval requests of different business types correspond to different approval node sets. The server 104 receives the business approval request uploaded by the terminal, extracts the request keyword from the business approval request using the TextRank algorithm, matches the message keyword with the business keyword in the business type form, and uses the business type with consistent character matching as the business type of the business approval request. After determining the business type of the business approval request, the corresponding preset approval node set is queried according to the business type, and the approval node set includes each approval node that performs business approval processing on the business approval request of the business type.
[0117] Step S407: querying the node attendance data corresponding to each approval node in the approval node set;
[0118] Step S408: querying preset attendance scheduling conditions, the attendance scheduling conditions including work status screening conditions;
[0119] Step S409: Perform attendance screening on the node attendance data according to the work status screening condition to obtain the attendance screening result;
[0120] Step S410: extracting the scheduling approval node corresponding to the attendance screening result from the approval node set.
[0121] In this embodiment, according to the node attendance data, the scheduling approval node is extracted from the approval node set through the preset attendance scheduling condition. Specifically, the node attendance data is subjected to attendance screening according to the working state screening condition to obtain the attendance screening result, and the approval node corresponding to the attendance screening result is extracted as the scheduling approval node. By performing attendance screening on each approval node through the node attendance data, the business approval node that cannot be processed for business approval in time can be effectively filtered out, thereby avoiding the repeated allocation of approval tasks and improving the allocation efficiency of approval tasks.
[0122] Step S411: obtaining the node idle level of the scheduling approval node, and determining the approval node to be scheduled from the scheduling approval nodes according to the node idle level;
[0123] Step S412: Send the business approval request to the approval node to be scheduled for business approval processing.
[0124] In this embodiment, in addition to performing attendance screening on each approval node according to the node attendance data and extracting the scheduling approval node that meets the attendance scheduling conditions from the approval node set, the business approval request is further allocated according to the idle status of each approval node to ensure that the business approval request can be promptly processed for business approval after allocation. After determining the approval node to be scheduled, the business approval request is sent to the approval node to be scheduled for business approval processing. The approval node to be scheduled meets both the attendance scheduling conditions and the node idle level, and can quickly and effectively process the business approval request.
[0125] Step S413: Acquire the approval processing data of each approval node in the approval node set and create an approval processing form;
[0126] Step S414: When the preset approval task verification conditions are met, the approval processing form is subjected to approval verification processing.
[0127] After the business approval request is assigned to the approval task, that is, after it is sent to the approval node to be scheduled for business approval processing, the business approval request is verified to ensure that the business approval request can be responded to and processed in a timely manner. Approval verification processing of the approval processing form may include: querying a preset request message form, which records the business approval request; from the approval processing form, querying the approval processing data corresponding to the business approval request in the request message form; when the query result is empty, returning to query the preset approval node set corresponding to the business type of the business approval request. By verifying the business approval request, it can be ensured that the received business approval request is not missed and can be processed by the business approval in a timely manner.
[0128] It should be understood that although Figure 2-4 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2-4 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.
[0129] In one embodiment, Figure 5 As shown, an approval task allocation device is provided, comprising: a node set query module 501, an attendance data query module 503, a scheduling node extraction module 505, a to-be-scheduled node determination module 507 and an approval task allocation module 509, wherein:
[0130] The node set query module 501 is used to receive a business approval request and query a preset approval node set corresponding to the business type of the business approval request;
[0131] The attendance data query module 503 is used to query the node attendance data corresponding to each approval node in the approval node set;
[0132] The scheduling node extraction module 505 is used to extract the scheduling approval node that meets the preset attendance scheduling conditions from the approval node set according to the node attendance data;
[0133] The to-be-scheduled node determination module 507 is used to obtain the node idle level of the scheduling approval node, and determine the to-be-scheduled approval node from the scheduling approval nodes according to the node idle level;
[0134] The approval task allocation module 509 is used to send the business approval request to the approval node to be scheduled for business approval processing.
[0135] In one embodiment, the to-be-scheduled node determination module 507 includes a node number determination unit and a batch approval node determination unit; the approval task allocation module 509 includes a batch node processing unit, wherein: the node number determination unit is used to determine the number of approval nodes according to the business approval request and each scheduling approval node when the approval task type of the business approval request is a batch approval type; the batch approval node determination unit is used to determine the batch approval nodes that meet the number of approval nodes from each scheduling approval node according to the node idle level; the batch node processing unit is used to send the business request message to the to-be-approved task set corresponding to the batch approval node.
[0136] In one embodiment, the node number determination unit includes a batch identification extraction subunit, a batch task number determination subunit, an approval efficiency query subunit and a node number determination subunit, wherein: the batch identification extraction subunit is used to extract batch identification information from the business approval request; the batch task number determination subunit is used to determine the number of batch tasks to be approved according to the batch identification information; the approval efficiency query subunit is used to query the unit node approval efficiency parameter of the approval node set to be scheduled, and the approval node set to be scheduled includes each approval node to be scheduled; the node number determination subunit is used to determine the number of approval nodes according to the number of batch tasks to be approved and the unit node approval efficiency parameter.
[0137] In one embodiment, the node set query module 501 includes a request keyword extraction unit, a character matching unit, a business type determination unit and a node set query unit, wherein: the request keyword extraction unit is used to extract the request keyword from the business approval request; the character matching unit is used to query the preset business type form and perform character matching between the message keyword and the business keyword in the business type form; the business type determination unit is used to determine the business type corresponding to the business approval request according to the character matching result; the node set query unit is used to query the preset approval node set corresponding to the business type.
[0138] In one embodiment, the scheduling node extraction module 505 includes an attendance scheduling condition query unit, an attendance screening unit and a scheduling node extraction unit, wherein: the attendance scheduling condition query unit is used to query the preset attendance scheduling conditions, the attendance scheduling conditions include work status screening conditions; the attendance screening unit is used to perform attendance screening on the node attendance data according to the work status screening conditions to obtain the attendance screening results; the scheduling node extraction unit is used to extract the scheduling approval node corresponding to the attendance screening result from the approval node set.
[0139] In one embodiment, it also includes a scheduling node parameter query module, a pending approval time acquisition module, a node sequence acquisition module and a node idle level determination module, wherein: the scheduling node parameter query module is used to query the approval efficiency parameters and the pending approval task set corresponding to the scheduling approval nodes respectively; the pending approval time acquisition module is used to calculate the pending approval time of the scheduling approval node according to the approval efficiency parameters and the pending approval task set; the node sequence acquisition module is used to sort each pending approval node according to the pending approval time of each pending approval node to obtain a pending node sequence; the node idle level determination module is used to determine the node idle level of each scheduling approval node according to the pending node sequence and a preset space level division rule.
[0140] In one embodiment, it also includes an approval processing form module, a request message form module, an approval processing data module and a verification result processing module, wherein: the approval processing form module is used to obtain the approval processing data of each approval node in the approval node set and establish an approval processing form; the request message form module is used to query the preset request message form when the preset approval task verification condition is met, and the request message form records the business approval request; the approval processing data module is used to query the approval processing data corresponding to the business approval request in the request message form from the approval processing form; the verification result processing module is used to return the preset approval node set corresponding to the business type of the business approval request when the query result is empty.
[0141] For the specific definition of the approval task allocation device, please refer to the definition of the approval task allocation method above, which will not be repeated here. Each module in the above-mentioned approval task allocation device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0142] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 6 As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for allocating approval tasks is implemented.
[0143] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0144] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0145] Receive a business approval request, and query a preset approval node set corresponding to the business type of the business approval request;
[0146] Query the node attendance data corresponding to each approval node in the approval node set;
[0147] According to the node attendance data, the scheduling approval node that meets the preset attendance scheduling conditions is extracted from the approval node set;
[0148] Obtain the node idle level of the scheduling approval node, and determine the approval node to be scheduled from the scheduling approval nodes according to the node idle level;
[0149] The business approval request is sent to the approval node to be scheduled for business approval processing.
[0150] In one embodiment, when the approval task type of the business approval request is a batch approval type, the processor further implements the following steps when executing the computer program: determining the number of approval nodes according to the business approval request and each scheduling approval node; determining a batch approval node that meets the number of approval nodes from each scheduling approval node according to the node idle level; and sending the business request message to the set of pending approval tasks corresponding to the batch approval node.
[0151] In one embodiment, when the processor executes the computer program, the following steps are also implemented: extracting batch identification information from the business approval request; determining the number of batch tasks to be approved based on the batch identification information; querying the unit node approval efficiency parameter of the approval node set to be scheduled, the approval node set to be scheduled includes each approval node to be scheduled; determining the number of approval nodes based on the number of batch tasks to be approved and the unit node approval efficiency parameter.
[0152] In one embodiment, when the processor executes the computer program, the following steps are also implemented: extracting request keywords from the business approval request; querying a preset business type form, and performing character matching between the message keyword and the business keyword in the business type form; determining the business type corresponding to the business approval request based on the character matching result; and querying a preset approval node set corresponding to the business type.
[0153] In one embodiment, when the processor executes the computer program, the following steps are also implemented: querying preset attendance scheduling conditions, the attendance scheduling conditions include work status screening conditions; performing attendance screening on the node attendance data according to the work status screening conditions to obtain the attendance screening results; and extracting the scheduling approval node corresponding to the attendance screening results from the approval node set.
[0154] In one embodiment, when the processor executes the computer program, the following steps are also implemented: querying the approval efficiency parameters and the set of tasks to be approved corresponding to the scheduling approval nodes respectively; calculating the pending approval time of the scheduling approval nodes according to the approval efficiency parameters and the set of tasks to be approved; sorting the approval nodes to be scheduled according to the pending approval time of each approval node to be scheduled to obtain a sequence of nodes to be scheduled; and determining the node idle level of each scheduling approval node according to the sequence of nodes to be scheduled and a preset space level division rule.
[0155] In one embodiment, when the processor executes the computer program, the following steps are further implemented: obtaining approval processing data of each approval node in the approval node set and establishing an approval processing form; when a preset approval task verification condition is met, querying a preset request message form, which records the business approval request; from the approval processing form, querying the approval processing data corresponding to the business approval request in the request message form; when the query result is empty, returning to query the preset approval node set corresponding to the business type of the business approval request.
[0156] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0157] Receive a business approval request, and query a preset approval node set corresponding to the business type of the business approval request;
[0158] Query the node attendance data corresponding to each approval node in the approval node set;
[0159] According to the node attendance data, the scheduling approval node that meets the preset attendance scheduling conditions is extracted from the approval node set;
[0160] Obtain the node idle level of the scheduling approval node, and determine the approval node to be scheduled from the scheduling approval nodes according to the node idle level;
[0161] The business approval request is sent to the approval node to be scheduled for business approval processing.
[0162] In one embodiment, when the approval task type of the business approval request is a batch approval type, the computer program further implements the following steps when executed by the processor: determining the number of approval nodes according to the business approval request and each scheduling approval node; determining batch approval nodes that meet the number of approval nodes from each scheduling approval node according to the node idle level; and sending the business request message to the set of pending approval tasks corresponding to the batch approval node.
[0163] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: extracting batch identification information from the business approval request; determining the number of batch tasks to be approved based on the batch identification information; querying the unit node approval efficiency parameter of the approval node set to be scheduled, the approval node set to be scheduled includes each approval node to be scheduled; determining the number of approval nodes based on the number of batch tasks to be approved and the unit node approval efficiency parameter.
[0164] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: extracting request keywords from the business approval request; querying a preset business type form, and performing character matching between the message keyword and the business keyword in the business type form; determining the business type corresponding to the business approval request based on the character matching result; and querying a preset approval node set corresponding to the business type.
[0165] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: querying preset attendance scheduling conditions, the attendance scheduling conditions include work status screening conditions; performing attendance screening on the node attendance data according to the work status screening conditions to obtain the attendance screening results; extracting the scheduling approval node corresponding to the attendance screening results from the approval node set.
[0166] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: querying the approval efficiency parameters and the set of tasks to be approved corresponding to the scheduling approval nodes respectively; calculating the pending approval time of the scheduling approval nodes according to the approval efficiency parameters and the set of tasks to be approved; sorting the approval nodes to be scheduled according to the pending approval time of each approval node to be scheduled to obtain a sequence of nodes to be scheduled; and determining the node idle level of each scheduling approval node according to the sequence of nodes to be scheduled and a preset spatial level division rule.
[0167] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: obtaining approval processing data of each approval node in the approval node set and establishing an approval processing form; when a preset approval task verification condition is met, querying a preset request message form, which records the business approval request; from the approval processing form, querying the approval processing data corresponding to the business approval request in the request message form; when the query result is empty, returning to query the preset approval node set corresponding to the business type of the business approval request.
[0168] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0169] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0170] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A method for allocating approval tasks, the method comprising: Receive a business approval request, and query a preset approval node set corresponding to the business type of the business approval request; Query the node attendance data corresponding to each approval node in the approval node set; Query preset attendance scheduling conditions, the attendance scheduling conditions including work status screening conditions; Perform attendance screening on the node attendance data according to the working status screening condition to obtain an attendance screening result; According to the attendance screening result, the approval nodes in a non-working state are filtered out from the approval node set to extract the scheduling approval nodes that meet the working state screening condition; Query the approval efficiency parameters and the set of tasks to be approved corresponding to the scheduling approval nodes; Calculate the pending approval time of the scheduling approval node according to the ratio between the number of pending approval tasks in the pending approval task set and the approval efficiency parameter; the pending approval time is used to indicate the time required for the corresponding scheduling approval node to complete the current pending approval task; According to the waiting time for approval of each scheduling approval node, the scheduling approval nodes are sorted to obtain a scheduling node sequence; According to the scheduling node sequence, determining the node idle level of each scheduling approval node according to a preset space level division rule; When the approval task type of the business approval request is a batch approval type, extracting batch identification information from the business approval request; Determine the number of batch tasks to be approved according to the batch identification information; Querying a unit node approval efficiency parameter of a scheduling approval node set, wherein the scheduling approval node set includes each of the scheduling approval nodes; Determine the ratio between the number of batch tasks to be approved and the unit node approval efficiency parameter, and when the ratio is not greater than a preset threshold, use the ratio as the number of approval nodes; when the ratio is greater than the preset threshold, use the preset threshold as the number of approval nodes; According to the node idle level, determining batch approval nodes that meet the number of approval nodes from the scheduling approval nodes; The business approval request is sent to the pending approval task set corresponding to the batch approval node, so that the batch approval node performs business approval processing.
2. The method according to claim 1, characterized in that: The preset approval node set corresponding to the business type of the query and the business approval request includes: Extracting request keywords from the business approval request; Querying a preset business type form, and performing character matching between the request keyword and the business keyword in the business type form; Determine the business type corresponding to the business approval request according to the character matching result; Query the preset approval node set corresponding to the business type.
3. The method according to claim 1 or 2, characterized in that: After sending the business approval request to the pending approval task set corresponding to the batch approval node so that the batch approval node performs business approval processing, the method further includes: Acquire the approval processing data of each approval node in the approval node set, and establish an approval processing form; When the preset approval task verification condition is met, query the preset request message form, and the request message form records the business approval request; Querying the approval processing data corresponding to the business approval request in the request message form from the approval processing form; When the query result is empty, a preset approval node set corresponding to the query and the business type of the business approval request is returned.
4. A device for allocating approval tasks, characterized in that: The device comprises: A node set query module, used to receive a business approval request and query a preset approval node set corresponding to the business type of the business approval request; An attendance data query module, used to query the node attendance data corresponding to each approval node in the approval node set; The scheduling node extraction module is used to query the preset attendance scheduling conditions, wherein the attendance scheduling conditions include working status screening conditions; the node attendance data is screened according to the working status screening conditions to obtain the attendance screening results; according to the attendance screening results, the approval nodes in the non-working state are filtered out from the approval node set to extract the scheduling approval nodes that meet the working status screening conditions; The module for determining nodes to be scheduled is used to query the approval efficiency parameters and the set of pending approval tasks corresponding to the scheduling approval nodes respectively; calculate the pending approval time of the scheduling approval node according to the ratio between the number of pending approval tasks in the set of pending approval tasks and the approval efficiency parameter; the pending approval time is used to indicate the time required for the corresponding scheduling approval node to complete the current pending approval task; sort the scheduling approval nodes according to the pending approval time of each scheduling approval node to obtain a scheduling node sequence; determine the node idle level of each scheduling approval node according to the preset space level division rule according to the scheduling node sequence; when the approval task of the business approval request When the type is a batch approval type, batch identification information is extracted from the business approval request; the number of batch tasks to be approved is determined according to the batch identification information; the unit node approval efficiency parameter of the scheduling approval node set is queried, and the scheduling approval node set includes each of the scheduling approval nodes; the ratio between the number of batch tasks to be approved and the unit node approval efficiency parameter is determined, and when the ratio is not greater than a preset threshold, the ratio is used as the number of approval nodes, and when the ratio is greater than the preset threshold, the preset threshold is used as the number of approval nodes; according to the node idle level, a batch approval node that meets the number of approval nodes is determined from each of the scheduling approval nodes; The approval task allocation module is used to send the business approval request to the pending approval task set corresponding to the batch approval node, so that the batch approval node can perform business approval processing.
5. The device according to claim 4, characterized in that The node set query module is also used to extract request keywords from the business approval request; query a preset business type form, and perform character matching between the request keyword and the business keyword in the business type form; determine the business type corresponding to the business approval request based on the character matching result; and query a preset approval node set corresponding to the business type.
6. The device according to claim 4 or 5, characterized in that The device also includes: An approval processing form module is used to obtain the approval processing data of each approval node in the approval node set and establish an approval processing form; A request message form module, used to query a preset request message form when a preset approval task verification condition is met, wherein the request message form records the business approval request; An approval processing data module, used to query the approval processing data corresponding to the business approval request in the request message form from the approval processing form; The verification result processing module is used to return a preset approval node set corresponding to the query and the business type of the business approval request when the query result is empty.
7. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 3 are implemented.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 3 are implemented.
