Scheduling method, device and equipment for bank cloud counter teller and computer program product
By using the time series autoregression model to estimate the number of customers' arrivals and the queueing theory model to construct a waiting time functional relationship, the problem of lack of intelligence and flexibility of remote counter scheduling in the existing technology is solved, efficient and intelligent cloud counter teller scheduling is achieved, and service efficiency and response capabilities are improved.
Patent Information
- Application Number
- CN202510145393.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-10
- Publication Date
- 2025-05-13
AI Technical Summary
The existing technology lacks efficient and intelligent scheduling solutions in remote counter scheduling, which is difficult to meet the complexity and diversity needs of online teller service scenarios, and it is difficult to quickly adapt to market changes or new trends in service needs.
By obtaining historical customer arrival data, using the time series autoregression model to estimate the number of customers in the future, and constructing a functional relationship between the number of tellers and the average waiting time of customers based on the queuing theory model. Finally, the integer planning problem of cloud counter teller scheduling is constructed and solved, and the number of cloud counter tellers in each scheduling time period will be determined.
It improves the scheduling efficiency and intelligent operation of remote counter services. Through accurate customer arrival estimates and optimized teller scheduling, the average waiting time for customers is reduced, and the flexibility and accuracy of service response capabilities are improved.
Smart Images

Figure CN119990661A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of financial technology, and in particular to a method, device, electronic equipment, and computer program product for scheduling tellers at a bank cloud counter. Background Art
[0002] In the process of exploring efficient scheduling solutions for remote counter (i.e. cloud counter) services of commercial banks, we are facing an urgent challenge: although the remote counter system is in its golden period of vigorous development, there is still a lack of efficient and innovative remote counter scheduling solutions. At present, the technical foundation in this field is mainly based on the scheduling of counter seats at outlets and remote counter scheduling based on experience.
[0003] The branch counter seat scheduling strategy focuses on the physical customer flow forecast and teller resource allocation in a specific geographical area or a single branch, and its focus is on the operation optimization of the physical space. Remote counter scheduling requires more comprehensive and sophisticated data integration and analysis to respond to a wide range of customer calls from the commercial bank's online channels and accurately match the service supply capabilities of the remote bank. This change in scheduling scenarios has brought the complexity and comprehensiveness of data integration to a new level.
[0004] Most existing scheduling methods still rely on the accumulation of expert experience or the application of classic algorithms, lack sufficient flexibility and intelligence, fail to fully meet the complexity and diversity of online teller service scenarios, and find it difficult to quickly adapt to market changes or new trends in service demand. Summary of the invention
[0005] The embodiments of the present application provide a method, device, electronic equipment, and computer program product for scheduling tellers at a bank cloud counter to achieve efficient scheduling and intelligent operation of remote counter services.
[0006] The present application embodiment adopts the following technical solutions:
[0007] In a first aspect, an embodiment of the present application provides a method for scheduling a teller at a bank cloud counter, the method comprising:
[0008] Get historical customer arrival data;
[0009] Determine an estimated number of customer arrivals in a future time period based on the historical customer arrival data and the time series autoregressive model;
[0010] According to the estimated number of customers arriving in the future time period and the service data of the cloud counter tellers, the functional relationship between the number of tellers and the average waiting time of customers is constructed based on the queuing theory model;
[0011] According to the functional relationship between the number of tellers and the average waiting time of customers, an integer programming problem for scheduling tellers at cloud counters is constructed;
[0012] The integer programming problem of the cloud counter teller scheduling is solved to obtain the number of cloud counter tellers in each future scheduling time period.
[0013] Optionally, determining the estimated value of the number of customer arrivals in a future time period based on the historical customer arrival data and the time series autoregressive model includes:
[0014] Based on the historical customer arrival data, using the time series autoregressive model to predict the number of customer arrivals per day in a future time period;
[0015] Perform statistical analysis on the historical customer arrival data to calculate the ratio of the number of customer arrivals in each time period of each day in the future to the total number of customer arrivals for the whole day;
[0016] Based on the number of customer arrivals each day in the future and the proportion of the number of customer arrivals in each time period of each day to the total number of customer arrivals for the day, calculate the estimated number of customer arrivals in each time period of each day in the future.
[0017] Optionally, predicting the number of daily customer arrivals in a future time period using the time series autoregressive model based on the historical customer arrival data includes:
[0018] Input the historical customer arrival data into the time series autoregressive model to obtain the probability distribution of the number of customer arrivals in the next X days output by the time series autoregressive model;
[0019] Average the probability distribution of the number of customers arriving in the next X days to get the number of customers arriving in the next X days;
[0020] Based on the historical customer arrival data and the number of customer arrivals in the next X days, the time series autoregressive model is used to perform Y rolling forecasts to obtain the number of customer arrivals in the next X*Y days.
[0021] Optionally, the estimated value of the number of customers arriving in the future time period includes the estimated value of the number of customers arriving in each time period of the future day, and the function relationship between the number of tellers and the average waiting time of customers is constructed based on the queuing theory model according to the estimated value of the number of customers arriving in the future time period and the service data of the tellers at the cloud counter, including:
[0022] Performing statistical analysis on the historical customer arrival data to determine the distribution characteristics of the number of customer incoming calls, the time interval between customer incoming calls, and the teller service time;
[0023] Determine the target queuing theory model based on the distribution characteristics of the number of customer calls, the time interval between customer calls, and the teller service time;
[0024] According to the estimated number of customers arriving in the future time period and the service data of the cloud counter tellers, the functional relationship between the number of tellers and the average waiting time of customers is constructed based on the target queuing theory model.
[0025] Optionally, the service data of the cloud counter teller includes the teller service time, and the function relationship between the number of tellers and the average waiting time of customers is constructed based on the target queuing theory model according to the estimated value of the number of customers arriving in the future time period and the service data of the cloud counter teller, including:
[0026] Determine the average number of incoming customer calls per second in each period based on the estimated number of customer arrivals in each period of the future day;
[0027] Performing statistical analysis on the historical customer arrival data to calculate the mean of teller service time;
[0028] According to the average number of incoming customer calls per second and the mean of teller service time in each time period, the functional relationship between the number of tellers and the average waiting time of customers is constructed based on the target queuing theory model.
[0029] Optionally, constructing an integer programming problem for cloud counter teller scheduling according to the functional relationship between the number of tellers and the average waiting time of customers includes:
[0030] Construct the loss function of the integer programming problem of cloud counter teller scheduling based on the number of tellers and the average waiting time of customers;
[0031] According to the functional relationship between the number of tellers and the average waiting time of customers, the upper limit of the number of tellers per day and the average waiting time of customers who are satisfied with the service, multiple constraints of the integer programming problem of cloud counter teller scheduling are constructed.
[0032] Optionally, the upper limit of the number of tellers per day is determined by:
[0033] determining a busiest time period based on the historical customer arrival data;
[0034] Determine an estimated number of customers arriving during the busiest period of the day based on the estimated number of customers arriving during the future period;
[0035] The upper limit of the number of tellers per day is determined based on the estimated number of customers arriving during the busiest period of the day, the average waiting time of customers who are satisfied with the service, and the functional relationship between the number of tellers and the average waiting time of customers.
[0036] In a second aspect, an embodiment of the present application further provides a scheduling device for a teller at a bank cloud counter, wherein the scheduling device for a teller at a bank cloud counter comprises:
[0037] An acquisition unit, used to acquire historical customer arrival data;
[0038] A determination unit, used to determine an estimated value of the number of customers arriving in a future time period based on the historical customer arrival data and a time series autoregressive model;
[0039] The first construction unit is used to construct a functional relationship between the number of tellers and the average waiting time of customers based on a queuing theory model according to the estimated number of customers arriving in a future time period and the service data of the cloud counter tellers;
[0040] The second construction unit is used to construct an integer programming problem for cloud counter teller scheduling according to the functional relationship between the number of tellers and the average waiting time of customers;
[0041] The solving unit is used to solve the integer programming problem of the cloud counter teller scheduling to obtain the number of cloud counter tellers in each future scheduling time period.
[0042] In a third aspect, an embodiment of the present application further provides a device, including:
[0043] A processor; and a memory arranged to store computer executable instructions, which, when executed, cause the processor to execute any of the aforementioned methods for scheduling tellers at a bank cloud counter.
[0044] In a fourth aspect, an embodiment of the present application further provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements any of the aforementioned methods for scheduling tellers at a bank cloud counter.
[0045] At least one of the above-mentioned technical solutions adopted in the embodiments of the present application can achieve the following beneficial effects: the scheduling method of bank cloud counter tellers in the embodiments of the present application first obtains historical customer arrival data; then, based on the historical customer arrival data and the time series autoregressive model, determines the estimated number of customer arrivals in the future time period; then, based on the estimated number of customer arrivals in the future time period and the service data of the cloud counter tellers, constructs a functional relationship between the number of tellers and the average waiting time of customers based on the queuing theory model; then, based on the functional relationship between the number of tellers and the average waiting time of customers, constructs an integer programming problem for scheduling cloud counter tellers; finally, solves the integer programming problem for scheduling cloud counter tellers to obtain the number of cloud counter tellers in each future scheduling time period. The scheduling method for tellers at cloud counters of banks in the embodiment of the present application targets the traffic characteristics of cloud counters and the response status of remote counter services of the entire commercial bank, organizes data and mines features, models and estimates the number of customers based on a time series autoregressive model, evaluates the uncertainty of the prediction and related risks, and improves the accuracy of the prediction results; performs optimization solution based on a queuing theory model, constructs a mathematical relationship between the average waiting time and the number of tellers, abstracts the remote counter seat scheduling problem into a nonlinear programming problem, and calculates feasible combination solutions. Compared with simple machine learning and neural network solutions, the method is more suitable for queuing problems, has strong interpretability, and has higher accuracy in calculation results. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0047] Figure 1 A flow chart of a method for scheduling tellers at a bank cloud counter in an embodiment of the present application;
[0048] Figure 2 A frequency statistical distribution diagram of an incoming call time interval in an embodiment of the present application;
[0049] Figure 3 This is a structural schematic diagram of a scheduling device for a bank cloud counter teller in an embodiment of the present application;
[0050] Figure 4 This is a schematic diagram of the structure of a device in an embodiment of the present application. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0052] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.
[0053] The present application embodiment provides a method for scheduling tellers at a bank cloud counter, such as Figure 1 As shown, a flow chart of a method for scheduling a teller at a bank cloud counter in an embodiment of the present application is provided. The method for scheduling a teller at a bank cloud counter includes at least the following steps S110 to S150:
[0054] Step S110, obtaining historical customer arrival data.
[0055] When scheduling tellers at a bank cloud counter, the embodiment of the present application needs to first obtain customer arrival data for a period of time in the past (such as the past three years) from the bank's database. Customer arrival data refers to data on customers calling into the bank cloud counter. These data may include key information such as the customer's arrival time and arrival date, which serves as the basis for subsequent predictions and analysis.
[0056] Step S120, determining an estimated value of the number of customer arrivals in a future time period based on the historical customer arrival data and the time series autoregressive model.
[0057] The embodiment of the present application pre-trains a time series autoregressive model based on a recurrent neural network. When using the time series autoregressive model to predict the number of customer arrivals in a future period of time, the historical customer arrival data can be pre-processed first. For example, the historical customer arrival data can be converted into time series data and subjected to sliding window processing. The data after the sliding window processing can then be used as the input of the time series autoregressive model, so that the time series autoregressive model can predict the number of customer arrivals in the future period of time.
[0058] Compared with traditional neural networks, the time series autoregressive model used in the embodiment of the present application can evaluate the uncertainty and related risks of the prediction, thereby improving the accuracy of the prediction.
[0059] Step S130, based on the estimated number of customers arriving in the future time period and the service data of the cloud counter tellers, a functional relationship between the number of tellers and the average waiting time of customers is constructed based on the queuing theory model.
[0060] After obtaining the estimated number of customers arriving in the future, it is necessary to use this data and the service data of the cloud counter tellers (such as the service time of each teller, etc.) to construct the functional relationship between the number of tellers and the average waiting time of customers. This functional relationship needs to be constructed based on the queuing theory model, which is a mathematical theory and method for studying queuing phenomena in service systems. In this step, by considering the number of incoming customer calls and the average waiting time of customers, the queuing theory model is used to calculate the average waiting time of customers under different numbers of tellers, thereby constructing the functional relationship between the number of tellers and the average waiting time of customers.
[0061] Step S140, constructing an integer programming problem for cloud counter teller scheduling based on the functional relationship between the number of tellers and the average waiting time of customers.
[0062] After obtaining the functional relationship between the number of tellers and the average waiting time of customers, it is necessary to construct an integer programming problem for cloud counter teller scheduling based on this functional relationship. Integer programming is a special mathematical programming problem that requires the values of variables to be integers. In this step, a loss function (such as the minimum number of tellers corresponding to the average waiting time of customers who are satisfied with the business) and a series of constraints (such as the upper limit of the number of tellers, the limit on customer waiting time, etc.) can be constructed based on the functional relationship between the number of tellers and the average waiting time of customers, and then an integer programming problem can be constructed based on these conditions. The solution to this problem is the number of cloud counter tellers in each future scheduling time period.
[0063] Step S150, solving the integer programming problem of the cloud counter teller scheduling to obtain the number of cloud counter tellers in each future scheduling time period.
[0064] After constructing the integer programming problem, an appropriate solution algorithm is needed to solve the problem. The result of the solution is the number of cloud counter tellers in each future scheduling period. This result is based on historical data and prediction models, and aims to optimize teller scheduling, improve service efficiency, and reduce customer waiting time.
[0065] The above-mentioned solution algorithm can be implemented, for example, using a classical solution algorithm such as a gradient descent method, Newton's method, etc. The specific solution algorithm to be adopted can be flexibly selected by those skilled in the art according to actual needs, and no specific limitation is made here.
[0066] The scheduling method for tellers at cloud counters of banks in the embodiment of the present application targets the traffic characteristics of cloud counters and the response status of remote counter services of the entire commercial bank, organizes data and mines features, models and estimates the number of customers based on a time series autoregressive model, evaluates the uncertainty of the prediction and related risks, and improves the accuracy of the prediction results; performs optimization solution based on a queuing theory model, constructs a mathematical relationship between the average waiting time and the number of tellers, abstracts the remote counter seat scheduling problem into a nonlinear programming problem, and calculates feasible combination solutions. Compared with simple machine learning and neural network solutions, the method is more suitable for queuing problems, has strong interpretability, and has higher accuracy in calculation results.
[0067] In some embodiments of the present application, the time series autoregressive model can be trained in the following manner: the historical customer arrival data is processed, the number of customers arriving at the cloud counter every day is counted, the number of customers arriving every day is converted into time series data, and sliding window processing is performed to convert all the time series data into sliding window data, wherein the size of the sliding window is set to 30 days, for example, and the step length is set to 5 days, for example. The sliding window data is divided into a training set, a validation set, and a test set in a ratio of 3:3:1 in order as model training test data.
[0068] After preparing the model training test data, call the time series autoregressive model interface, and the time series autoregressive model requests the required data from the historical database for training model parameters, obtains the neural network weights, and solidifies the model weights. During the model training process, the automatic hyperparameter search technology can be used to find the best hyperparameters of the model through the Bayesian optimization algorithm to minimize the model loss function loss of the verification test set, and finally obtain a time series autoregressive model that meets the use requirements.
[0069] In some embodiments of the present application, determining the estimated value of the number of customer arrivals in a future time period based on the historical customer arrival data and the time series autoregressive model includes: predicting the number of customer arrivals per day in a future time period based on the historical customer arrival data using the time series autoregressive model; performing statistical analysis on the historical customer arrival data to calculate the ratio of the number of customer arrivals in each time period of each day in the future to the number of customer arrivals for the entire day; calculating the estimated value of the number of customer arrivals in each time period of each day in the future based on the number of customer arrivals in the future and the ratio of the number of customer arrivals in each time period of each day to the number of customer arrivals for the entire day.
[0070] The estimated value of the number of customers arriving in the future time period defined in the embodiment of the present application may refer to the estimated value of the number of customers arriving in each time period in the future. The estimation of the number of customers arriving in each time period in the future may be implemented in the following two aspects:
[0071] On the one hand, by processing the sliding window data of historical customer arrival data using the time series autoregression model, the number of customer arrivals per day in the future time period can be predicted as result A. That is, the number of customer arrivals predicted by the time series autoregression model is the prediction result of the daily dimension.
[0072] On the other hand, by conducting statistical analysis on the historical data of daily calls received by the cloud cabinet system, we can calculate the ratio of the number of customers calling into the cloud cabinet system in each period to the total number of customers for the whole day. Using samples over a period of time, such as the past year, we can calculate the average ratio of the number of customers connected in each period to the total number of customers for the whole day, and obtain result B.
[0073] Based on the above two aspects, the time series autoregression model can achieve a relatively coarse-grained prediction of the number of future customer arrivals. The statistical analysis algorithm is used to perform statistical analysis on historical data, and it can be found that the proportion of customer inbound calls in each period of each day is relatively stable. For example, the busy period usually occurs between 9:30 and 10:30 every day, and the number of inbound customers accounts for about 8.9% of the total number of calls throughout the day. In this way, the coarse-grained estimate of the number of future customer arrivals and the fine-grained proportion of customer inbound calls obtained by statistical analysis, that is, using result A*result B, can be used to obtain the estimated value of the number of customer arrivals in each period of each day in the future.
[0074] Compared with the method of directly training the model to predict the fine-grained number of customer arrivals, the above implementation method can greatly reduce the data requirements for model training. By combining a simple statistical analysis algorithm, it fully utilizes the relatively stable proportion of customer incoming calls and improves the accuracy and efficiency of the prediction.
[0075] In some embodiments of the present application, predicting the number of customer arrivals per day in a future time period based on the historical customer arrival data using the time series autoregressive model includes: inputting the historical customer arrival data into the time series autoregressive model to obtain the probability distribution of the number of customer arrivals in the next X days output by the time series autoregressive model; averaging the probability distribution of the number of customer arrivals in the next X days to obtain the number of customer arrivals in the next X days; and performing Y rolling predictions based on the historical customer arrival data and the number of customer arrivals in the next X days using the time series autoregressive model to obtain the number of customer arrivals in the next X*Y days.
[0076] For the prediction of future data, the current mainstream machine learning methods are neural networks such as recursive neural networks (RNN) and long short-term memory networks (LSTM). Unlike ordinary feedforward neural networks, recursive neural networks can use time series to analyze inputs. That is, ordinary neural networks will think that the input content at time t is completely unrelated to the input content at time t+1, while recursive neural networks will treat the output value x at time t-1 as the output value x at time t-1. t-1 is copied to time t, and the input x at time t t After integration, the output is formed after passing through an activation function with weights and biases. Similarly, LSTM is based on recurrent neural networks and adds gate control to solve long-term dependency problems.
[0077] The time series autoregression model used in the embodiment of the present application is similar to the above-mentioned scheme, but the difference is that the time series autoregression model used in the embodiment of the present application does not simply output a certain prediction value directly, but outputs a probability distribution of the prediction value.
[0078] Specifically, the time series autoregression model is used to perform autoregressive prediction on the probability parameters of the time series of the number of customers per day, and the probability distribution of the predicted number of customers arriving in the next X days is output and the confidence interval of the prediction is given on this basis. The average value of the probability distribution is taken as the number of customers arriving in the next X days. Repeat the previous step Y times, and roll-forward the time series of the number of customers arriving in the next X*Y days to obtain the predicted number of customers arriving every day in the future.
[0079] The probability distribution of the predicted value output by the time series autoregressive model adopted in the embodiment of the present application, on the one hand, takes into account that many processes themselves have random properties, and therefore the output probability distribution is closer to the essence and the prediction accuracy will be higher; on the other hand, the uncertainty of the prediction and the related risks can be evaluated, thereby further improving the prediction accuracy.
[0080] In some embodiments of the present application, the estimated value of the number of customers arriving in the future time period includes the estimated value of the number of customers arriving in each time period of each day in the future, and constructing the functional relationship between the number of tellers and the average waiting time of customers based on the queuing theory model according to the estimated value of the number of customers arriving in the future time period and the service data of the tellers at the cloud counter includes: performing statistical analysis on the historical customer arrival data to determine the distribution characteristics of the number of customer incoming calls, the time interval between customer incoming calls, and the service time of the tellers; determining the target queuing theory model according to the distribution characteristics of the number of customer incoming calls, the time interval between customer incoming calls, and the service time of the tellers; constructing the functional relationship between the number of tellers and the average waiting time of customers based on the target queuing theory model according to the estimated value of the number of customers arriving in the future time period and the service data of the tellers at the cloud counter.
[0081] Traditional queuing theory provides a mathematical model for service-type queues. In the embodiment of the present application, the cloud counter service conforms to the M / G / C model, where M represents the number of incoming customer calls and conforms to the Poisson distribution. It can be seen that the interval between customer incoming calls obeys the exponential distribution. G represents the general distribution. In the embodiment of the present application, it can be determined from the data statistical dimension that the teller service time conforms to the k-order Erlang distribution. C represents the number of counters. In the embodiment of the present application, C represents the number of tellers.
[0082] The distribution characteristics of the two random variables, customer call time interval and teller service time, can be obtained through historical data statistics. Taking the call time interval as an example, a frequency statistical distribution graph with a bin interval of 1 second in each group as the x-axis is drawn. By observing the frequency statistical distribution graph, it is found that the distribution of the random variable time interval distribution conforms to the exponential distribution. Figure 2 As shown, a frequency statistical distribution diagram of the incoming call time interval in an embodiment of the present application is provided.
[0083] There are two methods to detect the distribution. One method is to compare the sample data distribution and the QQ graph of the theoretical distribution. If the sample point is close to the theoretical value, it means that it conforms to the distribution. Another method is to use a non-parametric test to compare the sample distribution with the theoretical distribution through statistical judgment. Of course, the specific verification method can be flexibly selected by those skilled in the art according to actual needs, and no specific limitation is made here.
[0084] The verification of the time interval of customer incoming calls is consistent with the above statistical detection method, indicating that the use of the queuing theory model M / G / C is in line with the actual situation. Therefore, we can combine the estimated number of customers arriving in the future and the service time of cloud counter tellers and other data to build a functional relationship between the number of tellers and the average waiting time of customers based on the M / G / C model.
[0085] In some embodiments of the present application, the service data of the cloud counter teller includes the teller service time, and the functional relationship between the number of tellers and the average waiting time of customers is constructed based on the target queuing theory model according to the estimated number of customers arriving in the future time period and the service data of the cloud counter teller, including: determining the average number of customer incoming calls per second in each time period according to the estimated number of customers arriving in each time period every day in the future; performing statistical analysis on the historical customer arrival data to calculate the mean of the teller service time; and constructing the functional relationship between the number of tellers and the average waiting time of customers based on the target queuing theory model according to the average number of customer incoming calls per second in each time period and the mean of the teller service time.
[0086] When constructing the functional relationship between the number of tellers and the average waiting time of customers based on the M / G / C model, we first divide the estimated number of customers arriving in each period by the time, that is, the average number of customer calls per second in each period, to ensure the uniformity of subsequent calculation standards. Assume that this value is λ, that is, the customer call time interval obeys the coefficient In addition, the mean value μ of the teller’s service time can also be calculated based on historical data.
[0087] According to the calculation formula of queuing theory, the average waiting time of customers and the number of tellers form a functional relationship, which is as follows:
[0088]
[0089] Among them, υ is the coefficient of variation of teller service time, L q is the average queue length, L s is the number of customers in the system, ρ i is the service intensity of the cloud counter at the i-th moment, n i is the number of counters (i.e., the number of tellers) at the i-th moment, λ i is the arrival rate at the i-th moment (i.e., the number of customers arriving per unit time), μ i is the service rate at the i-th moment (i.e., the mean service time of the teller), is the average waiting time of the M / M / r queuing system with various parameters substituted into the i-th moment.
[0090] By substituting the number of tellers into the above formula, we can get the number of tellers (n i ) and the average customer waiting time (t i )’s function value relationship.
[0091] In some embodiments of the present application, constructing the integer programming problem of cloud counter teller scheduling based on the functional relationship between the number of tellers and the average waiting time of customers includes: constructing a loss function of the integer programming problem of cloud counter teller scheduling based on the number of tellers and the average waiting time of customers; constructing multiple constraints of the integer programming problem of cloud counter teller scheduling based on the functional relationship between the number of tellers and the average waiting time of customers, the daily upper limit of the number of tellers, and the average waiting time of customers who are satisfied with the service.
[0092] Arranging the number of tellers for each time period of the day will evolve into an integer programming problem. In this problem, the variable can be, for example, the number of working hours allocated to each of the 21 time slots of a day (such as working hours 8:30-19:00, each half hour is a slot), that is, the number of tellers.
[0093] First, construct the loss function of the integer programming problem, which can be expressed as follows:
[0094]
[0095] Among them, a is the penalty coefficient for the number of tellers, and b is the penalty coefficient for customer waiting time, which can be customized by the business party.
[0096] Then, based on the upper limit of the number of tellers per day, the following constraints can be further constructed:
[0097] n i ≤N, (8)
[0098]
[0099] n i ·μ i ≥λ i , (10)
[0100]
[0101] t i ≤T, (12)
[0102] Among them, N is the upper limit of the number of tellers per day, n i is the number of tellers assigned to each time slot. Therefore, the constraint of formula (8) is that the number of tellers assigned to each time slot cannot exceed the upper limit of the number of tellers per day.
[0103] Since a time period is divided into two time slots, a working day has 16 working time slots calculated according to 8 working time slots. The number of tellers assigned to each time slot cannot exceed the upper limit of the number of tellers per day. Therefore, the constraint condition of formula (9) is that the sum of the number of tellers assigned to all time slots cannot exceed 16 times the upper limit of the number of tellers per day. Of course, in actual application, the multiple of N in formula (9) can be adaptively adjusted according to the number of time slots.
[0104] λ i is the number of customers arriving in each half period, μ i is the average service time of the teller in each half period. To ensure that the waiting line does not always increase, the constraint condition of the above formula (10) needs to be met.
[0105] Formula (11) is an integer constraint, because the final solution n i is the number of tellers, so it needs to satisfy the integer constraint.
[0106] t i is the average waiting time of customers in each half period, and T is the maximum waiting time of customers that the business can tolerate. Therefore, the constraint of formula (12) is that the average waiting time of customers in each half period cannot exceed the maximum waiting time of customers that the business can tolerate.
[0107] Solving the above planning problem can obtain the optimal daily teller scheduling, that is, Minimum, t is known through the queuing theory formula i Yes i function, so the global optimal solution can be found, which is the total scheduling combination formed by selecting the optimal number of people in each time period.
[0108] Assume that the optimal number of tellers in each period is but Optimal The following conditions must be met:
[0109]
[0110] After expanding the formula, we get:
[0111]
[0112] Can be transformed into:
[0113]
[0114] That is, in each period, we find To satisfy the above formula, the This can form the optimal scheduling of tellers.
[0115] In some embodiments of the present application, the daily upper limit of the number of tellers is determined by: determining the busiest time period based on the historical customer arrival data; determining an estimated number of customer arrivals during the daily busiest time period based on the estimated number of customer arrivals in the future time period; determining the daily upper limit of the number of tellers based on the estimated number of customer arrivals during the daily busiest time period and the average waiting time of satisfied customers, as well as a functional relationship between the number of tellers and the average waiting time of customers.
[0116] By conducting statistical analysis on historical data, we can determine the busiest time of the day. For example, the busiest time is generally between 9:30 and 10:30 a.m., when the number of incoming customers accounts for approximately 8.9% of the total number of customers for the entire day. The estimated number of customers during this time period is an important data for estimating the upper limit of the number of tellers for that day.
[0117] Assuming that the average waiting time of customers who are satisfied with the service is T, the minimum number of tellers that meets T can be selected from the functional relationship between the number of tellers and the average waiting time of customers obtained in the above embodiment. In this way, the minimum number of tellers required per day to meet the business requirements can be calculated, thereby completing the calculation of the daily upper limit N of the number of tellers for the next month.
[0118] The embodiment of the present application also provides a scheduling device 300 for a teller at a bank cloud counter, such as Figure 3 As shown, a schematic diagram of the structure of a scheduling device for a bank cloud counter teller in an embodiment of the present application is provided, wherein the scheduling device 300 for a bank cloud counter teller includes: an acquisition unit 310, a determination unit 320, a first construction unit 330, a second construction unit 340, and a solution unit 350, wherein:
[0119] An acquisition unit 310 is used to acquire historical customer arrival data;
[0120] A determination unit 320, configured to determine an estimated value of the number of customer arrivals in a future time period based on the historical customer arrival data and a time series autoregressive model;
[0121] The first construction unit 330 is used to construct a functional relationship between the number of tellers and the average waiting time of customers based on a queuing theory model according to the estimated number of customers arriving in the future time period and the service data of the cloud counter tellers;
[0122] The second construction unit 340 is used to construct an integer programming problem for cloud counter teller scheduling according to the functional relationship between the number of tellers and the average waiting time of customers;
[0123] The solving unit 350 is used to solve the integer programming problem of the cloud counter teller scheduling to obtain the number of cloud counter tellers in each future scheduling time period.
[0124] In some embodiments of the present application, the determination unit 320 is specifically used to: predict the number of customer arrivals per day in a future time period based on the historical customer arrival data using the time series autoregressive model; perform statistical analysis on the historical customer arrival data to calculate the proportion of the number of customer arrivals in each time period of each day in the future to the number of customer arrivals for the entire day; calculate an estimated value of the number of customer arrivals in each time period of each day in the future based on the number of customer arrivals in the future and the proportion of the number of customer arrivals in each time period of each day to the number of customer arrivals for the entire day.
[0125] In some embodiments of the present application, the determination unit 320 is specifically used to: input the historical customer arrival data into the time series autoregressive model to obtain the probability distribution of the number of customer arrivals in the next X days output by the time series autoregressive model; average the probability distribution of the number of customer arrivals in the next X days to obtain the number of customer arrivals in the next X days; based on the historical customer arrival data and the number of customer arrivals in the next X days, use the time series autoregressive model to perform Y rolling forecasts to obtain the number of customer arrivals in the next X*Y days.
[0126] In some embodiments of the present application, the estimated value of the number of customers arriving in the future time period includes the estimated value of the number of customers arriving in each time period of each day in the future, and the first construction unit 330 is specifically used to: perform statistical analysis on the historical customer arrival data to determine the distribution characteristics of the number of customer incoming calls, the time interval between customer incoming calls, and the service time of tellers; determine the target queuing theory model based on the distribution characteristics of the number of customer incoming calls, the time interval between customer incoming calls, and the service time of tellers; construct a functional relationship between the number of tellers and the average waiting time of customers based on the target queuing theory model according to the estimated value of the number of customers arriving in the future time period and the service data of the cloud counter tellers.
[0127] In some embodiments of the present application, the service data of the cloud counter teller includes the teller service time, and the first construction unit 330 is specifically used to: determine the average number of customer incoming calls per second in each time period based on the estimated number of customer arrivals in each time period every day in the future; perform statistical analysis on the historical customer arrival data to calculate the mean of the teller service time; and construct a functional relationship between the number of tellers and the average waiting time of customers based on the target queuing theory model according to the average number of customer incoming calls per second in each time period and the mean of the teller service time.
[0128] In some embodiments of the present application, the second construction unit 340 is specifically used to: construct a loss function for the integer programming problem of cloud counter teller scheduling based on the number of tellers and the average waiting time of customers; construct multiple constraints for the integer programming problem of cloud counter teller scheduling based on the functional relationship between the number of tellers and the average waiting time of customers, the daily upper limit of the number of tellers, and the average waiting time of customers who are satisfied with the service.
[0129] In some embodiments of the present application, the daily upper limit of the number of tellers is determined by: determining the busiest time period based on the historical customer arrival data; determining an estimated number of customer arrivals during the daily busiest time period based on the estimated number of customer arrivals in the future time period; determining the daily upper limit of the number of tellers based on the estimated number of customer arrivals during the daily busiest time period and the average waiting time of satisfied customers, as well as a functional relationship between the number of tellers and the average waiting time of customers.
[0130] It can be understood that the above-mentioned scheduling device for bank cloud counter tellers can implement the various steps of the scheduling method for bank cloud counter tellers provided in the aforementioned embodiments. The relevant explanations on the scheduling method for bank cloud counter tellers are applicable to the scheduling device for bank cloud counter tellers and will not be repeated here.
[0131] Figure 4 Schematic diagram of the structure of a device in the embodiment of the present application. Figure 4 As shown, the device includes one or more processors (or processing units), may further include one or more memories coupled to the processors, and may further include a communication module coupled to the processors.
[0132] The communication module can be used to communicate with other devices or apparatuses, such as the transmission or reception of data and / or signals. The communication module can have at least one communication module for communication. The communication module can include any interface necessary for communicating with other devices. Exemplarily, the communication module can be a transceiver, a circuit, a bus, a module, or other types of communication modules.
[0133] The processor may include, but is not limited to, at least one of the following: a general-purpose computer, a special-purpose computer, a microcontroller, a digital signal controller (DSP), or one or more of a controller-based multi-core controller architecture. The device may have multiple processors, such as application-specific integrated circuit chips, which are time-dependent and synchronized with a clock of a main processor.
[0134] The memory may include one or more non-volatile memories and one or more volatile memories. Examples of non-volatile memories include, but are not limited to, at least one of the following: read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, hard disk, compact disc (CD), digital video disc (DVD), or other magnetic storage and / or optical storage. Examples of volatile memories include, but are not limited to, at least one of the following: random access memory (RAM), or other volatile memories that do not persist during the duration of a power outage.
[0135] The computer program includes computer executable instructions executed by an associated processor. The program can be stored in ROM. The processor can perform any suitable actions and processes by loading the program into RAM.
[0136] The possible implementation of the present application can be implemented by means of a program, so that the communication device can perform any process discussed in the above embodiments. The possible implementation of the present application can also be implemented by hardware or by a combination of software and hardware.
[0137] In some embodiments, the program may be tangibly contained in a computer-readable storage medium, which may be included in the device (such as in a memory) or other storage device accessible by the device. The program may be loaded from the computer-readable storage medium to the RAM for execution. The computer-readable storage medium may include any type of tangible non-volatile memory, such as ROM, EPROM, flash memory, hard disk, CD, DVD, etc.
[0138] The present application embodiment also provides a computer-readable storage medium, on which computer instructions or program codes are stored, and when the processor runs the instructions or the program codes, the processor executes the methods and functions involved in any of the above embodiments. Computer-readable media can be any tangible medium containing or storing programs for or related to instruction execution systems, devices or equipment. Computer-readable media can be computer-readable signal media or computer-readable storage media. Computer-readable media can include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or devices, or any suitable combination thereof. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media integrations. More detailed examples of computer-readable storage media include electrical connections with one or more wires, magnetic media (e.g., disks, floppy disks, hard disks, tapes, magnetic storage devices), optical media (e.g., optical storage devices, DVDs), semiconductor media (e.g., solid-state hard drives), random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), or any suitable combination thereof, etc.
[0139] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The embodiment of the present application also provides at least one computer program product tangibly stored on a non-temporary computer-readable storage medium. The computer program product includes one or more computer executable instructions, such as instructions included in a program module, which are executed in a device on a real or virtual processor of the target to perform the process, method and function involved in any of the above embodiments. When the computer program instruction is loaded and executed on a computer, a process or function according to an embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instruction can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instruction can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center.
[0140] The present application embodiment also proposes a computer program product, including a computer program or instruction, when the computer program or instruction is run on a computer, the computer is made to perform the process, method and function in the above-mentioned embodiment. Usually, a program module includes routines, programs, libraries, objects, classes, components, data structures, etc. that perform specific tasks or realize specific abstract data types. In various embodiments, the functions of program modules can be combined or divided between program modules as needed. Machine executable instructions for program modules can be executed in local or distributed devices. In distributed devices, program modules can be located in local and remote storage media.
[0141] In general, various embodiments of the present application may be implemented in hardware or dedicated circuits, software, logic, or any combination thereof. Some aspects may be implemented in hardware, while other aspects may be implemented in firmware or software, which may be performed by a controller, microprocessor, or other computing device. Although various aspects of the embodiments of the present disclosure are shown and described as block diagrams, flow charts, or using some other graphical representations, it should be understood that the boxes, devices, systems, techniques, or methods described herein may be implemented as, for example, non-limiting examples, hardware, software, firmware, dedicated circuits or logic, general hardware or controllers or other computing devices, or some combination thereof.
[0142] It should be noted that although the embodiments of the present application are described above in conjunction with the accompanying drawings, the above embodiments are not independent of each other, and they can also be combined to obtain other embodiments. The division of the modes, situations, categories and embodiments in the embodiments of the present application is only for the convenience of description and should not constitute a special limitation. The features in the various modes, categories, situations and embodiments can be combined with each other in a logical manner. The various implementation methods of the present application can be combined arbitrarily to achieve different technical effects. The embodiments of the present application no longer list various combinations.
[0143] In addition, although the operation of the method of the present disclosure is described in a particular order in the accompanying drawings, this does not require or imply that these operations must be performed in this particular order, or that all the operations shown must be performed to achieve the desired result. On the contrary, the steps depicted in the flow chart can change the order of execution. Additionally or alternatively, some steps can be omitted, multiple steps can be combined into one step for execution, and / or one step can be decomposed into multiple steps for execution. It should also be noted that the features and functions of two or more devices according to the present disclosure can be embodied in one device. Conversely, the features and functions of a device described above can be further divided into being embodied by multiple devices.
[0144] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0145] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A method for scheduling tellers at a bank cloud counter, characterized in that: The scheduling method of the bank cloud counter teller includes: Get historical customer arrival data; Determine an estimated number of customer arrivals in a future time period based on the historical customer arrival data and the time series autoregressive model; According to the estimated number of customers arriving in the future time period and the service data of the cloud counter tellers, the functional relationship between the number of tellers and the average waiting time of customers is constructed based on the queuing theory model; According to the functional relationship between the number of tellers and the average waiting time of customers, an integer programming problem for scheduling tellers at cloud counters is constructed; The integer programming problem of the cloud counter teller scheduling is solved to obtain the number of cloud counter tellers in each future scheduling time period.
2. The method for dispatching tellers at a bank cloud counter according to claim 1, characterized in that: Determining the estimated value of the number of customers arriving in a future time period based on the historical customer arrival data and the time series autoregressive model includes: Based on the historical customer arrival data, using the time series autoregressive model to predict the number of customer arrivals per day in a future time period; Perform statistical analysis on the historical customer arrival data to calculate the ratio of the number of customer arrivals in each time period of each day in the future to the total number of customer arrivals for the whole day; Based on the number of customer arrivals each day in the future and the proportion of the number of customer arrivals in each time period of each day to the total number of customer arrivals for the day, calculate the estimated number of customer arrivals in each time period of each day in the future.
3. The method for dispatching bank cloud counter tellers according to claim 2, characterized in that: The method of predicting the number of daily customer arrivals in a future time period using the time series autoregressive model based on the historical customer arrival data includes: Input the historical customer arrival data into the time series autoregressive model to obtain the probability distribution of the number of customer arrivals in the next X days output by the time series autoregressive model; Average the probability distribution of the number of customers arriving in the next X days to get the number of customers arriving in the next X days; Based on the historical customer arrival data and the number of customer arrivals in the next X days, the time series autoregressive model is used to perform Y rolling forecasts to obtain the number of customer arrivals in the next X*Y days.
4. The method for dispatching bank cloud counter tellers according to claim 1, characterized in that: The estimated value of the number of customers arriving in the future time period includes the estimated value of the number of customers arriving in each time period in the future. The function relationship between the number of tellers and the average waiting time of customers is constructed based on the queuing theory model according to the estimated value of the number of customers arriving in the future time period and the service data of the cloud counter tellers, including: Performing statistical analysis on the historical customer arrival data to determine the distribution characteristics of the number of customer incoming calls, the time interval between customer incoming calls, and the teller service time; Determine the target queuing theory model based on the distribution characteristics of the number of customer calls, the time interval between customer calls, and the teller service time; According to the estimated number of customers arriving in the future time period and the service data of the cloud counter tellers, the functional relationship between the number of tellers and the average waiting time of customers is constructed based on the target queuing theory model.
5. The method for dispatching tellers at a bank cloud counter according to claim 4 is characterized in that: The service data of the cloud counter teller includes the teller service time. The function relationship between the number of tellers and the average waiting time of customers is constructed based on the target queuing theory model according to the estimated number of customers arriving in the future time period and the service data of the cloud counter teller. The function relationship includes: Determine the average number of incoming customer calls per second in each period based on the estimated number of customer arrivals in each period of the future day; Performing statistical analysis on the historical customer arrival data to calculate the mean of teller service time; According to the average number of incoming customer calls per second and the mean of teller service time in each time period, the functional relationship between the number of tellers and the average waiting time of customers is constructed based on the target queuing theory model.
6. The method for dispatching bank cloud counter tellers according to claim 4, characterized in that: The integer programming problem of constructing cloud counter teller scheduling based on the functional relationship between the number of tellers and the average waiting time of customers includes: Construct the loss function of the integer programming problem of cloud counter teller scheduling based on the number of tellers and the average waiting time of customers; According to the functional relationship between the number of tellers and the average waiting time of customers, the upper limit of the number of tellers per day and the average waiting time of customers who are satisfied with the service, multiple constraints of the integer programming problem of cloud counter teller scheduling are constructed.
7. The method for dispatching bank cloud counter tellers according to claim 6, characterized in that: The upper limit of the number of tellers per day is determined as follows: determining a busiest time period based on the historical customer arrival data; Determine an estimated number of customers arriving during the busiest period of the day based on the estimated number of customers arriving during the future period; The upper limit of the number of tellers per day is determined based on the estimated number of customers arriving during the busiest period of the day, the average waiting time of customers who are satisfied with the service, and the functional relationship between the number of tellers and the average waiting time of customers.
8. A scheduling device for bank cloud counter tellers, characterized in that: The scheduling device for the bank cloud counter teller includes: An acquisition unit, used to acquire historical customer arrival data; A determination unit, used to determine an estimated value of the number of customers arriving in a future time period based on the historical customer arrival data and a time series autoregressive model; The first construction unit is used to construct a functional relationship between the number of tellers and the average waiting time of customers based on a queuing theory model according to the estimated number of customers arriving in a future time period and the service data of the cloud counter tellers; The second construction unit is used to construct an integer programming problem for cloud counter teller scheduling according to the functional relationship between the number of tellers and the average waiting time of customers; The solving unit is used to solve the integer programming problem of the cloud counter teller scheduling to obtain the number of cloud counter tellers in each future scheduling time period.
9. A device comprising: processor; And a memory arranged to store computer executable instructions, which, when executed, cause the processor to execute the bank cloud counter teller scheduling method described in any one of claims 1 to 7.
10. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the method for scheduling bank cloud counter tellers as described in any one of claims 1 to 7 is implemented.