Service hosting switching method, device, computer equipment and medium for customer service platform
By building a scoring indicator system and an automatic reply matching mechanism on the customer service platform, the problem of difficult to ensure the service level and quality of the customer service platform is solved, and the hosting switching and service quality are improved, and the matching degree and processing efficiency of automatic reply are improved.
Patent Information
- Application Number
- CN202411147373.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-21
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2044-08-21
AI Technical Summary
The existing customer service platform is difficult to control the service level and ensure the quality of service, especially when a large number of customer service personnel manage and host the management and hosting switch. It is often due to the busy administrator or insufficient experience that the service is not timely and the quality is difficult to guarantee.
Build a scoring indicator system on the server side, score customer service accounts through scoring indicators, and set automatic reply text for accurate and fuzzy matching. If the match fails, switch to the hosted customer service account to ensure service quality and realize service hosting of customer service accounts and Historical messages are synchronized.
Through customer service scoring and hosting mechanisms, service quality and processing efficiency are improved, manual intervention is reduced, and the matching degree of automatic reply and the processing efficiency of session services are improved.
Smart Images

Figure CN118673124B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of digital information transmission, and in particular to a service hosting switching method, device, computer equipment and medium of a customer service platform. Background Art
[0002] Building a customer service platform to respond to customer inquiries has been widely used in various fields. However, the existing customer responses are usually difficult to control the service level and the service quality is difficult to guarantee. If a large number of customer service personnel are trained, the personnel training and management costs are usually very high, and it is difficult to improve the service level. Once the manual customer service has difficulties in responding and needs to be switched to a managed service, it is usually necessary to apply to the administrator and manually specify the managed and switched customer service through the administrator. However, when the administrator is busy, the switching will not be timely. At the same time, relying on the administrator's experience to judge the managed and switched customer service is more dependent on the administrator's personal experience, and it is difficult to guarantee the service quality. Summary of the invention
[0003] In view of this, an embodiment of the present invention provides a service hosting switching method of a customer service platform to solve the technical problems in the prior art that the service level is difficult to control and the service quality is difficult to guarantee. The method includes:
[0004] A scoring index system is constructed on the server side, and the customer service sessions of each customer service account are scored through the scoring index system to generate a customer service score corresponding to the customer service account, and at least one customer service account whose customer service score is greater than the scoring threshold is set as a managed customer service account, wherein the customer service score is proportional to the service quality;
[0005] Setting an automatic reply text, performing word segmentation processing on a client message received from a client, generating message keywords, performing precise matching between the message keywords and the automatic reply text, and automatically sending the automatic reply text to the client if the precise matching succeeds; if the precise matching fails, performing fuzzy matching between the message keywords and the automatic reply text, and automatically sending the automatic reply text to the client if the fuzzy matching succeeds; if the fuzzy matching fails, making a request to switch to manual service to the server, the server obtains the request to switch to manual service, and switches the client's session to a customer service account other than the managed customer service account to provide service; precise matching is used to match the message keywords and the automatic reply text according to the rule that the number of characters and the type of characters are completely consistent; fuzzy matching is used to match the message keywords and the automatic reply text according to the edit distance; wherein the fuzzy matching includes: extracting keywords corresponding to the automatic reply text, calculating the edit distance between the message keywords and the keywords, setting a distance threshold, comparing the edit distance with the distance threshold; if the edit distance is greater than the distance threshold, the fuzzy matching fails; if the edit distance is less than or equal to the distance threshold, the fuzzy matching succeeds;
[0006] If a customer service account makes a hosting request, a hosted customer service account with the best service quality is selected from at least one hosted customer service account, and the client's session is switched to the selected hosted customer service account to provide services, thereby realizing service hosting of the customer service account, and synchronizing the customer service account's historical messages to the selected hosted customer service account.
[0007] The embodiment of the present invention also provides a service hosting switching device for a customer service platform to solve the technical problems in the prior art where it is difficult to control the service level and ensure the service quality. The device includes:
[0008] Setting a hosting module, for building a scoring index system on the server side, scoring the customer service session of each customer service account through the scoring index system, generating a customer service score corresponding to the customer service account, and setting at least one customer service account whose customer service score is greater than a scoring threshold as a hosting customer service account, wherein the customer service score is proportional to the service quality;
[0009] The automatic reply module is used to set the automatic reply text, perform word segmentation processing on the client message received from the client, generate message keywords, accurately match the message keywords with the automatic reply text, and automatically send the automatic reply text to the client if the accurate match succeeds. If the accurate match fails, the message keywords and the automatic reply text are fuzzy matched. If the fuzzy match succeeds, the automatic reply text is automatically sent to the client. If the fuzzy match fails, a request for switching to manual service is made to the server, and the server obtains the request for switching to manual service, and switches the client's session to a customer service account other than the managed customer service account to provide services. The accurate match is used to match the message keywords and the automatic reply text according to the rule that the number of characters and the type of characters are completely consistent. The fuzzy match is used to match the message keywords with the automatic reply text according to the edit distance. The fuzzy match includes: extracting the keywords corresponding to the automatic reply text, calculating the edit distance between the message keywords and the keywords, setting a distance threshold, comparing the edit distance with the distance threshold, if the edit distance is greater than the distance threshold, the fuzzy match fails, and if the edit distance is less than or equal to the distance threshold, the fuzzy match succeeds;
[0010] The hosting switching module is used to select a hosted customer service account with the best service quality from at least one hosted customer service account if a customer service account makes a hosting request, switch the client's session to the selected hosted customer service account to provide services, realize service hosting of the customer service account, and synchronize the customer service account's historical messages to the selected hosted customer service account.
[0011] An embodiment of the present invention also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the method for hosting switching of any of the above-mentioned customer service platforms is implemented to solve the technical problems in the prior art that service levels are difficult to control and service quality is difficult to guarantee.
[0012] An embodiment of the present invention also provides a computer-readable storage medium, which stores a computer program for executing the hosting switching method of any of the above-mentioned customer service platforms, so as to solve the technical problems in the prior art that the service level is difficult to control and the service quality is difficult to ensure.
[0013] Compared with the prior art, the at least one technical solution adopted in the embodiments of this specification can achieve the following beneficial effects:
[0014] Generate a customer service score for the customer service account, use the customer service score as the basis for judging the service quality, and generate a hosted customer service account, which is conducive to ensuring the service quality provided by the hosted customer service account. By assisting other customer service accounts in providing services through the hosted customer service account, the service level of the overall customer service of the platform can be improved and the service quality can be guaranteed; match the message keywords with the automatic reply text twice, including exact matching and fuzzy matching, and perform multiple matches with different degrees of precision, which improves the matching degree of the automatic reply and improves the processing efficiency of the conversation service. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0016] Figure 1 It is a flow chart of a service hosting switching method of a customer service platform provided by an embodiment of the present invention;
[0017] Figure 2 is a structural block diagram of a computer device provided by an embodiment of the present invention;
[0018] Figure 3 It is a structural block diagram of a service hosting switching device of a customer service platform provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0019] The embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0020] The following describes the implementation methods of the present application through specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The present application can also be implemented or applied through other different specific implementation methods, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that, in the absence of conflict, the following embodiments and the features in the embodiments can be combined with each other. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work belong to the scope of protection of the present application.
[0021] In an embodiment of the present invention, a service hosting switching method of a customer service platform is provided, such as Figure 1 As shown, the method includes:
[0022] Step S101: constructing a scoring index system on the server side, scoring the customer service sessions of each customer service account through the scoring index system, generating a customer service score corresponding to the customer service account, and setting at least one customer service account whose customer service score is greater than the scoring threshold as a custodial customer service account, wherein the customer service score is proportional to the service quality;
[0023] Step S102: setting automatic reply text, performing word segmentation processing on the client message received from the client, generating message keywords, accurately matching the message keywords with the automatic reply text, and automatically sending the automatic reply text to the client if the accurate matching succeeds; if the accurate matching fails, performing fuzzy matching on the message keywords with the automatic reply text, and automatically sending the automatic reply text to the client if the fuzzy matching succeeds; if the fuzzy matching fails, making a request to switch to manual service to the server, the server obtains the request to switch to manual service, and switches the client's session to a customer service account other than the managed customer service account to provide service; the accurate matching is used to match the message keywords with the automatic reply text according to the rule that the number of characters and the type of characters are completely consistent; the fuzzy matching is used to match the message keywords with the automatic reply text according to the edit distance; wherein the fuzzy matching includes: extracting keywords corresponding to the automatic reply text, calculating the edit distance between the message keywords and the keywords, setting a distance threshold, comparing the edit distance with the distance threshold; if the edit distance is greater than the distance threshold, the fuzzy matching fails; if the edit distance is less than or equal to the distance threshold, the fuzzy matching succeeds;
[0024] Step S103: If the customer service account makes a hosting request, a hosted customer service account with the best service quality is selected from at least one hosted customer service account, and the client's session is switched to the selected hosted customer service account to provide services, thereby realizing service hosting of the customer service account, and synchronizing the customer service account's historical messages to the selected hosted customer service account.
[0025] In specific implementation, in order to automatically score ordinary customer service, the following steps are used to build a scoring index system on the server side, score the customer service session of each customer service account through the scoring index system, and generate a customer service score corresponding to the customer service account:
[0026] The highest value of the customer service score is used as the element of the target layer, the customer service score is used as the element of the solution layer, and the customer history score corresponding to the customer service account, the total time required for feedback, and whether there are customer complaints are used as the elements of the criterion layer; a scaling benchmark is constructed, and the elements in the criterion layer are combined in pairs to generate a criterion element group. The scaling value is specified for the criterion element group through the scaling benchmark, and the weight corresponding to each group of elements in the criterion element group is obtained by using the square root method. The judgment matrix is constructed through the weight and the scaling value; a consistency test is performed on the judgment matrix, wherein the consistency test is used to test whether there is a logical problem in the judgment matrix; if the judgment matrix does not meet the consistency test, the judgment matrix is adjusted until it meets the consistency test; if the judgment matrix meets the consistency test, the relative weight corresponding to each element in the criterion layer is calculated according to the judgment matrix, and the weight of the elements of the solution layer relative to each element of the criterion layer is calculated according to the relative weight corresponding to each element in the criterion layer, and a judgment matrix of the solution layer is generated, and a consistency test is performed on the judgment matrix of the solution layer; if the judgment matrix of the solution layer does not meet the consistency test, the judgment matrix of the solution layer is adjusted until it meets the consistency test; if the judgment matrix of the solution layer meets the consistency test, the score corresponding to the element of the solution layer is calculated according to the judgment matrix of the solution layer, and the score is used as the customer service score.
[0027] Specifically, the scale standard includes a scale and a scale meaning. The scale includes 1 to 9 and the reciprocal of 1 to 9. Among them, a scale of 1 means that the two elements have the same importance. 3 means that the former is slightly more important than the latter. 5 means that the former is obviously more important than the latter. 7 means that the former is extremely important than the latter. 9 means that the former is strongly more important than the latter. 2, 4, 6, and 8 represent the middle values of the above adjacent judgments. The reciprocal of 1 to 9 represents the importance of exchanging the order of the corresponding two elements.
[0028] In the specific implementation, in order to divide the client message into natural language words and match them with the automatic reply text, the following steps are performed to implement word segmentation processing on the client message received from the client to generate message keywords:
[0029] Build an application domain vocabulary based on the customer service platform business; set the first character of the client message to the initial position of the first word segmentation, start from the initial position of the first word segmentation of the client message, and obtain the first word segmentation result with the greatest matching degree based on the application domain vocabulary; set the last character of the client message to the initial position of the second word segmentation, start from the initial position of the second word segmentation of the client message, and obtain the second word segmentation result with the greatest matching degree based on the application domain vocabulary; compare the number of word segmentations of the first word segmentation result and the number of word segmentations of the second word segmentation result, if the number of word segmentations is the same, compare the word segmentation content of the first word segmentation result and the word segmentation content of the second word segmentation result, if the word segmentation content is the same, use the first word segmentation result as the message keyword, if the word segmentation content is different, compare the length of each word segmentation in the first word segmentation result and the second word segmentation result, if the length is the same, use the first word segmentation result as the message keyword, if the length is different, use the word segmentation result with the shorter word segmentation length in the first word segmentation result and the second word segmentation result as the message keyword; if the number of word segmentations is different, use the word segmentation result with the smaller number of word segmentations in the first word segmentation result and the second word segmentation result as the message keyword.
[0030] In the specific implementation, in order to verify each other through the two word segmentation methods and improve the accuracy of word segmentation, the following steps are used to set the first character of the client message as the initial position of the first word segmentation, and start from the initial position of the first word segmentation of the client message, based on the application domain vocabulary, obtain the first word segmentation result with the largest matching degree:
[0031] Starting from the first character of the client message, take the word with the maximum word length as the substring; repeat the following steps until the substring is empty and / or the client message is empty, and return the first word segmentation result: determine whether the substring exists in the application domain vocabulary. If so, take the substring as the first word segmentation result and delete the substring from the client message; if not, remove the last character of the substring to generate a new substring.
[0032] Specifically, the final character of the client message is set as the initial position of the word segmentation, and starting from the initial position of the word segmentation of the client message, based on the application domain vocabulary, the process of obtaining the maximum matching second word segmentation result is the same as the process of obtaining the maximum matching first word segmentation result.
[0033] In the specific implementation, in order to first perform an accurate match, and then perform a fuzzy match when an accurate match fails, the overall matching rate is improved, so that the automatic reply can be applied to more occasions and reduce the manual workload. The following steps are used to achieve fuzzy matching between the client message and the automatic reply text:
[0034] Extract the keywords corresponding to the automatic reply text, calculate the edit distance between the client message and the keywords; set a distance threshold, compare the edit distance with the distance threshold, if the edit distance is greater than the distance threshold, the fuzzy match fails, if the edit distance is less than or equal to the distance threshold, the fuzzy match succeeds.
[0035] Specifically, accurate matching refers to the process of searching for a character sequence in a message keyword that is completely consistent with the keyword corresponding to the automatic reply text. The accurate matching of the embodiment of the present invention requires that the matched characters are exactly the same in number and type, and may be different in order. In some embodiments, a string matching algorithm is used (such as a regular expression, a KMP algorithm (Knuth-Morris-Pratt, an algorithm that searches by preprocessing a pattern string to create a partial matching table), a Boyer-Moore algorithm (a search algorithm based on bad character rules and good suffix rules, which usually provides linear time complexity in the best case), a Rabin-Karp algorithm (an algorithm that uses a hash function to quickly screen out possible matching substring positions and then performs a detailed comparison), a BMH algorithm (Boyer-Moore-Horspool, an algorithm that focuses on searching a single pattern string and optimizes the search process by using an additional displacement array), a Sunday algorithm (an algorithm that matches using the boundary information of a substring), etc.). The message keywords are matched with the automatic reply text through accurate matching to achieve the purpose of completely identifying the client message, and the message keywords are matched with the keywords corresponding to the automatic reply text to the maximum extent, completely avoiding the occurrence of irrelevant answers.
[0036] Specifically, accurate matching and success are usually the most ideal situation. In actual applications, in order to increase the possibility of recognition and minimize the intervention of manual customer service, when it is impossible to completely match the message keywords with the keywords corresponding to the automatic reply text, fuzzy matching is used to improve the overall matching rate, so that automatic replies can be applied to more occasions and reduce the workload of manual customer service. The size of the distance threshold can be adjusted based on the matching effect, and the automatic reply text can be modified and further optimized based on the collected matching data.
[0037] In specific implementation, in order to meet the actual business situation, a hosting request is made to an idle hosting customer service account, and the hosting customer service account with the best service quality is selected from at least one hosting customer service account through the following steps:
[0038] Query the status of each managed customer service account in at least one managed customer service account at the current moment; and select the managed customer service account that is currently idle and has the highest customer service score.
[0039] In specific implementation, in order to realize the function of pushing messages to specified customers in batches, the following steps are performed to push messages to specified customers in batches:
[0040] Configure automatic execution of tasks for the hosted customer service account. Automatic execution of tasks includes scheduled execution of tasks and one-time execution of tasks. When the automatic execution of tasks is configured by the administrator, the account scope of the hosted customer service account is all customer service accounts. When the automatic execution of tasks is configured through the hosted customer service account, the account scope of the hosted customer service account is the customer service accounts hosted by the hosted customer service account. Execute automatic execution tasks through the hosted customer service account to provide session services to the clients of the customer service accounts within the account scope in batches.
[0041] In an embodiment of a specific application, the business process of the client platform includes:
[0042] 1. Configure the robot: Set up the robot. The robot can automatically perform the set tasks in suitable scenarios, help customer service complete simple work, reduce the pressure of customer service, and increase efficiency.
[0043] 2. Configure a managed manager account (i.e. the managed customer service account mentioned above): Set up a managed manager account and a customer service account, and set up a managed manager account for excellent customer service personnel with high customer service scores and few complaints. The managed manager account can initiate an application for hosting other customer service accounts. After obtaining authorization, the managed manager account can view the chat records between the customer service and the customer through the account on the platform and provide customer service on behalf of the customer service.
[0044] 3. Add customer accounts: The hosting manager account can import customer accounts in batches on the hosting platform and send friend requests to customers using the account of the managed customer service representative.
[0045] 4. Hosting: The system automatically processes customer messages, matches customer behavior and then performs corresponding operations, such as returning the corresponding message to the customer after receiving the customer's message or reminding the online customer service to reply. When the customer is successfully added, the robot automatically replies with a welcome message; when the customer service sends a reply with fields such as "manual customer service", "transfer to manual", "real person", etc., and within the working hours of the manual customer service, the system reminds the manual customer service to reply; when the customer sends a message, the system first uses the natural language processing algorithm to segment the message sent by the customer in order to find keywords; then, the system accurately matches the extracted words, and sends a preset reply if the match is successful; when the accurate match fails, the system uses the fuzzy matching algorithm to process the words. When the word and the keyword are highly correlated after the algorithm calculation, it is judged as a match. If the match is successful, an automatic reply related to the keyword is output. If the match fails, a general template is replied and a pre-set service menu is sent. The service menu includes currently popular services, such as phone bill inquiry. Users can send prompts according to the service menu to handle the business by themselves or choose to transfer to manual customer service; when the system fails to match the replyable content for multiple consecutive times, the system abandons the robot's reply and tries to contact the manual customer service for processing; when the manual customer service is not in service time, the customer requests to transfer to manual customer service or the customer's behavior should trigger the robot to transfer to manual customer service, the robot automatically replies to the manual customer service service time and sends a prompt, suggesting that the customer continue to try the robot customer service or wait for the next manual customer service to come online for processing.
[0046] 5. Task push: The system supports administrators or managed manager accounts to configure tasks through the platform. Managed manager accounts can set tasks to be executed at a scheduled time or once. When the task setter is an administrator, the task executor can be set to the customer service within the management scope, including low-level administrators, managed manager accounts and ordinary customer service; when the task setter is a managed manager account, the task executor can be set to the managed customer service. After the task is configured, the robot will perform the task on behalf of the customer service or remind the customer service to perform the task. After the customer service confirms, the system will push messages to the specified customers in batches.
[0047] In this embodiment, a computer device is provided, such as Figure 2 As shown, it includes a memory 201, a processor 202, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the service hosting switching method of any of the above-mentioned customer service platforms is implemented.
[0048] Specifically, the computer device may be a computer terminal, a server or a similar computing device.
[0049] In this embodiment, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program for executing any of the above-mentioned methods for switching the hosting of the customer service platform.
[0050] Specifically, computer-readable storage media include permanent and non-permanent, removable and non-removable media, and information storage can be achieved by any method or technology. Information can be computer-readable instructions, data structures, modules of programs or other data. Examples of computer-readable storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable storage media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.
[0051] Based on the same inventive concept, a hosting switching device for a customer service platform is also provided in an embodiment of the present invention, as described in the following embodiments. Since the principle of solving the problem by the hosting switching device for the customer service platform is similar to that of the hosting switching method for the customer service platform, the implementation of the hosting switching device for the customer service platform can refer to the implementation of the hosting switching method for the customer service platform, and the repeated parts will not be repeated. As used below, the terms "unit" or "module" can be a combination of software and / or hardware that implements predetermined functions. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.
[0052] Figure 3 is a structural block diagram of a service hosting switching device of a customer service platform according to an embodiment of the present invention, such as Figure 3 As shown, it includes: a hosting module 301, an automatic reply module 302 and a hosting switching module 303. The structure is described below.
[0053] Setting a hosting module 301, which is used to build a scoring index system on the server side, score the customer service session of each customer service account through the scoring index system, generate a customer service score corresponding to the customer service account, and set at least one customer service account whose customer service score is greater than the score threshold as a hosting customer service account, wherein the customer service score is proportional to the service quality;
[0054] The automatic reply module 302 is used to set the automatic reply text, perform word segmentation processing on the client message received from the client, generate message keywords, accurately match the message keywords with the automatic reply text, and automatically send the automatic reply text to the client if the accurate match succeeds. If the accurate match fails, the message keywords are fuzzy matched with the automatic reply text. If the fuzzy match succeeds, the automatic reply text is automatically sent to the client. If the fuzzy match fails, a request for switching to manual service is made to the server, and the server obtains the request for switching to manual service, and switches the client's session to a customer service account other than the managed customer service account to provide services. The accurate match is used to match the message keywords and the automatic reply text according to the rule that the number of characters and the type of characters are completely consistent. The fuzzy match is used to match the message keywords with the automatic reply text according to the edit distance. The fuzzy match includes: extracting the keywords corresponding to the automatic reply text, calculating the edit distance between the message keywords and the keywords, setting a distance threshold, comparing the edit distance with the distance threshold, if the edit distance is greater than the distance threshold, the fuzzy match fails, and if the edit distance is less than or equal to the distance threshold, the fuzzy match succeeds;
[0055] The hosting switching module 303 is used to select a hosted customer service account with the best service quality from at least one hosted customer service account if a customer service account makes a hosting request, switch the client's session to the selected hosted customer service account to provide services, implement service hosting of the customer service account, and synchronize the customer service account's historical messages to the selected hosted customer service account.
[0056] In one embodiment, a hosting module is provided, including:
[0057] An element construction unit is used to use the highest value of the customer service score as an element of the target layer, the customer service score as an element of the solution layer, and the customer history score corresponding to the customer service account, the total time required for feedback, and whether there is a customer complaint as elements of the criterion layer;
[0058] A judgment matrix generation unit is used to construct a scale benchmark, combine the elements in the criterion layer in pairs, generate a criterion element group, specify a scale value for the criterion element group through the scale benchmark, use the square root method to solve the weight corresponding to each group of elements in the criterion element group, and construct a judgment matrix through the weight and scale value;
[0059] A first consistency check unit is used to perform consistency check on the judgment matrix, wherein the consistency check is used to check whether there is a logic problem in the judgment matrix;
[0060] An adjusting judgment matrix unit is used to adjust the judgment matrix until it satisfies the consistency test if the judgment matrix does not satisfy the consistency test;
[0061] A second consistency check unit is used to calculate the relative weight corresponding to each element in the criterion layer according to the judgment matrix if the judgment matrix satisfies the consistency check, calculate the weight of the elements of the solution layer relative to each element of the criterion layer through the relative weight corresponding to each element in the criterion layer, generate a solution layer judgment matrix, and perform a consistency check on the solution layer judgment matrix;
[0062] The scheme layer judgment matrix adjustment unit is used to adjust the scheme layer judgment matrix until the consistency check is satisfied if the scheme layer judgment matrix does not satisfy the consistency check;
[0063] The customer service score calculation unit is used to calculate the scores corresponding to the elements of the solution layer according to the solution layer judgment matrix if the solution layer judgment matrix satisfies the consistency check, and use the scores as the customer service scores.
[0064] In one embodiment, the automatic reply module includes:
[0065] The word library construction unit is used to construct the application domain word library based on the customer service platform business;
[0066] A first word segmentation result acquisition unit, configured to set the first character of the client message as the first word segmentation initial position, and, starting from the first word segmentation initial position of the client message, acquire a first word segmentation result with the greatest matching degree based on the application domain vocabulary;
[0067] A second word segmentation result acquisition unit is used to set the end character of the client message as the second word segmentation initial position, and start from the second word segmentation initial position of the client message, and acquire the second word segmentation result with the maximum matching degree based on the application domain vocabulary;
[0068] The first keyword generation unit is used to compare the number of segmented words in the first segmented word result and the number of segmented words in the second segmented word result. If the number of segmented words is the same, the segmented word content of the first segmented word result and the segmented word content of the second segmented word result are compared. If the segmented word content is the same, the first segmented word result is used as the message keyword. If the segmented word content is different, the length of each segmented word in the first segmented word result and the second segmented word result is compared. If the lengths are the same, the first segmented word result is used as the message keyword. If the lengths are different, the segmented word result with the shorter length in the first segmented word result and the second segmented word result is used as the message keyword.
[0069] The second keyword generation unit is used to use the segmentation result with the smaller number of segmentations between the first segmentation result and the second segmentation result as the message keyword if the number of segmentations is different.
[0070] In one embodiment, the first word segmentation result acquisition unit is used to start from the first character of the client message and take the word with the maximum word length as the substring; repeat the following steps until the substring is empty and / or the client message is empty, and return the first word segmentation result: determine whether the substring exists in the application domain vocabulary, if so, take the substring as the first word segmentation result, and delete the substring from the client message; if not, remove the last character of the substring to generate a new substring.
[0071] In one embodiment, the managed switching module includes:
[0072] A status query unit, used to query the status of each of the at least one managed customer service account at the current moment;
[0073] The hosting manager account selection unit is used to select a hosting customer service account that is currently idle and has the highest customer service score.
[0074] In one embodiment, the above device further includes: a batch push module.
[0075] In one embodiment, the batch push module includes:
[0076] The task configuration unit is used to configure automatic execution tasks for the managed customer service account. The automatic execution tasks include scheduled execution tasks and one-time execution tasks.
[0077] An account setting unit, for when the automatic execution of tasks is configured by the administrator, the scope of accounts under the jurisdiction of the managed customer service account is all customer service accounts; when the automatic execution of tasks is configured by the managed customer service account, the scope of accounts under the jurisdiction of the managed customer service account is the customer service accounts managed by the managed customer service account;
[0078] The message push unit is used to perform automatic execution tasks through the managed customer service account and provide session services to the clients of the customer service accounts within the scope of the jurisdiction in batches.
[0079] The embodiments of the present invention achieve the following technical effects:
[0080] The hosting function of the customer service platform can ensure the quality of customer service and improve efficiency. The hosting platform can help customer service add friends and respond to common questions. At the same time, it can complete some large but simple tasks through task push, reducing the workload of customer service, thereby improving processing efficiency. The message keywords and automatic reply text are matched twice, including exact matching and fuzzy matching, and multiple matches with different degrees of precision are performed, which improves the matching degree of automatic replies and improves the processing efficiency of conversation services; customer service scores are generated for ordinary customer service, and a hosted customer service account is generated based on the customer service score. The hosted customer service account assists the ordinary customer service account in providing services, which can improve the customer service level and ensure service quality; the hosting function of the customer service platform can assist customer service training and reduce training costs; the new customer service account is hosted on the hosted customer service account of excellent customer service, so that the customer service skills can be learned from the excellent customer service, and the service quality of the customer service can be guaranteed with the help of the hosted customer service account.
[0081] Obviously, those skilled in the art should understand that the modules or steps of the above-mentioned embodiments of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. In this way, the embodiments of the present invention are not limited to any specific combination of hardware and software.
[0082] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the embodiments of the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A service hosting switching method for a customer service platform, characterized in that: include: Constructing a scoring index system on the server side, scoring the customer service session of each customer service account through the scoring index system, generating a customer service score corresponding to the customer service account, and setting at least one of the customer service accounts whose customer service score is greater than a scoring threshold as a custodial customer service account, wherein the customer service score is proportional to the service quality; Set automatic reply text, perform word segmentation processing on the client message received from the client, generate message keywords, accurately match the message keywords with the automatic reply text, if the accurate match is successful, automatically send the automatic reply text to the client, if the accurate match fails, perform fuzzy matching on the message keywords and the automatic reply text, if the fuzzy match is successful, automatically send the automatic reply text to the client, if the fuzzy match fails, make a request to switch to manual service to the server, the server obtains the request to switch to manual service, and switches the client's session to another account other than the hosted customer service account The service is provided to the customer service account outside the customer service account, the exact matching is used to match the message keywords and the automatic reply text according to the rule that the number of characters and the character type are completely consistent, and the fuzzy matching is used to match the message keywords and the automatic reply text according to the edit distance, wherein the fuzzy matching includes: extracting the keywords corresponding to the automatic reply text, calculating the edit distance between the message keywords and the keywords, setting a distance threshold, comparing the edit distance with the distance threshold, if the edit distance is greater than the distance threshold, the fuzzy matching fails, if the edit distance is less than or equal to the distance threshold, the fuzzy matching succeeds; Perform word segmentation on the client message received from the client to generate message keywords, including: Build an application domain vocabulary based on customer service platform business; Setting the first character of the client message as the first segmentation initial position, starting from the first segmentation initial position of the client message, and obtaining the first segmentation result with the greatest matching degree based on the application domain vocabulary; Setting the last character of the client message as the initial position of the second word segmentation, and starting from the initial position of the second word segmentation of the client message, obtaining the second word segmentation result with the greatest matching degree based on the application domain vocabulary; Comparing the number of segmented words of the first segmented result with the number of segmented words of the second segmented result, if the number of segmented words is the same, comparing the segmented word content of the first segmented result with the segmented word content of the second segmented result, if the segmented word content is the same, taking the first segmented word result as the message keyword, if the segmented word content is different, comparing the length of each segmented word in the first segmented result and the second segmented word result, if the lengths are the same, taking the first segmented word result as the message keyword, if the lengths are different, taking the segmented word result with the shorter length between the first segmented word result and the second segmented word result as the message keyword; If the number of segmented words is different, the segmented word result with the smaller number of segmented words between the first segmented word result and the second segmented word result is used as the message keyword; If the customer service account makes a hosting request, a hosted customer service account with the best service quality is selected from at least one of the hosted customer service accounts, and the session of the client is switched to the selected hosted customer service account to provide services, thereby realizing service hosting of the customer service account, and synchronizing historical messages of the customer service account to the selected hosted customer service account.
2. The service hosting switching method of the customer service platform according to claim 1, characterized in that: Constructing a scoring index system on the server side, scoring the customer service session of each customer service account through the scoring index system, and generating a customer service score corresponding to the customer service account, including: The highest value of the customer service score is used as an element of the target layer, the customer service score is used as an element of the solution layer, and the customer history score corresponding to the customer service account, the total time required for feedback, and whether there is a customer complaint are used as elements of the criterion layer; Constructing a scale benchmark, combining the elements in the criterion layer in pairs to generate a criterion element group, assigning a scale value to the criterion element group through the scale benchmark, using the square root method to solve to obtain the weight corresponding to each group of elements in the criterion element group, and constructing a judgment matrix through the weight and the scale value; Performing a consistency check on the judgment matrix, wherein the consistency check is used to check whether there is a logic problem in the judgment matrix; If the judgment matrix does not satisfy the consistency check, adjusting the judgment matrix until it satisfies the consistency check; If the judgment matrix satisfies the consistency check, the relative weight corresponding to each element in the criterion layer is calculated according to the judgment matrix, the weight of the element of the solution layer relative to each element of the criterion layer is calculated by the relative weight corresponding to each element in the criterion layer, a solution layer judgment matrix is generated, and a consistency check is performed on the solution layer judgment matrix; If the solution layer judgment matrix does not satisfy the consistency check, adjusting the solution layer judgment matrix until it satisfies the consistency check; If the solution layer judgment matrix satisfies the consistency check, the scores corresponding to the elements of the solution layer are calculated according to the solution layer judgment matrix, and the scores are used as the customer service scores.
3. The service hosting switching method of the customer service platform according to claim 1, characterized in that: Setting the first character of the client message as the first segmentation initial position, and starting from the first segmentation initial position of the client message, obtaining the first segmentation result with the greatest matching degree based on the application domain vocabulary, including: Starting from the first character of the client message, taking the word with the largest word length as a substring; Repeat the following steps until the substring is empty and / or the client message is empty, and return the first word segmentation result: Determine whether the substring exists in the application domain vocabulary, and if so, use the substring as the first word segmentation result, and delete the substring from the client message; If it does not exist, remove the last character of the substring to generate a new substring.
4. The service hosting switching method of the customer service platform according to any one of claims 1 to 3, characterized in that: Selecting a hosting customer service account with the best service quality from at least one of the hosting customer service accounts includes: Querying the status of each of the at least one escrow customer service account at the current moment; Select the managed customer service account that is currently idle and has the highest customer service score.
5. The service hosting switching method of the customer service platform according to any one of claims 1 to 3, characterized in that: Also includes: Configuring automatic execution tasks for the hosted customer service account, wherein the automatic execution tasks include scheduled execution tasks and one-time execution tasks; When the automatic execution task is configured by the administrator, the account scope of the managed customer service account is all customer service accounts; when the automatic execution task is configured by the managed customer service account, the account scope of the managed customer service account is the customer service accounts managed by the managed customer service account; The automatic execution task is executed through the managed customer service account, and session services are provided in batches to the clients of the customer service accounts within the scope of the jurisdiction account.
6. A service hosting switching device for a customer service platform, characterized in that: include: Setting a hosting module, for building a scoring index system on the server side, scoring the customer service session of each customer service account through the scoring index system, generating a customer service score corresponding to the customer service account, and setting at least one of the customer service accounts whose customer service score is greater than a scoring threshold as a hosting customer service account, wherein the customer service score is proportional to the service quality; The automatic reply module is used to set the automatic reply text, perform word segmentation processing on the client message received from the client, generate message keywords, accurately match the message keywords with the automatic reply text, and automatically send the automatic reply text to the client if the accurate match succeeds. If the accurate match fails, the message keywords are fuzzy matched with the automatic reply text. If the fuzzy match succeeds, the automatic reply text is automatically sent to the client. If the fuzzy match fails, a request to switch to manual service is made to the server. The server obtains the request to switch to manual service and switches the client's session to a service other than the hosted service. The customer service account other than the customer service account provides services, the exact matching is used to match the message keywords and the automatic reply text according to the rule that the number of characters and the character type are completely consistent, and the fuzzy matching is used to match the message keywords and the automatic reply text according to the edit distance, wherein the fuzzy matching includes: extracting the keywords corresponding to the automatic reply text, calculating the edit distance between the message keywords and the keywords, setting a distance threshold, comparing the edit distance with the distance threshold, if the edit distance is greater than the distance threshold, the fuzzy matching fails, if the edit distance is less than or equal to the distance threshold, the fuzzy matching succeeds; Automatic reply module, including: The word library construction unit is used to construct the application domain word library based on the customer service platform business; A first word segmentation result acquisition unit, configured to set the first character of the client message as the first word segmentation initial position, and, starting from the first word segmentation initial position of the client message, acquire a first word segmentation result with the greatest matching degree based on the application domain vocabulary; A second word segmentation result acquisition unit is used to set the end character of the client message as the second word segmentation initial position, and start from the second word segmentation initial position of the client message, and acquire the second word segmentation result with the maximum matching degree based on the application domain vocabulary; The first keyword generation unit is used to compare the number of segmented words in the first segmented word result and the number of segmented words in the second segmented word result. If the number of segmented words is the same, the segmented word content of the first segmented word result and the segmented word content of the second segmented word result are compared. If the segmented word content is the same, the first segmented word result is used as the message keyword. If the segmented word content is different, the length of each segmented word in the first segmented word result and the second segmented word result is compared. If the lengths are the same, the first segmented word result is used as the message keyword. If the lengths are different, the segmented word result with the shorter length in the first segmented word result and the second segmented word result is used as the message keyword. A second keyword generation unit is used to use the segmentation result with the smaller number of segmentations between the first segmentation result and the second segmentation result as the message keyword if the number of segmentations is different; The hosting switching module is used to select a hosted customer service account with the best service quality from at least one of the hosted customer service accounts if the customer service account makes a hosting request, switch the client's session to the selected hosted customer service account to provide services, realize service hosting of the customer service account, and synchronize the customer service account's historical messages to the selected hosted customer service account.
7. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the service hosting switching method of the customer service platform described in any one of claims 1 to 5 is implemented.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program for executing the service hosting switching method of the customer service platform according to any one of claims 1 to 5.
