Task scheduling method and related apparatus

By dividing interactive tasks into task sets and using a task scheduling model to calculate the target interaction time and method, the problem of low efficiency in interactive job scheduling systems is solved, and more efficient task scheduling and interactive job optimization are achieved.

CN119728856BActive Publication Date: 2025-11-07ZHAOLIAN CONSUMER FINANCE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411502337.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-25
Publication Date
2025-11-07
Estimated Expiration
2044-10-25

AI Technical Summary

Technical Problem

In existing interactive job scheduling systems, the scheduling method for individual interactive tasks is inefficient and cannot efficiently handle millions of interactive tasks.

Method used

Multiple interactive tasks are divided into task sets according to business elements, and the target interaction time and target interaction method are calculated when the sum of the target value quantification value is maximized through the task scheduling model. The scheduling is then optimized in combination with resource constraints.

Benefits of technology

It improves the intelligence of server scheduling and computing and the efficiency of interactive operations, and optimizes the intelligence and efficiency of task scheduling.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119728856B_ABST
    Figure CN119728856B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a task scheduling method and related device, wherein the method comprises: obtaining a plurality of interactive tasks in a current scheduling queue; dividing the plurality of interactive tasks into a plurality of target task sets according to a preset business element; obtaining a scheduling configuration table; determining a target resource constraint condition; binding a plurality of target value quantitative values under a plurality of interactive conditions for each target task set; inputting the target resource constraint condition and the plurality of target task sets into a pre-trained task scheduling model to calculate a target interactive time and a target interactive mode of each target task set. The server can divide a plurality of tasks in the scheduling queue into task sets according to the business element, and calculate the target interactive time and the target interactive mode of each task set when the total sum of the target value quantitative values is maximum through the task scheduling model, which is beneficial to improve the intelligence of server scheduling calculation and improve the interactive job efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application belongs to the technical field of artificial intelligence, and particularly relates to a task scheduling method and related devices. BACKGROUND

[0002] With the development of the network, telephone outbound interactive tasks have become an important way for various fields to contact business and serve customers. In the current interactive job scheduling system, the scheduling mode adopted is to deliver each single interactive task to a task scheduling model for calculation each time to obtain the interactive time and the interactive mode required for executing each interactive task. However, the interactive job scheduling system generates millions of interactive tasks every day, and this scheduling mode is very low in efficiency. SUMMARY

[0003] Embodiments of the present application provide a task scheduling method and related devices. A server can divide a plurality of tasks in a queue into task sets according to business elements, and calculate the target interaction time and the target interaction mode of each task set when the sum of target value quantization values is maximum through a task scheduling model, which is beneficial to improve the intelligence of server scheduling calculation and improve the efficiency of interactive jobs.

[0004] In a first aspect, embodiments of the present application provide a task scheduling method applied to a server in an interactive job scheduling system, including:

[0005] obtaining a plurality of interactive tasks in a current scheduling queue;

[0006] dividing the plurality of interactive tasks into a plurality of target task sets according to preset business elements;

[0007] obtaining a scheduling configuration table, the scheduling configuration table including resource information, and the resource information including human resource information and line resource information;

[0008] determining a target resource constraint condition according to the resource information in the scheduling configuration table;

[0009] binding a plurality of target value quantization values under a plurality of interactive conditions for each target task set, the interactive conditions including interactive time and interactive mode, and each interactive condition corresponding to a target value quantization value;

[0010] inputting the target resource constraint condition and the plurality of target task sets into a pre-trained task scheduling model to calculate the target interaction time and the target interaction mode of each target task set;

[0011] updating the target interaction time and the target interaction mode to the task information of each interactive task in the target task set.

[0012] In a second aspect, an embodiment of the present application provides a task scheduling apparatus applied to a server in an interactive job scheduling system, the apparatus comprising an obtaining unit, a dividing unit, a determining unit, a binding unit, a calculating unit and an adjusting unit, wherein

[0013] The obtaining unit is configured to obtain a plurality of interactive tasks in a current scheduling queue.

[0014] The dividing unit is configured to divide the plurality of interactive tasks into a plurality of target task sets according to preset business elements.

[0015] The obtaining unit is further configured to obtain a scheduling configuration table, the scheduling configuration table comprising resource information, the resource information comprising manpower resource information and line resource information.

[0016] The determining unit is configured to determine a target resource constraint condition according to the resource information in the scheduling configuration table.

[0017] The binding unit is configured to bind a plurality of target value quantization values under a plurality of interactive conditions to each target task set, the interactive conditions comprising interactive time and interactive mode, each interactive condition corresponding to a target value quantization value.

[0018] The calculating unit is configured to input the target resource constraint condition and the plurality of target task sets into a pre-trained task scheduling model to calculate a target interactive time and a target interactive mode of each target task set.

[0019] The adjusting unit is configured to update the target interactive time and the target interactive mode into task information of each interactive task in the target task set.

[0020] A third aspect of the present application provides an electronic device, comprising: a processor and a memory; and one or more programs stored in the memory and configured to be executed by the processor, the program comprising instructions for part or all of the steps described in the first aspect.

[0021] A fourth aspect of an embodiment of the present application provides a computer readable storage medium, wherein the computer readable storage medium is used to store a computer program, wherein the computer program causes a computer to execute instructions for part or all of the steps described in the first aspect of the embodiment of the present application.

[0022] The fifth aspect of the embodiments of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute part or all of the steps described in the first aspect of the embodiments of the present application. The computer program product can be a software installation package.

[0023] It can be seen that, in the embodiments of the present application, the server in the interactive job scheduling system first acquires a plurality of interactive tasks in the current scheduling queue, then divides the plurality of interactive tasks into a plurality of target task sets according to preset business elements, then acquires a scheduling configuration table, further determines target resource constraint conditions according to resource information in the scheduling configuration table, further binds a plurality of target value quantization values under a plurality of interactive conditions for each target task set, then inputs the target resource constraint conditions and the plurality of target task sets into a pre-trained task scheduling model, calculates the target interactive time and the target interactive mode of each target task set, and finally updates the target interactive time and the target interactive mode to the task information of each interactive task in the target task set. The server can divide a plurality of tasks in the scheduling queue into task sets according to business elements, and calculate the target interactive time and the target interactive mode of each task set when the sum of the target value quantization values is maximum through the task scheduling model, which is beneficial to improve the intelligence of server scheduling calculation and improve the interactive job efficiency. BRIEF DESCRIPTION OF DRAWINGS

[0024] In order to more clearly illustrate the technical solutions of the embodiments of the present application or the prior art, the drawings needed in the embodiments or the prior art description will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0025] Figure 1A is an architecture schematic diagram of an interactive job scheduling system provided by the embodiments of the present application;

[0026] Figure 1A is an interface schematic diagram of resource information configuration provided by the embodiments of the present application;

[0027] Figure 2 is a flow schematic diagram of a task scheduling method provided by the embodiments of the present application;

[0028] Figure 3 is a structure schematic diagram of an electronic device provided by the embodiments of the present application;

[0029] Figure 4 is a function unit composition block diagram of a task scheduling device provided by the embodiments of the present application. DETAILED DESCRIPTION

[0030] In order to make the personnel in the technical field better understand the scheme of the present application, the technical scheme in the embodiments of the present application will be clearly and completely described below in combination with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by the person of ordinary skill in the art without creative labor fall within the scope of protection of the present application.

[0031] The terms "first", "second", and the like in the specification of the present application and the above-described drawings are used to distinguish different objects, rather than to describe a particular order. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but can optionally include steps or units not listed, or can optionally include other steps or units inherent to the process, method, product, or device.

[0032] Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The appearance of the phrase in various places in the specification does not necessarily all refer to the same embodiment, nor is it necessarily mutually exclusive of other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0033] In the embodiments of the present application, "and / or" describes the association relationship of the associated objects, which means that there can be three kinds of relationships. For example, A and / or B can represent the following three cases: A exists alone; A and B exist simultaneously; B exists alone. Wherein, A and B can be singular or plural.

[0034] In the embodiments of the present application, the symbol " / " can represent that the associated objects before and after the symbol are in an "or" relationship. In addition, the symbol " / " can also represent the division sign, that is, to perform division operation. For example, A / B can represent A divided by B.

[0035] In the embodiments of the present application, "at least one" or similar expressions means any combination of these items, including any combination of single item or multiple items, means one or more, and multiple means two or more. For example, at least one of a, b or c can represent the following seven cases: a, b, c, a and b, a and c, b and c, a, b and c. Wherein, each of a, b and c can be an element or a set containing one or more elements.

[0036] The "equal to" in the embodiments of the present application can be used in combination with greater than, and is applicable to the technical solutions adopted when greater than; or can be used in combination with less than, and is applicable to the technical solutions adopted when less than. When the "equal to" is used in combination with greater than, it is not used in combination with less than; and when the "equal to" is used in combination with less than, it is not used in combination with greater than.

[0037] In order to better understand the schemes of the embodiments of the present application, the electronic devices, related concepts and backgrounds that can be involved in the embodiments of the present application are introduced as follows.

[0038] The electronic device of the embodiments of the application is a device with a wireless communication function, which can be referred to as a terminal, a user equipment (UE), a mobile station (MS), a mobile terminal (MT), an access terminal device, a vehicle-mounted terminal device, an industrial control terminal device, a UE unit, a UE station, a mobile station, a remote station, a remote terminal device, a mobile device, a UE terminal device, a wireless communication device, a UE agent or a UE apparatus, etc. The terminal device can be fixed or mobile. It should be noted that the terminal device can support at least one wireless communication technology, such as LTE, new radio (NR), wideband code division multiple access (WCDMA), etc. For example, the terminal device can be a mobile phone, a pad, a desktop computer, a notebook computer, an all-in-one machine, a vehicle-mounted terminal, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in self driving, a wireless terminal in remote medical surgery, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a handheld device with a wireless communication function, an electronic device or other processing device connected to a wireless modem, a wearable device, a terminal device in a future mobile communication network or a terminal device in a future evolved public land mobile network (PLMN), etc. The electronic device can be a server in an interactive job scheduling system.

[0039] Please refer to Figure 1A , Figure 1A is a schematic diagram of an architecture of an interactive job scheduling system provided by the embodiments of the application. As shown in Figure 1AAs shown, the interactive job scheduling system 1 includes a server 10, an agent end 20 and a service end 30, the server 10 is in communication connection with the agent end 20 and the service end 30 respectively.

[0040] The agent end 20 is configured to receive the server 10 to schedule the user call, to initiate the outbound call by performing the interactive task, and to receive the outbound call, so that the agent can communicate with the user through the outbound call.

[0041] The service end 30 is configured to configure the resource information of the queue that can be scheduled every day, the human resource information and the line resource information, and to configure the preset service elements.

[0042] The server 10 can assign the interactive task to the plurality of agent ends 20, and the agent end 20 performs the interactive task and dials the phone of the user recorded in the task information of the interactive task; wherein the server 10 can also transfer the AI connected user call to the agent end 20.

[0043] Please refer to Figure 1B , Figure 1B is an interface diagram provided by the embodiment of the present application for resource information configuration, the interface includes queue name, queue description, resource configuration, resource configuration includes configuring human resources and line resources, configuring human resources includes configuring the number of people, standard working hours, overtime number and overtime working hours, configuring line resources includes configuring machine concurrency, machine standard working hours, overtime machine concurrency and machine overtime working hours.

[0044] In one possible example, the server 10 in the interactive job scheduling system 1 first acquires a plurality of interactive tasks in the current scheduling queue, the server 10 then divides the plurality of interactive tasks into a plurality of target task sets according to the preset service elements, the server 10 further acquires a scheduling configuration table, and further, the server 10 determines the target resource constraint condition according to the resource information in the scheduling configuration table, and further, the server 10 binds a plurality of target value quantization values under a plurality of interactive conditions for each target task set, the server 10 then inputs the target resource constraint condition and the plurality of target task sets into the pre-trained task scheduling model, calculates the target interactive time and the target interactive mode of each target task set, and finally, the server 10 updates the target interactive time and the target interactive mode to the task information of each interactive task in the target task set. The server 10 can divide the plurality of tasks in the scheduling queue into task sets according to the service elements, and calculate the target interactive time and the target interactive mode of each task set when the sum of the target value quantization values is maximum through the task scheduling model, which is beneficial to improve the intelligence of server scheduling calculation, and is beneficial to improve the interactive job efficiency.

[0045] Please refer to Figure 2 , Figure 2is a flowchart of a task scheduling method provided by an embodiment of the present application, applied to a server in an interactive job scheduling system, and the method comprises the following steps:

[0046] In step S201, a plurality of interactive tasks in a current scheduling queue are acquired.

[0047] The interactive job scheduling system manages a plurality of to-be-interacted cases configured by a business end in a queue manner, the to-be-interacted cases can generate corresponding interactive tasks, and thus the queue manages a plurality of interactive tasks; the reach strategies of the to-be-interacted cases in the same queue are the same, for example, telephone outbound reach, social media push reach, mobile phone message reach, etc., which are not limited herein.

[0048] The interactive task can be a telephone outbound task, which can be directly dialed by an agent end, or can be dialed by an AI intelligent customer service, and after being connected, a preset voice is played, or the AI intelligent customer service can dial a user's phone, and after being connected, the call is transferred to an agent of the agent end; the interactive task can also be a social media information push task, a mobile phone message sending task, etc., which are not limited herein.

[0049] In step S202, the plurality of interactive tasks are divided into a plurality of target task sets according to preset business elements.

[0050] The preset business elements include at least one of the following: customer group, market area, sales channel and business stage, the customer group includes new customers and old customers, the market area includes market research, channel expansion, brand promotion, etc., the sales channel includes online sales and offline stores, and the business stage includes potential customer development, sales follow-up, contract signing and after-sales service. For example, the plurality of interactive tasks are divided according to the business stage to obtain a potential customer development task set, a sales follow-up task set, a contract signing task set and an after-sales service task set.

[0051] In step S203, a scheduling configuration table is acquired, and the scheduling configuration table includes resource information, and the resource information includes human resource information and line resource information.

[0052] The server is in communication connection with the business end, and the scheduling configuration table is a table of resources that can be scheduled by the business end on the day of the queue. The human resource information includes the number of agent personnel, standard working hours, the number of overtime personnel and overtime working hours, and the line resource includes the number of concurrent AI machine customer services, machine working hours, the number of concurrent overtime and machine overtime working hours.

[0053] In step S204, a target resource constraint condition is determined according to the resource information in the scheduling configuration table.

[0054] The time, duration and AI intelligent customer service time and duration of the agent personnel configured by the business end are all set in advance, so that the corresponding target resource constraint condition can be determined based on the resource information.

[0055] In step S205, a plurality of target value quantitative values under a plurality of interaction conditions are bound for each target task set, and the interaction conditions include interaction time and interaction mode, and each interaction condition corresponds to a target value quantitative value.

[0056] The target task set has different target value quantitative values under different interaction times and interaction modes, and the target value quantitative value can be a weighted loan amount, a deposit amount, a loan amount, etc., which is not limited herein. For example, when the interaction time is 9:00-12:00 and the interaction mode is automatic voice, the value of the weighted loan amount is 1000, when the interaction time is 12:00-14:00 and the interaction mode is manual agent, the value of the weighted loan amount is 1200, and when the interaction time is 14:00-18:00 and the interaction mode is automatic voice, the value of the weighted loan amount is 1100.

[0057] The interaction time range and interaction mode of each task in the same task set are the same, so that the calculation efficiency of the task scheduling model can be improved by connecting the task scheduling model in the form of a task set.

[0058] In step S206, the target resource constraint condition and the plurality of target task sets are input into the pre-trained task scheduling model, and the target interaction time and the target interaction mode of each target task set are calculated.

[0059] The task scheduling model is used to calculate the target interaction time and the target interaction mode corresponding to each target task set when the sum of the target value quantitative values of each target task set under the resource constraint condition is maximum. For example, the plurality of target task sets include a first target task set, a second target task set and a third target task set, the target interaction time of the first target task set is calculated as 14:00-18:00 and the interaction mode is automatic voice, the target interaction time of the second target task is 9:00-12:00 and the interaction mode is manual agent, and the target interaction time of the third target task is 12:00-14:00 and the interaction mode is automatic voice. The task scheduling model is obtained by training the training set data in advance.

[0060] In step S207, the target interaction time and the target interaction mode are updated to the task information of each interaction task in the target task set.

[0061] It can be seen that in the embodiments of the present application, the server in the interactive job scheduling system first acquires a plurality of interactive tasks in the current scheduling queue, then divides the plurality of interactive tasks into a plurality of target task sets according to a preset business element, then acquires a scheduling configuration table, further determines a target resource constraint condition according to resource information in the scheduling configuration table, further binds a plurality of target value quantization values under a plurality of interactive conditions for each target task set, then inputs the target resource constraint condition and the plurality of target task sets into a pre-trained task scheduling model, calculates the target interactive time and the target interactive mode of each target task set, and finally updates the target interactive time and the target interactive mode to the task information of each interactive task in the target task set. The server can divide a plurality of tasks in the scheduling queue into task sets according to business elements, and calculate the target interactive time and the target interactive mode of each task set when the sum of the target value quantization values is maximum through the task scheduling model, which is beneficial to improve the intelligence of server scheduling calculation and improve the interactive job efficiency.

[0062] In one possible example, in the aspect of dividing the plurality of interactive tasks into a plurality of target task sets according to the preset business element, the above method can include the following steps: dividing the plurality of interactive tasks into a plurality of first task sets according to the preset business element, each first task set including at least one interactive task; performing the following operations on each first task set to obtain a plurality of second task sets: determining a target number of interactive tasks in the first task set currently processed; when it is judged that the target number is greater than a first preset threshold, determining a plurality of sub-business elements of the target business element corresponding to the first task set currently processed; dividing the plurality of interactive tasks in the first task set currently processed according to the plurality of sub-business elements to obtain a plurality of second task sets; when it is judged that the target number is less than a second preset threshold, judging whether to discard the first task set currently processed; when it is judged that the target number is greater than or equal to the second preset threshold and less than or equal to the first preset threshold, taking the first task set currently processed as the second task set; taking the plurality of second task sets as the target task sets.

[0063] In the method, after the plurality of interaction tasks are divided into a plurality of first task sets according to the preset business element, the number of interaction tasks in the first task set can be too many or too few. If the number of interaction tasks is too few, the purpose of improving work efficiency cannot be achieved, and if the number of interaction tasks is too many, the interaction time can be too concentrated and the interaction mode can be too single. Therefore, when the target number of interaction tasks in the target task set is greater than a first preset threshold, it is indicated that the number of interaction tasks in the first task set is too many, and the interaction tasks in the first task set can be further divided in a refined manner. For example, a plurality of sub-business elements of the target business element are determined, and the plurality of interaction tasks in the first task set are divided according to the plurality of sub-business elements to obtain a plurality of second task sets. For example, when the target business element is an old user, the plurality of sub-business elements of the old user can be a high-value user, a medium-value user, and a low-value user. When the target number is less than a second preset threshold, it is indicated that the number of interaction tasks in the first task set is too few, and the first task set can be discarded or a plurality of first task sets with a target number less than the second preset threshold can be combined.

[0064] In the method, the first preset threshold is greater than the second preset threshold, and the first preset threshold and the second preset threshold can be set by a person or by default by a system, which is not limited herein.

[0065] It can be seen that, in the example, the server can divide the plurality of interaction tasks into target task sets according to the preset business element, and the server can schedule the task set to the task scheduling model, which is beneficial to improving the efficiency and intelligence of the server in scheduling calculation compared with scheduling a single interaction task to the task scheduling model.

[0066] In one possible example, in the step of determining whether to discard the first task set being processed, the method can include the following steps: determining a task label of each interaction task in the first task set being processed, the task label including a task level, the task level being used to represent the importance of the interaction task; if the task level of any interaction task is greater than or equal to a preset level, the first task set being processed is taken as the second task set; and if the task level of each interaction task is less than the preset level, the first task set being processed is discarded.

[0067] In the method, whether to discard the task set is determined by considering whether there is an interaction task with a high task level in the task set. The higher the task level, the more important the interaction task, and the more necessary it is to execute. If there is, the first task set being processed is not discarded, and if there is not, the first task set being processed is discarded.

[0068] In the method, the preset level can be set by a person or by default by a system, which is not limited herein. For example, the task levels from low to high are A, B, C, D, E, and G, and the preset level can be E.

[0069] It can be seen that in the present example, the server can determine whether to discard the first task set currently being processed according to the task level, thereby facilitating the improvement of the intelligence of the server task set division.

[0070] In one possible example, in the aspect of quantifying the multiple target values under the multiple interaction conditions bound for each target task set, the above method can include the following steps: obtaining a task set combination template, the task set combination template including a business label and corresponding multiple records, each record including an interaction condition and a corresponding target value quantification value; determining a target business label matched with each target task set; binding the target value quantification value under the interaction condition corresponding to the target business label for each target task set.

[0071] The business label includes at least one of the following: a customer group, a market area, a sales channel, and a business stage, the customer group including new customers and old customers, the market area including market research, channel expansion, brand promotion, etc., the sales channel including online sales and offline stores, and the business stage including potential customer development, sales follow-up, contract signing, and after-sales service.

[0072] The task set combination template can be a template prepared in advance according to historical data, and the task set combination template includes a business label and corresponding multiple records, each record including an interaction condition and a corresponding target value quantification value. For example, the business label is old customers, there are three records, record 1: the interaction time is 9:00-12:00, the interaction mode is automatic voice, the weighted loan amount (target value quantification value) is 1000, record 2: the interaction time is 12:00-14:00, the interaction mode is human seat, the weighted loan amount is 1200, and record 3: the interaction time is 14:00-18:00, the interaction mode is automatic voice, and the weighted loan amount is 1100.

[0073] It can be seen that in the present example, the server binds multiple target value quantification values under multiple interaction conditions for each target task set, and the task scheduling model can calculate the target interaction condition, i.e., the target interaction time and the target interaction mode, of each target task set when the sum of the target value quantification values of the multiple target task sets is maximum, thereby facilitating the improvement of the efficiency and intelligence of the server scheduling calculation.

[0074] In one possible example, after obtaining the task set combination template, the above method can include the following steps: if it is determined that the target task set currently being processed does not have a business label matched with the task set, discarding the target task set currently being processed; and marking the task set currently being processed.

[0075] If it is determined that the target task set currently being processed does not have a business tag matched with the task set, it indicates that there is no historical statistical data in the task set combination template, at this time, the target task set currently being processed can be discarded, the task scheduling model is not input for calculation, and a label of "no historical statistical data" is marked for the target task set currently being processed, and the interaction time and the interaction mode are configured by the business end in the future.

[0076] It can be seen that in the present example, the server can discard the target task set that does not match the target task set currently being processed, so as to avoid abnormality when the target value quantization value of the target task set cannot be bound for model calculation, and the stability of scheduling calculation of the server is improved.

[0077] In one possible example, in terms of determining the target resource constraint condition according to the resource information in the scheduling configuration table, the above method can include the following steps: extracting the human resource information and the line resource information in the scheduling configuration table; determining a human resource constraint condition according to the human resource information; determining a line resource constraint condition according to the line resource information; and taking the human resource constraint condition and the line resource constraint condition as the target resource constraint condition.

[0078] The human resource information includes morning resources and noon resources, the morning resources include a human full-day standard duration and an overtime duration, and the noon resources include a human overtime duration at night and 5 / 9 of the human input time at the execution time. The line resource information includes morning resources and noon resources, the morning resources include a full-day standard duration and an overtime duration of the AI intelligent customer service, and the noon resources include an overtime duration of the AI intelligent customer service at night and 5 / 9 of the human input time at the execution time.

[0079] The human resource constraint condition includes a morning resource constraint condition and a noon resource constraint condition, the morning resource constraint condition is that the actual utilization resource of the morning human is less than or equal to the sum of the human full-day standard duration and the overtime duration, the unit is second, and the noon resource constraint condition is that the actual utilization resource of the noon human is less than or equal to the sum of the human overtime duration at night and 5 / 9 of the human input time at the execution time. Similarly, the line resource constraint condition includes a morning resource constraint condition and a noon resource constraint condition, the morning resource constraint condition is that the actual utilization resource of the morning line is less than or equal to the sum of the full-day standard duration and the overtime duration of the AI intelligent customer service, the unit is second, and the noon resource constraint condition is that the actual utilization resource of the noon line is less than or equal to the sum of the overtime duration of the AI intelligent customer service at night and 5 / 9 of the human input time at the execution time, the unit is second.

[0080] It can be seen that in the present example, the server determines the human resource constraint condition and the line resource constraint condition based on the resource information respectively, which is conducive to improving the intelligence of the server in determining the resource constraint condition.

[0081] In one possible example, before obtaining the plurality of interaction tasks in the current scheduling queue, the above method can include the following steps: obtaining a plurality of cases to be interacted; dividing the plurality of cases to be interacted into a plurality of case sets according to customer characteristics, business characteristics, and a preset shunting rule; generating interaction tasks of the cases to be interacted in each case set, and taking the set of interaction tasks as a scheduling queue.

[0082] The customer characteristics include but are not limited to age, gender, region, occupation, income level, purchase history, consumption preference, loyalty level, social media activity, etc., the business characteristics include but are not limited to product type, sales channel, promotion activity type, marketing time period, sales target, etc., and the preset shunting rule is pre-set, for example, new customers are preferentially called to introduce product purchase preferential treatment.

[0083] It can be seen that in the present example, the server manages the cases to be interacted in a queue manner, which is conducive to improving the stability of the server scheduling.

[0084] Please refer to Figure 3 , Figure 3 is a structural schematic diagram of an electronic device provided by an embodiment of the present application, which is applied to a server in an interactive job scheduling system; as shown in Figure 3 The electronic device includes a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs are configured to instruct the processor to perform the following steps:

[0085] Obtain a plurality of interaction tasks in a current scheduling queue;

[0086] Divide the plurality of interaction tasks into a plurality of target task sets according to a preset business element;

[0087] Obtain a scheduling configuration table, wherein the scheduling configuration table includes resource information, and the resource information includes human resource information and line resource information;

[0088] Determine a target resource constraint condition according to the resource information in the scheduling configuration table;

[0089] Bind a plurality of target value quantization values under a plurality of interaction conditions for each target task set, wherein the interaction conditions include interaction time and interaction mode, and each interaction condition corresponds to a target value quantization value;

[0090] input the target resource constraint condition and the plurality of target task sets into a pre-trained task scheduling model, and calculate a target interaction time and a target interaction mode of each target task set;

[0091] update the target interaction time and the target interaction mode into task information of each interaction task in the target task set.

[0092] It can be seen that in the embodiments of the present application, the electronic device first acquires a plurality of interaction tasks in the current scheduling queue, then divides the plurality of interaction tasks into a plurality of target task sets according to a preset business element, then acquires a scheduling configuration table, further determines a target resource constraint condition according to resource information in the scheduling configuration table, further binds a plurality of target value quantization values under a plurality of interaction conditions for each target task set, then inputs the target resource constraint condition and the plurality of target task sets into a pre-trained task scheduling model, and calculates a target interaction time and a target interaction mode of each target task set, and finally updates the target interaction time and the target interaction mode into task information of each interaction task in the target task set. The server can divide a plurality of tasks in the scheduling queue into task sets according to business elements, and calculate a target interaction time and a target interaction mode of each task set when the sum of target value quantization values is maximum through a task scheduling model, which is beneficial to improve the intelligence of server scheduling calculation, and is beneficial to improve the efficiency of interaction work.

[0093] In one possible example, in the aspect of dividing the plurality of interaction tasks into a plurality of target task sets according to a preset business element, the above program includes instructions for performing the following steps:

[0094] divide the plurality of interaction tasks into a plurality of first task sets according to the preset business element, each first task set including at least one interaction task;

[0095] perform the following operations on each first task set to obtain a plurality of second task sets:

[0096] determine a target number of interaction tasks in the first task set currently processed;

[0097] when it is judged that the target number is greater than a first preset threshold, determine a plurality of sub-business elements of the target business element corresponding to the first task set currently processed;

[0098] divide the plurality of interaction tasks in the first task set currently processed according to the plurality of sub-business elements to obtain a plurality of second task sets;

[0099] when it is judged that the target number is less than a second preset threshold, judge whether to discard the first task set currently processed;

[0100] when it is determined that the target number is greater than or equal to the second preset threshold and less than or equal to the first preset threshold, the first task set currently being processed is taken as the second task set;

[0101] the plurality of second task sets are taken as the target task set.

[0102] In one possible example, in the judgment of whether to discard the first task set currently being processed, the above procedure includes instructions for performing the following steps:

[0103] determining a task label of each interactive task in the first task set currently being processed, the task label including a task level, the task level being used to represent the importance of the interactive task;

[0104] if the task level of any interactive task is greater than or equal to a preset level, the first task set currently being processed is taken as the second task set;

[0105] if the task level of each interactive task is less than the preset level, the first task set currently being processed is discarded.

[0106] In one possible example, in the quantification of the plurality of target value quantities under the plurality of interactive conditions bound for each target task set, the above procedure includes instructions for performing the following steps:

[0107] obtaining a task set combination template, the task set combination template including a business label and a plurality of corresponding records, each record including an interactive condition and a corresponding target value quantity;

[0108] determining a target business label matched with each target task set;

[0109] binding, for each target task set, the target value quantity under the interactive condition corresponding to the target business label.

[0110] In one possible example, after the task set combination template is obtained, the above procedure further includes instructions for performing the following steps:

[0111] if it is determined that the target task set currently being processed does not have a business label matched with the task set, the target task set currently being processed is discarded;

[0112] marking the task set currently being processed.

[0113] In one possible example, in the determination of the target resource constraint condition according to the resource information in the scheduling configuration table, the above procedure further includes instructions for performing the following steps:

[0114] extract the human resource information and the line resource information in the scheduling configuration table;

[0115] determine a human resource constraint condition according to the human resource information;

[0116] determine a line resource constraint condition according to the line resource information;

[0117] take the human resource constraint condition and the line resource constraint condition as the target resource constraint condition.

[0118] In one possible example, before obtaining the plurality of interaction tasks in the current scheduling queue, the above procedure further includes instructions for performing the following steps:

[0119] obtain a plurality of cases to be interacted;

[0120] divide the plurality of cases to be interacted into a plurality of case sets according to customer features, business features and preset distribution rules;

[0121] generate an interaction task for each case to be interacted in each case set, and take a set of interaction tasks as a scheduling queue.

[0122] The above mainly describes the scheme of the embodiments of the present application from the perspective of the method execution process. It can be understood that, in order to implement the above functions, the electronic device contains hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the unit and algorithm steps of each example described in the embodiments provided in the present text, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is implemented in the form of hardware or computer software driven hardware depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.

[0123] The embodiments of the present application can divide the functional units of the electronic device according to the above method examples. For example, each functional unit can be divided according to each function, or two or more functions can be integrated in one processing unit. The integrated unit can be implemented in the form of hardware or software functional unit. It should be noted that the division of units in the embodiments of the present application is illustrative, and is only a logical function division. When actually implemented, there can be another division method.

[0124] In the case of dividing each functional module according to each function, Figure 4 A functional unit composition block diagram of a task scheduling device is given, such as Figure 4The server is applied to an interactive job scheduling system. The device comprises an acquisition unit 401, a division unit 402, a determination unit 403, a binding unit 404, a calculation unit 405 and an adjustment unit 406.

[0125] The acquisition unit 401 is configured to acquire a plurality of interactive tasks in a current scheduling queue.

[0126] The division unit 402 is configured to divide the plurality of interactive tasks into a plurality of target task sets according to preset business elements.

[0127] The acquisition unit 401 is further configured to acquire a scheduling configuration table, wherein the scheduling configuration table comprises resource information, and the resource information comprises manpower resource information and line resource information.

[0128] The determination unit 403 is configured to determine a target resource constraint condition according to the resource information in the scheduling configuration table.

[0129] The binding unit 404 is configured to bind a plurality of target value quantization values under a plurality of interactive conditions to each target task set, wherein the interactive conditions comprise interactive time and interactive mode, and each interactive condition corresponds to a target value quantization value.

[0130] The calculation unit 405 is configured to input the target resource constraint condition and the plurality of target task sets into a pre-trained task scheduling model to calculate a target interactive time and a target interactive mode of each target task set.

[0131] The adjustment unit 406 is configured to update the target interactive time and the target interactive mode into task information of each interactive task in the target task set.

[0132] It can be seen that the task scheduling device described in the embodiment of the application first acquires a plurality of interactive tasks in a current scheduling queue, then divides the plurality of interactive tasks into a plurality of target task sets according to preset business elements, further acquires a scheduling configuration table, further determines a target resource constraint condition according to resource information in the scheduling configuration table, further binds a plurality of target value quantization values under a plurality of interactive conditions to each target task set, then inputs the target resource constraint condition and the plurality of target task sets into a pre-trained task scheduling model to calculate a target interactive time and a target interactive mode of each target task set, and finally updates the target interactive time and the target interactive mode into task information of each interactive task in the target task set. The server can divide a plurality of tasks in a scheduling queue into task sets according to business elements, and calculate a target interactive time and a target interactive mode of each task set when a total sum of target value quantization values is maximum through a task scheduling model, which is beneficial to improve the intelligence of server scheduling calculation and is beneficial to improve interactive job efficiency.

[0133] In a possible example, in the aspect of dividing the plurality of interaction tasks into a plurality of target task sets according to preset business elements, the division unit 402 is specifically configured to:

[0134] divide the plurality of interaction tasks into a plurality of first task sets according to the preset business elements, each first task set including at least one interaction task;

[0135] perform the following operations on each first task set to obtain a plurality of second task sets:

[0136] determine a target number of interaction tasks in a currently processed first task set;

[0137] when it is determined that the target number is greater than a first preset threshold, determine a plurality of sub-business elements of a target business element corresponding to the currently processed first task set;

[0138] divide the plurality of interaction tasks in the currently processed first task set according to the plurality of sub-business elements to obtain a plurality of second task sets;

[0139] when it is determined that the target number is less than a second preset threshold, determine whether to discard the currently processed first task set;

[0140] when it is determined that the target number is greater than or equal to the second preset threshold and less than or equal to the first preset threshold, take the currently processed first task set as the second task set;

[0141] take the plurality of second task sets as the target task sets.

[0142] In a possible example, in the aspect of determining whether to discard the currently processed first task set, the determination unit 407 is specifically configured to:

[0143] determine a task label of each interaction task in the currently processed first task set, the task label including a task level, the task level being used to represent an importance of the interaction task;

[0144] if the task level of any interaction task is greater than or equal to a preset level, take the currently processed first task set as the second task set;

[0145] if the task level of each interaction task is less than the preset level, discard the currently processed first task set.

[0146] In a possible example, in the aspect of binding a plurality of target value quantization values under a plurality of interaction conditions for each target task set, the binding unit 404 is specifically configured to:

[0147] obtain a task set combination template, the task set combination template comprising a business label and a plurality of records corresponding to the business label, each record comprising an interaction condition and a corresponding target value quantization value;

[0148] determine a target business label matched with each target task set;

[0149] bind, for each target task set, the target value quantization value corresponding to the target business label under the interaction condition.

[0150] In one possible example, after the task set combination template is obtained, the judging unit 407 is specifically configured to:

[0151] if it is determined that the target task set currently processed does not have a business label matched with the task set, discard the target task set currently processed;

[0152] mark the task set currently processed.

[0153] In one possible example, in terms of determining the target resource constraint condition according to the resource information in the scheduling configuration table, the determining unit 403 is further specifically configured to:

[0154] extract the human resource information and the line resource information in the scheduling configuration table;

[0155] determine a human resource constraint condition according to the human resource information;

[0156] determine a line resource constraint condition according to the line resource information;

[0157] take the human resource constraint condition and the line resource constraint condition as the target resource constraint condition.

[0158] In one possible example, before obtaining a plurality of interaction tasks in a current scheduling queue, the dividing unit 402 is further specifically configured to:

[0159] obtain a plurality of cases to be interacted;

[0160] divide the plurality of cases to be interacted into a plurality of case sets according to customer features, business features and a preset shunting rule;

[0161] generate an interaction task for each case to be interacted in each case set, and take a set of interaction tasks as a scheduling queue.

[0162] It should be noted that all related content of each step involved in the above method embodiments can be referred to the function description of the corresponding function module, and will not be repeated here.

[0163] The electronic device provided in the embodiment is used to execute the task scheduling method, and thus the same effects as the implementation method can be achieved.

[0164] In the case of using the integrated unit, the electronic device can include a processing module, a storage module and a communication module. The processing module can be used to control and manage the actions of the electronic device, for example, can be used to support the electronic device to execute the steps executed by the functional units. The storage module can be used to support the electronic device to execute the storage of program codes and data. The communication module can be used to support the communication between the electronic device and other devices.

[0165] The processing module can be a processor or a controller. It can implement or execute various exemplary logical blocks, modules and circuits described in combination with the disclosure. The processor can also be a combination of computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and microprocessors, etc. The storage module can be a memory. The communication module can be a device for interacting with other electronic devices, such as a radio frequency circuit, a Bluetooth chip, a Wi-Fi chip, etc.

[0166] The embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program causes a computer to execute part or all of the steps of any method described in the above method embodiment, and the computer includes an electronic device.

[0167] The embodiment of the present application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program. The computer program is operable to cause a computer to execute part or all of the steps of any method described in the above method embodiment. The computer program product can be a software installation package, and the computer includes a control platform.

[0168] It should be noted that, for the foregoing method embodiments, in order to simply describe, they are all described as a combination of a series of actions, but those skilled in the art should know that the present application is not limited to the action sequence described, because according to the present application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should know that the embodiments described in the specification all belong to preferred embodiments, and the actions and modules involved are not necessarily necessary for the present application.

[0169] In the above embodiments, the description of each embodiment has its own focus, and the parts not described in detail in a certain embodiment can be referred to the related description of other embodiments.

[0170] In several embodiments provided in the present application, it should be understood that the disclosed apparatus can be implemented in other manners. For example, the division of the apparatus embodiments described above is merely a logical division, and there can be another division manner in actual implementation. For example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some interfaces, devices or units, and can be electrical, mechanical or other forms.

[0171] The units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, i.e., can be located in one place or distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.

[0172] In addition, each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically, or two or more units can be integrated into one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.

[0173] The integrated unit, if realized in the form of a software functional unit and sold or used as an independent product, can be stored in a computer readable memory. Based on this understanding, the technical solutions of the present application essentially or the part of the prior art that contributes to the technical solutions or all or part of the technical solutions can be embodied in the form of a software product, which is stored in a memory and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server or a network device, etc.) to execute all or part of the steps of the above-mentioned method of each embodiment of the present application. The aforementioned memory includes: a U disk, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and various media that can store program codes.

[0174] A person of ordinary skill in the art can understand that all or part of the steps of the various methods of the above-described embodiments can be completed by a program instructing relevant hardware, and the program can be stored in a computer readable memory, which can include a flash disk, a read-only memory, a random access memory, a magnetic disk or an optical disk, etc.

[0175] The above has carried out the detailed introduction to the embodiment of the application, the principle and implementation mode of the application have been described by applying specific examples in this paper, the above embodiment explanation is only for helping understanding the method of the application and its core idea; at the same time, for the general technical personnel in the art, according to the idea of the application, there will be changes in specific implementation mode and application range, and the above-mentioned, the content of the specification should not be understood as the limitation of the application.

Claims

1. A task scheduling method, characterized by, A server applied to an interactive job scheduling system, comprising: obtaining a plurality of interactive tasks in a current scheduling queue; dividing the plurality of interactive tasks into a plurality of target task sets according to preset business elements; obtaining a scheduling configuration table, the scheduling configuration table comprising resource information, the resource information comprising manpower resource information and line resource information; determining a target resource constraint condition according to the resource information in the scheduling configuration table; binding a plurality of target value quantization values under a plurality of interactive conditions for each target task set, the interactive conditions comprising interactive time and interactive mode, each interactive condition corresponding to a target value quantization value; inputting the target resource constraint condition and the plurality of target task sets into a pre-trained task scheduling model to calculate the target interactive time and the target interactive mode of each target task set when the sum of the target value quantization values of each target task set is maximum under the resource constraint condition; updating the target interactive time and the target interactive mode to the task information of each interactive task in the target task set.

2. The method of claim 1, wherein, The dividing the plurality of interactive tasks into a plurality of target task sets according to preset business elements comprises: dividing the plurality of interactive tasks into a plurality of first task sets according to the preset business elements, each first task set comprising at least one interactive task; performing the following operations on each first task set to obtain a plurality of second task sets: determining a target number of interactive tasks in the first task set currently processed; when it is judged that the target number is greater than a first preset threshold, determining a plurality of sub-business elements of the target business element corresponding to the first task set currently processed; dividing the plurality of interactive tasks in the first task set currently processed according to the plurality of sub-business elements to obtain a plurality of second task sets; when it is judged that the target number is less than a second preset threshold, judging whether to discard the first task set currently processed; when it is judged that the target number is greater than or equal to the second preset threshold and less than or equal to the first preset threshold, taking the first task set currently processed as the second task set; taking the plurality of second task sets as the target task sets.

3. The method of claim 2, wherein, The judging whether to discard the first task set currently processed comprises: determining a task label of each interactive task in the first task set currently processed, the task label comprising a task level, the task level being used to represent the importance of the interactive task; if the task level of any interactive task is greater than or equal to a preset level, taking the first task set currently processed as the second task set; if the task level of each interactive task is less than the preset level, discarding the first task set currently processed.

4. The method of claim 1, wherein, The binding a plurality of target value quantization values under a plurality of interactive conditions for each target task set comprises: obtaining a task set combination template, the task set combination template comprising a business label and a plurality of corresponding records, each record comprising an interactive condition and a corresponding target value quantization value; determining a target business label matched with each target task set; Bind the target value quantitative value under the interaction condition corresponding to the target business tag to each target task set.

5. The method of claim 4, wherein, After the task set combination template is obtained, the method further includes: If it is judged that the target task set currently processed does not exist a business tag matched with the task set, the target task set currently processed is discarded; Mark the task set currently processed.

6. The method of claim 1, wherein, The target resource constraint condition is determined according to the resource information in the scheduling configuration table, including: Extract the human resource information and the line resource information in the scheduling configuration table; Determine the human resource constraint condition according to the human resource information; Determine the line resource constraint condition according to the line resource information; The human resource constraint condition and the line resource constraint condition are taken as the target resource constraint condition.

7. The method of claim 1, wherein, Before obtaining the multiple interaction tasks in the current scheduling queue, the method further includes: Obtain multiple cases to be interacted; According to the customer characteristics, the business characteristics and the preset shunt rule, the multiple cases to be interacted are divided into multiple case sets; Generate an interaction task for each case to be interacted in each case set, and a set composed of the interaction tasks is taken as a scheduling queue.

8. A task scheduling apparatus characterized by comprising: The server applied to an interactive job scheduling system; the device includes an acquisition unit, a division unit, a determination unit, a binding unit, a calculation unit and an adjustment unit; wherein, The acquisition unit is configured to obtain multiple interaction tasks in a current scheduling queue; The division unit is configured to divide the multiple interaction tasks into multiple target task sets according to preset business elements; The acquisition unit is further configured to obtain a scheduling configuration table, the scheduling configuration table including resource information, the resource information including human resource information and line resource information; The determination unit is configured to determine a target resource constraint condition according to the resource information in the scheduling configuration table; The binding unit is configured to bind multiple target value quantitative values under multiple interaction conditions to each target task set, the interaction conditions including interaction time and interaction mode, each interaction condition corresponding to a target value quantitative value; The calculation unit is configured to input the target resource constraint condition and the multiple target task sets into a pre-trained task scheduling model, and calculate the target interaction time and the target interaction mode of each target task set when the sum of the target value quantitative values of the target task sets under the resource constraint condition is maximum; The adjustment unit is configured to update the target interaction time and the target interaction mode to the task information of each interaction task in the target task set.

9. An electronic device, comprising: A processor, a memory, the memory is used to store one or more programs, and is configured to be executed by the processor, the program includes instructions for executing steps in the method of any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, A computer program for electronic data exchange, wherein the computer program causes a computer to execute the method of any one of claims 1-7.

Citation Information

Patent Citations

  • Big data resource processing method and device, terminal and storage medium

    CN111198767A

  • Customer resource allocation method and device, computer equipment and storage medium

    CN117875643A