Outbound voice output method, device and equipment

By obtaining fixed and variable speech clauses, pre-generating voice files and splicing them together, the problem of slow speaking speed in the intelligent outbound call system is solved, rapid output and flexible adaptation to different outbound call scenarios are achieved, and the user experience is improved.

CN112735372BActive Publication Date: 2024-09-27ZHUJIAN INTELLIGENT TECHNOLOGY (SHANGHAI) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011608326.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-29
Publication Date
2024-09-27
Estimated Expiration
2040-12-29

AI Technical Summary

Technical Problem

Existing technologies such as TTS voice caching and segment synthesis methods cannot effectively solve the problem of slow outgoing calls in the intelligent outbound call system, resulting in poor user experience.

Method used

By obtaining the fixed utterance clauses and variable utterance clauses in the outbound call sentence, a voice file is generated in advance, the content of the variable utterance slot is determined based on the variable information of the outbound call task, and the text-to-speech service is called to generate the corresponding speech files and spliced ​​into pre-generated voice files to achieve rapid output.

Benefits of technology

It improves the call speed, is flexible in applicable scenarios, avoids lagging in voice broadcasts, covers more than 95% of content in actual outbound call scenarios, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112735372B
    Figure CN112735372B
Patent Text Reader

Abstract

The present application provides an outbound voice output method, device and equipment. The solution can flexibly adapt to the variables in different outbound call tasks, such as different call objects, addresses, etc., through the content of the variable speech slot in the variable speech clause. The pre-generated voice file can cover most of the content of the outbound call sentence in the actual outbound call scenario. Therefore, the voice file of most of the content in the outbound call sentence can be pre-generated, and it can be directly retrieved and output when needed, which effectively improves the speed of speaking, and is flexible in applicable scenarios, and can avoid the situation of voice broadcast jamming.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of information technology, and in particular to an outbound voice output method, device and equipment. Background Art

[0002] With the development of artificial intelligence algorithms, intelligent outbound call systems are also being adopted by more and more call centers. However, the current intelligent outbound call system still faces a series of problems, such as inaccurate voice recognition and slow speech speed during human-computer dialogue. Among them, the problem of slow speech speed during dialogue brings a very bad user experience. Major manufacturers of intelligent outbound call systems use different methods to solve this problem: for example, adding voice cache to the TTS (Text To Speech) service, for completely identical text content, directly using cache instead of real-time generation; when generating voice files in real time, adopting a segmented generation scheme, after segmenting the outbound call sentences according to punctuation marks, calling the TTS service to generate the voice file of the first clause for playback, and then calling the TTS service to generate the voice file of the subsequent clauses while playing, and playing them in sequence.

[0003] The above methods can solve some problems, but they still have their own shortcomings. For example, although the solution of using TTS voice caching can solve the problem of the speaking speed of some sentences, the actual intelligent outbound call system generally needs to set different outbound call sentences for different callers when making calls. It is difficult to exhaust all possible outbound call sentences that may be output in all situations when caching. Therefore, in actual scenarios, the application scenarios of TTS voice caching technology are not flexible enough and it is difficult to solve the above problems.

[0004] If speech segmentation synthesis technology is used, the speaking speed can indeed be increased. However, because the outgoing calls are divided by punctuation marks, the speaking speed is completely dependent on the position of the punctuation marks, which can easily lead to some clauses being too long. If the text content of the first clause is very long, the speaking speed will still be slow. If the text content of the middle clause is very long, the speech of the previous clause has been played, but the speech of the next clause has not yet been generated, which gives the answering user the feeling that the voice broadcast is stuck.

[0005] It can be seen from this that the solution currently used in the intelligent outbound calling system cannot effectively solve the problem of slow calling speed. Summary of the invention

[0006] One purpose of the present application is to provide an outbound voice output solution to solve the problem of slow voice output speed of the outbound call system.

[0007] To achieve the above object, the present application provides an outbound voice output method, the method comprising:

[0008] Obtaining a fixed speech clause and a variable speech clause in an outbound call speech sentence, and calling a text-to-speech service to generate a first voice file of the fixed speech clause, wherein the variable speech clause includes a variable speech slot;

[0009] Determine the content of the variable speech slot in the variable speech clause according to the variable information of the outbound call task, and call the text-to-speech service to generate a second voice file of the variable speech clause;

[0010] Obtaining a pre-generated voice file corresponding to the outgoing call sentence by splicing the first voice file and / or the second voice file;

[0011] The pre-generated voice file is retrieved and outputted according to the target outbound call speech sentence corresponding to the outbound call task.

[0012] The present application also provides an outbound voice output device, which includes:

[0013] A speech acquisition module, used for acquiring fixed speech clauses and variable speech clauses in an outbound speech sentence, wherein the variable speech clauses include variable speech slots;

[0014] A speech pre-generation module, used to call the text-to-speech service to generate a first speech file of the fixed speech clause, determine the content of the variable speech slot in the variable speech clause according to the variable information of the outbound call task, and call the text-to-speech service to generate a second speech file of the variable speech clause;

[0015] A voice splicing module, used for splicing the first voice file and / or the second voice file to obtain a pre-generated voice file corresponding to the outgoing call sentence;

[0016] The voice output module is used to retrieve and output the pre-generated voice file according to the target outbound call speech sentence corresponding to the outbound call task.

[0017] The present application also provides an outbound voice output device, which includes a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the device executes the outbound voice output method.

[0018] In addition, an embodiment of the present application further provides a computer-readable medium on which computer-readable instructions are stored. The computer-readable instructions can be executed by a processor to implement the outbound voice output method.

[0019] Compared with the prior art, in the outbound voice output solution provided by the present application, the fixed speech clause and the variable speech clause in the outbound call speech sentence can be obtained, and the text-to-speech service is called to generate the first voice file of the fixed speech clause, and then before executing the outbound call task in the outbound call scenario, the content of the variable speech slot in the variable speech clause is determined according to the variable information of the outbound call task, and the text-to-speech service is called to generate the second voice file of the variable speech clause, and the pre-generated voice file corresponding to the outbound call speech sentence is obtained by splicing the first voice file and / or the second voice file. Since the variables in different outbound call tasks can be flexibly adapted to different call objects, addresses, etc. through the content of the variable speech slot in the variable speech clause, the pre-generated voice file can cover most of the content of the outbound call speech sentence in the actual outbound call scenario, generally reaching more than 95%, and even reaching 100% in some outbound call scenarios. Therefore, voice files containing most of the content in outbound calls can be pre-generated and directly retrieved for output when needed, which effectively improves the speed of speaking and is flexible in applicable scenarios, avoiding the situation where voice broadcasting is stuck. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:

[0021] Figure 1 This is a processing flow chart of an outbound voice output method in an embodiment of the present application;

[0022] Figure 2 A schematic diagram of the structure of an outbound call system that uses the solution provided in an embodiment of the present application to implement outbound call voice output;

[0023] Figure 3 This is an interactive flow chart of an outbound call system in an embodiment of the present application when implementing fast call placement;

[0024] The same or similar reference numerals in the drawings represent the same or similar components. DETAILED DESCRIPTION

[0025] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0026] In a typical configuration of the present application, the terminal and the equipment of the service network each include one or more processors (CPU), input / output interface, network interface and memory.

[0027] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0028] Computer readable media include permanent and non-permanent, removable and non-removable media, and can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, modules of programs or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device.

[0029] The present application provides an outbound voice output method, which can flexibly adapt to the variables in different outbound call tasks, such as different call objects, addresses, etc., through the content of the variable speech slot in the variable speech clause, and the pre-generated voice file can cover most of the content of the outbound call speech sentence in the actual outbound call scenario. Therefore, the voice file of most of the content in the outbound call speech sentence can be pre-generated, and it can be directly retrieved and output when needed, which effectively improves the speech speed, and is flexible in applicable scenarios, and can avoid the situation of voice broadcast jamming.

[0030] In actual scenarios, the execution subject of the method can be a user device, a network device, or a device formed by integrating a user device and a network device through a network, or it can also be an application running on the above device. The user device includes but is not limited to various terminal devices such as computers, mobile phones, and tablet computers; the network device includes but is not limited to network hosts, single network servers, multiple network server sets, or cloud computing-based computer sets. Here, the cloud is composed of a large number of hosts or network servers based on cloud computing (Cloud Computing), where cloud computing is a type of distributed computing, a virtual computer composed of a group of loosely coupled computer sets.

[0031] Figure 1The processing flow of an outbound voice output method in an embodiment of the present application is shown, and the method at least includes the following processing steps:

[0032] Step S101: obtaining a fixed speech clause and a variable speech clause in an outbound call sentence, and calling a text-to-speech service to generate a first voice file of the fixed speech clause.

[0033] The outbound call speech sentences may correspond to outbound call scenarios, which refer to specific application scenarios of outbound calls. Different outbound call scenarios may be set according to different purposes of outbound calls, such as return calls, notifications, and collections. For a specific outbound call scenario, most of the outbound call content under the outbound call scenario may be preset, so the outbound call speech sentences under the outbound call scenario may be pre-determined according to the outbound call scenario. Taking the outbound call scenario of return calls as an example, 10 sentences that may be used in multiple rounds of conversations with the user may be pre-set as the outbound call speech sentences corresponding to the outbound call scenario. In the actual voice conversation process with the user, the required sentence may be selected from the 10 outbound call speech sentences as needed to complete the voice conversation with the user.

[0034] Each outbound speech sentence can be divided into at least one clause, and the division can be achieved according to the division mark, wherein the division mark can adopt the specific content of the outbound speech sentence itself, and can be an additional mark added to the sentence when configuring the outbound speech sentence. For example, some punctuation marks such as ",",".",";" in the outbound speech sentence can be used as punctuation marks for dividing clauses. For example, when configuring the outbound speech sentence, an additional mark can be added to a specific position in the outbound speech sentence according to the need of division as a division mark. In addition, the two methods can also be combined, and the specific content of the outbound speech sentence itself and the added additional mark can be used as the first division mark and the second division mark respectively, and used as the division clauses at the same time.

[0035] The clauses in an outbound call speech sentence can include at least two types, namely fixed speech clauses and variable speech clauses. Among them, the fixed speech clause is a fixed sentence content that does not contain any variable part and will not change due to the variable information in the call task. Taking an outbound call speech sentence "Hello, Mr. XX, welcome to call" as an example, punctuation marks can be used as dividing marks to divide it into three clauses, namely "Hello", "Mr. XX", and "Welcome to call". Among them, the clauses "Hello" and "Welcome to call" are fixed speech clauses. Even if the two call tasks are to return visits to Customer A and Customer B respectively, the content of these two clauses will not change. For fixed speech clauses, the TTS service can be directly called after acquisition to generate the first voice file of the fixed speech clause.

[0036] The variable speech clause refers to the sentence content that includes the variable speech slot, where the specific content in the variable speech slot is related to the specific call task in the call scenario and is determined by the variable information in the actual call task. For example, the "XX" in the aforementioned clause "Mr. XX" corresponds to a variable speech slot, and its specific content is determined by the variable information of the call object in the call task. If the call task is to return the call to customer A, the clause is "Mr. A", and if the call task is to return the call to customer B, the clause is "Mr. B".

[0037] S102, determining the content of the variable speech slot in the variable speech clause according to the variable information of the outbound call task, and calling the text-to-speech service to generate a second voice file for the variable speech clause.

[0038] Since the content of the variable speech slot in the variable speech clause is related to the specific variable information of each call task, it is not possible to directly call the TTS service to generate the corresponding second voice file after obtaining the variable speech clause. In actual scenarios, there will be a certain time difference from the start of the call task to the execution of the call task, and at this time the variable information in the call task has been determined. Therefore, before executing the outbound call task in the outbound call scenario, the content of the variable speech slot in the variable speech clause can be determined according to the variable information of the outbound call task, and the TTS service can be called to generate the second voice file of the variable speech clause.

[0039] Taking the above scenario as an example, when the customer service staff needs to revisit customer A, they will start the call task by searching or entering the customer's information through the interactive interface of the outbound call system. After the call dispatch center of the outbound call system receives the command to start the call task, it can be determined that the call object is customer A. Therefore, before the call is made, other functional modules in other outbound call systems will be triggered to call the TTS service to generate a second voice file of the variable speech clause "Mr. A", thereby realizing the pre-generation of the voice file of the variable speech clause before the actual call is made.

[0040] Step S103, obtain a pre-generated voice file corresponding to the outgoing call speech sentence according to the splicing of the first voice file and / or the second voice file. In actual scenarios, a specific outgoing call speech sentence may include only one type of clause, or may include multiple types of clauses. For example, the outgoing call speech sentence "Thank you for answering the call, goodbye" includes two fixed speech clauses, while the outgoing call speech sentence "Hello, Mr. XX, welcome to call" mentioned above includes both fixed speech clauses and variable speech clauses. Therefore, when splicing the pre-generated voice files, according to the needs of the actual scenario, select the first voice file and / or the second voice file to splice to obtain the corresponding outgoing call speech sentence.

[0041] Step S104, retrieve and output the pre-generated voice file according to the target outbound speech sentence corresponding to the outbound call task. The process of executing an outbound call task is the process of having a voice conversation with the call object during an actual call. At this time, it is necessary to output the pre-generated voice file corresponding to the outbound speech sentence to the call object. Since the pre-acquired outbound speech sentences may be all the outbound speech sentences that may be used, and only a part of them may be used when executing a certain outbound call task, for example, 4 sentences will be selected from the 10 candidate outbound speech sentences obtained to complete 4 rounds of conversations with the user. Among them, the target outbound speech sentence is the outbound speech sentence that needs to be used in this outbound call task. When it needs to be output, the pre-generated voice file can be directly retrieved for output.

[0042] Therefore, the variable content of the variable speech slot in the variable speech clause can be flexibly adapted to the variables in different outbound call tasks, such as different call objects, addresses, etc. The pre-generated voice file can cover most of the content of the outbound call sentences in the actual outbound call scenario. Therefore, the voice file of most of the content in the outbound call sentence can be pre-generated, and when needed (such as when executing an outbound call task), it can be directly retrieved and output, which effectively improves the speed of speaking, and is flexible in applicable scenarios, and can avoid the situation of voice broadcast jamming.

[0043] In actual scenarios, in addition to the variable content in the clause and the variable speech slot, there can also be a real-time speech slot. The content in the real-time speech slot cannot be predicted before the outbound call task is executed, but needs to be obtained in real time during the voice conversation with the call object. For example, the content said by the call object is: "Sorry, it's not convenient now, please call me again in one hour", and the outbound call statement that needs to be replied at this time is: "Okay, I will call you again in an hour". Among them, "one hour" corresponds to a real-time speech slot, and the real-time information about the redial time of "one hour" cannot be predicted before the outbound call task is executed. Therefore, it is impossible to pre-generate the voice file corresponding to the sentence containing the content in advance, but it can be generated and output in real time as needed.

[0044] Therefore, some embodiments of the present application can first divide the outbound speech sentence into multiple clauses according to the division identifier when obtaining the fixed speech clauses and variable speech clauses in the outbound speech sentence, and then detect the variable speech slots and real-time speech slots in the clauses. If the clause does not contain the variable speech slots and the real-time speech slots, the clause is determined to be a fixed speech clause. If the clause contains the variable speech slots but does not contain the real-time speech slots, the clause is determined to be a variable speech clause, thereby obtaining the fixed speech clauses and variable speech clauses in the outbound speech sentence.

[0045] In addition, if the clause contains a real-time speech slot, the clause is determined as a real-time speech clause. For a real-time speech clause, the content of the real-time speech slot in the real-time speech clause can be determined according to the real-time information obtained during the execution of the outbound call task, and a text-to-speech service is called in real time to generate a third voice file of the variable speech clause, and the third voice file is output.

[0046] For example, for the outbound call sentence "Hello, Mr. $global{meta_name}, I will call you again at ${meta_redial time}", $global{meta_name} is the variable speech slot, and ${meta_redial time} is the real-time speech slot. After using punctuation marks as division marks to divide it into three clauses, it can be determined that "Hello" is a fixed speech clause, "Mr. $global{meta_name}" is a variable speech clause, and "I will call you again at ${meta_redial time}" is a real-time speech clause.

[0047] For the fixed speech sentence "Hello", the TTS service can be directly called to generate the corresponding first voice file vc-1. For the variable speech clause "Mr. $global{meta_name}", after determining the variable information and before executing the call task, the TTS service can be called to generate the corresponding second voice file vc-2, and the two can be spliced ​​as the pre-generated voice file vc-12 of the outbound call speech sentence as needed. For the real-time speech clause "I will call you again after ${meta_redial time}", it is necessary to obtain real-time information according to the conversation content of the call object during the execution of the call task to determine the specific content of the real-time speech slot ${meta_redial time}. For example, during this call, it is determined that the redial time is one hour. Then, after determining the content of the real-time speech slot, the TTS service can be called in real time to generate the third voice file vc-3 of the variable speech clause, and it can be output when needed.

[0048] In actual scenarios, it can be agreed in advance that the outbound call speech sentence containing the variable speech slot can be called and output in multiple times. For example, in this embodiment, the pre-generated voice file vc-12 of the first half of the content can be called and played, and then the third voice file vc-3 generated after the real-time information is determined can be called and played again, so as to realize the rapid voice output of the sentence "Hello, Mr. XX, I will call you again in one hour".

[0049] In other embodiments of the present application, when obtaining the fixed speech clauses and the variable speech clauses in the outbound speech sentence, the outbound speech sentence can also be divided according to the first division identifier to obtain a first sentence containing a real-time speech slot and a second sentence not containing a real-time speech slot, and then the second sentence is divided into multiple clauses according to the second division identifier. If the clause does not contain a variable speech slot, the clause is determined to be a fixed speech clause. If the clause contains a variable speech slot, the clause is determined to be a variable speech clause.

[0050] Among them, the first division identifier can be a division identifier added additionally when the outbound call sentence corresponding to the outbound call scenario is configured as an outbound call sentence containing a real-time speech slot. For example, in the actual scenario, "[[]]" can be used as the first division identifier, and the second division identifier can be a punctuation mark in the sentence. Therefore, taking the aforementioned outbound call sentence "Hello, Mr. $global{meta_name}, I will call you again at ${meta_redial time}" as an example, it can be stored as "Hello, Mr. $global{meta_name}, [[]] I will call you again at ${meta_redial time}" during configuration, and during the processing, it can be first divided into two sentences: "Hello, Mr. $global{meta_name}" and "I will call you again at ${meta_redial time}".

[0051] During the processing, the second sentence "Hello, Mr. $global{meta_name}" is divided into two clauses "Hello" and "Mr. $global{meta_name}" according to the "," therein, which are fixed speech clauses and variable speech clauses respectively. Then, the aforementioned processing method can be used to call the TTS service in advance to generate the corresponding voice files vc-1 and vc-2, and splice them to obtain the pre-generated voice file vc-12. As for the first sentence, since it is impossible to directly generate the corresponding voice file in advance, when executing the outbound call task, according to the real-time information obtained during the execution of the outbound call task, the content of the real-time speech slot in the first sentence can be determined, and the text-to-speech service can be called in real time to generate the fourth voice file vc-4 of the first sentence, and the fourth voice file can be output. In actual scenarios, the aforementioned method can also be used to retrieve and output relevant voice files in multiple times to achieve fast voice output of the sentence "Hello, Mr. XX, I will call you again in one hour."

[0052] In addition, in some embodiments of the present application, after obtaining the pre-generated voice file corresponding to the outgoing call sentence by splicing the first voice file and / or the second voice file, the tag information of the corresponding pre-generated voice file can also be determined according to the outgoing call sentence, and the tag information is added to the pre-generated voice file, and then saved in the database. The tag information is any information that can be used to identify and search for the pre-generated voice file, for example, the summary information obtained by performing a hash calculation on the outgoing call sentence using an MD5 (message-digest algorithm 5, fifth edition of the information digest algorithm) value, etc. When the pre-generated voice file needs to be saved in the database, the MD5 algorithm can be used to perform a hash calculation on the text of the outgoing call sentence to obtain an MD5 value, and then the MD5 value can be used to name the corresponding pre-generated voice file and save it in the database.

[0053] In addition, in some other embodiments of the present application, the tag information can also be combined with the generation parameter information of the pre-generated voice file. Among them, the generation parameter information can be the TTS parameters when calling the TTS service to generate the voice file, such as the sound type, speech speed, volume, etc. The TTS parameters can be provided by the user before calling the TTS service according to the needs of the outbound call scenario. In the actual scenario, the user can select the TTS parameters in the interactive interface so that the TTS service can use these TTS parameters to synthesize the sound, thereby generating the required voice file. Therefore, when it is necessary to save the pre-generated voice file in the database, the MD5 algorithm can be used to perform a hash calculation on the text of the outbound call sentence to obtain the MD5 value, and then obtain the TTS parameters used by the TTS service in generating the first voice file and / or the second voice file corresponding to the pre-generated voice file, and use the MD5 value + TTS parameter to name the corresponding pre-generated voice file, and then save it in the database.

[0054] Accordingly, when it is necessary to output a pre-generated voice file (such as executing an outbound call task), the target tag information can be used as a search condition to search for the corresponding pre-generated voice file in the database, wherein the target tag information is the tag information determined according to the target outbound call speech sentence corresponding to this outbound call task. If a pre-generated voice file that meets the search condition is found, the pre-generated voice file is output. If a pre-generated voice file that meets the search condition is not found, it means that the target outbound call speech sentence corresponding to the search condition contains a real-time speech slot and cannot be generated in advance. Therefore, the TTS service can be called in real time to generate a fifth voice file of the target outbound call speech sentence, and the fifth voice file is output.

[0055] Figure 2The structure of an outbound call system for implementing outbound call voice output by using the solution provided by the embodiment of the present application is shown, and the outbound call system includes a call dispatch center 210, a multi-round task engine 220, a TTS pre-recording service 230, a TTS service 240, a minio database 250, an mrcp service 260, and a soft switch service 270. The outbound call system is used to implement a voice call between a robot 280 and a call object 290, wherein the call dispatch center 210 is used to trigger the pre-generation of a voice file before the call, the multi-round task engine is used to store the outbound call sentences required in a specific application scenario, the TTS pre-generation service 230 is used to call the TTS service to pre-generate a voice file, the TTS service 240 is used to synthesize a voice file according to the text of the outbound call sentence, the minio database 250 is used to store the generated voice file, the mrcp service 260 is used to call the generated voice file during the call for use by the soft switch service, and the soft switch service 270 is used to manage the call connection between the robot 280 and the call object 290.

[0056] The outbound call system can use the following methods to achieve fast outbound calls: Figure 3 The interaction flow shown includes several steps:

[0057] 1. Multi-round scenario configuration

[0058] Before performing an outbound call task, you need to write the multi-round dialogue information of the outbound call scenario in advance. The multi-round dialogue information is used to control the robot's outbound call sentences. In the multi-round dialogue information, customers can configure the robot's outbound call sentences according to the outbound call scenario. These outbound call sentences can include fixed speech sentences, variable speech sentences, and real-time speech sentences. After the multi-round scripting of the scenario is completed, the pre-generated fixed speech sentences can be determined, while the variable speech sentences need to be determined in the call task startup phase in conjunction with the variable information in the call task.

[0059] The process of implementing multiple rounds of task scenario writing can include the following processing steps:

[0060] Step S301: The user inputs the outbound call sentences required for the outbound call scenario through the user interface provided by the outbound call system to configure multiple rounds of scenarios.

[0061] Step S302: The multi-round dialogue information is stored in the multi-round task engine as an outbound call speech sentence corresponding to the outbound call scenario.

[0062] 2. Pre-generation of fixed scripts

[0063] After the multi-round scenario is configured, the user needs to configure relevant parameters, including TTS parameters. The TTS parameters can specifically include the sound type, speech speed, volume, etc. when generating speech. After determining the TTS parameters, the TTS pre-generation service can obtain the fixed speech pre-generation request, and then pull all the outbound call sentences in the outbound call scenario from the multi-round task engine. The TTS pre-generation service obtains the fixed speech sentences according to the rules, calls the TTS service to synthesize the voice files of the fixed speech sentences, and stores them in the minIO database.

[0064] The following processing steps may be included in the process of implementing fixed script pre-generation:

[0065] Step S303: The TTS pre-generation service obtains a fixed-speech pre-generation request;

[0066] Step S304, the TTS pre-generation service obtains fixed-language sentences from the multi-round task engine;

[0067] Step S305: The TTS pre-generation service calls the TTS service to synthesize the text of the fixed-speech sentence into a voice file.

[0068] Step S306: storing the voice files corresponding to the fixed-language sentences in the miniO database.

[0069] 3. Pre-generation and splicing of variable speech

[0070] The user starts an outbound call task from the user interface of the outbound call system. After the call dispatch center service receives the task start command, it sends a variable speech pre-generation request to the TTS pre-generation service. The TTS pre-generation service obtains variable speech sentences containing variable speech slots according to the rules, and fills these variable speech slots with the variable information corresponding to the outbound call task to form the actual sentence content required for this call. Then call the TTS service to generate a voice file for the variable speech sentence. If the variable speech sentence is a clause segmented by punctuation marks, the TTS pre-generation service will combine its voice file with other clauses, such as fixed speech sentences or other variable speech sentences, and splice them into a longer sentence voice file and store it in the minio database for retrieval during the actual call.

[0071] The following processing steps may be included in the process of implementing variable speech pre-generation and splicing:

[0072] Step S307: The user starts the outbound call task through the user interface provided by the outbound call system.

[0073] Step S308: calling the dispatch center to receive the task start command.

[0074] Step S309: The TTS pre-generation service obtains a variable script pre-generation request from the call scheduling center.

[0075] Step S310: The TTS pre-generation service obtains variable discourse sentences from the multi-round task engine.

[0076] Step S311 : the TTS pre-generation service calls the TTS service according to the variable information of the outbound call task to synthesize the text of the variable speech sentence into a voice file.

[0077] Step S312, concatenating the voice files.

[0078] Step S313, storing the spliced ​​voice files in the miniO database.

[0079] 4. Voice file retrieval and call

[0080] After the call is made, the mrcp service is responsible for sending the required audio stream to the soft switch service. After receiving the text of the robot's outbound call, the mrcp service will calculate the md5 value of the text of this outbound call, and then use the md5 value as the search condition to search in the minIO database to determine whether there is a voice file corresponding to the text. If it exists, the voice file of this outbound call is directly retrieved and sent to the soft switch for output. If the voice file corresponding to the md5 value does not exist, it means that the real-time speech sentence of this call needs to be generated by the mrcp service in real time by the TTS service and then sent to the soft switch for output.

[0081] The following processing steps may be included in the process of implementing variable speech pre-generation and splicing:

[0082] Step S314, the mrcp service calculates the md5 value of the outgoing call statement and searches for it in the miniO database.

[0083] Step S315: If the corresponding voice file is found, it is retrieved and sent to the soft switch for output.

[0084] Step S316: If the corresponding voice file is not found, the TTS service is called in real time to generate the corresponding voice file, and then the file is sent to the soft switch for output.

[0085] It can be seen that after using the voice output solution provided in the embodiment of the present application, the time waiting for the robot to speak in the outbound call system can be greatly shortened. Since most of the outbound call sentences in the outbound call scenario have been generated in advance, the time for preparing the voice file can be compressed to within 1ms. Directly calling TTS to generate voice files in real time generally requires about 2s of voice file preparation time, and the waiting time is proportional to the length of the outbound call sentence. When the sentence length is long, the waiting time may even exceed 5s, resulting in a very poor customer experience.

[0086] In addition, the usage rate of TTS service can be greatly saved. For an outbound call scenario, most of the fixed-speech sentences have been generated in advance and only need to be generated once. Therefore, when there are large-scale concurrent calls, these fixed-speech sentences no longer need to call TTS service. Fewer TTS service calls can save the computing cost of the outbound call system.

[0087] In addition, since most voice files have been stored in the system database before the call task is executed, the outbound call system has a stable speaking speed and is not prone to the phenomenon of sometimes slow and sometimes fast speaking.

[0088] Based on the same inventive concept, an outbound voice output device is also provided in an embodiment of the present application. The method corresponding to the device is the outbound voice output method in the aforementioned embodiment, and its principle of solving the problem is similar to that of the method.

[0089] The outbound voice output device provided in the embodiment of the present application may include a speech acquisition module, a speech pre-generation module, a speech splicing module and a speech output module. Among them, the speech acquisition module is used to obtain fixed speech clauses and variable speech clauses in the outbound speech sentence, and the variable speech clause includes a variable speech slot. The speech pre-generation module is used to call the text-to-speech service to generate a first voice file of the fixed speech clause, and determine the content of the variable speech slot in the variable speech clause according to the variable information of the outbound call task, and call the text-to-speech service to generate a second voice file of the variable speech clause. The speech splicing module is used to obtain a pre-generated voice file corresponding to the outbound speech sentence according to the splicing of the first voice file and / or the second voice file. The speech output module is used to retrieve and output the pre-generated voice file according to the target speech sentence corresponding to the outbound call task.

[0090] The outbound call speech sentences may correspond to outbound call scenarios, which refer to specific application scenarios of outbound calls. Different outbound call scenarios may be set according to different purposes of outbound calls, such as return calls, notifications, and collections. For a specific outbound call scenario, most of the outbound call content under the outbound call scenario may be preset, so the outbound call speech sentences under the outbound call scenario may be pre-determined according to the outbound call scenario. Taking the outbound call scenario of return calls as an example, 10 sentences that may be used in multiple rounds of conversations with the user may be pre-set as the outbound call speech sentences corresponding to the outbound call scenario. In the actual voice conversation process with the user, the required sentence may be selected from the 10 outbound call speech sentences as needed to complete the voice conversation with the user.

[0091] Each outbound speech sentence can be divided into at least one clause, and the speech acquisition module can implement the division according to the division mark, wherein the division mark can adopt the specific content of the outbound speech sentence itself, and can be an additional mark added to the sentence when configuring the outbound speech sentence. For example, some punctuation marks such as ",",".",";" in the outbound speech sentence can be used as punctuation marks for dividing clauses. For example, when configuring the outbound speech sentence, an additional mark can be added to a specific position in the outbound speech sentence as a division mark according to the need of division. In addition, the speech acquisition module can also combine the two methods, and use the specific content of the outbound speech sentence itself and the added additional mark as the first division mark and the second division mark respectively, and use them as division clauses at the same time.

[0092] The clauses in an outbound call speech sentence can include at least two types, namely fixed speech clauses and variable speech clauses. Among them, the fixed speech clause is a fixed sentence content that does not contain any variable part and will not change due to the variable information in the call task. Taking an outbound call speech sentence "Hello, Mr. XX, welcome to call" as an example, punctuation marks can be used as dividing marks to divide it into three clauses, namely "Hello", "Mr. XX", and "Welcome to call". Among them, the clauses "Hello" and "Welcome to call" are fixed speech clauses. Even if the two call tasks are to return visits to Customer A and Customer B respectively, the content of these two clauses will not change. For fixed speech clauses, the TTS service can be directly called after acquisition to generate the first voice file of the fixed speech clause.

[0093] The variable speech clause refers to the sentence content that includes the variable speech slot, where the specific content in the variable speech slot is related to the specific call task in the call scenario and is determined by the variable information in the actual call task. For example, the "XX" in the aforementioned clause "Mr. XX" corresponds to a variable speech slot, and its specific content is determined by the variable information of the call object in the call task. If the call task is to return the call to customer A, the clause is "Mr. A", and if the call task is to return the call to customer B, the clause is "Mr. B".

[0094] Since the content of the variable speech slot in the variable speech clause is related to the specific variable information of each call task, it is not possible to directly call the TTS service to generate the corresponding second voice file after obtaining the variable speech clause. In actual scenarios, there will be a certain time difference from the start of the call task to the execution of the call task, and at this time the variable information in the call task has been determined. Therefore, before executing the outbound call task in the outbound call scenario, the content of the variable speech slot in the variable speech clause can be determined according to the variable information of the outbound call task, and the TTS service can be called to generate the second voice file of the variable speech clause.

[0095] Taking the above scenario as an example, when the customer service staff needs to revisit customer A, they will start the call task by searching or entering the customer's information through the interactive interface of the outbound call system. After the call dispatch center of the outbound call system receives the command to start the call task, it can be determined that the call object is customer A. Therefore, before the call is made, other functional modules in other outbound call systems will be triggered to call the TTS service to generate a second voice file of the variable speech clause "Mr. A", thereby realizing the pre-generation of the voice file of the variable speech clause before the actual call is made.

[0096] Because in actual scenarios, a specific outbound speech sentence may include only one type of clause, or may include multiple types of clauses. For example, the outbound speech sentence "Thank you for answering the call, goodbye" includes two fixed speech clauses, while the outbound speech sentence "Hello, Mr. XX, welcome to call" mentioned above includes both fixed speech clauses and variable speech clauses. Therefore, when splicing pre-generated voice files, the voice splicing module selects the first voice file and / or the second voice file to splice and obtain the corresponding outbound speech sentence according to the needs of the actual scenario.

[0097] The process of executing an outbound call task is the process of having a voice conversation with the callee during an actual call. At this time, it is necessary to output the pre-generated voice file corresponding to the outbound call sentence to the callee. Since the pre-acquired outbound call sentences may be all the outbound call sentences that may be used, and only a part of them may be used when executing a certain outbound call task, for example, 4 sentences will be selected from the 10 candidate outbound call sentences obtained to complete 4 rounds of conversations with the user. Among them, the target outbound call sentence is the outbound call sentence that needs to be used in this outbound call task. When output is required, the pre-generated voice file can be directly called for output.

[0098] Therefore, the variable content of the variable speech slot in the variable speech clause can be flexibly adapted to the variables in different outbound call tasks, such as different call objects, addresses, etc. The pre-generated voice files can cover most of the content of the outbound call sentences in the actual outbound call scenario. Therefore, the voice files of most of the content in the outbound call sentences can be pre-generated, and they can be directly called and output when needed, which effectively improves the speed of speaking, and is flexible in applicable scenarios, and can avoid the situation of voice broadcast jamming.

[0099] In actual scenarios, in addition to the variable content in the clause and the variable speech slot, there can also be a real-time speech slot. The content in the real-time speech slot cannot be predicted before the outbound call task is executed, but needs to be obtained in real time during the voice conversation with the call object. For example, the content said by the call object is: "Sorry, it's not convenient now, please call me again in one hour", and the outbound call statement that needs to be replied at this time is: "Okay, I will call you again in an hour". Among them, "one hour" corresponds to a real-time speech slot, and the real-time information about the redial time of "one hour" cannot be predicted before the outbound call task is executed. Therefore, it is impossible to pre-generate the voice file corresponding to the sentence containing the content in advance, but it can be generated and output in real time as needed.

[0100] Therefore, in some embodiments of the present application, when acquiring the fixed speech clauses and variable speech clauses in the outbound speech statement, the speech acquisition module can first divide the outbound speech statement into multiple clauses according to the division identifier, and then detect the variable speech slots and real-time speech slots in the clauses. If the clause does not contain variable speech slots and real-time speech slots, the clause is determined to be a fixed speech clause. If the clause contains variable speech slots but does not contain real-time speech slots, the clause is determined to be a variable speech clause, thereby acquiring the fixed speech clauses and variable speech clauses in the outbound speech statement.

[0101] In addition, if the clause contains a real-time speech slot, the speech acquisition module determines the clause as a real-time speech clause. For a real-time speech clause, the voice output module can determine the content of the real-time speech slot in the real-time speech clause according to the real-time information obtained during the execution of the outbound call task, call the text-to-speech service in real time to generate a third voice file of the variable speech clause, and output the third voice file.

[0102] For example, for the outbound call sentence "Hello, Mr. $global{meta_name}, I will call you again at ${meta_redial time}", $global{meta_name} is the variable speech slot, and ${meta_redial time} is the real-time speech slot. After using punctuation marks as division marks to divide it into three clauses, it can be determined that "Hello" is a fixed speech clause, "Mr. $global{meta_name}" is a variable speech clause, and "I will call you again at ${meta_redial time}" is a real-time speech clause.

[0103] For the fixed speech sentence "Hello", the TTS service can be directly called to generate the corresponding first voice file vc-1. For the variable speech clause "Mr. $global{meta_name}", after determining the variable information and before executing the call task, the TTS service can be called to generate the corresponding second voice file vc-2, and the two can be spliced ​​as the pre-generated voice file vc-12 of the outbound call speech sentence as needed. For the real-time speech clause "I will call you again after ${meta_redial time}", it is necessary to obtain real-time information according to the conversation content of the call object during the execution of the call task to determine the specific content of the real-time speech slot ${meta_redial time}. For example, during this call, it is determined that the redial time is one hour. Then, after determining the content of the real-time speech slot, the TTS service can be called in real time to generate the third voice file vc-3 of the variable speech clause, and it can be output when needed.

[0104] In actual scenarios, it can be agreed in advance that the outbound call speech sentence containing the variable speech slot can be called and output in multiple times. For example, in this embodiment, the pre-generated voice file vc-12 of the first half of the content can be called and played, and then the third voice file vc-3 generated after the real-time information is determined can be called and played again, so as to realize the rapid voice output of the sentence "Hello, Mr. XX, I will call you again in one hour".

[0105] In other embodiments of the present application, when obtaining the fixed speech clauses and variable speech clauses in the outbound speech sentence, the speech acquisition module can also first divide the outbound speech sentence according to the first division identifier, obtain a first sentence containing a real-time speech slot and a second sentence not containing a real-time speech slot, and then divide the second sentence into multiple clauses according to the second division identifier. If the clause does not contain a variable speech slot, the clause is determined to be a fixed speech clause. If the clause contains a variable speech slot, the clause is determined to be a variable speech clause.

[0106] Among them, the first division identifier can be a division identifier added additionally when the outbound call sentence corresponding to the outbound call scenario is configured as an outbound call sentence containing a real-time speech slot. For example, in the actual scenario, "[[]]" can be used as the first division identifier, and the second division identifier can be a punctuation mark in the sentence. Therefore, taking the aforementioned outbound call sentence "Hello, Mr. $global{meta_name}, I will call you again at ${meta_redial time}" as an example, it can be stored as "Hello, Mr. $global{meta_name}, [[]] I will call you again at ${meta_redial time}" during configuration, and during the processing, it can be first divided into two sentences: "Hello, Mr. $global{meta_name}" and "I will call you again at ${meta_redial time}".

[0107] During the processing, the second sentence "Hello, Mr. $global{meta_name}" is divided into two clauses "Hello" and "Mr. $global{meta_name}" according to the "," therein, which are fixed speech clauses and variable speech clauses respectively. Then, the aforementioned processing method can be used to call the TTS service in advance to generate the corresponding voice files vc-1 and vc-2, and splice to obtain the pre-generated voice file vc-12. As for the first sentence, since the corresponding voice file cannot be directly generated in advance, the voice output module can determine the content of the real-time speech slot in the first sentence when executing the outbound call task, based on the real-time information obtained during the execution of the outbound call task, and call the text-to-speech service in real time to generate the fourth voice file vc-4 of the first sentence, and output the fourth voice file. In actual scenarios, the aforementioned method can also be used to retrieve and output relevant voice files in multiple times to achieve fast voice output of the sentence "Hello, Mr. XX, I will call you again in one hour."

[0108] In addition, in some embodiments of the present application, after obtaining the pre-generated voice file corresponding to the outgoing speech sentence by splicing the first voice file and / or the second voice file, the voice splicing module can also determine the tag information of the corresponding pre-generated voice file according to the outgoing speech sentence, add the tag information to the pre-generated voice file, and save it to the database. Wherein, the tag information is any information that can be used to identify and search the pre-generated voice file, for example, the summary information obtained by performing hash calculation on the outgoing speech sentence using the MD5 (message-digest algorithm 5, fifth edition of the information digest algorithm) value, etc. When the pre-generated voice file needs to be saved in the database, the MD5 algorithm can be used to perform hash calculation on the text of the outgoing speech sentence to obtain the MD5 value, and then the MD5 value can be used to name the corresponding pre-generated voice file and save it in the database.

[0109] In addition, in some other embodiments of the present application, the tag information can also be combined with the generation parameter information of the pre-generated voice file. Among them, the generation parameter information can be the TTS parameters when calling the TTS service to generate the voice file, such as the sound type, speech speed, volume, etc. The TTS parameters can be provided by the user before calling the TTS service according to the needs of the outbound call scenario. In the actual scenario, the user can select the TTS parameters in the interactive interface so that the TTS service can use these TTS parameters to synthesize the sound, thereby generating the required voice file. Therefore, when it is necessary to save the pre-generated voice file in the database, the MD5 algorithm can be used to perform a hash calculation on the text of the outbound call sentence to obtain the MD5 value, and then obtain the TTS parameters used by the TTS service in generating the first voice file and / or the second voice file corresponding to the pre-generated voice file, and use the MD5 value + TTS parameter to name the corresponding pre-generated voice file, and then save it in the database.

[0110] Accordingly, when it is necessary to output a pre-generated voice file (such as executing an outbound call task), the voice output module can use the target tag information as a search condition to search for the corresponding pre-generated voice file in the database, wherein the target tag information is the tag information determined according to the target outbound call speech sentence corresponding to this outbound call task. If a pre-generated voice file that meets the search condition is found, the pre-generated voice file is output. If a pre-generated voice file that meets the search condition is not found, it means that the target outbound call speech sentence corresponding to the search condition contains a real-time speech slot and cannot be generated in advance. Therefore, the TTS service can be called in real time to generate a fifth voice file of the target outbound call speech sentence, and the fifth voice file is output.

[0111] An embodiment of the present application also provides another outbound voice output device, which includes a memory for storing computer program instructions and a processor for executing computer program instructions, wherein when the computer program instructions are executed by the processor, the device is triggered to execute the aforementioned outbound voice output method.

[0112] In actual scenarios, the outbound voice output device can be a user device, a network device, or a device formed by integrating a user device and a network device through a network, or it can also be an application running on the above device. The user device includes but is not limited to various terminal devices such as computers, mobile phones, and tablet computers; the network device includes but is not limited to network hosts, single network servers, multiple network server sets, or cloud computing-based computer sets. Here, the cloud is composed of a large number of hosts or network servers based on cloud computing (Cloud Computing), where cloud computing is a type of distributed computing, a virtual computer composed of a group of loosely coupled computer sets.

[0113] In particular, the methods and / or embodiments in the embodiments of the present application may be implemented as computer software programs. For example, the embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes program code for executing the method shown in the flowchart. When the computer program is executed by the processing unit, the above functions defined in the method of the present application are executed.

[0114] It should be noted that the computer-readable medium described in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device.

[0115] In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, device, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0116] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0117] The flow chart or block diagram in the accompanying drawings shows the possible architecture, function and operation of the equipment, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated system for hardware that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0118] As another aspect, the embodiments of the present application further provide a computer-readable medium, which may be included in the device or apparatus described in the above embodiments; or may exist independently without being assembled into the device or apparatus. The above computer-readable medium carries one or more computer-readable instructions, which may be executed by a processor to implement the methods and / or technical solutions of the above multiple embodiments of the present application.

[0119] It should be noted that the present application can be implemented in software and / or a combination of software and hardware, for example, can be implemented using an application specific integrated circuit (ASIC), a general purpose computer or any other similar hardware device. In certain embodiments, the software program of the present application can be executed by a processor to implement the above steps or functions. Similarly, the software program of the present application (including related data structures) can be stored in a computer-readable recording medium, for example, a RAM memory, a magnetic or optical drive or a floppy disk and similar devices. In addition, some steps or functions of the present application can be implemented using hardware, for example, as a circuit that cooperates with a processor to perform each step or function.

[0120] It is obvious to those skilled in the art that the present application is not limited to the details of the above exemplary embodiments, and that the present application can be implemented in other specific forms without departing from the spirit or basic features of the present application. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-restrictive, and the scope of the present application is limited by the attached claims rather than the above description, so it is intended to include all changes that fall within the meaning and scope of the equivalent elements of the claims in the present application. Any figure mark in the claims should not be regarded as limiting the claims involved. In addition, it is obvious that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in the device claim can also be implemented by one unit or device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any specific order.

Claims

1. An outbound voice output method, characterized in that: The method includes: Obtain a fixed speech clause, a variable speech clause, and a real-time speech clause in an outbound speech sentence, and call a text-to-speech service to generate a first voice file of the fixed speech clause, wherein the fixed speech clause is a clause in the outbound speech sentence that does not contain a variable speech slot and a real-time speech slot, the variable speech clause is a clause in the outbound speech sentence that contains a variable speech slot and does not contain a real-time speech slot, and the real-time speech clause is a clause in the outbound speech sentence that contains a real-time speech slot; Determine the content of the variable speech slot in the variable speech clause according to the variable information of the outbound call task, and call the text-to-speech service to generate a second voice file of the variable speech clause; Obtaining a pre-generated voice file corresponding to the outgoing call sentence by splicing the first voice file and / or the second voice file; Retrieving and outputting the pre-generated voice file according to the target outbound call speech sentence corresponding to the outbound call task; According to the real-time information obtained during the execution of the outbound call task, the content of the real-time speech slot in the real-time speech clause is determined, the text-to-speech service is called in real time to generate a third voice file of the variable speech clause, and the third voice file is output.

2. The method according to claim 1, characterized in that Get the fixed and variable clauses in the outbound call, including: According to the division mark, the outbound call sentence is divided into multiple clauses; If the clause does not contain a variable speech slot and a real-time speech slot, the clause is determined to be a fixed speech clause; if the clause contains a variable speech slot but does not contain a real-time speech slot, the clause is determined to be a variable speech clause.

3. The method according to claim 2, characterized in that The method further includes: If the clause contains a real-time speech slot, the clause is determined to be a real-time speech clause.

4. The method according to claim 1, characterized in that: Get the fixed and variable clauses in the outbound call, including: According to the first division identifier, the outbound call speech sentence is divided to obtain a first sentence containing a real-time speech slot and a second sentence not containing a real-time speech slot; According to the second division identifier, dividing the second clause into a plurality of clauses; If the clause does not contain a variable speech slot, the clause is determined to be a fixed speech clause; if the clause contains a variable speech slot, the clause is determined to be a variable speech clause.

5. The method according to claim 4, characterized in that The method further includes: According to the real-time information obtained during the execution of the outbound call task, the content of the real-time speech slot in the first sentence is determined, the text-to-speech service is called in real time to generate a fourth voice file of the first sentence, and the fourth voice file is output.

6. The method according to claim 1, characterized in that After obtaining a pre-generated voice file corresponding to the outbound call sentence by splicing the first voice file and / or the second voice file, the method further includes: Determine the tag information of the corresponding pre-generated voice file according to the outbound call sentence; After adding the marking information to the pre-generated voice file, the pre-generated voice file is saved in a database; Retrieving and outputting the pre-generated voice file according to the target outbound call speech sentence corresponding to the current outbound call task includes: Using target tag information as a search condition, searching the database for a corresponding pre-generated voice file, wherein the target tag information is tag information determined according to a target outbound call speech sentence corresponding to the current outbound call task; If a pre-generated voice file that meets the search condition is found, the pre-generated voice file is output.

7. The method according to claim 6, characterized in that The method further includes: If no pre-generated voice file meeting the search condition is found, a text-to-speech service is called in real time to generate a fifth voice file of the target outbound call speech sentence, and the fifth voice file is output.

8. The method according to claim 6 or 7, characterized in that: The tag information includes summary information of the outbound call speech sentence or a combination of summary information and generation parameter information.

9. An outbound voice output device, characterized in that: The device includes: A speech acquisition module, used for acquiring fixed speech clauses, variable speech clauses and real-time speech clauses in an outbound speech statement, wherein the fixed speech clause is a clause in the outbound speech statement that does not contain a variable speech slot and a real-time speech slot, the variable speech clause is a clause in the outbound speech statement that contains a variable speech slot and does not contain a real-time speech slot, and the real-time speech clause is a clause in the outbound speech statement that contains a real-time speech slot; A speech pre-generation module, used to call a text-to-speech service to generate a first speech file of the fixed speech clause, determine the content of the variable speech slot in the variable speech clause according to the variable information of the outbound call task, and call a text-to-speech service to generate a second speech file of the variable speech clause; A voice splicing module, used for splicing the first voice file and / or the second voice file to obtain a pre-generated voice file corresponding to the outgoing call sentence; A voice output module is used to retrieve and output the pre-generated voice file according to the target outbound call speech sentence corresponding to the outbound call task, determine the content of the real-time speech slot in the real-time speech clause according to the real-time information obtained during the execution of the outbound call task, call the text-to-speech service in real time to generate a third voice file of the variable speech clause, and output the third voice file.

10. An outbound voice output device, characterized in that: The device comprises a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the device is caused to perform the method according to any one of claims 1 to 8.