WO2019205370A1 - Electronic device, task distribution method and storage medium - Google Patents

Electronic device, task distribution method and storage medium Download PDF

Info

Publication number
WO2019205370A1
WO2019205370A1 PCT/CN2018/102088 CN2018102088W WO2019205370A1 WO 2019205370 A1 WO2019205370 A1 WO 2019205370A1 CN 2018102088 W CN2018102088 W CN 2018102088W WO 2019205370 A1 WO2019205370 A1 WO 2019205370A1
Authority
WO
WIPO (PCT)
Prior art keywords
task
score
assigned
remaining
processing
Prior art date
Application number
PCT/CN2018/102088
Other languages
French (fr)
Chinese (zh)
Inventor
王磊
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2019205370A1 publication Critical patent/WO2019205370A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06311Scheduling, planning or task assignment for a person or group
    • G06Q10/063112Skill-based matching of a person or a group to a task

Definitions

  • the present application relates to the field of data processing technologies, and in particular, to an electronic device, a method for allocating tasks, and a storage medium.
  • the assignment of tasks is generally performed by the system according to the established strategy to assign tasks to various processing personnel in the team, for example, assigning tasks to the processing personnel who have the largest difference in the proportion of assigned tasks with the current relative burden ratio distance setting (ie, distance presets)
  • the maximum load gap is the largest: for each type of task set the team and the team members in the task arrangement ratio, team A has two A and B, the proportion of A and B set is 67% and 33%, then the first task comes over, because Have not assigned tasks, will be assigned to the task assignment ratio is high, that is assigned to A; when the second task comes over, A currently has a task, B has no task, as the relative burden ratio of A is 100%, B relative The burden ratio is 0%, so the second task is assigned to B.
  • a and B currently have tasks, and the relative burden ratio of A and B is 50%, but the distance of A is set. 67% is the largest, so the task is assigned to A; when the fourth task comes over, the current relative burden ratio is calculated to be 66.6%, and the current relative burden ratio of B is 33.3%.
  • a task is assigned to four, and so on.
  • the purpose of the present application is to provide an electronic device, a method for distributing a task, and a storage medium, which are intended to comprehensively evaluate the task situation of each assigned object, and assign the task to a person with comprehensive processing capability to ensure the timeliness of the processing. .
  • the present application provides an electronic device including a memory and a processor coupled to the memory, the memory storing a processing system operable on the processor, the processing The system implements the following steps when executed by the processor:
  • a third calculating step acquiring the number of task processing of the assigned object in the past preset time, and calculating the processing task score according to the number of task processing of the assigned object and the number of remaining tasks;
  • the analysis step when assigning a task, analyzing whether there is an allocation object whose remaining task score is greater than or equal to 0;
  • a first allocation step if not, assigning a task to a pre-allocated allocation object
  • a second allocation step if yes, in the allocation object whose remaining task score is greater than or equal to 0, the current task is assigned according to the weighting score and the predetermined allocation rule according to the weighting score calculated by the pre-allocation score, the remaining task score, and the processing task score Assign the corresponding assignment object.
  • the present application further provides a method for allocating tasks, and the method for assigning tasks includes:
  • S2 acquiring the number of remaining tasks of the allocated object, and calculating a remaining task score corresponding to the allocated object according to the number of remaining tasks of the allocated object;
  • the present application also provides a computer readable storage medium having stored thereon a processing system, the processing system being executed by a processor to implement the steps of the method of assigning tasks as described above.
  • the present application Before assigning a task to each assigned object in the team, the present application first analyzes the situation in which the assigned object is currently pre-assigned, the remaining unprocessed task, and the assigned object in the past preset time. The task processing situation, and calculating the corresponding score according to the situation, when the task is assigned, if there are multiple assignment objects whose number of remaining tasks is less than or equal to a certain value, the calculation is based on the pre-dispatch score, the remaining task score, and the processing task score.
  • the current task is assigned to the corresponding assignment object according to the weight score and the predetermined distribution rule, and the task situation of each assignment object can be comprehensively evaluated, and the task is assigned to the person with comprehensive processing capability. To ensure the timeliness of processing.
  • FIG. 1 is a schematic diagram of a hardware architecture of an embodiment of an electronic device according to the present application.
  • FIG. 2 is a schematic flowchart diagram of an embodiment of a method for allocating tasks according to the present application.
  • FIG. 1 is a schematic diagram of an application environment of an embodiment of an electronic device of the present application.
  • the electronic device 1 is an apparatus capable of automatically performing numerical calculation and/or information processing in accordance with an instruction set or stored in advance.
  • the electronic device 1 may be a computer, a single network server, a server group composed of multiple network servers, or a cloud-based cloud composed of a large number of hosts or network servers, where cloud computing is a type of distributed computing.
  • a super virtual computer consisting of a group of loosely coupled computers.
  • the electronic device 1 may include, but is not limited to, a memory 11 communicably connected to each other through a system bus, a processor 12, and a network interface 13, and the memory 11 stores a processing system operable on the processor 12. It should be noted that FIG. 1 only shows the electronic device 1 having the components 11-13, but it should be understood that not all illustrated components are required to be implemented, and more or fewer components may be implemented instead.
  • the memory 11 includes a memory and at least one type of readable storage medium.
  • the memory provides a cache for the operation of the electronic device 1;
  • the readable storage medium may be, for example, a flash memory, a hard disk, a multimedia card, a card type memory (eg, SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM).
  • a non-volatile storage medium such as a read only memory (ROM), an electrically erasable programmable read only memory (EEPROM), a programmable read only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, or the like.
  • the readable storage medium may be an internal storage unit of the electronic device 1, such as a hard disk of the electronic device 1; in other embodiments, the non-volatile storage medium may also be external to the electronic device 1.
  • a storage device such as a plug-in hard disk equipped with an electronic device 1, a smart memory card (SMC), a Secure Digital (SD) card, a flash card, or the like.
  • the readable storage medium of the memory 11 is generally used to store an operating system and various types of application software installed in the electronic device 1, such as program code for storing a processing system in an embodiment of the present application. Further, the memory 11 can also be used to temporarily store various types of data that have been output or are to be output.
  • the processor 12 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments.
  • the processor 12 is typically used to control the overall operation of the electronic device 1, such as performing control and processing related to data interaction or communication with other devices.
  • the processor 12 is configured to run program code or process data stored in the memory 11, such as running a processing system or the like.
  • the network interface 13 may comprise a wireless network interface or a wired network interface, which is typically used to establish a communication connection between the electronic device 1 and other electronic devices.
  • the processing system is stored in the memory 11 and includes at least one computer readable instruction stored in the memory 11, the at least one computer readable instruction being executable by the processor 12 to implement the methods of various embodiments of the present application;
  • the at least one computer readable instruction can be classified into different logic modules depending on the functions implemented by its various parts.
  • the pre-dispatching represents that the assignment object is currently pre-dispatched, and the task may be first dispatched according to a pre-defined strategy in the task system.
  • the pre-deployed strategy may be pre-dispatched according to the current task number of each allocation object, and the probability that the current task number is less pre-dispatched is larger; or the pre-dispatch may be performed according to the efficiency of each allocation object processing task.
  • the higher the efficiency of processing a task the greater the probability of being pre-dispatched. It may also be based on the current number of tasks of each assigned object and the efficiency of the processing task. The lesser the current task number of the assigned object, the more efficient the task. The higher the probability of being pre-dispatched, the more, and so on, there is no limit here.
  • a task is pre-assigned to one assignment object, and the assignment object is currently assigned to one task, and the corresponding pre-dispatch score is 1 point. If the assignment object is not currently assigned to the task, the corresponding assignment object is pre-dispatched. The score is 0 points; or the task is pre-assigned to the corresponding assignment object according to the distribution ratio preset by the task system (for example, the task is divided into 5, each of which is 20%), and the assignment object is currently assigned to a certain proportion of tasks. Then, the corresponding pre-dispatch score is 1 point, and the assigned object is not currently assigned to the task, and the corresponding assigned object pre-dispatch score is 0 points.
  • the number of remaining tasks represents the remaining unprocessed tasks of the allocation object. The smaller the number of remaining tasks, the higher the remaining task scores, and the more the number of remaining tasks, the lower the remaining task scores.
  • the calculation rule of the remaining task score may be pre-determined, and the remaining task score corresponding to the allocation object is calculated according to the number of remaining tasks of the allocation object and the calculation rule of the remaining task score.
  • the remaining task score 1 - (number of remaining tasks / n) * 0.1, where n is a conversion parameter, and the value of n can be predetermined according to different actual situations, for example, in an actual case, if the number of remaining tasks is 50 tasks are demarcation points, then the value of n can be 1/10 of 50, which is 5; if the number of remaining tasks is 30 points, the value of n can be 1/10 of 30. That is, 3, etc., of course, it is also possible to reserve the value of n as other values, and there is no excessive limit here.
  • remaining task score 1 - (number of remaining tasks / n) * 0.1, preferably, n is 5, that is, the number of remaining tasks of the assigned object is equal to 50, the remaining task score is 0, and the number of remaining tasks is less than 50, the remaining task score is greater than 0, the remaining task number is greater than 50, and the remaining task score is less than 0.
  • a third calculating step acquiring the number of task processing of the assigned object in the past preset time, and calculating the processing task score according to the number of task processing of the assigned object and the number of remaining tasks;
  • the number of task processing of the assigned object in the past preset time represents the situation in which the assigned object recently processed the task. The more the number of task processing of the assigned object in the past preset time, the less the number of remaining tasks, the more the processing task score is. high.
  • the calculation rule of the processing task score may be pre-established, and the processing task score corresponding to the allocation object is calculated according to the number of task processing of the allocation object in the past preset time, the number of remaining tasks, and the calculation rule of the processing task score.
  • the processing task score the number of task processing / (the number of task processing + the number of remaining tasks).
  • the past preset time is preferably 7 days.
  • the analysis step when assigning a task, analyzing whether there is an allocation object whose remaining task score is greater than or equal to 0;
  • a first allocation step if not, assigning a task to a pre-allocated allocation object
  • a second allocation step if yes, in the allocation object whose remaining task score is greater than or equal to 0, the current task is assigned according to the weighting score and the predetermined allocation rule according to the weighting score calculated by the pre-allocation score, the remaining task score, and the processing task score Assign the corresponding assignment object.
  • the allocation objects whose remaining task scores are greater than or equal to 0 are first filtered out, that is, the allocation objects whose remaining tasks are less than or equal to a certain value are filtered out, for example, the number of remaining tasks is less than or equal to the allocation objects of 50 tasks. Screen out and then conduct a comprehensive assessment. If the remaining task scores of all the assigned objects are less than 0, the allocation is performed according to the aforementioned pre-allocation case, and the tasks are equally distributed to the pre-allocated allocation objects. For the assigned objects whose remaining task score is greater than or equal to 0, the weight score for the comprehensive evaluation is calculated.
  • the assigned object with high pre-scoring score indicates that it is currently pre-dispatched; the higher the remaining task score, the less the number of remaining tasks; the higher the processing task score is. The more the number of recent task processing and the smaller the number of remaining tasks; the higher the weight score, the stronger the comprehensive ability of the assigned object to represent its processing tasks.
  • the predetermined allocation rule includes: if the remaining task score is greater than or equal to 0, the assigned task is assigned to the assigned object;
  • assignment of tasks is performed for the allocation objects whose scores of the plurality of remaining tasks are greater than or equal to 0.
  • the next step is not performed. If the task is not assigned, the operation is performed in the following order: in the multiple assignment objects whose remaining task score is greater than or equal to 0, analyze whether there is any allocation.
  • the weight score, the processing task score and the remaining task score of the object respectively correspond to the same, that is, whether the weight scores of the assigned objects are the same, and whether the processing task scores are the same, and whether the remaining task scores are the same;
  • the assignment tasks are assigned to the corresponding assignment objects in descending order of the pre-dispatch scores among the assignment objects that are identical in the above-mentioned three assignments ( The first allocation), that is, firstly assigned to the above three objects that are identical to each other but not pre-assigned to the task, for example, the task is assigned to the above three in order according to the pre-dispatch score from low to high. All the same, pre-dispatch assignments with a score of 0.
  • the allocation object of the first assigned task is removed, and further analysis is performed whether the weighting score of the assigned object and the processing task score are respectively the same, that is, whether the weighting scores of the assigned objects are the same, and whether the processing task scores are the same. ;
  • the two objects of the assigned object are respectively the same, then in the allocation object with multiple remaining task scores greater than or equal to 0 (if there is the first allocation, the assigned object of the first assigned task is removed), according to the remaining The task is assigned to the corresponding assigned object (second allocation) in order from highest to lowest;
  • the current task is assigned to the corresponding allocation object in order from the highest to the lowest in the processing task score; if not, the current task is assigned to the corresponding allocation object in descending order of the weighting score.
  • the predetermined allocation rule may further include: if the remaining task score is greater than or equal to 0, the assignment task is assigned to the assignment object; if the remaining task score is greater than or equal to 0, the assignment object is If there are multiple, the current task is assigned to the corresponding assigned object in order from the highest to the lowest.
  • the present application first analyzes the situation in which the assigned object is currently pre-assigned the task, the remaining unprocessed task, and the object allocated in the past preset time before assigning the task to each assigned object in the team.
  • the task processing situation, and calculating the corresponding score according to the situation when the task is assigned, if there are multiple assignment objects whose number of remaining tasks is less than or equal to a certain value, the calculation is based on the pre-dispatch score, the remaining task score, and the processing task score.
  • the weight score of the comprehensive evaluation the current task is assigned to the corresponding assignment object according to the weight score and the predetermined distribution rule, and the task situation of each assignment object can be comprehensively evaluated, and the task is assigned to the person with comprehensive processing capability. To ensure the timeliness of processing.
  • FIG. 2 is a schematic flowchart of an embodiment of a method for allocating tasks according to the present application.
  • the method for allocating tasks includes the following steps:
  • Step S1 before assigning the task, pre-assigning the current task to the allocation object in the task system, and calculating the pre-dispatch score of the assigned object after pre-dispatching;
  • the pre-dispatching represents that the assignment object is currently pre-dispatched, and the task may be first dispatched according to a pre-defined strategy in the task system.
  • the pre-deployed strategy may be pre-dispatched according to the current task number of each allocation object, and the probability that the current task number is less pre-dispatched is larger; or the pre-dispatch may be performed according to the efficiency of each allocation object processing task.
  • the higher the efficiency of processing a task the greater the probability of being pre-dispatched. It may also be based on the current number of tasks of each assigned object and the efficiency of the processing task. The lesser the current task number of the assigned object, the more efficient the task. The higher the probability of being pre-dispatched, the more, and so on, there is no limit here.
  • a task is pre-assigned to one assignment object, and the assignment object is currently assigned to one task, and the corresponding pre-dispatch score is 1 point. If the assignment object is not currently assigned to the task, the corresponding assignment object is pre-dispatched. The score is 0 points; or the task is pre-assigned to the corresponding assignment object according to the distribution ratio preset by the task system (for example, the task is divided into 5, each of which is 20%), and the assignment object is currently assigned to a certain proportion of tasks. Then, the corresponding pre-dispatch score is 1 point, and the assigned object is not currently assigned to the task, and the corresponding assigned object pre-dispatch score is 0 points.
  • Step S2 acquiring the number of remaining tasks of the allocation object, and calculating a remaining task score corresponding to the allocation object according to the number of remaining tasks of the allocation object;
  • the number of remaining tasks represents the remaining unprocessed tasks of the allocation object. The smaller the number of remaining tasks, the higher the remaining task scores, and the more the number of remaining tasks, the lower the remaining task scores.
  • the calculation rule of the remaining task score may be pre-determined, and the remaining task score corresponding to the allocation object is calculated according to the number of remaining tasks of the allocation object and the calculation rule of the remaining task score.
  • the remaining task score 1 - (number of remaining tasks / n) * 0.1, where n is a conversion parameter, and the value of n can be predetermined according to different actual situations, for example, in an actual case, if the number of remaining tasks is 50 tasks are demarcation points, then the value of n can be 1/10 of 50, which is 5; if the number of remaining tasks is 30 points, the value of n can be 1/10 of 30. That is, 3, etc., of course, it is also possible to reserve the value of n as other values, and there is no excessive limit here.
  • remaining task score 1 - (number of remaining tasks / n) * 0.1, preferably, n is 5, that is, the number of remaining tasks of the assigned object is equal to 50, the remaining task score is 0, and the number of remaining tasks is less than 50, the remaining task score is greater than 0, the remaining task number is greater than 50, and the remaining task score is less than 0.
  • Step S3 acquiring the number of task processing of the assigned object in the past preset time, and calculating the processing task score according to the number of task processing of the allocated object and the number of remaining tasks;
  • the number of task processing of the assigned object in the past preset time represents the situation in which the assigned object recently processed the task. The more the number of task processing of the assigned object in the past preset time, the less the number of remaining tasks, the more the processing task score is. high.
  • the calculation rule of the processing task score may be pre-established, and the processing task score corresponding to the allocation object is calculated according to the number of task processing of the allocation object in the past preset time, the number of remaining tasks, and the calculation rule of the processing task score.
  • the processing task score the number of task processing / (the number of task processing + the number of remaining tasks).
  • the past preset time is preferably 7 days.
  • Step S4 when assigning a task, analyzing whether there is an allocation object whose remaining task score is greater than or equal to 0;
  • Step S5 if no, assign the task to the pre-allocated allocation object
  • Step S6 if yes, in the allocation object whose remaining task score is greater than or equal to 0, the current task is assigned to the corresponding task according to the weight score and the predetermined distribution rule according to the weight score calculated by the pre-distribution score, the remaining task score, and the processing task score. Assignment object.
  • the allocation objects whose remaining task scores are greater than or equal to 0 are first filtered out, that is, the allocation objects whose remaining tasks are less than or equal to a certain value are filtered out, for example, the number of remaining tasks is less than or equal to the allocation objects of 50 tasks. Screen out and then conduct a comprehensive assessment. If the remaining task scores of all the assigned objects are less than 0, the allocation is performed according to the aforementioned pre-allocation case, and the tasks are equally distributed to the pre-allocated allocation objects. For the assigned objects whose remaining task score is greater than or equal to 0, the weight score for the comprehensive evaluation is calculated.
  • the assigned object with high pre-scoring score indicates that it is currently pre-dispatched; the higher the remaining task score, the less the number of remaining tasks; the higher the processing task score is. The more the number of recent task processing and the smaller the number of remaining tasks; the higher the weight score, the stronger the comprehensive ability of the assigned object to represent its processing tasks.
  • the predetermined allocation rule includes: if the remaining task score is greater than or equal to 0, the assigned task is assigned to the assigned object;
  • assignment of tasks is performed for the allocation objects whose scores of the plurality of remaining tasks are greater than or equal to 0.
  • the next step is not performed. If the task is not assigned, the operation is performed in the following order: in the multiple assignment objects whose remaining task score is greater than or equal to 0, analyze whether there is any allocation.
  • the weight score, the processing task score and the remaining task score of the object respectively correspond to the same, that is, whether the weight scores of the assigned objects are the same, and whether the processing task scores are the same, and whether the remaining task scores are the same;
  • the assignment tasks are assigned to the corresponding assignment objects in descending order of the pre-dispatch scores among the assignment objects that are identical in the above-mentioned three assignments ( The first allocation), that is, firstly assigned to the above three objects that are identical to each other but not pre-assigned to the task, for example, the task is assigned to the above three in order according to the pre-dispatch score from low to high. All the same, pre-dispatch assignments with a score of 0.
  • the allocation object of the first assigned task is removed, and further analysis is performed whether the weighting score of the assigned object and the processing task score are respectively the same, that is, whether the weighting scores of the assigned objects are the same, and whether the processing task scores are the same. ;
  • the two objects of the assigned object are respectively the same, then in the allocation object with multiple remaining task scores greater than or equal to 0 (if there is the first allocation, the assigned object of the first assigned task is removed), according to the remaining The task is assigned to the corresponding assigned object (second allocation) in order from highest to lowest;
  • the current task is assigned to the corresponding allocation object in order from the highest to the lowest in the processing task score; if not, the current task is assigned to the corresponding allocation object in descending order of the weighting score.
  • the predetermined allocation rule may further include: if the remaining task score is greater than or equal to 0, the assignment task is assigned to the assignment object; if the remaining task score is greater than or equal to 0, the assignment object is If there are multiple, the current task is assigned to the corresponding assigned object in order from the highest to the lowest.
  • the present application first analyzes the situation in which the assigned object is currently pre-assigned the task, the remaining unprocessed task, and the object allocated in the past preset time before assigning the task to each assigned object in the team.
  • the task processing situation, and calculating the corresponding score according to the situation when the task is assigned, if there are multiple assignment objects whose number of remaining tasks is less than or equal to a certain value, the calculation is based on the pre-dispatch score, the remaining task score, and the processing task score.
  • the weight score of the comprehensive evaluation the current task is assigned to the corresponding assignment object according to the weight score and the predetermined distribution rule, and the task situation of each assignment object can be comprehensively evaluated, and the task is assigned to the person with comprehensive processing capability. To ensure the timeliness of processing.
  • the present application also provides a computer readable storage medium having stored thereon a processing system, the processing system being executed by a processor to implement the steps of the method of assigning tasks as described above.
  • the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better.
  • Implementation Based on such understanding, the technical solution of the present application, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present application.

Landscapes

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

Abstract

The invention relates to an electronic device, a task distribution method and a storage medium. The method comprises: before task distribution, pre-dispatching current tasks to distribution objects in a task system and calculating a pre-dispatching score; obtaining a quantity of residual tasks of the distribution objects, and calculating a residual task score according to the quantity of the residual tasks; obtaining task processing quantities of the distribution objects in a past preset time, and calculating a task processing score according to the task processing quantities and the quantity of the residual tasks; during task distribution, if a distribution object whose residual task score is greater than or equal to 0 exists, calculating a weight score according to the pre-dispatching score, the residual task score and the task processing score, and dispatching the current task to a corresponding distribution object according to the weight score and a predetermined distribution rule. According to the method, the task condition of each distribution object can be comprehensively evaluated, and tasks are distributed to staffs with strong comprehensive processing ability, so that the timeliness of processing is ensured.

Description

电子装置、分配任务的方法及存储介质Electronic device, method for distributing tasks, and storage medium
优先权申明Priority claim
本申请基于巴黎公约申明享有2018年04月24日递交的申请号为CN 2018103745724、名称为“电子装置、分配任务的方法及存储介质”中国专利申请的优先权,该中国专利申请的整体内容以参考的方式结合在本申请中。The present application is based on the priority of the Chinese Patent Application entitled "Electronic Device, Method of Assigning Tasks and Storage Medium", which is filed on April 24, 2018, with the application number of CN 2018103745724, the entire contents of which are The manner of reference is incorporated in the present application.
技术领域Technical field
本申请涉及数据处理技术领域,尤其涉及一种电子装置、分配任务的方法及存储介质。The present application relates to the field of data processing technologies, and in particular, to an electronic device, a method for allocating tasks, and a storage medium.
背景技术Background technique
目前,任务的分配一般是由系统根据制定的策略将任务分配给团队中的各个处理人员,例如,将任务分配给当前相对负担比例距离设置的分配任务比例相差最大的处理人员(即距离预设的满负荷差距最大):为每类任务设置团队及团队中成员任务安排比例,团队A中有甲乙两人,甲乙设置的比例分别是67%和33%,那么第一个任务过来时,由于都还没分配任务,将分给任务分配比例高的,即分配给甲;第二个任务过来时,甲当前有任务,乙没有任务,视为甲的相对负担比例为100%,乙的相对负担比例为0%,因此第二个任务分配给乙;第三个任务过来时,甲、乙当前都有任务,视为甲、乙的相对负担比例均为50%,但甲的距离设置的67%最大,因此将任务分配给甲;第四个任务过来时,计算甲当前相对负担比例为66.6%,乙的当前相对负担比例33.3%,因此第4个任务分配给甲,以此类推。At present, the assignment of tasks is generally performed by the system according to the established strategy to assign tasks to various processing personnel in the team, for example, assigning tasks to the processing personnel who have the largest difference in the proportion of assigned tasks with the current relative burden ratio distance setting (ie, distance presets) The maximum load gap is the largest: for each type of task set the team and the team members in the task arrangement ratio, team A has two A and B, the proportion of A and B set is 67% and 33%, then the first task comes over, because Have not assigned tasks, will be assigned to the task assignment ratio is high, that is assigned to A; when the second task comes over, A currently has a task, B has no task, as the relative burden ratio of A is 100%, B relative The burden ratio is 0%, so the second task is assigned to B. When the third task comes, A and B currently have tasks, and the relative burden ratio of A and B is 50%, but the distance of A is set. 67% is the largest, so the task is assigned to A; when the fourth task comes over, the current relative burden ratio is calculated to be 66.6%, and the current relative burden ratio of B is 33.3%. A task is assigned to four, and so on.
然而,处理人员在一段时间内需要同时处理多项任务,每项任务的处理时间都存在差异,目前的系统无法进行全面评估,容易导致任务被分派后,处理的时效不能满足业务的需求。However, the processing personnel need to process multiple tasks at the same time, and the processing time of each task is different. The current system cannot be fully evaluated, and it is easy to cause the task to be dispatched, and the processing time cannot meet the business requirements.
发明内容Summary of the invention
本申请的目的在于提供一种电子装置、分配任务的方法及存储介质,旨在对每个分配对象的任务情况进行全面评估,将任务分配给综合处理能力强的人员,以保证处理的时效性。The purpose of the present application is to provide an electronic device, a method for distributing a task, and a storage medium, which are intended to comprehensively evaluate the task situation of each assigned object, and assign the task to a person with comprehensive processing capability to ensure the timeliness of the processing. .
为实现上述目的,本申请提供一种电子装置,所述电子装置包括存储器及与所述存储器连接的处理器,所述存储器中存储有可在所述处理器上运行的处理系统,所述处理系统被所述处理器执行时实现如下步骤:To achieve the above object, the present application provides an electronic device including a memory and a processor coupled to the memory, the memory storing a processing system operable on the processor, the processing The system implements the following steps when executed by the processor:
第一计算步骤,在分配任务前,将当前的任务预分派给任务系统中的分配对象,并在预分派后计算分配对象的预分派得分;a first calculating step of pre-assigning the current task to the assigned object in the task system before assigning the task, and calculating a pre-dispatch score of the assigned object after pre-dispatching;
第二计算步骤,获取分配对象的剩余任务的数量,根据分配对象的剩余任务的数量计算分配对象对应的剩余任务得分;a second calculating step of obtaining the number of remaining tasks of the allocated object, and calculating a remaining task score corresponding to the assigned object according to the number of remaining tasks of the allocated object;
第三计算步骤,获取过去预设时间内分配对象的任务处理数量,根据分配对象的任务处理数量及剩余任务的数量计算处理任务得分;a third calculating step: acquiring the number of task processing of the assigned object in the past preset time, and calculating the processing task score according to the number of task processing of the assigned object and the number of remaining tasks;
分析步骤,在分配任务时,分析是否有剩余任务得分大于等于0的分配对象;The analysis step, when assigning a task, analyzing whether there is an allocation object whose remaining task score is greater than or equal to 0;
第一分配步骤,若否,则将任务分配给被预分派过的分配对象;a first allocation step, if not, assigning a task to a pre-allocated allocation object;
第二分配步骤,若是,则在剩余任务得分大于等于0的分配对象中,根据预分派得分、剩余任务得分及处理任务得分计算的权重得分,根据权重得分及预定的分配规则将当前的任务分派给对应的分配对象。a second allocation step, if yes, in the allocation object whose remaining task score is greater than or equal to 0, the current task is assigned according to the weighting score and the predetermined allocation rule according to the weighting score calculated by the pre-allocation score, the remaining task score, and the processing task score Assign the corresponding assignment object.
为实现上述目的,本申请还提供一种分配任务的方法,所述分配任务的方法包括:To achieve the above objective, the present application further provides a method for allocating tasks, and the method for assigning tasks includes:
S1,在分配任务前,将当前的任务预分派给任务系统中的分配对象,并在预分派后计算分配对象的预分派得分;S1, before assigning the task, pre-assigning the current task to the assigned object in the task system, and calculating the pre-dispatch score of the assigned object after pre-dispatching;
S2,获取分配对象的剩余任务的数量,根据分配对象的剩余任务的数量 计算分配对象对应的剩余任务得分;S2: acquiring the number of remaining tasks of the allocated object, and calculating a remaining task score corresponding to the allocated object according to the number of remaining tasks of the allocated object;
S3,获取过去预设时间内分配对象的任务处理数量,根据分配对象的任务处理数量及剩余任务的数量计算处理任务得分;S3, acquiring the number of task processing of the assigned object in the past preset time, and calculating the processing task score according to the number of task processing of the allocated object and the number of remaining tasks;
S4,在分配任务时,分析是否有剩余任务得分大于等于0的分配对象;S4, when assigning a task, analyzing whether there is an allocation object whose remaining task score is greater than or equal to 0;
S5,若否,则将任务分配给被预分派过的分配对象;S5, if no, assign the task to the pre-allocated allocation object;
S6,若是,则在剩余任务得分大于等于0的分配对象中,根据预分派得分、剩余任务得分及处理任务得分计算的权重得分,根据权重得分及预定的分配规则将当前的任务分派给对应的分配对象。S6, if yes, in the allocation object whose remaining task score is greater than or equal to 0, the weighting score calculated according to the pre-allocation score, the remaining task score, and the processing task score, the current task is assigned to the corresponding task according to the weighting score and the predetermined allocation rule. Assign objects.
本申请还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有处理系统,所述处理系统被处理器执行时实现上述的分配任务的方法的步骤。The present application also provides a computer readable storage medium having stored thereon a processing system, the processing system being executed by a processor to implement the steps of the method of assigning tasks as described above.
本申请的有益效果是:本申请在将任务分配给团队中的各个分配对象前,首先分析分配对象当前被预分派任务的情况、剩余未处理的任务的情况、过去预设时间内分配对象的任务处理情况,并根据这些情况计算对应的得分,在分配任务时,如果有剩余任务的数量小于等于某个值的多个分配对象,则根据预分派得分、剩余任务得分、处理任务得分计算用于进行综合评估的权重得分,根据权重得分及预定的分配规则将当前的任务分派给对应的分配对象,能够对每个分配对象的任务情况进行全面评估,将任务分配给综合处理能力强的人员,以保证处理的时效性。The beneficial effects of the present application are: Before assigning a task to each assigned object in the team, the present application first analyzes the situation in which the assigned object is currently pre-assigned, the remaining unprocessed task, and the assigned object in the past preset time. The task processing situation, and calculating the corresponding score according to the situation, when the task is assigned, if there are multiple assignment objects whose number of remaining tasks is less than or equal to a certain value, the calculation is based on the pre-dispatch score, the remaining task score, and the processing task score. For the weight score of the comprehensive evaluation, the current task is assigned to the corresponding assignment object according to the weight score and the predetermined distribution rule, and the task situation of each assignment object can be comprehensively evaluated, and the task is assigned to the person with comprehensive processing capability. To ensure the timeliness of processing.
附图说明DRAWINGS
图1为本申请电子装置一实施例的硬件架构的示意图;1 is a schematic diagram of a hardware architecture of an embodiment of an electronic device according to the present application;
图2为本申请分配任务的方法一实施例的流程示意图。FIG. 2 is a schematic flowchart diagram of an embodiment of a method for allocating tasks according to the present application.
具体实施方式detailed description
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the objects, technical solutions, and advantages of the present application more comprehensible, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the application and are not intended to be limiting. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
需要说明的是,在本申请中涉及“第一”、“第二”等的描述仅用于描述目的,而不能理解为指示或暗示其相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。另外,各个实施例之间的技术方案可以相互结合,但是必须是以本领域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时应当认为这种技术方案的结合不存在,也不在本申请要求的保护范围之内。It should be noted that the descriptions of "first", "second" and the like in the present application are for the purpose of description only, and are not to be construed as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. . Thus, features defining "first" or "second" may include at least one of the features, either explicitly or implicitly. In addition, the technical solutions between the various embodiments may be combined with each other, but must be based on the realization of those skilled in the art, and when the combination of the technical solutions is contradictory or impossible to implement, it should be considered that the combination of the technical solutions does not exist. Nor is it within the scope of protection required by this application.
参阅图1所示,是本申请电子装置一实施例的应用环境示意图。电子装置1是一种能够按照事先设定或者存储的指令,自动进行数值计算和/或信息处理的设备。所述电子装置1可以是计算机、也可以是单个网络服务器、多个网络服务器组成的服务器组或者基于云计算的由大量主机或者网络服务器构成的云,其中云计算是分布式计算的一种,由一群松散耦合的计算机集组成的一个超级虚拟计算机。FIG. 1 is a schematic diagram of an application environment of an embodiment of an electronic device of the present application. The electronic device 1 is an apparatus capable of automatically performing numerical calculation and/or information processing in accordance with an instruction set or stored in advance. The electronic device 1 may be a computer, a single network server, a server group composed of multiple network servers, or a cloud-based cloud composed of a large number of hosts or network servers, where cloud computing is a type of distributed computing. A super virtual computer consisting of a group of loosely coupled computers.
在本实施例中,电子装置1可包括,但不仅限于,可通过系统总线相互通信连接的存储器11、处理器12、网络接口13,存储器11存储有可在处理器12上运行的处理系统。需要指出的是,图1仅示出了具有组件11-13的电子装置1,但是应理解的是,并不要求实施所有示出的组件,可以替代的实施更多或者更少的组件。In the present embodiment, the electronic device 1 may include, but is not limited to, a memory 11 communicably connected to each other through a system bus, a processor 12, and a network interface 13, and the memory 11 stores a processing system operable on the processor 12. It should be noted that FIG. 1 only shows the electronic device 1 having the components 11-13, but it should be understood that not all illustrated components are required to be implemented, and more or fewer components may be implemented instead.
其中,存储器11包括内存及至少一种类型的可读存储介质。内存为电子装置1的运行提供缓存;可读存储介质可为如闪存、硬盘、多媒体卡、卡 型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等的非易失性存储介质。在一些实施例中,可读存储介质可以是电子装置1的内部存储单元,例如该电子装置1的硬盘;在另一些实施例中,该非易失性存储介质也可以是电子装置1的外部存储设备,例如电子装置1上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。本实施例中,存储器11的可读存储介质通常用于存储安装于电子装置1的操作系统和各类应用软件,例如存储本申请一实施例中的处理系统的程序代码等。此外,存储器11还可以用于暂时地存储已经输出或者将要输出的各类数据。The memory 11 includes a memory and at least one type of readable storage medium. The memory provides a cache for the operation of the electronic device 1; the readable storage medium may be, for example, a flash memory, a hard disk, a multimedia card, a card type memory (eg, SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM). A non-volatile storage medium such as a read only memory (ROM), an electrically erasable programmable read only memory (EEPROM), a programmable read only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, or the like. In some embodiments, the readable storage medium may be an internal storage unit of the electronic device 1, such as a hard disk of the electronic device 1; in other embodiments, the non-volatile storage medium may also be external to the electronic device 1. A storage device, such as a plug-in hard disk equipped with an electronic device 1, a smart memory card (SMC), a Secure Digital (SD) card, a flash card, or the like. In this embodiment, the readable storage medium of the memory 11 is generally used to store an operating system and various types of application software installed in the electronic device 1, such as program code for storing a processing system in an embodiment of the present application. Further, the memory 11 can also be used to temporarily store various types of data that have been output or are to be output.
所述处理器12在一些实施例中可以是中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器、或其他数据处理芯片。该处理器12通常用于控制所述电子装置1的总体操作,例如执行与其他设备进行数据交互或者通信相关的控制和处理等。本实施例中,所述处理器12用于运行所述存储器11中存储的程序代码或者处理数据,例如运行处理系统等。The processor 12 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments. The processor 12 is typically used to control the overall operation of the electronic device 1, such as performing control and processing related to data interaction or communication with other devices. In this embodiment, the processor 12 is configured to run program code or process data stored in the memory 11, such as running a processing system or the like.
所述网络接口13可包括无线网络接口或有线网络接口,该网络接口13通常用于在所述电子装置1与其他电子设备之间建立通信连接。The network interface 13 may comprise a wireless network interface or a wired network interface, which is typically used to establish a communication connection between the electronic device 1 and other electronic devices.
所述处理系统存储在存储器11中,包括至少一个存储在存储器11中的计算机可读指令,该至少一个计算机可读指令可被处理器器12执行,以实现本申请各实施例的方法;以及,该至少一个计算机可读指令依据其各部分所实现的功能不同,可被划为不同的逻辑模块。The processing system is stored in the memory 11 and includes at least one computer readable instruction stored in the memory 11, the at least one computer readable instruction being executable by the processor 12 to implement the methods of various embodiments of the present application; The at least one computer readable instruction can be classified into different logic modules depending on the functions implemented by its various parts.
在一实施例中,上述处理系统被所述处理器12执行时实现如下步骤:In an embodiment, when the processing system is executed by the processor 12, the following steps are implemented:
第一计算步骤,在分配任务前,将当前的任务预分派给任务系统中的分配对象,并在预分派后计算分配对象的预分派得分;a first calculating step of pre-assigning the current task to the assigned object in the task system before assigning the task, and calculating a pre-dispatch score of the assigned object after pre-dispatching;
本实施例中,预分派代表分配对象当前被预分派任务的情况,可以根据任务系统中预先制定的策略将任务先分派出去。其中,预先制定的策略可以是根据各分配对象当前的任务数量进行预分派,当前的任务数量越少则被预分派的概率越大;也可以是根据各分配对象处理任务的效率进行预分派,处理任务的效率越高则被预分派的概率越大,还可以是根据各分配对象的当前的任务数量及处理任务的效率进行综合评估,分配对象的当前的任务数量越少、处理任务的效率越高则被预分派的概率越大,等等,此处不做过多限定。In this embodiment, the pre-dispatching represents that the assignment object is currently pre-dispatched, and the task may be first dispatched according to a pre-defined strategy in the task system. The pre-deployed strategy may be pre-dispatched according to the current task number of each allocation object, and the probability that the current task number is less pre-dispatched is larger; or the pre-dispatch may be performed according to the efficiency of each allocation object processing task. The higher the efficiency of processing a task, the greater the probability of being pre-dispatched. It may also be based on the current number of tasks of each assigned object and the efficiency of the processing task. The lesser the current task number of the assigned object, the more efficient the task. The higher the probability of being pre-dispatched, the more, and so on, there is no limit here.
具体地,将一项任务预分派给1个分配对象,分配对象当前被分派到1个任务,则对应的预分派得分为1分,分配对象当前没有分派到任务,则对应的分配对象预分派得分为0分;或者按照任务系统预设的分派比例(例如任务均分为5份,每份为20%)将任务预分派给对应的分配对象,分配对象当前被分派到一定比例的任务,则对应的预分派得分为1分,分配对象当前没有分派到任务,则对应的分配对象预分派得分为0分。Specifically, a task is pre-assigned to one assignment object, and the assignment object is currently assigned to one task, and the corresponding pre-dispatch score is 1 point. If the assignment object is not currently assigned to the task, the corresponding assignment object is pre-dispatched. The score is 0 points; or the task is pre-assigned to the corresponding assignment object according to the distribution ratio preset by the task system (for example, the task is divided into 5, each of which is 20%), and the assignment object is currently assigned to a certain proportion of tasks. Then, the corresponding pre-dispatch score is 1 point, and the assigned object is not currently assigned to the task, and the corresponding assigned object pre-dispatch score is 0 points.
第二计算步骤,获取分配对象的剩余任务的数量,根据分配对象的剩余任务的数量计算分配对象对应的剩余任务得分;a second calculating step of obtaining the number of remaining tasks of the allocated object, and calculating a remaining task score corresponding to the assigned object according to the number of remaining tasks of the allocated object;
本实施例中,剩余任务的数量代表分配对象剩余未处理的任务的情况,剩余任务的数量越少则剩余任务得分越高,剩余任务的数量越多则剩余任务得分越低。In this embodiment, the number of remaining tasks represents the remaining unprocessed tasks of the allocation object. The smaller the number of remaining tasks, the higher the remaining task scores, and the more the number of remaining tasks, the lower the remaining task scores.
其中,可以预先制定剩余任务得分的计算规则,根据分配对象的剩余任务的数量及剩余任务得分的计算规则计算分配对象对应的剩余任务得分。具体地,剩余任务得分=1-(剩余任务的数量/n)*0.1,其中,n为转换参数,可以根据不同实际情况预定n的值,例如,在实际情况中,如果剩余任务的数量以50个任务为分界点,则可以预定n的值为50的1/10,即为5;如果剩余任务的数量以30个任务为分界点,则可以预定n的值为30的1/10,即为3,等等,当然还可以预定n的值为其他值,此处不做过多限定。The calculation rule of the remaining task score may be pre-determined, and the remaining task score corresponding to the allocation object is calculated according to the number of remaining tasks of the allocation object and the calculation rule of the remaining task score. Specifically, the remaining task score = 1 - (number of remaining tasks / n) * 0.1, where n is a conversion parameter, and the value of n can be predetermined according to different actual situations, for example, in an actual case, if the number of remaining tasks is 50 tasks are demarcation points, then the value of n can be 1/10 of 50, which is 5; if the number of remaining tasks is 30 points, the value of n can be 1/10 of 30. That is, 3, etc., of course, it is also possible to reserve the value of n as other values, and there is no excessive limit here.
在式子剩余任务得分=1-(剩余任务的数量/n)*0.1中,优选地,n为5,即分配对象的剩余任务的数量等于50则剩余任务得分为0,剩余任务的数量小于50则剩余任务得分大于0,剩余任务的数量大于50则剩余任务得分小于0。In the formula remaining task score = 1 - (number of remaining tasks / n) * 0.1, preferably, n is 5, that is, the number of remaining tasks of the assigned object is equal to 50, the remaining task score is 0, and the number of remaining tasks is less than 50, the remaining task score is greater than 0, the remaining task number is greater than 50, and the remaining task score is less than 0.
第三计算步骤,获取过去预设时间内分配对象的任务处理数量,根据分配对象的任务处理数量及剩余任务的数量计算处理任务得分;a third calculating step: acquiring the number of task processing of the assigned object in the past preset time, and calculating the processing task score according to the number of task processing of the assigned object and the number of remaining tasks;
本实施例中,过去预设时间内分配对象的任务处理数量代表分配对象最近处理任务的情况,过去预设时间内分配对象的任务处理数量越多、剩余任务的数量越少则处理任务得分越高。In this embodiment, the number of task processing of the assigned object in the past preset time represents the situation in which the assigned object recently processed the task. The more the number of task processing of the assigned object in the past preset time, the less the number of remaining tasks, the more the processing task score is. high.
其中,可以预先制定处理任务得分的计算规则,根据分配对象过去预设时间内分配对象的任务处理数量、剩余任务的数量及处理任务得分的计算规则计算分配对象对应的处理任务得分。具体地,处理任务得分=任务处理数量/(任务处理数量+剩余任务的数量)。其中,过去预设时间优选地为7天。The calculation rule of the processing task score may be pre-established, and the processing task score corresponding to the allocation object is calculated according to the number of task processing of the allocation object in the past preset time, the number of remaining tasks, and the calculation rule of the processing task score. Specifically, the processing task score = the number of task processing / (the number of task processing + the number of remaining tasks). Among them, the past preset time is preferably 7 days.
分析步骤,在分配任务时,分析是否有剩余任务得分大于等于0的分配对象;The analysis step, when assigning a task, analyzing whether there is an allocation object whose remaining task score is greater than or equal to 0;
第一分配步骤,若否,则将任务分配给被预分派过的分配对象;a first allocation step, if not, assigning a task to a pre-allocated allocation object;
第二分配步骤,若是,则在剩余任务得分大于等于0的分配对象中,根据预分派得分、剩余任务得分及处理任务得分计算的权重得分,根据权重得分及预定的分配规则将当前的任务分派给对应的分配对象。a second allocation step, if yes, in the allocation object whose remaining task score is greater than or equal to 0, the current task is assigned according to the weighting score and the predetermined allocation rule according to the weighting score calculated by the pre-allocation score, the remaining task score, and the processing task score Assign the corresponding assignment object.
本实施例中,首先将剩余任务得分大于等于0的分配对象筛选出来,即将剩余任务的数量小于等于某个值的分配对象筛选出来,例如,将剩余任务的数量小于等于50个任务的分配对象筛选出来,然后进一步进行综合评估。如果所有的分配对象的剩余任务得分均小于0,则按照前述的预分派情况进行分配,将任务平均分配给被预分派过的分配对象。对于剩余任务得分大于等于0的分配对象,计算进行综合评估的权重得分。In this embodiment, the allocation objects whose remaining task scores are greater than or equal to 0 are first filtered out, that is, the allocation objects whose remaining tasks are less than or equal to a certain value are filtered out, for example, the number of remaining tasks is less than or equal to the allocation objects of 50 tasks. Screen out and then conduct a comprehensive assessment. If the remaining task scores of all the assigned objects are less than 0, the allocation is performed according to the aforementioned pre-allocation case, and the tasks are equally distributed to the pre-allocated allocation objects. For the assigned objects whose remaining task score is greater than or equal to 0, the weight score for the comprehensive evaluation is calculated.
其中,权重得分=w1*预分派得分+w2*剩余任务得分+w3*处理任务得分,其中,w1为预分派得分的权重,w2为剩余任务得分的权重,w3为处理任务得分的权重,w1<w2<w3,w1+w2+w3=1,优选地,w1=0.1,w2=0.4,w3=0.5。Wherein, weight score=w1*pre-distribution score+w2*remaining task score+w3* processing task score, where w1 is the weight of the pre-dispatch score, w2 is the weight of the remaining task score, w3 is the weight of the processing task score, w1 <w2<w3, w1+w2+w3=1, preferably, w1=0.1, w2=0.4, w3=0.5.
从上面的描述可以看出,预分派得分高的分配对象表征其当前被预分派了任务;剩余任务得分越高的分配对象表征其剩余任务的数量越少;处理任务得分越高的分配对象表征其最近任务处理数量越多且剩余任务的数量越少;权重得分越高的分配对象表征其处理任务的综合能力越强。As can be seen from the above description, the assigned object with high pre-scoring score indicates that it is currently pre-dispatched; the higher the remaining task score, the less the number of remaining tasks; the higher the processing task score is. The more the number of recent task processing and the smaller the number of remaining tasks; the higher the weight score, the stronger the comprehensive ability of the assigned object to represent its processing tasks.
在一实施例中,预定的分配规则包括:若剩余任务得分大于等于0的分配对象为一个,则将当前的任务分配给该分配对象;In an embodiment, the predetermined allocation rule includes: if the remaining task score is greater than or equal to 0, the assigned task is assigned to the assigned object;
若剩余任务得分大于等于0的分配对象为多个,则在以下分配场景中,针对该多个剩余任务得分大于等于0的分配对象进行任务的分配。在以下的每步操作中,如果任务已经分配完则不执行下一步操作,如果任务未分配完则按照以下顺序执行操作:在剩余任务得分大于等于0的多个分配对象中,分析是否有分配对象的权重得分、处理任务得分及剩余任务得分三者均分别对应相同,即比较分配对象的权重得分是否相同、且比较处理任务得分是否相同、且比较剩余任务得分是否相同;If there are a plurality of allocation objects whose remaining task scores are greater than or equal to 0, in the following allocation scenario, assignment of tasks is performed for the allocation objects whose scores of the plurality of remaining tasks are greater than or equal to 0. In each of the following operations, if the task has been assigned, the next step is not performed. If the task is not assigned, the operation is performed in the following order: in the multiple assignment objects whose remaining task score is greater than or equal to 0, analyze whether there is any allocation. The weight score, the processing task score and the remaining task score of the object respectively correspond to the same, that is, whether the weight scores of the assigned objects are the same, and whether the processing task scores are the same, and whether the remaining task scores are the same;
若有分配对象的上述三者分别对应都相同,则在上述三者分别对应都相同的这些分配对象中,按照预分派得分从低到高的顺序依次将当前的任务分派给对应的分配对象(第一次分配),即首先分配给上述三者分别对应都相同的、但未预分派到任务的分配对象,例如按照预分派得分从低到高的顺序依次将任务分配给上述三者分别对应都相同的、预分派得分为0的分配对象。If the three assignments of the assignment object are the same, respectively, the assignment tasks are assigned to the corresponding assignment objects in descending order of the pre-dispatch scores among the assignment objects that are identical in the above-mentioned three assignments ( The first allocation), that is, firstly assigned to the above three objects that are identical to each other but not pre-assigned to the task, for example, the task is assigned to the above three in order according to the pre-dispatch score from low to high. All the same, pre-dispatch assignments with a score of 0.
若存在三者不相同的情况(例如有分配权重得分不同,或者处理任务得分不同,或者剩余任务得分不同),则在多个剩余任务得分大于等于0的分配对象中(若有第一次分配则剔除掉第一次分配过任务的分配对象),进一 步分析是否有分配对象的权重得分及处理任务得分两者均分别对应相同,即比较分配对象的权重得分是否相同、且处理任务得分是否相同;If there are three different situations (for example, there are different distribution weight scores, or the processing task scores are different, or the remaining task scores are different), then in the allocation objects with multiple remaining task scores greater than or equal to 0 (if there is a first assignment) Then, the allocation object of the first assigned task is removed, and further analysis is performed whether the weighting score of the assigned object and the processing task score are respectively the same, that is, whether the weighting scores of the assigned objects are the same, and whether the processing task scores are the same. ;
若有分配对象的上述两者分别对应都相同,则在多个剩余任务得分大于等于0的分配对象中(若有第一次分配则剔除掉第一次分配过任务的分配对象),按照剩余任务得分从高到低的顺序依次将当前的任务分派给对应的分配对象(第二次分配);If the two objects of the assigned object are respectively the same, then in the allocation object with multiple remaining task scores greater than or equal to 0 (if there is the first allocation, the assigned object of the first assigned task is removed), according to the remaining The task is assigned to the corresponding assigned object (second allocation) in order from highest to lowest;
若存在两者不相同的情况(例如有分配权重得分不同,或者处理任务得分不同),则在多个剩余任务得分大于等于0的分配对象中(若有第一次分配则剔除掉第一次分配过任务的分配对象,若有第一次分配、第二次分配则剔除掉这两次分配过任务的分配对象)再进一步分析各分配对象的权重得分是否相同;If there is a difference between the two (for example, there is a different distribution weight score, or the processing task score is different), then in the allocation object with multiple remaining task scores greater than or equal to 0 (if there is the first allocation, the first time is eliminated) Assigning the assignment object of the task, if there is the first assignment, the second assignment, the assignment objects of the two assigned tasks are eliminated) and further analyzing whether the weight scores of the respective assignment objects are the same;
若是,则按照处理任务得分从高到低的顺序依次将当前的任务分派给对应的分配对象;若否,则按照权重得分从高到低的顺序依次将当前的任务分派给对应的分配对象。If yes, the current task is assigned to the corresponding allocation object in order from the highest to the lowest in the processing task score; if not, the current task is assigned to the corresponding allocation object in descending order of the weighting score.
在另一实施例中,预定的分配规则还可包括:若剩余任务得分大于等于0的分配对象为一个,则将当前的任务分配给该分配对象;若剩余任务得分大于等于0的分配对象为多个,则按照权重得分从高到低的顺序依次将当前的任务分派给对应的分配对象。In another embodiment, the predetermined allocation rule may further include: if the remaining task score is greater than or equal to 0, the assignment task is assigned to the assignment object; if the remaining task score is greater than or equal to 0, the assignment object is If there are multiple, the current task is assigned to the corresponding assigned object in order from the highest to the lowest.
与现有技术相比,本申请在将任务分配给团队中的各个分配对象前,首先分析分配对象当前被预分派任务的情况、剩余未处理的任务的情况、过去预设时间内分配对象的任务处理情况,并根据这些情况计算对应的得分,在分配任务时,如果有剩余任务的数量小于等于某个值的多个分配对象,则根据预分派得分、剩余任务得分、处理任务得分计算用于进行综合评估的权重得分,根据权重得分及预定的分配规则将当前的任务分派给对应的分配对象,能够对每个分配对象的任务情况进行全面评估,将任务分配给综合处理 能力强的人员,以保证处理的时效性。Compared with the prior art, the present application first analyzes the situation in which the assigned object is currently pre-assigned the task, the remaining unprocessed task, and the object allocated in the past preset time before assigning the task to each assigned object in the team. The task processing situation, and calculating the corresponding score according to the situation, when the task is assigned, if there are multiple assignment objects whose number of remaining tasks is less than or equal to a certain value, the calculation is based on the pre-dispatch score, the remaining task score, and the processing task score. For the weight score of the comprehensive evaluation, the current task is assigned to the corresponding assignment object according to the weight score and the predetermined distribution rule, and the task situation of each assignment object can be comprehensively evaluated, and the task is assigned to the person with comprehensive processing capability. To ensure the timeliness of processing.
如图2所示,图2为本申请分配任务的方法一实施例的流程示意图,该分配任务的方法包括以下步骤:As shown in FIG. 2, FIG. 2 is a schematic flowchart of an embodiment of a method for allocating tasks according to the present application. The method for allocating tasks includes the following steps:
步骤S1,在分配任务前,将当前的任务预分派给任务系统中的分配对象,并在预分派后计算分配对象的预分派得分;Step S1, before assigning the task, pre-assigning the current task to the allocation object in the task system, and calculating the pre-dispatch score of the assigned object after pre-dispatching;
本实施例中,预分派代表分配对象当前被预分派任务的情况,可以根据任务系统中预先制定的策略将任务先分派出去。其中,预先制定的策略可以是根据各分配对象当前的任务数量进行预分派,当前的任务数量越少则被预分派的概率越大;也可以是根据各分配对象处理任务的效率进行预分派,处理任务的效率越高则被预分派的概率越大,还可以是根据各分配对象的当前的任务数量及处理任务的效率进行综合评估,分配对象的当前的任务数量越少、处理任务的效率越高则被预分派的概率越大,等等,此处不做过多限定。In this embodiment, the pre-dispatching represents that the assignment object is currently pre-dispatched, and the task may be first dispatched according to a pre-defined strategy in the task system. The pre-deployed strategy may be pre-dispatched according to the current task number of each allocation object, and the probability that the current task number is less pre-dispatched is larger; or the pre-dispatch may be performed according to the efficiency of each allocation object processing task. The higher the efficiency of processing a task, the greater the probability of being pre-dispatched. It may also be based on the current number of tasks of each assigned object and the efficiency of the processing task. The lesser the current task number of the assigned object, the more efficient the task. The higher the probability of being pre-dispatched, the more, and so on, there is no limit here.
具体地,将一项任务预分派给1个分配对象,分配对象当前被分派到1个任务,则对应的预分派得分为1分,分配对象当前没有分派到任务,则对应的分配对象预分派得分为0分;或者按照任务系统预设的分派比例(例如任务均分为5份,每份为20%)将任务预分派给对应的分配对象,分配对象当前被分派到一定比例的任务,则对应的预分派得分为1分,分配对象当前没有分派到任务,则对应的分配对象预分派得分为0分。Specifically, a task is pre-assigned to one assignment object, and the assignment object is currently assigned to one task, and the corresponding pre-dispatch score is 1 point. If the assignment object is not currently assigned to the task, the corresponding assignment object is pre-dispatched. The score is 0 points; or the task is pre-assigned to the corresponding assignment object according to the distribution ratio preset by the task system (for example, the task is divided into 5, each of which is 20%), and the assignment object is currently assigned to a certain proportion of tasks. Then, the corresponding pre-dispatch score is 1 point, and the assigned object is not currently assigned to the task, and the corresponding assigned object pre-dispatch score is 0 points.
步骤S2,获取分配对象的剩余任务的数量,根据分配对象的剩余任务的数量计算分配对象对应的剩余任务得分;Step S2: acquiring the number of remaining tasks of the allocation object, and calculating a remaining task score corresponding to the allocation object according to the number of remaining tasks of the allocation object;
本实施例中,剩余任务的数量代表分配对象剩余未处理的任务的情况,剩余任务的数量越少则剩余任务得分越高,剩余任务的数量越多则剩余任务得分越低。In this embodiment, the number of remaining tasks represents the remaining unprocessed tasks of the allocation object. The smaller the number of remaining tasks, the higher the remaining task scores, and the more the number of remaining tasks, the lower the remaining task scores.
其中,可以预先制定剩余任务得分的计算规则,根据分配对象的剩余任务的数量及剩余任务得分的计算规则计算分配对象对应的剩余任务得分。具 体地,剩余任务得分=1-(剩余任务的数量/n)*0.1,其中,n为转换参数,可以根据不同实际情况预定n的值,例如,在实际情况中,如果剩余任务的数量以50个任务为分界点,则可以预定n的值为50的1/10,即为5;如果剩余任务的数量以30个任务为分界点,则可以预定n的值为30的1/10,即为3,等等,当然还可以预定n的值为其他值,此处不做过多限定。The calculation rule of the remaining task score may be pre-determined, and the remaining task score corresponding to the allocation object is calculated according to the number of remaining tasks of the allocation object and the calculation rule of the remaining task score. Specifically, the remaining task score = 1 - (number of remaining tasks / n) * 0.1, where n is a conversion parameter, and the value of n can be predetermined according to different actual situations, for example, in an actual case, if the number of remaining tasks is 50 tasks are demarcation points, then the value of n can be 1/10 of 50, which is 5; if the number of remaining tasks is 30 points, the value of n can be 1/10 of 30. That is, 3, etc., of course, it is also possible to reserve the value of n as other values, and there is no excessive limit here.
在式子剩余任务得分=1-(剩余任务的数量/n)*0.1中,优选地,n为5,即分配对象的剩余任务的数量等于50则剩余任务得分为0,剩余任务的数量小于50则剩余任务得分大于0,剩余任务的数量大于50则剩余任务得分小于0。In the formula remaining task score = 1 - (number of remaining tasks / n) * 0.1, preferably, n is 5, that is, the number of remaining tasks of the assigned object is equal to 50, the remaining task score is 0, and the number of remaining tasks is less than 50, the remaining task score is greater than 0, the remaining task number is greater than 50, and the remaining task score is less than 0.
步骤S3,获取过去预设时间内分配对象的任务处理数量,根据分配对象的任务处理数量及剩余任务的数量计算处理任务得分;Step S3: acquiring the number of task processing of the assigned object in the past preset time, and calculating the processing task score according to the number of task processing of the allocated object and the number of remaining tasks;
本实施例中,过去预设时间内分配对象的任务处理数量代表分配对象最近处理任务的情况,过去预设时间内分配对象的任务处理数量越多、剩余任务的数量越少则处理任务得分越高。In this embodiment, the number of task processing of the assigned object in the past preset time represents the situation in which the assigned object recently processed the task. The more the number of task processing of the assigned object in the past preset time, the less the number of remaining tasks, the more the processing task score is. high.
其中,可以预先制定处理任务得分的计算规则,根据分配对象过去预设时间内分配对象的任务处理数量、剩余任务的数量及处理任务得分的计算规则计算分配对象对应的处理任务得分。具体地,处理任务得分=任务处理数量/(任务处理数量+剩余任务的数量)。其中,过去预设时间优选地为7天。The calculation rule of the processing task score may be pre-established, and the processing task score corresponding to the allocation object is calculated according to the number of task processing of the allocation object in the past preset time, the number of remaining tasks, and the calculation rule of the processing task score. Specifically, the processing task score = the number of task processing / (the number of task processing + the number of remaining tasks). Among them, the past preset time is preferably 7 days.
步骤S4,在分配任务时,分析是否有剩余任务得分大于等于0的分配对象;Step S4, when assigning a task, analyzing whether there is an allocation object whose remaining task score is greater than or equal to 0;
步骤S5,若否,则将任务分配给被预分派过的分配对象;Step S5, if no, assign the task to the pre-allocated allocation object;
步骤S6,若是,则在剩余任务得分大于等于0的分配对象中,根据预分派得分、剩余任务得分及处理任务得分计算的权重得分,根据权重得分及预定的分配规则将当前的任务分派给对应的分配对象。Step S6, if yes, in the allocation object whose remaining task score is greater than or equal to 0, the current task is assigned to the corresponding task according to the weight score and the predetermined distribution rule according to the weight score calculated by the pre-distribution score, the remaining task score, and the processing task score. Assignment object.
本实施例中,首先将剩余任务得分大于等于0的分配对象筛选出来,即 将剩余任务的数量小于等于某个值的分配对象筛选出来,例如,将剩余任务的数量小于等于50个任务的分配对象筛选出来,然后进一步进行综合评估。如果所有的分配对象的剩余任务得分均小于0,则按照前述的预分派情况进行分配,将任务平均分配给被预分派过的分配对象。对于剩余任务得分大于等于0的分配对象,计算进行综合评估的权重得分。In this embodiment, the allocation objects whose remaining task scores are greater than or equal to 0 are first filtered out, that is, the allocation objects whose remaining tasks are less than or equal to a certain value are filtered out, for example, the number of remaining tasks is less than or equal to the allocation objects of 50 tasks. Screen out and then conduct a comprehensive assessment. If the remaining task scores of all the assigned objects are less than 0, the allocation is performed according to the aforementioned pre-allocation case, and the tasks are equally distributed to the pre-allocated allocation objects. For the assigned objects whose remaining task score is greater than or equal to 0, the weight score for the comprehensive evaluation is calculated.
其中,权重得分=w1*预分派得分+w2*剩余任务得分+w3*处理任务得分,其中,w1为预分派得分的权重,w2为剩余任务得分的权重,w3为处理任务得分的权重,w1<w2<w3,w1+w2+w3=1,优选地,w1=0.1,w2=0.4,w3=0.5。Wherein, weight score=w1*pre-distribution score+w2*remaining task score+w3* processing task score, where w1 is the weight of the pre-dispatch score, w2 is the weight of the remaining task score, w3 is the weight of the processing task score, w1 <w2<w3, w1+w2+w3=1, preferably, w1=0.1, w2=0.4, w3=0.5.
从上面的描述可以看出,预分派得分高的分配对象表征其当前被预分派了任务;剩余任务得分越高的分配对象表征其剩余任务的数量越少;处理任务得分越高的分配对象表征其最近任务处理数量越多且剩余任务的数量越少;权重得分越高的分配对象表征其处理任务的综合能力越强。As can be seen from the above description, the assigned object with high pre-scoring score indicates that it is currently pre-dispatched; the higher the remaining task score, the less the number of remaining tasks; the higher the processing task score is. The more the number of recent task processing and the smaller the number of remaining tasks; the higher the weight score, the stronger the comprehensive ability of the assigned object to represent its processing tasks.
在一实施例中,预定的分配规则包括:若剩余任务得分大于等于0的分配对象为一个,则将当前的任务分配给该分配对象;In an embodiment, the predetermined allocation rule includes: if the remaining task score is greater than or equal to 0, the assigned task is assigned to the assigned object;
若剩余任务得分大于等于0的分配对象为多个,则在以下分配场景中,针对该多个剩余任务得分大于等于0的分配对象进行任务的分配。在以下的每步操作中,如果任务已经分配完则不执行下一步操作,如果任务未分配完则按照以下顺序执行操作:在剩余任务得分大于等于0的多个分配对象中,分析是否有分配对象的权重得分、处理任务得分及剩余任务得分三者均分别对应相同,即比较分配对象的权重得分是否相同、且比较处理任务得分是否相同、且比较剩余任务得分是否相同;If there are a plurality of allocation objects whose remaining task scores are greater than or equal to 0, in the following allocation scenario, assignment of tasks is performed for the allocation objects whose scores of the plurality of remaining tasks are greater than or equal to 0. In each of the following operations, if the task has been assigned, the next step is not performed. If the task is not assigned, the operation is performed in the following order: in the multiple assignment objects whose remaining task score is greater than or equal to 0, analyze whether there is any allocation. The weight score, the processing task score and the remaining task score of the object respectively correspond to the same, that is, whether the weight scores of the assigned objects are the same, and whether the processing task scores are the same, and whether the remaining task scores are the same;
若有分配对象的上述三者分别对应都相同,则在上述三者分别对应都相同的这些分配对象中,按照预分派得分从低到高的顺序依次将当前的任务分派给对应的分配对象(第一次分配),即首先分配给上述三者分别对应都相 同的、但未预分派到任务的分配对象,例如按照预分派得分从低到高的顺序依次将任务分配给上述三者分别对应都相同的、预分派得分为0的分配对象。If the three assignments of the assignment object are the same, respectively, the assignment tasks are assigned to the corresponding assignment objects in descending order of the pre-dispatch scores among the assignment objects that are identical in the above-mentioned three assignments ( The first allocation), that is, firstly assigned to the above three objects that are identical to each other but not pre-assigned to the task, for example, the task is assigned to the above three in order according to the pre-dispatch score from low to high. All the same, pre-dispatch assignments with a score of 0.
若存在三者不相同的情况(例如有分配权重得分不同,或者处理任务得分不同,或者剩余任务得分不同),则在多个剩余任务得分大于等于0的分配对象中(若有第一次分配则剔除掉第一次分配过任务的分配对象),进一步分析是否有分配对象的权重得分及处理任务得分两者均分别对应相同,即比较分配对象的权重得分是否相同、且处理任务得分是否相同;If there are three different situations (for example, there are different distribution weight scores, or the processing task scores are different, or the remaining task scores are different), then in the allocation objects with multiple remaining task scores greater than or equal to 0 (if there is a first assignment) Then, the allocation object of the first assigned task is removed, and further analysis is performed whether the weighting score of the assigned object and the processing task score are respectively the same, that is, whether the weighting scores of the assigned objects are the same, and whether the processing task scores are the same. ;
若有分配对象的上述两者分别对应都相同,则在多个剩余任务得分大于等于0的分配对象中(若有第一次分配则剔除掉第一次分配过任务的分配对象),按照剩余任务得分从高到低的顺序依次将当前的任务分派给对应的分配对象(第二次分配);If the two objects of the assigned object are respectively the same, then in the allocation object with multiple remaining task scores greater than or equal to 0 (if there is the first allocation, the assigned object of the first assigned task is removed), according to the remaining The task is assigned to the corresponding assigned object (second allocation) in order from highest to lowest;
若存在两者不相同的情况(例如有分配权重得分不同,或者处理任务得分不同),则在多个剩余任务得分大于等于0的分配对象中(若有第一次分配则剔除掉第一次分配过任务的分配对象,若有第一次分配、第二次分配则剔除掉这两次分配过任务的分配对象)再进一步分析各分配对象的权重得分是否相同;If there is a difference between the two (for example, there is a different distribution weight score, or the processing task score is different), then in the allocation object with multiple remaining task scores greater than or equal to 0 (if there is the first allocation, the first time is eliminated) Assigning the assignment object of the task, if there is the first assignment, the second assignment, the assignment objects of the two assigned tasks are eliminated) and further analyzing whether the weight scores of the respective assignment objects are the same;
若是,则按照处理任务得分从高到低的顺序依次将当前的任务分派给对应的分配对象;若否,则按照权重得分从高到低的顺序依次将当前的任务分派给对应的分配对象。If yes, the current task is assigned to the corresponding allocation object in order from the highest to the lowest in the processing task score; if not, the current task is assigned to the corresponding allocation object in descending order of the weighting score.
在另一实施例中,预定的分配规则还可包括:若剩余任务得分大于等于0的分配对象为一个,则将当前的任务分配给该分配对象;若剩余任务得分大于等于0的分配对象为多个,则按照权重得分从高到低的顺序依次将当前的任务分派给对应的分配对象。In another embodiment, the predetermined allocation rule may further include: if the remaining task score is greater than or equal to 0, the assignment task is assigned to the assignment object; if the remaining task score is greater than or equal to 0, the assignment object is If there are multiple, the current task is assigned to the corresponding assigned object in order from the highest to the lowest.
与现有技术相比,本申请在将任务分配给团队中的各个分配对象前,首先分析分配对象当前被预分派任务的情况、剩余未处理的任务的情况、过去 预设时间内分配对象的任务处理情况,并根据这些情况计算对应的得分,在分配任务时,如果有剩余任务的数量小于等于某个值的多个分配对象,则根据预分派得分、剩余任务得分、处理任务得分计算用于进行综合评估的权重得分,根据权重得分及预定的分配规则将当前的任务分派给对应的分配对象,能够对每个分配对象的任务情况进行全面评估,将任务分配给综合处理能力强的人员,以保证处理的时效性。Compared with the prior art, the present application first analyzes the situation in which the assigned object is currently pre-assigned the task, the remaining unprocessed task, and the object allocated in the past preset time before assigning the task to each assigned object in the team. The task processing situation, and calculating the corresponding score according to the situation, when the task is assigned, if there are multiple assignment objects whose number of remaining tasks is less than or equal to a certain value, the calculation is based on the pre-dispatch score, the remaining task score, and the processing task score. For the weight score of the comprehensive evaluation, the current task is assigned to the corresponding assignment object according to the weight score and the predetermined distribution rule, and the task situation of each assignment object can be comprehensively evaluated, and the task is assigned to the person with comprehensive processing capability. To ensure the timeliness of processing.
本申请还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有处理系统,所述处理系统被处理器执行时实现上述的分配任务的方法的步骤。The present application also provides a computer readable storage medium having stored thereon a processing system, the processing system being executed by a processor to implement the steps of the method of assigning tasks as described above.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present application are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better. Implementation. Based on such understanding, the technical solution of the present application, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present application.
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above is only a preferred embodiment of the present application, and is not intended to limit the scope of the patent application, and the equivalent structure or equivalent process transformations made by the specification and the drawings of the present application, or directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of this application.

Claims (20)

  1. 一种电子装置,其特征在于,所述电子装置包括存储器及与所述存储器连接的处理器,所述存储器中存储有可在所述处理器上运行的处理系统,所述处理系统被所述处理器执行时实现如下步骤:An electronic device, comprising: a memory and a processor coupled to the memory, wherein the memory stores a processing system operable on the processor, the processing system being The processor implements the following steps when it executes:
    第一计算步骤,在分配任务前,将当前的任务预分派给任务系统中的分配对象,并在预分派后计算分配对象的预分派得分;a first calculating step of pre-assigning the current task to the assigned object in the task system before assigning the task, and calculating a pre-dispatch score of the assigned object after pre-dispatching;
    第二计算步骤,获取分配对象的剩余任务的数量,根据分配对象的剩余任务的数量计算分配对象对应的剩余任务得分;a second calculating step of obtaining the number of remaining tasks of the allocated object, and calculating a remaining task score corresponding to the assigned object according to the number of remaining tasks of the allocated object;
    第三计算步骤,获取过去预设时间内分配对象的任务处理数量,根据分配对象的任务处理数量及剩余任务的数量计算处理任务得分;a third calculating step: acquiring the number of task processing of the assigned object in the past preset time, and calculating the processing task score according to the number of task processing of the assigned object and the number of remaining tasks;
    分析步骤,在分配任务时,分析是否有剩余任务得分大于等于0的分配对象;The analysis step, when assigning a task, analyzing whether there is an allocation object whose remaining task score is greater than or equal to 0;
    第一分配步骤,若否,则将任务分配给被预分派过的分配对象;a first allocation step, if not, assigning a task to a pre-allocated allocation object;
    第二分配步骤,若是,则在剩余任务得分大于等于0的分配对象中,根据预分派得分、剩余任务得分及处理任务得分计算的权重得分,根据权重得分及预定的分配规则将当前的任务分派给对应的分配对象。a second allocation step, if yes, in the allocation object whose remaining task score is greater than or equal to 0, the current task is assigned according to the weighting score and the predetermined allocation rule according to the weighting score calculated by the pre-allocation score, the remaining task score, and the processing task score Assign the corresponding assignment object.
  2. 根据权利要求1所述的电子装置,其特征在于,所述根据分配对象的剩余任务的数量计算分配对象对应的剩余任务得分的步骤,具体包括:剩余任务得分=1-(剩余任务的数量/n)*0.1,其中,n为转换参数;The electronic device according to claim 1, wherein the step of calculating the remaining task score corresponding to the assignment object according to the number of remaining tasks of the assignment object comprises: remaining task score=1 - (number of remaining tasks / n) *0.1, where n is a conversion parameter;
    所述根据分配对象的任务处理数量及剩余任务的数量计算处理任务得分的步骤,具体包括:处理任务得分=任务处理数量/(任务处理数量+剩余任务的数量)。The step of calculating the processing task score according to the number of task processing of the allocation object and the number of remaining tasks includes: processing task score=number of task processing/(number of task processing+number of remaining tasks).
  3. 根据权利要求1所述的电子装置,其特征在于,所述根据预分派得分、剩余任务得分及处理任务得分计算的权重得分的步骤,具体包括:权重得分=w1*预分派得分+w2*剩余任务得分+w3*处理任务得分,其中,w1为预分 派得分的权重,w2为剩余任务得分的权重,w3为处理任务得分的权重,w1<w2<w3。The electronic device according to claim 1, wherein the step of calculating the weight score according to the pre-dispatch score, the remaining task score, and the processing task score comprises: weight score = w1 * pre-distribution score + w2 * remaining The task score + w3 * processes the task score, where w1 is the weight of the pre-dispatch score, w2 is the weight of the remaining task score, and w3 is the weight of the processing task score, w1 < w2 < w3.
  4. 根据权利要求2所述的电子装置,其特征在于,所述根据预分派得分、剩余任务得分及处理任务得分计算的权重得分的步骤,具体包括:权重得分=w1*预分派得分+w2*剩余任务得分+w3*处理任务得分,其中,w1为预分派得分的权重,w2为剩余任务得分的权重,w3为处理任务得分的权重,w1<w2<w3。The electronic device according to claim 2, wherein the step of calculating the weight score according to the pre-distribution score, the remaining task score, and the processing task score comprises: weight score = w1 * pre-distribution score + w2 * remaining The task score + w3 * processes the task score, where w1 is the weight of the pre-dispatch score, w2 is the weight of the remaining task score, and w3 is the weight of the processing task score, w1 < w2 < w3.
  5. 根据权利要求3或4所述的电子装置,其特征在于,所述预定的分配规则包括:The electronic device according to claim 3 or 4, wherein the predetermined distribution rule comprises:
    若剩余任务得分大于等于0的分配对象为一个,则将当前的任务分配给该分配对象;If the remaining task score is greater than or equal to 0, the assigned task is assigned to the assigned object;
    若剩余任务得分大于等于0的分配对象为多个,则在剩余任务得分大于等于0的多个分配对象中,分析是否有分配对象的权重得分、处理任务得分及剩余任务得分三者均分别对应相同;If there are multiple allocation objects whose remaining task score is greater than or equal to 0, in the multiple allocation objects whose remaining task score is greater than or equal to 0, whether the weighting score, the processing task score, and the remaining task score of the assigned object are respectively corresponding to each other the same;
    若是,则在三者均分别对应相同的分配对象中,按照预分派得分从低到高的顺序依次将当前的任务分派给对应的分配对象;If yes, the current task is assigned to the corresponding assigned object in descending order of the pre-dispatch scores, respectively, in the same allocation object.
    若否,则在剩余任务得分大于等于0的分配对象中,分析是否有分配对象的权重得分及处理任务得分两者均分别对应相同;If no, in the allocation object whose remaining task score is greater than or equal to 0, it is analyzed whether the weighting score of the assigned object and the processing task score are respectively the same;
    若是,则在两者均分别对应相同的分配对象中,按照剩余任务得分从高到低的顺序依次将当前的任务分派给对应的分配对象;If yes, the current task is assigned to the corresponding allocation object in descending order of the remaining task scores in the same allocation object.
    若否,则在剩余任务得分大于等于0的分配对象中,分析各分配对象的权重得分是否相同;If not, in the allocation object whose remaining task score is greater than or equal to 0, analyze whether the weight scores of the respective assigned objects are the same;
    若是,则按照处理任务得分从高到低的顺序依次将当前的任务分派给对应的分配对象;If yes, the current task is assigned to the corresponding assigned object in order of processing task scores from high to low;
    若否,则按照权重得分从高到低的顺序依次将当前的任务分派给对应的 分配对象;或者If not, the current task is assigned to the corresponding assigned object in descending order of the weight score; or
    预定的分配规则包括:若剩余任务得分大于等于0的分配对象为一个,则将当前的任务分配给该分配对象;若剩余任务得分大于等于0的分配对象为多个,则按照权重得分从高到低的顺序依次将当前的任务分派给对应的分配对象。The predetermined allocation rule includes: if the remaining task score is greater than or equal to 0, the assignment task is assigned to the assignment object; if the remaining task score is greater than or equal to 0, the assignment object is higher according to the weight score. The current task is assigned to the corresponding assigned object in descending order.
  6. 根据权利要求1所述的电子装置,其特征在于,所述将当前的任务预分派给任务系统中的分配对象,并在预分派后计算分配对象的预分派得分的步骤,具体包括:The electronic device according to claim 1, wherein the step of pre-assigning the current task to the assignment object in the task system, and calculating the pre-dispatch score of the assignment object after the pre-dispatch, specifically includes:
    将一项任务预分派给一个分配对象,计算预分派到任务的分配对象的预分派得分;或者Pre-assign a task to an assignment object, and calculate a pre-dispatch score for the assignment object pre-dispatched to the task; or
    按照任务系统预设的分派比例将任务预分派给对应的分配对象,计算预分派到任务的分配对象的预分派得分。The task is pre-assigned to the corresponding assigned object according to the distribution ratio preset by the task system, and the pre-dispatch score of the assigned object pre-assigned to the task is calculated.
  7. 根据权利要求2所述的电子装置,其特征在于,所述将当前的任务预分派给任务系统中的分配对象,并在预分派后计算分配对象的预分派得分的步骤,具体包括:The electronic device according to claim 2, wherein the step of pre-assigning the current task to the assignment object in the task system and calculating the pre-dispatch score of the assignment object after the pre-dispatch includes:
    将一项任务预分派给一个分配对象,计算预分派到任务的分配对象的预分派得分;或者Pre-assign a task to an assignment object, and calculate a pre-dispatch score for the assignment object pre-dispatched to the task; or
    按照任务系统预设的分派比例将任务预分派给对应的分配对象,计算预分派到任务的分配对象的预分派得分。The task is pre-assigned to the corresponding assigned object according to the distribution ratio preset by the task system, and the pre-dispatch score of the assigned object pre-assigned to the task is calculated.
  8. 一种分配任务的方法,其特征在于,所述分配任务的方法包括:A method for assigning a task, characterized in that the method for assigning a task includes:
    S1,在分配任务前,将当前的任务预分派给任务系统中的分配对象,并在预分派后计算分配对象的预分派得分;S1, before assigning the task, pre-assigning the current task to the assigned object in the task system, and calculating the pre-dispatch score of the assigned object after pre-dispatching;
    S2,获取分配对象的剩余任务的数量,根据分配对象的剩余任务的数量计算分配对象对应的剩余任务得分;S2: acquiring the number of remaining tasks of the allocated object, and calculating a remaining task score corresponding to the allocated object according to the number of remaining tasks of the allocated object;
    S3,获取过去预设时间内分配对象的任务处理数量,根据分配对象的任 务处理数量及剩余任务的数量计算处理任务得分;S3, acquiring the number of task processing of the assigned object in the past preset time, and calculating the processing task score according to the number of tasks processed by the assigned object and the number of remaining tasks;
    S4,在分配任务时,分析是否有剩余任务得分大于等于0的分配对象;S4, when assigning a task, analyzing whether there is an allocation object whose remaining task score is greater than or equal to 0;
    S5,若否,则将任务分配给被预分派过的分配对象;S5, if no, assign the task to the pre-allocated allocation object;
    S6,若是,则在剩余任务得分大于等于0的分配对象中,根据预分派得分、剩余任务得分及处理任务得分计算的权重得分,根据权重得分及预定的分配规则将当前的任务分派给对应的分配对象。S6, if yes, in the allocation object whose remaining task score is greater than or equal to 0, the weighting score calculated according to the pre-allocation score, the remaining task score, and the processing task score, the current task is assigned to the corresponding task according to the weighting score and the predetermined allocation rule. Assign objects.
  9. 根据权利要求8所述的分配任务的方法,其特征在于,所述根据分配对象的剩余任务的数量计算分配对象对应的剩余任务得分的步骤,具体包括:剩余任务得分=1-(剩余任务的数量/n)*0.1,其中,n为转换参数;The method of assigning tasks according to claim 8, wherein the step of calculating the remaining task scores corresponding to the allocation objects according to the number of remaining tasks of the allocation object comprises: remaining task scores = 1 - (remaining tasks Quantity / n) * 0.1, where n is a conversion parameter;
    所述根据分配对象的任务处理数量及剩余任务的数量计算处理任务得分的步骤,具体包括:处理任务得分=任务处理数量/(任务处理数量+剩余任务的数量)。The step of calculating the processing task score according to the number of task processing of the allocation object and the number of remaining tasks includes: processing task score=number of task processing/(number of task processing+number of remaining tasks).
  10. 根据权利要求8所述的分配任务的方法,其特征在于,所述根据预分派得分、剩余任务得分及处理任务得分计算的权重得分的步骤,具体包括:权重得分=w1*预分派得分+w2*剩余任务得分+w3*处理任务得分,其中,w1为预分派得分的权重,w2为剩余任务得分的权重,w3为处理任务得分的权重,w1<w2<w3。The method for assigning a task according to claim 8, wherein the step of calculating the weight score according to the pre-allocation score, the remaining task score, and the processing task score comprises: weight score = w1 * pre-distribution score + w2 * Remaining task score + w3 * processing task score, where w1 is the weight of the pre-dispatch score, w2 is the weight of the remaining task score, and w3 is the weight of the processing task score, w1 < w2 < w3.
  11. 根据权利要求9所述的分配任务的方法,其特征在于,所述根据预分派得分、剩余任务得分及处理任务得分计算的权重得分的步骤,具体包括:权重得分=w1*预分派得分+w2*剩余任务得分+w3*处理任务得分,其中,w1为预分派得分的权重,w2为剩余任务得分的权重,w3为处理任务得分的权重,w1<w2<w3。The method for assigning tasks according to claim 9, wherein the step of calculating the weight scores according to the pre-dispatch score, the remaining task score, and the processing task score comprises: weight score = w1 * pre-distribution score + w2 * Remaining task score + w3 * processing task score, where w1 is the weight of the pre-dispatch score, w2 is the weight of the remaining task score, and w3 is the weight of the processing task score, w1 < w2 < w3.
  12. 根据权利要求10或11所述的分配任务的方法,其特征在于,所述预定的分配规则包括:The method of assigning a task according to claim 10 or 11, wherein the predetermined distribution rule comprises:
    若剩余任务得分大于等于0的分配对象为一个,则将当前的任务分配给 该分配对象;If the remaining task score is greater than or equal to 0, the assigned task is assigned to the assigned object;
    若剩余任务得分大于等于0的分配对象为多个,则在剩余任务得分大于等于0的多个分配对象中,分析是否有分配对象的权重得分、处理任务得分及剩余任务得分三者均分别对应相同;If there are multiple allocation objects whose remaining task score is greater than or equal to 0, in the multiple allocation objects whose remaining task score is greater than or equal to 0, whether the weighting score, the processing task score, and the remaining task score of the assigned object are respectively corresponding to each other the same;
    若是,则在三者均分别对应相同的分配对象中,按照预分派得分从低到高的顺序依次将当前的任务分派给对应的分配对象;If yes, the current task is assigned to the corresponding assigned object in descending order of the pre-dispatch scores, respectively, in the same allocation object.
    若否,则在剩余任务得分大于等于0的分配对象中,分析是否有分配对象的权重得分及处理任务得分两者均分别对应相同;If no, in the allocation object whose remaining task score is greater than or equal to 0, it is analyzed whether the weighting score of the assigned object and the processing task score are respectively the same;
    若是,则在两者均分别对应相同的分配对象中,按照剩余任务得分从高到低的顺序依次将当前的任务分派给对应的分配对象;If yes, the current task is assigned to the corresponding allocation object in descending order of the remaining task scores in the same allocation object.
    若否,则在剩余任务得分大于等于0的分配对象中,分析各分配对象的权重得分是否相同;If not, in the allocation object whose remaining task score is greater than or equal to 0, analyze whether the weight scores of the respective assigned objects are the same;
    若是,则按照处理任务得分从高到低的顺序依次将当前的任务分派给对应的分配对象;If yes, the current task is assigned to the corresponding assigned object in order of processing task scores from high to low;
    若否,则按照权重得分从高到低的顺序依次将当前的任务分派给对应的分配对象;或者If not, the current task is assigned to the corresponding assigned object in descending order of the weight score; or
    预定的分配规则包括:若剩余任务得分大于等于0的分配对象为一个,则将当前的任务分配给该分配对象;若剩余任务得分大于等于0的分配对象为多个,则按照权重得分从高到低的顺序依次将当前的任务分派给对应的分配对象。The predetermined allocation rule includes: if the remaining task score is greater than or equal to 0, the assignment task is assigned to the assignment object; if the remaining task score is greater than or equal to 0, the assignment object is higher according to the weight score. The current task is assigned to the corresponding assigned object in descending order.
  13. 根据权利要求8所述的分配任务的方法,其特征在于,所述将当前的任务预分派给任务系统中的分配对象,并在预分派后计算分配对象的预分派得分的步骤,具体包括:The method of assigning a task according to claim 8, wherein the step of pre-assigning the current task to the assigned object in the task system and calculating the pre-allocation score of the assigned object after the pre-dispatching comprises:
    将一项任务预分派给一个分配对象,计算预分派到任务的分配对象的预分派得分;或者Pre-assign a task to an assignment object, and calculate a pre-dispatch score for the assignment object pre-dispatched to the task; or
    按照任务系统预设的分派比例将任务预分派给对应的分配对象,计算预分派到任务的分配对象的预分派得分。The task is pre-assigned to the corresponding assigned object according to the distribution ratio preset by the task system, and the pre-dispatch score of the assigned object pre-assigned to the task is calculated.
  14. 根据权利要求9所述的分配任务的方法,其特征在于,所述将当前的任务预分派给任务系统中的分配对象,并在预分派后计算分配对象的预分派得分的步骤,具体包括:The method of assigning a task according to claim 9, wherein the step of pre-assigning the current task to the assigned object in the task system and calculating the pre-allocation score of the assigned object after the pre-dispatching comprises:
    将一项任务预分派给一个分配对象,计算预分派到任务的分配对象的预分派得分;或者Pre-assign a task to an assignment object, and calculate a pre-dispatch score for the assignment object pre-dispatched to the task; or
    按照任务系统预设的分派比例将任务预分派给对应的分配对象,计算预分派到任务的分配对象的预分派得分。The task is pre-assigned to the corresponding assigned object according to the distribution ratio preset by the task system, and the pre-dispatch score of the assigned object pre-assigned to the task is calculated.
  15. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有处理系统,所述处理系统被处理器执行时实现步骤:A computer readable storage medium, wherein the computer readable storage medium stores a processing system, and when the processing system is executed by the processor, the steps are:
    第一计算步骤,在分配任务前,将当前的任务预分派给任务系统中的分配对象,并在预分派后计算分配对象的预分派得分;a first calculating step of pre-assigning the current task to the assigned object in the task system before assigning the task, and calculating a pre-dispatch score of the assigned object after pre-dispatching;
    第二计算步骤,获取分配对象的剩余任务的数量,根据分配对象的剩余任务的数量计算分配对象对应的剩余任务得分;a second calculating step of obtaining the number of remaining tasks of the allocated object, and calculating a remaining task score corresponding to the assigned object according to the number of remaining tasks of the allocated object;
    第三计算步骤,获取过去预设时间内分配对象的任务处理数量,根据分配对象的任务处理数量及剩余任务的数量计算处理任务得分;a third calculating step: acquiring the number of task processing of the assigned object in the past preset time, and calculating the processing task score according to the number of task processing of the assigned object and the number of remaining tasks;
    分析步骤,在分配任务时,分析是否有剩余任务得分大于等于0的分配对象;The analysis step, when assigning a task, analyzing whether there is an allocation object whose remaining task score is greater than or equal to 0;
    第一分配步骤,若否,则将任务分配给被预分派过的分配对象;a first allocation step, if not, assigning a task to a pre-allocated allocation object;
    第二分配步骤,若是,则在剩余任务得分大于等于0的分配对象中,根据预分派得分、剩余任务得分及处理任务得分计算的权重得分,根据权重得分及预定的分配规则将当前的任务分派给对应的分配对象。a second allocation step, if yes, in the allocation object whose remaining task score is greater than or equal to 0, the current task is assigned according to the weighting score and the predetermined allocation rule according to the weighting score calculated by the pre-allocation score, the remaining task score, and the processing task score Assign the corresponding assignment object.
  16. 根据权利要求15所述的计算机可读存储介质,其特征在于,所述根据分配对象的剩余任务的数量计算分配对象对应的剩余任务得分的步骤,具 体包括:剩余任务得分=1-(剩余任务的数量/n)*0.1,其中,n为转换参数;The computer readable storage medium according to claim 15, wherein the step of calculating the remaining task score corresponding to the assignment object according to the number of remaining tasks of the assignment object comprises: remaining task score=1 - (remaining task Number of /n)*0.1, where n is a conversion parameter;
    所述根据分配对象的任务处理数量及剩余任务的数量计算处理任务得分的步骤,具体包括:处理任务得分=任务处理数量/(任务处理数量+剩余任务的数量)。The step of calculating the processing task score according to the number of task processing of the allocation object and the number of remaining tasks includes: processing task score=number of task processing/(number of task processing+number of remaining tasks).
  17. 根据权利要求15所述的计算机可读存储介质,其特征在于,所述根据预分派得分、剩余任务得分及处理任务得分计算的权重得分的步骤,具体包括:权重得分=w1*预分派得分+w2*剩余任务得分+w3*处理任务得分,其中,w1为预分派得分的权重,w2为剩余任务得分的权重,w3为处理任务得分的权重,w1<w2<w3。The computer readable storage medium according to claim 15, wherein the step of calculating the weight score according to the pre-dispatch score, the remaining task score, and the processing task score comprises: weight score = w1 * pre-dispatch score + W2* remaining task score + w3* processing task score, where w1 is the weight of the pre-dispatch score, w2 is the weight of the remaining task score, and w3 is the weight of the processing task score, w1 < w2 < w3.
  18. 根据权利要求16所述的计算机可读存储介质,其特征在于,所述根据预分派得分、剩余任务得分及处理任务得分计算的权重得分的步骤,具体包括:权重得分=w1*预分派得分+w2*剩余任务得分+w3*处理任务得分,其中,w1为预分派得分的权重,w2为剩余任务得分的权重,w3为处理任务得分的权重,w1<w2<w3。The computer readable storage medium according to claim 16, wherein the step of calculating the weight score according to the pre-dispatch score, the remaining task score, and the processing task score comprises: weight score = w1 * pre-dispatch score + W2* remaining task score + w3* processing task score, where w1 is the weight of the pre-dispatch score, w2 is the weight of the remaining task score, and w3 is the weight of the processing task score, w1 < w2 < w3.
  19. 根据权利要求17或18所述的计算机可读存储介质,其特征在于,所述预定的分配规则包括:The computer readable storage medium according to claim 17 or 18, wherein the predetermined distribution rule comprises:
    若剩余任务得分大于等于0的分配对象为一个,则将当前的任务分配给该分配对象;If the remaining task score is greater than or equal to 0, the assigned task is assigned to the assigned object;
    若剩余任务得分大于等于0的分配对象为多个,则在剩余任务得分大于等于0的多个分配对象中,分析是否有分配对象的权重得分、处理任务得分及剩余任务得分三者均分别对应相同;If there are multiple allocation objects whose remaining task score is greater than or equal to 0, in the multiple allocation objects whose remaining task score is greater than or equal to 0, whether the weighting score, the processing task score, and the remaining task score of the assigned object are respectively corresponding to each other the same;
    若是,则在三者均分别对应相同的分配对象中,按照预分派得分从低到高的顺序依次将当前的任务分派给对应的分配对象;If yes, the current task is assigned to the corresponding assigned object in descending order of the pre-dispatch scores, respectively, in the same allocation object.
    若否,则在剩余任务得分大于等于0的分配对象中,分析是否有分配对象的权重得分及处理任务得分两者均分别对应相同;If no, in the allocation object whose remaining task score is greater than or equal to 0, it is analyzed whether the weighting score of the assigned object and the processing task score are respectively the same;
    若是,则在两者均分别对应相同的分配对象中,按照剩余任务得分从高到低的顺序依次将当前的任务分派给对应的分配对象;If yes, the current task is assigned to the corresponding allocation object in descending order of the remaining task scores in the same allocation object.
    若否,则在剩余任务得分大于等于0的分配对象中,分析各分配对象的权重得分是否相同;If not, in the allocation object whose remaining task score is greater than or equal to 0, analyze whether the weight scores of the respective assigned objects are the same;
    若是,则按照处理任务得分从高到低的顺序依次将当前的任务分派给对应的分配对象;If yes, the current task is assigned to the corresponding assigned object in order of processing task scores from high to low;
    若否,则按照权重得分从高到低的顺序依次将当前的任务分派给对应的分配对象;或者If not, the current task is assigned to the corresponding assigned object in descending order of the weight score; or
    预定的分配规则包括:若剩余任务得分大于等于0的分配对象为一个,则将当前的任务分配给该分配对象;若剩余任务得分大于等于0的分配对象为多个,则按照权重得分从高到低的顺序依次将当前的任务分派给对应的分配对象。The predetermined allocation rule includes: if the remaining task score is greater than or equal to 0, the assignment task is assigned to the assignment object; if the remaining task score is greater than or equal to 0, the assignment object is higher according to the weight score. The current task is assigned to the corresponding assigned object in descending order.
  20. 根据权利要求15所述的计算机可读存储介质,其特征在于,所述将当前的任务预分派给任务系统中的分配对象,并在预分派后计算分配对象的预分派得分的步骤,具体包括:The computer readable storage medium according to claim 15, wherein the step of pre-assigning a current task to an assignment object in the task system and calculating a pre-dispatch score of the assignment object after pre-dispatching, specifically comprises :
    将一项任务预分派给一个分配对象,计算预分派到任务的分配对象的预分派得分;或者Pre-assign a task to an assignment object, and calculate a pre-dispatch score for the assignment object pre-dispatched to the task; or
    按照任务系统预设的分派比例将任务预分派给对应的分配对象,计算预分派到任务的分配对象的预分派得分。The task is pre-assigned to the corresponding assigned object according to the distribution ratio preset by the task system, and the pre-dispatch score of the assigned object pre-assigned to the task is calculated.
PCT/CN2018/102088 2018-04-24 2018-08-24 Electronic device, task distribution method and storage medium WO2019205370A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810374572.4A CN108805397A (en) 2018-04-24 2018-04-24 Electronic device, the method and storage medium for distributing task
CN201810374572.4 2018-04-24

Publications (1)

Publication Number Publication Date
WO2019205370A1 true WO2019205370A1 (en) 2019-10-31

Family

ID=64093816

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/102088 WO2019205370A1 (en) 2018-04-24 2018-08-24 Electronic device, task distribution method and storage medium

Country Status (2)

Country Link
CN (1) CN108805397A (en)
WO (1) WO2019205370A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110618855A (en) * 2018-12-25 2019-12-27 北京时光荏苒科技有限公司 Task allocation method and device, electronic equipment and storage medium
CN110599017A (en) * 2019-08-29 2019-12-20 凡普数字技术有限公司 Agent task allocation method, device and storage medium
CN112001659A (en) * 2020-09-02 2020-11-27 平安养老保险股份有限公司 Shared task allocation method and device, computer equipment and computer readable medium
CN113240126A (en) * 2021-01-13 2021-08-10 深延科技(北京)有限公司 Method, device and equipment for label management and storage medium
CN116663853B (en) * 2023-07-24 2023-10-24 太平金融科技服务(上海)有限公司 Task assigning method, device, computer equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0685805A2 (en) * 1994-05-31 1995-12-06 International Business Machines Corporation An allocation method for generating a production schedule
CN105718317A (en) * 2016-01-15 2016-06-29 浪潮(北京)电子信息产业有限公司 Task scheduling method and task scheduling device
CN106529883A (en) * 2016-11-23 2017-03-22 北京小度信息科技有限公司 Data object distribution method and device
CN107092999A (en) * 2016-11-08 2017-08-25 北京小度信息科技有限公司 Task processing method and device
CN107301485A (en) * 2016-04-16 2017-10-27 深圳市唯德科创信息有限公司 The method and system that task is distributed automatically
CN107545351A (en) * 2016-06-29 2018-01-05 阿里巴巴集团控股有限公司 Method for allocating tasks and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10395205B2 (en) * 2010-03-05 2019-08-27 Oracle International Corporation Cost of change for adjusting long running order management fulfillment processes for a distributed order orchestration system
WO2014056076A1 (en) * 2012-10-08 2014-04-17 Maintenance Assistant Inc. System and method for populating assets to a maintenance management system
CN106339802A (en) * 2016-08-24 2017-01-18 深圳市讯方技术股份有限公司 Task allocation method, task allocation device and electronic equipment
CN107392512B (en) * 2016-11-25 2018-06-01 北京小度信息科技有限公司 Grouped task method and apparatus
CN107665401B (en) * 2017-09-15 2020-06-26 平安科技(深圳)有限公司 Task allocation method, terminal and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0685805A2 (en) * 1994-05-31 1995-12-06 International Business Machines Corporation An allocation method for generating a production schedule
CN105718317A (en) * 2016-01-15 2016-06-29 浪潮(北京)电子信息产业有限公司 Task scheduling method and task scheduling device
CN107301485A (en) * 2016-04-16 2017-10-27 深圳市唯德科创信息有限公司 The method and system that task is distributed automatically
CN107545351A (en) * 2016-06-29 2018-01-05 阿里巴巴集团控股有限公司 Method for allocating tasks and device
CN107092999A (en) * 2016-11-08 2017-08-25 北京小度信息科技有限公司 Task processing method and device
CN106529883A (en) * 2016-11-23 2017-03-22 北京小度信息科技有限公司 Data object distribution method and device

Also Published As

Publication number Publication date
CN108805397A (en) 2018-11-13

Similar Documents

Publication Publication Date Title
WO2019205370A1 (en) Electronic device, task distribution method and storage medium
CN110837410B (en) Task scheduling method and device, electronic equipment and computer readable storage medium
CN108595157B (en) Block chain data processing method, device, equipment and storage medium
CN107291546B (en) Resource scheduling method and device
CN109241772B (en) Invoice block chain recording method, invoice block chain recording device, block chain gateway server and invoice block chain recording medium
US20170300359A1 (en) Policy based workload scaler
WO2020082576A1 (en) Device and method for processing block transaction, and storage medium
CN107729137B (en) Server, block chain signature verification decryption method and storage medium
US8924667B2 (en) Backup storage management
CN111352736A (en) Method and device for scheduling big data resources, server and storage medium
US20060107261A1 (en) Providing Optimal Number of Threads to Applications Performing Multi-tasking Using Threads
CN111782383A (en) Task allocation method, server, electronic terminal and computer readable storage medium
WO2019169763A1 (en) Electronic apparatus, service system risk control method, and storage medium
CN108510399B (en) Method and device for automatically distributing insurance policy, computer equipment and storage medium
CN105989133A (en) Transaction processing method and device
JP2019504415A (en) Data storage service processing method and apparatus
CN114327894A (en) Resource allocation method, device, electronic equipment and storage medium
CN112202935B (en) NAT address pool management method and device
CN113590274A (en) Task allocation method and device and task processing system
CN108920278B (en) Resource allocation method and device
CN111796934B (en) Task issuing method and device, storage medium and electronic equipment
CN112884382B (en) Resource quota management method, device and equipment of cloud platform and storage medium
CN114756380A (en) Cloud server deployment method and device, electronic equipment and storage medium
CN104572036B (en) Event processing method and device
CN110727400A (en) Flow control method, apparatus, device and medium for distributed storage system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18916612

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 02/02/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18916612

Country of ref document: EP

Kind code of ref document: A1