Artificial intelligence-based speech calling method, device, computer equipment and medium

By dynamically adjusting the words during the outbound call, according to the customer's intention and changes in the outbound call rounds, the problem of unreasonable voice calls in the existing technology is solved, and the success rate of outbound calls is improved.

CN114202363BActive Publication Date: 2024-10-01CHINA PING AN PROPERTY INSURANCE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111517281.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-13
Publication Date
2024-10-01
Estimated Expiration
2041-12-13

AI Technical Summary

Technical Problem

During the outbound call process, existing artificial intelligence robots use unreasonable speech skills, resulting in a low outbound call success rate, and cannot effectively respond to changes in interaction scenarios and dynamic adjustments of customer intentions.

Method used

When the user triggers an outbound call, the first utterance is selected according to the configured outbound call rules to interact with the customer, and the outbound call round value and interaction result are detected. If the target is not achieved, the intention of the customer's last sentence is extracted to determine the second utterance. , interact again until the target round value is reached or a transaction is concluded.

Benefits of technology

It improves the rationality of call skills and the success rate of outbound calls. By dynamically adjusting the call skills to respond to changes in outbound call rounds and customer intentions, the success rate of customer contact is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114202363B_ABST
    Figure CN114202363B_ABST
Patent Text Reader

Abstract

The present application is applicable to the field of artificial intelligence technology, and in particular, relates to a speech calling method, device, computer equipment and medium based on artificial intelligence. The method selects a first speech to interact with a customer currently, generates a current interaction result and a current outbound call round value, and when it is detected that the current outbound call round value does not reach the target round value, and the current interaction result does not achieve the target transaction, extracts the customer's intention in the current interaction, determines the second speech corresponding to the intention, uses the second speech to interact with the customer again, generates a re-interaction result, increases the current outbound call round value by one, takes the re-interaction as the current interaction and takes the re-interaction result as the current interaction result, returns to perform detection until it detects that the target round value is reached, or the target transaction is achieved, and realizes changing the speech of the new round of contact according to the change of the outbound call round and the intention of the customer in the previous round, so that the rationality of the speech calling is higher, and the success rate of the outbound call can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application is applicable to the field of artificial intelligence technology, and in particular, relates to an artificial intelligence-based speech calling method, device, computer equipment and medium. Background Art

[0002] At present, customer service, marketing and other work all require manual communication with customers. In order to reduce labor costs and improve work efficiency, artificial intelligence robots can be used to perform simple contact with customers. Robots can have smooth conversations with customers and complete specified purposes based on automatic speech recognition (ASR) technology and natural language processing (NLP) technology. However, the dialogue words used by robots during contact are generally related to the dialogue scene. When the dialogue scene changes, the words in the original scene are no longer applicable. The robot may have multiple contacts with a customer during an outbound call, and the dialogue scene will change as the number of contacts increases. Therefore, how to effectively improve the rationality of the robot's call words to improve the success rate of outbound calls has become an urgent problem to be solved. Summary of the invention

[0003] In view of this, the embodiments of the present application provide a method, device, computer equipment and medium for calling words based on artificial intelligence to solve the problem that the robot's calling words are unreasonable, resulting in a low outbound call success rate.

[0004] In a first aspect, an embodiment of the present application provides a speech calling method based on artificial intelligence, and the speech calling method includes:

[0005] When the user triggers an outbound call, according to the outbound call rules configured by the user, the first speech is selected to interact with the customer, and the current interaction result and the current outbound call round value are generated;

[0006] Detecting whether the current outbound call round value reaches the target round value, and whether the current interaction result achieves the target transaction;

[0007] If it is detected that the current outbound call round value does not reach the target round value, and the current interaction result does not achieve the target transaction, then extract the target intention of the last sentence of the customer in the current interaction, and determine the second speech technique corresponding to the target intention;

[0008] Use the second speech technique to interact with the customer again, generate a second interaction result, and increase the current outbound call round value by one;

[0009] Take the second interaction as the current interaction and the result of the second interaction as the current interaction result, return to execute detection whether the current outbound call round value reaches the target round value, and whether the current interaction result achieves the target transaction, until it is detected that the current outbound call round value reaches the target round value, or the current interaction result achieves the target transaction.

[0010] In a second aspect, an embodiment of the present application provides a speech calling device based on artificial intelligence, and the speech calling device includes:

[0011] The first interaction module is used to select the first speech script to interact with the customer when the user triggers an outbound call according to the outbound call rule configured by the user, and generate the current interaction result and the current outbound call round value;

[0012] An outbound call detection module, used to detect whether the current outbound call round value reaches the target round value, and whether the current interaction result achieves the target transaction;

[0013] A speech technique determination module is used to extract the target intention of the last sentence of the customer in the current interaction and determine a second speech technique corresponding to the target intention if it is detected that the current outbound call round value does not reach the target round value and the current interaction result does not achieve the target transaction;

[0014] A second interaction module, configured to use the second speech technique to interact with the customer again, generate a second interaction result, and increase the current outbound call round value by one;

[0015] A loop execution module is used to take the second interaction as the current interaction and the result of the second interaction as the current interaction result, and return to execute to detect whether the current outbound call round value reaches the target round value, and whether the current interaction result achieves the target transaction, until it is detected that the current outbound call round value reaches the target round value, or the current interaction result achieves the target transaction.

[0016] In a third aspect, an embodiment of the present application provides a computer device, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor implements the speech calling method as described in the first aspect when executing the computer program.

[0017] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the speech calling method as described in the first aspect is implemented.

[0018] Compared with the prior art, the embodiments of the present application have the following beneficial effects: when a user triggers an outbound call, the present application selects a first speech to conduct a current interaction with a customer according to the outbound call rules configured by the user, generates a current interaction result and a current outbound call round value, and if it is detected that the current outbound call round value does not reach the target round value, and the current interaction result does not achieve the target transaction, then the intention of the last sentence of the customer in the current interaction is extracted, the second speech corresponding to the intention is determined, the second speech is used to interact with the customer again, a re-interaction result is generated, the current outbound call round value is increased by one, the re-interaction is used as the current interaction and the re-interaction result is used as the current interaction result, and the detection step is returned to be executed until it is detected that the current outbound call round value reaches the target round value, or the current interaction result achieves the target transaction. This can achieve the change of the speech for the new round of contact based on the change in the outbound call round and the intention of the customer in the previous round, so that the rationality of the speech call is higher, and the success rate of the outbound call can be effectively improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0020] Figure 1 This is a schematic diagram of an application environment of an artificial intelligence-based speech calling method provided in Example 1 of the present application;

[0021] Figure 2 This is a flowchart of a method for calling speech based on artificial intelligence provided in Example 2 of the present application;

[0022] Figure 3 This is a flowchart of a method for calling speech based on artificial intelligence provided in Example 3 of the present application;

[0023] Figure 4 This is a structural diagram of an artificial intelligence-based speech calling device provided in Embodiment 5 of the present application;

[0024] Figure 5 It is a structural diagram of a computer device provided in Example 6 of the present application. DETAILED DESCRIPTION

[0025] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0026] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.

[0027] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0028] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.

[0029] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0030] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0031] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.

[0032] AI basic technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics, etc. AI software technologies mainly include computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, and machine learning / deep learning.

[0033] It should be understood that the size of the serial numbers of the steps in the following embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0034] In order to illustrate the technical solution of the present application, a specific embodiment is provided below for illustration.

[0035] The first embodiment of the present application provides an artificial intelligence-based speech calling method, which can be applied to Figure 1 In an application environment, a client communicates with a server. The client includes but is not limited to a PDA, a desktop computer, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a cloud computer device, a personal digital assistant (PDA), and other computer devices. The server can be implemented by an independent server or a server cluster consisting of multiple servers.

[0036] See also Figure 2 , is a flow chart of a method for calling speech based on artificial intelligence provided in the second embodiment of the present application. The above-mentioned method for calling speech can be applied to Figure 1 The server in the server, the computer device corresponding to the server connects to the corresponding database to obtain the corresponding data in the database. The above computer device can also connect to the client to collect the data sent by the client user. Figure 2 As shown, the speech calling method may include the following steps:

[0037] Step S201, when the user triggers an outbound call, according to the outbound call rules configured by the user, the first speech is selected to interact with the customer, and the current interaction result and the current outbound call round value are generated.

[0038] Among them, the above-mentioned server provides an automatic outbound calling platform to the client through a preset access address, and provides automatic outbound calling services to the users of the client. After the users of the client enter the automatic outbound calling platform through the preset access address, the user starts the automatic outbound calling service by performing a trigger operation in the outbound calling service interface provided by the automatic outbound calling platform for the client.

[0039] Corresponding information collection items are provided in the above-mentioned outbound call service interface, and the user can configure the outbound call rules etc. through the information collection items, and submit them to the computer device corresponding to the server after the configuration is completed. The submitted action can be used as a trigger signal for the user to trigger the automatic outbound call service. After receiving the trigger signal, the computer device can determine that the user has triggered the outbound call.

[0040] The outbound call rules may refer to artificially defined conditions or targets, providing certain specifications and judgment conditions for contact. For example, the outbound call rules include the start time of the outbound call, and the outbound call can be initiated only when the start time is reached. The start time of the outbound call may be immediate, that is, the outbound call is initiated immediately after the user configures the above customer information and outbound call rules and submits them to the server.

[0041] For another example, the outbound call rule includes the target outbound call round value and the interval time between two adjacent rounds of outbound calls. The outbound call round may refer to the number of rounds of outbound calls to be made to a certain customer. When the outbound call round value is reached, no more outbound calls may be made. The interval time between two adjacent rounds of outbound calls refers to the time interval after the current round of outbound calls before the next round of outbound calls. For example, if there are two rounds of contact with an interval of one day, the second round of contact will be made on the second day after the first round of contact.

[0042] The outbound call rules may also include the purpose of the outbound call, that is, the target transaction that the outbound call wants to achieve, which may specifically be the collected target information, etc. For example, the target transaction may refer to the customer's intention to purchase the corresponding product, the customer's intention to choose to change the corresponding package, etc.

[0043] The outbound call rules may also include the speech used in the first round of outbound calls, namely the first speech. Of course, a speech number may be set in the outbound call rules, and the corresponding speech may be called through the speech number to interact with customers.

[0044] Outbound call rules can also include the customer's personal information, that is, customer information, which can include the customer's telephone number, mobile phone number, WeChat ID, QQ number and other information that can be used to connect with the customer.

[0045] In one embodiment, the outbound call rules can be edited in a configuration template, which is imported into the corresponding information collection item of the outbound call service interface. The computer device parses the configuration template to extract the corresponding words, outbound call round value, purpose, etc.

[0046] In one embodiment, a corresponding information collection item is provided in the outbound call service interface, and the user can configure the personal information of the customer who needs to make an outbound call through the information collection item, without writing the customer information into the outbound call rule. For example, the user can fill in the customer's personal information in the corresponding information collection item of the outbound call service interface, so that the computer device can extract the customer information.

[0047] For another example, the user may import a file containing customer information in the corresponding information collection item of the outbound call service interface. After acquiring the file, the computer device extracts the information in the file to obtain the customer information.

[0048] In addition, the user can fill in the database access address and customer identity identification number (Identity Document, ID) in the corresponding information collection item in the outbound call service interface. The computer device uses the access address to access the database and uses the customer ID to extract customer information.

[0049] After obtaining the outbound call rules, connect with the customer through the corresponding communication tools and use the first speech to interact with the customer. The interaction process can use technologies such as artificial intelligence speech recognition and semantic recognition to analyze the dialogue sentences in the interaction process and generate corresponding interaction results. The interaction result is the judgment result of whether the target transaction is achieved, etc. This application does not limit the specific interaction process.

[0050] When executing the first round of outbound calls, the current outbound call round value can be set to 0, and after the first round of outbound calls ends, the current outbound call round value is increased by 1. In one implementation, when executing the first round of outbound calls, the current outbound call round value is set to 1, and after the first round of outbound calls ends, there is no need to update the current outbound call round value.

[0051] Optionally, when the user triggers an outbound call, after obtaining the outbound call rules configured by the user, the following is also included:

[0052] Extract the start time of the outbound call in the outbound call rule, and check whether the current time is the start time;

[0053] Accordingly, the first speech is selected to interact with the customer, and the current interaction result and the current outbound call round value are generated, including:

[0054] When it is detected that the current time is the start time, the first speech is selected to interact with the customer, and the current interaction result and the current outbound call round value are generated.

[0055] Among them, the content of the outbound call rule is extracted to determine the start time of the outbound call set in the outbound call rule, and it is detected whether the current time is the start time. If the current time is the start time, the first speech is selected to interact with the customer, and the current interaction result and the current outbound call round value are generated. If the current time is not the start time, the current time is monitored in real time until the current time is the start time, and then the first speech is selected to interact with the customer, and the current interaction result and the current outbound call round value are generated. Furthermore, if the current time is already after the start time, an alarm message is generated and sent to the user to prompt him to modify the start time in the outbound call rule.

[0056] Step S202, detecting whether the current outbound call round value reaches the target round value, and whether the current interaction result achieves the target transaction.

[0057] Among them, the current outbound call round value is compared with the target round value through a corresponding comparator, a comparison algorithm, etc., so as to determine whether the current outbound call round value is greater than the target round value.

[0058] After the interaction with the customer is completed, the user's response during the interaction is analyzed to determine the interaction result. For example, in the interaction, if the customer clearly does not need all products, the interaction result is no intention; if the customer clearly has the intention to purchase product D, the interaction result is the intention to purchase product D.

[0059] By matching and analyzing the current interaction result with the target transaction, it can be determined that the current interaction result includes the target transaction. For example, if the target transaction is the intention to purchase product D, and if the current interaction result is no intention, then the current interaction result does not achieve the target transaction. In order to improve the accuracy of matching, it is required that users fill in the target transaction in a certain format when configuring outbound call rules to avoid non-compliant filling of the target transaction, which may lead to matching errors.

[0060] Step S203, if it is detected that the current outbound call round value does not reach the target round value, and the current interaction result does not achieve the target transaction, the target intention of the last sentence of the customer in the current interaction is extracted, and the second speech corresponding to the target intention is determined.

[0061] Among them, for the first round of interaction, that is, the current interaction, if the target round value is not reached and the current interaction result does not achieve the target transaction, it is necessary to make an outbound call again. Affected by the first round of outbound calls, the interaction scenario of the second outbound call may be different from that of the first round of outbound calls. Therefore, it is necessary to analyze the first round of outbound calls to determine the words used in the second outbound call to deal with the interaction scenario of the second outbound call.

[0062] Perform intent analysis on the customer's last sentence in the current interaction to clarify the customer's final intention at the end of the current interaction, and determine the corresponding speech based on the final intention. For example, if the customer's final intention is to consider, you need to call the speech set for the customer under consideration and interact with the customer again to improve the success rate.

[0063] In this application, the computer device is connected to a corresponding database, which stores a mapping relationship between intent and speech. The computer device can determine the corresponding speech from the database according to the target intent, and then use the speech to interact with the customer in the next round of outbound calls.

[0064] Optionally, extract the target intent of the customer's last sentence in the current interaction, and determine that the second speech corresponding to the target intent includes:

[0065] Extract the target intent of the customer's last sentence in the current interaction and obtain the target category to which the target intent belongs;

[0066] According to the speech number corresponding to the target category in the outbound call rule, the speech corresponding to the speech number in the speech database is determined to be the second speech.

[0067] Among them, users can divide the categories to which the intent belongs, and map each category with a speech number. In the existing speech database, the speech and the speech number correspond one-to-one. Therefore, after determining the target category to which the target intent belongs, the speech number corresponding to the target category can be obtained, and then the speech with the corresponding number can be determined and extracted from the speech database.

[0068] For example, the user divides the categories of intent into 7 types, including: agreement, time, consideration, dissatisfaction, rejection, complaint, and fallback. Each category is configured with a corresponding speech number. If the target intent is consideration, hesitation, indecision, etc., the category to which the target intent belongs can be defined as the consideration category. Based on the speech number corresponding to the consideration category (ID=019), the speech can be retrieved from the speech database.

[0069] Optionally, the target intent of the last sentence of the customer in the current interaction is extracted, and the target categories to which the target intent belongs include:

[0070] Get the voice data of the current interaction, extract the last sentence in the voice data, and convert the last sentence into the target text;

[0071] Perform a natural language recognition model on the target text to determine the target intent corresponding to the target text;

[0072] According to the relationship between the existing intent and category, determine the target category to which the target intent belongs.

[0073] In this application, the conversation with the customer will be recorded to form voice data. According to the time dimension of the voice data, the last string of audio can be determined as the last sentence of the voice data. Based on the ASR technology, the audio corresponding to the last sentence is converted into text, that is, the target text, and then the NLP model is used to extract the intent of the text to determine the intent corresponding to the last sentence.

[0074] Optionally, after obtaining the voice data of the current interaction, extracting the last sentence in the voice data, and converting the last sentence into the target text, the following is further included:

[0075] Detect whether the number of characters in the target text is greater than the number threshold;

[0076] If it is detected that the number of characters in the target text is less than the number threshold, the first N sentences before the last sentence are extracted and the first N sentences are converted into additional characters, where N is an integer greater than zero;

[0077] Combining the additional text with the target text to obtain the combined target text;

[0078] Accordingly, a natural language recognition model is performed on the target text to determine the target intent corresponding to the target text, including:

[0079] A natural language recognition model is performed on the combined target text to determine the target intent corresponding to the combined target text.

[0080] In certain cases, the last sentence of the customer's reply may be relatively short, that is, the corresponding target text has a small number of characters and may not be able to express the intention. In order to ensure the accuracy of the above-mentioned NPL model in identifying the intention, when the target text has a small number of characters, at least one sentence before the last sentence is obtained to form a valid target text, which is then used for the NPL model to identify the intention. For example, the adjacent sentence before the last sentence is obtained, that is, the last two sentences are converted into target text.

[0081] Optionally, after extracting the target intent of the last sentence of the customer in the current interaction and determining the second speech corresponding to the target intent, the method further includes:

[0082] Extract the interval between two adjacent outbound calls in the outbound call rules;

[0083] Accordingly, the second speech technique is used to interact with the customer again, and a second interaction result is generated, and the current outbound call round value is increased by one, including:

[0084] The timing starts from the current time. When the timing reaches the interval time, the second speech is used to interact with the customer again, generate the re-interaction result, and increase the current outbound call round value by one.

[0085] In the present application, when setting the outbound call rounds in the outbound call rules, the interval time between two outbound calls is also limited. After one outbound call, the interval time must be reached before another outbound call can be made. This can avoid harassment caused by continuous outbound calls, reduce customer annoyance, and improve the success rate of outbound calls.

[0086] Step S204, use the second speech technique to interact with the customer again, generate a re-interaction result, and increase the current outbound call round value by one.

[0087] Among them, the second speech is called to interact with the customer. The specific process of the interaction is the same as the interaction process of the first round mentioned above, which will not be repeated here. Since this round is the second round of outbound calls, the original current outbound call round value is increased by 1, and the updated current outbound call round value is 2.

[0088] Step S205, taking the second interaction as the current interaction and the result of the second interaction as the current interaction result, and returning to execute step S202 until it is detected that the current outbound call round value reaches the target round value, or the current interaction result achieves the target transaction.

[0089] In this application, a target round value is set in the outbound call rule. If the current outbound call round value reaches the target round value, there is no need to continue to execute the outbound call, that is, the outbound call ends. If the current outbound call round value does not reach the target round value, it is necessary to continue to execute the outbound call again. Of course, if the current interaction result reaches the target transaction, there is no need to continue to execute the outbound call, that is, the outbound call ends.

[0090] The interaction of this round is taken as the current interaction, and the interaction result of this round is taken as the current interaction result, and the detection step S202 is returned to be executed to form a complete loop, until the current outbound call round value reaches the target round value, or the current interaction result achieves the target transaction, thereby automatically completing the outbound call task.

[0091] For example, an outbound calling platform is provided, on which users set customer information and outbound calling rules to be called. The customer information includes customer A's phone number and other information that can be called outbound. The outbound calling rules include using speech B in the first round of outbound calls, the target outbound calling round value of 3, and the target transaction being the appearance of purchase intention. After the user sets the above information, the platform selects speech B to call customer A's phone number by phone, and interacts with customer A, and generates a current interaction result of not achieving the target transaction, and determines that the current outbound calling round value is 1. It can be seen that the current interaction result has not achieved the target transaction, and the current outbound calling round value has not reached 3, so the last sentence said by customer A in the current interaction is extracted. "I don't need it" is the last sentence before hanging up the phone. According to the sentence "I don't need it", it is determined that the intention of customer A to express by hanging up the phone is "no need"; according to the intention of "no need", the corresponding second speech C is determined, and the second speech C is used to dial the phone number of customer A, and interact with customer A again, and generate a second interaction result to achieve the target transaction; the second interaction result is used as the current interaction result, and the second interaction is used as the current interaction, the current outbound call round value is increased by 1, that is, the current outbound call round value is updated to 2, and the detection step is executed. It can be seen that the outbound call round value has not reached 3, but the current interaction result has achieved the target transaction, and the contact with customer A can be ended.

[0092] In the embodiment of the present application, when a user triggers an outbound call, according to the outbound call rules configured by the user, a first speech is selected to conduct the current interaction with the customer, and the current interaction result and the current outbound call round value are generated. If it is detected that the current outbound call round value does not reach the target round value, and the current interaction result does not achieve the target transaction, the intention of the last sentence of the customer in the current interaction is extracted, and the second speech corresponding to the intention is determined. The second speech is used to interact with the customer again, and the result of the second interaction is generated. The current outbound call round value is increased by one, and the second interaction is used as the current interaction and the result of the second interaction is used as the current interaction result. The detection step is returned to be executed until it is detected that the current outbound call round value reaches the target round value, or the current interaction result achieves the target transaction. This can realize changing the speech of the new round of contact according to the change of the outbound call round and the intention of the customer in the previous round, so that the rationality of the speech call is higher, which can effectively improve the success rate of the outbound call.

[0093] See also Figure 3 , is a flowchart of a method for calling speech based on artificial intelligence provided in Example 3 of the present application, such as Figure 3 As shown, the speech calling method may include the following steps:

[0094] Step S301, when the user triggers an outbound call, according to the outbound call rules configured by the user, the first speech is selected to interact with the customer, and the current interaction result and the current outbound call round value are generated.

[0095] Step S302, detecting whether the current outbound call round value reaches the target round value, and whether the current interaction result achieves the target transaction.

[0096] Step S303: If it is detected that the current outbound call round value does not reach the target round value, and the current interaction result does not achieve the target transaction, the target intention of the last sentence of the customer in the current interaction is extracted.

[0097] Among them, the contents of steps S301 to S303 are the same as those of the above-mentioned steps S201 to S203, and the description of steps S201 to S203 may be referred to, and will not be repeated here.

[0098] Step S304: If the target intention is to connect to a human agent, the target agent is determined according to the current working status of each agent in the human agent platform.

[0099] The target intention is to connect to a human agent, which means that the customer wants to talk to a human agent. After the intention of "transferring to a human agent" is identified in the conversation and confirmed by the customer, the customer information is transferred to the corresponding service agent operation system in real time according to the binding relationship between the customer information and the customer service, and the conversation content and customer objections are condensed and sent to the customer operation system along the transfer route for message reminder.

[0100] Among them, matching human agents is to find the corresponding staff from human agents according to certain conditions. For example, for the telephone agent platform, the unique identification of the agent and the corresponding list of CTI numbers of the receiving landline are maintained, and the idle receiving agent is found in the order of the list, and the route allocation is realized in combination with the idle time of the service agent, so as to realize the machine-to-human conversion.

[0101] Step S305: connect the target agent to the customer and end the outbound call to the customer.

[0102] Among them, after the machine transfers online, it can mark the "whether to automatically assign work" flag as "yes", call the transfer interface, and connect the connection in the voice tool with the staff's landline number, thereby realizing the connection between the customer and the manual customer.

[0103] When a customer requests to be transferred to a manual operator, it indicates that he or she may have questions or purchasing needs. In this case, there is no need to make outbound calls to this customer. In other words, it is considered that the current outbound call round value has reached the target round value, or the current interaction result has achieved the target transaction.

[0104] In addition, a fallback rule flag is added, and when the call times out or other abnormal situations occur, the transfer to manual service fails. Furthermore, in this application, a reply script can be determined based on the situation of the transfer to manual service failure, and the customer will be informed of the transfer to manual service failure through the reply script.

[0105] For example, an outbound calling platform is provided, on which a user sets the customer information to be contacted and outbound calling rules. The customer information includes the telephone number of customer A and other information that can be used for outbound calling. The outbound calling rules include that the first round of outbound calling uses speech B, the target outbound calling round value is 3, and the target transaction is the appearance of purchase intention. After the user sets the above information, the platform selects speech B to call customer A's telephone number, and interacts with customer A, and generates a current interaction result that the target transaction is not achieved, and determines that the current outbound calling round value is 1. It can be seen that the current interaction result does not achieve the target transaction, and the current outbound calling round value does not exceed 3. Therefore, the last sentence said by customer A in the current interaction is extracted as "Please ask the staff to contact me", which is also the last sentence before hanging up the phone. According to the sentence "Please ask the staff to contact me", it is determined that the intention of customer A to express by hanging up the phone is "need manual service". Therefore, the target agent is determined by connecting with the manual agent platform, and the target agent is connected with the customer to meet the customer's needs.

[0106] In the embodiment of the present application, when a user triggers an outbound call, according to the outbound call rules configured by the user, a first speech is selected to conduct the current interaction with the customer, and the current interaction result and the current outbound call turn value are generated. If it is detected that the current outbound call turn value has not reached the target turn value, and the current interaction result has not achieved the target transaction, the intention of the last sentence of the customer in the current interaction is extracted. When the intention is clearly to transfer to a manual agent, the customer is transferred to a manual agent, thereby improving customer satisfaction and increasing the probability of successful contact.

[0107] Corresponding to the speech calling method in the above embodiment, Figure 4 The structure block diagram of the speech calling device based on artificial intelligence provided in the fifth embodiment of the present application is shown. The speech calling device can be applied to Figure 1 The server in the embodiment of the present invention is connected to a corresponding database by a computer device corresponding to the server to obtain corresponding data. The computer device can also be connected to a client to collect data sent by a client user. For ease of description, only the parts related to the embodiment of the present application are shown.

[0108] See also Figure 4 , the speech calling device comprises:

[0109] The first interaction module 41 is used to select the first speech script to interact with the customer according to the outbound call rule configured by the user when the user triggers an outbound call, and generate the current interaction result and the current outbound call round value;

[0110] The outbound call detection module 42 is used to detect whether the current outbound call round value reaches the target round value, and whether the current interaction result achieves the target transaction;

[0111] The speech determination module 43 is used to extract the target intention of the last sentence of the customer in the current interaction and determine the second speech corresponding to the target intention if it is detected that the current outbound call round value does not reach the target round value and the current interaction result does not achieve the target transaction;

[0112] The second interaction module 44 is used to interact with the customer again using the second speech technique, generate a second interaction result, and increase the current outbound call round value by one;

[0113] The loop execution module 45 is used to take the second interaction as the current interaction and the result of the second interaction as the current interaction result, and return to execute to detect whether the current outbound call round value reaches the target round value, and whether the current interaction result achieves the target transaction, until it is detected that the current outbound call round value reaches the target round value, or the current interaction result achieves the target transaction.

[0114] Optionally, the above-mentioned speech technique determination module 43 includes:

[0115] A category determination unit is used to extract the target intention of the last sentence of the customer in the current interaction and obtain the target category to which the target intention belongs;

[0116] The speech determination unit is used to determine the speech corresponding to the speech number in the speech database as the second speech according to the speech number corresponding to the target category in the outbound call rule.

[0117] Optionally, the category determination unit includes:

[0118] The text conversion subunit is used to obtain the voice data of the current interaction, extract the last sentence in the voice data, and convert the last sentence into the target text;

[0119] The intention determination subunit is used to perform a natural language recognition model on the target text to determine the target intention corresponding to the target text;

[0120] The category determination subunit is used to determine the target category to which the target intent belongs based on the relationship between the existing intents and categories.

[0121] Optionally, the above-mentioned speech technique calling device further includes:

[0122] A quantity detection module is used to obtain the voice data of the current interaction, extract the last sentence in the voice data, convert the last sentence into the target text, and then detect whether the number of characters in the target text is greater than the quantity threshold;

[0123] A text conversion module, for extracting the first N sentences before the last sentence if it is detected that the number of characters in the target text is less than the number threshold, and converting the first N sentences into additional text, where N is an integer greater than zero;

[0124] A text determination module, used for combining the additional text with the target text to obtain the combined target text;

[0125] Accordingly, the above-mentioned intended determination subunit is specifically used for:

[0126] A natural language recognition model is performed on the combined target text to determine the target intent corresponding to the combined target text.

[0127] Optionally, the above-mentioned speech technique calling device further includes:

[0128] The agent determination module is used to extract the target intention of the customer's last sentence in the current interaction. If the target intention is to connect with a human agent, the target agent is determined according to the current working status of each agent in the human agent platform.

[0129] The connection module is used to connect the target agent with the customer and end the outbound call to the customer.

[0130] Optionally, the above-mentioned speech technique calling device further includes:

[0131] The time extraction module is used to extract the target intention of the last sentence of the customer in the current interaction, determine the second speech corresponding to the target intention, and then extract the interval time between two adjacent outbound calls in the outbound call rule;

[0132] Accordingly, the second interaction module 44 includes:

[0133] The second interaction unit is used to start timing from the current time. When the timing reaches the interval time, the second speech is used to interact with the customer again, generate a re-interaction result, and increase the current outbound call round value by one.

[0134] Optionally, the above-mentioned speech technique calling device further includes:

[0135] The time detection module is used to obtain the customer information and outbound call rules input by the user when the user triggers an outbound call, extract the start time of the outbound call in the outbound call rules, and detect whether the current time is the start time;

[0136] Accordingly, the first interaction module 41 includes:

[0137] The first interaction unit is used to select the first speech to interact with the customer when detecting that the current time is the start time, and generate the current interaction result and the current outbound call round value.

[0138] It should be noted that the information interaction, execution process and other contents between the above-mentioned modules are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0139] Figure 5 This is a schematic diagram of the structure of a computer device provided in Example 6 of the present application. Figure 5 As shown, the computer device of this embodiment includes: at least one processor ( Figure 5 Only one is shown), a memory, and a computer program stored in the memory and executable on at least one processor, and when the processor executes the computer program, the steps in any of the above-mentioned speech call method embodiments are implemented.

[0140] The computer device may include, but is not limited to, a processor and a memory. Those skilled in the art will appreciate that Figure 5 This is merely an example of a computer device and does not constitute a limitation on the computer device. The computer device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. For example, it may also include a network interface, a display screen, and an input device.

[0141] The processor may be a CPU, or other general-purpose processors, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0142] The memory includes a readable storage medium, an internal memory, etc., wherein the internal memory may be the memory of a computer device, and the internal memory provides an environment for the operation of an operating system and computer-readable instructions in the readable storage medium. The readable storage medium may be a hard disk of a computer device, and in other embodiments may also be an external storage device of a computer device, for example, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on a computer device. Further, the memory may also include both an internal storage unit of a computer device and an external storage device. The memory is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as program codes of computer programs, etc. The memory may also be used to temporarily store data that has been output or is to be output.

[0143] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned device can refer to the corresponding process in the above-mentioned method embodiment, which will not be repeated here. If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned method embodiment when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device capable of carrying computer program code, recording medium, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.

[0144] The present application implements all or part of the processes in the above-mentioned embodiment method, and may also be completed through a computer program product. When the computer program product runs on a computer device, the computer device can implement the steps in the above-mentioned method embodiment when executing the computer program product.

[0145] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0146] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0147] In the embodiments provided in the present application, it should be understood that the disclosed devices / computer equipment and methods can be implemented in other ways. For example, the device / computer equipment embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0148] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0149] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A speech calling method based on artificial intelligence, characterized in that: include: When the user triggers an outbound call, according to the outbound call rules configured by the user, the first speech is selected to interact with the customer, and the current interaction result and the current outbound call round value are generated; Detecting whether the current outbound call round value reaches the target round value, and whether the current interaction result achieves the target transaction; If it is detected that the current outbound call round value does not reach the target round value, and the current interaction result does not achieve the target transaction, then extract the target intention of the last sentence of the customer in the current interaction, and determine the second speech technique corresponding to the target intention; Use the second speech technique to interact with the customer again, generate a second interaction result, and increase the current outbound call round value by one; Taking the second interaction as the current interaction and the result of the second interaction as the current interaction result, returning to execute detection of whether the current outbound call round value reaches the target round value, and whether the current interaction result achieves the target transaction, until it is detected that the current outbound call round value reaches the target round value, or the current interaction result achieves the target transaction; The extracting the target intention of the last sentence of the customer in the current interaction and determining the second speech technique corresponding to the target intention comprises: Extracting the target intent of the last sentence of the customer in the current interaction, and obtaining the target category to which the target intent belongs; According to the speech number corresponding to the target category in the outbound call rule, determining that the speech corresponding to the speech number in the speech database is the second speech; extracting the target intent of the last sentence of the customer in the current interaction to obtain the target category to which the target intent belongs includes: Acquire the voice data of the current interaction, extract the last sentence in the voice data, and convert the last sentence into target text; Perform a natural language recognition model on the target text to determine the target intent corresponding to the target text; According to the relationship between the existing intention and the category, the target category to which the target intention belongs is determined; after acquiring the voice data of the current interaction, extracting the last sentence in the voice data, and converting the last sentence into the target text, the method further includes: Detecting whether the number of characters in the target text is greater than a number threshold; If it is detected that the number of characters in the target text is less than the number threshold, extract the first N sentences before the last sentence, and convert the first N sentences into additional characters, where N is an integer greater than zero; Combining the additional text with the target text to obtain a combined target text; Accordingly, the performing of a natural language recognition model on the target text to determine the target intent corresponding to the target text includes: A natural language recognition model is performed on the combined target text to determine the target intent corresponding to the combined target text.

2. The speech calling method according to claim 1 is characterized in that: After extracting the target intention of the last sentence of the customer in the current interaction, the method further includes: If the target intention is to connect with a human agent, the target agent is determined according to the current working status of each agent in the human agent platform; The target agent is connected to the customer and the outbound call to the customer is terminated.

3. The speech calling method according to claim 1 is characterized in that: After extracting the target intention of the last sentence of the customer in the current interaction and determining the second speech technique corresponding to the target intention, the method further includes: Extracting the interval time between two adjacent outbound calls in the outbound call rule; Accordingly, the using the second speech technique to interact with the customer again, generating a second interaction result, and increasing the current outbound call round value by one comprises: The timing starts from the current time, and when the timing reaches the interval time, the second speech is used to interact with the customer again, a re-interaction result is generated, and the current outbound call round value is increased by one.

4. The speech calling method according to any one of claims 1 to 3, characterized in that: After obtaining the outbound call rule configured by the user when the user triggers an outbound call, the method further includes: Extracting the start time of the outbound call in the outbound call rule, and detecting whether the current time is the start time; Accordingly, the selecting of the first speech technique to perform current interaction with the customer and generating the current interaction result and the current outbound call round value includes: When it is detected that the current time is the start time, the first speech is selected to perform the current interaction with the customer, and the current interaction result and the current outbound call round value are generated.

5. A speech calling device based on artificial intelligence, characterized in that: The speech calling device comprises: The first interaction module is used to select the first speech script to interact with the customer when the user triggers an outbound call according to the outbound call rule configured by the user, and generate the current interaction result and the current outbound call round value; An outbound call detection module, used to detect whether the current outbound call round value reaches the target round value, and whether the current interaction result achieves the target transaction; A speech technique determination module is used to extract the target intention of the last sentence of the customer in the current interaction and determine a second speech technique corresponding to the target intention if it is detected that the current outbound call round value does not reach the target round value and the current interaction result does not achieve the target transaction; A second interaction module, configured to use the second speech technique to interact with the customer again, generate a second interaction result, and increase the current outbound call round value by one; a loop execution module, used for taking the second interaction as the current interaction and the result of the second interaction as the current interaction result, returning to execute detection of whether the current outbound call round value reaches the target round value, and whether the current interaction result achieves the target transaction, until it is detected that the current outbound call round value reaches the target round value, or the current interaction result achieves the target transaction; The speech determination module includes: A category determination unit, configured to extract the target intent of the last sentence of the customer in the current interaction, and obtain a target category to which the target intent belongs; A speech determination unit, configured to determine, according to the speech number corresponding to the target category in the outbound call rule, the speech corresponding to the speech number in the speech database as the second speech; The category determination unit comprises: A text conversion subunit, used to obtain the voice data of the current interaction, extract the last sentence in the voice data, and convert the last sentence into a target text; An intention determination subunit, used to perform a natural language recognition model on the target text to determine a target intention corresponding to the target text; A category determination subunit, used to determine the target category to which the target intent belongs based on the relationship between the existing intent and the category; The speech technique calling device also includes: A quantity detection module, configured to detect whether the number of characters in the target text is greater than a quantity threshold after acquiring the voice data of the current interaction, extracting the last sentence in the voice data, and converting the last sentence into target text; A text conversion module, configured to extract the first N sentences before the last sentence if it is detected that the number of characters in the target text is less than a number threshold, and convert the first N sentences into additional characters, where N is an integer greater than zero; A character determination module, used for combining the additional character with the target character to obtain a combined target character; Accordingly, the intention determination subunit is specifically used for: A natural language recognition model is performed on the combined target text to determine the target intent corresponding to the combined target text.

6. A computer device, characterized in that: The computer device includes a processor, a memory, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the speech calling method as described in any one of claims 1 to 4 is implemented.

7. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the speech calling method as described in any one of claims 1 to 4 is implemented.