Intelligent outbound call time prediction method, device, computer equipment and storage medium
By constructing a deep neural network model to predict the connection probability of intelligent outbound calls during the period, the problem of low outbound call connection rate in the intelligent outbound call system is solved, and personalized time period allocation and overall connection rate are improved.
Patent Information
- Application Number
- CN202210581574.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-26
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2042-05-26
AI Technical Summary
The outbound call completion rate in the intelligent outbound call system is low, and existing methods cannot vary from person to person, making it difficult to guarantee the overall optimal connection rate.
By obtaining outbound call records, extracting user characteristics, context characteristics and time period characteristics, building a deep neural network model, predicting the probability of connection during the waiting period, and optimizing the allocation of outbound call periods to achieve personalized time period selection.
It improves the personalized allocation of outbound call periods, improves the overall connection rate, and ensures the optimal connection probability for each user.
Smart Images

Figure CN114881348B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of machine learning technology, and in particular to an intelligent outbound call time period prediction method, device, computer equipment and storage medium. Background Art
[0002] Smart outbound calling is a form of artificial intelligence that uses smart outbound calling robots to replace human agents to complete telephone calls and voice communications. Smart outbound calling uses automatic speech recognition technology and natural language understanding technology to automatically trigger calls and achieve natural language interactive responses. Smart outbound calling does not require human participation throughout the process, which can reduce labor costs. It has been widely used in multiple industries such as finance, insurance, education, and the Internet to complete smart marketing, smart collection, smart questionnaires, and smart return visits.
[0003] Smart outbound calls generally have the problem of low outbound call connection rate. The existing solution is to calculate the historical connection rate of each time period based on the existing outbound call connection history, and then sort the outbound call time periods according to the historical connection rate. The top-ranked time periods are marked as easy-to-connect time periods, so that important business calls can be made during easy-to-connect time periods to ensure the connection rate. However, for outbound call users, the easy-to-connect time periods are different for each person. The uniform use of time periods with higher historical connection rates as easy-to-connect time periods for all people cannot achieve individual differences and cannot guarantee the overall optimal connection rate of smart outbound calls. Summary of the invention
[0004] Based on this, it is necessary to provide an intelligent outbound call time period prediction method, device, computer equipment and storage medium to address the above technical problems, so as to solve the problem that the user's easy connection time period during existing intelligent outbound calls varies from person to person, affecting the overall optimal connection rate.
[0005] An intelligent outbound call time period prediction method, comprising:
[0006] Acquire outbound call data of a preset time period, the outbound call data including a plurality of outbound call records, and annotate the outbound call records to obtain a sample library including a plurality of samples, the samples being outbound call records including annotated information;
[0007] Acquire user features, context features, and time period features corresponding to the sample, perform data processing on the user features, the context features, and the time period features to obtain a user feature vector, a context feature vector, and a time period feature vector;
[0008] The user feature vector, the context feature vector and the time period feature vector are configured as input data of a deep neural network; a loss function is configured according to the output data of the deep neural network and the annotation information; after iterative training, when the loss value of the loss function is less than a preset threshold, the trained deep neural network is determined as a time period prediction model;
[0009] Acquire a feature vector of a waiting user, a feature vector of a waiting context, and a feature vector of a waiting time period, input the feature vector of the waiting user, the feature vector of the waiting context, and the feature vector of the waiting time period into the time period prediction model for prediction, and obtain a connection probability of the waiting time period;
[0010] Intelligent outbound calling is performed according to the connection probability during the waiting period.
[0011] An intelligent outbound call time period prediction device, comprising:
[0012] A sample annotation module, used to obtain outbound call data of a preset time period, the outbound call data including a plurality of outbound call records, annotate the outbound call records to obtain a sample library including a plurality of samples, the samples being outbound call records including annotation information;
[0013] A feature processing module, used to obtain user features, context features and time period features corresponding to the sample, perform data processing on the user features, the context features and the time period features, and obtain a user feature vector, a context feature vector and a time period feature vector;
[0014] A model building module, configured to configure the user feature vector, the context feature vector and the time period feature vector as input data of a deep neural network; configure a loss function according to the output data of the deep neural network and the annotation information; after iterative training, when the loss value of the loss function is less than a preset threshold, determine the trained deep neural network as a time period prediction model;
[0015] A time period prediction module is used to obtain a feature vector of a waiting user, a feature vector of a waiting context, and a feature vector of a waiting time period, and input the feature vector of the waiting user, the feature vector of the waiting context, and the feature vector of the waiting time period into the time period prediction model for prediction to obtain a connection probability of the waiting time period;
[0016] The intelligent outbound calling module is used to make intelligent outbound calls according to the connection probability during the waiting period.
[0017] A computer device includes a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor. When the processor executes the computer-readable instructions, the above-mentioned intelligent outbound call time period prediction method is implemented.
[0018] A computer-readable storage medium stores computer-readable instructions. When the computer-readable instructions are executed by one or more processors, the one or more processors execute the above-mentioned intelligent outbound call time period prediction method.
[0019] The above-mentioned intelligent outbound call time period prediction method, device, computer equipment and storage medium obtain multiple outbound call records of a preset time period, annotate the outbound call records to obtain a sample library containing multiple samples; obtain user features, context features and time period features corresponding to the samples and perform data processing to obtain user feature vectors, context feature vectors and time period feature vectors; configure the user feature vectors, context feature vectors and time period feature vectors as input data of a deep neural network; configure the loss function according to the output data and annotation information of the deep neural network; after iterative training, when the loss value of the loss function is less than a preset threshold, determine the trained deep neural network as a time period prediction model; obtain the waiting user feature vector, the waiting context feature vector and the waiting time period feature vector and input them into the time period prediction model for prediction, and obtain the connection probability of the waiting time period; perform intelligent outbound calls according to the connection probability of the waiting time period. The prediction model of the present invention fully considers the different characteristics of each outbound user when designing, processes each feature data into a feature vector, generalizes to feature combinations that do not appear in historical outbound call data, and then interacts through multiple fully connected layers, and finally the output layer predicts the probability of each time period being connected for the optimal time period outbound call. Compared with the traditional outbound calling method based on historical statistics, the intelligent outbound calling time period prediction method of the present invention can realize the personalization of user outbound calling time periods, and the time period distribution is more uniform. In addition, the training of the entire model takes the connection rate as the optimization goal, ensuring the overall optimal connection rate. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0021] Figure 1 It is a flow chart of an intelligent outbound call time period prediction method in one embodiment of the present invention;
[0022] Figure 2 It is a flow chart of step S30 in the intelligent outbound call time period prediction method in one embodiment of the present invention;
[0023] Figure 3 It is a structural schematic diagram of an intelligent outbound call time period prediction device in one embodiment of the present invention;
[0024] Figure 4 is a schematic diagram of a computer device in one embodiment of the present invention. DETAILED DESCRIPTION
[0025] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0026] In one embodiment, if Figure 1 As shown, a smart outbound call time period prediction method is provided, comprising the following steps S10-S50:
[0027] S10. Obtain outbound call data of a preset time period, wherein the outbound call data includes a plurality of outbound call records, and annotate the outbound call records to obtain a sample library including a plurality of samples, wherein the samples are outbound call records including annotated information.
[0028] Understandably, each outbound call operation performed by the intelligent outbound call robot within the historical time period will form an outbound call record. The outbound call record includes information such as user contact information, user gender, user occupation, weather on the day of the outbound call, outbound call time period, whether the day of the outbound call is a holiday, and outbound call connection status. The outbound call record information is stored as outbound call data. The preset time period is a period of time selected from the historical time period as needed. The time period can be set within the past month, quarter, or half a year from the current day, or the time period from X year X month X day to Y year Y month Y day can be manually selected. The preset time period contains multiple outbound call records, and these outbound call records are annotated one by one for positive and negative classification. According to the connection status, the outbound call records are added with positive sample and negative sample annotation information respectively. When the outbound call record shows the connection status, the annotated information is a positive sample, and when the outbound call record shows the disconnected status, the annotated information is a negative sample. The positive sample and the negative sample constitute a sample library, and a sample in the sample library is an outbound call record containing annotated information.
[0029] S20: Acquire user features, context features, and time period features corresponding to the sample, perform data processing on the user features, the context features, and the time period features, and obtain a user feature vector, a context feature vector, and a time period feature vector.
[0030] Understandably, the samples in the sample library contain various information related to outbound call records. In order to more accurately highlight the individual characteristics of users, it is necessary to extract the features of each sample from this information. Each contact in the outbound call record corresponds to a user, and the user's gender, age, occupation, annual income and other information related to the user are extracted as user features; the weather on the day of the outbound call, the month of the day of the outbound call, whether the day of the outbound call is a weekend or holiday and other information related to the outbound call record are extracted as context features; a day is divided into several time periods, and the outbound call time period of the outbound call record is extracted as a time period feature. Intelligent outbound call time period prediction is achieved through a deep learning model. The input information of the deep learning model is in vector form. When converting user features, context features and time period features into vectors, if there is a lack of potential relationship between feature data, a large amount of vector data will appear, resulting in vector sparseness. Sparse vectors lead to a large amount of meaningless data, making it difficult to effectively train the model. The solution to the lack of potential relationships between sparse vectors is to use embedding. Embedding is to use a low-dimensional vector to represent an object, which can be a word, a product, or a feature of an event, to convert large sparse vectors into low-dimensional dense vectors that retain potential relationships. The property of the embedding vector is that it enables the features corresponding to the vector to retain potential relationships. Therefore, this embodiment processes each feature to obtain a low-dimensional dense embedding vector, and processes the extracted user features, context features, and time period features to obtain user feature vectors, context feature vectors, and time period feature vectors.
[0031] S30, configuring the user feature vector, the context feature vector and the time period feature vector as input data of a deep neural network; configuring a loss function according to the output data of the deep neural network and the annotation information; after iterative training, when the loss value of the loss function is less than a preset threshold, determining the trained deep neural network as a time period prediction model.
[0032] Understandably, before performing intelligent outbound call time period prediction, it is necessary to first train according to the deep learning model and build a time period prediction model. The time period prediction model of this embodiment adopts a deep learning model. Deep Neural Networks (DNN) is the basis of the deep learning model. The deep neural network is a fully connected neuron structure and does not contain convolutional units or temporal associations. A deep neural network is a multi-layer neural network including an input layer, a hidden layer, a fully connected layer, and an output layer. There are connections between adjacent layers. The neurons of the unidirectional multi-layer structure are arranged in layers. Each neuron is only connected to the neurons of the previous layer, receives the input of the previous layer and outputs it to the next layer, and there is no feedback between the layers. The input layer of the deep neural network is used to receive the input of external vectors and pass the vectors to the next layer without any calculation; the next layer of the input layer is the hidden layer, which is used to receive the vector input of the input layer and perform connection calculations, and pass the high-dimensional vector obtained after the calculation to the next layer; the next layer of the hidden layer is the fully connected layer, which is used to receive the high-dimensional vector input of the hidden layer and perform interactive calculations, and pass the low-dimensional vector obtained after the calculation to the next layer. The fully connected layer can have one or more layers; the last layer of the deep neural network is the output layer, which is used to receive the low-dimensional vector input of the fully connected layer and perform calculations to obtain output data. The deep learning model can learn the abstract relationship between features more effectively and is suitable for building a time period prediction model with multidimensional features. During the training process, the user feature vector, the context feature vector and the time period feature vector are input into the deep neural network to obtain the output data (i.e., the predicted value of the connection probability). By calculating the loss function between the output data and the label information, the corresponding loss value is obtained. Based on the loss value, the parameters of each data layer of the deep neural network are adjusted and optimized until the loss value converges and is less than the preset threshold. Here, the preset threshold can be set according to actual needs. The trained deep neural network can be determined as a time period prediction model.
[0033] In this embodiment, Figure 2As shown, the samples in the sample library are divided into training set and test set in proportion. The division ratio can be selected as needed, for example, 90% of the samples are used as training set samples and 10% of the samples are used as test set samples; the user feature vector, context feature vector and time period feature vector of the training set samples are input as low-dimensional embedding vectors and passed to the hidden layer through the input layer; the hidden layer connects and calculates the user feature vector, context feature vector and time period feature vector to obtain a 1024-dimensional high-dimensional vector and passes it to the first fully connected layer. The connection of the hidden layer can be generalized to feature combinations that do not appear in historical outbound call data; the first fully connected layer interactively calculates the 1024-dimensional high-dimensional vector. The first low-dimensional vector of 768 dimensions is obtained and passed to the second fully connected layer. The second fully connected layer performs interactive calculations on the first low-dimensional vector of 768 dimensions to obtain the second low-dimensional vector of 256 dimensions and passes it to the output layer. The fully connected layer realizes learning interaction between features. The output layer calculates the second low-dimensional vector of 256 dimensions and outputs the connection probability. The input layer, hidden layer, first fully connected layer, second fully connected layer and output layer are iteratively trained according to all training set samples. During the training process, the deep neural network is optimized by the loss function until the loss value of the loss function is less than the preset threshold. The prediction accuracy of the trained model is evaluated using the test set samples to obtain the time period prediction model.
[0034] S40, obtaining a waiting user feature vector, a waiting context feature vector, and a waiting time period feature vector, and inputting the waiting user feature vector, the waiting context feature vector, and the waiting time period feature vector into the time period prediction model for prediction to obtain a connection probability of the waiting time period.
[0035] Understandably, after constructing the time period prediction model through the user feature vector, context feature vector and time period feature vector of the samples in the preset time period, the time period prediction model will be used to predict the connection probability of the current user on call in a certain time period. The on-call user feature vector, on-call context feature vector and on-call time period feature vector are obtained through the on-call user's contact information. Here, the on-call time period feature vector is a feature vector corresponding to one of several time periods in a day. When the 8:00-12:00 time period is selected for data processing as the on-call time period feature vector, the on-call user feature vector, on-call context feature vector and on-call time period feature vector are input into the time period prediction model for prediction to obtain the on-call time period connection probability corresponding to the 8:00-12:00 time period.
[0036] S50: Perform intelligent outbound calling according to the connection probability during the waiting period.
[0037] It can be understood that by changing the on-call period corresponding to the on-call period feature vector and inputting the period prediction model for prediction, the connection probability of the on-call user in different on-call periods of the day is obtained, and the intelligent outbound call robot selects the outbound call period corresponding to the highest connection probability for intelligent outbound calling.
[0038] In this embodiment, multiple outbound call records of a preset time period in the outbound call history are annotated with positive and negative samples according to the connection status to obtain a sample library containing multiple samples; considering the individual characteristics of users, user features, context features and time period features corresponding to the samples are obtained and data processing is performed to obtain user feature vectors, context feature vectors and time period feature vectors; user feature vectors, context feature vectors and time period feature vectors are trained to obtain a time period prediction model; after the construction of the time period prediction model is completed according to the samples of the outbound call history, the on-call user feature vector, on-call context feature vector and on-call time period feature vector of the current on-call user are obtained and input into the time period prediction model for prediction to obtain the connection probability of the on-call time period; the intelligent outbound call robot selects the time period with the highest connection probability of the on-call time period to make an intelligent outbound call to the current on-call user. Among them, the time period prediction model fully considers the individual characteristics of each outbound user when designing and constructing, processes each feature data into a feature vector, generalizes to feature combinations that do not appear in the historical outbound call data, and then interacts through multiple fully connected layers, and finally the output layer predicts the connection probability of each on-call time period to select the optimal time period for outbound call. The intelligent outbound call robot selects the on-call time period for outbound calls based on the characteristics of the on-call users, instead of selecting users for outbound calls based on the historical connection rate of each time period. In the case of a large number of outbound users, the on-call time period is allocated more evenly, and the training of the time period prediction model is based on the connection rate as the optimization goal, ensuring the overall optimal connection rate.
[0039] In step S10 of an embodiment, the outbound call record is annotated to obtain a sample library containing multiple samples, which specifically includes the following steps:
[0040] S101, obtaining the connection status of the outbound call record;
[0041] S102, marking the outbound call records according to the connection status, adding a first mark to the outbound call records with a connection status of connected, to generate a positive sample; adding a second mark to the outbound call records with a connection status of unconnected, to generate a negative sample;
[0042] S103: Merge the positive samples and the negative samples to obtain the sample library.
[0043] Understandably, the connection status of each outbound call record is divided into one of the connected state and the unconnected state. Since the training of the time period prediction model is based on the connection rate as the optimization goal, the outbound call records need to be classified into samples. The first annotation is added to the outbound call record with the connection status of connected to generate a positive sample, and the second annotation is added to the outbound call record with the connection status of unconnected to generate a negative sample. The positive samples and negative samples are merged to obtain a sample library containing all outbound call record samples.
[0044] This embodiment labels and classifies each outbound call record as a positive sample or a negative sample according to the connection status of each outbound call record, and all samples are combined to form a sample library, so that the connection rate is used as an optimization target when training the time period prediction model for the samples in the sample library.
[0045] In step S20 of an embodiment, data processing is performed on the user features, the context features, and the time period features to obtain a user feature vector, a context feature vector, and a time period feature vector, specifically including the following steps:
[0046] S201, respectively performing equal-frequency discretization on the obtained user features, the context features, and the time period features to obtain corresponding user feature discrete values, context feature discrete values, and time period feature discrete values;
[0047] S202 , vectorizing the user feature discrete value, the context feature discrete value, and the time period feature discrete value respectively to obtain the corresponding user feature vector, the context feature vector, and the time period feature vector.
[0048] Understandably, deep learning models rarely directly use continuous values as feature inputs. For the user features, context features, and time period features of the obtained samples, which include many continuous value features, such as user age, user occupation, and user annual income, these continuous value features need to be discretized. The discretization of continuous value features is to use various methods to divide the continuous interval into small intervals and associate these continuous small intervals with discrete values. The essence of the discretization of continuous value features is to decide how many segmentation points to choose and determine the location of the segmentation points. For user age, if each age number corresponds to a feature data, it will be detrimental to the training and rapid iteration of the deep learning model. When the user age distribution in the user features is divided into a feature data of 0 for those under 30 years old and a feature data of 1 for those over 30 years old, the interference between continuous value features will be reduced, making the deep learning model more stable.
[0049] In practical application, it is necessary to select a suitable discretization method according to the characteristics of the sample library and the learning environment. Commonly used discretization methods are equidistance discretization and equal frequency discretization. Equidistance discretization is to divide the value range of continuous values into n equal parts evenly, and the intervals of each part are equal. For example, users aged 20 to 40 are divided according to age distribution, and the user characteristics of 20 to 30 years old are 0, and the user characteristics of 30 to 40 years old are 1; equal frequency discretization is to divide the data value into n equal parts evenly, and the number of data values contained in each part is the same. For example, users aged 20 to 40 are divided according to the distribution of the number of users. The user characteristics of 10 people aged 20 to 25 years old are 0, and the user characteristics of 10 people aged 25 to 40 years old are 1. Equidistance discretization and equal frequency discretization lead to different results in most cases. This embodiment chooses to perform equal frequency discretization on user characteristics, context characteristics and time period characteristics. Equal frequency discretization transforms continuous value characteristics into uniformly distributed data, ensures that the number of characteristics in each segment is the same, and obtains user characteristic discrete values, context characteristic discrete values and time period characteristic discrete values. Then, in order to facilitate the processing of sparsity, the discrete values of user features, context features and time period features are vectorized respectively, and a low-dimensional dense embedding vector is generated based on the potential relationship between the features to obtain the corresponding user feature vector, context feature vector and time period feature vector.
[0050] This embodiment firstly discretizes the obtained user features, context features and time period features with equal frequencies to obtain corresponding user feature discrete values, context feature discrete values and time period feature discrete values, thereby reducing interference between continuous value features and facilitating rapid iteration and stabilization of the deep learning model; then vectorizes the user feature discrete values, context feature discrete values and time period feature discrete values to obtain corresponding user feature vectors, context feature vectors and time period feature vectors, thereby retaining the potential relationship between the features and facilitating rapid training of the deep learning model.
[0051] Optionally, the loss function includes:
[0052] logloss=-[ylogP+(1-y)log(1-P)]
[0053] Among them, logloss represents the loss value, y represents the labeling information of the sample, and P represents the connection probability.
[0054] Understandably, during the model training process, the predicted value output by the output layer of the deep neural network is in error compared to the actual value. The function that calculates this error in the output layer is the loss function, which can estimate the degree of error between the predicted value and the actual value of the deep learning model. The loss function is divided into absolute value loss function, logarithmic loss function, exponential loss function, etc., among which the logarithmic loss function can characterize the probability distribution very well, and is particularly suitable for estimating the confidence of each category in the classification result. This embodiment belongs to a two-classification problem, that is, positive sample classification or negative sample classification, so the logarithmic form of the classification cross entropy function is selected as the loss function to estimate the prediction probability error of the result as a positive sample.
[0055] Understandably, when the sample is a positive sample, the smaller the loss value is when the absolute value of the difference between the connection probability and 1 is less than the preset threshold, and the larger the loss value is when the absolute value of the difference between the connection probability and 1 is greater than the preset threshold. The y in the classification cross entropy function represents the labeling information of the sample, the positive sample of the connected state is 1, the negative sample of the disconnected state is 0, P represents the predicted probability of connection, and 1- represents the predicted probability of disconnection. The preset threshold is set to a value between 0 and 1, for example, set to 0.1, and the smaller the preset threshold, the better. When the sample is a positive sample, the absolute value of the difference between the predicted connection probability and 1 is less than the preset threshold. The closer the predicted connection probability is to 1, the higher the probability that the predicted sample is a positive sample. The actual sample is also a positive sample. The smaller the error between the predicted value and the actual value, the smaller the logarithmic loss, that is, the smaller the loss when the classification is correct; the absolute value of the difference between the predicted connection probability and 1 is greater than the preset threshold. The farther the predicted connection probability is from 1, the closer it is to 0. At this time, the probability that the predicted sample is a positive sample is lower. The actual sample is a positive sample. The larger the error between the predicted value and the actual value, the larger the logarithmic loss, that is, the larger the loss when the classification is wrong. Since the prediction result of the time period prediction model is the predicted connection probability, that is, the probability that the prediction result is a positive sample, the loss is not considered when the actual sample is a negative sample. Only the loss of the predicted result is a positive sample to estimate the correct or wrong classification. In actual operation, in order to avoid disturbing outbound users during non-working hours such as morning and evening, a higher penalty is given to samples with incorrect predictions during this period in the loss function. In this embodiment, the loss of correctly classified samples is as close to 0 as possible, and the loss of incorrectly classified samples is much larger than 0, that is, the loss is smaller when the classification is correct, and the loss is larger when the classification is incorrect. The loss function is used to reduce the loss value in the model training process to optimize the time period prediction model.
[0056] In step S40 of an embodiment, that is, inputting the waiting user feature vector, the waiting context feature vector and the waiting time period feature vector into the time period prediction model for prediction to obtain the connection probability of the waiting time period, specifically includes the following steps:
[0057] S401, transferring the waiting user feature vector, the waiting context feature vector and the waiting time period feature vector to the hidden layer through the input layer;
[0058] S402, connecting the on-call user feature vector, the on-call context feature vector and the on-call period feature vector through a hidden layer to obtain a high-dimensional vector of a first dimension and passing it to a first fully connected layer;
[0059] S403: The high-dimensional vector is interacted with by the first fully connected layer to obtain a first low-dimensional vector of the second dimension and the vector is passed to the second fully connected layer; the second fully connected layer interacts with the first low-dimensional vector to obtain a second low-dimensional vector of the third dimension and the vector is passed to the output layer;
[0060] S404: Calculate the second low-dimensional vector through the output layer to obtain the connection probability during the waiting period.
[0061] It can be understood that the trained and optimized time period prediction model is a unidirectional multi-layer structure. The first layer of the time period prediction model is the input layer, which receives the input of the on-call user feature vector, the on-call context feature vector and the on-call time period feature vector, and passes the vector to the hidden layer without performing any calculation; the hidden layer receives the vector input of the input layer and performs connection calculation, obtains the high-dimensional vector of the first dimension and passes it to the first fully connected layer; the first fully connected layer receives the high-dimensional vector input of the hidden layer and performs interactive calculation, obtains the first low-dimensional vector of the second dimension and passes it to the second fully connected layer, the second fully connected layer receives the first low-dimensional vector input of the first fully connected layer and performs interactive calculation, obtains the second low-dimensional vector of the third dimension and passes it to the output layer; the last layer of the time period prediction model is the output layer, which receives the second low-dimensional vector of the second fully connected layer and performs calculation, outputs the calculated model prediction result, and obtains the connection probability of the on-call time period.
[0062] In this embodiment, the feature vector of the waiting user, the feature vector of the waiting context and the feature vector of the waiting time period are input into the trained and optimized time period prediction model for prediction, so as to obtain the connection probability of the waiting user in the waiting time period.
[0063] In step S50 of an embodiment, the intelligent outbound call is performed according to the connection probability during the waiting period, which specifically includes the following steps:
[0064] S501, obtaining the probability of connection during the waiting period of multiple time periods;
[0065] S502, sorting the multiple time periods according to the connection probability of the waiting time period;
[0066] S503, determining the time period with the highest probability of connection during the waiting period as the predicted time period;
[0067] S504: Perform intelligent outbound calling during the predicted time period.
[0068] Understandably, one of several time periods in a day is selected as the on-call period, and the on-call user feature vector, on-call context feature vector and on-call period feature vector are obtained and input into the time period prediction model for prediction, so as to obtain the connection probability of the on-call user when making an outbound call during this on-call period. In order to ensure the optimal connection probability of the on-call user, the time period prediction model changes the input of the on-call period feature vector while keeping the on-call user feature vector and the on-call context feature vector unchanged, and predicts multiple on-call periods to obtain the connection probability of the on-call period of multiple on-call periods, and sorts the corresponding on-call periods according to the level of connection probability, and takes the on-call period with the highest connection probability as the prediction period, and the intelligent outbound call robot makes intelligent outbound calls to the corresponding on-call user during the prediction period.
[0069] This embodiment uses the time period prediction model and the corresponding characteristics of the on-call users to predict the connection probability of multiple on-call time periods for each on-call user, and makes outbound calls during the on-call time period with the highest connection probability. This realizes that the characteristics of each outbound user vary according to the individual, and personalized prediction of the outbound call time period is achieved, so that the connection probability of each user is the highest.
[0070] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
[0071] In one embodiment, a smart outbound call time prediction device is provided, and the smart outbound call time prediction device corresponds to the smart outbound call time prediction method in the above embodiment. Figure 3 As shown, the intelligent outbound call time period prediction device includes a sample marking module 10, a feature processing module 20, a model building module 30, a time period prediction module 40 and an intelligent outbound call module 50. The functional modules are described in detail as follows:
[0072] The sample annotation module 10 is used to obtain outbound call data of a preset time period, wherein the outbound call data includes a plurality of outbound call records, and annotate the outbound call records to obtain a sample library including a plurality of samples, wherein the samples are outbound call records including annotation information;
[0073] A feature processing module 20 is used to obtain user features, context features and time period features corresponding to the sample, perform data processing on the user features, the context features and the time period features, and obtain a user feature vector, a context feature vector and a time period feature vector;
[0074] The model building module 30 is used to configure the user feature vector, the context feature vector and the time period feature vector as input data of a deep neural network; configure a loss function according to the output data of the deep neural network and the annotation information; after iterative training, when the loss value of the loss function is less than a preset threshold, determine the trained deep neural network as a time period prediction model;
[0075] The time period prediction module 40 is used to obtain a feature vector of a waiting user, a feature vector of a waiting context, and a feature vector of a waiting time period, and input the feature vector of the waiting user, the feature vector of the waiting context, and the feature vector of the waiting time period into the time period prediction model for prediction to obtain a connection probability of the waiting time period;
[0076] The intelligent outbound calling module 50 is used to make intelligent outbound calls according to the connection probability during the waiting period.
[0077] Optionally, the sample annotation module 10 includes:
[0078] A status acquisition unit 101 is used to acquire the connection status of the outbound call record;
[0079] The sample labeling unit 102 is used to label the outbound call record according to the connection status, add a first label to the outbound call record with the connection status of connected to generate a positive sample; add a second label to the outbound call record with the connection status of unconnected to generate a negative sample;
[0080] The sample merging unit 103 is used to merge the positive sample and the negative sample to obtain the sample library.
[0081] Optionally, the feature processing module 20 includes:
[0082] The feature discretization unit 201 is used to perform equal-frequency discretization on the acquired user feature, the context feature and the time period feature to obtain corresponding user feature discrete values, context feature discrete values and time period feature discrete values;
[0083] The feature vectorization unit 202 is used to vectorize the user feature discrete value, the context feature discrete value and the time period feature discrete value respectively to obtain the corresponding user feature vector, the context feature vector and the time period feature vector.
[0084] Optionally, the time period prediction module 40 includes:
[0085] An input layer prediction unit 401 is used to transfer the waiting user feature vector, the waiting context feature vector and the waiting time period feature vector to a hidden layer through the input layer;
[0086] A hidden layer prediction unit 402, configured to connect the waiting user feature vector, the waiting context feature vector and the waiting time period feature vector through a hidden layer to obtain a high-dimensional vector of a first dimension and pass it to a first fully connected layer;
[0087] A fully connected layer prediction unit 403 is used to interact with the high-dimensional vector through the first fully connected layer to obtain a first low-dimensional vector of a second dimension and pass it to the second fully connected layer, and the second fully connected layer interacts with the first low-dimensional vector to obtain a second low-dimensional vector of a third dimension and pass it to the output layer;
[0088] The output layer prediction unit 404 is used to calculate the second low-dimensional vector through the output layer to obtain the connection probability during the waiting period.
[0089] Optionally, the intelligent outbound calling module 50 includes:
[0090] A probability acquisition unit 501 is used to acquire the probability of connection during the waiting period of multiple time periods;
[0091] A probability sorting unit 502, configured to sort the multiple time periods according to the connection probability of the waiting time period;
[0092] A time period determination unit 503, configured to determine the time period with the highest probability of connection during the waiting call period as a predicted time period;
[0093] The outbound calling unit 504 is used to make intelligent outbound calls during the predicted time period.
[0094] For the specific limitations of the intelligent outbound call time period prediction device, please refer to the limitations of the intelligent outbound call time period prediction method above, which will not be repeated here. Each module in the above-mentioned intelligent outbound call time period prediction device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0095] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 4As shown. The computer device includes a processor, a memory, a network interface and a database connected via a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a readable storage medium and an internal memory. The readable storage medium stores an operating system, computer-readable instructions and a database. The internal memory provides an environment for the operation of the operating system and computer-readable instructions in the readable storage medium. The database of the computer device is used to store data involved in the intelligent outbound call time period prediction method. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer-readable instructions are executed by the processor, an intelligent outbound call time period prediction method is implemented. The readable storage medium provided in this embodiment includes a non-volatile readable storage medium and a volatile readable storage medium.
[0096] In one embodiment, a computer device is provided, including a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, wherein the processor executes the computer-readable instructions to implement the following steps:
[0097] Acquire outbound call data of a preset time period, the outbound call data including a plurality of outbound call records, and annotate the outbound call records to obtain a sample library including a plurality of samples, the samples being outbound call records including annotated information;
[0098] Acquire user features, context features, and time period features corresponding to the sample, perform data processing on the user features, the context features, and the time period features to obtain a user feature vector, a context feature vector, and a time period feature vector;
[0099] The user feature vector, the context feature vector and the time period feature vector are configured as input data of a deep neural network; a loss function is configured according to the output data of the deep neural network and the annotation information; after iterative training, when the loss value of the loss function is less than a preset threshold, the trained deep neural network is determined as a time period prediction model;
[0100] Acquire a feature vector of a waiting user, a feature vector of a waiting context, and a feature vector of a waiting time period, input the feature vector of the waiting user, the feature vector of the waiting context, and the feature vector of the waiting time period into the time period prediction model for prediction, and obtain a connection probability of the waiting time period;
[0101] Intelligent outbound calling is performed according to the connection probability during the waiting period.
[0102] In one embodiment, one or more computer-readable storage media storing computer-readable instructions are provided. The readable storage media provided in this embodiment include non-volatile readable storage media and volatile readable storage media. The readable storage media store computer-readable instructions, and when the computer-readable instructions are executed by one or more processors, the following steps are implemented:
[0103] Acquire outbound call data of a preset time period, the outbound call data including a plurality of outbound call records, and annotate the outbound call records to obtain a sample library including a plurality of samples, the samples being outbound call records including annotated information;
[0104] Acquire user features, context features, and time period features corresponding to the sample, perform data processing on the user features, the context features, and the time period features to obtain a user feature vector, a context feature vector, and a time period feature vector;
[0105] The user feature vector, the context feature vector and the time period feature vector are configured as input data of a deep neural network; a loss function is configured according to the output data of the deep neural network and the annotation information; after iterative training, when the loss value of the loss function is less than a preset threshold, the trained deep neural network is determined as a time period prediction model;
[0106] Acquire a feature vector of a waiting user, a feature vector of a waiting context, and a feature vector of a waiting time period, input the feature vector of the waiting user, the feature vector of the waiting context, and the feature vector of the waiting time period into the time period prediction model for prediction, and obtain a connection probability of the waiting time period;
[0107] Intelligent outbound calling is performed according to the connection probability during the waiting period.
[0108] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing related hardware through computer-readable instructions, and the computer-readable instructions can be stored in a non-volatile readable storage medium or a volatile readable storage medium. When the computer-readable instructions are executed, they may include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0109] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0110] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. An intelligent outbound call time period prediction method, characterized in that: include: Acquire outbound call data of a preset time period, the outbound call data including a plurality of outbound call records, and annotate the outbound call records to obtain a sample library including a plurality of samples, the samples being outbound call records including annotated information; Acquire user features, context features, and time period features corresponding to the sample, perform data processing on the user features, the context features, and the time period features to obtain a user feature vector, a context feature vector, and a time period feature vector; The user feature vector, the context feature vector and the time period feature vector are configured as input data of a deep neural network; a loss function is configured according to the output data of the deep neural network and the annotation information; after iterative training, when the loss value of the loss function is less than a preset threshold, the trained deep neural network is determined as a time period prediction model; Acquire a feature vector of a waiting user, a feature vector of a waiting context, and a feature vector of a waiting time period, input the feature vector of the waiting user, the feature vector of the waiting context, and the feature vector of the waiting time period into the time period prediction model for prediction, and obtain a connection probability of the waiting time period; Intelligent outbound calling is performed according to the connection probability during the waiting period.
2. The intelligent outbound call time period prediction method according to claim 1, characterized in that: The step of labeling the outbound call records to obtain a sample library containing a plurality of samples includes: Obtaining the connection status of the outbound call record; The outbound call records are annotated according to the connection status, and a first annotation is added to the outbound call records with a connection status of connected to generate a positive sample; and a second annotation is added to the outbound call records with a connection status of unconnected to generate a negative sample; The positive samples and the negative samples are combined to obtain the sample library.
3. The intelligent outbound call time period prediction method according to claim 1, characterized in that: The performing data processing on the user feature, the context feature and the time period feature to obtain a user feature vector, a context feature vector and a time period feature vector includes: Respectively performing equal-frequency discretization on the acquired user features, the context features, and the time period features to obtain corresponding user feature discrete values, context feature discrete values, and time period feature discrete values; The user feature discrete value, the context feature discrete value and the time period feature discrete value are respectively vectorized to obtain the corresponding user feature vector, the context feature vector and the time period feature vector.
4. The intelligent outbound call time period prediction method according to claim 1, characterized in that: The loss function includes: logloss=-[ylogP+(1-y)log(1-P)] Among them, logloss represents the loss value, y represents the labeling information of the sample, and P represents the connection probability.
5. The intelligent outbound call time period prediction method according to claim 1, characterized in that: The step of inputting the on-call user feature vector, the on-call context feature vector and the on-call time period feature vector into the time period prediction model for prediction to obtain the on-call time period connection probability includes: The on-call user feature vector, the on-call context feature vector and the on-call period feature vector are transmitted to the hidden layer through the input layer; Connecting the on-call user feature vector, the on-call context feature vector and the on-call period feature vector through a hidden layer to obtain a high-dimensional vector of a first dimension and passing it to a first fully connected layer; The high-dimensional vector is interacted through the first fully connected layer to obtain a first low-dimensional vector of the second dimension and is passed to the second fully connected layer; the second fully connected layer interacts with the first low-dimensional vector to obtain a second low-dimensional vector of the third dimension and is passed to the output layer; The second low-dimensional vector is calculated through the output layer to obtain the connection probability during the waiting period.
6. The intelligent outbound call time period prediction method according to claim 1, characterized in that: The intelligent outbound calling according to the connection probability during the waiting time period includes: Obtain the probability of connection during the waiting period of multiple time periods; sorting the multiple time periods according to the connection probability of the waiting time period; Determine the time period with the highest probability of connection during the waiting period as the predicted time period; Intelligent outbound calling is performed during the predicted time period.
7. An intelligent outbound call time prediction device, characterized in that: include: A sample annotation module, used to obtain outbound call data of a preset time period, the outbound call data including a plurality of outbound call records, annotate the outbound call records to obtain a sample library including a plurality of samples, the samples being outbound call records including annotation information; A feature processing module, used to obtain user features, context features and time period features corresponding to the sample, perform data processing on the user features, the context features and the time period features, and obtain a user feature vector, a context feature vector and a time period feature vector; A model building module, configured to configure the user feature vector, the context feature vector and the time period feature vector as input data of a deep neural network; configure a loss function according to the output data of the deep neural network and the annotation information; after iterative training, when the loss value of the loss function is less than a preset threshold, determine the trained deep neural network as a time period prediction model; A time period prediction module is used to obtain a feature vector of a waiting user, a feature vector of a waiting context, and a feature vector of a waiting time period, and input the feature vector of the waiting user, the feature vector of the waiting context, and the feature vector of the waiting time period into the time period prediction model for prediction to obtain a connection probability of the waiting time period; The intelligent outbound calling module is used to make intelligent outbound calls according to the connection probability during the waiting period.
8. The intelligent outbound call time period prediction device according to claim 7, characterized in that: The sample annotation module includes: A status acquisition unit, used to acquire the connection status of the outbound call record; A sample labeling unit is used to label the outbound call record according to the connection status, add a first label to the outbound call record with the connection status of connected to generate a positive sample; add a second label to the outbound call record with the connection status of unconnected to generate a negative sample; The sample merging unit is used to merge the positive sample and the negative sample to obtain the sample library.
9. A computer device comprising a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, characterized in that: When the processor executes the computer-readable instructions, the intelligent outbound call time period prediction method as described in any one of claims 1 to 6 is implemented.
10. A computer-readable storage medium storing computer-readable instructions, characterized in that: When the computer-readable instructions are executed by one or more processors, the one or more processors execute the intelligent outbound call time period prediction method as described in any one of claims 1 to 6.
