A noise processing method and device for instant messaging system based on AIGC
By adopting AIGC-based terminal-network integration noise reduction technology in the instant messaging system, and combining the terminal-side and network-side noise reduction models, the problem of unsatisfactory noise processing in the existing technology is solved, and more efficient noise suppression and Sound quality protection improves user experience.
Patent Information
- Application Number
- CN202410741720.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-11
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-06-11
AI Technical Summary
When existing instant messaging systems deal with complex and changeable noise environments, the noise reduction effect is not ideal, and conventional noise reduction technology has a single function and cannot adapt to complex environments. It may sacrifice sound quality and reduce user experience.
Using AIGC-based noise processing method, the terminal side and network side combine the preset machine learning algorithm and noise reduction model, through the combination of primary signal processing and secondary signal processing, realize the noise reduction technology of terminal network integration and improve the communication signal noise reduction effect.
It improves the noise reduction processing effect of communication signals, improves communication quality, adapts to complex environmental noise, maintains sound quality, and enhances user experience.
Smart Images

Figure CN118316900B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a noise processing method and device for an instant messaging system based on AIGC. Background Art
[0002] In the current instant messaging system, due to various interferences in the signal transmission process and the terminal side of the receiving signal, the final received signal is generally noisy, which seriously reduces the communication quality and user experience of the instant messaging system. Although the prior art has developed a series of corresponding noise reduction technologies, they are not ideal when dealing with complex and changeable noise environments. In the existing instant messaging system, the common voice noise reduction technology is mainly configured in the terminal for internal processing. The noise reduction methods mainly include: filtering processing based on linear filters, spectral subtraction, real-time noise reduction algorithm based on statistical models, subspace algorithm, frequency domain noise reduction algorithm, time domain noise reduction algorithm, wavelet domain noise reduction algorithm, Kalman filtering algorithm, statistical noise reduction method, spatial domain noise reduction algorithm, etc.
[0003] However, although there are various algorithms for realizing noise reduction of communication signals, each noise reduction algorithm has its corresponding limitations and cannot adapt to the signal transmission and noise reduction requirements of the current instant messaging system. In addition, there are still some common shortcomings for noise reduction devices, such as single function and inability to adapt to complex and changeable environmental noise; or poor noise reduction effect, which may sacrifice sound quality while reducing noise, resulting in reduced restoration of music and voice; or insufficient comfort, wearing noise reduction equipment for a long time may cause discomfort and reduce user experience. It can be seen that in view of the noise reduction problems existing in existing instant messaging systems, it is particularly important to provide a method to improve communication quality and noise reduction effect. Summary of the invention
[0004] The present invention provides a noise processing method and device for an instant messaging system based on AIGC, which can realize the fusion of terminal and network noise reduction technologies, improve the noise reduction processing effect of communication signals, and further improve the communication quality.
[0005] In order to solve the above technical problems, the first aspect of the present invention discloses a noise processing method for an instant messaging system based on AIGC, the method comprising:
[0006] The method is applied to the terminal side and the network side, and the method includes:
[0007] The terminal side obtains a communication signal collected by the instant messaging system, and determines a processing method for processing the communication signal, wherein the communication signal includes a noise signal to be processed, and the processing method includes a first processing method combined with a preset machine learning algorithm or a second processing method based on a preset processing chip; the processing methods all use AIGC technology;
[0008] The terminal side performs, according to the processing mode, primary signal processing matching the processing mode on the communication signal to obtain a primary signal processing result corresponding to the communication signal;
[0009] The terminal side transmits the primary signal processing result to the network side;
[0010] The network side performs secondary signal processing on the primary signal processing result according to a preset network noise reduction algorithm to obtain a secondary signal processing result corresponding to the primary signal processing result, and feeds the secondary signal processing result back to the terminal side.
[0011] As an optional implementation manner, in the first aspect of the present invention, the terminal side performs a primary signal processing matching the processing mode on the communication signal according to the processing mode, and obtains a primary signal processing result corresponding to the communication signal, including:
[0012] When the processing mode is the first processing mode, the terminal side performs terminal side preprocessing on the communication signal to obtain a terminal preprocessing result corresponding to the communication signal, and the terminal side preprocessing includes at least one of standardization, normalization and abnormality removal;
[0013] The terminal side inputs the terminal preprocessing result into the selected first noise reduction algorithm, and performs a first noise reduction process on the terminal preprocessing result according to the first noise reduction algorithm to obtain a first noise reduction process result corresponding to the terminal preprocessing result;
[0014] Among them, the first noise reduction algorithm includes a terminal noise reduction model, and the terminal noise reduction model is obtained by performing pruning and distillation on a training model in the network side, and the terminal noise reduction model has completed model training.
[0015] As an optional implementation manner, in the first aspect of the present invention, the terminal side performs a primary signal processing matching the processing mode on the communication signal according to the processing mode to obtain a primary signal processing result corresponding to the communication signal, further comprising:
[0016] When the processing mode is the second processing mode, and after determining that the noise reduction parameters corresponding to the preset second noise reduction algorithm are initialized, the terminal side performs noise analysis on the communication signal according to the second noise reduction algorithm to obtain a noise analysis result corresponding to the communication signal;
[0017] The terminal side generates a reverse sound wave signal for the noise analysis result according to the second noise reduction algorithm; plays the reverse sound wave signal and monitors the noise reduction effect corresponding to the reverse sound wave signal in real time;
[0018] The terminal side determines whether the noise reduction effect meets the preset second noise reduction requirement. When it is determined that the noise reduction effect does not meet the second noise reduction requirement, repeatedly adjusts the signal parameters corresponding to the reverse sound wave signal until it is determined that the noise reduction effect meets the second noise reduction requirement; and at the same time, determines the reverse sound wave signal that meets the second noise reduction requirement as the primary signal processing result corresponding to the communication signal;
[0019] The method further comprises:
[0020] When it is determined that the noise reduction effect reaches the second noise reduction requirement, the terminal side determines whether a preset noise reduction termination condition is met. When it is determined that the noise reduction termination condition is not met, the terminal side continues to obtain new communication signals transmitted by the instant messaging system, and executes a noise reduction process based on the second noise reduction algorithm for the new communication signals until it is determined that the noise reduction termination condition is met, stops playing the reverse sound wave signal corresponding to the communication signal, releases the noise reduction resources corresponding to the noise reduction process currently executed by the terminal side, and shuts down the corresponding hardware device on the terminal side.
[0021] As an optional implementation manner, in the first aspect of the present invention, the network side performs secondary signal processing on the primary signal processing result according to a preset network noise reduction algorithm to obtain a secondary signal processing result corresponding to the primary signal processing result, including:
[0022] The network side performs network side preprocessing on the primary signal processing result according to a preset network noise reduction algorithm to obtain a network preprocessing result corresponding to the primary signal processing result, wherein the network side preprocessing includes at least one of data cleaning, data pairing, and data labeling;
[0023] The network side inputs the network preprocessing result and the pre-prepared noise data into a preset network noise reduction model to obtain a network noise reduction result corresponding to the network preprocessing result; the network noise reduction model is a trained model;
[0024] The network side performs a preset post-processing operation on the network noise reduction result to obtain a post-processing result corresponding to the network noise reduction result as a secondary signal processing result corresponding to the primary signal processing result.
[0025] As an optional embodiment, in the first aspect of the present invention, the method further comprises:
[0026] The network side monitors the environmental noise data of the terminal environment where the terminal side is located in real time, and analyzes the environmental noise data to obtain an environmental analysis result corresponding to the environmental noise data; the environmental analysis result includes the noise type and noise type change, noise intensity and noise intensity change corresponding to the environmental noise data;
[0027] The network side determines whether the environmental analysis result indicates that a preset noise adjustment condition is satisfied. When it is determined that the environmental analysis result indicates that the noise adjustment condition is satisfied, the network noise reduction parameter corresponding to the network noise reduction algorithm is adjusted, and based on the adjusted network noise reduction algorithm, noise reduction reprocessing is performed on the secondary signal processing result, and the corresponding noise reduction reprocessing result is fed back to the terminal side.
[0028] The network noise reduction parameters include filter coefficient, noise reduction intensity, and audio frequency range;
[0029] The network side records a first network parameter and a second network parameter, wherein the first network parameter is a network parameter corresponding to the network noise reduction algorithm when obtaining the secondary signal processing result; the second network parameter is a network parameter corresponding to the network noise reduction algorithm when obtaining the noise reduction reprocessing result; the first network parameter and the second network parameter are used to optimize the network noise reduction algorithm.
[0030] As an optional implementation, in the first aspect of the present invention, the model training method corresponding to the network denoising model specifically includes:
[0031] The network side produces noise training data for model training of the network noise reduction model according to the set noise data production process; the noise data production process includes noise data collection, noise addition, noise intensity adjustment, noise type adjustment, data enhancement, data labeling, data preprocessing, and data set division;
[0032] The network side inputs the noise training data into the network noise reduction model, so as to train the network noise reduction model through the noise training data, and obtain the trained network noise reduction model;
[0033] In the process of performing model training on the network noise reduction model, multiple evaluation indicators are set, and the multiple evaluation indicators are used to evaluate the noise reduction effect of the network noise reduction model on the noise training data; the multiple evaluation indicators include signal-to-noise ratio, speech quality perception evaluation, and user listening test evaluation feedback.
[0034] As an optional implementation, in the first aspect of the present invention, the model training method corresponding to the network denoising model specifically further includes:
[0035] Before the network side inputs the noise training data into the network denoising model, the network side determines a primary denoising model, a secondary denoising model and an adaptive loss function thereof for constructing the network denoising model, wherein the primary denoising model includes an LSTM model; the secondary denoising model includes a GAN model; the GAN model includes a generator and a discriminator, and the loss function includes a primary loss function corresponding to the generator and a secondary loss function corresponding to the discriminator;
[0036] The network side constructs a network denoising model according to the primary denoising model, the secondary denoising model and the loss function; then triggers the execution of the operation corresponding to inputting the noise training data into the network denoising model;
[0037] The first-level denoising model is used as the overall model for constructing the network denoising model, and the second-level denoising model is used as a training module used locally when training the network denoising model after the network denoising model is constructed;
[0038] And, the method further comprises:
[0039] After obtaining the trained network noise reduction model, the network side determines the noise reduction usage requirements corresponding to the terminal side; and according to the noise reduction usage requirements, performs model pruning and distillation on the network noise reduction model to obtain a terminal noise reduction model corresponding to the terminal side.
[0040] The second aspect of the present invention discloses a noise processing device for an instant messaging system based on AIGC, the device comprising a terminal side and a network side, the terminal side comprising:
[0041] An acquisition module, used to acquire a communication signal collected by the instant messaging system, wherein the communication signal includes a noise signal to be processed;
[0042] A first determination module, used to determine a processing method for processing the communication signal, wherein the processing method includes a first processing method combined with a preset machine learning algorithm or a second processing method based on a preset processing chip; the processing methods all adopt AIGC technology;
[0043] A primary signal processing module, configured to perform primary signal processing matching the processing mode on the communication signal according to the processing mode, and obtain a primary signal processing result corresponding to the communication signal;
[0044] A transmission module, used for transmitting the first-level signal processing result to the network side;
[0045] The network side includes:
[0046] A secondary signal processing module, used to perform secondary signal processing on the primary signal processing result according to a preset network noise reduction algorithm, to obtain a secondary signal processing result corresponding to the primary signal processing result;
[0047] A feedback module is used to feed back the secondary signal processing result to the terminal side.
[0048] As an optional implementation, in the second aspect of the present invention, the primary signal processing module performs primary signal processing matching the processing method on the communication signal according to the processing method, and the method of obtaining the primary signal processing result corresponding to the communication signal specifically includes:
[0049] When the processing mode is the first processing mode, the terminal side performs terminal side preprocessing on the communication signal to obtain a terminal preprocessing result corresponding to the communication signal, and the terminal side preprocessing includes at least one of standardization, normalization and abnormality removal;
[0050] The terminal side inputs the terminal preprocessing result into the selected first noise reduction algorithm, and performs a first noise reduction process on the terminal preprocessing result according to the first noise reduction algorithm to obtain a first noise reduction process result corresponding to the terminal preprocessing result;
[0051] Among them, the first noise reduction algorithm includes a terminal noise reduction model, and the terminal noise reduction model is obtained by performing pruning and distillation on a training model in the network side, and the terminal noise reduction model has completed model training.
[0052] As an optional implementation, in the second aspect of the present invention, the primary signal processing module performs primary signal processing matching the processing method on the communication signal according to the processing method, and the method of obtaining the primary signal processing result corresponding to the communication signal specifically includes:
[0053] When the processing mode is the second processing mode, and after determining that the noise reduction parameters corresponding to the preset second noise reduction algorithm are initialized, performing noise analysis on the communication signal according to the second noise reduction algorithm to obtain a noise analysis result corresponding to the communication signal;
[0054] According to the second noise reduction algorithm, generating a reverse sound wave signal for the noise analysis result; playing the reverse sound wave signal and monitoring the noise reduction effect corresponding to the reverse sound wave signal in real time;
[0055] Determining whether the noise reduction effect meets a preset second noise reduction requirement, and when it is determined that the noise reduction effect does not meet the second noise reduction requirement, repeatedly adjusting the signal parameters corresponding to the reverse sound wave signal until it is determined that the noise reduction effect meets the second noise reduction requirement; and at the same time, determining the reverse sound wave signal that meets the second noise reduction requirement as the primary signal processing result corresponding to the communication signal;
[0056] The terminal side also includes:
[0057] A first judging module, configured to judge whether a preset noise reduction termination condition is met when it is judged that the noise reduction effect meets the second noise reduction requirement;
[0058] The terminal noise reduction processing module is used to, when the first judgment module determines that the noise reduction termination condition is not met, continuously obtain new communication signals transmitted by the instant messaging system, and execute a noise reduction process based on the second noise reduction algorithm on the new communication signal until it is determined that the noise reduction termination condition is met, stop playing the reverse sound wave signal corresponding to the communication signal, release the noise reduction resources corresponding to the noise reduction process currently executed on the terminal side, and shut down the corresponding hardware device on the terminal side.
[0059] As an optional implementation, in the second aspect of the present invention, the secondary signal processing module performs secondary signal processing on the primary signal processing result according to a preset network noise reduction algorithm, and the method of obtaining the secondary signal processing result corresponding to the primary signal processing result specifically includes:
[0060] According to a preset network noise reduction algorithm, performing network-side preprocessing on the primary signal processing result to obtain a network preprocessing result corresponding to the primary signal processing result, wherein the network-side preprocessing includes at least one of data cleaning, data pairing, and data labeling;
[0061] Inputting the network preprocessing result and the pre-prepared noise data into a preset network noise reduction model to obtain a network noise reduction result corresponding to the network preprocessing result; the network noise reduction model is a trained model;
[0062] A preset post-processing operation is performed on the network noise reduction result to obtain a post-processing result corresponding to the network noise reduction result as a secondary signal processing result corresponding to the primary signal processing result.
[0063] As an optional implementation manner, in the second aspect of the present invention, the network side further includes:
[0064] An environmental noise monitoring module is used to monitor the environmental noise data of the terminal environment where the terminal side is located in real time;
[0065] An analysis module, used to analyze the environmental noise data to obtain an environmental analysis result corresponding to the environmental noise data; the environmental analysis result includes a noise type and a noise type change, a noise intensity and a noise intensity change corresponding to the environmental noise data;
[0066] A second judgment module is used to judge whether the environmental analysis result indicates that a preset noise adjustment condition is met;
[0067] A network noise reduction processing module, configured to adjust a network noise reduction parameter corresponding to the network noise reduction algorithm when the second judgment module determines that the environmental analysis result satisfies the noise adjustment condition;
[0068] The network noise reduction processing module is further used to perform noise reduction reprocessing on the secondary signal processing result based on the adjusted network noise reduction algorithm, and then feed back the corresponding noise reduction reprocessing result to the terminal side; wherein the network noise reduction parameters include filter coefficient, noise reduction intensity, and audio frequency range;
[0069] The network noise reduction processing module is also used to record a first network parameter and a second network parameter, wherein the first network parameter is a network parameter corresponding to the network noise reduction algorithm when the secondary signal processing result is obtained; the second network parameter is a network parameter corresponding to the network noise reduction algorithm when the noise reduction reprocessing result is obtained; the first network parameter and the second network parameter are used to optimize the network noise reduction algorithm.
[0070] As an optional implementation, in the second aspect of the present invention, the model training method corresponding to the network denoising model specifically includes:
[0071] The network side produces noise training data for model training of the network noise reduction model according to the set noise data production process; the noise data production process includes noise data collection, noise addition, noise intensity adjustment, noise type adjustment, data enhancement, data labeling, data preprocessing, and data set division;
[0072] The network side inputs the noise training data into the network noise reduction model, so as to train the network noise reduction model through the noise training data, and obtain the trained network noise reduction model;
[0073] In the process of performing model training on the network noise reduction model, multiple evaluation indicators are set, and the multiple evaluation indicators are used to evaluate the noise reduction effect of the network noise reduction model on the noise training data; the multiple evaluation indicators include signal-to-noise ratio, speech quality perception evaluation, and user listening test evaluation feedback.
[0074] As an optional implementation, in the second aspect of the present invention, the model training method corresponding to the network denoising model specifically further includes:
[0075] Before the network side inputs the noise training data into the network denoising model, the network side determines a primary denoising model, a secondary denoising model and an adaptive loss function thereof for constructing the network denoising model, wherein the primary denoising model includes an LSTM model; the secondary denoising model includes a GAN model; the GAN model includes a generator and a discriminator, and the loss function includes a primary loss function corresponding to the generator and a secondary loss function corresponding to the discriminator;
[0076] The network side constructs a network denoising model according to the primary denoising model, the secondary denoising model and the loss function; then triggers the execution of the operation corresponding to inputting the noise training data into the network denoising model;
[0077] The first-level denoising model is used as the overall model for constructing the network denoising model, and the second-level denoising model is used as a training module used locally when training the network denoising model after the network denoising model is constructed;
[0078] And, the network side also includes:
[0079] A second determination module is used to determine the noise reduction usage requirements corresponding to the terminal side after obtaining the trained network noise reduction model;
[0080] The pruning and distillation module is used to perform model pruning and distillation on the network noise reduction model according to the noise reduction usage requirements to obtain a terminal noise reduction model corresponding to the terminal side.
[0081] The third aspect of the present invention discloses another noise processing device for an instant messaging system based on AIGC, the device comprising:
[0082] A memory storing executable program code;
[0083] a processor coupled to the memory;
[0084] The processor calls the executable program code stored in the memory to execute the noise processing method for the instant messaging system based on AIGC disclosed in the first aspect of the present invention.
[0085] The fourth aspect of the present invention discloses a computer storage medium, wherein the computer storage medium stores computer instructions, and when the computer instructions are called, they are used to execute the noise processing method for the instant messaging system based on AIGC disclosed in the first aspect of the present invention.
[0086] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0087] In an embodiment of the present invention, a noise processing method for an instant messaging system based on AIGC is provided, and the method is applied to a terminal side and a network side, and the method includes: the terminal side obtains a communication signal collected by the instant messaging system, and determines a processing method for processing the communication signal, the processing method includes a first processing method combined with a preset machine learning algorithm or a second processing method based on a preset processing chip; the processing methods all adopt AIGC technology; the terminal side performs a primary signal processing matching the processing method on the communication signal according to the processing method, and obtains a primary signal processing result corresponding to the communication signal; the terminal side transmits the primary signal processing result to the network side; the network side performs a secondary signal processing on the primary signal processing result according to a preset network noise reduction algorithm, obtains a secondary signal processing result corresponding to the primary signal processing result, and feeds the secondary signal processing result back to the terminal side. It can be seen that the implementation of the present invention sets up a noise processing method based on the AIGC technology. After the terminal side obtains the communication signal collected by the instant messaging system, it can perform adaptive primary signal processing on the communication signal according to the software / hardware for processing the signal actually configured on the terminal side, thereby improving the accuracy of the communication signal processing implemented on the terminal side; thereafter, the primary signal processing result can be forwarded to the network side, and further secondary signal processing is implemented through the network side. The setting of the signal processing mechanism realizes the function of terminal-network integration when performing noise reduction processing on the communication signal. At the same time, the more advanced network noise reduction algorithm set on the network side improves the noise reduction processing depth and precision of the secondary signal processing result. BRIEF DESCRIPTION OF THE DRAWINGS
[0088] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0089] Figure 1 It is a flowchart of a noise processing method for an instant messaging system based on AIGC disclosed in an embodiment of the present invention;
[0090] Figure 2 It is a flowchart of another noise processing method for an instant messaging system based on AIGC disclosed in an embodiment of the present invention;
[0091] Figure 3 It is a structural schematic diagram of a noise processing device for an instant messaging system based on AIGC disclosed in an embodiment of the present invention;
[0092] Figure 4It is a structural schematic diagram of another noise processing device for an instant messaging system based on AIGC disclosed in an embodiment of the present invention;
[0093] Figure 5 It is a structural schematic diagram of another noise processing device for an instant messaging system based on AIGC disclosed in an embodiment of the present invention. DETAILED DESCRIPTION
[0094] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0095] The terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish different objects rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, device, product or end including a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units inherent to these processes, methods, products or ends.
[0096] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0097] The present invention discloses a noise processing method and device for an instant messaging system based on AIGC, and sets a noise processing method based on AIGC technology. After the terminal side obtains the communication signal collected by the instant messaging system, it can perform adaptive primary signal processing on the communication signal according to the software / hardware for processing the signal actually configured on the terminal side, thereby improving the accuracy of communication signal processing on the terminal side; then the primary signal processing result can be forwarded to the network side, and further secondary signal processing can be achieved through the network side. The setting of the signal processing mechanism realizes the function of terminal-network integration when performing noise reduction processing on the communication signal. At the same time, the more advanced network noise reduction algorithm set by the network side improves the noise reduction processing depth and precision of the secondary signal processing result. The following are detailed descriptions.
[0098] Embodiment 1
[0099] See also Figure 1 , Figure 1 : is a flow chart of a noise processing method for an instant messaging system based on AIGC disclosed in an embodiment of the present invention. Figure 1 The noise processing method for the instant messaging system based on AIGC described above can be applied to a noise processing device for the instant messaging system based on AIGC, and the embodiment of the present invention does not limit this. Figure 1 As shown, the noise processing method of the instant messaging system based on AIGC may include the following operations:
[0100] 101. The terminal side obtains the communication signal collected by the instant messaging system and determines a processing method for processing the communication signal.
[0101] In the embodiment of the present invention, the communication signal includes a noise signal to be processed.
[0102] In the embodiment of the present invention, in order to collect and process communication signals and meet subsequent signal processing requirements, professional signal processing equipment can be configured, such as a high-performance audio capture card, a digital signal processor, etc., which is not limited in the embodiment of the present invention.
[0103] In an embodiment of the present invention, the processing method includes a first processing method combined with a preset machine learning algorithm or a second processing method based on a preset processing chip; and the processing methods all adopt AIGC technology.
[0104] In the embodiment of the present invention, in order to adapt to the noise reduction requirements of the present invention, it is necessary to adopt key technologies such as AIGC technology, deep learning algorithm and optimized feedback mechanism, and also need equipment support such as high-performance computers, professional signal processing equipment, network communication equipment and corresponding software platforms. Among them, by introducing AIGC technology, noise in communication signals can be more effectively identified and eliminated, significantly improving communication quality. By introducing high-performance computers or servers, sufficient computing power and storage space are provided to adapt and run complex AIGC algorithms and deep learning models.
[0105] In the embodiment of the present invention, when the processing method is the first processing method, at least one set of machine learning algorithms is configured in the terminal side, which can realize conventional signal processing of communication signals, such as filtering, noise removal, etc., to achieve the purpose of improving sound quality. At the same time, it should be noted that at this time, a dedicated interaction channel is established between the terminal side and the network side, and the machine learning algorithm configured on the terminal side is loaded / transmitted to the terminal side by the network side through the interaction channel.
[0106] In an embodiment of the present invention, when the number of machine learning algorithms configured on the terminal side is greater than 1, it is possible to select an adaptive machine learning algorithm according to the different signal types and signal strengths of the communication signals, thereby improving the accuracy of signal processing on the communication signals. For example, different machine learning algorithms are used to process the communication signals corresponding to indoor scene types and the communication signals corresponding to outdoor scene types.
[0107] In an embodiment of the present invention, when the processing method is the second processing method, it indicates that the terminal side is configured with a dedicated noise reduction chip at the hardware level, such as Sony HD QN1. The noise reduction chip integrates a dedicated function for noise reduction of communication signals, and then the noise reduction processing of the communication signal can be achieved through the noise reduction chip.
[0108] 102. The terminal side performs primary signal processing matching the processing method on the communication signal according to the processing method, and obtains a primary signal processing result corresponding to the communication signal.
[0109] In the embodiment of the present invention, optionally, after executing step 102, the method further includes:
[0110] It is determined whether the first-level signal processing result meets the preset first noise reduction requirement. When it is determined that the first-level signal processing result does not meet the first noise reduction requirement, step 103 is triggered.
[0111] In an embodiment of the present invention, optionally, after performing primary signal processing on the communication signal via the terminal side, an evaluation of the noise reduction effect and a detection of user needs are performed. Combined with the evaluation of the noise reduction effect and the detected user needs, it is determined whether it is necessary to perform deep noise reduction processing on the communication signal. If so, the primary signal processing result is transmitted to the network side.
[0112] In an embodiment of the present invention, the determination that the first-level signal processing result does not meet the first noise reduction requirement may specifically include: detecting a feedback instruction from a user indicating that the first-level signal processing result does not achieve the noise reduction effect expected by the user, and / or the terminal side, by default, needs to perform signal processing on the communication signal in sequence via the terminal side and the network side; and / or, an audio signal quality evaluation mechanism set on the terminal side detects that the noise reduction effect corresponding to the first-level signal processing result does not meet the preset audio quality requirement.
[0113] In an embodiment of the present invention, optionally, when the terminal side determines that the first-level signal processing result has met the first noise reduction requirement, it is determined that the noise reduction process for the communication signal has been completed, and the signal transmission information such as the signal type, signal strength, and signal origin corresponding to the communication signal is recorded. The signal transmission information is used to be stored in the corresponding machine learning algorithm on the terminal side as learning optimization data for the machine learning algorithm.
[0114] 103. The terminal side transmits the first-level signal processing result to the network side.
[0115] In the embodiment of the present invention, by executing step 102-step 103, that is, the terminal side first performs preliminary noise reduction processing, which can be achieved by built-in noise reduction algorithms and / or hardware to reduce the impact of background noise on the original audio signal. The purpose of this step is to reduce the amount of data uploaded to the server / network side as much as possible while ensuring the basic clarity of the audio signal. In addition, in order to improve transmission efficiency, compression technology can be used to reduce the amount of data while maintaining audio quality.
[0116] 104. The network side performs secondary signal processing on the primary signal processing result according to a preset network noise reduction algorithm to obtain a secondary signal processing result corresponding to the primary signal processing result, and feeds the secondary signal processing result back to the terminal side.
[0117] In the embodiment of the present invention, it should be noted that the network noise reduction algorithm set by the default network side performs a higher noise reduction depth corresponding to the secondary signal processing than the noise reduction depth corresponding to the primary signal processing performed by the terminal side. That is, optionally, when the processing method is the first method, the terminal side is only used to perform primary noise reduction processing on the communication signal; further, the network noise reduction algorithm set by the network side is used to achieve deep noise reduction on the primary signal processing result transmitted after the primary noise reduction processing on the terminal side.
[0118] In the embodiment of the present invention, the scenario to which the noise processing method of the instant messaging system based on AIGC is adapted is illustrated as follows:
[0119] 1) Improve the quality of non-IM voice calls:
[0120] During a voice call, the hybrid noise reduction technology (embodiment of the present invention) can significantly reduce the interference of background noise, making the call voice clearer. For example, when making a voice call on a noisy street or public place, the noise reduction technology can ensure that both parties can hear each other's voice more clearly, improving the call quality.
[0121] 2) Video conference background noise suppression:
[0122] When an enterprise conducts video conferencing, hybrid noise reduction technology can eliminate echoes, keyboard typing, air conditioning noise, etc. in the conference room, allowing participants to focus more on the meeting content and improve meeting efficiency.
[0123] 3) Improve speech recognition accuracy:
[0124] Applying hybrid noise reduction technology in speech recognition systems can greatly improve the accuracy of speech recognition. By reducing noise interference, the system can more accurately recognize the user's voice commands, thereby providing users with more efficient services.
[0125] 4) Noise reduction of the public communication network IMS system;
[0126] 5) Mobile communication network 4G 5G noise reduction.
[0127] It can be seen that implementation Figure 1 The noise processing method of the instant messaging system based on AIGC described is provided with a noise processing method based on AIGC technology. After the terminal side obtains the communication signal collected by the instant messaging system, it can perform adaptive primary signal processing on the communication signal according to the software / hardware for processing the signal actually configured on the terminal side, thereby improving the accuracy of the communication signal processing implemented on the terminal side; then the primary signal processing result is forwarded to the network side, and further secondary signal processing is implemented through the network side. The setting of the signal processing mechanism realizes the function of terminal-network integration during communication signal processing. At the same time, the more advanced network noise reduction algorithm set on the network side improves the noise reduction processing depth and precision of the secondary signal processing result. Through this hybrid solution, the network side and the terminal side can work together, which not only utilizes the instant processing capability of the terminal side, but also gives play to the advantages of the powerful computing resources and advanced processing algorithms on the server side, and can provide clearer and purer audio signals while ensuring the real-time noise reduction of the communication signal, thereby improving the user's call experience.
[0128] In an optional embodiment, in the above step 102, the terminal side performs primary signal processing matching the processing mode on the communication signal according to the processing mode, and the method of obtaining the primary signal processing result corresponding to the communication signal specifically includes:
[0129] When the processing mode is the first processing mode, the terminal side performs terminal side preprocessing on the communication signal to obtain a terminal preprocessing result corresponding to the communication signal, and the terminal side preprocessing includes at least one of standardization, normalization and abnormality removal;
[0130] The terminal side inputs the terminal preprocessing result into the selected first noise reduction algorithm, and performs a first noise reduction process on the terminal preprocessing result according to the first noise reduction algorithm to obtain a first noise reduction process result corresponding to the terminal preprocessing result;
[0131] Among them, the first denoising algorithm includes a terminal denoising model, which is obtained by performing pruning and distillation on a training model on the network side, and the terminal denoising model has completed model training.
[0132] It can be seen that in this optional embodiment, a corresponding communication signal processing process is set for the first processing method, including terminal-side preprocessing and a first noise reduction processing based on a first noise reduction algorithm, so that the communication signal can achieve basic noise reduction processing on the terminal side; that is, when the terminal-side user does not have high requirements for the noise reduction processing of the communication signal, but has high requirements for the timeliness of the noise reduction of the communication signal, the first-level signal processing based on the first processing method set on the terminal side can improve the timeliness of the noise reduction processing for the communication signal. At the same time, the terminal side does not need to transmit the first-level signal processing results to the network side, which can reduce the occupancy of the network bandwidth.
[0133] In this optional embodiment, optionally, when the processing mode is the first processing mode, the terminal side obtains the noise reduction instruction fed back by the user in real time, and adjusts the first noise reduction parameter corresponding to the first noise reduction algorithm according to the noise reduction instruction, and then performs the first noise reduction processing on the terminal preprocessing result based on the adjusted first noise reduction algorithm to obtain the first noise reduction processing result corresponding to the terminal preprocessing result;
[0134] Among them, the first noise reduction algorithm can be configured with multiple sets of preset first noise reduction parameters; the noise reduction instruction is generated accordingly after the user triggers and selects different sets of first noise reduction parameters on the terminal side.
[0135] It can be seen that in this optional embodiment, a noise reduction adjustment process is set up on the terminal side to meet the user's personalized settings, so that the terminal side user can realize the diversification and convenience of noise reduction processing, thereby improving the convenience of the terminal side user in performing noise reduction processing on communication signals and the noise reduction usage experience.
[0136] In another optional embodiment, in the above step 102, the terminal side performs the primary signal processing matching the processing mode on the communication signal according to the processing mode, and the method of obtaining the primary signal processing result corresponding to the communication signal specifically includes:
[0137] When the processing mode is the second processing mode, and after determining that the noise reduction parameters corresponding to the preset second noise reduction algorithm are initialized, the terminal side performs noise analysis on the communication signal according to the second noise reduction algorithm to obtain a noise analysis result corresponding to the communication signal;
[0138] The terminal side generates a reverse sound wave signal for the noise analysis result according to the second noise reduction algorithm; plays the reverse sound wave signal and monitors the noise reduction effect corresponding to the reverse sound wave signal in real time;
[0139] The terminal side determines whether the noise reduction effect meets the preset second noise reduction requirement. When it is determined that the noise reduction effect does not meet the second noise reduction requirement, the signal parameters corresponding to the reverse sound wave signal are repeatedly adjusted until it is determined that the noise reduction effect meets the second noise reduction requirement; at the same time, the reverse sound wave signal that meets the second noise reduction requirement is determined as the primary signal processing result corresponding to the communication signal;
[0140] And, the method further comprises:
[0141] When it is determined that the noise reduction effect meets the second noise reduction requirement, the terminal side determines whether the preset noise reduction termination condition is met. When it is determined that the noise reduction termination condition is not met, it continues to obtain new communication signals transmitted by the instant messaging system, and executes a noise reduction process based on the second noise reduction algorithm for the new communication signal. Until it is determined that the noise reduction termination condition is met, the reverse sound wave signal corresponding to the communication signal is stopped from being played, the noise reduction resources corresponding to the noise reduction process currently executed on the terminal side are released, and the corresponding hardware device on the terminal side is turned off.
[0142] In this optional embodiment, the noise reduction process based on the second noise reduction algorithm for the new communication signal is specifically as follows:
[0143] Every time the terminal side obtains a new communication signal, it executes the above-mentioned noise analysis on the communication signal according to the second noise reduction algorithm to obtain a noise analysis result corresponding to the communication signal; generates a reverse sound wave signal for the noise analysis result according to the second noise reduction algorithm; plays the reverse sound wave signal and monitors the noise reduction effect corresponding to the reverse sound wave signal in real time, and performs corresponding operations.
[0144] In the embodiment of the present invention, the terminal side determines whether the preset noise reduction termination condition is met, specifically including:
[0145] The terminal side determines whether a noise reduction closing instruction for the terminal side is received, and when it is determined that the noise reduction closing instruction for the terminal side is received, determines that a preset noise reduction termination condition is met;
[0146] The noise reduction off instruction may be a noise reduction off instruction triggered by a user, which is used to instruct the terminal side to stop executing the noise reduction process based on the second noise reduction algorithm; or, the noise reduction off instruction may be generated by the terminal side after detecting that the playback device is switched to the off state;
[0147] Among them, the playback device is a device that plays the reverse sound wave signal, such as headphones; it should be noted that the playback device switching to the off state may refer to the playback device pausing or stopping playing the reverse sound wave signal, or may refer to the state where the playback device is powered off and turned off, which is not limited in the embodiments of the present invention.
[0148] In this optional embodiment, combined with the above description of the second processing method, it can be clearly seen that the noise reduction processing implemented by the second processing method depends to a large extent on the processing chip (hardware structure) configured on the terminal side, that is, the second noise reduction algorithm is an algorithm integrated on the processing chip.
[0149] It can be seen that in this optional embodiment, for the processing method being the second processing method, another noise reduction processing flow on the terminal side is set up. This method can be combined with the hardware structure (preset processing chip) set on the terminal side, and based on the hardware combined with the configured second noise reduction algorithm, realize noise reduction processing of the communication signal, so that the terminal side is different from the first processing method, and it can be independent of the first noise reduction algorithm connected to the network, and at the same time can realize accurate and reliable noise reduction processing; at the same time, according to the different configurations of the preset processing chip, the noise reduction effect that can be achieved can also be adaptively adjusted, thereby improving the flexibility and noise reduction reliability of the terminal side in performing noise reduction processing on the communication signal.
[0150] Embodiment 2
[0151] See also Figure 2 , Figure 2 FIG. 1 is a flow chart of another noise processing method for an instant messaging system based on AIGC disclosed in an embodiment of the present invention. Figure 2 The noise processing method for the instant messaging system based on AIGC described above can be applied to a noise processing device for the instant messaging system based on AIGC, and the embodiment of the present invention does not limit this. Figure 2 As shown, the noise processing method of the instant messaging system based on AIGC may include the following operations:
[0152] 201. The terminal side obtains a communication signal collected by the instant messaging system, and determines a processing method for processing the communication signal.
[0153] 202. The terminal side performs primary signal processing matching the processing method on the communication signal according to the processing method, and obtains a primary signal processing result corresponding to the communication signal.
[0154] 203. The terminal side determines whether the first-level signal processing result meets the preset first noise reduction requirement. When it is determined that the first-level signal processing result does not meet the first noise reduction requirement, the first-level signal processing result is transmitted to the network side.
[0155] In the embodiment of the present invention, for other descriptions of step 201 to step 203, please refer to other specific descriptions of step 101 to step 103 in embodiment 1, and the embodiment of the present invention will not be repeated here.
[0156] 204. The network side performs network side preprocessing on the primary signal processing result according to a preset network noise reduction algorithm to obtain a network preprocessing result corresponding to the primary signal processing result.
[0157] In an embodiment of the present invention, network-side preprocessing includes at least one of data cleaning, data pairing, and data labeling.
[0158] 205. The network side inputs the network preprocessing result and the pre-prepared noise data into a preset network noise reduction model to obtain a network noise reduction result corresponding to the network preprocessing result.
[0159] In the embodiment of the present invention, the network denoising model is a trained model.
[0160] 206. The network side performs a preset post-processing operation on the network noise reduction result to obtain a post-processing result corresponding to the network noise reduction result as a secondary signal processing result corresponding to the primary signal processing result.
[0161] In an embodiment of the present invention, optionally, the network side performs preset post-processing operations on the network noise reduction result, which specifically may include: the network side performs volume adjustment, equalization processing, dynamic range compression (DRC), reverberation effect processing, audio editing, echo removal, audio standardization, audio repair, multi-channel processing, bit depth and sampling rate conversion, etc. on the network noise reduction effect, thereby improving the sound quality of the audio corresponding to the network noise reduction result through this post-processing operation.
[0162] Among them, the dynamic range compression is used to reduce the dynamic range of the audio signal to make the audio volume more stable and avoid excessive volume differences during playback; the reverberation effect processing is used to simulate different environments or atmospheres, for example, simulating the sound effects of a concert hall, recording studio or outdoor environment; the audio clipping is used to delete unnecessary parts or merge multiple audio clips together; in some cases, there may be echoes or reverberations in the audio, which may affect the quality of the audio, and the echo removal is used to eliminate these unwanted echoes; the audio normalization is used to adjust the loudness of the audio so that it has the same volume level in all parts, which helps to ensure that the audio has a consistent volume during playback; the audio repair is used to assist in the use of audio repair tools to repair when there is damage or distortion in the audio, and these audio repair tools are used to identify and repair breaks, noise or other problems in the audio; the multi-channel processing is used for multi-channel audio (such as stereo or surround sound), which may require specific post-processing operations to optimize the balance and effects between the various channels; the bit depth and sampling rate conversion is used to convert the bit depth and sampling rate of the audio to a specific format or standard as needed to adapt to different playback devices or uses.
[0163] It can be seen that implementation Figure 2The noise processing method of the described AIGC-based instant messaging system sets up a signal processing mechanism on the network side. After the preliminary noise reduction processing is completed on the terminal side for the communication signal, the server arranged on the network side uses powerful server resources to implement deep noise reduction processing of the first-level signal processing result, thereby improving the noise reduction effect corresponding to the second-level signal processing result; in addition, no matter what type of device is used on the terminal side, the network side can provide the same noise reduction processing, thereby improving the compatibility of the network side in performing the second-level signal processing; in addition, in the case where the network noise reduction algorithm needs to be adjusted or updated, it is uniformly handled by the server on the network side, without the need for the user to manually update the terminal device on the terminal side, that is, the convenience of updating the network noise reduction algorithm is improved.
[0164] In an optional embodiment, the method further comprises:
[0165] The network side monitors the environmental noise data of the terminal environment where the terminal side is located in real time, and analyzes the environmental noise data to obtain environmental analysis results corresponding to the environmental noise data; the environmental analysis results include the noise type and noise type change, noise intensity and noise intensity change corresponding to the environmental noise data;
[0166] The network side determines whether the environmental analysis result indicates that the preset noise adjustment condition is met. When it is determined that the environmental analysis result indicates that the noise adjustment condition is met, the network noise reduction parameters corresponding to the network noise reduction algorithm are adjusted, and the secondary signal processing result is subjected to noise reduction reprocessing based on the adjusted network noise reduction algorithm, and the corresponding noise reduction reprocessing result is fed back to the terminal side;
[0167] Among them, network noise reduction parameters include but are not limited to filter coefficients, noise reduction strength, and audio frequency range;
[0168] The network side records the first network parameter and the second network parameter, the first network parameter is the network parameter corresponding to the network noise reduction algorithm when the secondary signal processing result is obtained; the second network parameter is the network parameter corresponding to the network noise reduction algorithm when the noise reduction reprocessing result is obtained; the first network parameter and the second network parameter are used to optimize the network noise reduction algorithm.
[0169] In this optional embodiment, the environmental analysis result indicates that the noise adjustment condition is met, which may be that the sound of the environment in which the user corresponding to the terminal side is located changes, such as an increase in environmental noise.
[0170] It can be seen that in this optional embodiment, the network side is equipped with an intelligent monitoring and adjustment mechanism for the ambient noise of the terminal side user, which can monitor the ambient noise data of the terminal environment in real time, and when it is determined that the ambient noise data meets the noise adjustment conditions, dynamically adjust the network noise reduction parameters of the network noise reduction algorithm, thereby improving the accuracy of the secondary signal processing results fed back to the terminal side; at the same time, the dynamic adjustment of the network noise reduction algorithm can better adapt to the user's noise reduction needs and improve the noise reduction accuracy of the communication signal.
[0171] In this optional embodiment, optionally, the method further includes:
[0172] The network side obtains user feedback instructions in real time, analyzes the user feedback instructions, and obtains the user's noise reduction adjustment requirements for the secondary signal processing results;
[0173] Determine the noise reduction level corresponding to the network noise reduction algorithm according to the noise reduction adjustment requirement;
[0174] According to the noise reduction adjustment requirement and the noise reduction level, network parameters corresponding to the network noise reduction algorithm are updated.
[0175] In this optional embodiment, a response mechanism for user feedback data is synchronously set up on the network side, and the user provides corresponding auditory feedback for the secondary signal processing results played on the terminal side, such as the noise reduction effect is just right, the noise reduction effect is too strong, or the noise reduction effect is too weak; then, based on the auditory feedback, the network parameters of the network noise reduction algorithm are adjusted in real time; the accuracy, intelligence and flexibility of the network side in adapting to user noise reduction needs are improved.
[0176] In another optional embodiment, the model training method corresponding to the network noise reduction model specifically includes:
[0177] The network side produces noise training data for model training of the network noise reduction model according to the set noise data production process; the noise data production process includes noise data collection, noise addition, noise intensity adjustment, noise type adjustment, data enhancement, data labeling, data preprocessing, and data set division;
[0178] The network side inputs the noise training data into the network noise reduction model, so as to train the network noise reduction model through the noise training data and obtain a trained network noise reduction model;
[0179] Among them, in the process of performing model training on the network noise reduction model, multiple evaluation indicators are set, and the multiple evaluation indicators are used to evaluate the noise reduction effect of the network noise reduction model on the noise training data; the multiple evaluation indicators include signal-to-noise ratio, voice quality perception evaluation, and user listening test evaluation feedback.
[0180] In this optional embodiment, the model training method corresponding to the network noise reduction model specifically includes:
[0181] Before the network side inputs the noise training data into the network denoising model, the network side determines a primary denoising model, a secondary denoising model and an adaptive loss function thereof for constructing the network denoising model, wherein the primary denoising model includes an LSTM model; the secondary denoising model includes a GAN model; the GAN model includes a generator and a discriminator, and the loss function includes a primary loss function corresponding to the generator and a secondary loss function corresponding to the discriminator;
[0182] The network side constructs a network denoising model based on the primary denoising model, the secondary denoising model and the loss function; then triggers the execution of the above-mentioned operation corresponding to inputting the noise training data into the network denoising model;
[0183] Among them, the first-level denoising model is used as the overall model for constructing the network denoising model, and the second-level denoising model is used as a training module used locally when training the network denoising model after the network denoising model is constructed;
[0184] And, the method further comprises:
[0185] After obtaining the trained network noise reduction model, the network side determines the noise reduction usage requirements corresponding to the terminal side; and according to the noise reduction usage requirements, performs model pruning and distillation on the network noise reduction model to obtain a terminal noise reduction model corresponding to the terminal side.
[0186] It can be seen that in this optional embodiment, a training mechanism is set up for the network noise reduction model on the network side and the terminal noise reduction model on the terminal side, wherein the terminal noise reduction model on the terminal side is obtained by pruning and distilling the network noise reduction model on the network side, thereby realizing an end-to-end integrated noise reduction processing mode; in addition, the end-to-end integrated noise processing expands the application scenarios and compatibility of communication signal noise reduction processing.
[0187] Embodiment 3
[0188] See also Figure 3 , Figure 3 : is a schematic diagram of the structure of a noise processing device for an instant messaging system based on AIGC disclosed in an embodiment of the present invention. The noise processing device for an instant messaging system based on AIGC can be a noise processing terminal, device, system or server for an instant messaging system based on AIGC. The server can be a local server, a remote server, or a cloud server (also known as a cloud server). When the server is a non-cloud server, the non-cloud server can communicate with the cloud server, which is not limited in the embodiment of the present invention. Figure 3 As shown, the noise processing device of the instant messaging system based on AIGC can be a terminal side 301 and a network side 302, wherein:
[0189] The terminal side 301 includes an acquisition module 3011, a first determination module 3012, a primary signal processing module 3013 and a transmission module 3014, wherein:
[0190] An acquisition module 3011 is used to acquire a communication signal collected by the instant messaging system, where the communication signal includes a noise signal to be processed;
[0191] A first determination module 3012 is used to determine a processing method for processing a communication signal, wherein the processing method includes a first processing method combined with a preset machine learning algorithm or a second processing method based on a preset processing chip; both processing methods use AIGC technology;
[0192] The primary signal processing module 3013 is used to perform primary signal processing matching the processing mode on the communication signal according to the processing mode, and obtain a primary signal processing result corresponding to the communication signal;
[0193] A transmission module 3014, used to transmit the first-level signal processing result to the network side 302;
[0194] The network side 302 includes a secondary signal processing module 3021 and a feedback module 3022, wherein:
[0195] The secondary signal processing module 3021 is used to perform secondary signal processing on the primary signal processing result according to a preset network noise reduction algorithm to obtain a secondary signal processing result corresponding to the primary signal processing result;
[0196] The feedback module 3022 is used to feed back the secondary signal processing result to the terminal side 301.
[0197] It can be seen that implementation Figure 3 The noise processing device of the instant messaging system based on AIGC described is provided with a noise processing method based on AIGC technology. After the terminal side obtains the communication signal collected by the instant messaging system, it can perform adaptive primary signal processing on the communication signal according to the software / hardware for processing the signal actually configured on the terminal side, thereby improving the accuracy of communication signal processing implemented on the terminal side; then the primary signal processing result is forwarded to the network side, and further secondary signal processing is implemented through the network side. The setting of the signal processing mechanism realizes the function of terminal-network integration when performing noise reduction processing on the communication signal. At the same time, the more advanced network noise reduction algorithm set on the network side improves the noise reduction processing depth and precision of the secondary signal processing result.
[0198] In an optional embodiment, the primary signal processing module 3013 performs primary signal processing matching the processing mode on the communication signal according to the processing mode, and the method of obtaining the primary signal processing result corresponding to the communication signal specifically includes:
[0199] When the processing mode is the first processing mode, the terminal side 301 performs terminal side 301 preprocessing on the communication signal to obtain a terminal preprocessing result corresponding to the communication signal, where the terminal side preprocessing includes at least one of standardization, normalization, and anomaly removal;
[0200] The terminal side 301 inputs the terminal preprocessing result into the selected first noise reduction algorithm, and performs a first noise reduction process on the terminal preprocessing result according to the first noise reduction algorithm to obtain a first noise reduction process result corresponding to the terminal preprocessing result;
[0201] Among them, the first noise reduction algorithm includes a terminal noise reduction model, and the terminal noise reduction model is obtained by performing pruning and distillation on a training model in the network side 302, and the terminal noise reduction model has completed model training.
[0202] It can be seen that in this optional embodiment, a corresponding communication signal processing process is set for the first processing method, including terminal-side preprocessing and a first noise reduction processing based on a first noise reduction algorithm, so that the communication signal can achieve basic noise reduction processing on the terminal side; that is, when the terminal-side user does not have high requirements for the noise reduction processing of the communication signal, but has high requirements for the timeliness of the noise reduction of the communication signal, the first-level signal processing based on the first processing method set on the terminal side can improve the timeliness of the noise reduction processing for the communication signal. At the same time, the terminal side does not need to transmit the first-level signal processing results to the network side, which can reduce the occupancy of the network bandwidth.
[0203] In another optional embodiment, the primary signal processing module 3013 performs primary signal processing matching the processing mode on the communication signal according to the processing mode, and the method of obtaining the primary signal processing result corresponding to the communication signal specifically includes:
[0204] When the processing mode is the second processing mode, and after determining that the noise reduction parameters corresponding to the preset second noise reduction algorithm are initialized, performing noise analysis on the communication signal according to the second noise reduction algorithm to obtain a noise analysis result corresponding to the communication signal;
[0205] According to the second noise reduction algorithm, a reverse sound wave signal is generated for the noise analysis result; the reverse sound wave signal is played and the noise reduction effect corresponding to the reverse sound wave signal is monitored in real time;
[0206] Determine whether the noise reduction effect meets the preset second noise reduction requirement. When it is determined that the noise reduction effect does not meet the second noise reduction requirement, repeatedly adjust the signal parameters corresponding to the reverse sound wave signal until it is determined that the noise reduction effect meets the second noise reduction requirement; and at the same time, determine the reverse sound wave signal that meets the second noise reduction requirement as the primary signal processing result corresponding to the communication signal;
[0207] In addition, the terminal side 301 also includes:
[0208] The first judging module 3015 is used to judge whether a preset noise reduction termination condition is met when it is judged that the noise reduction effect reaches the second noise reduction requirement;
[0209] The terminal noise reduction processing module 3016 is used to continuously obtain new communication signals transmitted by the instant messaging system when the first judgment module 3015 determines that the noise reduction termination condition is not met, and execute a noise reduction process based on the second noise reduction algorithm on the new communication signal until it is determined that the noise reduction termination condition is met, then stop playing the reverse sound wave signal corresponding to the communication signal, release the noise reduction resources corresponding to the noise reduction process currently executed by the terminal side 301, and shut down the corresponding hardware device on the terminal side 301.
[0210] It can be seen that in this optional embodiment, for the processing method being the second processing method, another noise reduction processing flow on the terminal side is set up. This method can be combined with the hardware structure (preset processing chip) set on the terminal side, and based on the hardware combined with the configured second noise reduction algorithm, realize noise reduction processing of the communication signal, so that the terminal side is different from the first processing method, and it can be independent of the first noise reduction algorithm connected to the network, and at the same time can realize accurate and reliable noise reduction processing; at the same time, according to the different configurations of the preset processing chip, the noise reduction effect that can be achieved can also be adaptively adjusted, thereby improving the flexibility and noise reduction reliability of the terminal side in performing noise reduction processing on the communication signal.
[0211] In another optional embodiment, the secondary signal processing module 3021 performs secondary signal processing on the primary signal processing result according to a preset network noise reduction algorithm, and the method of obtaining the secondary signal processing result corresponding to the primary signal processing result specifically includes:
[0212] According to a preset network noise reduction algorithm, perform network side 302 preprocessing on the primary signal processing result to obtain a network preprocessing result corresponding to the primary signal processing result, wherein the network side 302 preprocessing includes at least one of data cleaning, data pairing, and data labeling;
[0213] Input the network preprocessing results and the pre-prepared noise data into a preset network denoising model to obtain a network denoising result corresponding to the network preprocessing results; the network denoising model is a trained model;
[0214] A preset post-processing operation is performed on the network noise reduction result to obtain a post-processing result corresponding to the network noise reduction result as a secondary signal processing result corresponding to the primary signal processing result.
[0215] It can be seen that in this optional embodiment, a signal processing mechanism on the network side is set up. After the terminal side completes the preliminary noise reduction processing on the communication signal, the server arranged on the network side uses powerful server resources to implement deep noise reduction processing of the first-level signal processing result, thereby improving the noise reduction effect corresponding to the second-level signal processing result; in addition, no matter what type of device is used on the terminal side, the network side can provide the same noise reduction processing, thereby improving the compatibility of the network side in performing second-level signal processing; in addition, in the case where the network noise reduction algorithm needs to be adjusted or updated, it is uniformly handled by the server on the network side, without the need for the user to manually update the terminal device on the terminal side, that is, the convenience of updating the network noise reduction algorithm is improved.
[0216] In another optional embodiment, the network side 302 further includes an environmental noise monitoring module 3023, an analysis module 3024, a second judgment module 3025, and a network noise reduction processing module 3026, wherein:
[0217] The environmental noise monitoring module 3023 is used to monitor the environmental noise data of the terminal environment where the terminal side 301 is located in real time;
[0218] The analysis module 3024 is used to analyze the environmental noise data to obtain environmental analysis results corresponding to the environmental noise data; the environmental analysis results include the noise type and noise type change, noise intensity and noise intensity change corresponding to the environmental noise data;
[0219] The second judgment module 3025 is used to judge whether the environmental analysis result indicates that the preset noise adjustment condition is met;
[0220] The network noise reduction processing module 3026 is used to adjust the network noise reduction parameters corresponding to the network noise reduction algorithm when the second judgment module 3025 judges that the environmental analysis result indicates that the noise adjustment condition is met;
[0221] The network noise reduction processing module 3026 is further used to perform noise reduction reprocessing on the secondary signal processing result based on the adjusted network noise reduction algorithm, and then feed back the corresponding noise reduction reprocessing result to the terminal side 301; wherein the network noise reduction parameters include but are not limited to filter coefficients, noise reduction strength, and audio frequency range;
[0222] The network noise reduction processing module 3026 is also used to record the first network parameter and the second network parameter. The first network parameter is the network parameter corresponding to the network noise reduction algorithm when the secondary signal processing result is obtained; the second network parameter is the network parameter corresponding to the network noise reduction algorithm when the noise reduction reprocessing result is obtained; the first network parameter and the second network parameter are used to optimize the network noise reduction algorithm.
[0223] It can be seen that in this optional embodiment, the network side is equipped with an intelligent monitoring and adjustment mechanism for the ambient noise of the terminal side user, which can monitor the ambient noise data of the terminal environment in real time, and when it is determined that the ambient noise data meets the noise adjustment conditions, dynamically adjust the network noise reduction parameters of the network noise reduction algorithm, thereby improving the accuracy of the secondary signal processing results fed back to the terminal side; at the same time, the dynamic adjustment of the network noise reduction algorithm can better adapt to the user's noise reduction needs and improve the noise reduction accuracy of the communication signal.
[0224] In another optional embodiment, the model training method corresponding to the network noise reduction model specifically includes:
[0225] The network side 302 produces noise training data for model training of the network noise reduction model according to the set noise data production process; the noise data production process includes noise data collection, noise addition, noise intensity adjustment, noise type adjustment, data enhancement, data labeling, data preprocessing, and data set division;
[0226] The network side 302 inputs the noise training data into the network noise reduction model, so as to train the network noise reduction model through the noise training data and obtain a trained network noise reduction model;
[0227] Among them, in the process of performing model training on the network noise reduction model, multiple evaluation indicators are set, and the multiple evaluation indicators are used to evaluate the noise reduction effect of the network noise reduction model on the noise training data; the multiple evaluation indicators include signal-to-noise ratio, voice quality perception evaluation, and user listening test evaluation feedback.
[0228] In this optional embodiment, the model training method corresponding to the network noise reduction model specifically includes:
[0229] Before the network side 302 inputs the noise training data into the network noise reduction model, the network side 302 determines a primary noise reduction model, a secondary noise reduction model and a loss function adapted thereto for constructing the network noise reduction model, wherein the primary noise reduction model includes an LSTM model; the secondary noise reduction model includes a GAN model; the GAN model includes a generator and a discriminator, and the loss function includes a primary loss function corresponding to the generator and a secondary loss function corresponding to the discriminator;
[0230] The network side 302 constructs a network denoising model according to the primary denoising model, the secondary denoising model and the loss function; then triggers the execution of the above-mentioned operation corresponding to inputting the noise training data into the network denoising model;
[0231] Among them, the first-level denoising model is used as the overall model for constructing the network denoising model, and the second-level denoising model is used as a training module used locally when training the network denoising model after the network denoising model is constructed;
[0232] And, the network side 302 further includes:
[0233] The second determination module 3027 is used to determine the noise reduction usage requirement corresponding to the terminal side 301 after obtaining the trained network noise reduction model;
[0234] The pruning and distillation module 3028 is used to perform model pruning and distillation on the network noise reduction model according to the noise reduction usage requirements, so as to obtain a terminal noise reduction model corresponding to the terminal side 301.
[0235] It can be seen that in this optional embodiment, a training mechanism is set up for the network noise reduction model on the network side and the terminal noise reduction model on the terminal side, wherein the terminal noise reduction model on the terminal side is obtained by pruning and distilling the network noise reduction model on the network side, thereby realizing an end-to-end integrated noise reduction processing mode; in addition, the end-to-end integrated noise processing expands the application scenarios and compatibility of communication signal noise reduction processing.
[0236] Embodiment 4
[0237] See also Figure 5 , Figure 5 FIG. 1 is a schematic diagram of the structure of another noise processing device for an instant messaging system based on AIGC disclosed in an embodiment of the present invention. Figure 5 As shown, the noise processing device of the instant messaging system based on AIGC may include:
[0238] A memory 401 storing executable program codes;
[0239] a processor 402 coupled to the memory 401;
[0240] The processor 402 calls the executable program code stored in the memory 401 to execute the steps in the noise processing method for the instant messaging system based on AIGC described in the first embodiment of the present invention or the second embodiment of the present invention.
[0241] Embodiment 5
[0242] An embodiment of the present invention discloses a computer storage medium, which stores computer instructions. When the computer instructions are called, they are used to execute the steps in the noise processing method for an instant messaging system based on AIGC described in Embodiment 1 or Embodiment 2 of the present invention.
[0243] Embodiment 6
[0244] An embodiment of the present invention discloses a computer program product, which includes a non-transitory computer storage medium storing a computer program, and the computer program is operable to enable a computer to execute the steps in the noise processing method for an instant messaging system based on AIGC described in Embodiment 1 or Embodiment 2.
[0245] The device embodiments described above are only illustrative, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, i.e., they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative work.
[0246] Through the specific description of the above embodiments, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the above technical solution can be essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable programmable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.
[0247] Finally, it should be noted that the noise processing method and device for an instant messaging system based on AIGC disclosed in the embodiment of the present invention discloses only a preferred embodiment of the present invention, which is only used to illustrate the technical solution of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features thereof can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A noise processing method for an instant messaging system based on AIGC, characterized in that: The method is applied to the terminal side and the network side, and the method includes: The terminal side obtains a communication signal collected by the instant messaging system, and determines a processing method for processing the communication signal, wherein the communication signal includes a noise signal to be processed, and the processing method includes a first processing method combined with a preset machine learning algorithm or a second processing method based on a preset processing chip; the processing methods all use AIGC technology; The terminal side performs, according to the processing mode, primary signal processing matching the processing mode on the communication signal to obtain a primary signal processing result corresponding to the communication signal; The terminal side transmits the primary signal processing result to the network side; The network side performs secondary signal processing on the primary signal processing result according to a preset network noise reduction algorithm to obtain a secondary signal processing result corresponding to the primary signal processing result, and feeds the secondary signal processing result back to the terminal side; The network side performs secondary signal processing on the primary signal processing result according to a preset network noise reduction algorithm to obtain a secondary signal processing result corresponding to the primary signal processing result, including: The network side performs network side preprocessing on the primary signal processing result according to a preset network noise reduction algorithm to obtain a network preprocessing result corresponding to the primary signal processing result, wherein the network side preprocessing includes at least one of data cleaning, data pairing, and data labeling; The network side inputs the network preprocessing result and the pre-prepared noise data into a preset network noise reduction model to obtain a network noise reduction result corresponding to the network preprocessing result; the network noise reduction model is a trained model; The network side performs a preset post-processing operation on the network noise reduction result to obtain a post-processing result corresponding to the network noise reduction result as a secondary signal processing result corresponding to the primary signal processing result, and the post-processing operation includes at least one of volume adjustment, equalization processing, dynamic range compression, reverberation effect processing, audio clipping, echo removal, audio standardization, audio repair, multi-channel processing, bit depth and sampling rate conversion.
2. The noise processing method of the instant messaging system based on AIGC according to claim 1, characterized in that: The terminal side performs, according to the processing mode, primary signal processing matching the processing mode on the communication signal to obtain a primary signal processing result corresponding to the communication signal, including: When the processing mode is the first processing mode, the terminal side performs terminal side preprocessing on the communication signal to obtain a terminal preprocessing result corresponding to the communication signal, and the terminal side preprocessing includes at least one of standardization, normalization and abnormality removal; The terminal side inputs the terminal preprocessing result into the selected first noise reduction algorithm, and performs a first noise reduction process on the terminal preprocessing result according to the first noise reduction algorithm to obtain a first noise reduction process result corresponding to the terminal preprocessing result; Among them, the first noise reduction algorithm includes a terminal noise reduction model, and the terminal noise reduction model is obtained by performing pruning and distillation on a training model in the network side, and the terminal noise reduction model has completed model training.
3. The noise processing method of the instant messaging system based on AIGC according to claim 2, characterized in that: The terminal side performs primary signal processing matching the processing mode on the communication signal according to the processing mode to obtain a primary signal processing result corresponding to the communication signal, further comprising: When the processing mode is the second processing mode, and after determining that the noise reduction parameters corresponding to the preset second noise reduction algorithm are initialized, the terminal side performs noise analysis on the communication signal according to the second noise reduction algorithm to obtain a noise analysis result corresponding to the communication signal; The terminal side generates a reverse sound wave signal for the noise analysis result according to the second noise reduction algorithm; plays the reverse sound wave signal and monitors the noise reduction effect corresponding to the reverse sound wave signal in real time; The terminal side determines whether the noise reduction effect meets the preset second noise reduction requirement. When it is determined that the noise reduction effect does not meet the second noise reduction requirement, repeatedly adjusts the signal parameters corresponding to the reverse sound wave signal until it is determined that the noise reduction effect meets the second noise reduction requirement; and at the same time, determines the reverse sound wave signal that meets the second noise reduction requirement as the primary signal processing result corresponding to the communication signal; The method further comprises: When it is determined that the noise reduction effect reaches the second noise reduction requirement, the terminal side determines whether a preset noise reduction termination condition is met. When it is determined that the noise reduction termination condition is not met, the terminal side continues to obtain new communication signals transmitted by the instant messaging system, and executes a noise reduction process based on the second noise reduction algorithm for the new communication signals until it is determined that the noise reduction termination condition is met, stops playing the reverse sound wave signal corresponding to the communication signal, releases the noise reduction resources corresponding to the noise reduction process currently executed by the terminal side, and shuts down the corresponding hardware device on the terminal side.
4. The noise processing method of the instant messaging system based on AIGC according to claim 1, characterized in that: The method further comprises: The network side monitors the environmental noise data of the terminal environment where the terminal side is located in real time, and analyzes the environmental noise data to obtain an environmental analysis result corresponding to the environmental noise data; the environmental analysis result includes the noise type and noise type change, noise intensity and noise intensity change corresponding to the environmental noise data; The network side determines whether the environmental analysis result indicates that a preset noise adjustment condition is satisfied. When it is determined that the environmental analysis result indicates that the noise adjustment condition is satisfied, the network noise reduction parameter corresponding to the network noise reduction algorithm is adjusted, and based on the adjusted network noise reduction algorithm, noise reduction reprocessing is performed on the secondary signal processing result, and the corresponding noise reduction reprocessing result is fed back to the terminal side. The network noise reduction parameters include filter coefficient, noise reduction intensity, and audio frequency range; The network side records a first network parameter and a second network parameter, wherein the first network parameter is a network parameter corresponding to the network noise reduction algorithm when obtaining the secondary signal processing result; the second network parameter is a network parameter corresponding to the network noise reduction algorithm when obtaining the noise reduction reprocessing result; the first network parameter and the second network parameter are used to optimize the network noise reduction algorithm.
5. The noise processing method of the instant messaging system based on AIGC according to claim 1, characterized in that: The model training method corresponding to the network denoising model specifically includes: The network side produces noise training data for model training of the network noise reduction model according to the set noise data production process; the noise data production process includes noise data collection, noise addition, noise intensity adjustment, noise type adjustment, data enhancement, data labeling, data preprocessing, and data set division; The network side inputs the noise training data into the network noise reduction model, so as to train the network noise reduction model through the noise training data, and obtain the trained network noise reduction model; In the process of performing model training on the network noise reduction model, multiple evaluation indicators are set, and the multiple evaluation indicators are used to evaluate the noise reduction effect of the network noise reduction model on the noise training data; the multiple evaluation indicators include signal-to-noise ratio, speech quality perception evaluation, and user listening test evaluation feedback.
6. The noise processing method for an instant messaging system based on AIGC according to claim 5, characterized in that: The model training method corresponding to the network denoising model specifically includes: Before the network side inputs the noise training data into the network denoising model, the network side determines a primary denoising model, a secondary denoising model and an adaptive loss function thereof for constructing the network denoising model, wherein the primary denoising model includes an LSTM model; the secondary denoising model includes a GAN model; the GAN model includes a generator and a discriminator, and the loss function includes a primary loss function corresponding to the generator and a secondary loss function corresponding to the discriminator; The network side constructs a network denoising model according to the primary denoising model, the secondary denoising model and the loss function; then triggers the execution of the operation corresponding to inputting the noise training data into the network denoising model; The first-level denoising model is used as the overall model for constructing the network denoising model, and the second-level denoising model is used as a training module used locally when training the network denoising model after the network denoising model is constructed; And, the method further comprises: After obtaining the trained network noise reduction model, the network side determines the noise reduction usage requirements corresponding to the terminal side; and according to the noise reduction usage requirements, performs model pruning and distillation on the network noise reduction model to obtain a terminal noise reduction model corresponding to the terminal side.
7. A noise processing device for an instant messaging system based on AIGC, characterized in that: The device includes a terminal side and a network side, and the terminal side includes: An acquisition module, used to acquire a communication signal collected by the instant messaging system; the communication signal includes a noise signal to be processed; A determination module, used to determine a processing method for processing the communication signal, wherein the processing method includes a first processing method combined with a preset machine learning algorithm or a second processing method based on a preset processing chip; the processing methods all adopt AIGC technology; A primary signal processing module, configured to perform primary signal processing matching the processing mode on the communication signal according to the processing mode, and obtain a primary signal processing result corresponding to the communication signal; A transmission module, used for transmitting the first-level signal processing result to the network side; The network side includes: A secondary signal processing module, used to perform secondary signal processing on the primary signal processing result according to a preset network noise reduction algorithm, to obtain a secondary signal processing result corresponding to the primary signal processing result; A data feedback module, used for feeding back the secondary signal processing result to the terminal side; The secondary signal processing module performs secondary signal processing on the primary signal processing result according to a preset network noise reduction algorithm, and the method of obtaining the secondary signal processing result corresponding to the primary signal processing result specifically includes: According to a preset network noise reduction algorithm, performing network-side preprocessing on the primary signal processing result to obtain a network preprocessing result corresponding to the primary signal processing result, wherein the network-side preprocessing includes at least one of data cleaning, data pairing, and data labeling; Inputting the network preprocessing result and the pre-prepared noise data into a preset network noise reduction model to obtain a network noise reduction result corresponding to the network preprocessing result; the network noise reduction model is a trained model; A preset post-processing operation is performed on the network noise reduction result to obtain a post-processing result corresponding to the network noise reduction result as a secondary signal processing result corresponding to the primary signal processing result, wherein the post-processing operation includes at least one of volume adjustment, equalization processing, dynamic range compression, reverberation effect processing, audio clipping, echo removal, audio standardization, audio repair, multi-channel processing, bit depth and sampling rate conversion.
8. A noise processing device for an instant messaging system based on AIGC, characterized in that: The device comprises: A memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the noise processing method for the AIGC-based instant messaging system according to any one of claims 1-6.
9. A computer storage medium, characterized in that The computer storage medium stores computer instructions, and when the computer instructions are called, they are used to execute the noise processing method for the AIGC-based instant messaging system according to any one of claims 1 to 6.
Citation Information
Patent Citations
Call voice noise reduction method and device, equipment and storage medium
CN114302286A
Signal processing method, signal processing device, electronic equipment and readable storage medium
CN114650072A
Signal processing method and device
CN115204207A
Image-based video generation method and device, model training method and device and electronic equipment
CN115861131A
Noise reduction method based on transfer learning, terminal equipment, network equipment and storage medium
CN116941185A
