CN111340401B - Intelligent distribution method and device for work tasks, computer equipment and storage medium - Google Patents
Intelligent distribution method and device for work tasks, computer equipment and storage medium Download PDFInfo
- Publication number
- CN111340401B CN111340401B CN202010228627.8A CN202010228627A CN111340401B CN 111340401 B CN111340401 B CN 111340401B CN 202010228627 A CN202010228627 A CN 202010228627A CN 111340401 B CN111340401 B CN 111340401B
- Authority
- CN
- China
- Prior art keywords
- allocation
- node
- distribution
- task
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
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
- G06Q10/06312—Adjustment or analysis of established resource schedule, e.g. resource or task levelling, or dynamic rescheduling
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
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 invention discloses an intelligent distribution method and device for work tasks, computer equipment and a storage medium. The method comprises the following steps: the method comprises the steps of decomposing newly added production business to obtain corresponding multiple work tasks, judging each work task according to allocation conditions to obtain tasks to be allocated, obtaining tasks to be allocated of each target department, allocating the tasks to be allocated of any target department according to allocation rules to obtain multiple allocation flows, calculating gain coefficients corresponding to the allocation flows in the allocation flows according to a gain coefficient calculation formula to select an optimal allocation flow as a target allocation flow, and completing allocation of all the tasks to be allocated according to the target allocation flow.
Description
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and apparatus for intelligently distributing a task, a computer device, and a storage medium.
Background
The large-scale enterprise contains more departments, so that the number of staff to be managed is very large, each department in the enterprise needs to fulfill respective responsibilities to complete a given work task, and the work tasks in the enterprise need to be distributed for defining the work tasks to be completed by each staff. The traditional work task distribution mode is that the organization is in a meeting to determine the work task which needs to be completed by each employee, however, the distribution mode of the work task has lower distribution efficiency and can not ensure that each employee obtains the workload equal to the work capacity, and the problem of uneven and unreasonable distribution exists when the work task is distributed, so that the human resources of an enterprise are wasted and the overall operation efficiency of the enterprise is further influenced. Therefore, the existing distribution mode has the problems of low distribution efficiency and uneven distribution when the work tasks are distributed.
Disclosure of Invention
The embodiment of the invention provides an intelligent distribution method, device, computer equipment and storage medium for work tasks, and aims to solve the problems of low distribution efficiency and uneven distribution when the work tasks are distributed in the existing distribution mode.
In a first aspect, an embodiment of the present invention provides a method for intelligently distributing a task, including:
if a new added production service input by a user is received, decomposing the new added production service according to a preset decomposition rule to obtain a plurality of corresponding work tasks, and judging whether each work task meets a pre-stored allocation condition to obtain a corresponding judgment result;
determining all the work tasks meeting the distribution conditions as tasks to be distributed according to the judgment result;
determining a department corresponding to each task to be distributed as a target department according to a task information set in the decomposition rule so as to acquire the task to be distributed required by each target department;
distributing tasks to be distributed of any target department according to a plurality of preset distribution rules and a pre-stored employee information table, and recording a distribution process corresponding to each distribution rule to obtain a plurality of distribution flows corresponding to a plurality of distribution rules;
calculating a gain coefficient corresponding to an allocation mode in the allocation flow according to a preset gain coefficient calculation formula, and acquiring an optimal allocation flow from the allocation flow according to the gain coefficient as a target allocation flow, wherein the target allocation flow at least comprises an allocation mode;
And acquiring a corresponding employee of each task to be distributed in the employee information table as a target employee according to the target distribution flow, so as to distribute each task to be distributed to the corresponding target employee.
In a second aspect, an embodiment of the present invention provides an intelligent task allocation apparatus, including:
the system comprises a work task judging unit, a processing unit and a processing unit, wherein the work task judging unit is used for judging whether each work task meets a pre-stored allocation condition or not to obtain a corresponding judging result if a new production service input by a user is received, and decomposing the new production service according to a preset decomposition rule to obtain a plurality of corresponding work tasks;
the task to be distributed determining unit is used for determining all the work tasks meeting the distribution conditions as tasks to be distributed according to the judging result;
the target department task determining unit is used for determining a department corresponding to each task to be distributed as a target department according to the task information set in the decomposition rule so as to acquire the task to be distributed required by each target department;
the distribution flow obtaining unit is used for distributing tasks to be distributed of any target department according to a plurality of preset distribution rules and a pre-stored employee information table, and recording the distribution process corresponding to each distribution rule to obtain a plurality of distribution flows corresponding to a plurality of distribution rules;
A target allocation flow obtaining unit, configured to calculate a gain coefficient corresponding to an allocation mode in the allocation flow according to a preset gain coefficient calculation formula, and obtain an optimal allocation flow from the allocation flows according to the gain coefficient as a target allocation flow, where the target allocation flow at least includes an allocation mode;
and the work task distribution unit is used for acquiring a corresponding employee of each task to be distributed in the employee information table as a target employee according to the target distribution flow so as to distribute each task to be distributed to the corresponding target employee.
In a third aspect, an embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the processor implements the method for intelligently distributing tasks according to the first aspect when executing the computer program.
In a fourth aspect, an embodiment of the present invention further provides a computer readable storage medium, where the computer readable storage medium stores a computer program, where the computer program when executed by a processor causes the processor to perform the method for intelligently allocating work tasks according to the first aspect.
The embodiment of the invention provides a method and a device for intelligently distributing work tasks, computer equipment and a storage medium. The method comprises the steps of decomposing newly added production business to obtain corresponding multiple work tasks, judging each work task according to allocation conditions to obtain tasks to be allocated, obtaining tasks to be allocated of each target department, allocating the tasks to be allocated of any target department according to allocation rules to obtain multiple allocation flows, calculating gain coefficients corresponding to the allocation flows in the allocation flows according to a gain coefficient calculation formula to select an optimal allocation flow as a target allocation flow, and completing allocation of all the tasks to be allocated according to the target allocation flow.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a method for intelligently distributing work tasks according to an embodiment of the present invention;
FIG. 2 is a schematic diagram showing the effect of the intelligent task allocation method according to the embodiment of the present invention;
FIG. 3 is a schematic sub-flowchart of a method for intelligently distributing tasks according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of another sub-flow of the intelligent task allocation method according to the embodiment of the present invention;
FIG. 5 is another flow chart of the intelligent task allocation method according to the embodiment of the present invention;
FIG. 6 is a schematic diagram of another sub-flow of the intelligent task allocation method according to the embodiment of the present invention;
FIG. 7 is another flow chart of the intelligent task allocation method according to the embodiment of the present invention;
FIG. 8 is a schematic diagram of another sub-flow of the intelligent task allocation method according to the embodiment of the present invention;
FIG. 9 is a schematic block diagram of a task intelligent distribution device provided by an 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 following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be understood that the terms "comprises" and "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 this specification 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 the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
Referring to fig. 1, fig. 1 is a flow chart of a method for intelligently distributing tasks according to an embodiment of the present invention. The intelligent task allocation method is applied to the user terminal, the method is executed through application software installed in the user terminal, a user can input a task to be allocated into the user terminal to allocate the task to be allocated, the user terminal is terminal equipment for receiving the task to be allocated and allocating, and the user terminal can be a desktop computer, a notebook computer, a tablet computer or a mobile phone.
As shown in fig. 1, the method includes steps S110 to S160.
S110, if the newly-added production service input by the user is received, decomposing the newly-added production service according to a preset decomposition rule to obtain a plurality of corresponding work tasks, and judging whether each work task meets a pre-stored allocation condition to obtain a corresponding judgment result.
If the newly added production service input by the user is received, decomposing the newly added production service according to a preset decomposition rule to obtain a plurality of corresponding work tasks, and judging whether the work tasks meet a pre-stored distribution condition one by one to obtain a judgment result of each work task. The user can input the newly added production service through the user terminal, and the user can be an administrator of the user terminal or a leader of the enterprise. The new production business is a new production business established by an enterprise, a plurality of departments in the enterprise are required to be tightly matched to ensure normal operation of the production line, namely smooth completion of the production business is ensured, the new production business is decomposed according to preset decomposition rules to obtain corresponding multiple work tasks, the decomposition rules are rule information for decomposing the new production business to obtain the corresponding work tasks, the work tasks are tasks needing staff to process, the decomposition rules comprise task information sets and exclusion rules, the task information sets are information sets for storing the work tasks which are required to complete the whole production business by default, the task information sets store the information such as task names, whether the task loads are distributed and the like of each work task one by one, the work tasks which are not required to be completed in the whole work tasks are excluded according to the exclusion rules, and the multiple work tasks obtained after the elimination are the multiple work tasks obtained after the decomposition of the new production business.
The allocation conditions are pre-stored judgment conditions for judging the work tasks in the user terminal, whether each work task meets the pre-stored allocation conditions or not can be judged one by one, and if the judgment result of the work task meets the allocation conditions, the work task is used as a task to be allocated.
For example, an enterprise formulates a new mask production service, and for each production service, 20 work tasks are required to be completed by default, then the mask production service also requires 20 work tasks to be completed by default, the 20 work tasks include an "extension plant", and if the spare area of the plant in the enterprise meets the requirement of the work task of the "extension plant", the work tasks can be excluded according to an exclusion rule. And decomposing the production service according to the decomposition rule to obtain a plurality of corresponding work tasks as shown in table 1.
Task name | Whether or not to distribute | Task load |
Purchasing machine | Is that | F 1 |
Purchasing raw materials | Is that | F 2 |
Recruiter | Whether or not | F 3 |
Training worker | Whether or not | F 4 |
Pricing marketing | Is that | F 5 |
Sales strategy | Is that | F 6 |
Operation policy | Is that | F 7 |
Application qualification | Is that | F 8 |
Cost calculation | Is that | F 9 |
TABLE 1
Each work task comprises a task name, whether to distribute and a task load, whether to distribute is information about whether to distribute the work task, the task load is information about the load degree of each work task, the larger the numerical value in the task load is, the more labor is required to be paid for completing the work task corresponding to the task load, and the range of the numerical value of the task load is [0, 10]. The allocation condition may be configured according to the requirement of the user, for example, the allocation condition may be set to be whether the allocation in the work task is yes and the task load is greater than "0.6" (the preset load threshold), and then the determination may be made whether the work task meets the allocation condition according to the allocation condition.
S120, determining all the work tasks meeting the allocation conditions as tasks to be allocated according to the judging result.
And determining all the work tasks meeting the distribution conditions as tasks to be distributed according to the judgment result. If the judging result of the work task is that the allocation condition is met, the work task is used as a task to be allocated, and the task to be allocated is allocated according to the follow-up step; if the allocation conditions are not met, the work task can be directly issued to the appointed staff for processing according to the staff appointed by people, and automatic allocation processing of the work task is not needed.
S130, determining a department corresponding to each task to be distributed as a target department according to a task information set in the decomposition rule so as to acquire the task to be distributed required by each target department, wherein the task information set stores the corresponding relation between all work tasks of an enterprise and the departments to which the work tasks belong.
And determining a department corresponding to the task to be distributed as a target department according to the task information set pre-stored in the user terminal. The task information set also stores departments to which all work tasks of the enterprise correspond, the departments corresponding to the tasks to be distributed can be obtained according to the task information set, the departments are used as target departments, tasks to be distributed required by each target department are obtained, and each target department at least comprises one task to be distributed required by the corresponding task to be distributed.
And S140, distributing tasks to be distributed of any target department according to a plurality of preset distribution rules and a pre-stored employee information table, and recording a distribution process corresponding to each distribution rule to obtain a plurality of distribution flows corresponding to a plurality of distribution rules.
And distributing tasks to be distributed of any target department according to a plurality of preset distribution rules and a pre-stored employee information table, and recording a distribution process corresponding to each distribution rule to obtain a plurality of distribution flows corresponding to a plurality of distribution rules. The user terminal is pre-stored with a plurality of allocation rules, and the task to be allocated of any target department can be allocated to the staff to which the target department belongs according to the allocation rules, and each allocation rule correspondingly obtains an allocation flow. The distribution flow comprises at least one distribution mode, each distribution mode corresponds to one distribution node, each distribution node comprises a plurality of node branches and distribution values corresponding to each node branch, each node branch can be directly related to one sub-distribution mode corresponding to the node branch, the sub-distribution mode is used for further subdividing the distribution values of the node branches, a plurality of distribution flows corresponding to a plurality of distribution rules can be combined into a decision tree model for intelligent decision, the distribution modes in the decision tree model and any sub-distribution mode after the decision tree model are combined to obtain a complete distribution flow, and the distribution flow at least comprises one distribution mode.
The employee information table contains the assigned weight value and the load degree of each employee. The staff information table comprises all staff of an enterprise, and an allocation weight value and a load degree corresponding to each staff, wherein the allocation weight value is weight information which can be referred in the allocation process of a task to be allocated, the allocation weight value of each staff can be calculated based on the processing quality of the staff for processing the work task, the allocation weight value is one of quantization indexes for reflecting the working capacity of the staff, and the value range of the allocation weight value is [0,1]; the load degree is the load degree of the work task currently processed by the staff, and the larger the load degree of the staff is, the heavier the work task is, and the value of the load degree is larger than or equal to zero. The staff information table also comprises specific information such as the affiliated department, post name, staff number, directly affiliated superior, whether subordinate exists or not and the like of each staff. And acquiring an employee set corresponding to the task to be allocated according to the information of each employee in the employee information table, wherein the employee set at least comprises one employee.
For example, specific information included in the employee information table is shown in table 2.
TABLE 2
In a specific embodiment, as shown in FIG. 3, step S140 includes substeps S141, S142, and S143.
S141, obtaining staff belonging to the target department and having non-zero assigned weight values in the staff information table to form a staff set, wherein the staff set comprises at least one staff; s142, correspondingly distributing tasks to be distributed of the target department to staff in the staff set according to each distribution rule and the distribution weight value and the load degree of the staff in the staff set; s143, recording the process of distributing the tasks to be distributed by each distribution rule so as to obtain a plurality of corresponding distribution flows.
Judging whether the assigned weight value of the employee belonging to the target department in the employee information table is zero or not so as to acquire the employee belonging to the target department and having the non-zero assigned weight value, and combining the employee to obtain an employee set, wherein the employee set at least comprises one employee. According to each allocation rule and the allocation weight value and the load degree of the staff in the staff set, correspondingly allocating the task to be allocated of the target department to the staff in the staff set, wherein the allocation rule can be to preferentially acquire the staff with the lowest load degree in the staff set, and if the load degrees are the same, acquiring the staff with the highest allocation weight value in the staff with the lowest load degree to allocate the task to be allocated; the allocation rule can also be to obtain the employee with the highest allocation weight value in the employee set preferentially, and if the allocation weight values are the same, the employee with the lowest load degree in the employee with the highest allocation weight value is obtained to allocate the task to be allocated; the allocation rule can also be that the allocation weight value and the load degree of the staff are calculated according to a preset formula to obtain the allocation coefficient of each staff, the staff in the staff set are ordered according to the allocation coefficient, and the tasks to be allocated are allocated in sequence according to the ordering result. The allocation rules may not be limited to the three types described above, but are not listed here.
For example, when the employee set obtained according to the employee information table shown in table 2 includes two employees, namely "purchasing special staff-103" and "purchasing special staff-104", the employee with the lowest load degree in the employee set is preferentially considered when the task to be allocated, namely "purchasing machine", is allocated, and then the task to be allocated, namely "purchasing machine", is allocated to "purchasing special staff-104" according to the rule.
And S150, calculating a gain coefficient corresponding to the distribution mode in the distribution flow according to a preset gain coefficient calculation formula, and acquiring an optimal distribution flow from the distribution flow according to the gain coefficient as a target distribution flow.
And calculating a gain coefficient corresponding to the distribution mode in the distribution flow according to a preset gain coefficient calculation formula, and acquiring an optimal distribution flow from the distribution flow according to the gain coefficient as a target distribution flow. And screening the distribution flows corresponding to the plurality of distribution rules to obtain an optimal distribution flow. The gain coefficient calculation formula is a formula for calculating the gain coefficient of the distribution mode contained in each distribution flow, and an optimal distribution flow can be obtained from the constructed decision tree model according to the gain coefficient, wherein the distribution flow comprises at least one distribution mode, each distribution mode corresponds to one distribution node, and each distribution node comprises a plurality of node branches corresponding to the distribution node and distribution values corresponding to each node branch. Specifically, if a certain allocation node corresponds to a plurality of allocation modes, gain coefficients of the plurality of allocation modes corresponding to the allocation node are calculated respectively, an optimal allocation mode is selected from the plurality of allocation modes of the allocation node according to the gain coefficients, and if node branches of the optimal allocation mode are also directly associated with a plurality of sub-allocation modes, the gain coefficients corresponding to each sub-allocation mode are calculated again; repeating the selection process until the distribution node corresponding to the distribution mode does not correspond to the plurality of sub-distribution modes, so as to obtain an optimal distribution flow from the decision tree model.
FIG. 2 is a schematic diagram showing the effect of the intelligent task allocation method according to the embodiment of the present invention, wherein the specific structure of the decision tree model is shown in FIG. 2, the allocation node corresponding to the target department is a parent node, and the allocation mode associated with the parent node has S 1 、S 2 S and S 3 Three allocation patterns, wherein allocation pattern S 1 Comprising corresponding three node branches F 11 、F 12 F (F) 13 Node branch F 1 And also directly associate S 11 、S 12 S and S 13 Three allocation modes, S 1 S and S 11 The combination corresponds to a complete distribution flow in the decision tree model.
In a specific embodiment, as shown in FIG. 4, step S150 includes sub-steps S151, S152, S153, S154, S155, S156, S157, S158, and S159.
S151, taking an allocation node corresponding to the target department as a parent node; s152, calculating the distribution entropy of the parent node according to the gain coefficient calculation formula and the task distribution proportion of the tasks to be distributed in the parent node; s153, using a distribution node corresponding to the distribution mode directly associated with the parent node as a child distribution node, and determining a distribution proportion value of each node branch according to the distribution value and the branch characteristic information of the node branch in the distribution node; s154, calculating the distribution entropy of each sub-distribution node according to the gain coefficient calculation formula and the distribution proportion value of all node branches in each sub-distribution node; s155, subtracting the distribution entropy of each child distribution node from the distribution entropy of the parent node to obtain a gain coefficient corresponding to each child distribution node; s156, determining the allocation mode corresponding to the sub-allocation node with the largest gain coefficient as an optimal allocation mode; s157, judging whether the node branch of the sub-allocation node corresponding to the optimal allocation mode is an end node branch or not; s158, if the node branch of the child allocation node is an end node branch, determining the combination of all the optimal allocation modes as the target allocation flow; and S159, if the node branch of the child allocation node is not an end node branch, taking the child allocation node as a parent node, executing the allocation node corresponding to the allocation mode directly related to the parent node as the child allocation node, and determining the allocation proportion value of each node branch according to the allocation value and the branch characteristic information of the node branch in the allocation node, namely returning to execute the step S153.
Each node branch corresponds to a piece of branch characteristic information, wherein the branch characteristic information is characteristic information with obvious distinction between the node branch and other node branches, and the distribution proportion value of the node branch comprises the branch proportion of the node branch and the task distribution proportion of tasks to be distributed in the node branch; specifically, the branch characteristic information may be an assigned weight value or a load degree of an employee included in the node branch.
Wherein, the gain coefficient calculation formula can be expressed as:
wherein C is i For distributing the branch duty ratio, X of the ith node branch corresponding to the node D i The task allocation proportion of the ith node branch corresponding to the allocation node D is allocated;
for example, if the task to be allocated by a certain target department is 9, the total number of tasks to be allocated is 14, the allocation node corresponding to the target department is used as a parent node, the allocation proportion value of the tasks to be allocated in the parent node is 9/14, the parent node does not include node branches, and the gain coefficient of the parent node is calculated according to the formula (1)One allocation mode associated with the parent node corresponds to a child allocation node, the child allocation node comprises three node branches, allocation values corresponding to the three node branches are respectively 2, 4 and 3, branch characteristic information corresponding to the three node branches respectively corresponds to allocation weight values of staff contained in the node branches, and the first node branch contains 5 employees, which are assigned weight values of 0.7; 4 staff contained in the second node branch, wherein the assigned weight values are all 0.9; the distribution weight values of 5 staff included in the third node branch are all 0.8, the branch ratio (the ratio of the staff number) of the three node branches is determined to be 5/14, 4/14 and 5/14 according to the information, and the task distribution ratio (the ratio of the distribution value to the staff number) of the three node branches is respectively 2/5, 4/4 and 3/5; the gain factor I of the sub-distribution node is calculated according to the formula (1) 2 =0.694, the gain factor corresponding to the child distribution node is g=i 1 -I 2 =0.940-0.694=0.246; gain coefficients of all child allocation nodes corresponding to the parent node are obtained, and an allocation mode corresponding to the child allocation node with the largest gain coefficient is selected as an optimal allocation mode.
S160, acquiring a corresponding employee of each task to be distributed in the employee information table as a target employee according to the target distribution flow, so as to distribute each task to be distributed to the corresponding target employee.
According to the obtained target allocation flow, target staff corresponding to each task to be allocated is obtained, any department of the enterprise allocates the tasks to be allocated according to the target allocation flow, one or only one target staff corresponding to one task to be allocated is allocated to the target staff, and automatic allocation of all the tasks to be allocated can be completed.
In a specific embodiment, as shown in fig. 5, step S1610 is further included after step S160.
S1610, updating the data information in the staff information table according to the target staff and the assigned work task to obtain the updated staff information table. After a task to be allocated is allocated, namely, the task to be allocated is used as an allocated work task, and corresponding data information in the staff information table can be updated according to the target staff and the allocated work task.
In a specific embodiment, as shown in FIG. 6, step S1610 includes sub-steps S1611, S1612, and S1613.
S1611, updating the load degree corresponding to the target employee in the employee information table according to the task load of the work task.
And updating the load degree corresponding to the target employee in the employee information table according to the task load of the work task. And updating the load degree of the target staff in the staff information table according to the task load of the distributed work task, and specifically, correspondingly increasing the load degree of the target staff according to the task load of the work task so as to update the load degree of the target staff.
S1612, obtaining the direct upper level of the target employee according to the employee information table.
And acquiring the direct upper level of the target employee according to the employee information table. The employee number of the directly superior employee of the target employee in the employee information table is obtained, namely the employee corresponding to the employee number can be used as the directly superior employee of the target employee, the target employee can have the directly superior or can have no directly superior, and if the target employee has the directly superior, the directly superior of the target employee has only one; if the target employee does not have a direct upper level, then step S1613 need not be performed.
S1613, calculating the load degree calculation value of the direct upper stage according to a preset load degree calculation rule so as to update the load degree corresponding to the direct upper stage in the employee information table.
And calculating according to a preset load degree calculation rule to obtain the load degree calculation value of the direct upper stage so as to update the load degree corresponding to the direct upper stage in the employee information table. The directly superior load degree calculation value, specifically, the load degree calculation value F, can be calculated according to a preset load degree calculation rule in the user terminal and the task load of the work task X =F S +a×F A Wherein F S For the immediately upper level initial load degree, F A And a is a coefficient value in the load degree calculation rule for the task load of the work task, and after the load degree calculation value is obtained, the load degree of the direct upper stage can be updated into the load degree calculation value.
For example, the initial load degree of a certain direct upper level is F S 1.1, a is 0.2, F A 1, the corresponding duty calculation value F X 1.1+0.2×1=1.3.
In a specific embodiment, as shown in fig. 7, step S160 further includes step S1620.
S1620, if the completion information corresponding to any assigned work task input by the user is received, updating the data information in the employee information table according to the completion information to obtain the updated employee information table.
And if the completion information corresponding to any assigned work task, which is input by the user, is received, updating the data information in the employee information table according to the completion information to obtain the updated employee information table. If a new completion model corresponding to any assigned work task is received, updating data information corresponding to the completion information in an employee information table according to the completion information, wherein the completion information comprises a completion quality score corresponding to the work task and a completion employee, the completion quality score is the processing quality of the employee in the processing process of the work task, the value range of the completion quality score is [0,1], and the average value of the completion quality scores of all work tasks completed by any employee is the assigned weight value of the employee; and the finished employee is the employee who performs actual processing on the work task.
In a specific embodiment, as shown in fig. 8, step S1620 includes sub-steps S1621 and S1622. S1621, updating the load degree of the staff corresponding to the work task in the staff information table according to the task load of the work task.
And updating the load degree of the staff corresponding to the work task in the staff information table according to the task load of the work task. The completion information of the work task also comprises a completion staff, the load degree of the completion staff in the staff information table is updated according to the task load of the work task corresponding to the completion information, and specifically, the completion staff is correspondingly reduced according to the task load of the work taskAnd the load degree is updated to realize the update of the load degree of the completed staff. After the load degree of the completed employee is updated, the load degree of the immediately upper stage of the completed employee can be synchronously updated, specifically, the immediately upper stage of the completed employee is determined first, the immediately upper stage load degree calculation value is calculated according to the load degree calculation rule, so as to update the load degree corresponding to the immediately upper stage in the employee information table, specifically, the load degree calculation value F X =F S -a×F A Wherein F S For the immediately upper level initial load degree, F A For the task load of the work task, a is the coefficient value in the calculation rule of the load degree.
S1622, calculating corresponding distribution weight calculation values according to the completed tasks of the staff corresponding to the work tasks in the staff information table and the completion quality scores in the completion information, and updating the distribution weight values of the staff corresponding to the work tasks according to the distribution weight calculation values.
And calculating corresponding distribution weight calculation values according to the completed tasks of the staff corresponding to the work tasks in the staff information table and the completion quality scores in the completion information, and updating the distribution weight values of the staff corresponding to the work tasks according to the distribution weight calculation values. The average value of the completion quality scores of all the work tasks completed by any employee is the assigned weight value of the employee, the employee corresponding to the work task is the completed employee in the completion information, the assigned weight calculation value of the completed employee is calculated and obtained by adding the completion quality score in the completion information to the completed task of the completed employee, and the assigned weight value of the completed employee is updated to the calculated assigned weight calculation value.
In the intelligent task distribution method provided by the embodiment of the invention, newly-increased production services are decomposed to obtain corresponding multiple work tasks, each work task is judged according to distribution conditions and the task to be distributed is obtained, the task to be distributed of each target department is obtained, the task to be distributed of any target department is distributed according to distribution rules to obtain multiple distribution flows, gain coefficients corresponding to the distribution flows in the distribution flows are calculated according to a gain coefficient calculation formula to select an optimal distribution flow as a target distribution flow, and distribution of all the tasks to be distributed is completed according to the target distribution flow.
The embodiment of the invention also provides a working task intelligent distribution device which is used for executing any embodiment of the working task intelligent distribution method. Specifically, referring to fig. 9, fig. 9 is a schematic block diagram of a task intelligent distribution device according to an embodiment of the present invention. The intelligent task distribution device can be configured in a user terminal.
As shown in fig. 9, the work task intelligent distribution apparatus 100 includes: a work task judging unit 110, a task to be assigned determining unit 120, a target department task determining unit 130, an assignment flow obtaining unit 140, a target assignment flow obtaining unit 150, and a work task assigning unit 160.
And the job task judging unit 110 is configured to, if receiving a new added production service input by a user, decompose the new added production service according to a preset decomposition rule to obtain a plurality of corresponding job tasks, and judge whether each job task meets a pre-stored allocation condition to obtain a corresponding judgment result.
And a task to be allocated determining unit 120, configured to determine all the work tasks meeting the allocation condition as tasks to be allocated according to the determination result.
And a target department task determining unit 130, configured to determine, according to a task information set in the decomposition rule, a department corresponding to each task to be allocated as a target department, so as to obtain a task to be allocated required by each target department, where correspondence between all work tasks of an enterprise and the affiliated departments is stored in the task information set.
The allocation flow obtaining unit 140 is configured to allocate tasks to be allocated in any one of the target departments according to a preset plurality of allocation rules and a pre-stored employee information table, and record an allocation process corresponding to each allocation rule to obtain a plurality of allocation flows corresponding to a plurality of allocation rules.
In a specific embodiment, the allocation procedure obtaining unit 140 includes: the system comprises an employee set acquisition unit, a task allocation unit and an allocation flow acquisition unit.
An employee set obtaining unit, configured to obtain employees belonging to the target department and having non-zero assigned weight values in the employee information table, so as to form an employee set, where the employee set includes at least one employee; the task allocation unit is used for correspondingly allocating the task to be allocated of the target department to the staff in the staff set according to each allocation rule and the allocation weight value and the load degree of the staff in the staff set; and the distribution flow acquisition unit is used for recording the distribution process of each distribution rule on the task to be distributed so as to obtain a plurality of corresponding distribution flows.
The target allocation flow obtaining unit 150 is configured to calculate a gain coefficient corresponding to an allocation mode in the allocation flow according to a preset gain coefficient calculation formula, and obtain an optimal allocation flow from the allocation flows according to the gain coefficient as a target allocation flow.
In a specific embodiment, the target allocation procedure obtaining unit 150 includes: the system comprises a parent node determining unit, a first distribution entropy calculating unit, a distribution proportion value determining unit, a second distribution entropy calculating unit, a gain coefficient obtaining unit, an optimal distribution mode obtaining unit, a node branch judging unit, an optimal distribution mode combining unit and a return executing unit.
A parent node determining unit, configured to take an allocation node corresponding to the target department as a parent node; the first distribution entropy calculation unit is used for calculating the distribution entropy of the parent node according to the gain coefficient calculation formula and the task distribution proportion of the tasks to be distributed in the parent node; the allocation proportion value determining unit is used for taking an allocation node corresponding to the allocation mode directly associated with the parent node as a child allocation node, and determining the allocation proportion value of each node branch according to the allocation value and the branch characteristic information of the node branch in the allocation node; the second distribution entropy calculation unit is used for calculating the distribution entropy of each sub-distribution node according to the gain coefficient calculation formula and the distribution proportion value of all node branches in each sub-distribution node; the gain coefficient acquisition unit is used for subtracting the distribution entropy of each child distribution node from the distribution entropy of the parent node to obtain a gain coefficient corresponding to each child distribution node; an optimal allocation mode obtaining unit, configured to determine an allocation mode corresponding to the child allocation node with the largest gain coefficient as an optimal allocation mode; the node branch judging unit is used for judging whether the node branch of the sub-distribution node corresponding to the optimal distribution mode is an end node branch or not; an optimal allocation mode combining unit, configured to determine, if the node branch of the child allocation node is an end node branch, a combination of all the optimal allocation modes as the target allocation flow; and returning to an execution unit, wherein the execution unit is used for taking the child allocation node as a parent node and executing the allocation node corresponding to the allocation mode directly related to the parent node as the child allocation node if the node branch of the child allocation node is not an end node branch, and determining the allocation proportion value of each node branch according to the allocation value and the branch characteristic information of the node branch in the allocation node.
And a work task allocation unit 160, configured to obtain, according to the target allocation procedure, a corresponding employee of each task to be allocated in the employee information table as a target employee, so as to allocate each task to be allocated to the corresponding target employee.
In a specific embodiment, the intelligent task allocation device further includes: a first updating unit.
And the first updating unit is used for updating the data information in the staff information table according to the target staff and the assigned work tasks so as to obtain the updated staff information table.
In a specific embodiment, the first updating unit further includes: the system comprises a first load degree updating unit, a direct upper level determining unit and a second load degree updating unit.
The first load degree updating unit is used for updating the load degree corresponding to the target employee in the employee information table according to the task load of the work task; the direct upper level determining unit is used for acquiring the direct upper level of the target employee according to the employee information table; and the second load degree updating unit is used for calculating the load degree calculation value of the direct upper stage according to a preset load degree calculation rule so as to update the load degree corresponding to the direct upper stage in the employee information table.
In a specific embodiment, the intelligent task allocation device further includes: and a second updating unit.
And the second updating unit is used for updating the data information in the employee information table according to the completion information if the completion information corresponding to any assigned work task input by the user is received, so as to obtain the updated employee information table.
In a specific embodiment, the second updating unit further includes: and a third load degree updating unit and an allocation weight value updating unit.
A third load degree updating unit, configured to update a load degree of an employee corresponding to the work task in the employee information table according to a task load of the work task; and the assigned weight value updating unit is used for calculating corresponding assigned weight calculation values according to the completed tasks of the staff corresponding to the work tasks in the staff information table and the completed quality scores in the completion information, and updating the assigned weight values of the staff corresponding to the work tasks according to the assigned weight calculation values.
The intelligent work task distribution device provided by the embodiment of the invention applies the intelligent work task distribution method to decompose newly-added production business to obtain corresponding multiple work tasks, judges each work task according to distribution conditions and obtains the task to be distributed, obtains the task to be distributed of each target department, distributes the task to be distributed of any target department according to distribution rules to obtain multiple distribution flows, calculates the gain coefficient corresponding to the distribution flow in the distribution flow according to a gain coefficient calculation formula to select an optimal distribution flow as a target distribution flow, and completes distribution of all the tasks to be distributed according to the target distribution flow.
The above-described intelligent task allocation apparatus may be implemented in the form of a computer program which is executable 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 invention.
With reference 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 programs 5032, when executed, enable the processor 502 to perform a method of intelligently assigning work tasks.
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 execution of a computer program 5032 in the non-volatile storage medium 503, which computer program 5032, when executed by the processor 502, causes the processor 502 to perform a method for intelligent allocation of work tasks.
The network interface 505 is used for network communication, such as providing for transmission of data information, etc. It will be appreciated by those skilled in the art that the structure shown in FIG. 10 is merely a block diagram of some of the structures associated with the present inventive arrangements and does not constitute a limitation of the computer device 500 to which the present inventive arrangements may be applied, and that a particular computer device 500 may include more or fewer components than shown, or may combine certain components, or may have a different arrangement of components.
Wherein the processor 502 is configured to execute a computer program 5032 stored in a memory to perform the following functions: if a new added production service input by a user is received, decomposing the new added production service according to a preset decomposition rule to obtain a plurality of corresponding work tasks, and judging whether each work task meets a pre-stored allocation condition to obtain a corresponding judgment result; determining all the work tasks meeting the distribution conditions as tasks to be distributed according to the judgment result; determining a department corresponding to each task to be distributed as a target department according to a task information set in the decomposition rule so as to acquire the task to be distributed required by each target department; distributing tasks to be distributed of any target department according to a plurality of preset distribution rules and a pre-stored employee information table, and recording a distribution process corresponding to each distribution rule to obtain a plurality of distribution flows corresponding to a plurality of distribution rules; calculating a gain coefficient corresponding to an allocation mode in the allocation flow according to a preset gain coefficient calculation formula, and acquiring an optimal allocation flow from the allocation flow according to the gain coefficient as a target allocation flow; and acquiring a corresponding employee of each task to be distributed in the employee information table as a target employee according to the target distribution flow, so as to distribute each task to be distributed to the corresponding target employee.
In an embodiment, when executing the steps of allocating tasks to be allocated to any one of the target departments according to a plurality of preset allocation rules and a pre-stored employee information table, the processor 502 records an allocation process corresponding to each allocation rule to obtain a plurality of allocation flows corresponding to a plurality of allocation rules, the following operations are executed: obtaining staff belonging to the target department and having non-zero assigned weight values in the staff information table to form a staff set, wherein the staff set comprises at least one staff; according to each allocation rule and the allocation weight value and the load degree of the staff in the staff set, correspondingly allocating the task to be allocated of the target department to the staff in the staff set; and recording the process of distributing the tasks to be distributed by each distribution rule so as to obtain a plurality of corresponding distribution flows.
In one embodiment, when the processor 502 calculates a gain coefficient corresponding to the allocation mode in the allocation flow according to a preset gain coefficient calculation formula and obtains an optimal allocation flow from the allocation flow according to the gain coefficient as a step of a target allocation flow, the following operations are performed: taking an allocation node corresponding to the target department as a parent node; calculating the distribution entropy of the parent node according to the gain coefficient calculation formula and the distribution proportion value of the task to be distributed in the parent node; taking a distribution node corresponding to the distribution mode directly associated with the parent node as a child distribution node, and determining the distribution proportion value of each node branch according to the distribution value and the branch characteristic information of the node branch in the distribution node; calculating the distribution entropy of each sub-distribution node according to the gain coefficient calculation formula and the distribution proportion value of all node branches in each sub-distribution node; subtracting the distribution entropy of each child distribution node from the distribution entropy of the parent node to obtain a gain coefficient corresponding to each child distribution node; determining the allocation mode corresponding to the child allocation node with the largest gain coefficient as an optimal allocation mode; judging whether the node branch of the sub-distribution node corresponding to the optimal distribution mode is an end node branch or not; if the node branch of the child allocation node is an end node branch, determining the combination of all the optimal allocation modes as the target allocation flow; and if the node branch of the child allocation node is not an end node branch, taking the child allocation node as a parent node, and executing the step of taking the allocation node corresponding to the allocation mode directly related to the parent node as the child allocation node, and determining the allocation proportion value of each node branch according to the allocation value and the branch characteristic information of the node branch in the allocation node.
In an embodiment, after executing the step of obtaining, according to the target allocation procedure, a corresponding one of the employees in the employee information table for each task to be allocated as a target employee, the processor 502 further executes the following operations: and updating the data information in the staff information table according to the target staff and the assigned work tasks to obtain the updated staff information table.
In one embodiment, the processor 502 performs the following operations when performing the step of updating the data information in the employee information table according to the target employee and the assigned work task to obtain the updated employee information table: updating the load degree corresponding to the target employee in the employee information table according to the task load of the work task; acquiring the direct upper level of the target employee according to the employee information table; and calculating according to a preset load degree calculation rule to obtain the load degree calculation value of the direct upper stage so as to update the load degree corresponding to the direct upper stage in the employee information table.
In an embodiment, after executing the step of obtaining, according to the target allocation procedure, a corresponding one of the employees in the employee information table for each task to be allocated as a target employee, the processor 502 further executes the following operations: and if the completion information corresponding to any assigned work task, which is input by the user, is received, updating the data information in the employee information table according to the completion information to obtain the updated employee information table.
In one embodiment, when the processor 502 performs the step of updating the data information in the employee information table according to the completion information if the completion information corresponding to any assigned work task input by the user is received, so as to obtain the updated employee information table, the following operations are performed: updating the load degree of staff corresponding to the work task in the staff information table according to the task load of the work task; and calculating corresponding distribution weight calculation values according to the completed tasks of the staff corresponding to the work tasks in the staff information table and the completion quality scores in the completion information, and updating the distribution weight values of the staff corresponding to the work tasks according to the distribution weight calculation values.
Those skilled in the art will appreciate that the embodiment of the computer device shown in fig. 10 is not limiting of the specific construction of the computer device, and in other embodiments, the computer device may include more or less components than those shown, or certain components may be combined, or a different arrangement of components. For example, in some embodiments, the computer device may include only a memory and a processor, and in such embodiments, the structure and function of the memory and the processor are consistent with the embodiment shown in fig. 10, and will not be described again.
It should be appreciated that in embodiments of the present invention, the processor 502 may be a Central processing unit (Central ProcessingUnit, CPU), and the processor 502 may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf Programmable gate arrays (FPGA) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. Wherein the general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In another embodiment of the invention, a computer-readable storage medium is provided. The computer readable storage medium may be a non-volatile computer readable storage medium. The computer readable storage medium stores a computer program, wherein the computer program when executed by a processor performs the steps of: if a new added production service input by a user is received, decomposing the new added production service according to a preset decomposition rule to obtain a plurality of corresponding work tasks, and judging whether each work task meets a pre-stored allocation condition to obtain a corresponding judgment result; determining all the work tasks meeting the distribution conditions as tasks to be distributed according to the judgment result; determining a department corresponding to each task to be distributed as a target department according to a task information set in the decomposition rule so as to acquire the task to be distributed required by each target department; distributing tasks to be distributed of any target department according to a plurality of preset distribution rules and a pre-stored employee information table, and recording a distribution process corresponding to each distribution rule to obtain a plurality of distribution flows corresponding to a plurality of distribution rules; calculating a gain coefficient corresponding to an allocation mode in the allocation flow according to a preset gain coefficient calculation formula, and acquiring an optimal allocation flow from the allocation flow according to the gain coefficient as a target allocation flow; and acquiring a corresponding employee of each task to be distributed in the employee information table as a target employee according to the target distribution flow, so as to distribute each task to be distributed to the corresponding target employee.
In an embodiment, the step of distributing the task to be distributed of any one of the target departments according to a plurality of preset distribution rules and a pre-stored employee information table, and recording the distribution process corresponding to each distribution rule to obtain a plurality of distribution flows corresponding to a plurality of distribution rules includes: obtaining staff belonging to the target department and having non-zero assigned weight values in the staff information table to form a staff set, wherein the staff set comprises at least one staff; according to each allocation rule and the allocation weight value and the load degree of the staff in the staff set, correspondingly allocating the task to be allocated of the target department to the staff in the staff set; and recording the process of distributing the tasks to be distributed by each distribution rule so as to obtain a plurality of corresponding distribution flows.
In an embodiment, the calculating the gain coefficient corresponding to the allocation mode in the allocation process according to the preset gain coefficient calculation formula, and obtaining an optimal allocation process from the allocation process according to the gain coefficient as the target allocation process includes: taking an allocation node corresponding to the target department as a parent node; calculating the distribution entropy of the parent node according to the gain coefficient calculation formula and the distribution proportion value of the task to be distributed in the parent node; taking a distribution node corresponding to the distribution mode directly associated with the parent node as a child distribution node, and determining the distribution proportion value of each node branch according to the distribution value and the branch characteristic information of the node branch in the distribution node; calculating the distribution entropy of each sub-distribution node according to the gain coefficient calculation formula and the distribution proportion value of all node branches in each sub-distribution node; subtracting the distribution entropy of each child distribution node from the distribution entropy of the parent node to obtain a gain coefficient corresponding to each child distribution node; determining the allocation mode corresponding to the child allocation node with the largest gain coefficient as an optimal allocation mode; judging whether the node branch of the sub-distribution node corresponding to the optimal distribution mode is an end node branch or not; if the node branch of the child allocation node is an end node branch, determining the combination of all the optimal allocation modes as the target allocation flow; and if the node branch of the child allocation node is not an end node branch, taking the child allocation node as a parent node, and executing the step of taking the allocation node corresponding to the allocation mode directly related to the parent node as the child allocation node, and determining the allocation proportion value of each node branch according to the allocation value and the branch characteristic information of the node branch in the allocation node.
In an embodiment, after the step of obtaining, according to the target allocation procedure, a corresponding employee of each task to be allocated in the employee information table as a target employee to allocate each task to the corresponding target employee, the method further includes: and updating the data information in the staff information table according to the target staff and the assigned work tasks to obtain the updated staff information table.
In an embodiment, the step of updating the data information in the employee information table according to the target employee and the assigned work task to obtain the updated employee information table includes: updating the load degree corresponding to the target employee in the employee information table according to the task load of the work task; acquiring the direct upper level of the target employee according to the employee information table; and calculating according to a preset load degree calculation rule to obtain the load degree calculation value of the direct upper stage so as to update the load degree corresponding to the direct upper stage in the employee information table.
In an embodiment, after the step of obtaining, according to the target allocation procedure, a corresponding employee of each task to be allocated in the employee information table as a target employee to allocate each task to the corresponding target employee, the method further includes: and if the completion information corresponding to any assigned work task, which is input by the user, is received, updating the data information in the employee information table according to the completion information to obtain the updated employee information table.
In an embodiment, the step of updating the data information in the employee information table according to the completion information if the completion information corresponding to any assigned work task input by the user is received, so as to obtain the updated employee information table includes: updating the load degree of staff corresponding to the work task in the staff information table according to the task load of the work task; and calculating corresponding distribution weight calculation values according to the completed tasks of the staff corresponding to the work tasks in the staff information table and the completion quality scores in the completion information, and updating the distribution weight values of the staff corresponding to the work tasks according to the distribution weight calculation values.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, specific working procedures of the apparatus, device and unit described above may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein. Those of ordinary skill in the art will appreciate that the elements and algorithm steps described in connection with the embodiments disclosed herein may be embodied in electronic hardware, in computer software, or in a combination of the two, and that the elements and steps of the examples have been generally described in terms of function in the foregoing description to clearly illustrate 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 solution. 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 several embodiments provided by the present invention, it should be understood that the disclosed apparatus, device and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, and for example, the division of the units is merely a logical function division, there may be another division manner in actual implementation, or units having the same function may be integrated into one unit, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices, or elements, or may be an electrical, mechanical, or other form of connection.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment of the present invention.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention is essentially or part of what contributes to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a computer-readable storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention.
The computer readable storage medium is a physical, non-transitory storage medium, and the computer readable storage medium may be an internal storage unit of the foregoing device, for example, a physical storage medium such as a hard disk or a memory of the device. The storage medium may also be an external storage device of the device, for example, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or other physical storage medium.
While the invention has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.
Claims (9)
1. An intelligent distribution method of work tasks is applied to a user terminal, and is characterized by comprising the following steps:
if a new added production service input by a user is received, decomposing the new added production service according to a preset decomposition rule to obtain a plurality of corresponding work tasks, and judging whether each work task meets a pre-stored allocation condition to obtain a corresponding judgment result;
determining all the work tasks meeting the distribution conditions as tasks to be distributed according to the judgment result;
determining a department corresponding to each task to be distributed as a target department according to a task information set in the decomposition rule so as to acquire the task to be distributed required by each target department;
Distributing tasks to be distributed of any target department according to a plurality of preset distribution rules and a pre-stored employee information table, and recording a distribution process corresponding to each distribution rule to obtain a plurality of distribution flows corresponding to a plurality of distribution rules;
calculating a gain coefficient corresponding to an allocation mode in the allocation flow according to a preset gain coefficient calculation formula, and acquiring an optimal allocation flow from the allocation flow according to the gain coefficient as a target allocation flow, wherein the target allocation flow at least comprises an allocation mode;
acquiring a corresponding employee of each task to be distributed in the employee information table as a target employee according to the target distribution flow so as to distribute each task to be distributed to the corresponding target employee;
each allocation mode corresponds to one allocation node, each allocation node comprises a plurality of node branches and an allocation value corresponding to each node branch, a gain coefficient corresponding to the allocation mode in the allocation flow is calculated according to a preset gain coefficient calculation formula, and an optimal allocation flow is obtained from the allocation flow as a target allocation flow according to the gain coefficient, and the method comprises the following steps:
Taking an allocation node corresponding to the target department as a parent node;
calculating the distribution entropy of the parent node according to the gain coefficient calculation formula and the distribution proportion value of the task to be distributed in the parent node;
taking a distribution node corresponding to the distribution mode directly associated with the parent node as a child distribution node, and determining the distribution proportion value of each node branch according to the distribution value and the branch characteristic information of the node branch in the distribution node;
calculating the distribution entropy of each sub-distribution node according to the gain coefficient calculation formula and the distribution proportion value of all node branches in each sub-distribution node;
subtracting the distribution entropy of each child distribution node from the distribution entropy of the parent node to obtain a gain coefficient corresponding to each child distribution node;
determining the allocation mode corresponding to the child allocation node with the largest gain coefficient as an optimal allocation mode;
judging whether the node branch of the sub-distribution node corresponding to the optimal distribution mode is an end node branch or not;
if the node branch of the child allocation node is an end node branch, determining the combination of all the optimal allocation modes as the target allocation flow;
If the node branch of the child allocation node is not an end node branch, taking the child allocation node as a parent node and executing the allocation node corresponding to the allocation mode directly related to the parent node as the child allocation node, and determining the allocation proportion value of each node branch according to the allocation value and the branch characteristic information of the node branch in the allocation node;
2. The intelligent task allocation method according to claim 1, wherein the employee information table includes an allocation weight value and a load degree of each employee, the allocating the task to be allocated of any one of the target departments according to a preset plurality of allocation rules and a pre-stored employee information table, and recording an allocation process corresponding to each allocation rule to obtain a plurality of allocation flows corresponding to a plurality of allocation rules, including:
obtaining staff belonging to the target department and having non-zero assigned weight values in the staff information table to form a staff set, wherein the staff set comprises at least one staff;
According to each allocation rule and the allocation weight value and the load degree of the staff in the staff set, correspondingly allocating the task to be allocated of the target department to the staff in the staff set;
and recording the process of distributing the tasks to be distributed by each distribution rule so as to obtain a plurality of corresponding distribution flows.
3. The method for intelligently distributing tasks according to claim 1, wherein after obtaining a corresponding one of the staff members of each task to be distributed in the staff member information table as a target staff member according to the target distribution flow to distribute each task to the corresponding target staff member, further comprises:
and updating the data information in the staff information table according to the target staff and the assigned work tasks to obtain the updated staff information table.
4. The intelligent task allocation method according to claim 3, wherein updating the data information in the staff information table according to the target staff and the allocated tasks to obtain the updated staff information table includes:
updating the load degree corresponding to the target employee in the employee information table according to the task load of the work task;
Acquiring the direct upper level of the target employee according to the employee information table;
and calculating according to a preset load degree calculation rule to obtain the load degree calculation value of the direct upper stage so as to update the load degree corresponding to the direct upper stage in the employee information table.
5. A method for intelligently distributing tasks according to claim 1 or 3, wherein after obtaining, according to the target distribution flow, a corresponding one of the staff members of each task to be distributed in the staff member information table as a target staff member to distribute each task to the corresponding target staff member, the method further comprises:
and if the completion information corresponding to any assigned work task, which is input by the user, is received, updating the data information in the employee information table according to the completion information to obtain the updated employee information table.
6. The intelligent task allocation method according to claim 5, wherein updating the data information in the employee information table according to the completion information to obtain the updated employee information table includes:
updating the load degree of staff corresponding to the work task in the staff information table according to the task load of the work task;
And calculating corresponding distribution weight calculation values according to the completed tasks of the staff corresponding to the work tasks in the staff information table and the completion quality scores in the completion information, and updating the distribution weight values of the staff corresponding to the work tasks according to the distribution weight calculation values.
7. An intelligent task distribution device, comprising:
the system comprises a work task judging unit, a processing unit and a processing unit, wherein the work task judging unit is used for judging whether each work task meets a pre-stored allocation condition or not to obtain a corresponding judging result if a new production service input by a user is received, and decomposing the new production service according to a preset decomposition rule to obtain a plurality of corresponding work tasks;
the task to be distributed determining unit is used for determining all the work tasks meeting the distribution conditions as tasks to be distributed according to the judging result;
the target department task determining unit is used for determining a department corresponding to each task to be distributed as a target department according to the task information set in the decomposition rule so as to acquire the task to be distributed required by each target department;
the distribution flow obtaining unit is used for distributing tasks to be distributed of any target department according to a plurality of preset distribution rules and a pre-stored employee information table, and recording the distribution process corresponding to each distribution rule to obtain a plurality of distribution flows corresponding to a plurality of distribution rules;
A target allocation flow obtaining unit, configured to calculate a gain coefficient corresponding to an allocation mode in the allocation flow according to a preset gain coefficient calculation formula, and obtain an optimal allocation flow from the allocation flows according to the gain coefficient as a target allocation flow, where the target allocation flow at least includes an allocation mode;
the work task distribution unit is used for acquiring a corresponding employee of each task to be distributed in the employee information table as a target employee according to the target distribution flow so as to distribute each task to be distributed to the corresponding target employee;
each allocation mode corresponds to one allocation node, each allocation node comprises a plurality of node branches and an allocation value corresponding to each node branch, a gain coefficient corresponding to the allocation mode in the allocation flow is calculated according to a preset gain coefficient calculation formula, and an optimal allocation flow is obtained from the allocation flow as a target allocation flow according to the gain coefficient, and the method comprises the following steps:
taking an allocation node corresponding to the target department as a parent node;
calculating the distribution entropy of the parent node according to the gain coefficient calculation formula and the distribution proportion value of the task to be distributed in the parent node;
Taking a distribution node corresponding to the distribution mode directly associated with the parent node as a child distribution node, and determining the distribution proportion value of each node branch according to the distribution value and the branch characteristic information of the node branch in the distribution node;
calculating the distribution entropy of each sub-distribution node according to the gain coefficient calculation formula and the distribution proportion value of all node branches in each sub-distribution node;
subtracting the distribution entropy of each child distribution node from the distribution entropy of the parent node to obtain a gain coefficient corresponding to each child distribution node;
determining the allocation mode corresponding to the child allocation node with the largest gain coefficient as an optimal allocation mode;
judging whether the node branch of the sub-distribution node corresponding to the optimal distribution mode is an end node branch or not;
if the node branch of the child allocation node is an end node branch, determining the combination of all the optimal allocation modes as the target allocation flow;
if the node branch of the child allocation node is not an end node branch, taking the child allocation node as a parent node and executing the allocation node corresponding to the allocation mode directly related to the parent node as the child allocation node, and determining the allocation proportion value of each node branch according to the allocation value and the branch characteristic information of the node branch in the allocation node;
8. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method for intelligent allocation of work tasks according to any of claims 1 to 6 when executing the computer program.
9. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program which, when executed by a processor, causes the processor to perform the intelligent task allocation method according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010228627.8A CN111340401B (en) | 2020-03-27 | 2020-03-27 | Intelligent distribution method and device for work tasks, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010228627.8A CN111340401B (en) | 2020-03-27 | 2020-03-27 | Intelligent distribution method and device for work tasks, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111340401A CN111340401A (en) | 2020-06-26 |
CN111340401B true CN111340401B (en) | 2023-05-23 |
Family
ID=71187406
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010228627.8A Active CN111340401B (en) | 2020-03-27 | 2020-03-27 | Intelligent distribution method and device for work tasks, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111340401B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112598404A (en) * | 2021-02-05 | 2021-04-02 | 汇正(广州)企业管理咨询有限公司 | Internet enterprise mobile office management method and system based on big data |
CN112835701B (en) * | 2021-02-20 | 2022-09-06 | 湖北省招标股份有限公司 | Data informatization acquisition and analysis system and method based on cloud computing |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108241933A (en) * | 2018-02-09 | 2018-07-03 | 南京航空航天大学 | Two-way choice method for allocating tasks based on normalization weighting |
CN110288193A (en) * | 2019-05-23 | 2019-09-27 | 中国平安人寿保险股份有限公司 | Mission Monitor processing method, device, computer equipment and storage medium |
CN110766269A (en) * | 2019-09-02 | 2020-02-07 | 平安科技(深圳)有限公司 | Task allocation method and device, readable storage medium and terminal equipment |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140142998A1 (en) * | 2012-11-19 | 2014-05-22 | Fmr Llc | Method and System for Optimized Task Assignment |
US20140207504A1 (en) * | 2013-01-21 | 2014-07-24 | International Business Machines Corporation | System and method of calculating task efforts and applying the results for resource planning |
-
2020
- 2020-03-27 CN CN202010228627.8A patent/CN111340401B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108241933A (en) * | 2018-02-09 | 2018-07-03 | 南京航空航天大学 | Two-way choice method for allocating tasks based on normalization weighting |
CN110288193A (en) * | 2019-05-23 | 2019-09-27 | 中国平安人寿保险股份有限公司 | Mission Monitor processing method, device, computer equipment and storage medium |
CN110766269A (en) * | 2019-09-02 | 2020-02-07 | 平安科技(深圳)有限公司 | Task allocation method and device, readable storage medium and terminal equipment |
Non-Patent Citations (1)
Title |
---|
蒋红梅,陈荣秋.虚拟企业任务分配的一种方法.高技术通讯.(第12期),全文. * |
Also Published As
Publication number | Publication date |
---|---|
CN111340401A (en) | 2020-06-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111340401B (en) | Intelligent distribution method and device for work tasks, computer equipment and storage medium | |
Oukil et al. | Ranking dispatching rules in multi-objective dynamic flow shop scheduling: a multi-faceted perspective | |
US20110167034A1 (en) | System and method for metric based allocation of costs | |
CN111402061A (en) | Asset management method and system | |
Shabtay et al. | Two due date assignment problems in scheduling a single machine | |
CA3099427A1 (en) | Method and system for defining roles in an identity and access management system | |
US7844967B2 (en) | Method of allocating computing resources | |
CN112785057B (en) | Method, device, equipment and storage medium for predicting quantity of parts based on exponential smoothing | |
CN110569313B (en) | Model table level judging method and device of data warehouse | |
CN115564204B (en) | Parallel processing method for demand resource allocation in supply chain | |
Morillas et al. | IO coefficients importance: a fuzzy logic approach | |
CN113515544B (en) | Data attribute query method and data attribute query device | |
Büyüközkan et al. | Extending QFD with pythagorean fuzzy sets for sustainable supply chain management | |
CN113537657A (en) | Commodity inventory determining method and device, storage medium and computer equipment | |
CN112364005A (en) | Data synchronization method and device, computer equipment and storage medium | |
CN109145545A (en) | A kind of processing method and processing device of user's operation | |
CN114723277A (en) | Method, apparatus, device, medium, and program product for performance evaluation | |
CN112381429A (en) | Manufacturing enterprise multi-level KPI system reconstruction method, device and equipment | |
Chang et al. | A new benchmarking method to advance the two-model DEA approach: Evidence from a nursing home application | |
US10803092B1 (en) | Metadata driven catalog definition | |
Kaczmarczyk | Taxonomic analysis of voivodships development in terms of ICT usage in enterprises | |
CN117196162A (en) | Task allocation method and related equipment | |
Wibowo et al. | A multicriteria group decision making procedure for selecting cloud based ERP system providers | |
Reuter et al. | Aggregation of production data for the strategic planning of global production networks | |
CN114330946A (en) | Method, device, equipment and medium for sorting portal member objects |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |