Voice call control method, device, computer program, and electronic device

By transforming call audio into the frequency domain and using neural networks to determine energy occupancy ratios, the method addresses speaker detection delays, ensuring accurate and efficient real-time voice call control with reduced echo.

JP7548482B2Active Publication Date: 2024-09-10TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2023528949
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2021-01-21
Filing Date
2022-01-18
Publication Date
2024-09-10
Estimated Expiration
2042-01-18

AI Technical Summary

Technical Problem

Existing voice call systems face delays in speaker detection due to the need for large amounts of context information, leading to reduced efficiency and real-time voice control effectiveness, especially in real-time communication scenarios.

Method used

A method involving frequency domain transformation of call audio using a neural network to determine energy information and occupancy ratios, allowing for real-time detection and control of the number of speakers, with echo cancellation techniques to enhance voice call clarity.

Benefits of technology

Enables instant detection and real-time control of the number of speakers, improving voice recognition efficiency and call quality by filtering background speakers and reducing echo, thus enhancing the accuracy and effectiveness of voice calls.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007548482000012
    Figure 0007548482000012
  • Figure 0007548482000006
    Figure 0007548482000006
  • Figure 0007548482000008
    Figure 0007548482000008
Patent Text Reader

Abstract

The present invention provides a voice call control method, device (1400), computer-readable storage medium, and electronic device. The voice call control method includes a step (S110) of acquiring mixed call voice in real time during a cloud conference call, where the mixed call voice includes at least one branch voice, a step (S120) of performing frequency domain transformation on the call voice to determine energy information corresponding to each frequency point in the frequency domain of the call voice, a step (S130) of performing separation processing on the energy information at each frequency point based on a neural network to determine an energy occupancy ratio of each branch voice corresponding to each frequency point in all energy at the frequency point, a step (S140) of determining the number of branch voices included in the call voice based on the energy occupancy ratio of each branch voice at each frequency point, and a step (S150) of setting a control method for the call voice based on the number of branch voices to control the voice call.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention claims priority to a Chinese patent application filed on January 21, 2021, bearing application number 202110083388.6 and entitled "Voice call control method, device, computer-readable storage medium, and electronic device," the entire contents of which are incorporated herein by reference.

[0002] TECHNICAL FIELD The present invention relates to the field of computer technology, and in particular to a method, an apparatus, a computer-readable storage medium and an electronic device for controlling a voice call. [Background technology]

[0003] In many voice call scenarios, it is necessary to determine the number of speakers, tone, etc. for subsequent voice control. In the related art, a speaker scenario detection system is trained based on a large number of labeled voice segments, where the label of each segment is the number of speakers, and given one voice segment during testing, the system predicts the current number of speakers. Such a processing method brings a long delay to voice detection, which greatly reduces the efficiency of voice recognition, especially in real-time communication scenarios, and affects the real-time voice control effect. Summary of the Invention

[0004] The embodiments of the present invention provide a voice call control method, device, computer-readable storage medium, and electronic device that can ensure at least to some extent the accuracy of detecting the number of voices, and can improve the efficiency of identifying the number of voices and the efficiency of controlling voice calls.

[0005] Other features and advantages of the invention will become apparent from the following detailed description, or in part will become apparent by the practice of the invention.

[0006] In one aspect of an embodiment of the present invention, a method for controlling a voice call is provided, comprising the steps of: acquiring a mixed voice call, the mixed voice call including at least one branch voice; performing a frequency domain transformation on the voice call to determine energy information corresponding to each frequency point in the frequency domain of the voice call; performing a separation process on the energy information at each frequency point based on a neural network to determine an energy occupancy ratio of each corresponding branch voice at each frequency point in all energies at the frequency point; determining the number of branch voices included in the voice call based on the energy occupancy ratio of each branch voice at each frequency point; and setting a control method for the voice call based on the number of branch voices to control the voice call.

[0007] In one aspect of an embodiment of the present invention, a voice call control device is provided, comprising: an acquisition unit that acquires mixed call voice, the mixed call voice including at least one branch voice; a conversion unit that performs frequency domain transformation on the call voice and determines energy information corresponding to each frequency point in the frequency domain of the call voice; a separation unit that performs separation processing on the energy information at each frequency point based on a neural network and determines an energy occupancy ratio of each corresponding branch voice at each frequency point in all energy at that frequency point; a number determination unit that determines the number of branch voices included in the call voice based on the energy occupancy ratio of each branch voice at each frequency point; and a control unit that sets a control method for the call voice based on the number of branch voices to control the voice call.

[0008] In one aspect of an embodiment of the present invention, a computer-readable storage medium having a computer program stored thereon is provided, the computer program implementing a voice call control method described in an embodiment of the present invention when executed by a processor.

[0009] In one aspect of an embodiment of the present invention, there is provided an electronic device including one or more processors and a memory device storing one or more programs, the one or more programs, when executed by the one or more processors, causing the one or more processors to realize a voice call control method described in an embodiment of the present invention.

[0010] In one aspect of an embodiment of the present invention, there is provided a computer program product or computer program including computer instructions stored in a computer-readable storage medium, wherein a processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions to cause the computer device to perform a voice call control method according to an embodiment of the present invention.

[0011] It should be noted that the above general description and the following detailed description are merely exemplary and explanatory and are not intended to limit the present invention. [Brief description of the drawings]

[0012] [Figure 1] FIG. 1 is a schematic diagram illustrating an exemplary system architecture in which techniques of embodiments of the present invention can be applied. [Diagram 2] 1 is a schematic diagram illustrating a conferencing system according to some embodiments of the present invention. [Diagram 3] 2 is a flow chart that outlines a method for controlling a voice call according to some embodiments of the present invention. [Figure 4] FIG. 2 is a schematic diagram illustrating an audio separation flow according to some embodiments of the present invention. [Diagram 5] FIG. 1 is a schematic diagram illustrating audio extraction according to some embodiments of the present invention. [Figure 6] FIG. 1 is a schematic diagram illustrating conference audio extraction according to some embodiments of the present invention. [Figure 7]1A-1D are schematic diagrams illustrating application scenarios of echo cancellation according to some embodiments of the present invention; [Figure 8] FIG. 2 is a schematic diagram illustrating echo cancellation according to some embodiments of the present invention. [Figure 9] 1 is a flow chart that generally illustrates the extraction of energy information according to some embodiments of the present invention. [Figure 10] FIG. 2 is a schematic diagram illustrating the extraction of energy information according to some embodiments of the present invention. [Figure 11] 1 is a flow chart that generally illustrates training of a separation model according to some embodiments of the present invention. [Figure 12] FIG. 2 is a schematic diagram of a dominant speaker setting interface according to some embodiments of the present invention. [Figure 13] FIG. 2 illustrates a schematic interface diagram for allocation of communications resources according to some embodiments of the present invention. [Figure 14] FIG. 2 is a block diagram that illustrates a schematic of a voice call control device according to some embodiments of the present invention. [Figure 15] FIG. 1 is a schematic diagram showing the configuration of a computer system capable of implementing an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0013] Cloud computing is a computing mode that distributes computing tasks to a resource pool composed of a large number of computers, allowing various application systems to obtain computing power, storage space, and information services according to demand. The network that provides resources is called the "cloud." In the eyes of users, resources in the "cloud" are infinitely expandable, always available, on-demand, expandable at any time, and charged for as they are. As a provider of the basic capabilities of cloud computing, a cloud computing resource pool (abbreviated as a cloud platform, generally an IaaS (Infrastructure as a Service) platform) configures various types of virtual resources in the resource pool, which can be selected and used by external customers. The cloud computing resource pool mainly includes computing equipment (which is a virtualization equipment and includes an operating system), storage equipment, and network equipment. In terms of logical functions, the PaaS (Platform as a Service) layer may be deployed on the IaaS (Infrastructure as a Service) layer, the SaaS (Software as a Service) layer may be deployed on the PaaS layer, or SaaS may be deployed directly on IaaS. PaaS is a platform that runs software such as databases and web containers. SaaS is various service software such as web portals and SMS group providers. In general, SaaS and PaaS are higher layers than IaaS.

[0014] Cloud Call Center is a call center system built on cloud computing technology, which does not require enterprises to purchase any software or hardware systems. Enterprises can quickly set up their own call center by simply providing basic conditions such as personnel and location, and the software and hardware platform, communication resources, daily maintenance and services are provided by server providers. It has the characteristics of a short construction cycle, low investment, low risk, flexible deployment, strong system capacity scalability, and low operation and maintenance costs. Whether it is a telephone marketing center or a customer service center, enterprises can establish a call center system that is comprehensive, stable, and reliable, with seats distributed throughout the country and nationwide call connection, by simply renting the services as needed.

[0015] In an embodiment of the present invention, a center system can be called in the manner of a cloud call center, and at the same time, a voice call control method is embedded in the system to realize voice control during the call, further making the cloud call center smarter and improving the reliability and security of the cloud call center.

[0016] Cloud conferencing is an efficient, convenient and low-cost conference format based on cloud computing technology. Users can quickly and efficiently share voice, data files and videos with teams and customers around the world at the same time by simply performing simple and easy-to-use operations through the Internet interface, and the cloud conferencing service provider helps users with complex technologies such as data transfer and processing during the conference. At present, domestic cloud conferencing mainly focuses on service content based on the SaaS (Software as a Service) mode, including service formats such as telephone, network, and video, and video conferencing based on cloud computing is called cloud conferencing. In the cloud conferencing era, data transfer, processing and storage are all handled by the computer resources of the video conferencing manufacturer, and users do not need to purchase expensive hardware and cumbersome software to install. They only need to open a browser and register the corresponding interface to hold an efficient remote conference. The cloud conferencing system supports multi-server dynamic cluster deployment and provides multiple high-performance servers, greatly improving the stability, security and availability of the conference. In recent years, video conferencing has been welcomed by many users because it can greatly improve communication efficiency, continuously reduce communication costs, and upgrade internal management level, and has been widely applied in various fields such as government, military, traffic, transportation, finance, management, education, enterprise, etc. Of course, after video conferencing adopts cloud computing, it will have even stronger advantages in terms of convenience, speed and ease of use, which will surely bring about a new climax in the application of video conferencing.

[0017] In the application scenario of cloud conference, the embodiment of the present invention can apply a control method based on voice communication to cloud conference, so as to make the voice communication during the cloud conference clearer, make the voice communication process more intelligent, and further improve the efficiency of the conference.

[0018] Cloud Social is a virtual social application model that applies the interaction between the Internet of Things (IoT), cloud computing and mobile Internet, aiming to establish the famous "resource sharing relationship map" and further develop online social. The main feature of Cloud Social is to unify and evaluate a large amount of social resources, form a resource availability pool, and provide on-demand services to users. The more users participate in sharing, the greater the utilization value that can be generated.

[0019] Artificial Intelligence (AI) is a theory, method, technology, and application system that utilizes digital computers or machines controlled by digital computers to simulate and extend human intelligence, sense the environment, acquire knowledge, and use knowledge to achieve optimal results. In other words, AI is a comprehensive technology of computer science that seeks to understand the nature of intelligence and produce new intelligent machines that respond in a similar way to human intelligence. AI studies the design principles and implementation methods of various intelligent machines, endowing them with the functions of sensing, reasoning, and decision-making. AI technology is a comprehensive discipline with a wide range of fields, including both hardware-level and software-level technologies. AI basic technologies generally include technologies such as sensors, dedicated AI chips, cloud computing, distributed storage, big data processing technology, operation / interactive systems, and mechatronics. AI software technology mainly includes several aspects such as computer vision technology, voice processing technology, natural language processing technology, and machine learning / deep learning.

[0020] Key technologies in speech technology include automatic speech recognition (ASR), text-to-speech synthesis (TTS), and voiceprint recognition. Enabling computers to hear, see, speak, and feel is the future direction of human-computer interaction, and voice is one of the most promising human-computer interaction methods in the future. Machine learning (ML) is a multidisciplinary interdisciplinary field that involves many disciplines such as probability theory, statistics, approximation theory, convex analysis, and computational complexity theory. It focuses on the study of how computers can simulate or realize human learning behavior, acquire new knowledge or skills, reorganize existing knowledge structures, and constantly improve their own performance. Machine learning is the core of artificial intelligence and the fundamental route to making computers intelligent, and its applications span various fields of artificial intelligence. Machine learning and deep learning usually include technologies such as artificial neural networks, trust networks, reinforcement learning, transition learning, and inductive learning.

[0021] With the research and progress of artificial intelligence technology, it will be researched and applied in many areas, such as general smart homes, smart wearable devices, virtual assistants, smart speakers, smart marketing, unmanned driving, autonomous driving, drones, robots, intelligent medical care, intelligent customer service, etc. We believe that with the development of technology, artificial intelligence technology will be applied in more and more areas and play an increasingly important value.

[0022] In the related art, a speaker scenario detection system is trained based on a large number of labeled voice segments, where the label of each segment is the number of speakers, and given one voice segment during testing, the system predicts the number of current speakers. However, this scheme requires a lot of context information in the detection process to determine the current number of speakers, for example, a relatively long time of voice segments needs to be taken as the data basis to determine the number of speakers. Such a processing method brings a long delay to voice detection, which greatly reduces the efficiency of voice recognition, especially in real-time communication scenarios, and affects the real-time voice control effect.

[0023] The embodiments of the present invention relate to technologies such as artificial intelligence voice technology and machine learning, which can make the voice call control method according to the embodiments of the present invention more accurate. More specifically, the following embodiments will be described with reference to the following embodiments.

[0024] FIG. 1 is a schematic diagram illustrating an exemplary system architecture in which techniques of embodiments of the present invention can be applied.

[0025] As shown in Fig. 1, the system architecture may include a terminal device (which may be one or more of a smartphone 101, a tablet computer 102, and a portable computer 103, or may be a desktop computer, etc., as shown in Fig. 1), a network 104, and a server 105. The network 104 is a medium for providing a communication link between the terminal device and the server 105. The network 104 may include various connection types, such as a wired communication link, a wireless communication link, etc.

[0026] Note that the number of terminal devices, networks, and servers in Fig. 1 is merely exemplary. Any number of terminal devices, networks, and servers may be included depending on implementation requirements. For example, the server 105 may be a server cluster consisting of multiple servers.

[0027] In addition, each terminal device in this embodiment may target a different call cluster, and the number of participants in a call cluster may be one, two, or more, etc. For example, a call cluster targeting a portable computer 103 may include multiple participants, a call cluster targeting a tablet computer 102 may include other participants, and a user may participate in a conference via a smartphone 101.

[0028] As an example, during the progress of a conference, multiple users or one user can use a terminal device to make a conference call. At the same time, the server 105 can obtain the call voice with the terminal device via the network 104, perform frequency domain transformation on the call voice, and determine energy information corresponding to the frequency domain of the call voice. A separation process is performed on the energy information based on a neural network, and an energy occupancy ratio in the call voice of each branch voice included in the call voice is determined. The number of branch voices included in the call voice is determined based on the energy occupancy ratio. Based on the number of branch voices, a call voice control method is set to control the voice call.

[0029] The above scheme obtains the speech voice in real time during the progress of the call, performs frequency domain transformation on the speech voice to determine energy information corresponding to the frequency domain of the speech voice, then performs separation processing on the energy information based on a neural network to determine the energy occupancy ratio of each branch voice included in the speech voice, determines the number of branch voices included in the speech voice based on the energy occupancy ratio, and finally controls the speech call by setting a speech control method based on the number of branch voices, thereby realizing real-time detection of the number of voices during the speech call process and real-time control of the speech call, ensuring the detection accuracy of the number of voices, and improving the recognition efficiency of the number of voices and the control efficiency of the speech call.

[0030] In addition, as shown in Fig. 2, the present embodiment can also process only one call cluster, and the call cluster includes one, two or multiple participants. According to the above-mentioned voice call control method, the real-time number of speakers in the call cluster can be detected, and the voice quality during the call can be guaranteed, and the corresponding call control can be performed to improve the call efficiency.

[0031] It should be noted that the voice call control method according to the embodiment of the present invention is typically performed by the server 105, and therefore the voice call control device is typically provided in the server 105. However, in other embodiments of the present invention, the terminal device may have similar functionality to the server in order to execute the voice call control scheme according to the embodiment of the present invention.

[0032] In addition, the server in this embodiment may be an independent physical server, a server cluster or a distributed system consisting of multiple physical servers, or a cloud server providing cloud computing services. Examples of terminals include, but are not limited to, smartphones, tablet computers, laptops, desktop computers, smart speakers, smart watches, etc. The terminals and the server can be directly or indirectly connected by wired or wireless communication, but the present invention is not limited thereto.

[0033] The following describes the implementation details of the technical solutions of the embodiments of the present invention.

[0034] 3 is a flow chart illustrating a method for controlling a voice call according to some embodiments of the present invention. The method for controlling a voice call may be performed by a server, which may be the server shown in FIG 1. As shown in FIG 3, the method for controlling a voice call includes at least steps S110 to S150, which will be described in detail below.

[0035] In step S110, a mixed call voice is obtained, where the mixed call voice includes at least one branch voice.

[0036] In some embodiments of the present invention, the mixed speech audio may be acquired while the speech cluster is making a call. The length of the speech audio in this embodiment is not limited, and may be one frame of speech audio acquired in real time, or may be one second or one minute of speech audio.

[0037] For example, the call may be a scenario of a real-time communication conference, during which the call voice is collected in real time, corresponding recognition processing is performed according to the collected call voice, and subsequent control is performed according to the generated identification result, so as to achieve the effect of real-time control of the call voice.

[0038] In step S120, a frequency domain transformation is performed on the speech voice to determine energy information corresponding to each frequency point of the speech voice.

[0039] In one embodiment of the present invention, the call voice acquired in this embodiment is a time-domain call voice, which is an audio signal with time as an independent variable and volume as a dependent variable. In this embodiment, after acquiring the call voice, a frequency domain transformation is performed on the call voice, and the time-domain audio signal is transformed into a frequency-domain audio signal to represent the energy information of the call voice in the frequency domain.

[0040] As shown in FIG. 4 , in the classification framework for speech-based separated speaker scenes, in the “signal preprocessing” stage, in an embodiment of the present invention, an audio signal is obtained, and acoustic features are extracted by preprocessing the audio signal, and a logarithmic energy spectrum corresponding to the audio signal is generated as energy information corresponding to each frequency point in the frequency domain of the speech voice.

[0041] Specifically, the energy information in this embodiment may include information such as energy values ​​and energy spectra corresponding to each frequency point of the speech voice. In this embodiment, the energy information is used to evaluate attributes such as energy of each frequency point, and the corresponding branch voices at each frequency point can be distinguished based on the energy information.

[0042] In step S130, a separation process is performed on the energy information at each frequency point based on the neural network, and the energy occupancy ratio of each branch voice corresponding to each frequency point in the total energy of the frequency point is determined.

[0043] In one embodiment of the present invention, after obtaining the energy information at each frequency point, a separation process is performed on the energy information based on a neural network. That is, the energy information is input into a previously trained separation model to obtain the energy occupancy ratio at each frequency point of each branch voice, and the energy occupancy ratio is also called the frequency point coefficient based on voice separation. For example, in FIG. 4, taking two branch voices as an example, the frequency point coefficient of the two branch voices at one frequency point, i.e., the frequency point coefficient P A and frequency point coefficient P B In FIG. 4, two frequency point coefficients at one frequency point are shown by taking two branched voices as an example, corresponding to speaker A and speaker B, respectively. However, in reality, the frequency point coefficients obtained at one frequency point are related to the number of people speaking at the same time and are not limited to two. In addition, at each frequency point where the energy value is not 0, a frequency point coefficient based on voice separation is obtained.

[0044] Specifically, the frequency point coefficient in this embodiment represents the ratio of the energy corresponding to a speaker at one frequency point to the total energy information at that frequency point. The idea of ​​voice separation in this embodiment is based on the method of each frequency point coefficient in the frequency domain, and the energy occupancy ratio at a frequency point of a certain speaker is directly proportional to the magnitude of the frequency point coefficient predicted in the mixed signal. The calculation method of the frequency point coefficient (P) is the ratio of the voice energy value (E) of a certain speaker at a frequency point to the voice energy value of the mixed speakers at that frequency point. Assuming two people (A and B), the frequency point coefficient of speaker A at one frequency point is calculated according to the following formula:

[0045]

number

[0046] The above method, particularly in a scene where multiple people speak simultaneously, can determine the energy occupancy ratio corresponding to each branch voice at each frequency point by separating energy information, and determine the distribution status of each branch voice based on the energy occupancy ratio, thereby improving the accuracy and real-timeness of voice count recognition.

[0047] In step S140, the number of branch voices included in the call voice is determined based on the energy occupancy ratio of each branch voice at each frequency point.

[0048] In one embodiment of the present invention, after determining the energy occupancy ratio of each branch voice at each frequency point in the call voice, in this embodiment, the number of branch voices included in the call voice is determined by averaging based on the energy occupancy ratio.

[0049] In one embodiment of the present invention, for the energy occupancy ratio corresponding to each frequency point in each frame of the voice of speaker A, the energy occupancy ratio of each frequency point in each frame is averaged to obtain the average value of stable energy within one frame time, and then, based on a predetermined threshold, it is determined whether the current average value of energy corresponds to the speech of one person or the speech of multiple people, and finally, the speaker number information of the current frame is output. For example, a discrete 0 (single person speech) or 1 (multiple people speech) corresponding to the current number of speakers in each frame can be output.

[0050] In one embodiment of the present invention, the collected speech voice consists of multiple frames, and there are multiple frequency points in one frame. For example, the number of frequency points may be the number of Fourier transformed points, where f is the number of frequency points in one frame, and F i is the energy occupancy ratio corresponding to the i-th frequency point of a certain speaker, i.e., the frequency point coefficient. By calculating the average value, the average value of the energy occupancy ratio corresponding to the frame of the certain speaker is given as follows:

[0051] [Number] Then, by comparing the average value for each branch voice with a threshold, the number of people who are speaking simultaneously can be determined. For example, in the case of two people, P A +P B = 1, so P A and P B For example, P A For example, in the actual voice number determination, if the value is 0 or 1, the current speaking energy (P A Or P B) occupies the entire voice energy, which means that only one person is speaking, i.e., B or A is speaking. In this case, the number of speakers is 1. If the value is 0.5, it means that both people are speaking at the same time and the magnitude of the speech energy at that time is the same. In this case, the number of speakers is 2. The current number of branching voices can be determined by comparing the average value of the calculated energy occupancy ratio with a predetermined threshold. In practical applications, the specific value of the threshold can be set according to the application scenario.

[0052] In this embodiment, the current number of branching voices is determined by the above threshold detection method, and the multi-speaker scenario can be judged in a very short time at the frame level in real time, and the voice stream can be processed in real time.In addition, the many-to-many label is used, and the voice information is fully utilized, so that the accuracy rate of scenario detection can be improved.

[0053] In step S150, a voice call control method is set based on the determined number of voice branches to control the voice call.

[0054] In one embodiment of the present invention, after determining the number of branching voices, a current call status can be determined according to the current number of branching voices, and then the voice call can be controlled according to a set voice call control method, thereby realizing real-time control of the voice call and improving the accuracy and real-timeness of the voice control.

[0055] For example, as shown in Fig. 5, when there are multiple branch voices, the background speakers are filtered out based on the number of branch voices, and only the audio stream of the main speaker is extracted. At this time, the front end needs to detect the number of current speakers, and if the number of current speakers is greater than 1, the main speaker extraction is turned on, and if it is detected that the number of current speakers is 1, the voice extraction is turned off to avoid damage to the voice.

[0056] In this embodiment, in the process of extracting voice, based on the energy occupancy ratios corresponding to each of the multiple branch voices at each frequency point, the branch voice corresponding to the maximum value among the energy occupancy ratios is recognized as the voice of the main speaker, frequency information corresponding to the voice of the main speaker is determined from the energy information, and the voice of the main speaker is extracted from the call voice based on the frequency information.

[0057] As shown in Fig. 6, in a scene where multiple users are speaking, the above-mentioned frequency detection method may be used to identify the main speaker, for example, user 4 in Fig. 6. In addition, to make the voice conversation clearer, the voice of the main speaker is extracted, or the voices of other users are removed by filtering.

[0058] As described above, in a scene where multiple people are speaking, the speech of one main speaker can be extracted, making the voice during a call clearer and improving the quality and effectiveness of the call.

[0059] When the voice shown in FIG. 7 is output to the outside, one of the callers hears an echo of himself / herself from the voice returning from the other party, which causes a problem of degraded call quality.

[0060] To avoid this problem, as shown in FIG. 8, in the case of a single talk scenario in which the communication partner and the user are talking alternately, i.e., when there is only one branch voice, the echo voice of the branch voice is recognized based on the set single talk echo processing method, and single talk echo elimination is performed on the echo voice.

[0061] In the case of a double-talk scenario in which the communication partner and the user speak simultaneously, i.e., the number of branching voices is at least two, the echo voices corresponding to the branching voices are recognized according to the set double-talk echo processing method, and the double-talk echo cancellation is performed on the echo voices. The communication system ensures that the user's signal can be maximally retained in the echo cancellation process.

[0062] The above scheme obtains the speech voice in real time during the progress of the call, performs frequency domain transformation on the speech voice to determine energy information corresponding to the frequency domain of the speech voice, then performs separation processing on the energy information based on a neural network to determine the energy occupancy ratio of each branch voice included in the speech voice, determines the number of branch voices included in the speech voice based on the energy occupancy ratio, and finally controls the speech call by setting a speech control method based on the number of branch voices, thereby realizing real-time detection of the number of voices during the speech call process and real-time control of the speech call, ensuring the detection accuracy of the number of voices, and improving the recognition efficiency of the number of voices and the control efficiency of the speech call.

[0063] In one embodiment of the present invention, as shown in FIG. 9, the process of performing frequency domain transformation on the call voice in step S120 and determining energy information corresponding to each frequency point in the frequency domain of the call voice includes steps S1210 to S1230, and will be described in detail as follows:

[0064] In step S1210, frame division processing is performed on the call voice, and voice information of at least one frame is obtained.

[0065] In step S1220, frequency domain transformation is performed on the speech information of each frame to obtain the speech energy spectrum in the frequency domain.

[0066] In step S1230, energy information corresponding to each frequency point in the frequency domain of the speech voice is determined based on the voice energy spectrum.

[0067] In one embodiment of the present invention, the step of performing a frequency domain transform on the speech information of each frame to obtain a frequency domain speech energy spectrum includes performing a Fourier transform (including other time domain to frequency domain transform methods) on the time domain speech information of each frame to obtain a frequency domain speech energy spectrum corresponding to the speech information of each frame.

[0068] In this embodiment, the step of determining energy information corresponding to each frequency point in the frequency domain of the call voice based on the voice energy spectrum in step S1230 includes the steps of performing a modulus determination process on the amplitude corresponding to each frequency point in the voice energy spectrum to obtain an amplitude spectrum corresponding to the voice energy spectrum, and determining the squared value of the amplitude spectrum and performing a logarithmic operation on the squared value to generate energy information corresponding to each frequency point in the frequency domain of the call voice.

[0069] As shown in FIG. 10, in one embodiment of the present invention, frame division processing and window addition processing are performed on the collected time-domain speech, and then an N-point Fourier transform is performed on each frame, and Fourier transform coefficients of the N frequency points obtained by the Fourier transform are calculated, and the modulus is calculated to obtain an amplitude spectrum in the frequency domain, and the obtained amplitude spectrum is squared to obtain a logarithmic energy spectrum, thereby obtaining energy information of the speech at the N frequency points.

[0070] In one embodiment of the present invention, the neural network includes a long short-term memory neural network. In step S130, the step of performing separation processing on the energy information at each frequency point based on the neural network and determining the energy share ratio of each branch voice corresponding to each frequency point at the frequency point includes the steps of inputting the energy information into a preset voice separation model, performing convolution processing based on the long short-term memory neural network, and determining the energy share ratio of each branch voice included in the call voice corresponding to each frequency point at the frequency point.

[0071] In one embodiment of the present invention, the method further includes the following steps in the process of training the speech separation model, as shown in FIG.

[0072] In step S1110, a first speech sample corresponding to a single voice and a second speech sample corresponding to a mixed voice including the single voice are obtained.

[0073] In step S1120, a first speech feature is extracted from the first speech sample, and a second speech feature is extracted from the second speech sample.

[0074] In step S1130, the second speech features are input into a speech separation model constructed based on a long short-term memory artificial neural network, and a predicted speech separated from the second speech features and a corresponding predicted energy occupancy ratio in the second speech sample of the predicted speech are determined.

[0075] In step S1140, parameters of the speech separation model are updated based on a comparison between the actual energy share ratio and the predicted energy share ratio of the first speech sample in the second speech sample.

[0076] In one embodiment of the present invention, a training data set is first constructed to obtain two speech libraries, i.e., a corpus for one person speech and a corpus for multiple people speech. Here, the corpus for one person speech includes a first speech sample corresponding to a single speech, and the corpus for multiple people speech randomly extracts and overlaps multiple segments for one person speech, and then extracts logarithmic energy spectrum features in the speech from each of these two databases by signal pre-processing, and then obtains frequency coefficients of each speech segment through a separation model, and then obtains separated speech by post-processing. In this embodiment, the extracted logarithmic energy spectrum features are input, and the features are input into a separation model consisting of a two-layer long short-term memory network (LSTM) and one output layer to obtain frequency point coefficients.

[0077] In addition, the reason why the LSTM network is used in this embodiment is not only to consider the current input, but also to give the network the memory function of previous content. At the same time, the added input gate, output gate, forget gate and cell state unit in the network structure of this embodiment significantly improve the timing modeling ability of LSTM, which can store more information and effectively grasp the long-term dependency of data.

[0078] In the training of the whole model, the training set contains multi-speakers and single-speakers, and multiple single-speaker voices are used to obtain multi-speaker voices by summing, and the single-speaker can be regarded as a mixture with mute. Here, voice features a are extracted from the mixed voice, and voice features b are extracted from the corresponding clean voice, and the feature vector a is used as the training input, the feature vector b is used as the training target, and the model output is the frequency point coefficients m and n. The separated voice is obtained by post-processing, and the LSTM model is trained with the error between the separated voice and the clean voice, and the parameters in the LSTM model are adjusted to obtain the final separation model, so that the obtained separation model can be more accurate and complete.

[0079] The speech separation model obtained through the above training process can quickly determine multi-speaker scenarios at the frame level in real time, process the speech stream in real time, and map multiple frequency points to multiple labels based on the labels corresponding to each frequency point in the frame, thereby making full use of the speech information and improving the accuracy of scenario detection.

[0080] Furthermore, in this embodiment, the second voice features in step S1130 are input into a voice separation model constructed based on a long short-term memory artificial neural network, and in the process of determining a predicted voice separated from the second voice features, the obtained frequency coefficients are multiplied by the frequency spectrum of the mixed voice, and then through an inverse Fourier transform, the phase of the mixed signal is combined to obtain a separated voice signal.

[0081] In step S140, the step of determining the number of branch voices included in the call voice based on the energy occupancy ratio of each branch voice at each frequency point includes a step of calculating, for each branch voice, an average value of the energy occupancy ratio of the branch voice based on the corresponding energy occupancy ratio of the branch voice at each frequency point, and a step of determining the number of branch voices included in the call voice based on the average value of each branch voice and a predetermined threshold value.

[0082] In one embodiment of the present invention, the collected speech voice consists of multiple frames, and there are multiple frequency points in one frame. The number of frequency points in one frame is f, and F i is the energy occupancy ratio corresponding to the i-th frequency point of a certain speaker, i.e., the frequency point coefficient. By calculating the average value, the average value of the energy occupancy ratio corresponding to the frame of the certain speaker is given as follows:

[0083]

number

[0084] Specifically, in this embodiment, taking two people speaking at the same time as an example, the closer the average value is to 0 or 1, the higher the probability of one person speaking, and the closer it is to 0.5, the higher the probability of two people speaking at the same time. The threshold value is determined according to a specific task. For example, as in an algorithm for extracting a main speaker, in the case of a single person speaking, in order to prevent the algorithm from damaging the voice, it is necessary to determine that the false detection rate of a single speaker is low, and in that case, the threshold value may be set to a value close to 0 or 1.

[0085] As shown in FIG. 12, in an actual conference application scenario, when it is detected that the current number of speakers is multiple, the detected speakers or participants will be displayed on the interface, and according to the instruction of the main speaker setting triggered by the user, one or more of them can be set as the main speakers, and the voices of the remaining people can be filtered out to ensure the speech quality of the conference.

[0086] As shown in FIG. 13, when multiple voice conversations are taking place simultaneously, the conversation control server can allocate more communication resources to a conference with a larger number of speakers, thereby ensuring the quality of the conversation.

[0087] The following describes an embodiment of the device of the present invention that can execute the voice call control method in the above embodiment of the present invention. Note that the device may be a computer program (including program code) executed in a computer device, for example, the device is application software. The device may be used to execute corresponding steps in the method according to the embodiment of the present invention. For details not disclosed in the embodiment of the device of the present invention, reference may be made to the above embodiment of the voice call control method of the present invention.

[0088] FIG. 14 is a block diagram that illustrates a schematic of a voice call control device according to some embodiments of the present invention.

[0089] As shown in FIG. 14, a voice call control device 1400 according to an embodiment of the present invention includes the following units. The acquisition unit 1410 acquires a mixed call voice, and the mixed call voice includes at least one branch voice. The conversion unit 1420 performs a frequency domain conversion on the call voice and determines energy information corresponding to each frequency point in the frequency domain of the call voice. The separation unit 1430 performs a separation process on the energy information at each frequency point based on a neural network and determines an energy occupancy ratio of each corresponding branch voice at each frequency point in all the energy at the frequency point. The number determination unit 1440 determines the number of branch voices included in the call voice based on the energy occupancy ratio of each branch voice at each frequency point. The control unit 1450 sets a control method for the call voice based on the number of branch voices to control the voice call.

[0090] In some embodiments of the present invention, based on the above embodiments, the conversion unit 1420 includes a frame division unit that performs frame division processing on the call voice and acquires voice information of at least one frame, a frequency domain conversion unit that performs frequency domain conversion on the voice information of each frame and acquires a voice energy spectrum in the frequency domain, and an energy determination unit that determines energy information corresponding to each frequency point in the frequency domain of the call voice based on the voice energy spectrum.

[0091] In some embodiments of the present invention, based on the above embodiments, a frequency domain transform unit performs a Fourier transform on the speech information of each frame in the time domain to obtain a frequency domain speech energy spectrum corresponding to the speech information of each frame.

[0092] In some embodiments of the present invention, based on the above embodiments, the energy determination unit performs a modulus calculation process on the amplitude corresponding to each frequency point in the voice energy spectrum, obtains an amplitude spectrum corresponding to the voice energy spectrum, calculates the square value of the amplitude spectrum, and performs a logarithmic operation on the square value to generate energy information corresponding to each frequency point in the frequency domain of the speech voice.

[0093] In some embodiments of the present invention, based on the above embodiments, the neural network includes a long short-term memory neural network. The separation unit 1430 inputs energy information into a pre-defined voice separation model, performs convolution processing based on the long short-term memory neural network, determines the corresponding branch voice at each frequency point, and determines the energy occupancy ratio of each branch voice at each frequency point according to the energy information at each frequency point of the corresponding branch voice at each frequency point.

[0094] In some embodiments of the present invention, based on the above embodiments, the voice call control device 1400 further includes an update unit, which obtains a first voice sample corresponding to a single voice and a second voice sample corresponding to a mixed voice including the single voice, extracts a first voice feature from the first voice sample, extracts a second voice feature from the second voice sample, inputs the second voice feature into a voice separation model constructed based on a long short-term memory artificial neural network, determines a predicted voice separated from the second voice feature and a corresponding predicted energy occupancy ratio in the second voice sample of the predicted voice, and updates parameters of the voice separation model according to a comparison result between the actual energy occupancy ratio and the predicted energy occupancy ratio in the second voice sample of the first voice sample.

[0095] In some embodiments of the present invention, based on the above embodiments, the number determination unit 1440 includes an averaging unit that calculates an average value of the energy share ratio of each branch voice based on the corresponding energy share ratio at each frequency point of the branch voice, and a voice number determination unit that determines the number of branch voices included in the call voice based on the average value of each branch voice and a predetermined threshold value.

[0096] In some embodiments of the present invention, based on the above embodiments, the voice number determination unit includes a first number determination unit that determines that the number of branching voices is multiple if the absolute value of the difference between the average value of each branching voice and a predetermined threshold is smaller than the difference threshold, and a second number determination unit that determines that the number of branching voices is one if the absolute value of the difference between the average value of each branching voice and the predetermined threshold is greater than or equal to the difference threshold.

[0097] In some embodiments of the present invention, the control unit 1450 includes an extraction unit that extracts the voice of the main speaker based on a set voice extraction method.

[0098] In some embodiments of the present invention, based on the above embodiments, the extraction unit recognizes the branched voice corresponding to the maximum value of the energy occupancy ratios as the voice of the main speaker based on the energy occupancy ratios corresponding to each of the multiple branched voices at each frequency point, determines frequency information corresponding to the voice of the main speaker from the energy information, and extracts the voice of the main speaker from the call voice based on the frequency information.

[0099] In some embodiments of the present invention, based on the above embodiments, the number of branched voices includes 1 or at least 2. When the number of branched voices is 1, the control unit 1450 recognizes the echo voice of the branched voice according to the set single talk echo processing method and performs single talk echo elimination on the echo voice, and when the number of branched voices is at least 2, recognizes the echo voices corresponding to the branched voices according to the set double talk echo processing method and performs double talk echo elimination on the echo voice.

[0100] FIG. 15 is a schematic diagram showing the configuration of a computer system capable of realizing an electronic device according to an embodiment of the present invention.

[0101] It should be noted that the computer system 1500 of the electronic device shown in FIG. 15 is merely an example and should not be construed as limiting the functions or scope of use of the embodiments of the present invention.

[0102] As shown in Fig. 15, the computer system 1500 has a central processing unit 1501 (CPU) capable of executing various appropriate operations and processes according to programs stored in a read-only memory (ROM) 1502 and programs loaded from a storage unit 1508 to a random access memory (RAM) 1503. The random access memory 1503 also stores various programs and data necessary for system operation. The central processing unit 1501, the read-only memory 1502, and the random access memory 1503 are connected to each other via a bus 1504. An input / output interface 1505 (input / output interface, i.e., I / O interface) is also connected to the bus 1504.

[0103] An input unit 1506 (including a keyboard, a mouse, etc.), an output unit 1507 (including a display, such as a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.), a storage unit 1508 (including, for example, a hard disk, etc.), and a communication unit 1509 (including, for example, a network interface card, such as a LAN card, a modem, etc.) are connected to the input / output interface 1505. The communication unit 1509 executes communication processing via a network, such as the Internet. If necessary, a driver 1510 may be connected to the input / output interface 1505. The removable medium 1511 is, for example, a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., and is set up in the driver 1510 as necessary, and a computer program read out from the medium is installed in the storage unit 1508 as necessary.

[0104] In particular, according to an embodiment of the present invention, the processes depicted in the flowcharts of the various methods may be implemented as a computer software program. For example, an embodiment of the present invention includes a computer program product including a computer program stored on a computer-readable medium, the computer program including program code for performing the methods depicted in the flowcharts. In such an embodiment, the computer program is downloaded and installed onto a network via the communication unit 1509 and / or installed from a removable medium 1511. When the computer program is executed by the central processing unit (CPU) 1501, various functions specific to the system of the present invention are performed.

[0105] It should be noted that the computer-readable medium shown in the embodiment of the present invention may be a computer-readable signal medium, a computer-readable storage medium, or any combination thereof. The computer-readable storage medium may be, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of the computer-readable storage medium include, but are not limited to, an electrical connection having one or more leads, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present invention, the computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in combination with an instruction execution system, apparatus, or device. In the present invention, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave on which computer-readable program code is carried. Such propagated data signals may be in 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 be any computer-readable medium other than a computer-readable storage medium, which may transmit, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted in any suitable medium, including but not limited to wireless, wired, etc., or any suitable combination of the above.

[0106] In one aspect of an embodiment of the present invention, there is provided a computer program product or computer program comprising computer instructions stored on a computer-readable storage medium, the computer program product or computer program causing a processor of a computing device to read the computer instructions from the computer-readable storage medium and execute the computer instructions, thereby causing the computing device to perform a method according to each of the above aspects.

[0107] In another aspect, the present invention further provides a computer-readable medium, which may be included in the electronic device described in the above embodiment, may exist separately, or may not be integrated into the electronic device. The computer-readable medium holds one or more programs, which, when executed by an electronic device, cause the electronic device to perform the method described in the above embodiment.

[0108] It should be understood that the present application is not limited to the precise configurations described above and shown in the drawings, and various modifications and variations are possible without departing from the scope of the present application, which is limited only by the scope of the appended claims.

Claims

1. A method for controlling a voice call executed by a server, comprising: obtaining a mixed speech voice, the mixed speech voice including at least one branching voice; performing a frequency domain transformation on the speech voice to determine energy information corresponding to each frequency point in the frequency domain of the speech voice; performing a separation process on the energy information at each frequency point based on a neural network, and determining an energy occupancy ratio of each branch voice corresponding to each frequency point in all the energies at the frequency point; determining the number of branch voices included in the call voice based on the energy occupancy ratio of each branch voice at each frequency point; and controlling the voice call by setting a control method for the voice call based on the number of the voice branches.

2. The step of performing a frequency domain transformation on the speech voice and determining energy information corresponding to each frequency point in the frequency domain of the speech voice includes: performing frame division processing on the call voice to obtain voice information of at least one frame; performing a frequency domain transform on the speech information for each frame to obtain a frequency domain speech energy spectrum; and determining energy information corresponding to each frequency point in a frequency domain of the speech audio based on the audio energy spectrum.

3. performing a frequency domain transform on the speech information of each frame to obtain a frequency domain speech energy spectrum; 3. The method of claim 2, comprising performing a Fourier transform on the speech information for each frame in the time domain to obtain a frequency domain speech energy spectrum corresponding to the speech information for each frame.

4. The step of determining energy information corresponding to each frequency point in a frequency domain of the speech voice based on the speech energy spectrum includes: performing a modulus calculation process on the amplitudes corresponding to each frequency point in the speech energy spectrum to obtain an amplitude spectrum corresponding to the speech energy spectrum; 4. The method of claim 2, further comprising the steps of: calculating a square value of the amplitude spectrum; and performing a logarithmic operation on the square value to generate energy information corresponding to each frequency point in the frequency domain of the speech voice.

5. the neural network includes a long short-term memory neural network; The step of performing a separation process on the energy information at each frequency point based on a neural network, and determining an energy occupancy ratio of each branch voice corresponding to each frequency point in all the energies of the frequency point, inputting the energy information into a pre-defined speech separation model, and performing a convolution process based on a long short-term memory neural network to determine corresponding branching speech at each frequency point; A method according to any one of claims 1 to 4, further comprising: determining an energy occupancy ratio of each of the branch voices at each frequency point based on energy information at the frequency point of the corresponding branch voice at each frequency point.

6. obtaining a first speech sample corresponding to a single speech and a second speech sample corresponding to a mixed speech including the single speech; extracting first speech features from the first speech sample and second speech features from the second speech sample; inputting the second speech features into a speech separation model constructed based on a long short-term memory artificial neural network, and determining a predicted speech separated from the second speech features and a corresponding predicted energy occupancy ratio of the predicted speech in the second speech sample; 6. The method of claim 5, further comprising: updating parameters of the speech separation model based on a comparison result between an actual energy share of the first speech sample and the predicted energy share of the second speech sample.

7. The step of determining the number of branch voices included in the call voice based on the energy occupancy ratio of each branch voice at each frequency point includes: calculating an average value of the energy occupancy ratio of each branch voice based on a corresponding energy occupancy ratio at each frequency point of the branch voice; The method according to claim 5 or 6, further comprising: determining a number of branch voices included in the call voice based on the average value of each branch voice and a predetermined threshold value.

8. The step of determining the number of branch voices included in the telephone call voice based on the average value of each branch voice and a predetermined threshold value, determining that the number of branching voices is more than one when an absolute value of a difference between the average value of each branching voice and the predetermined threshold is smaller than a difference threshold; The method according to claim 7 , further comprising: determining that the number of branching voices is one if an absolute value of a difference between the average value of each branching voice and the predetermined threshold is equal to or greater than the difference threshold.

9. When it is determined that the number of branch voices is a plurality of voices, the step of controlling the voice call by setting a control method for the voice call based on the number of branch voices includes:

9. The method according to claim 1, further comprising the step of: extracting the voice of the dominant speaker based on a set voice extraction method.

10. When it is determined that the number of branch voices is plural, the step of extracting the voice of the main speaker based on the set voice extraction method includes: Based on the energy occupancy ratios corresponding to each of a plurality of branch voices at each frequency point, recognizing the branch voice corresponding to the maximum value of the energy occupancy ratios as the voice of the main speaker; determining frequency information corresponding to the dominant speaker's voice from the energy information; and extracting the voice of the dominant speaker from the call audio based on the frequency information.

11. The number of branching voices includes one or at least two, The step of controlling the voice call by setting a control method for the voice call based on the number of the branched voices includes: When the number of the branched voices is one, recognizing an echo voice of the branched voice based on a set echo processing method of single talk, and performing single talk echo elimination on the echo voice; 11. The method according to claim 1, further comprising: when the number of branching voices is at least two, recognizing each of the echo voices corresponding to the branching voices based on a set double-talk echo processing method, and performing double-talk echo cancellation on the echo voices.

12. A voice call control device, An acquisition unit for acquiring a mixed call voice, the mixed call voice including at least one branch voice; a transform unit that performs a frequency domain transform on the call voice and determines energy information corresponding to each frequency point in the frequency domain of the call voice; a separation unit that performs separation processing on the energy information at each frequency point based on a neural network, and determines an energy occupancy ratio of each branch voice corresponding to each frequency point in all energies at the frequency point; a number determination unit that determines the number of branch voices included in the call voice based on the energy occupancy ratio of each branch voice at each frequency point; A control unit that sets a control method for voice communication based on the number of voice branches and controls the voice communication.

13. A computer program product which, when executed by a processor, implements the method for controlling a voice call according to any one of claims 1 to 11.

14. one or more processors; A storage device that stores one or more programs, 12. An electronic device, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the voice call control method according to any one of claims 1 to 11.

Citation Information

Patent Citations

  • Sound collecting device

    JP2010066506A

  • Sound-source separation device, and method and program thereof

    JP2012173584A

  • Voice processing unit, voice processing method and program

    JP2018205449A

  • Signal processing device, learning device, signal processing method, learning method and program

    JP2020134657A

  • Information processing device, program and information processing method

    WO2020110228A1