Intelligent scheduling method, device and equipment for bank personnel
Through the intelligent scheduling method, the business volume prediction model and the branch-and-bound method are used to generate the optimal scheduling results for banking business, solving the problems of traditional manual scheduling that is time-consuming, labor-intensive and unsatisfactory with demand, and achieving scientific and balanced allocation of human resources. Flexible adjustment.
Patent Information
- Application Number
- CN202410526397.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-29
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-04-29
AI Technical Summary
The traditional manual shift scheduling method is time-consuming and labor-intensive when processing banking business, and it is difficult to meet the needs of different time periods and business teams. It is easy to schedule wrong shifts and cannot effectively allocate human resources in a balanced manner.
Adopt an intelligent scheduling method, obtain historical business volume data, use linear regression model, gradient boosting tree model and deep neural network model to predict business volume, determine the influencing factors based on scheduling requirements and convert them into constraint equations, and use the branch and bound method Solve to generate optimal shift results.
It can automatically generate future shift results, allocate human resources in a scientific and balanced manner, reduce errors, save the bank's manual shift time, improve shift efficiency and accuracy, and be able to flexibly respond to temporary changes and control labor costs.
Smart Images

Figure CN118095815B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of banking business data processing, and in particular to an intelligent scheduling method, device and equipment for bank personnel. Background Art
[0002] As the size of the bank grows, the business volume also increases. At the same time, the business volume varies in different time periods each month, and different business teams require different numbers of staff. Traditional manual scheduling requires judging the daily workload based on experience, and arranging different numbers of staff every day based on the actual situation of the staff to ensure business continuity. This manual scheduling method is not only time-consuming and labor-intensive when there are many employees, but it may not meet the needs of all teams, and it is inevitable that accidents such as wrong scheduling will occur. Summary of the invention
[0003] In view of this, the purpose of the present invention is to provide a method, device, and equipment for intelligent scheduling of bank personnel.
[0004] To achieve the above object, the present invention provides an intelligent scheduling method for bank personnel, the method comprising:
[0005] Acquire first historical business volume data, input the first historical business volume data into a business volume prediction model for prediction, obtain future business volume data, and predict the human resources required in the future according to the future business volume data and a preset per capita processing volume;
[0006] Determine the influencing factors of the scheduling according to the scheduling requirements, and convert the influencing factors and the human resources into corresponding constraint equations;
[0007] The constraint equation is solved, and the optimal solution obtained is used as the scheduling result.
[0008] Preferably, the traffic volume prediction model includes a linear regression model, a gradient boosting tree model and a DNN model with a two-layer structure; the step of inputting the first historical traffic volume data into the traffic volume prediction model for prediction to obtain future traffic volume data includes:
[0009] The future business volume data is predicted respectively according to the linear regression model, the gradient boosting tree model and the DNN model to obtain three prediction results, and the average value of the three prediction results is taken as the future business volume data.
[0010] Preferably, the process of constructing the business volume prediction model includes:
[0011] Acquire second historical traffic volume data, and divide the second historical traffic volume data into a training set and a test set;
[0012] Inputting the training set into the linear regression model, the gradient boosting tree model and the DNN model for training to obtain training results corresponding to each model;
[0013] Based on the preset evaluation index, the linear regression model, the gradient boosting tree model and the DNN model are verified using the test set to obtain verification results corresponding to each model;
[0014] The parameters corresponding to each model are adjusted according to the training results and the verification results to determine the optimal parameters corresponding to each model.
[0015] Preferably, after obtaining the second historical traffic volume data, the method further includes:
[0016] An ADF test is performed on the second historical business volume data to determine the stationarity of the sequence corresponding to the second historical business volume data.
[0017] Preferably, the influencing factor includes a first influencing factor, and the first influencing factor corresponds to a first constraint equation; solving the constraint equation includes:
[0018] The first constraint equation is solved by using a preset branch and bound method to obtain a first solution set that satisfies the first influencing factor.
[0019] Preferably, the human resources correspond to a human resources constraint equation; the method of solving the constraint equation using a preset branch and bound method and taking the obtained optimal solution as the scheduling result includes:
[0020] Based on the first solution set, the human resource constraint equation is solved using a preset branch and bound method to obtain a second solution set that satisfies the human resources, and the second solution set is used as the optimal solution.
[0021] Preferably, the influencing factor further includes a second influencing factor, and the second influencing factor corresponds to a second constraint equation; solving the constraint equation includes:
[0022] Based on the first solution set, the second constraint equation is solved using a preset branch and bound method to obtain a third solution set that satisfies the second influencing factor.
[0023] Preferably, the human resources correspond to a human resources constraint equation; the method of solving the second constraint equation using a preset branch and bound method and taking the obtained optimal solution as the scheduling result includes:
[0024] Based on the third solution set, the human resource constraint equation is solved using a preset branch and bound method to obtain a fourth solution set that satisfies the human resources, and the fourth solution set is used as the optimal solution.
[0025] To achieve the above object, the present invention also provides an intelligent scheduling device for bank personnel, the device comprising:
[0026] A prediction unit, configured to obtain first historical business volume data, input the first historical business volume data into a business volume prediction model for prediction, obtain future business volume data, and predict the human resources required in the future according to the future business volume data and a preset per capita processing capacity;
[0027] A determination unit, used to determine the influencing factors of the scheduling according to the scheduling requirements, and convert the influencing factors and the human resources into corresponding constraint equations;
[0028] The scheduling unit is used to solve the constraint equation and use the obtained optimal solution as the scheduling result.
[0029] In order to achieve the above objectives, the present invention also proposes an intelligent scheduling device for bank personnel, including a processor, a memory, and a computer program stored in the memory, wherein the computer program is executed by the processor to implement the steps of an intelligent scheduling method for bank personnel as described in the above embodiment.
[0030] In order to achieve the above objectives, the present invention also proposes a computer-readable storage medium, on which a computer program is stored, and the computer program is executed by a processor to implement the steps of an intelligent scheduling method for bank personnel as described in the above embodiment.
[0031] In order to achieve the above objectives, the present invention also proposes a computer program product, including a computer program / instruction, which, when executed by a processor, implements the steps of an intelligent scheduling method for bank personnel as described in the above embodiment.
[0032] Beneficial effects:
[0033] The above scheme, through the proposed intelligent scheduling algorithm, can automatically generate the scheduling results for a certain period of time in the future, and bank business personnel will take shifts according to the scheduling results. The constructed model predicts future business volume data, and then obtains human resources, and generates scheduling results based on influencing factors and human resources; it can fully consider various actual business scenarios (i.e. various influencing factors), evenly allocate manpower, scientifically schedule, reduce errors, and control the human cost of banking business. When there are changes in influencing factors (such as special circumstances such as temporary leave), new scheduling results can be regenerated after marking to achieve the effect of flexible scheduling, which can greatly save the time spent on manual scheduling of banks, fully release labor, and improve scheduling efficiency and accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] 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 some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0035] Figure 1 A flowchart of an intelligent scheduling method for bank personnel provided in accordance with an embodiment of the present invention.
[0036] Figure 2 The figure is a flowchart of an overall processing process provided for an embodiment of the present invention.
[0037] Figure 3 The present invention is a schematic structural diagram of an intelligent scheduling device for bank personnel provided in accordance with an embodiment of the present invention.
[0038] The realization of the purpose, functional features and advantages of the invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0039] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the invention claimed for protection, but merely represents the selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0040] In the description of the present invention, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features.
[0041] The content of the present invention is described in detail below with reference to embodiments.
[0042] The algorithms currently used in intelligent scheduling mainly include: genetic algorithm, which is characterized by the use of a probabilistic optimization method, which can automatically obtain and guide the optimization search space, adaptively adjust the search direction, and does not require definite rules. The main problems of genetic algorithms are slow operation speed and the possibility of falling into local optimal solutions; hill climbing algorithm, also known as local search algorithm, it uses an iterative method to start from any point in the solution space and continuously move to adjacent points until it reaches a local optimal solution that cannot be moved. The disadvantage of the hill climbing algorithm is that it will fall into the local optimal solution and may not be able to search for the global optimal solution; simulated annealing algorithm, the simulated annealing algorithm is based on the hill climbing algorithm. When determining the moving state, it accepts the non-optimal state with a certain probability to prevent the algorithm from falling into the local optimal solution. The main problem is that it takes a long time to find the optimal solution and the parameters are difficult to adjust.
[0043] Based on this, the present invention proposes an intelligent scheduling method for bank personnel, which can predict future business volume based on the bank's historical business volume data, ensure the consistency of the historical business volume data used and set the characteristic variables of the algorithm, improve the accuracy of model prediction, and achieve reasonable allocation of manpower and scientific scheduling.
[0044] Reference Figure 1 The figure is a flow chart of an intelligent scheduling method for bank personnel provided by one embodiment of the present invention.
[0045] In this embodiment, the method includes:
[0046] S11, obtaining first historical business volume data, inputting the first historical business volume data into a business volume prediction model for prediction, obtaining future business volume data, and predicting the human resources required in the future according to the future business volume data and a preset per capita processing capacity.
[0047] Furthermore, the traffic volume prediction model includes a linear regression model, a gradient boosting tree model, and a DNN model with a two-layer structure; the step of inputting the first historical traffic volume data into the traffic volume prediction model for prediction to obtain future traffic volume data includes:
[0048] The future business volume data is predicted respectively according to the linear regression model, the gradient boosting tree model and the DNN model to obtain three prediction results, and the average value of the three prediction results is taken as the future business volume data.
[0049] Furthermore, the process of constructing the business volume prediction model includes:
[0050] Acquire second historical traffic volume data, and divide the second historical traffic volume data into a training set and a test set;
[0051] Inputting the training set into the linear regression model, the gradient boosting tree model and the DNN model for training to obtain training results corresponding to each model;
[0052] Based on the preset evaluation index, the linear regression model, the gradient boosting tree model and the DNN model are verified using the test set to obtain verification results corresponding to each model;
[0053] The parameters corresponding to each model are adjusted according to the training results and the verification results to determine the optimal parameters corresponding to each model.
[0054] In this embodiment, linear regression, gradient boosted tree model (GBDT), and a regression prediction algorithm with a two-layer deep neural network (DNN) are mainly selected to model historical business volume data and predict future business volume. The prediction values of different models are fused by using the average method, that is, the average of the three prediction results is taken. The model and tuning are implemented through sklearn (machine learning tool).
[0055] Divide historical business volume data (such as historical business volume data for the past year) into training sets and test sets. The training set is used for model training to determine the corresponding model parameters, and the test set is used to verify the training results and whether the model performance meets the evaluation indicators. By defining the following model evaluation indicators as a method for parameter tuning and model performance verification, the model performance is finally examined by comprehensively considering the performance of the model on the training and test sets. Evaluation indicators include:
[0056] MAE(Mean Absolute Error): ,
[0057] MSE(Mean Square Error): .
[0058] (1) For the linear regression model, the linear regression equation is: (X is the independent variable, w is the characteristic coefficient, and b is the regression coefficient). Solve the parameters by the least squares method, verify the difference between the true value and the predicted value and adjust it, and finally determine the regression coefficient and characteristic coefficient. Use the sklearn interface LinearRegression() to build a linear regression model. The input parameter x is the date in the historical business volume data, and the parameter y is the business volume of the corresponding date in the historical business volume data. Use the method LinearRegression.fit() to fit the training set, determine the characteristic coefficient w and regression coefficient b, and use the method LinearRegression.predict() to test the test set to verify the accuracy of the parameters. Adjust the parameters through the above method, use the evaluation index to examine the model performance, and finally determine the optimal parameters of the linear regression model.
[0059] (2) For the gradient boosted tree model (GBDT), the basic idea is to train a new decision tree to fit the error term based on the previous error, and through continuous iteration, achieve an overall error close to zero. The GBDT algorithm uses the forward distribution algorithm to achieve error fitting. The algorithm process is:
[0060] Input: training dataset ; Loss function L(y, f(x)); Basis function set ;
[0061] Output: additive model f(x);
[0062] 1) Initialize f0(x) = 0;
[0063] 2) For m=1,2,...,M,
[0064] Minimize the loss function and get the parameters and ,
[0065] ,
[0066] Update f m (x),
[0067] ;
[0068] 3) Get the additive model f(x),
[0069] .
[0070] The gradient boosting tree model is constructed by using the sklearn interface GradientBoostingRegression(). The input parameter is a 4-dimensional vector matrix. The first column is the date in the historical business volume data, the second column is the business volume of the corresponding date, and the third and fourth columns are the selected related features: whether the day is a holiday and the average business volume of the previous 10 days. The training set is fitted using the method GradientBoostingRegression.fit(). The default parameters are used for the first training. The test set is tested using the method GradientBoostingRegression.predict(), and the model performance is examined using evaluation indicators. Based on the results of training and testing, the parameters are adjusted and re-verified, and the optimal parameters of the gradient boosting tree model for predicting business volume are finally determined.
[0071] For the gradient boosting tree model, you can perform parameter tuning as shown in the following table to determine the optimal model parameters:
[0072]
[0073] Among them, the selection basis of the "related features" mentioned above is based on the following considerations: predicting future business volume data is highly correlated with holidays, so holiday features are added; predicting future business volume data has a certain periodicity on a monthly basis, so feature x is added to represent the number of days from the end of the month; and at the same time, the business volume features of the past n days are added as features for predicting today's business volume. By analyzing the correlation coefficient between features (analyzing holiday features, features of the number of days from the end of the month, and features of the business volume of the past n days) and prediction targets (such as predicting the next 1 day / next m days), as a feature effectiveness indicator, calculate whether each feature is effective. By using embedded methods for feature screening, training classification and regression trees (using deep neural network algorithms), and outputting feature importance as the basis for screening features, it is concluded that:
[0074]
[0075] Through analysis, it is found that the holiday feature is of the highest importance, the number of days from the end of the month feature is of lower importance, and the historical business volume feature of the past n days gradually decreases in importance as the distance increases. Therefore, "holidays" and "historical 1-10 days business volume feature" are selected as the relevant features used in the final prediction.
[0076] (3) For a two-layer deep neural network (DNN), the two-layer neural network consists of an input layer, a hidden layer, and an output layer. The input layer receives input data, the hidden layer generates new feature representations by weighting and activating the input, and the output layer weights and activates the output of the hidden layer to obtain the final output result. From the input data x and parameters w, b, through the input function to z, and through the activation function to obtain a, that is, a linear relationship , plus an activation function . The deep neural network model is constructed by using the sklearn interface MLPRegressor(). The input parameter is a 4-dimensional vector matrix. The first column is the date, the second column is the business volume, and the third and fourth columns are the selected related features: whether the day is a holiday and the average business volume in the previous 10 days. The training set is fitted using the method MLPRegressor.fit(). The default parameters are used for the first training. The test set is tested using the method MLPRegressor.predict(), and the model performance is examined using evaluation indicators. Based on the results of training and testing, the parameters are adjusted and re-verified, and finally the optimal parameters of the deep neural network model for predicting business volume are determined.
[0077] Wherein, after obtaining the second historical business volume data, the method further includes:
[0078] An ADF test is performed on the second historical business volume data to determine the stationarity of the sequence corresponding to the second historical business volume data.
[0079] In this embodiment, by conducting an exploratory analysis on the historical business volume data of the bank in the past year (as shown in the following table), it can be found that the data has a certain long tail when it is close to a normal distribution;
[0080]
[0081] Further, by performing an ADF test (unit root test, assuming that the sequence has a unit root, then the sequence is not stable) on the historical business volume data, the stationarity of the corresponding sequence is determined, and the following is obtained:
[0082]
[0083] Based on the above table, we can see that the ADF value is -4.44, which is significantly less than the critical statistical values of the three preset confidence levels (1%, 5%, and 10%), and the p value is close to 0, indicating that the sequence is stationary and there is no unit root. Therefore, this embodiment uses a regression prediction algorithm, takes the business volume data of the next day as the model prediction target, uses the historical business volume data of the past n days as the feature for predicting the business volume of the next day for regression prediction, and uses the predicted value as a new feature to cyclically predict the business volume data of the next m days.
[0084] S12, determining the influencing factors of the scheduling according to the scheduling requirements, and converting the influencing factors and the human resources into corresponding constraint equations.
[0085] S13, solving the constraint equation and taking the obtained optimal solution as the scheduling result.
[0086] Furthermore, the influencing factor includes a first influencing factor, and the first influencing factor corresponds to a first constraint equation; solving the constraint equation includes:
[0087] The first constraint equation is solved by using a preset branch and bound method to obtain a first solution set that satisfies the first influencing factor.
[0088] Furthermore, the human resources correspond to a human resources constraint equation; the constraint equation is solved by using a preset branch and bound method, and the optimal solution obtained is used as the scheduling result, including:
[0089] Based on the first solution set, the human resource constraint equation is solved using a preset branch and bound method to obtain a second solution set that satisfies the human resources; and the second solution set is used as the optimal solution.
[0090] In another embodiment, further, the influencing factor further includes a second influencing factor, and the second influencing factor corresponds to a second constraint equation; solving the constraint equation includes:
[0091] Based on the first solution set, the second constraint equation is solved using a preset branch and bound method to obtain a third solution set that satisfies the second influencing factor.
[0092] Furthermore, the human resources correspond to a human resources constraint equation; the method of solving the second constraint equation using a preset branch and bound method and using the obtained optimal solution as the scheduling result includes:
[0093] Based on the third solution set, the human resource constraint equation is solved using a preset branch and bound method to obtain a fourth solution set that satisfies the human resources, and the fourth solution set is used as the optimal solution.
[0094] Reference Figure 2 As shown. In this embodiment, when scheduling personnel, the corresponding human resources required can be calculated according to the business volume forecasting model. At the same time, based on the actual situation, it is also necessary to consider the ratio of new and old employees in each shift, the need to adjust the rest after the night shift, employees who cannot work the night shift due to special reasons, employees' leave, balanced scheduling and other needs. Therefore, the influencing factors of scheduling can be further determined according to the scheduling requirements, and the influencing factors include night shift influencing factors, factors affecting not participating in night shifts, factors affecting skilled workers, factors affecting consecutive holidays, factors affecting leave, etc. This scheme is implemented by converting the scheduling problem into a mixed integer quadratic programming problem (MIQP) in mathematical programming. Different influencing factors correspond to different constraint equations. The conversion process from influencing factors to constraint equations is as follows:
[0095] (1) Factors affecting night shifts: After a night shift, you must rest for two days. , then for the next two days, aw(i,j) needs to be 0, and the corresponding constraint equation is: ;
[0096] (2) Factors affecting not working night shifts: If a person sets a setting not to work night shifts ,So (i,j,k) needs to be 0, the corresponding constraint equation is: (mark_ovn does not participate in night shift marking);
[0097] (3) Factors affecting skilled workers: If the minimum number of skilled workers required for each shift is z, then the number of workers on duty that day is (i,j,k), multiplied by the mark mark_slg(i) indicating whether it is a skilled worker, the sum must be greater than or equal to z, the corresponding constraint equation is:
[0098] (mark_slg is the skilled worker mark, z is the minimum number of skilled workers in each shift);
[0099] (4) Factors affecting consecutive holidays: If one person takes too long a period of consecutive leave, others will need to increase the number of consecutive working days. Therefore, the number of consecutive holidays cannot exceed 5 days. The corresponding constraint equation is:
[0100] ;
[0101] (5) Factors affecting leave: If a person sets relax_flag(i,j)=0 for a certain day, then aw(i,j) needs to be 0. The corresponding constraint equation is: ;
[0102] (6) Manpower requirements: personnel on duty that day The sum of (i, j, k) must be greater than or equal to the manpower demand a(j, k) of the shift to satisfy the constraint equation of manpower demand: ;
[0103] Symbolic conventions: Boolean variables (i,j,k) indicates whether the i-th person is on duty on the k-th shift on the j-th day, 1 indicates on duty, 0 indicates not on duty; the Boolean variable aw(i,j) indicates whether the i-th person is on duty on the j-th day; a(j,k) indicates the manpower demand for the k-th shift on the j-th day. According to different scheduling requirements, one or more of the above-mentioned influencing factors are determined, and then converted into corresponding constraint equations. By solving all constraint equations, the solution that satisfies all constraint equations is found, which is the scheduling result.
[0104] In this embodiment, the MIQP problem is solved by using the branch and bound method. The entire feasible solution space (referring to the possible solutions that satisfy all constraint equations) is repeatedly divided into smaller and smaller subsets, that is, each constraint equation is solved separately, and the solution that satisfies all constraint equations is calculated, which is called branch; and a target lower bound is calculated for the solution set in each subset, that is, the optimal value of all feasible solutions of the constraint equation is confirmed, which is called bound; after each branch, those subsets whose bounds exceed the target value of the known feasible solution set will no longer be further branched, which is called pruning.
[0105] If the influencing factors determined according to the scheduling requirements include night shift influencing factors, non-participation in night shift influencing factors, and skilled worker influencing factors, they are converted into corresponding constraint equations and solved. The solution result is the solution set of whether the i-th person is on duty on the k-th shift on the j-th day. The specific solution process includes:
[0106] Step 1: Calculate all solution sets a1 that satisfy the night shift influencing factors;
[0107] Step 2: In the solution set a1, find the corresponding constraint equation solution set a2 that satisfies all the factors affecting not taking night shifts;
[0108] Step 3: In the solution set a2, find the solution set a3 that satisfies the constraint equations corresponding to all the influencing factors of skilled workers;
[0109] Step 4: In solution set a3, find solution set a4 that satisfies the constraint equations corresponding to all factors affecting manpower demand. Solution set a4 is the optimal solution that satisfies all scheduling requirements, from which the corresponding scheduling table can be obtained.
[0110] Through the method proposed in this embodiment, the scheduling results for a certain period of time in the future are automatically generated (such as automatically generating the schedule for the next month at the end of each month), which can greatly save the time spent on manual scheduling in banks and fully release labor. The intelligent scheduling model fully considers various actual business scenarios (manpower demand, night shifts, consecutive holidays, skilled workers, etc.), and can evenly allocate manpower and scientifically schedule according to different business needs to control the manpower cost of banking business. The model calculates the human resources required for banking business based on the business volume prediction model that conforms to the normal distribution, and achieves the effect of automatically increasing and decreasing manpower scheduling while ensuring business continuity. Moreover, through the actual operation of the production environment, the intelligent scheduling results are consistent with the actual manpower demand of the business. This method can be extended to other banks for predicting manpower demand and realizing intelligent scheduling.
[0111] Reference Figure 3 Shown is a schematic structural diagram of an intelligent scheduling device for bank personnel provided by an embodiment of the present invention.
[0112] In this embodiment, the device 20 includes:
[0113] A prediction unit 21 is used to obtain first historical traffic volume data, input the first historical traffic volume data into a traffic volume prediction model for prediction, obtain future traffic volume data, and predict the human resources required in the future according to the future traffic volume data and a preset per capita processing capacity;
[0114] A determination unit 22, configured to determine the influencing factors of the shift scheduling according to the shift scheduling requirements, and convert the influencing factors and the human resources into corresponding constraint equations;
[0115] The scheduling unit 23 is used to solve the constraint equation and use the obtained optimal solution as the scheduling result.
[0116] Each unit module of the device 20 can respectively execute the corresponding steps in the above method embodiment, so each unit module will not be described in detail here. Please refer to the description of the above corresponding steps for details.
[0117] The embodiment of the present invention also provides an intelligent scheduling device for bank staff, the device includes the intelligent scheduling device for bank staff as described above, wherein the intelligent scheduling device for bank staff can be used Figure 3 The structure of the embodiment can be executed accordingly. Figure 1 The technical solution of the method embodiment shown has similar implementation principles and technical effects. For details, please refer to the relevant records in the above embodiments, which will not be repeated here.
[0118] The device includes: a mobile phone, a digital camera, a tablet computer, or other devices with a camera function, or a device with an image processing function, or a device with an image display function. The device may include components such as a memory, a processor, an input unit, a display unit, and a power supply.
[0119] Among them, the memory can be used to store software programs and modules, and the processor executes various functional applications and data processing by running the software programs and modules stored in the memory. The memory may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as an image playback function, etc.), etc.; the data storage area may store data created according to the use of the device, etc. In addition, the memory may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory may also include a memory controller to provide the processor and the input unit with access to the memory.
[0120] The input unit can be used to receive input digital or character or image information, and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control. Specifically, the input unit of this embodiment includes not only a camera, but also a touch-sensitive surface (such as a touch display) and other input devices.
[0121] The display unit can be used to display information input by the user or information provided to the user and various graphical user interfaces of the device, which can be composed of graphics, text, icons, videos and any combination thereof. The display unit may include a display panel, and optionally, the display panel may be configured in the form of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), etc. Further, the touch-sensitive surface may cover the display panel, and when the touch-sensitive surface detects a touch operation on or near it, it is transmitted to the processor to determine the type of touch event, and then the processor provides a corresponding visual output on the display panel according to the type of touch event.
[0122] The embodiment of the present invention further provides a computer-readable storage medium, which may be a computer-readable storage medium included in the memory in the above embodiment; or a computer-readable storage medium that exists independently and is not installed in a device. The computer-readable storage medium stores at least one instruction, which is loaded and executed by a processor to implement Figure 1 The intelligent scheduling method for bank staff shown in the figure. The computer readable storage medium can be a read-only memory, a disk or an optical disk, etc.
[0123] The embodiment of the present invention also provides a computer program product, including a computer program / instruction, which is loaded and executed by a processor to implement Figure 1 The intelligent scheduling method for bank personnel is shown.
[0124] 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 embodiment, equipment embodiment and storage medium embodiment, since they are basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0125] Furthermore, in this document, the terms "comprises," "comprising," or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or device that includes a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or device that includes the element.
[0126] The above description shows and describes the preferred embodiments of the present invention. It should be understood that the present invention is not limited to the form disclosed herein, and should not be regarded as excluding other embodiments, but can be used in various other combinations, modifications and environments, and can be modified within the scope of the invention, through the above teachings or the technology or knowledge of the relevant field. The changes and modifications made by those skilled in the art shall not depart from the spirit and scope of the present invention, and shall be within the scope of protection of the claims attached to the present invention.
Claims
1. An intelligent scheduling method for bank staff, characterized in that: The method comprises: Acquire first historical traffic volume data, input the first historical traffic volume data into a traffic volume prediction model for prediction, obtain future traffic volume data, and predict the human resources required in the future according to the future traffic volume data and a preset per capita processing capacity; the traffic volume prediction model includes a linear regression model, a gradient boosting tree model, and a DNN model with a two-layer structure; input the first historical traffic volume data into the traffic volume prediction model for prediction, and obtain future traffic volume data, including: Predicting the future traffic volume data according to the linear regression model, the gradient boosting tree model and the DNN model respectively, obtaining three prediction results, and taking the average of the three prediction results as the future traffic volume data; The process of constructing the business volume prediction model includes: Acquire second historical traffic volume data, and divide the second historical traffic volume data into a training set and a test set; Inputting the training set into the linear regression model, the gradient boosting tree model and the DNN model for training to obtain training results corresponding to each model; Based on the preset evaluation index, the linear regression model, the gradient boosting tree model and the DNN model are verified using the test set to obtain verification results corresponding to each model; Adjusting the parameters corresponding to each model according to the training results and the verification results to determine the optimal parameters corresponding to each model; After obtaining the second historical traffic volume data, the method further includes: Performing an ADF test on the second historical business volume data to determine the stationarity of the sequence corresponding to the second historical business volume data; Determine the influencing factors of the shift scheduling according to the scheduling requirements, and convert the influencing factors and the human resources into corresponding constraint equations; the influencing factors include night shift influencing factors, non-participation in night shift influencing factors, skilled worker influencing factors, consecutive holidays influencing factors, and leave influencing factors; wherein, Constraint equation corresponding to the night shift influencing factors: 2* (i,j,k)+aw(i,j+1)+aw(i,j+2)≤2; Constraint equations corresponding to the factors affecting not taking night shifts: (i,j,k)*mark_ovn(i)=0, where mark_ovn indicates not participating in the night shift mark; Constraint equation corresponding to the influencing factors of skilled workers: ∑ (i,j,k)*mark_slg(i)>=z, where mark_slg is the skilled worker mark and z is the minimum number of skilled workers in each shift; Constraint equations corresponding to the factors affecting consecutive holidays: aw(i,j+1)+aw(i,j+2)+aw(i,j+3)+aw(i,j+4)+aw(i,j+5)>=1; The constraint equation corresponding to the leave influencing factor is: aw(i,j)*relax_flag(i,j)=0. If a person sets relax_flag(i,j)=0 for a certain day, then aw(i,j) is 0. The constraint equation corresponding to the human resources is: ∑x(i,j,k)>=a(j,k); where, (i,j,k) indicates whether the i-th person is on duty on the k-th shift on the j-th day, aw(i,j) indicates whether the i-th person is on duty on the j-th day, and a(j,k) indicates the human resources of the k-th shift on the j-th day; The constraint equation is solved, and the optimal solution obtained is used as the scheduling result.
2. The intelligent scheduling method for bank staff according to claim 1, characterized in that: The influencing factor includes a first influencing factor, and the first influencing factor corresponds to a first constraint equation; solving the constraint equation includes: The first constraint equation is solved by using a preset branch and bound method to obtain a first solution set that satisfies the first influencing factor.
3. The intelligent scheduling method for bank staff according to claim 2, characterized in that: The human resources correspond to the human resources constraint equation; the constraint equation is solved by using a preset branch and bound method, and the optimal solution obtained is used as the scheduling result, including: Based on the first solution set, the human resource constraint equation is solved using a preset branch and bound method to obtain a second solution set that satisfies the human resources, and the second solution set is used as the optimal solution.
4. The intelligent scheduling method for bank staff according to claim 2, characterized in that: The influencing factor further includes a second influencing factor, and the second influencing factor corresponds to a second constraint equation; solving the constraint equation includes: Based on the first solution set, the second constraint equation is solved using a preset branch and bound method to obtain a third solution set that satisfies the second influencing factor.
5. The intelligent scheduling method for bank staff according to claim 4, characterized in that: The human resources correspond to the human resources constraint equation; the second constraint equation is solved by using a preset branch and bound method, and the obtained optimal solution is used as the scheduling result, including: Based on the third solution set, the human resource constraint equation is solved using a preset branch and bound method to obtain a fourth solution set that satisfies the human resources, and the fourth solution set is used as the optimal solution.
6. An intelligent scheduling device for bank staff, characterized in that: The device comprises: A prediction unit is used to obtain first historical traffic volume data, input the first historical traffic volume data into a traffic volume prediction model for prediction, obtain future traffic volume data, and predict the human resources required in the future according to the future traffic volume data and a preset per capita processing capacity; the traffic volume prediction model includes a linear regression model, a gradient boosting tree model, and a DNN model with a two-layer structure; the inputting the first historical traffic volume data into the traffic volume prediction model for prediction, and obtaining future traffic volume data, includes: Predicting the future traffic volume data according to the linear regression model, the gradient boosting tree model and the DNN model respectively, obtaining three prediction results, and taking the average of the three prediction results as the future traffic volume data; The process of constructing the business volume prediction model includes: Acquire second historical traffic volume data, and divide the second historical traffic volume data into a training set and a test set; Inputting the training set into the linear regression model, the gradient boosting tree model and the DNN model for training to obtain training results corresponding to each model; Based on the preset evaluation index, the linear regression model, the gradient boosting tree model and the DNN model are verified using the test set to obtain verification results corresponding to each model; Adjusting the parameters corresponding to each model according to the training results and the verification results to determine the optimal parameters corresponding to each model; After obtaining the second historical traffic volume data, the method further includes: Performing an ADF test on the second historical business volume data to determine the stationarity of the sequence corresponding to the second historical business volume data; A determination unit is used to determine the influencing factors of the shift scheduling according to the scheduling requirements, and convert the influencing factors and the human resources into corresponding constraint equations; the influencing factors include night shift influencing factors, non-participation in night shift influencing factors, skilled worker influencing factors, consecutive holiday influencing factors, and leave influencing factors; wherein, Constraint equation corresponding to the night shift influencing factors: 2* (i,j,k)+aw(i,j+1)+aw(i,j+2)≤2; Constraint equations corresponding to the factors affecting not taking night shifts: (i,j,k)*mark_ovn(i)=0, where mark_ovn indicates not participating in the night shift mark; Constraint equation corresponding to the influencing factors of skilled workers: ∑ (i,j,k)*mark_slg(i)>=z, where mark_slg is the skilled worker mark and z is the minimum number of skilled workers in each shift; Constraint equations corresponding to the factors affecting consecutive holidays: aw(i,j+1)+aw(i,j+2)+aw(i,j+3)+aw(i,j+4)+aw(i,j+5)>=1; The constraint equation corresponding to the leave influencing factor is: aw(i,j)*relax_flag(i,j)=0. If a person sets relax_flag(i,j)=0 for a certain day, then aw(i,j) is 0. The constraint equation corresponding to the human resources is: ∑x(i,j,k)>=a(j,k); where, (i,j,k) indicates whether the i-th person is on duty on the k-th shift on the j-th day, aw(i,j) indicates whether the i-th person is on duty on the j-th day, and a(j,k) indicates the human resources of the k-th shift on the j-th day; The scheduling unit is used to solve the constraint equation and use the obtained optimal solution as the scheduling result.
7. An intelligent scheduling device for bank staff, characterized in that: The method comprises a processor, a memory and a computer program stored in the memory, wherein the computer program is executed by the processor to implement the steps of an intelligent scheduling method for bank personnel as described in any one of claims 1 to 5.
