Method, device, electronic device and storage medium for intelligent scheduling of artificial customer service
By predicting and inferring the service data of bank customer service, reasonable scheduling data is generated, which solves the problem of bank customer service being unable to serve customer needs in a balanced manner when the volume of inquiries is large, and achieves efficient utilization of manual customer service resources and improvement of service quality. promote.
Patent Information
- Application Number
- CN202111110515.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-18
- Publication Date
- 2024-09-27
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In bank customer service, the universal scheduling system makes it impossible to serve customer needs in a balanced manner when the volume of inquiries is large, affecting customer experience and customer stickiness. On the other hand, when the volume of inquiries is small, it causes a waste of manual customer service resources.
By obtaining the service data of manual customer service in different scheduling periods, smoothing it and inputting it into the prediction model trained by the least squares method, predicting the service data of the next scheduling period, and obtaining the target service data through inverse processing to generate a reasonable schedule. Data to optimize the dispatch of manual customer service.
Efficient utilization of manual customer service resources has been achieved, service quality has been guaranteed and improved, and customer service work has been carried out in an orderly manner.
Smart Images

Figure CN113762641B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of artificial intelligence technology, and more specifically, to an artificial customer service intelligent scheduling method, device, electronic device and storage medium. Background Art
[0002] Bank customer service is the bridge and bond between banks and customers, an important executor of bank customer relationship maintenance, and plays a key role in the expansion of banking business. Nowadays, bank customer service work mostly adopts the collaboration of intelligent customer service and manual customer service, but when intelligent customer service cannot solve customer problems well, manual customer service will play an important role.
[0003] So, if a universal scheduling system is adopted, when the number of consultations is large, the manual customer service will to a certain extent be unable to serve the needs of each customer, which will in turn affect the customer experience and customer stickiness; when the number of consultations is small, it is undoubtedly a waste of manual customer service resources. Summary of the invention
[0004] In view of this, in order to solve the above problems, the present invention provides a method, device, electronic device and storage medium for intelligent scheduling of artificial customer service, and the technical solution is as follows:
[0005] A method for intelligent scheduling of artificial customer service, the method comprising:
[0006] Acquire service data of a human customer service in different scheduling cycles, where the different scheduling cycles include a historical scheduling cycle and a current scheduling cycle, and the service data is used to characterize the workload of the human customer service;
[0007] Smoothing the service data in the historical scheduling period and the service data in the current scheduling period, and inputting the smoothed service data into a first prediction model, where the first prediction model is obtained based on least squares training;
[0008] Acquire predicted service data for the next scheduling period output by the first prediction model, and perform reverse processing on the predicted service data to obtain target service data for the next scheduling period;
[0009] The scheduling data for the next scheduling period is generated according to the target service data.
[0010] Preferably, the smoothing of the service data in the historical scheduling period and the service data in the current scheduling period includes:
[0011] The service data in the historical scheduling period and the service data in the current scheduling period are smoothed by using a moving average method.
[0012] Preferably, the adopting of a moving average method to smooth the service data in the historical scheduling period and the service data in the current scheduling period includes:
[0013] Extracting the service data in the historical scheduling period and the change period of the service data in the current scheduling period;
[0014] The change period is used as a parameter of the moving average method to perform smoothing processing on the service data in the historical scheduling period and the service data in the current scheduling period.
[0015] Preferably, the reverse processing of the predicted service data to obtain the target service data in the next scheduling period includes:
[0016] Determine, in the historical scheduling cycle, a target historical scheduling cycle that is in the same change cycle as the next scheduling cycle;
[0017] The target service data is calculated according to the service data in the target historical scheduling period, the service data in the current scheduling period, the predicted service data and the change period.
[0018] Preferably, generating the scheduling data in the next scheduling period according to the target service data includes:
[0019] Inputting the target service data into a second prediction model, where the second prediction model is trained based on a machine learning algorithm;
[0020] The scheduling data output by the second prediction model is obtained, and the scheduling data at least includes the number of manual customer service personnel in the next scheduling period.
[0021] An artificial customer service intelligent scheduling device, the device comprising:
[0022] An acquisition module, used to acquire service data of a human customer service in different scheduling cycles, wherein the different scheduling cycles include a historical scheduling cycle and a current scheduling cycle, and the service data is used to characterize the workload of the human customer service;
[0023] A scheduling module is used to smooth the service data within the historical scheduling cycle and the service data within the current scheduling cycle, and input the smoothed service data into a first prediction model, where the first prediction model is trained based on the least squares method; obtain the predicted service data within the next scheduling cycle output by the first prediction model, and reversely process the predicted service data to obtain the target service data within the next scheduling cycle; and generate the scheduling data within the next scheduling cycle based on the target service data.
[0024] Preferably, the scheduling module for smoothing the service data in the historical scheduling period and the service data in the current scheduling period is specifically used to:
[0025] The service data in the historical scheduling period and the service data in the current scheduling period are smoothed by using a moving average method.
[0026] Preferably, the scheduling module for smoothing the service data in the historical scheduling period and the service data in the current scheduling period by using a moving average method is specifically used to:
[0027] Extract the change period of the service data in the historical scheduling period and the service data in the current scheduling period; use the change period as the parameter of the moving average method to smooth the service data in the historical scheduling period and the service data in the current scheduling period.
[0028] An electronic device comprises: at least one memory and at least one processor; the memory stores a program, the processor calls the program stored in the memory, and the program is used to implement the artificial customer service intelligent scheduling method.
[0029] A storage medium stores computer executable instructions for executing the artificial customer service intelligent scheduling method.
[0030] Compared with the prior art, the present invention has the following beneficial effects:
[0031] The present invention provides an intelligent scheduling method, device, electronic device and storage medium for artificial customer service, which can predict the service data of artificial customer service in the next scheduling cycle according to the service data of artificial customer service in the previous scheduling cycle, that is, predict the service data. Since the predicted service data is predicted based on the smoothed service data, the predicted service data needs to be further reversely processed to obtain the target service data in the next scheduling cycle, and generate the scheduling data in the next scheduling cycle based on the target service data. Based on the present invention, artificial customer service can be reasonably scheduled, so that customer service work can be carried out in an orderly manner, and efficient use of artificial customer service resources can be achieved, thereby ensuring and improving service quality, which has important practical significance. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0033] Figure 1 A method flow chart of the method for intelligent scheduling of artificial customer service provided by an embodiment of the present invention;
[0034] Figure 2 Another method flow chart of the artificial customer service intelligent scheduling method provided by an embodiment of the present invention;
[0035] Figure 3 A partial method flow chart of the artificial customer service intelligent scheduling method provided by an embodiment of the present invention;
[0036] Figure 4 A schematic diagram of the structure of an intelligent scheduling device for artificial customer service provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0037] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0038] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0039] The embodiment of the present invention provides a method for intelligent scheduling of artificial customer service, the method flow chart of which is as follows: Figure 1 As shown, the following steps are included:
[0040] S10, obtaining service data of the manual customer service in different scheduling cycles, where the different scheduling cycles include historical scheduling cycles and current scheduling cycles, and the service data is used to characterize the workload of the manual customer service.
[0041] In the embodiment of the present invention, the service data of the manual customer service in different scheduling cycles are collected and counted to quantify the workload of the manual customer service in different scheduling cycles. For example, the service data can be the number of incoming calls of the manual customer service, or the service time of the manual customer service, which is not limited in the embodiment of the present invention.
[0042] S20, smoothing the service data in the historical scheduling cycle and the service data in the current scheduling cycle, and inputting the smoothed service data into a first prediction model, where the first prediction model is obtained by training based on the least square method.
[0043] In the embodiment of the present invention, in order to eliminate the influence of abnormal values, the service data in the historical scheduling period and the service data in the current scheduling period are smoothed. For example, the mean of the service data in the historical scheduling period and the current scheduling period can be determined, and the service data in the historical scheduling period and the current scheduling period that deviates from the mean of the service data by more than a threshold value are eliminated, and the remaining service data is input into the first prediction model as the smoothed service data.
[0044] It should be noted that the basic model of the first prediction model is the LSM (Least Square Method) model, which makes the regression function of the LSM model fit the sample value as well as possible by minimizing the square of the error. Of course, the input of the first prediction model is the sample value. In addition, the first prediction model can be corrected and optimized by continuously collecting service data in different scheduling cycles.
[0045] In the specific implementation process, the step S20 of "smoothing the service data in the historical scheduling cycle and the service data in the current scheduling cycle" can be implemented by the following steps. The method flow chart is as follows: Figure 2 As shown:
[0046] S201, using a moving average method to smooth the service data in a historical scheduling cycle and the service data in a current scheduling cycle.
[0047] It should be noted that the moving average method uses a set of recent actual data values to predict data for one or several periods in the future, effectively eliminating random fluctuations in the prediction.
[0048] In the embodiment of the present invention, a moving window may be set to perform a smoothing process on the service data within the moving window. For example, the historical scheduling period includes period 1, period 2, period 3, period 4 and period 5, and the current scheduling period is period 6. Assuming that the moving window is 3, the smoothing process of the moving average method is as follows:
[0049] The moving window is moved in order from small to large periods: first, if period 1, period 2 and period 3 are within the moving window, the mean of the service data within period 1, the service data within period 2 and the service data within period 3 are calculated, and the mean is assigned to period 3; further, if period 2, period 3 and period 4 are within the moving window, the mean of the service data within period 2, the service data within period 3 and the service data within period 4 are calculated, and the mean is assigned to period 4; further, if period 3, period 4 and period 5 are within the moving window, the mean of the service data within period 3, the service data within period 4 and the service data within period 5 are calculated, and the mean is assigned to period 5; finally, if period 4, period 5 and period 6 are within the moving window, the mean of the service data within period 4, the service data within period 5 and the service data within period 6 are calculated, and the mean is assigned to period 6.
[0050] Thus, the smoothed service data is the average value of the service data assigned to periods 3, 4, 5, and 6. The average value of the service data assigned to periods 3, 4, 5, and 6 is input into the first prediction model.
[0051] In addition, step S201 "using the moving average method to smooth the service data in the historical scheduling cycle and the service data in the current scheduling cycle" can adopt the following steps:
[0052] The change period of the service data in the historical scheduling period and the service data in the current scheduling period is extracted; the change period is used as a parameter of the moving average method to smooth the service data in the historical scheduling period and the service data in the current scheduling period.
[0053] In the embodiment of the present invention, the change period is the above-mentioned moving window. To determine the moving window, the service data in the service scheduling period and the service data in the current scheduling period can be periodically extracted to determine the change period of the service data, which can be achieved by existing tools such as covariance calculation, and the embodiment of the present invention does not limit this.
[0054] Of course, if there is no periodicity between the service data in the service scheduling period and the service data in the current scheduling period, and the change period cannot be extracted, a default value, such as 2 or 3, can be used as the moving window.
[0055] S30, obtaining predicted service data for the next scheduling period output by the first prediction model, and performing reverse processing on the predicted service data to obtain target service data for the next scheduling period.
[0056] In the embodiment of the present invention, since the predicted service data is predicted based on the smoothed service data, the predicted service data needs to be further reversed to obtain the target service data in the next scheduling period.
[0057] Continue to use the example that the historical scheduling period includes periods 1 to 5, the current scheduling period is period 6, and the moving window is 3 for explanation: the input to the first prediction model is the average of the service data assigned to periods 3, 4, 5, and 6. Therefore, the predicted service data in period 7 output by the first prediction model is the service data after period 7 is smoothed, that is, the predicted service data is the average of the service data of periods 5, 6, and 7. In this regard, predicted service data = (service data in period 5 + service data in period 6 + service data in period 7) / 3, where the service data in periods 5 and 6 are the acquired data before smoothing, and the service data in period 7 is the target service data in the next scheduling period.
[0058] In the specific implementation process, step S30 "reverse processing the predicted service data to obtain the target service data in the next scheduling period" can adopt the following steps, and the method flow chart is as follows Figure 3 As shown:
[0059] S301, determining a target historical scheduling period in the historical scheduling period that is in the same change period as the next scheduling period.
[0060] In the embodiment of the present invention, for ease of understanding, the historical scheduling period includes periods 1 to 5, the current scheduling period is period 6, and the moving window is 3 as an example for explanation:
[0061] The next scheduling period is period 7, and the change period is the same as the moving window, so it can be determined that among periods 1 to 5, the period 5 is located in the same moving window as periods 6 and 7. Period 5 is the target historical scheduling period.
[0062] S302, calculating target service data according to service data in a target historical scheduling period, service data in a current scheduling period, predicted service data and a change period.
[0063] In an embodiment of the present invention, predicted service data = (∑ service data within the target historical scheduling period + service data within the current scheduling period + target service data) / moving window, wherein the predicted service data, service data within the target historical scheduling period, service data within the current scheduling period and the moving window are known, and thus the target service data can be calculated.
[0064] It should be noted that the service data in the target historical scheduling period and the service data in the current scheduling period are both data before smoothing.
[0065] S40, generating scheduling data for the next scheduling period according to the target service data.
[0066] In the embodiment of the present invention, since the service data can characterize the workload of manual customer service, after obtaining the target service data, the workload of manual customer service in the next scheduling cycle can be determined, and based on this, the scheduling data in the next scheduling cycle can be generated according to the existing rules. Taking the service data as the incoming call volume of manual customer service as an example, it can be set that every N incoming calls in a scheduling cycle match one manual customer service. This can provide a strong reference for the scheduling of manual customer service, realize the efficient scheduling of customer service resources, and indirectly ensure the quality of customer service.
[0067] In the specific implementation process, step S40 "generating scheduling data in the next scheduling period according to the target service data" can adopt the following steps:
[0068] The target service data is input into a second prediction model, where the second prediction model is trained based on a machine learning algorithm; the scheduling data output by the second prediction model is obtained, where the scheduling data includes at least the number of manual customer service personnel in the next scheduling cycle.
[0069] In an embodiment of the present invention, facing manual customer service in different business scenarios, a prediction model for predicting the scheduling plan in the business scenario, that is, a second prediction model, can be trained. When training the second prediction model, the scheduling granularity in the corresponding business scenario is taken into consideration, and its basic network model is trained. For example, in some application scenarios, the scheduling plan only needs to consider the number of manual customer service staff, in some application scenarios, the scheduling plan needs to consider not only the number of manual customer service staff but also the business capabilities of manual customer service staff, and in some application scenarios, the number and business capabilities of manual customer service staff in different time periods need to be considered at the same time, etc. The basic network model after the training is completed is the second prediction model.
[0070] For different business scenarios, service data within the historical scheduling cycle can be collected and used as training samples. Scheduling plans with corresponding scheduling details can be labeled for the training samples. Taking the second application scenario mentioned above as an example, it is necessary to label the training samples with "the number of manual customer service staff + the label of the manual customer service staff". The label can represent the business capabilities of the corresponding manual customer service staff. For example, label 1 represents ordinary manual customer service, label 2 represents intermediate manual customer service, and label 3 represents advanced manual customer service. The business capabilities of ordinary manual customer service, intermediate manual customer service, and advanced manual customer service gradually increase.
[0071] The embodiment of the present invention can formulate a reasonable customer service scheduling system based on the service data in the next scheduling cycle and the working ability of manual customer service, so that customer service staff can carry out customer service work in an orderly manner while ensuring the efficient use of customer service resources and customer service quality.
[0072] Based on the artificial customer service intelligent scheduling method provided in the above embodiment, an embodiment of the present invention provides a device for executing the artificial customer service intelligent scheduling method. The structural diagram of the device is shown in FIG. Figure 4 As shown, including:
[0073] An acquisition module 10 is used to acquire service data of the manual customer service in different scheduling cycles, where the different scheduling cycles include historical scheduling cycles and current scheduling cycles, and the service data is used to characterize the workload of the manual customer service;
[0074] The scheduling module 20 is used to smooth the service data within the historical scheduling cycle and the service data within the current scheduling cycle, and input the smoothed service data into the first prediction model, which is trained based on the least squares method; obtain the predicted service data within the next scheduling cycle output by the first prediction model, and reversely process the predicted service data to obtain the target service data within the next scheduling cycle; generate the scheduling data within the next scheduling cycle according to the target service data.
[0075] Optionally, the scheduling module 20 for smoothing the service data in the historical scheduling period and the service data in the current scheduling period is specifically used to:
[0076] The moving average method is used to smooth the service data in the historical scheduling cycle and the service data in the current scheduling cycle.
[0077] Optionally, the scheduling module 20 for smoothing the service data in the historical scheduling cycle and the service data in the current scheduling cycle by using a moving average method is specifically used to:
[0078] The change period of the service data in the historical scheduling period and the service data in the current scheduling period is extracted; the change period is used as a parameter of the moving average method to smooth the service data in the historical scheduling period and the service data in the current scheduling period.
[0079] Optionally, the scheduling module 20 for performing reverse processing on the predicted service data to obtain target service data in the next scheduling period is specifically used for:
[0080] A target historical scheduling cycle that is in the same change cycle as the next scheduling cycle is determined in the historical scheduling cycle; and target service data is calculated based on service data in the target historical scheduling cycle, service data in the current scheduling cycle, predicted service data and the change cycle.
[0081] Optionally, the scheduling module 20 for generating scheduling data in the next scheduling period according to the target service data is specifically used to:
[0082] The target service data is input into a second prediction model, where the second prediction model is trained based on a machine learning algorithm; the scheduling data output by the second prediction model is obtained, where the scheduling data includes at least the number of manual customer service personnel in the next scheduling cycle.
[0083] It should be noted that the detailed functions of each module in the embodiment of the present invention can be found in the corresponding public part of the above-mentioned embodiment of the artificial customer service intelligent scheduling method, and will not be repeated here.
[0084] Based on the intelligent scheduling method for artificial customer service provided in the above embodiment, an embodiment of the present invention provides an electronic device, which includes: at least one memory and at least one processor; the memory stores a program, the processor calls the program stored in the memory, and the program is used to implement the intelligent scheduling method for artificial customer service.
[0085] Based on the artificial customer service intelligent scheduling method provided in the above embodiment, an embodiment of the present invention correspondingly provides a storage medium, in which computer executable instructions are stored, and the computer executable instructions are used to execute the artificial customer service intelligent scheduling method.
[0086] It should be noted that the method, device, electronic device and storage medium for intelligent scheduling of artificial customer service provided by the present invention can be used in the field of artificial intelligence or finance. The above is only an example and does not limit the application field of the method, device, electronic device and storage medium for intelligent scheduling of artificial customer service provided by the present invention.
[0087] The above is a detailed introduction to an artificial customer service intelligent scheduling method, device, electronic device and storage medium provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
[0088] It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.
[0089] It should also be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device that includes a series of elements is inherent to the elements, or also includes elements inherent to these processes, methods, articles or devices. In the absence of further restrictions, the elements defined by the sentence "including a..." do not exclude the presence of other identical elements in the process, method, article or device that includes the elements.
[0090] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for intelligent scheduling of artificial customer service, characterized in that: The method comprises: Acquire service data of a human customer service in different scheduling cycles, where the different scheduling cycles include a historical scheduling cycle and a current scheduling cycle, and the service data is used to characterize the workload of the human customer service; Smoothing the service data in the historical scheduling period and the service data in the current scheduling period, and inputting the smoothed service data into a first prediction model, where the first prediction model is obtained based on least squares training; Acquire predicted service data for the next scheduling period output by the first prediction model, and perform reverse processing on the predicted service data to obtain target service data for the next scheduling period; Generate scheduling data for the next scheduling period according to the target service data; The reverse processing of the predicted service data to obtain the target service data in the next scheduling period includes: Determine, in the historical scheduling cycle, a target historical scheduling cycle that is in the same change cycle as the next scheduling cycle; Calculate the target service data according to the service data in the target historical scheduling period, the service data in the current scheduling period, the predicted service data and the change period, combined with predicted service data = (∑ service data in the target historical scheduling period + service data in the current scheduling period + target service data) / moving window; The smoothing of the service data in the historical scheduling period and the service data in the current scheduling period includes: Extracting the service data in the historical scheduling period and the change period of the service data in the current scheduling period; The change period is used as a parameter of a moving average method, and the moving average method is used to smooth the service data in the historical scheduling period and the service data in the current scheduling period.
2. The method according to claim 1, characterized in that The generating the scheduling data in the next scheduling period according to the target service data includes: Inputting the target service data into a second prediction model, where the second prediction model is trained based on a machine learning algorithm; The scheduling data output by the second prediction model is obtained, and the scheduling data at least includes the number of manual customer service personnel in the next scheduling period.
3. An intelligent scheduling device for artificial customer service, characterized in that: The device comprises: An acquisition module, used to acquire service data of a human customer service in different scheduling cycles, wherein the different scheduling cycles include a historical scheduling cycle and a current scheduling cycle, and the service data is used to characterize the workload of the human customer service; A scheduling module, configured to smooth the service data in the historical scheduling cycle and the service data in the current scheduling cycle, and input the smoothed service data into a first prediction model, wherein the first prediction model is obtained by training based on the least square method; obtain the predicted service data in the next scheduling cycle output by the first prediction model, and reversely process the predicted service data to obtain the target service data in the next scheduling cycle; and generate the scheduling data in the next scheduling cycle according to the target service data; The scheduling module performs reverse processing on the predicted service data to obtain target service data in the next scheduling period, including: The scheduling module determines a target historical scheduling period in the historical scheduling period that is in the same change period as the next scheduling period; calculates the target service data according to the service data in the target historical scheduling period, the service data in the current scheduling period, the predicted service data and the change period, combined with predicted service data = (∑ service data in the target historical scheduling period + service data in the current scheduling period + target service data) / moving window; The scheduling module for smoothing the service data in the historical scheduling period and the service data in the current scheduling period is specifically used to: Extract the change period of the service data in the historical scheduling period and the service data in the current scheduling period; use the change period as a parameter of the moving average method, and use the moving average method to smooth the service data in the historical scheduling period and the service data in the current scheduling period.
4. An electronic device, characterized in that: The electronic device includes: at least one memory and at least one processor; the memory stores a program, and the processor calls the program stored in the memory, and the program is used to implement the artificial customer service intelligent scheduling method described in any one of claims 1-2.
5. A storage medium, characterized in that: The storage medium stores computer-executable instructions, and the computer-executable instructions are used to execute the artificial customer service intelligent scheduling method described in any one of claims 1-2.
