Customer service seat distribution method and device, electronic equipment, medium and product
Optimizing customer service agent allocation through the twin-tower model and operations research algorithm solves the problem of low matching between users and customer service agents in the existing technology, and improves session connection efficiency and resource utilization.
Patent Information
- Application Number
- CN202410668983.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-27
- Publication Date
- 2024-08-23
AI Technical Summary
In the existing technology, the flexibility of customer service agent allocation is low, and the matching degree between users and customer service agents is low, resulting in low session connection efficiency and waste of network resources.
The twin-tower model is used to match the attribute information on the user side and the customer service agent side, and the constraints and objective functions are determined according to the needs of the business scenario. The objective function is split and optimally solved through operations research algorithms to determine the best Match the relationship and establish a session connection.
It improves the flexibility and reliability of matching between users and customer service agents, improves the efficiency of session connection creation, and reduces the waste of network interaction resources.
Smart Images

Figure CN118537022A
Abstract
Description
Background Art
[0002] At present, with the development of Internet technology, customer service agents on various network platforms can establish conversational connections with users based on simple matching logic.
[0003] In the related art, customer service seat allocation has low flexibility and low matching between users and customer service seats. For example, when a user initiates a session request for a completed order, the system automatically assigns the request to a pre-sales customer service seat. However, the questions users usually ask are after-sales maintenance questions, and the pre-sales customer service seat needs to switch to an after-sales seat to connect with the customer, which not only affects the efficiency of establishing a session connection, but also leads to a waste of network interaction resources.
[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention
[0005] The purpose of the present disclosure is to provide a customer service seat allocation method, device, electronic device, medium and product, which are used to overcome the problem of low matching between users and customer service seats due to limitations and defects of related technologies, at least to a certain extent.
[0006] According to a first aspect of an embodiment of the present disclosure, a customer service seat allocation method is provided, comprising: matching attribute information on a user side and attribute information on a customer service seat side based on a dual-tower model to obtain user-customer service seat cross-feature information; determining constraints and objective functions according to business scenario requirements, and inputting the user-customer service seat cross-feature information into the objective function subject to the constraints; splitting the constraints and the objective function based on resource constraints on the customer service agent side to obtain split constraints and split objective functions; finding an optimal solution for the split objective function based on an operations research algorithm; determining the best matching relationship between the customer service agent side and the user side under the session request based on the optimal solution, and establishing a session connection between the customer service agent side and the user side based on the best matching relationship.
[0007] In an exemplary embodiment of the present disclosure, before matching the attribute information on the user side and the attribute information on the customer service agent side based on the dual-tower model, the method further includes:
[0008] Obtaining at least one of a basic profile of the user, historical order records, and user telemarketing records, and determining the records as attribute information of the user;
[0009] And / or, obtaining at least one of the professional portrait, historical conversation records and customer service agent telemarketing records of the customer service agent side, and determining it as the attribute information of the customer service agent side.
[0010] In an exemplary embodiment of the present disclosure, matching processing is performed on the attribute information on the user side and the attribute information on the customer service agent side based on the dual-tower model to obtain user-customer service agent cross-feature information including:
[0011] Embedding the attribute information of the user side to obtain a continuous user side feature vector;
[0012] In response to a session request initiated by the customer service agent, embedding the attribute information of the customer service agent to obtain a continuous feature vector of the customer service agent;
[0013] Based on the dual-tower model, matching processing is performed on the user-side feature vector and the customer service agent-side feature vector to obtain a user-customer service agent matching degree;
[0014] Determine any set of the user-side feature vector and the customer service agent-side feature vector whose user-customer service agent matching degree is higher than a preset matching degree as a user-customer service agent cross vector;
[0015] All the user-customer service agent cross vectors are aggregated into the user-customer service agent cross feature information.
[0016] In an exemplary embodiment of the present disclosure, determining the constraint conditions and the objective function according to the business scenario requirements, and inputting the user-customer service agent cross-feature information into the objective function subject to the constraint conditions includes:
[0017] Determine the constraint condition and the objective function according to the business scenario;
[0018] Determining whether the magnitude of the user-customer service agent cross-feature information exceeds the calculation magnitude of the objective function;
[0019] If it is determined that the magnitude of the user-customer service agent cross-feature information exceeds the calculation magnitude of the objective function, a pruning algorithm is used to prune the user-customer service agent cross-feature information;
[0020] The user-customer service agent cross-feature information after the pruning process is input into the objective function.
[0021] In an exemplary embodiment of the present disclosure, the constraint condition and the objective function are split based on the resource restriction condition of the customer service agent side to obtain the split constraint condition and the split objective function, including:
[0022] Determine the resource restriction condition according to the session processing time period, session processing efficiency, and number of workplaces on the customer service agent side;
[0023] The objective function is split into a plurality of sub-objective functions according to the resource restriction condition, and the constraint condition is split into a plurality of sub-constraint conditions, and the split constraint conditions and the split objective function are respectively determined.
[0024] In an exemplary embodiment of the present disclosure, seeking an optimal solution for the split objective function based on an operations research algorithm includes:
[0025] Splitting the weight of the objective function into a plurality of sub-weights according to the splitting result of the objective function;
[0026] The sub-objective functions obtained by splitting the objective function are sent to corresponding calculation sub-modules to calculate the sub-objective functions, and the corresponding sub-weights are allocated to the calculation sub-modules.
[0027] In an exemplary embodiment of the present disclosure, seeking an optimal solution for the split objective function based on an operations research algorithm further includes:
[0028] Calculating a weighted sum of the sub-objective functions according to the sub-weights;
[0029] Taking all the sub-constraints as constraints, the optimal solution of the weighted sum of the sub-objective functions is determined based on the greedy algorithm or the simulated annealing algorithm in the operations research algorithm.
[0030] According to a second aspect of an embodiment of the present disclosure, there is provided a customer service seat allocation device, comprising:
[0031] A matching module is configured to match the attribute information on the user side and the attribute information on the customer service agent side based on a dual-tower model to obtain cross-feature information of the user and the customer service agent;
[0032] A splitting module is configured to determine constraint conditions and an objective function according to business scenario requirements, and input the user-customer service agent cross-feature information into the objective function subject to the constraint conditions;
[0033] A determination module is configured to split the constraint condition and the objective function based on the resource restriction condition of the customer service agent side to obtain the split constraint condition and the split objective function;
[0034] A solution module is configured to find the optimal solution of the split objective function based on an operations research algorithm;
[0035] The determination module is configured to determine the best matching relationship between the customer service agent side and the user side under the session request according to the optimal solution, and establish a session connection between the customer service agent side and the user side based on the best matching relationship.
[0036] According to a third aspect of the present disclosure, there is provided an electronic device, comprising: a memory; and a processor coupled to the memory, wherein the processor is configured to execute any one of the methods described above based on instructions stored in the memory.
[0037] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided, on which a program is stored, and when the program is executed by a processor, the customer service seat allocation method as described in any one of the above items is implemented.
[0038] According to a fifth aspect of the present disclosure, a computer program product is provided, including a computer program, characterized in that when the computer program is executed by a processor, the customer service seat allocation method as described in any one of the above items is implemented.
[0039] The disclosed embodiment matches the attribute information on the user side and the attribute information on the customer service agent side based on the dual-tower model, and then determines the constraints and objective function according to the business scenario requirements, and inputs the user-customer service agent cross-feature information into the objective function subject to the constraints, thereby achieving two-way matching between users and customer service agents, which not only improves the flexibility and reliability of matching between users and customer service agents, but also improves the benefits of session connections in business scenarios.
[0040] Furthermore, the constraints and the objective function are split based on the resource constraints on the customer service agent side to obtain split constraints and split objective functions, and the optimal solution of the split objective function is sought based on the operations research algorithm. Under the premise of balancing the limited resources of the customer service agents, the matching degree between the user and the customer service agent is improved based on the optimal solution of the objective function.
[0041] Furthermore, the best matching relationship between the customer service agent side and the user side under the session request is determined according to the optimal solution, and a session connection between the customer service agent side and the user side is established based on the best matching relationship, thereby improving the efficiency of creating the session connection between the user and the customer service agent and reducing the waste of network interaction resources.
[0042] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.
[0044] Figure 1 A schematic diagram showing an exemplary system architecture to which the customer service agent allocation solution according to an embodiment of the present invention can be applied;
[0045] Figure 2 is a flow chart of a customer service seat allocation method in an exemplary embodiment of the present disclosure;
[0046] Figure 3 is a flow chart of another customer service seat allocation method in an exemplary embodiment of the present disclosure;
[0047] Figure 4 is a flow chart of another customer service seat allocation method in an exemplary embodiment of the present disclosure;
[0048] Figure 5 is a flow chart of another customer service seat allocation method in an exemplary embodiment of the present disclosure;
[0049] Figure 6 is a flow chart of another customer service seat allocation method in an exemplary embodiment of the present disclosure;
[0050] Figure 7 is a flow chart of another customer service seat allocation method in an exemplary embodiment of the present disclosure;
[0051] Figure 8 is a flow chart of another customer service seat allocation method in an exemplary embodiment of the present disclosure;
[0052] Fig. 9 is a flow chart of another customer service seat allocation method in an exemplary embodiment of the present disclosure;
[0053] Fig.10 is a flow chart of another customer service seat allocation method in an exemplary embodiment of the present disclosure;
[0054] Fig.11 is a flow chart of another customer service seat allocation method in an exemplary embodiment of the present disclosure;
[0055] Fig.12 is a block diagram of a customer service seat allocation device in an exemplary embodiment of the present disclosure;
[0056] Fig.13 is a block diagram of an electronic device in an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0057] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.
[0058] In addition, the accompanying drawings are only schematic diagrams of the present disclosure, and the same reference numerals in the drawings represent the same or similar parts, so their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities, which do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.
[0059] Figure 1 A schematic diagram showing an exemplary system architecture to which the customer service agent allocation solution according to an embodiment of the present invention can be applied.
[0060] like Figure 1 As shown, the system architecture 100 may include one or more of terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.
[0061] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. According to the implementation requirements, there may be any number of terminal devices, networks and servers. For example, the server 105 may be a server cluster composed of multiple servers.
[0062] Users can use terminal devices 101, 102, 103 to interact with server 105 through network 104 to receive or send messages, etc. Terminal devices 101, 102, 103 can be various electronic devices with display screens, including but not limited to smart phones, tablet computers, portable computers, desktop computers, etc.
[0063] In some embodiments, the customer service seat allocation method provided in the embodiments of the present invention is generally executed by the server 105. Accordingly, the customer service seat allocation device is generally set in the terminal device 103 (or the terminal device 101 or 102). In other embodiments, some terminals may have functions similar to those of the server device to execute the method.
[0064] The exemplary embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
[0065] Figure 2 The figure is a flow chart of a customer service agent allocation method in an exemplary embodiment of the present disclosure.
[0066] refer to Figure 2 , the customer service seat allocation methods can include:
[0067] Step S202: Matching the attribute information on the user side and the attribute information on the customer service agent side is performed based on the dual-tower model to obtain user-customer service agent cross-feature information.
[0068] In an exemplary embodiment of the present disclosure, the attribute information on the user side and the attribute information on the customer service agent side are matched and processed through a dual-tower model to obtain user-customer service agent cross-feature information, thereby realizing two-way deep mining of multiple features between users and customer service agents.
[0069] Step S204, determining constraint conditions and objective functions according to business scenario requirements, and inputting the user-customer service agent cross-feature information into the objective function subject to the constraint conditions.
[0070] In an exemplary embodiment of the present disclosure, by matching the attribute information on the user side and the attribute information on the customer service agent side based on the dual-tower model, and then determining the constraints and objective function according to the business scenario requirements, and inputting the user-customer service agent cross-feature information into the objective function subject to the constraints, a two-way match between the user and the customer service agent is achieved, which not only improves the flexibility and reliability of the match between the user and the customer service agent, but also improves the benefits of the session connection in the business scenario.
[0071] In an exemplary embodiment of the present disclosure, the business scenario may be a pre-sales scenario, a after-sales scenario, an operation promotion scenario, a consulting scenario, etc., but is not limited thereto.
[0072] In an exemplary embodiment of the present disclosure, the corresponding objective function can be further determined according to the business scenario, and the result of the objective function can be revenue, order volume, praise degree, etc., but is not limited thereto.
[0073] Step S206: split the constraint condition and the objective function based on the resource restriction condition of the customer service agent side to obtain split constraint condition and split objective function.
[0074] In an exemplary embodiment of the present disclosure, the constraint conditions and the objective function are split based on the resource constraints on the customer service agent side to obtain the split constraint conditions and the split objective function, that is, the objective function is split into multiple sub-objective functions, and the constraint conditions are split into multiple sub-constraint conditions. The multiple sub-constraint conditions are combined to solve the optimal solution of the multiple sub-objective functions, which reduces the difficulty of solving large objective functions and also reduces the complexity of parameter configuration of the objective function.
[0075] Step S208, finding the optimal solution for the split objective function based on an operations research algorithm.
[0076] In an exemplary embodiment of the present disclosure, the constraint conditions and the objective function are split based on the resource constraints on the customer service agent side to obtain the split constraint conditions and the split objective function, and the optimal solution of the split objective function is sought based on the operations research algorithm. On the premise of balancing the limited resources of the customer service agents, the matching degree between the user and the customer service agent is improved based on the optimal solution of the objective function.
[0077] Step S210: determining the best matching relationship between the customer service agent side and the user side under the session request according to the optimal solution, and establishing a session connection between the customer service agent side and the user side based on the best matching relationship.
[0078] In an exemplary embodiment of the present disclosure, the best matching relationship between the customer service agent side and the user side under the session request is determined according to the optimal solution, and a session connection between the customer service agent side and the user side is established based on the best matching relationship, thereby improving the efficiency of creating the session connection between the user and the customer service agent and reducing the waste of network interaction resources.
[0079] Below, each step of the customer service seat allocation method is described in detail.
[0080] In an exemplary embodiment of the present disclosure, Figure 3 As shown, before matching the attribute information on the user side and the attribute information on the customer service agent side based on the dual-tower model, it also includes:
[0081] Step S302, obtaining at least one of the basic portrait, historical order records and user telemarketing records of the user side, and determining it as the attribute information of the user side.
[0082] Step S304, obtaining at least one of the professional portrait, historical conversation records and customer service agent telemarketing records of the customer service agent side, and determining it as the attribute information of the customer service agent side.
[0083] In an exemplary embodiment of the present disclosure, the above-mentioned step S302 and step S304 are independently executed steps. On the one hand, multi-dimensional user-side attribute information, namely, basic portraits, historical order records, and user telemarketing records, etc., are determined through the user's order records, consultation records, and browsing records, but are not limited to this. Among them, the basic portrait may include age ranges and shopping tendencies, etc., but are not limited to this. On the other hand, the professional portrait, historical conversation records, and customer service agent telemarketing records, etc. are determined through the historical conversation records of the customer service agent, but are not limited to this. Among them, the professional portrait is used to describe the docking user population, docking brand, docking product, docking process, etc. of the customer service agent, but is not limited to this.
[0084] In an exemplary embodiment of the present disclosure, Figure 4 As shown, based on the dual-tower model, the attribute information on the user side and the attribute information on the customer service agent side are matched and processed to obtain the user-customer service agent cross-feature information including:
[0085] Step S402: embedding the attribute information of the user side to obtain a continuous user side feature vector.
[0086] In an exemplary embodiment of the present disclosure, the trigger condition for embedding the attribute information on the user side may be that the session request includes order consultation, product consultation, business consultation, after-sales consultation and other content, and may also include product links or business links, but is not limited to this.
[0087] In an exemplary embodiment of the present disclosure, embedding processing is implemented through the Embedding Layer of a recurrent neural network. The Embedding Layer will look up a pre-trained word vector table based on each discrete variable in the input user-side attribute information, and then map it to a real number vector of a fixed length to obtain a continuous user-side feature vector.
[0088] Step S404: In response to the session request initiated by the customer service agent, embedding processing is performed on the attribute information of the customer service agent to obtain a continuous feature vector of the customer service agent.
[0089] In an exemplary embodiment of the present disclosure, in response to a session request initiated by the customer service agent, a cluster of corresponding customer service agents can be determined according to the business scenario of the session request, and each discrete variable of the attribute information of the input customer service agent side can be mapped into a continuous vector through the Embedding Layer.
[0090] Step S406: Matching the user-side feature vector and the customer service agent-side feature vector is performed based on the dual-tower model to obtain a user-customer service agent matching degree.
[0091] In an exemplary embodiment of the present disclosure, the user-side feature vector and the customer service agent-side feature vector are matched based on the dual-tower model, and the matching degree can be determined by a cosine similarity algorithm, and the calculation method is simple and efficient.
[0092] Step S408: Determine any group of the user-side feature vector and the customer service agent-side feature vector whose user-customer service agent matching degree is higher than a preset matching degree as a user-customer service agent cross vector.
[0093] In an exemplary embodiment of the present disclosure, any group of the user-side feature vector and the customer service agent-side feature vector whose user-customer service agent matching degree is higher than a preset matching degree is determined as a user-customer service agent cross vector, and combinations of users and customer service agents with low matching degrees are filtered out, thereby reducing redundant data in subsequent calculation processes.
[0094] Step S410: Aggregate all the user-customer service agent cross vectors into the user-customer service agent cross feature information.
[0095] In an exemplary embodiment of the present disclosure, clustering processing can be performed based on the numerical distribution of the user-customer service agent cross vector, and the user-customer service agent cross vector can be divided into multiple candidate clusters according to the clustering processing, and the optimal solution of the objective function can be calculated for each candidate cluster.
[0096] In an exemplary embodiment of the present disclosure, Figure 5 As shown, determining the constraint conditions and the objective function according to the business scenario requirements, and inputting the user-customer service agent cross-feature information into the objective function subject to the constraint conditions includes:
[0097] Step S502: determining the constraint conditions and the objective function according to the business scenario.
[0098] Step S504, determining whether the magnitude of the user-customer service agent cross-feature information exceeds the calculation magnitude of the objective function.
[0099] Step S506: If it is determined that the magnitude of the user-customer service agent cross-feature information exceeds the calculation magnitude of the objective function, a pruning algorithm is used to prune the user-customer service agent cross-feature information.
[0100] In an exemplary embodiment of the present disclosure, if it is determined that the magnitude of the user-customer service agent cross-feature information exceeds the calculation magnitude of the objective function, the user-customer service agent cross-feature information is sorted, and the user-customer service agent cross-feature information with a lower sorting is pruned.
[0101] Step S508: input the user-customer service agent cross-feature information after the pruning process into the objective function.
[0102] In an exemplary embodiment of the present disclosure, by inputting the pruned user-customer service agent cross-feature information into the objective function, the amount of data calculation is effectively reduced, which is conducive to improving the calculation efficiency of user-customer service agent matching.
[0103] In an exemplary embodiment of the present disclosure, Figure 6 As shown, the constraint condition and the objective function are split based on the resource restriction condition on the customer service agent side to obtain the split constraint condition and the split objective function, including:
[0104] Step S602, determining the resource restriction condition according to the conversation processing time period, conversation processing efficiency, and number of workplaces on the customer service agent side.
[0105] Step S604: split the objective function into a plurality of sub-objective functions according to the resource restriction condition, and split the constraint condition into a plurality of sub-constraint conditions, and respectively determine the split constraint conditions and the split objective function.
[0106] In an exemplary embodiment of the present disclosure, the constraints include two aspects: business scenarios and agent capabilities. On the one hand, there are differences in the number and quality of lists in various business scenarios, and the lists for specific business scenarios should be evenly distributed to ensure that the capacity of each business scenario is maximized. On the other hand, there are large differences in the capabilities of different customer service agents, and there are certain differences in the capacity of the same customer service agent in different business scenarios. There is also a certain upper limit to the number of lists that a customer service agent can handle every day. By adding business scenarios and agent capabilities as resource constraints, that is, allocating lists in a personalized manner according to the customer service agent's own capabilities, it is beneficial to maximize the customer service agent capacity, maximize the order conversion rate, or maximize the expected value of customer service evaluation.
[0107] In an exemplary embodiment of the present disclosure, Figure 7As shown in the figure, the optimal solution of the split objective function based on the operations research algorithm includes:
[0108] Step S702: split the weight of the objective function into multiple sub-weights according to the split result of the objective function.
[0109] Step S704: sending the sub-objective functions obtained by splitting the objective function to corresponding calculation sub-modules to calculate the sub-objective functions, and assigning corresponding sub-weights to the calculation sub-modules.
[0110] In an exemplary embodiment of the present disclosure, the goal of splitting is to make the prediction tasks between computing sub-models orthogonal. After the objective function is split, the sub-objective function is calculated by multiple computing sub-modules, and the results of the computing sub-modules are weighted based on the sub-weights. Based on this, while improving the computing efficiency, the reliability of the computing matching degree is improved, thereby achieving maximum business capacity.
[0111] In an exemplary embodiment of the present disclosure, Figure 8 As shown, the optimal solution of the split objective function based on the operations research algorithm also includes:
[0112] Step S802: Calculate the weighted sum of the sub-objective functions according to the sub-weights.
[0113] Step S804, with all the sub-constraints as constraints, determine the optimal solution of the weighted sum of the sub-objective functions based on the greedy algorithm or the simulated annealing algorithm in the operations research algorithm.
[0114] In an exemplary embodiment of the present disclosure, the weighted sum of the sub-objective functions is calculated according to the sub-weights, and with all the sub-constraints as constraints, the optimal solution of the weighted sum of the sub-objective functions is determined based on the greedy algorithm or simulated annealing algorithm in the operations research algorithm, and then the matching relationship between the user and the customer service agent is determined according to the optimal solution, and the corresponding session connection is established based on the matching relationship.
[0115] Among them, the greedy algorithm divides the entire problem into multiple steps, and selects the optimal solution for the current step in each step until the step ends. That is, the overall optimal solution to the problem can be obtained through a series of local optimal solutions.
[0116] Among them, the simulated annealing algorithm introduces random factors in the calculation process. When iteratively updating the feasible solution, it accepts a solution that is worse than the current solution with a certain probability, that is, it is possible to jump out of the local optimal solution to achieve the global optimal solution.
[0117] Combine the following Figures 9 to 11 A specific implementation example of a customer service seat allocation solution is described.
[0118] like Fig. 9 As shown, the architecture 900 of the customer service agent allocation solution includes the following key processing steps:
[0119] Step A: Data feature preparation and conversation text vectorization, including the user side, customer service agent side, and user-customer service agent cross-features, specifically including the following sub-steps:
[0120] A-01: The user side includes user attribute portraits, user historical telemarketing behavior and other aspects.
[0121] A-02: The customer service agent side includes data such as the agent's professional profile, the agent's historical telemarketing behavior, and the agent's historical conversation data.
[0122] A-03: User-customer service agent cross-features, using user basic portraits, agent professional portraits, agent historical telemarketing behaviors and historical tags as raw data, constructs cross-features between users and agents, deeply mines the relationship between users and customer service agents, and lays a data foundation for users to better recommend suitable customer service agents.
[0123] Step B: Double-tower model candidate set construction, using A-01 and A-02 as the original data to process the data, obtain the matching scores between the user and each seat, and generate a matching candidate set, which specifically includes the following sub-steps:
[0124] B-01: User coding, using user behavior data as raw data, applying deep learning methods to embed user data, and using continuous vectors to represent user behavior habits.
[0125] B-02: Customer service agent coding uses the agent's historical telemarketing behavior and historical call record text as the original basis, applies deep learning methods to embed user data, and uses continuous vectors to represent the agent's sales ability.
[0126] B-03: Model layer, using user-side features, agent-side features, and user-agent cross-features as data, applies the dual-tower model (including the user tower and the customer service tower) to calculate the matching score between users and agents, and obtains the user-agent matching candidate set.
[0127] like Fig.10 As shown, the neural network model 1000 for customer service agent allocation includes:
[0128] (1) Input Layer is the input layer, {x1, x2, x3, ..., xk, ..., xv} is the k-dimensional input feature.
[0129] (2)W v×n is the weight matrix from the input layer to the hidden layer.
[0130] (3)W n×v is the weight matrix from the hidden layer to the output layer.
[0131] (4) Hidden Layer is the hidden layer, and {h1, h2, ..., hi, ..., hn} is the n-dimensional representation of the input features in the hidden layer.
[0132] (5)Output Layer is the output layer, and {y1, y2, y3, …, yj, …, yv} are the output features.
[0133] Among them, the input layer (Input Layer) inputs the sequence {x1, x2, x3, ..., xk, ..., xv}, which is processed by the hidden layer (Hidden Layer) {h1, h2, ..., hi, ..., hn} into the output result {y1, y2, y3, ..., yj, ..., yv}.
[0134] like Fig.11 As shown, the dual-tower processing model 1100 for customer service agent allocation includes:
[0135] Based on the dual-tower model, a candidate set of users and customer service agents is generated, and the candidate set is optimized, including filtering, pruning, clustering and other processes. The candidate set is then input into the operations optimization module to obtain the optimal solution under the constraints. Finally, the matching result between the user and the customer service agent is determined based on the optimal solution.
[0136] Step C: Optimize limited resource decisions, mainly by breaking down the goals / constraints into easily estimated sub-modules to maximize the use of limited seat resources x f(x), the general idea of decomposition is to make the prediction tasks between models orthogonal, and ultimately help maximize business capacity, which includes the following sub-steps.
[0137] The above-mentioned limited resource decision optimization includes the following key contents:
[0138] (1) Based on the accumulated business knowledge, the goal is efficiently broken down as follows:
[0139] Target breakdown:
[0140] f(u)=Maxmize f(W,u); W is the workplace, u is the user,
[0141] f(u) represents the maximum value under the balanced matching of all workplace seat users.
[0142] Constraint decomposition:
[0143] i is the workplace, j is the seat, and each user can only be assigned once;
[0144] u i,j is the preset weight, u i,j ∈{0,1};
[0145] u is the user, N is the total number of users,
[0146] A u Whether the user is assigned to seat A, A u ∈{0,1},
[0147] N a Assign a maximum number of users to each seat.
[0148] (2) For the decomposed objectives / constraints, estimate how the objectives and constraints will change if the decision variable u is changed.
[0149] (3) Under the constraints, the operations optimization scheme is used to achieve the optimal goal and produce the best solution.
[0150] C-01: Candidate set optimization. Step B includes all candidate sets with a user-agent order of m×n. Considering the computational magnitude, the tail candidate set is optimized by pruning to improve resource utilization and model matching efficiency.
[0151] C-02: Constraints include business scenarios and customer service agent capabilities. On the one hand, the number and quality of lists in each business scenario are different, and the lists should be evenly distributed for specific business scenarios to ensure the maximum capacity of each business scenario. On the other hand, the capabilities of different customer service agents vary greatly, and the capacity of the same customer service agent in different business scenarios also varies to a certain extent. In addition, there is a certain upper limit to the number of lists that a customer service agent can handle every day. The list should be allocated in a personalized manner according to the customer service agent's own capabilities to maximize the customer service agent's capacity. Therefore, the conditional restrictions on business scenarios and customer service agent capabilities are added.
[0152] C-03: Based on C-01 and C-02, operations research optimization is performed. Operations research methods such as greedy algorithm and simulated annealing algorithm are used to decompose the objective function and constraints accordingly, and the list-seat high-scoring candidate sets are matched first. Ultimately, a balanced match of the list and the best seats is achieved under limited resources, which helps various business scenarios.
[0153] The overall goal of the limited resource decision-making provided in the above step C is to evenly distribute all users to agents who are good at serving users of corresponding categories in all workplaces under the condition of limited seat resources, so as to achieve balanced distribution of the best seats for global users and maximize production capacity.
[0154] In the specific implementation process, a greedy algorithm is used to break down the overall goal into maximizing the production capacity of each workplace and balancing the allocation of the best seats for users in each workplace, thereby achieving overall capacity maximization.
[0155] Target decomposition: f(u) = Maxmize(f(W 1 ,u)+f(W 2 ,u)+…+f(W i ,u)),
[0156] Maximizing overall value is broken down into maximizing the value of balanced matching of seats and users within each workplace;
[0157] Constraint decomposition: i is the workplace, j is the seat, and m is the total number of seats.
[0158] Each user can only be assigned once;
[0159] u i,j ∈{0,1};
[0160] u is the user, W n is the number of users in workplace n, and each seat is assigned a maximum of N a Users;
[0161] A u ∈{0,1};
[0162] i represents the workplace number, n represents n workplaces, W i is the number of users in the i-th workplace,
[0163] The total number of workplace users is N;
[0164] i represents the workplace number, n represents n workplaces, W i is the number of seats in the i-th workplace,
[0165] The total number of seats is Sa.
[0166] Accordingly, the overall constraints are that the allocation range includes:
[0167] ①The total number of seats in all workplaces S a ; ② The list is absolutely balanced across all seats; ③
[0168] Each user can only be assigned once.
[0169] After the constraints are split and adjusted, the constraints include:
[0170] ①The number of workplaces is n; ②The total number of seats in each workplace is S a; ③ The distribution range of the list is the number of seats Wi in each workplace; ④ The list is relatively balanced within the range of seats in each workplace; ⑤ Each user can only be assigned once.
[0171] Corresponding to the above method embodiment, the present disclosure also provides a customer service seat allocation device, which can be used to execute the above method embodiment.
[0172] Fig.12 It is a block diagram of a customer service seat allocation device in an exemplary embodiment of the present disclosure.
[0173] refer to Fig.12 The customer service seat allocation device 1200 may include:
[0174] The matching module 1202 is configured to match the attribute information on the user side and the attribute information on the customer service agent side based on the dual-tower model to obtain user-customer service agent cross-feature information.
[0175] The splitting module 1204 is configured to determine the constraint conditions and the objective function according to the business scenario requirements, and input the user-customer service agent cross-feature information into the objective function subject to the constraint conditions.
[0176] The determination module 1206 is configured to split the constraint condition and the objective function based on the resource restriction condition on the customer service agent side to obtain split constraint condition and split objective function.
[0177] The solution module 1208 is configured to find the optimal solution for the split objective function based on an operations research algorithm.
[0178] The determination module 1206 is configured to determine the best matching relationship between the customer service agent side and the user side under the session request according to the optimal solution, and establish a session connection between the customer service agent side and the user side based on the best matching relationship.
[0179] In an exemplary embodiment of the present disclosure, the determination module 1206 is further configured to:
[0180] Obtaining at least one of a basic profile of the user, historical order records, and user telemarketing records, and determining the records as attribute information of the user;
[0181] And / or, obtaining at least one of the professional portrait, historical conversation records and customer service agent telemarketing records of the customer service agent side, and determining it as the attribute information of the customer service agent side.
[0182] In an exemplary embodiment of the present disclosure, the matching module 1202 is further configured to:
[0183] Embedding the attribute information of the user side to obtain a continuous user side feature vector;
[0184] In response to a session request initiated by the customer service agent, embedding the attribute information of the customer service agent to obtain a continuous feature vector of the customer service agent;
[0185] Based on the dual-tower model, matching processing is performed on the user-side feature vector and the customer service agent-side feature vector to obtain a user-customer service agent matching degree;
[0186] Determine any set of the user-side feature vector and the customer service agent-side feature vector whose user-customer service agent matching degree is higher than a preset matching degree as a user-customer service agent cross vector;
[0187] All the user-customer service agent cross vectors are aggregated into the user-customer service agent cross feature information.
[0188] In an exemplary embodiment of the present disclosure, the determination module 1206 is further configured to:
[0189] Determine the constraint condition and the objective function according to the business scenario;
[0190] Determining whether the magnitude of the user-customer service agent cross-feature information exceeds the calculation magnitude of the objective function;
[0191] If it is determined that the magnitude of the user-customer service agent cross-feature information exceeds the calculation magnitude of the objective function, a pruning algorithm is used to prune the user-customer service agent cross-feature information;
[0192] The user-customer service agent cross-feature information after the pruning process is input into the objective function.
[0193] In an exemplary embodiment of the present disclosure, the splitting module 1204 is further configured to:
[0194] Determine the resource restriction condition according to the session processing time period, session processing efficiency, and number of workplaces on the customer service agent side;
[0195] The objective function is split into a plurality of sub-objective functions according to the resource restriction condition, and the constraint condition is split into a plurality of sub-constraint conditions, and the split constraint conditions and the split objective function are respectively determined.
[0196] In an exemplary embodiment of the present disclosure, the solution module 1208 is further configured to:
[0197] Splitting the weight of the objective function into a plurality of sub-weights according to the splitting result of the objective function;
[0198] The sub-objective functions obtained by splitting the objective function are sent to corresponding calculation sub-modules to calculate the sub-objective functions, and the corresponding sub-weights are allocated to the calculation sub-modules.
[0199] In an exemplary embodiment of the present disclosure, the solution module 1208 is further configured to:
[0200] Calculating a weighted sum of the sub-objective functions according to the sub-weights;
[0201] Taking all the sub-constraints as constraints, the optimal solution of the weighted sum of the sub-objective functions is determined based on the greedy algorithm or the simulated annealing algorithm in the operations research algorithm.
[0202] Since the functions of the device 1200 have been described in detail in the corresponding method embodiments, the present disclosure will not elaborate on them here.
[0203] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.
[0204] In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.
[0205] It will be appreciated by those skilled in the art that various aspects of the present invention may be implemented as a system, method or program product. Therefore, various aspects of the present invention may be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as a "circuit", "module" or "system".
[0206] Refer to the following Fig.13 An electronic device 1300 according to this embodiment of the present invention is described. Fig.13 The electronic device 1300 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0207] like Fig.13 As shown, the electronic device 1300 is in the form of a general computing device. The components of the electronic device 1300 may include but are not limited to: at least one processing unit 1310, at least one storage unit 1320, and a bus 1330 connecting different system components (including the storage unit 1320 and the processing unit 1310).
[0208] The storage unit stores program codes, which can be executed by the processing unit 1310, so that the processing unit 1310 performs the steps according to various exemplary embodiments of the present invention described in the above “Exemplary Method” section of this specification. For example, the processing unit 1310 can perform the method shown in the embodiment of the present disclosure.
[0209] The storage unit 1320 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 13201 and / or a cache storage unit 13202 , and may further include a read-only storage unit (ROM) 13203 .
[0210] The storage unit 1320 may also include a program / utility 13204 having a set (at least one) of program modules 13205, such program modules 13205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0211] Bus 1330 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0212] The electronic device 1300 may also communicate with one or more external devices 1340 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 1300, and / or communicate with any device that enables the electronic device 1300 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 1350. Furthermore, the electronic device 1300 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 1360. As shown, the network adapter 1360 communicates with other modules of the electronic device 1300 via a bus 1330. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 1300, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0213] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.
[0214] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present specification is stored. In some possible implementations, various aspects of the present invention can also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary embodiments of the present invention described in the above "Exemplary Method" section of the present specification.
[0215] The program product for implementing the above method according to an embodiment of the present invention can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto, and in this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.
[0216] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0217] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0218] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
[0219] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).
[0220] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to an exemplary embodiment of the present invention, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.
[0221] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are to be considered exemplary only, and the true scope and concept of the present disclosure are indicated by the claims.
Claims
1. A customer service seat allocation method, characterized in that: include: Based on the dual-tower model, the attribute information on the user side and the attribute information on the customer service agent side are matched to obtain the cross-feature information of the user and the customer service agent; Determine constraints and objective functions according to business scenario requirements, and input the user-customer service agent cross-feature information into the objective function subject to the constraints; Splitting the constraint condition and the objective function based on the resource restriction condition on the customer service agent side to obtain split constraint conditions and split objective functions; Find the optimal solution for the split objective function based on operations research algorithms; The best matching relationship between the customer service agent side and the user side under the session request is determined according to the optimal solution, and a session connection between the customer service agent side and the user side is established based on the best matching relationship.
2. The customer service seat allocation method according to claim 1, characterized in that: Before matching the attribute information on the user side and the attribute information on the customer service agent side based on the dual-tower model, the following steps are also included: Obtaining at least one of a basic profile of the user, historical order records, and user telemarketing records, and determining the records as attribute information of the user; And / or, obtaining at least one of the professional portrait, historical conversation records and customer service agent telemarketing records of the customer service agent side, and determining it as the attribute information of the customer service agent side.
3. The customer service seat allocation method according to claim 1 or 2, characterized in that: Based on the dual-tower model, the attribute information on the user side and the attribute information on the customer service agent side are matched to obtain the user-customer service agent cross-feature information including: Embedding the attribute information of the user side to obtain a continuous user side feature vector; In response to a session request initiated by the customer service agent, embedding the attribute information of the customer service agent to obtain a continuous feature vector of the customer service agent; Based on the dual-tower model, matching processing is performed on the user-side feature vector and the customer service agent-side feature vector to obtain a user-customer service agent matching degree; Determine any set of the user-side feature vector and the customer service agent-side feature vector whose user-customer service agent matching degree is higher than a preset matching degree as a user-customer service agent cross vector; All the user-customer service agent cross vectors are aggregated into the user-customer service agent cross feature information.
4. The customer service seat allocation method according to claim 1 or 2, characterized in that: Determining constraints and objective functions according to business scenario requirements, and inputting the user-customer service agent cross-feature information into the objective function subject to the constraints includes: Determine the constraint condition and the objective function according to the business scenario; Determining whether the magnitude of the user-customer service agent cross-feature information exceeds the calculation magnitude of the objective function; If it is determined that the magnitude of the user-customer service agent cross-feature information exceeds the calculation magnitude of the objective function, a pruning algorithm is used to prune the user-customer service agent cross-feature information; The user-customer service agent cross-feature information after the pruning process is input into the objective function.
5. The customer service seat allocation method according to claim 1 or 2, characterized in that: The constraint condition and the objective function are split based on the resource restriction condition of the customer service agent side to obtain the split constraint condition and the split objective function, including: Determine the resource restriction condition according to the session processing time period, session processing efficiency, and number of workplaces of the customer service agent side; The objective function is split into a plurality of sub-objective functions according to the resource restriction condition, and the constraint condition is split into a plurality of sub-constraint conditions, and the split constraint conditions and the split objective function are respectively determined.
6. The customer service seat allocation method according to claim 1 or 2, characterized in that: The optimal solution of the split objective function based on operations research algorithms includes: Splitting the weight of the objective function into a plurality of sub-weights according to the splitting result of the objective function; The sub-objective functions obtained by splitting the objective function are sent to corresponding calculation sub-modules to calculate the sub-objective functions, and the corresponding sub-weights are allocated to the calculation sub-modules.
7. The customer service seat allocation method according to claim 6, characterized in that: The optimal solution of the split objective function based on operations research algorithms also includes: Calculating a weighted sum of the sub-objective functions according to the sub-weights; Taking all the sub-constraints as constraints, the optimal solution of the weighted sum of the sub-objective functions is determined based on the greedy algorithm or the simulated annealing algorithm in the operations research algorithm.
8. A customer service seat allocation device, characterized in that: include: A matching module, configured to match the attribute information on the user side and the attribute information on the customer service agent side based on a dual-tower model to obtain user-customer service agent cross-feature information; A splitting module is configured to determine constraint conditions and an objective function according to business scenario requirements, and input the user-customer service agent cross-feature information into the objective function subject to the constraint conditions; A determination module is configured to split the constraint condition and the objective function based on the resource restriction condition of the customer service agent side to obtain the split constraint condition and the split objective function; A solution module is configured to find the optimal solution of the split objective function based on an operations research algorithm; The determination module is configured to determine the best matching relationship between the customer service agent side and the user side under the session request according to the optimal solution, and establish a session connection between the customer service agent side and the user side based on the best matching relationship.
9. An electronic device, characterized in that: include: Memory; as well as A processor coupled to the memory, wherein the processor is configured to execute the customer service agent allocation method according to any one of claims 1 to 7 based on instructions stored in the memory.
10. A computer-readable storage medium having a program stored thereon, wherein when the program is executed by a processor, the method for allocating customer service seats as described in any one of claims 1 to 7 is implemented.
11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the customer service seat allocation method according to any one of claims 1 to 7 is implemented.
Citation Information
Cited By
Task allocation processing method and device
CN119494500A
Method for determining number of agents and management device
WO2026067579A1
