Audio processing method and device for multi-party call service, equipment and storage medium

By judging changes in active participants and performing voice fade-in and fade-out operations, combined with encoder switching and cloning technology, the problem of voice quality degradation and high resource consumption in multi-party calls is solved, achieving smooth voice transmission and a stable multi-party call experience.

CN118590475APending Publication Date: 2024-09-03CETC CYBERSPACE SECURITY TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410766222.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

Existing multi-party call technology can cause voice quality to decline or be interrupted when the set of participants changes, and the cost of maintaining the encoder is high, making it impossible to effectively guarantee the mixed voice quality of each participant.

Method used

By judging changes in active participants, perform voice fade-in and fade-out operations, and use encoder switching and cloning technology to smoothly process participants' voice signals, ensuring that each participant receives continuous voice signals, reducing the number of encoders and reducing resource consumption. .

Benefits of technology

In multi-party calls, it achieves smooth changes and stable transmission of each participant's voice quality, reduces the consumption of server encoding resources, avoids noise and interruption problems, and does not need to modify the participants' clients.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118590475A
    Figure CN118590475A
Patent Text Reader

Abstract

The invention discloses an audio processing method and device for a multi-party call service, equipment and a storage medium, and relates to the technical field of voice communication, and the method comprises the steps: judging whether active participants in all user sides participating in the current call service change or not; if the voice active person changes, determining a newly added active participant and a quit active participant; the newly-added active participant is a user side whose voice decibel value is increased from lower than the preset decibel value to higher than the preset decibel value, and performing voice fade-in operation on the newly-added active participant in a first encoder to obtain a first output audio containing a voice signal of the newly-added active participant, performing a voice fade-out operation on the active quit participant at a second encoder to obtain a second output audio which does not contain a voice signal of the active quit participant; and respectively outputting the first output audio and the second output audio to the user side. Therefore, the quality of voice communication can be ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of voice communication technology, and in particular to an audio processing method, device, equipment and storage medium for a multi-party call service. Background Art

[0002] VoIP (Voice over Internet Protocol) is a technology for conducting voice calls over the internet. VoIP works by digitizing, compressing, and encrypting voice signals for transmission over the network. Then, it decrypts and decodes the digital signals, converting them back into audio for the caller to hear. In real life, we often encounter multi-person meetings to discuss issues. Applying this concept to wireless mobile communication networks creates multi-party calling, allowing multiple participants, including more than two, to communicate and talk in real time. At any given moment, everyone in a multi-party call can hear what everyone else is saying. Multi-party calls are typically mixed on a server, which receives the voice of each participant, decodes it, detects active participants, mixes the audio, encodes it, and transmits it to the appropriate participants.

[0003] A multi-party call typically has N participants. To ensure the quality of the mixed voice, the voices of a maximum of M participants are mixed at any one time, where N is greater than M. The set of mixed participants, M, changes dynamically. Current mixing technologies require maintaining N encoders simultaneously to ensure that each participant receives correctly mixed and encoded voice, which is extremely costly. Another approach involves using only M encoders. When the set of mixed participants, M, changes, some participants will receive the output of a different encoder. Due to the jump in encoding modes and parameters, errors will occur during decoding of the voices of these participants, resulting in degraded voice quality. Participants will experience noise or interruptions. Therefore, ensuring the quality of the mixed voice for each participant is a critical issue. Summary of the Invention

[0004] In view of this, the purpose of the present invention is to provide an audio processing method, apparatus, device, and storage medium for multi-party call services, which can ensure the mixed voice quality of each participant in a multi-party call scenario. The specific solution is as follows:

[0005] In a first aspect, the present application discloses an audio processing method for a multi-party call service, comprising:

[0006] Determine whether an active participant among all user terminals participating in the current call service has changed; the active participant is a user terminal whose voice decibel value is greater than a preset decibel value;

[0007] If the voice active participant changes, a newly added active participant and a withdrawn active participant are determined respectively; the newly added active participant is a user terminal whose voice decibel level increases from below the preset decibel level to above the preset decibel level, and the withdrawn active participant is a user terminal whose voice decibel level decreases from above the preset decibel level to below the preset decibel level;

[0008] Performing a voice fade-in operation on the newly added active participant in the first encoder to obtain a first output audio including a voice signal of the newly added active participant, and performing a voice fade-out operation on the exiting active participant in the second encoder to obtain a second output audio excluding the voice signal of the exiting active participant;

[0009] The first output audio and the second output audio are respectively output to the corresponding user terminals.

[0010] Optionally, before the first encoder performs a voice fade-in operation on the newly added active participant to obtain a first output audio including the voice signal of the newly added active participant, and the second encoder performs a voice fade-out operation on the exiting active participant to obtain a second output audio excluding the voice signal of the exiting active participant, the method further includes:

[0011] Cloning an original encoder that simultaneously receives the voice audio of the exiting active participant and the regular active participant to obtain a target encoder; the regular active participant is a user terminal whose voice decibel value is higher than the preset decibel value;

[0012] While establishing a connection between the speech output terminal of the target encoder and the newly added active participant, the speech output terminal of the original encoder that receives the speech audio of the exiting active participant and the regular active participant is disconnected from the newly added active participant.

[0013] Optionally, the first encoder is the original encoder.

[0014] Optionally, the second encoder is an encoder among all encoders that receives the voice signal of the participant who has exited the active state; and all encoders include the original encoder and the target encoder.

[0015] Optionally, performing a voice fade-in operation on the newly added active participant in the first encoder to obtain a first output audio including a voice signal of the newly added active participant, and simultaneously performing a voice fade-out operation on the exiting active participant in the second encoder to obtain a second output audio not including a voice signal of the exiting active participant, includes:

[0016] In the first encoder, a voice fade-in operation is performed on the newly added active participant to obtain a first audio code containing the voice signal of the newly added active participant. At the same time, in the second encoder, a voice fade-out operation is performed on the exiting active participant to obtain a second audio code that does not contain the voice signal of the exiting active participant.

[0017] Performing a state merging operation on encoders receiving the same speech signal among all encoders to obtain a processed first encoder and a processed second encoder;

[0018] The first and second audio codes are converted using the first and second encoders respectively to obtain the first and second output audio.

[0019] Optionally, performing a state merging operation on encoders receiving the same speech signal among all encoders to obtain a processed first encoder and a processed second encoder includes:

[0020] The internal parameters of encoders receiving the same speech signal among all encoders are converged by a preset parameter interpolation method to obtain a processed first encoder and a processed second encoder.

[0021] Optionally, the step of using the processed first encoder and the processed second encoder to convert the first audio codec and the second audio codec respectively to obtain the first output audio and the second output audio includes:

[0022] The first and second processed encoders are used to decrypt and decode the first and second audio codes respectively to obtain the first and second output audio.

[0023] In a second aspect, the present application discloses an audio processing device for a multi-party call service, comprising:

[0024] The participant determination module is used to determine whether there has been a change in the active participants among all user terminals participating in the current call service; the active participants are user terminals whose voice decibel value is greater than a preset decibel value;

[0025] The participant determination module is used to determine newly added active participants and withdrawn active participants respectively if the voice active participants change; the newly added active participants are users whose voice decibel value increases from below the preset decibel value to above the preset decibel value, and the withdrawn active participants are users whose voice decibel value decreases from above the preset decibel value to below the preset decibel value.

[0026] an audio processing module, configured to perform a voice fade-in operation on the newly added active participant in a first encoder to obtain a first output audio including a voice signal of the newly added active participant, and simultaneously perform a voice fade-out operation on the exiting active participant in a second encoder to obtain a second output audio excluding a voice signal of the exiting active participant;

[0027] The audio output module is used to output the first output audio and the second output audio to the corresponding user terminal respectively.

[0028] Thirdly, this application discloses an electronic device, including:

[0029] Memory, used to store computer programs;

[0030] The processor is configured to execute the computer program to implement the aforementioned audio processing method for the multi-party call service.

[0031] In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program, which implements the aforementioned audio processing method for the multi-party call service when executed by a processor.

[0032] As can be seen, in this application, first determine whether the active participants in all user terminals participating in the current call service have changed; the active participants are user terminals whose voice decibel values ​​are greater than a preset decibel value; if the voice active participants have changed, then determine the newly added active participants and the exited active participants; the newly added active participants are user terminals whose voice decibel values ​​increase from below the preset decibel value to above the preset decibel value, and the exited active participants are user terminals whose voice decibel values ​​decrease from above the preset decibel value to below the preset decibel value; in the first encoder, a voice fade-in operation is performed on the newly added active participants to obtain a first output audio containing the voice signal of the newly added active participants, and at the same time, a voice fade-out operation is performed on the exited active participants in the second encoder to obtain a second output audio that does not contain the voice signal of the exited active participants; the first output audio and the second output audio are respectively output to the corresponding user terminals. In this way, when the participant with voice activity changes during a multi-party call, through smooth mixing and switching of encoders, each participant in the multi-party call can receive smoothly changing voice. Moreover, during the entire process, only the switching of encoders is involved, and no modifications are required to the clients of the multi-party call participants. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are merely embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0034] Figure 1 This is a flowchart of an audio processing method for a multi-party call service disclosed in this application;

[0035] Figures 2 to 5 This application discloses a flowchart of an audio processing method for a specific multi-party call service.

[0036] Figure 6 This is a schematic diagram of the audio processing device for a multi-party call service disclosed in this application;

[0037] Figure 7 This is a structural diagram of an electronic device disclosed in this application. DETAILED DESCRIPTION

[0038] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0039] Current audio mixing technology involves maintaining N encoders simultaneously to ensure that every participant receives correctly mixed and encoded audio, which is extremely costly. Another approach involves using only M encoders. When the set of M audio mixing participants changes, some participants will receive the output of a different encoder. Due to the jump in encoding modes and parameters, errors will occur during audio decoding for these participants, resulting in degraded audio quality and noise or interruptions. Therefore, this application specifically introduces an audio processing method for stable multi-party call services.

[0040] See also Figure 1 As shown in the figure, this application discloses an audio processing method for multi-party call services, including:

[0041] Step S11: Determine whether there has been a change in the active participants among all user terminals participating in the current call service; the active participants are user terminals whose voice decibel value is greater than a preset decibel value.

[0042] In this embodiment, a determination is made as to whether the active participant among all the user terminals participating in the current call service has changed; an active participant is a user terminal whose voice decibel level exceeds a preset decibel level. That is, the voice decibel levels of all the user terminals participating in the current call service are monitored throughout the multi-party call. If the voice decibel level of a user terminal exceeds the preset decibel level, it indicates that the current user terminal is speaking and can be determined as an active participant. Determining whether the active participant among all the user terminals participating in the current call service has changed refers to determining whether the user terminal currently speaking has changed.

[0043] Step S12: If the voice active user changes, then determine the newly added active user and the withdrawn active user respectively; the newly added active user is the user whose voice decibel value increases from below the preset decibel value to above the preset decibel value, and the withdrawn active user is the user whose voice decibel value decreases from above the preset decibel value to below the preset decibel value.

[0044] In this embodiment, a user terminal whose voice decibel level increases from below a preset decibel level to above the preset decibel level is determined as a newly added active participant, and a user terminal whose voice decibel level decreases from above the preset decibel level to below the preset decibel level is determined as a withdrawn active participant. The newly added active participant is a newly added speaker. Since the disappearance of speech is a process of gradually decreasing voice decibel levels, the determination of newly added active participants and withdrawn active participants is based on the change in voice decibel levels.

[0045] Step S13: Perform a voice fade-in operation on the newly added active participant in the first encoder to obtain a first output audio containing the voice signal of the newly added active participant, and at the same time perform a voice fade-out operation on the exiting active participant in the second encoder to obtain a second output audio that does not contain the voice signal of the exiting active participant.

[0046] In this embodiment, before the first encoder performs a voice fade-in operation on the newly added active participant to obtain a first output audio containing the voice signal of the newly added active participant, and the second encoder performs a voice fade-out operation on the exiting active participant to obtain a second output audio that does not contain the voice signal of the exiting active participant, the method further includes: cloning the original encoder that simultaneously receives the voice audio of the exiting active participant and the regular active participant to obtain a target encoder; the regular active participant is a user terminal whose voice decibel value is higher than the preset decibel value; while establishing a connection between the voice output end of the target encoder and the newly added active participant, the voice output end of the original encoder that receives the voice audio of the exiting active participant and the regular active participant is disconnected from the newly added active participant. That is, after determining the newly added active participant and the exited active participant, it is necessary to first clone the original encoder that receives the voice audio of the exited active participant and the regular active participant to obtain a target encoder, so that the target encoder is used to receive the voice audio of the exited active participant and the regular active participant, and establish a connection between the voice of the voice audio and the newly added active participant. At this time, the voice output end of the original encoder that receives the voice audio of the exited active participant and the regular active participant is disconnected from the newly added active participant.

[0047] In this embodiment, the first encoder performs a voice fade-in operation on the newly added active participant to obtain a first output audio signal containing the voice signal of the newly added active participant, and the second encoder performs a voice fade-out operation on the exiting active participant to obtain a second output audio signal that does not contain the voice signal of the exiting active participant. It should be noted that the first encoder is the original encoder; the number of original encoders can be set according to actual conditions. The second encoder is the encoder among all encoders that receives the voice signal of the exiting active participant; all encoders include the original encoder and the target encoder.

[0048] In this embodiment, the step of performing a voice fade-in operation on the newly added active participant in the first encoder to obtain a first output audio signal containing the voice signal of the newly added active participant, and simultaneously performing a voice fade-out operation on the exiting active participant in the second encoder to obtain a second output audio signal excluding the voice signal of the exiting active participant, includes: performing a voice fade-in operation on the newly added active participant in the first encoder to obtain a first audio code containing the voice signal of the newly added active participant, and simultaneously performing a voice fade-out operation on the exiting active participant in the second encoder to obtain a second audio code excluding the voice signal of the exiting active participant; performing a state merging operation on encoders receiving the same voice signal in all encoders to obtain a processed first encoder and a processed second encoder; and using the processed first encoder and the processed second encoder to convert the first audio code and the second audio code respectively to obtain a first output audio signal and a second output audio signal. The step of performing a state merging operation on encoders receiving the same voice signal in all encoders to obtain the processed first encoder and the processed second encoder includes: converging the internal parameters of the encoders receiving the same voice signal in all encoders using a preset parameter interpolation method to obtain the processed first encoder and the processed second encoder. It should be noted that the preset parameter interpolation method includes but is not limited to encoder parameter interpolation. The method of using the processed first encoder and the processed second encoder to convert the first audio code and the second audio code to obtain the first output audio and the second output audio includes: using the processed first encoder and the processed second encoder to decrypt and decode the first audio code and the second audio code to obtain the first output audio and the second output audio. VoIP network telephones digitize, compress, encode, encrypt and package voice signals, transmit them over a network, and then decrypt and decode them to restore the digital signals to sound so that the other party can hear them. Therefore, after obtaining the corresponding audio, each encoder needs to digitize, compress, encode, encrypt and package them, transmit them over a network, and then decrypt and decode them to restore the digital signals to sound to obtain the first output audio and the second output audio.

[0049] Step S14: outputting the first output audio and the second output audio to the corresponding user terminals respectively.

[0050] As can be seen, in this embodiment, it is first determined whether there has been a change in the active participant among all user terminals participating in the current call service; the active participant is a user terminal whose voice decibel level is greater than a preset decibel value; if the active participant has changed, a new active participant and a withdrawn active participant are determined; the new active participant is a user terminal whose voice decibel level increases from below the preset decibel value to above the preset decibel value, and the withdrawn active participant is a user terminal whose voice decibel level decreases from above the preset decibel value to below the preset decibel value; the first encoder performs a voice fade-in operation on the new active participant to obtain a first output audio signal containing the voice signal of the new active participant, and the second encoder performs a voice fade-out operation on the withdrawn active participant to obtain a second output audio signal excluding the voice signal of the withdrawn active participant; the first output audio signal and the second output audio signal are respectively output to the corresponding user terminal. In this way, when the voice active participant changes during a multi-party call, smooth mixing and encoder switching ensure that each multi-party participant receives smoothly changing voice. Moreover, during the entire process, only the switching of encoders is involved, and no modifications are required to the clients of the multi-party call participants.

[0051] like Figure 2 As shown, this solution provides an example of 5 participants, selecting 2 active participants for mixing. There are 5 participants in this multi-party call: numbered N1 to N5, and the active participants with current voice activity are N1 and N2. At this time, there are 3 encoders E1, E2, and E3 working. E1 encodes N2's voice, E2 encodes N1's voice, and E3 encodes the mixed voices of N1 and N2. Participant N1 receives the voice encoded by E1, N2 receives the voice encoded by E2, and N3 to N5 receive the voice encoded by E3. Among them, E1, E2, and E3 are the original encoders. As shown Figure 3 As shown, when the active participants in the voice activity become N1 and N3, the input of encoder E1 becomes a mixture of N2 voice fading out and N3 voice fading in, and the output remains unchanged and is still sent to N1; the input of encoder E2 becomes a mixture of N1 voice and N3 voice fading in, and the output remains unchanged and is still sent to N2; the input of encoder E3 becomes a mixture of N1 voice, N2 voice fading out and N3 voice fading in, and the output is sent to N4 and N5; a new encoder E4 is added, whose internal state is directly cloned from E3, and the input becomes a mixture of N1 voice and N2 voice fading out, and the output is sent to N3. It should be noted that E4 is the target encoder obtained by cloning E3. Figure 4As shown, after the speech fade-in / fade-out ends, the inputs to encoders E2 and E3 are a mixture of N1 and N3 speech. This stage continues until the internal parameters of encoders E2 and E3 converge to a uniformity. Interpolation of encoder parameters can be used to accelerate convergence. For example... Figure 5 As shown, the output of encoder E3 is sent to N2, N4, and N5, releasing the resources of encoder E2. At this point, the smooth switching of voice is completed.

[0052] This allows for smooth mixing and encoder switching during multi-party calls when the participants in the voice activity change, and reduces the server's encoding resource consumption.

[0053] refer to Figure 6 The embodiment of the present application further discloses an audio processing device for a multi-party call service, including:

[0054] The participant determination module 11 is used to determine whether the active participants among all user terminals participating in the current call service have changed; the active participants are user terminals whose voice decibel values ​​are greater than a preset decibel value.

[0055] A participant determination module 12 is configured to determine a newly added active participant and a withdrawn active participant if the voice active participant changes; a newly added active participant is a user terminal whose voice decibel level increases from below the preset decibel level to above the preset decibel level, and a withdrawn active participant is a user terminal whose voice decibel level decreases from above the preset decibel level to below the preset decibel level;

[0056] The audio processing module 13 is used to perform a voice fade-in operation on the newly added active participant in the first encoder to obtain a first output audio containing the voice signal of the newly added active participant, and at the same time, to perform a voice fade-out operation on the exiting active participant in the second encoder to obtain a second output audio that does not contain the voice signal of the exiting active participant.

[0057] The audio output module 14 is configured to output the first output audio and the second output audio to the corresponding user terminal respectively.

[0058] As can be seen, in this embodiment, during multi-party calls, when the participants in the voice activity change, smooth mixing and encoder switching ensure that each participant in the multi-party call receives a smoothly changing voice. Furthermore, the entire process involves only encoder switching and does not require any modifications to the clients of the multi-party call participants.

[0059] In some specific embodiments, the audio processing device for the multi-party call service may further include:

[0060] An encoder cloning module is configured to clone an original encoder that simultaneously receives the voice audio of the exiting active participant and the regular active participant to obtain a target encoder; the regular active participant is a user terminal whose voice decibel value is higher than the preset decibel value;

[0061] The connection establishment module is configured to establish a connection between the speech output end of the target encoder and the newly added active participant, and simultaneously disconnect the speech output end of the original encoder that receives the speech audio of the exiting active participant and the regular active participant from the newly added active participant.

[0062] In some specific embodiments, the audio processing module 13 may specifically include:

[0063] an audio switching unit, configured to perform a voice fade-in operation on the newly added active participant in the first encoder to obtain a first audio code containing the voice signal of the newly added active participant, and simultaneously perform a voice fade-out operation on the exiting active participant in the second encoder to obtain a second audio code not containing the voice signal of the exiting active participant;

[0064] An encoder merging submodule, configured to perform a state merging operation on encoders receiving the same speech signal among all encoders to obtain a processed first encoder and a processed second encoder;

[0065] The encoding conversion submodule is used to use the processed first encoder and the processed second encoder to convert the first audio code and the second audio code respectively to obtain a first output audio and a second output audio.

[0066] In some specific embodiments, the encoder merging submodule may specifically include:

[0067] The parameter convergence unit is used to converge the internal parameters of encoders receiving the same speech signal among all encoders through a preset parameter interpolation method to obtain a processed first encoder and a processed second encoder.

[0068] In some specific embodiments, the encoding conversion submodule may specifically include:

[0069] The encoding and decryption unit is used to use the processed first encoder and the processed second encoder to decrypt and decode the first audio code and the second audio code respectively to obtain a first output audio and a second output audio.

[0070] Furthermore, the embodiment of the present application also discloses an electronic device, Figure 7This is a structural diagram of an electronic device 20 according to an exemplary embodiment. The content of the diagram should not be construed as limiting the scope of this application.

[0071] Figure 7 This is a schematic diagram of the structure of an electronic device 20 provided in an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps of the audio processing method for a multi-party call service disclosed in any of the aforementioned embodiments. Furthermore, the electronic device 20 in this embodiment may specifically be an electronic computer.

[0072] In this embodiment, the power supply 23 is used to provide operating voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device. The communication protocol it follows is any communication protocol that can be applied to the technical solution of this application and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world. Its specific interface type can be selected according to specific application needs and is not specifically limited here.

[0073] In addition, the memory 22, as a carrier for resource storage, can be a read-only memory, random access memory, disk or optical disk, etc. The resources stored thereon can include operating system 221, computer program 222, etc., and the storage method can be temporary storage or permanent storage.

[0074] The operating system 221 is used to manage and control the hardware devices on the electronic device 20 and the computer program 222. The operating system 221 can be Windows Server, NetWare, Unix, Linux, etc. In addition to including a computer program capable of implementing the audio processing method for the multi-party call service performed by the electronic device 20 as disclosed in any of the aforementioned embodiments, the computer program 222 can further include computer programs capable of performing other specific tasks.

[0075] Furthermore, this application also discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, it implements the aforementioned audio processing method for multi-party call services. Specific steps of this method can be found in the corresponding content disclosed in the foregoing embodiments, and will not be repeated here.

[0076] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from the other embodiments. Reference can be made to the descriptions of the identical or similar parts between the various embodiments. For the devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the descriptions are relatively simple, and the relevant parts can be referred to the descriptions of the methods.

[0077] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0078] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0079] Finally, it should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or device comprising the element.

[0080] The above is a detailed introduction to the technical solution provided by the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of ​​the present application. At the same time, for those skilled in the art, according to the idea of ​​the present application, there may be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. An audio processing method for a multi-party call service, It is characterized in that include: Determine whether there is a change in active participants among all user terminals participating in the current call service; The active participant is a user terminal whose voice decibel value is greater than a preset decibel value; If the voice active participant changes, a newly added active participant and a withdrawn active participant are determined respectively; the newly added active participant is a user terminal whose voice decibel value increases from lower than the preset decibel value to higher than the preset decibel value, and the withdrawn active participant is a user terminal whose voice decibel value decreases from higher than the preset decibel value to lower than the preset decibel value; Performing a voice fade-in operation on the newly added active participant in the first encoder to obtain a first output audio including a voice signal of the newly added active participant, and performing a voice fade-out operation on the exiting active participant in the second encoder to obtain a second output audio not including the voice signal of the exiting active participant; The first output audio and the second output audio are output to the corresponding user terminal respectively.

2. The audio processing method for multi-party call service according to claim 1, It is characterized in that Before the first encoder performs a voice fade-in operation on the newly added active participant to obtain a first output audio containing the voice signal of the newly added active participant, and the second encoder performs a voice fade-out operation on the exiting active participant to obtain a second output audio not containing the voice signal of the exiting active participant, the method further includes: The original encoder that simultaneously receives the voice audio of the exiting active participant and the regular active participant is cloned to obtain a target encoder; the regular active participant is a user terminal whose voice decibel value is higher than the preset decibel value; While establishing a connection between the speech output terminal of the target encoder and the newly added active participant, the speech output terminal of the original encoder that receives the speech audio of the exiting active participant and the regular active participant is disconnected from the newly added active participant.

3. The audio processing method for multi-party call service according to claim 2, It is characterized in that The first encoder is the original encoder.

4. The audio processing method for multi-party call service according to claim 3, It is characterized in that The second encoder is an encoder among all encoders that receives the speech signal of the participant who has withdrawn from the active state; the all encoders include the original encoder and the target encoder.

5. The audio processing method for a multi-party call service according to any one of claims 1 to 4, It is characterized in that The method of performing a voice fade-in operation on the newly added active participant in the first encoder to obtain a first output audio including a voice signal of the newly added active participant, and performing a voice fade-out operation on the exiting active participant in the second encoder to obtain a second output audio not including a voice signal of the exiting active participant, comprises: Performing a voice fade-in operation on the newly added active participant in the first encoder to obtain a first audio code including a voice signal of the newly added active participant, and performing a voice fade-out operation on the exiting active participant in the second encoder to obtain a second audio code not including a voice signal of the exiting active participant; Performing a state merging operation on encoders receiving the same speech signal among all encoders to obtain a processed first encoder and a processed second encoder; The first audio code and the second audio code are converted and processed by the processed first encoder and the processed second encoder respectively to obtain a first output audio and a second output audio.

6. The audio processing method for multi-party call service according to claim 5, It is characterized in that The step of performing a state merging operation on encoders among all encoders that receive the same speech signal to obtain a processed first encoder and a processed second encoder comprises: The internal parameters of encoders receiving the same speech signal in all encoders are converged to be consistent through a preset parameter interpolation method to obtain a processed first encoder and a processed second encoder.

7. The audio processing method for multi-party call service according to claim 5, It is characterized in that The using the processed first encoder and the processed second encoder to convert the first audio code and the second audio code respectively to obtain a first output audio and a second output audio includes: The first audio code and the second audio code are decrypted and decoded by using the processed first encoder and the processed second encoder to obtain a first output audio and a second output audio respectively.

8. An audio processing device for a multi-party call service, It is characterized in that include: A participant determination module is used to determine whether active participants among all user terminals participating in the current call service have changed; The active participant is a user terminal whose voice decibel value is greater than a preset decibel value; A participant determination module is used to determine a newly added active participant and a withdrawn active participant respectively if the voice active participant changes; the newly added active participant is a user terminal whose voice decibel value increases from lower than the preset decibel value to higher than the preset decibel value, and the withdrawn active participant is a user terminal whose voice decibel value decreases from higher than the preset decibel value to lower than the preset decibel value; an audio processing module, configured to perform a voice fade-in operation on the newly added active participant in a first encoder to obtain a first output audio including a voice signal of the newly added active participant, and simultaneously perform a voice fade-out operation on the exiting active participant in a second encoder to obtain a second output audio not including a voice signal of the exiting active participant; The audio output module is used to output the first output audio and the second output audio to the corresponding user terminal respectively.

9. An electronic device, It is characterized in that include: Memory, used to store computer programs; A processor, configured to execute the computer program to implement the audio processing method for a multi-party call service as claimed in any one of claims 1 to 7.

10. A computer-readable storage medium, It is characterized in that Used to store a computer program, which, when executed by a processor, implements the audio processing method for a multi-party call service as claimed in any one of claims 1 to 7.

Citation Information

Cited By

  • Three-redundancy angle extraction method based on SADA photoelectric encoder

    CN121540193A

  • A three-redundancy angle extraction method based on SADA photoelectric encoder

    CN121540193B