A method and device for implementing intelligent voice customer service
By generating and matching semantic question and answer trees, and combining the historical service case library to handle intelligent voice customer service needs, the problem of intelligent voice customer service processing complex problems and long waiting time for manual customer service is solved, and service efficiency and response speed are improved.
Patent Information
- Application Number
- CN202410888705.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-04
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-07-04
AI Technical Summary
Existing intelligent voice customer service cannot effectively handle complex problems, and the increased demand for manual customer service has led to low service efficiency. Users have to wait for a long time to access manual customer service.
By generating a semantic question and answer tree and adding it to the service case library, the semantic question and answer tree is matched according to the user's needs and questions, and a voice question and answer service is provided. When waiting to be transferred to manual customer service, it is asked whether it is willing to refer to historical service cases. If it matches, it is provided. Reply, if there is no match, it will be transferred to manual customer service.
It relieves the pressure of manual customer service, improves service efficiency, reduces user waiting time, and processes demands through the historical service case library, improving service response speed and accuracy.
Smart Images

Figure CN118427333B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of new technology and particularly to a method and device for implementing intelligent voice customer service. Background Art
[0002] Since its birth, artificial intelligence technology has been rapidly transformed and applied in various fields, playing an extremely important role in the development and progress of various industries. Intelligent voice customer service is a typical application case. The traditional customer service industry uses manual customer service to provide customers with telephone voice services. Due to the high turnover of customer service personnel and the high difficulty of training, and the fact that a large number of repetitive problems inevitably consume a lot of manual customer service time, the cost of manual customer service remains high and the service efficiency is low. The emergence of intelligent voice customer service has solved the above problems for the customer service industry. Intelligent voice customer service can replace manual customer service to solve a large number of simple and repetitive problems of customers. However, in the existing technology, intelligent voice customer service is often only based on fixed input templates for processing. Its processing mode is single and it cannot solve complex problems.
[0003] Moreover, in the prior art, manual customer service and intelligent voice customer service are parallel options. When a user selects manual customer service, the intelligent customer service will not provide services to the user. However, due to the development of network communication technology, the demand for manual customer service is increasing. The existing number of manual customer service cannot meet people's needs for quick problem solving. Therefore, it often takes a long time to wait before being able to access the manual customer service, resulting in low service efficiency and wasting users' time.
[0004] In view of this, overcoming the defects of the prior art is an urgent problem to be solved in the field of this technology. Summary of the invention
[0005] The technical problem to be solved by the present invention is to provide a method for realizing intelligent voice customer service.
[0006] The present invention adopts the following technical solution:
[0007] In a first aspect, the present invention provides a method for implementing intelligent voice customer service, comprising:
[0008] Generate a semantic question-answer tree using the voice services historically provided to the user, and add the semantic question-answer tree to a service case library;
[0009] After receiving the voice of the first user and determining that the first user requires manual service according to the voice or dialing operation of the first user, adding the first user to a first transfer queue, so as to transfer the call to manual customer service according to the arrangement order of each user in the first transfer queue;
[0010] During the waiting time when the first user is waiting to be transferred to the corresponding manual customer service, the first user is asked by intelligent voice whether he is willing to refer to the historical service case;
[0011] If the first user chooses to refer to the historical service case, a first demand question of the first user is received, a first semantic question-answering tree matching the first demand question is found in the service case library, a voice question-answering service is provided to the first user according to the first semantic question-answering tree, and the first semantic question-answering tree is descended according to the interactive reply provided by the first user in the voice question-answering service;
[0012] When descending to a leaf node, the first demand answer matching the first question is found, and the first demand answer is broadcast to the user.
[0013] Preferably, using the voice service provided to the user in the past to generate a semantic question-answering tree, and adding the semantic question-answering tree to the service case library specifically includes:
[0014] Perform semantic recognition on the voice information received from users and customer service in the voice service, and generate demand questions from users, interactive questions from customer service, interactive replies from users, and demand replies from customer service;
[0015] Searching the service case library to see whether there is a semantic question-answer tree matching the demand question;
[0016] If the second semantic question-answering tree is found to match the demand question in the service case library, then further along the downward direction of the second semantic question-answering tree, the second semantic question-answering tree is sequentially compared to see whether there are branches matching the interactive question and the interactive reply, until the lowest matching branch is obtained, and a new branch is formed using the subsequent interactive replies, interactive questions and demand replies that cannot be matched, and the new branch is inserted under the lowest matching branch;
[0017] If in the service case library, a second semantic question-answering tree is found to match the demand question, but comparison shows that no branch matching the interactive question and the interactive reply exists in the second semantic question-answering tree, a new semantic question-answering tree is directly generated according to the demand question, the interactive question, the interactive reply and the demand reply, the new semantic question-answering tree is inserted into the service case library, and the new semantic question-answering tree is clustered with the second semantic question-answering tree to form a question-answering network, so that the question-answering network can be used for matching in subsequent matching;
[0018] If a semantic question-and-answer tree matching the demand question is not found in the service case library, a new semantic question-and-answer tree is directly generated based on the demand question, interaction question, interaction reply and demand reply, and the new semantic question-and-answer tree is inserted into the service case library; wherein, when the matching degree between the root node of the corresponding semantic question-and-answer tree and the demand question is greater than a first preset matching degree, the semantic question-and-answer tree matches the demand question; when the matching degree between the corresponding child node of the corresponding semantic question-and-answer tree and the interaction question is greater than the first preset matching degree, the branch where the child node is located matches the interaction question and the interaction reply corresponding to the interaction question.
[0019] Preferably, finding a first semantic question-answering tree matching the first requirement question in the service case library specifically includes:
[0020] Calculate the first-level matching degree between the first demand question and each question-answering network, and find the first question-answering network whose first-level matching degree is greater than the second preset matching degree;
[0021] Calculate the secondary matching degree between each semantic question answering tree in the first question answering network and the first demand question, and select a semantic question answering tree whose secondary matching degree is greater than the first preset matching degree and has the highest secondary matching degree as the first semantic question answering tree;
[0022] Among them, the root node of a semantic question and answer tree includes multiple word vectors. When a word vector is included in a preset proportion of root nodes in a question and answer network, the word vector is used as the root word vector, and the semantic vector of the question and answer network is composed of multiple root word vectors. The first-level matching degree is specifically the matching degree between the semantic vector of the question and answer network and the first demand question.
[0023] Preferably, when the first user chooses to refer to historical service cases and finds a first semantic question-answering tree matching the first demand question in the service case library, the method further includes:
[0024] Add an intelligent service identifier for the first user in the first transfer queue; when the first user reaches the head of the first transfer queue and is identified as having the intelligent service identifier, migrate the first user and the corresponding intelligent service identifier to the second transfer queue to skip the first user and transfer subsequent users to manual customer service.
[0025] Preferably, providing a voice question and answer service to the first user according to the first semantic question and answer tree, and descending the first semantic question and answer tree according to the interactive response provided by the first user in the voice question and answer service; until descending to a leaf node, finding a first demand response matching the first question, and broadcasting the first demand response to the user, specifically includes:
[0026] The semantic information corresponding to the root node of the first semantic question-answering tree is broadcasted to the first user, and the first user is asked whether the answer is consistent with the first demand question. If the first user replies that the answer is consistent, the corresponding interactive questions are broadcasted to the first user in sequence along the downward direction of the first semantic question-answering tree, and the corresponding downward branch is selected according to the received interactive reply of the first user, until the leaf node is reached, the first demand answer matching the first question is found, the first demand answer is broadcasted to the first user, and the first user is asked whether the first demand question is solved. If the first user replies that the first demand is solved, the first user is removed from the first transfer queue or the second transfer queue.
[0027] If the first user replies that the first demand is not resolved, or the first user requests to terminate the voice question and answer service during the voice question and answer service, then the intelligent service identifier of the first user is removed to wait for the first user to be transferred to the corresponding manual customer service;
[0028] Among them, when a transfer acceptance request is received from the corresponding manual customer service, the second transfer queue is traversed first. If there is a user who does not carry the smart service identifier in the second transfer queue, the user is transferred to the manual customer service first. Otherwise, the corresponding user is taken out from the head of the first transfer queue and transferred to the manual customer service.
[0029] Preferably, transferring the first user to a corresponding manual customer service specifically includes:
[0030] When the first user is transferred to the first manual customer service, user information is extracted from the interactive response provided by the first user, and the user information and the first demand question are sent to the transfer service background of the first manual customer service, so that the first manual customer service can pre-acquire the user information and the first demand question through the transfer service background before providing manual service to the user.
[0031] Preferably, sending the user information and the first demand question to the transfer service backend of the first manual customer service specifically includes:
[0032] When receiving a transfer acceptance request from a corresponding manual customer service, reading the manual customer service number carried in the transfer acceptance request;
[0033] According to the manual customer service number, the corresponding first transfer service background is determined, and when the first user is transferred to the manual customer service, the user information of the first user and the first demand question are sent to the first transfer service background.
[0034] Preferably, the method further comprises:
[0035] Calculate the manual service waiting time of the first user according to the number of current manual customer service representatives and the number of users currently requesting manual service;
[0036] If the manual service waiting time of the first user is greater than the preset time, the manual service waiting time is announced to the user, and the first user is asked by intelligent voice whether he is willing to refer to the historical service case;
[0037] Otherwise, the first user is not asked whether he is willing to refer to the historical service case.
[0038] Preferably, a semantic question-answering tree is formed with the demand question as the root node, the interactive question and the interactive answer as the subordinate child nodes, and the demand answer as the leaf node; wherein the demand question, interactive question, interactive answer and demand answer are all represented as semantic vectors in the semantic question-answering tree.
[0039] In a second aspect, the present invention further provides an intelligent voice customer service implementation device, which is used to implement the intelligent voice customer service implementation method described in the first aspect, and the device includes:
[0040] At least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the processor to execute the intelligent voice customer service implementation method described in the first aspect.
[0041] In a third aspect, the present invention further provides a non-volatile computer storage medium, wherein the computer storage medium stores computer executable instructions, which are executed by one or more processors to complete the intelligent voice customer service implementation method described in the first aspect.
[0042] The present invention utilizes the waiting time of users being transferred to manual customer service, and uses the service cases of manual customer service in history to generate a service case library. In subsequent use, the service case library is used to process user needs, thereby alleviating the pressure of manual customer service, or providing the manual customer service with the required information in advance when the call is transferred, thereby improving service efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments of the present invention. Obviously, the drawings described below are only some embodiments of the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0044] Figure 1 It is a flowchart of a first method for implementing intelligent voice customer service provided by an embodiment of the present invention;
[0045] Figure 2 It is a schematic diagram of a semantic question-answering tree in a method for implementing intelligent voice customer service provided by an embodiment of the present invention;
[0046] Figure 3 It is a schematic diagram of a semantic question-answering tree of another intelligent voice customer service implementation method provided by an embodiment of the present invention;
[0047] Figure 4 It is a schematic diagram of a service case library in a method for implementing intelligent voice customer service provided by an embodiment of the present invention;
[0048] Figure 5 It is a flowchart of a second method for implementing intelligent voice customer service provided by an embodiment of the present invention;
[0049] Figure 6 It is a flowchart of a third method for implementing intelligent voice customer service provided by an embodiment of the present invention;
[0050] Figure 7 4 is a flowchart of a fourth method for implementing intelligent voice customer service provided by an embodiment of the present invention;
[0051] Figure 8 1 is a flowchart of a fifth method for implementing intelligent voice customer service provided by an embodiment of the present invention;
[0052] Fig. 9 1 is a flow chart of a sixth method for implementing intelligent voice customer service provided by an embodiment of the present invention;
[0053] Fig.10 It is a schematic diagram of the architecture of an intelligent voice customer service implementation device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0054] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0055] The terms "first", "second", etc. in the present invention are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first", "second", etc. may explicitly or implicitly include one or more of the features. In the description of this application, unless otherwise specified, "plurality" means two or more.
[0056] In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0057] Embodiment 1:
[0058] Embodiment 1 of the present invention provides a method for implementing intelligent voice customer service. Figure 1 As shown, including:
[0059] In step 201, a semantic question-answering tree is generated using the voice services provided to the user in the past, and the semantic question-answering tree is added to a service case library; the voice services provided to the user in the past are the services provided to the user by various manual customer service staff in the past.
[0060] In step 202, after receiving the voice of the first user and determining that the first user requires manual service based on the voice or dialing operation of the first user, the first user is added to a first transfer queue so as to transfer the call to manual customer service in the order in which the users are arranged in the first transfer queue.
[0061] In step 203, during the waiting time when the first user is waiting to be transferred to the corresponding manual customer service, the first user is asked through intelligent voice whether he is willing to refer to the historical service case.
[0062] In step 204, if the first user chooses to refer to historical service cases, the first demand question of the first user is received, and a first semantic question and answer tree matching the first demand question is found in the service case library. According to the first semantic question and answer tree, a voice question and answer service is provided to the first user, and according to the interactive response provided by the first user in the voice question and answer service, the first semantic question and answer tree is descended.
[0063] In step 205, when descending to a leaf node, a first demand answer matching the first question is found, and the first demand answer is broadcast to the user.
[0064] Among them, the demand question is taken as the root node, the interactive questions and interactive replies are the subordinate child nodes, and the demand answer is taken as the leaf node to form a semantic question and answer tree.
[0065] Interactive questions and interactive replies are arranged in order, and when an interactive question has multiple interactive replies, multiple branches are formed. Figure 2 Taking the semantic question-answering tree shown as an example, there is only one demand question in a semantic question-answering tree, but there can be multiple interactive questions. Each interactive question is connected to the demand question or the corresponding interactive reply, and the interactive question has no sibling nodes, that is, the demand question can only be connected to one or zero interactive questions, and an interactive reply can only be connected to one interactive question or one demand reply, and each interactive question can have multiple interactive replies, which are finally presented as multiple branches reaching different leaf nodes, and each branch corresponds to a demand reply.
[0066] like Figure 2 There are 4 branches, and finally there are 4 demand answers. When the first demand question from the first user is received, and the first demand question of the first user is obtained by calculation and Figure 2 When the matching degree of the demand question in the semantic question-answering tree shown is higher than the first preset matching degree, the first demand question is matched with Figure 2 The semantic question-answer tree matching shown in the figure, in the voice question-answering service, interactive question 1 is broadcasted to the first user, and according to the received user's reply, the matching degree between the user's reply and each interactive reply under interactive question 1 (i.e., interactive reply 1-1, interactive reply 1-2, and interactive reply 1-3) is calculated, and the matching degree is higher than the first preset matching degree. When the matching degree between the user's reply and the first interactive reply is higher than the first preset matching degree and the matching degree is the highest among multiple interactive replies, the branch where the first interactive reply is located is entered. For example, when the matching degree between the user's reply and interactive reply 1-1 is higher than the first preset matching degree and the highest, the lower branch of interactive reply 1-1 is entered, and interactive question 2 is continued to be broadcasted to the user. By analogy, which branch to enter is determined according to the user's reply, until the leaf node is finally reached, the demand answer corresponding to the leaf node is broadcasted to the user, and the demand answer is the answer corresponding to the user's first demand question. If the user's reply matches interactive reply 2-2 under interactive question 2, demand answer 2 is broadcasted. If the interactive answer 1-2 matches the user's answer to interactive question 1, the lower branch of interactive answer 1-2 is entered. At this time, the leaf node is reached and the required answer 3 is broadcast to the user.
[0067] If, under the corresponding interactive question, the user's answer does not match any of the demand responses under it, it is considered that the current semantic question and answer tree cannot match the user, and the voice question and answer service will be stopped for the user until the user is transferred to manual customer service. The user information is extracted from the interactive response provided by the first user and sent to the transfer service background of the manual customer service.
[0068] Among them, the demand questions, interactive questions, interactive replies and demand replies are all represented as semantic vectors in the semantic question-answering tree.
[0069] This embodiment utilizes the waiting time of users being transferred to manual customer service, and uses historical service cases of manual customer service to generate a service case library, so that in subsequent use, the service case library can be used to process user needs, thereby alleviating the pressure of manual customer service and improving service efficiency.
[0070] In the actual application scenario, the speech service provided to the user in the past is used to generate a semantic question-answering tree, and the semantic question-answering tree is added to the service case library, such as Figure 5As shown, specifically including:
[0071] In step 301, semantic recognition is performed on the voice information received from the user in the voice service and the voice information of the customer service to generate demand questions from the user, interactive questions from the customer service, interactive replies from the user, and demand replies from the customer service. In actual use, user information may exist in the user's voice information. When performing semantic recognition, the user information is replaced with a preset word vector. For example, when it is recognized in the user's voice information that the user has provided an account number, password, ID number, etc., the user information is replaced with a preset word vector by a technician in this field, wherein each type of user information corresponds to a unique preset word vector, so that when the semantic question-answering tree is subsequently matched, different values of the same type of user information can be matched with each other. The recognition of these user information can be obtained by combining the semantic information of the context, or by analyzing the format of the user information.
[0072] In step 302, it is searched in the service case library whether there is a semantic question-answering tree matching the requirement question.
[0073] In step 303, if a second semantic question-and-answer tree is found in the service case library to match the demand question, then the second semantic question-and-answer tree is further compared along the downward direction to see whether there are branches matching the interactive question and the interactive reply in the second semantic question-and-answer tree, until the lowest-level matching branch is obtained, and a new branch is formed using subsequent interactive replies, interactive questions and demand replies that have not been matched, and the new branch is inserted under the lowest-level matching branch.
[0074] In step 304, if a second semantic question-answer tree is found in the service case library to match the demand question, but comparison shows that there is no branch in the second semantic question-answer tree that matches the interaction question and the interaction answer, a new semantic question-answer tree is directly generated based on the demand question, interaction question, interaction answer and demand answer, the new semantic question-answer tree is inserted into the service case library, and the new semantic question-answer tree is clustered with the second semantic question-answer tree to form a question-answer network, so that the question-answer network can be used for matching in subsequent matching.
[0075] In step 305, if a semantic question-and-answer tree matching the demand question is not found in the service case library, a new semantic question-and-answer tree is directly generated based on the demand question, interaction question, interaction reply and demand reply, and the new semantic question-and-answer tree is inserted into the service case library; wherein, when the matching degree between the root node of the corresponding semantic question-and-answer tree and the demand question is greater than a first preset matching degree, the semantic question-and-answer tree matches the demand question; when the matching degree between the corresponding child node of the corresponding semantic question-and-answer tree and the interaction question is greater than the first preset matching degree, the branch where the child node is located matches the interaction question and the interaction reply corresponding to the interaction question.
[0076] The matching of the demand questions, interactive questions, interactive answers, and demand answers with the semantic question-answering tree in the above steps 302 to 305 is based on the same concept as the above steps 201 to 205. Figure 2 For example, when the user's demand answer matches Figure 2 , go down to interactive question 1, and determine whether the customer service's first interactive question matches interactive question 1. If not, then compare and find that there is no branch in the semantic question-answering tree that matches the interactive question and interactive reply, that is, enter step 304, and create a new semantic question-answering tree. However, since the interactive question is matched, it is considered that the newly created semantic question-answering tree is similar to the existing semantic question-answering tree, and the two semantic question-answering trees are merged into a question-answering network. A service case library may include multiple question-answering networks. When the corresponding semantic question-answering tree does not have a similar semantic question-answering tree, it can itself be regarded as a question-answering network, and its own demand question can be regarded as a semantic vector of the question-answering network. If the customer service's first interactive question matches interactive question 1, then further match the user's first interactive reply with each interactive reply under interactive question 1 to see if there is a match. If there is a match, continue to go down along the branch where the matched interactive reply is located. For example, when the customer service's first interactive question matches Figure 2 The interactive question 1 shown matches, and the user's first interactive response matches Figure 2 When the interactive response 1-1 shown matches, the process proceeds to interactive question 2 to continue matching the second interactive question and the interactive response.
[0077] If the customer service's interactive question matches the corresponding first interactive question in the semantic question-answering tree, but the answer does not match any interactive answer under the first interactive question, then the lowest matching branch is obtained by comparison, and step 301 is entered to sequentially generate branches for the user's subsequent interactive answer, the customer service's subsequent interactive question, and the customer service's demand answer to continue under the first interactive question, such as Figure 3As shown, when interactive question 2 is matched with the second interactive question of the customer service, and the second interactive reply of the user does not match the interactive reply 2-1 and does not match the interactive reply 2-2, a new branch is created under interactive question 2, that is, interactive reply 2-3 is connected under interactive question 2, and interactive reply 2-3 is the second interactive reply provided by the user. If, after the second interactive reply, there is a third interactive question of the customer service, a third interactive reply of the user, and a demand reply finally provided by the customer service, then the third interactive question, the third interactive reply, and the demand reply finally provided are connected in sequence under interactive reply 2-3, that is, Figure 3 As shown, interactive question 3, interactive answer 3-1 and demand answer 5 are connected.
[0078] When the user's demand answer does not match the demand questions of each semantic question-answering tree, it is considered that there is no semantic question-answering tree that can support the user in the current service case library, and a new semantic question-answering tree is generated. The final service case library may be as follows: Figure 4 shown.
[0079] Wherein, in the service case library, a first semantic question-answering tree matching the first requirement question is found, such as Figure 6 As shown, specifically including:
[0080] In step 401, the first-level matching degree between the first demand question and each question-answering network is calculated, and the first question-answering network whose first-level matching degree is greater than the second preset matching degree is found. At this time, it is considered that the first question-answering network is similar to the first demand question, and matching is continued in the first question-answering network, thereby narrowing the matching range and speeding up the matching speed.
[0081] In step 402, the secondary matching degree between each semantic question answering tree in the first question answering network and the first demand question is calculated, and a semantic question answering tree whose secondary matching degree is greater than the first preset matching degree and the highest secondary matching degree is selected as the first semantic question answering tree.
[0082] Among them, the root node of a semantic question and answer tree includes multiple word vectors. When a word vector is included in a preset proportion of root nodes in a question and answer network, the word vector is used as the root word vector, and the semantic vector of the question and answer network is composed of multiple root word vectors. The first-level matching degree is specifically the matching degree between the semantic vector of the question and answer network and the first demand question.
[0083] The first preset matching degree, the second preset matching degree and the preset ratio are all obtained by those skilled in the art based on empirical analysis.
[0084] It should be noted here that the semantic vector in this embodiment can be understood as a word vector matrix composed of multiple word vectors. The matching degree in this embodiment is achieved through semantic matching. The matching degree can also be called semantic similarity. For example, for the second-level matching degree, it can be calculated by global matching (that is, matching the semantic vector as a whole). For the first-level matching degree, it can be calculated by local matching (that is, matching between word vectors in the semantic vector).
[0085] In actual use, in order to achieve smooth transfer between voice question and answer service and manual service, this embodiment also provides the following preferred implementation method, that is, when the first user chooses to refer to historical service cases and finds the first semantic question and answer tree matching the first demand question in the service case library, the method also includes: adding an intelligent service identifier for the first user in the first transfer queue; when the first user reaches the head of the first transfer queue and it is identified that the first user has the intelligent service identifier, the first user and the corresponding intelligent service identifier are migrated to the second transfer queue together to skip the first user and transfer subsequent users to manual customer service.
[0086] When receiving a transfer acceptance request from the corresponding manual customer service, the second transfer queue is first traversed, and if there is a user without the smart service identifier in the second transfer queue, the user is preferentially transferred to the manual customer service, otherwise, the corresponding user is taken from the head of the first transfer queue and transferred to the manual customer service. The first transfer queue is a first-in, first-out queue.
[0087] According to the first semantic question-answering tree, a voice question-answering service is provided to the first user, and according to the interactive response provided by the first user in the voice question-answering service, the first semantic question-answering tree is descended; when descending to a leaf node, a first demand response matching the first question is found, and the first demand response is broadcast to the user, such as Figure 7 As shown, specifically including:
[0088] In step 501, the semantic information corresponding to the root node of the first semantic question and answer tree is broadcast to the first user, and the first user is asked whether the question is consistent with the first demand. If the first user replies that it is consistent, the corresponding interactive questions are broadcast to the first user in turn along the downward direction of the first semantic question and answer tree, and the corresponding downward branch is selected according to the interactive reply received from the first user, until it goes down to the leaf node, and the first demand answer matching the first question is found, the first demand answer is broadcast to the first user, and the first user is asked whether the first demand problem is solved. If the first user replies that the first demand is solved, the first user is removed from the first transfer queue or the second transfer queue.
[0089] In step 502, if the first user replies that the first demand is not resolved, or the first user requests to terminate the voice question and answer service during the voice question and answer service, the intelligent service identifier of the first user is removed to wait for the first user to be transferred to the corresponding manual customer service; so that when traversing the second transfer queue, the first user can be taken out for transfer, thereby ensuring that the voice question and answer service of the first user is not interrupted as much as possible, while taking into account the situation that manual customer service may be needed, and the first user is queued in the original order.
[0090] In order to further improve the efficiency of the service, this embodiment further provides a preferred implementation manner, that is, transferring the first user to the corresponding manual customer service specifically includes:
[0091] When the first user is transferred to the first manual customer service, user information is extracted from the interactive response provided by the first user, and the user information and the first demand question are sent to the transfer service background of the first manual customer service, so that the first manual customer service can pre-acquire the user information and the first demand question through the transfer service background before providing manual service to the user.
[0092] The sending of the user information and the first demand question to the transfer service backend of the first manual customer service specifically includes: upon receiving a transfer acceptance request from the corresponding manual customer service, reading the manual customer service number carried in the transfer acceptance request; determining the corresponding first transfer service backend according to the manual customer service number, and sending the user information of the first user and the first demand question to the first transfer service backend when transferring the first user to the manual customer service. Each manual customer service corresponds to a unique manual customer service number, and uses the unique manual customer service number to log in to the transfer service backend.
[0093] In order to provide users with a better experience, the method further includes: calculating the first user's manual service waiting time according to the number of current manual customer service and the number of users currently requesting manual service; if the first user's manual service waiting time is greater than a preset time, announcing the manual service waiting time to the user, and asking the first user through intelligent voice whether he is willing to refer to historical service cases; otherwise, not asking the first user whether he is willing to refer to historical service cases, but directly waiting for the transfer to manual customer service. The preset time is obtained by those skilled in the art based on empirical analysis.
[0094] Embodiment 2:
[0095] After providing the intelligent voice customer service implementation method described in Example 1, this embodiment also provides an intelligent voice customer service implementation method, such as Figure 8 As shown, including:
[0096] In step 601, a semantic question-answering tree is generated using the voice services provided to the user in the past, and the semantic question-answering tree is added to a service case library.
[0097] In step 602, after receiving the voice of the first user and determining that the first user requires manual service based on the voice or dialing operation of the first user, the first user is added to a first transfer queue so as to transfer the call to manual customer service in the order in which the users are arranged in the first transfer queue.
[0098] In step 603, during the waiting time when the first user is waiting to be transferred to the corresponding manual customer service, the first user is asked through intelligent voice whether he is willing to provide question details in advance before entering the manual customer service.
[0099] In step 604, if the first user chooses to provide question details in advance before entering the manual customer service, the first user's first demand question is received, and a first semantic question and answer tree matching the first demand question is found in the service case library. Based on the first semantic question and answer tree, a voice question and answer service is provided to the first user, and based on the interactive response provided by the first user in the voice question and answer service, the first semantic question and answer tree is descended.
[0100] In step 605, until the first user is transferred to the first manual customer service, user information is extracted from the interactive response provided by the first user, and the user information and the first demand question are sent to the transfer service background of the first manual customer service, so that the first manual customer service can obtain the user information and the first demand question in advance through the transfer service background before providing manual service to the user.
[0101] Among them, the process of using the voice service provided to users in the past to generate a semantic question and answer tree and adding the semantic question and answer tree to the service case library is implemented based on the same concept as in Example 1 and will not be repeated here. Similarly, the process of finding the first semantic question and answer tree matching the first demand question in the service case library is implemented based on the same concept as in Example 1 and will not be repeated here.
[0102] The sending of the user information and the first demand question to the transfer service backend of the first manual customer service specifically includes: upon receiving a transfer acceptance request from the corresponding manual customer service, reading the manual customer service number carried in the transfer acceptance request; determining the corresponding first transfer service backend according to the manual customer service number, and sending the user information of the first user and the first demand question to the first transfer service backend when transferring the first user to the manual customer service. Each manual customer service corresponds to a unique manual customer service number, and uses the unique manual customer service number to log in to the transfer service backend.
[0103] In order to provide users with a better experience, the method also includes: calculating the manual service waiting time of the first user based on the number of current manual customer service and the number of users currently requesting manual service; if the manual service waiting time of the first user is greater than the preset time, the manual service waiting time is announced to the user, and the first user is asked through intelligent voice whether he is willing to provide problem details in advance before entering the manual customer service; otherwise, the first user is not asked whether he is willing to provide problem details in advance before entering the manual customer service.
[0104] Moreover, whenever an interactive reply provided by the first user is received, the number of remaining users in the first transfer queue is obtained, and the estimated transfer time is calculated according to the number of remaining users and the user exit speed of the first transfer queue. When the estimated transfer time is less than or equal to the preset value, the subsequent voice Q&A service is stopped and the call is transferred to a human operator to avoid being interrupted by a human operator during the broadcast, which affects the user experience.
[0105] Embodiment 3:
[0106] Based on the above-mentioned embodiments 1 and 2, the embodiment of the present invention further provides a method for implementing intelligent voice customer service, such as Fig. 9 As shown, including:
[0107] In step 701, a semantic question-answering tree is generated using the voice services provided to the user in the past, and the semantic question-answering tree is added to a service case library; the voice services provided to the user in the past are the services provided to the user by various manual customer service staff in the past.
[0108] In step 702, after receiving the voice of the first user and determining that the first user requires manual service based on the voice or dialing operation of the first user, the first user is added to a first transfer queue so as to transfer the call to manual customer service in the order in which the users are arranged in the first transfer queue.
[0109] In step 703, during the waiting time when the first user is waiting to be transferred to the corresponding manual customer service, the manual service waiting time of the first user is calculated. If the manual service waiting time is greater than the preset time and the manual service waiting time is less than the first preset time, the first user is asked through intelligent voice whether he is willing to provide problem details in advance before entering the manual customer service.
[0110] In step 704, if the first user chooses to provide question details in advance before entering the manual customer service, the first user's first demand question is received, and a first semantic question and answer tree matching the first demand question is found in the service case library. According to the first semantic question and answer tree, a voice question and answer service is provided to the first user, and according to the interactive response provided by the first user in the voice question and answer service, the first semantic question and answer tree is descended.
[0111] In step 705, until the first user is transferred to the first manual customer service, user information is extracted from the interactive response provided by the first user, and the user information and the first demand question are sent to the transfer service background of the first manual customer service, so that the first manual customer service can obtain the user information and the first demand question in advance through the transfer service background before providing manual service to the user.
[0112] In step 706, if the manual service waiting time is greater than or equal to the first preset time, the first user is asked through intelligent voice whether he is willing to refer to historical service cases. If the first user chooses to refer to historical service cases, the first user's first demand question is received, and a first semantic question and answer tree matching the first demand question is found in the service case library. According to the first semantic question and answer tree, a voice question and answer service is provided to the first user, and according to the interactive response provided by the first user in the voice question and answer service, the first semantic question and answer tree is descended.
[0113] In step 707, when descending to a leaf node, a first demand answer matching the first question is found, and the first demand answer is broadcast to the user.
[0114] The preset time and the first preset time are obtained by those skilled in the art based on empirical analysis, that is, when the user's waiting time is too long, priority is given to finding a reply for the user from the service case library, and when the user's waiting time is slightly shorter, priority is given to collecting the user's information, so as to more efficiently handle the user's problem when entering manual service. When the manual service waiting time is less than or equal to the preset time, the first user is not asked whether he is willing to refer to historical service cases or whether he is willing to provide problem details in advance before entering manual customer service, but directly waits for the transfer to manual customer service.
[0115] After the user chooses to provide problem details in advance before entering the manual customer service, the execution process of this embodiment is implemented based on the same concept as that of Example 2, that is, the methods in Example 2 are applicable in this embodiment. After the user chooses to refer to historical service cases, the execution process of this embodiment is implemented based on the same concept as that of Example 1, that is, the methods in Example 1 are applicable in this embodiment.
[0116] In order to provide users with a better experience, and in case the user chooses to provide question details in advance before entering the manual customer service, every time the interactive reply provided by the first user is received, the total number of remaining users in the first transfer queue and the second transfer queue is obtained, and the estimated transfer time is calculated according to the total number of remaining users and the user exit speed of the first transfer queue. When the estimated transfer time is less than or equal to the preset value, the subsequent voice question and answer service is stopped and the call is transferred to the manual service. This is to avoid being interrupted by the manual transfer during the broadcast, which affects the user experience.
[0117] Embodiment 4:
[0118] like Fig.10 , which is a schematic diagram of the architecture of the intelligent voice customer service implementation device according to an embodiment of the present invention. The intelligent voice customer service implementation device according to this embodiment includes one or more processors 21 and a memory 22. Fig.10 A processor 21 is taken as an example.
[0119] The processor 21 and the memory 22 may be connected via a bus or other means. Fig.10 The example of connecting through bus is taken in the following.
[0120] The memory 22 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs and non-volatile computer executable programs, such as the intelligent voice customer service implementation method in Example 1. The processor 21 executes the intelligent voice customer service implementation method by running the non-volatile software programs and instructions stored in the memory 22.
[0121] The memory 22 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage devices. In some embodiments, the memory 22 may optionally include a memory remotely arranged relative to the processor 21, and these remote memories may be connected to the processor 21 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0122] The program instructions / modules are stored in the memory 22, and when executed by the one or more processors 21, the intelligent voice customer service implementation method in the above-mentioned embodiment 1, embodiment 2 or embodiment 3 is executed.
[0123] It is worth noting that the information interaction, execution process, etc. between the modules and units within the above-mentioned devices and systems are based on the same concept as the processing method embodiment of the present invention. The specific contents can be found in the description of the method embodiment of the present invention and will not be repeated here.
[0124] A person skilled in the art may understand that all or part of the steps in the various methods of the embodiments may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the storage medium may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.
[0125] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for implementing intelligent voice customer service, characterized in that: include: Generate a semantic question-answer tree using the voice services historically provided to the user, and add the semantic question-answer tree to a service case library; After receiving the voice of the first user and determining that the first user requires manual service according to the voice or dialing operation of the first user, adding the first user to a first transfer queue, so as to transfer the call to manual customer service according to the arrangement order of each user in the first transfer queue; During the waiting time when the first user is waiting to be transferred to the corresponding manual customer service, the first user is asked by intelligent voice whether he is willing to refer to the historical service case; If the first user chooses to refer to the historical service case, a first demand question of the first user is received, a first semantic question-answering tree matching the first demand question is found in the service case library, a voice question-answering service is provided to the first user according to the first semantic question-answering tree, and the first semantic question-answering tree is descended according to the interactive reply provided by the first user in the voice question-answering service; When descending to a leaf node, a first demand answer matching the first demand question is found, and the first demand answer is broadcast to the user; The method of using the voice service provided to the user in the past to generate a semantic question-answering tree and adding the semantic question-answering tree to the service case library specifically includes: Perform semantic recognition on the voice information received from users and customer service in the voice service, and generate demand questions from users, interactive questions from customer service, interactive replies from users, and demand replies from customer service; Searching the service case library to see whether there is a semantic question-answer tree matching the demand question; If the second semantic question-answering tree is found to match the demand question in the service case library, then further along the downward direction of the second semantic question-answering tree, the second semantic question-answering tree is sequentially compared to see whether there are branches matching the interactive question and the interactive reply, until the lowest matching branch is obtained, and a new branch is formed using the subsequent interactive replies, interactive questions and demand replies that cannot be matched, and the new branch is inserted under the lowest matching branch; If in the service case library, a second semantic question-answering tree is found to match the demand question, but comparison shows that no branch matching the interactive question and the interactive reply exists in the second semantic question-answering tree, a new semantic question-answering tree is directly generated according to the demand question, the interactive question, the interactive reply and the demand reply, the new semantic question-answering tree is inserted into the service case library, and the new semantic question-answering tree is clustered with the second semantic question-answering tree to form a question-answering network, so that the question-answering network can be used for matching in subsequent matching; If a semantic question-and-answer tree matching the demand question is not found in the service case library, a new semantic question-and-answer tree is directly generated based on the demand question, interaction question, interaction reply and demand reply, and the new semantic question-and-answer tree is inserted into the service case library; wherein, when the matching degree between the root node of the corresponding semantic question-and-answer tree and the demand question is greater than a first preset matching degree, the semantic question-and-answer tree matches the demand question; when the matching degree between the corresponding child node of the corresponding semantic question-and-answer tree and the interaction question is greater than the first preset matching degree, the branch where the child node is located matches the interaction question and the interaction reply corresponding to the interaction question.
2. The method for implementing intelligent voice customer service according to claim 1, characterized in that: The finding, in the service case library, a first semantic question-answering tree matching the first requirement question specifically includes: Calculate the first-level matching degree between the first demand question and each question-answering network, and find the first question-answering network whose first-level matching degree is greater than the second preset matching degree; Calculate the secondary matching degree between each semantic question answering tree in the first question answering network and the first demand question, and select a semantic question answering tree whose secondary matching degree is greater than the first preset matching degree and has the highest secondary matching degree as the first semantic question answering tree; Among them, the root node of a semantic question and answer tree includes multiple word vectors. When a word vector is included in a preset proportion of root nodes in a question and answer network, the word vector is used as the root word vector, and the semantic vector of the question and answer network is composed of multiple root word vectors. The first-level matching degree is specifically the matching degree between the semantic vector of the question and answer network and the first demand question.
3. The method for implementing intelligent voice customer service according to claim 1, characterized in that: When the first user chooses to refer to the historical service case and finds a first semantic question-answering tree matching the first demand question in the service case library, the method further includes: Add an intelligent service identifier for the first user in the first transfer queue; when the first user reaches the head of the first transfer queue and is identified as having the intelligent service identifier, migrate the first user and the corresponding intelligent service identifier to the second transfer queue to skip the first user and transfer subsequent users to manual customer service.
4. The method for implementing intelligent voice customer service according to claim 3, characterized in that: providing a voice question and answer service to the first user according to the first semantic question and answer tree, and performing downlink of the first semantic question and answer tree according to an interactive reply provided by the first user in the voice question and answer service; When descending to a leaf node, a first demand answer matching the first demand question is found, and the first demand answer is broadcast to the user, specifically including: The semantic information corresponding to the root node of the first semantic question-answering tree is broadcasted to the first user, and the first user is asked whether the answer is consistent with the first demand question. If the answer is consistent with the answer given by the first user, the corresponding interactive questions are broadcasted to the first user in sequence along the downward direction of the first semantic question-answering tree, and the corresponding downward branch is selected according to the interactive answer received from the first user, until the first demand answer matching the first demand question is found when descending to the leaf node, the first demand answer is broadcasted to the first user, and the first user is asked whether the first demand question is solved. If the answer is solved after the first user replies, the first user is removed from the first transfer queue or the second transfer queue. If the first user replies that the first demand question is not resolved, or the first user requests to terminate the voice question and answer service during the voice question and answer service, the intelligent service identifier of the first user is removed to wait for the first user to be transferred to the corresponding manual customer service; Among them, when a transfer acceptance request is received from the corresponding manual customer service, the second transfer queue is traversed first. If there is a user who does not carry the smart service identifier in the second transfer queue, the user is transferred to the manual customer service first. Otherwise, the corresponding user is taken out from the head of the first transfer queue and transferred to the manual customer service.
5. The method for implementing intelligent voice customer service according to claim 4, characterized in that: The transferring the first user to the corresponding manual customer service specifically includes: When the first user is transferred to the first manual customer service, user information is extracted from the interactive response provided by the first user, and the user information and the first demand question are sent to the transfer service background of the first manual customer service, so that the first manual customer service can pre-acquire the user information and the first demand question through the transfer service background before providing manual service to the user.
6. The method for implementing intelligent voice customer service according to claim 5, characterized in that: The sending of the user information and the first demand question to the transfer service backend of the first manual customer service specifically includes: When receiving a transfer acceptance request from a corresponding manual customer service, reading the manual customer service number carried in the transfer acceptance request; According to the manual customer service number, the corresponding first transfer service background is determined, and when the first user is transferred to the manual customer service, the user information of the first user and the first demand question are sent to the first transfer service background.
7. The method for implementing intelligent voice customer service according to claim 1, characterized in that: The method further comprises: Calculate the manual service waiting time of the first user according to the number of current manual customer service representatives and the number of users currently requesting manual service; If the manual service waiting time of the first user is greater than the preset time, the manual service waiting time is announced to the user, and the first user is asked by intelligent voice whether he is willing to refer to the historical service case; Otherwise, the first user is not asked whether he is willing to refer to the historical service case.
8. The method for implementing intelligent voice customer service according to claim 1, characterized in that: A semantic question-answering tree is formed with the demand question as the root node, the interactive question and interactive answer as the subordinate child nodes, and the demand answer as the leaf node; wherein the demand question, interactive question, interactive answer and demand answer are all represented as semantic vectors in the semantic question-answering tree.
9. An intelligent voice customer service implementation device, characterized in that: include: at least one processor; And, a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the processor to execute the intelligent voice customer service implementation method described in any one of claims 1-8.
