Signal correction method, device, equipment, storage medium and computer program product

By windowing the signal to be corrected in the voice signal collected and adjusting its correlation coefficient, the problem of insufficient signal correlation is solved and more accurate signal processing results are achieved.

CN114520006BActive Publication Date: 2025-04-04SOUNDAI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210103474.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-27
Publication Date
2025-04-04
Estimated Expiration
2042-01-27

AI Technical Summary

Technical Problem

During the voice signal acquisition process, due to the differences between microphones, the collected signal correlation is weak, which in turn affects the accuracy of signal processing.

Method used

By obtaining the signal to be corrected, the corrected signal and the reference signal are windowed using the preset window function, the correlation coefficient of the signal is adjusted to satisfy the preset threshold condition, and the corrected signal is determined.

Benefits of technology

Improve the correlation between signals, ensure the accuracy of subsequent signal processing, and reduce errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114520006B_ABST
    Figure CN114520006B_ABST
Patent Text Reader

Abstract

The embodiments of the present application provide a signal correction method, device, equipment, storage medium and computer program product. The method includes: determining the signal to be corrected according to the correlation coefficient between the signals, performing windowing processing on the signal to be corrected, and when the signal obtained after windowing meets the correlation coefficient threshold condition, determining that the windowed signal is the corrected signal. According to the method of the embodiment of the present application, the correlation coefficient of the signal can be corrected to avoid the problem of inaccurate results when the correlation coefficient is used for processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of signal processing technology, and in particular, relates to a signal correction method, device, equipment, storage medium and computer program product. Background Art

[0002] At present, when collecting voice signals, due to the differences between microphones in voice interaction devices, the collected signals have certain errors, that is, the actual collected signal correlation is weak. In the field of signal processing, the correlation coefficient is usually used to analyze the correlation between two signals, that is, the similarity of the signals. The more similar the two signals are, the stronger the correlation is. Due to the existence of errors, when using the correlation coefficient between signals for related signal processing, large errors are likely to occur, and the calculation results are inaccurate. Summary of the invention

[0003] The embodiments of the present application provide a signal correction method, apparatus, device, storage medium and computer program product, which can correct signals so that the corrected signals have a stronger correlation and obtain more accurate analysis and processing results.

[0004] In a first aspect, an embodiment of the present application provides a signal correction method, comprising:

[0005] Acquire a signal to be corrected, where the signal to be corrected is a signal whose correlation coefficient with the reference signal is less than a first preset threshold;

[0006] Adopting a first preset window function to window the signal to be corrected and the reference signal respectively to obtain a first signal and a second signal, wherein the window length of the first preset window function is less than the length of the signal to be corrected, the first signal is the signal to be corrected within the window length range of the first preset window function, and the second signal is the reference signal within the window length range of the first preset window function;

[0007] After the first preset window function is shifted according to the preset window shift, the first signal is windowed using the second preset window function to obtain a third signal, the correlation coefficient between the third signal and the second signal is greater than a second preset threshold, and the window length of the second preset window function is equal to the window length of the first preset window function;

[0008] When the second preset window function traverses the signal to be corrected and the correlation coefficient between the signal to be corrected after the windowing process and the reference signal is greater than the third preset threshold, it is determined that the signal to be corrected after the windowing process is the corrected signal.

[0009] In a second aspect, an embodiment of the present application provides a signal correction device, comprising:

[0010] An acquisition module, used for acquiring a signal to be corrected, where the signal to be corrected is a signal whose correlation coefficient with the reference signal is less than a first preset threshold;

[0011] A windowing module, used for respectively windowing the signal to be corrected and the first signal using a first preset window function to obtain a first signal and a second signal, wherein the window length of the first preset window function is less than the length of the signal to be corrected, the first signal is the signal to be corrected within the window length range of the first preset window function, and the second signal is a reference signal within the window length range of the first preset window function;

[0012] The windowing module is further used to perform windowing processing on the first signal using a second preset window function after shifting the first preset window function according to a preset window shift, so as to obtain a third signal, wherein the correlation coefficient between the third signal and the second signal is greater than a second preset threshold value, and the window length of the second preset window function is equal to the window length of the first preset window function;

[0013] The determination module is also used to determine that the signal to be corrected after the windowing process is a corrected signal when the second preset window function traverses the signal to be corrected and the correlation coefficient between the signal to be corrected after the windowing process and the reference signal is greater than a third preset threshold.

[0014] In a third aspect, an embodiment of the present application provides a signal correction device, including:

[0015] a processor, and a memory storing computer program instructions;

[0016] The processor reads and executes computer program instructions to implement the signal correction method of the first aspect.

[0017] In a fourth aspect, an embodiment of the present application provides a computer storage medium having computer program instructions stored thereon, and when the computer program instructions are executed by a processor, the signal correction method of the first aspect is implemented.

[0018] In a fifth aspect, an embodiment of the present application provides a computer program product. When instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the signal correction method of the first aspect.

[0019] The signal correction method, device, equipment, computer storage medium and computer program product of the embodiments of the present application can determine the signal to be corrected based on the correlation coefficient between the signals, and by windowing the signal to be corrected, make the windowed signal meet the correlation requirements, so as to avoid the problem of low accuracy of the processing result when the correlation coefficient is used for subsequent processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0021] Figure 1 It is a flowchart of a signal correction method provided in an embodiment of the present application;

[0022] Figure 2 is a structural schematic diagram of a signal correction device provided in an embodiment of the present application;

[0023] Figure 3 It is a structural schematic diagram of a signal correction device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0024] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.

[0025] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0026] At present, due to factors such as the quality of microphones, the signals collected by microphones in the same voice interaction device are theoretically highly correlated, but in actual calculation, the results obtained are not highly correlated. When the calculated correlation coefficient is used to process the signal later, the processing result is not accurate enough.

[0027] In order to solve the problems in the prior art, the embodiments of the present application provide a signal correction method, device, equipment and computer storage medium. The method provided by the embodiments of the present application is first introduced below.

[0028] Figure 1 FIG. 1 is a flow chart of a signal correction method provided by an embodiment of the present application. Figure 1 As shown, the method may include the following steps:

[0029] S110, obtaining a signal to be corrected, where the signal to be corrected is a signal whose correlation coefficient with the reference signal is less than a first preset threshold.

[0030] A signal to be corrected is obtained, where the signal to be corrected is a signal that does not meet a preset correlation coefficient condition. Specifically, the correlation coefficient between the signal to be corrected and the reference signal is less than a first preset threshold, and the reference signal is a normal signal that meets the correlation coefficient condition. The first preset threshold can be set and is not limited thereto.

[0031] In some embodiments, the reference signal is a signal collected by an audio collection device in a normal voice interaction device or a preset signal; the signal to be corrected is a signal collected by a problematic voice interaction device or a signal determined not to meet the correlation coefficient condition. The audio collection device may be a microphone.

[0032] S120. Use a first preset window function to window the signal to be corrected and the reference signal respectively to obtain a first signal and a second signal, wherein the window length of the first preset window function is smaller than the length of the signal to be corrected, the first signal is the signal to be corrected within the window length range of the first preset window function, and the second signal is the reference signal within the window length range of the first preset window function.

[0033] The signal to be corrected is windowed using the first preset window function to obtain a first signal, i.e., a signal within the window. Specifically, the first signal is a signal to be corrected within the window length range of the first preset window function. The reference signal is windowed using the first preset window function to obtain a second signal. Specifically, the second signal is a reference signal within the window length range of the first preset window function. Segmenting the signal by the window function can avoid the problem of inaccurate spectrum results caused by abrupt changes in the signal at the segmented position. Among them, the first preset window function can be a Hanning window or a Hamming window, and the length of the first preset window function can be set, without limitation.

[0034] S130. After shifting the first preset window function according to the preset window shift, the first signal is windowed using the second preset window function to obtain a third signal, the correlation coefficient between the third signal and the second signal is greater than a second preset threshold, and the window length of the second preset window function is equal to the window length of the first preset window function.

[0035] According to the preset window shift, the first preset window function is moved, and the second preset window function is used in turn to perform windowing processing on the signal in the window, that is, the first signal, to obtain a third signal, and the third signal must satisfy that the correlation coefficient with the second signal is greater than the second preset threshold value, until the windowing of the entire signal to be corrected is completed. Among them, the preset window shift can be set, and the second preset threshold value can be set, which is not limited. The second preset window function is a Gaussian window. Compared with other window functions, the Gaussian window can reduce errors and obtain more accurate correction results.

[0036] In one example, the second preset threshold is set to 0.8.

[0037] S140. When the second preset window function traverses the signal to be corrected and the correlation coefficient between the windowed signal to be corrected and the reference signal is greater than a third preset threshold, determine that the windowed signal to be corrected is a corrected signal.

[0038] When the second preset window function moves and traverses the signal to be corrected according to the preset window shift, the window function completes the windowing process of the entire signal to be corrected. The correlation coefficient of the processed signal to be corrected and the reference signal is calculated, and when the calculated correlation coefficient is greater than the third preset threshold, the signal to be corrected after the windowing process is determined to be the corrected signal. Among them, the third preset threshold can be set, and there is no limitation on this.

[0039] In one example, the third preset threshold is set to 0.8.

[0040] The signal correction method provided in the embodiment of the present application can determine the signal to be corrected according to the correlation coefficient between the signals, window the signal to be corrected, and modify the window function so that the signal obtained after windowing meets the threshold condition of the correlation coefficient and has a strong correlation, so that the result obtained by subsequent processing using the correlation coefficient is more accurate.

[0041] In some embodiments, obtaining the signal to be corrected includes: obtaining signals of the same voice data respectively collected by at least two audio acquisition devices in the voice interaction device; calculating the correlation coefficients of the signals collected by the two audio acquisition devices; when the correlation coefficients include a correlation coefficient less than or equal to a first preset threshold, determining that the voice interaction device is the first voice interaction device; respectively calculating the correlation coefficients between the signals collected by each audio acquisition device in the first voice interaction device and the reference signal; when the correlation coefficient between the signal collected by the audio acquisition device in the first voice interaction device and the reference signal is less than the first preset threshold, determining that the signal collected by the audio acquisition device in the first voice interaction device is the signal to be corrected.

[0042] Acquire multiple discrete signals obtained by at least two audio acquisition devices in each of the multiple voice interaction devices for the same voice data. Calculate the correlation coefficients between the discrete signals acquired by the two audio devices in each voice interaction device respectively. According to the calculated correlation coefficients between the signals acquired by the audio devices in each voice interaction device, determine that the voice interaction device whose correlation coefficient includes a correlation coefficient less than or equal to a first preset threshold is the first voice interaction device, i.e., the problematic device. Calculate the correlation coefficient between the signal acquired by each audio acquisition device in the problematic device and the reference signal. When the correlation coefficient between the signal acquired by the audio acquisition device in the first voice interaction device and the reference signal is less than the first preset threshold, determine that the signal acquired by the audio acquisition device in the first voice interaction device is the signal to be corrected.

[0043] In one example, the correlation coefficient Y between the signals collected by the microphone and the correlation are as follows: when Y<0.5, the two signals are weakly correlated; when 0.5≤Y≤0.8, the two signals are correlated; when 0.8≤Y≤1, the two signals are strongly correlated. The first preset threshold is 0.8.

[0044] In some embodiments, the signal correction method further includes: when the correlation coefficients are all greater than the first preset threshold, determining that the voice interaction device is a second voice interaction device; determining the maximum value of the correlation coefficients of the signals collected by the pairwise audio collection devices in the second voice interaction device as the target correlation coefficient; and determining that any one of the two signals corresponding to the target correlation coefficient is a reference signal. When the calculated correlation coefficients between the signals collected by the audio devices in the voice interaction device are all greater than the first preset threshold, determining that the voice interaction device is a second voice interaction device, that is, a normal device. At the same time, determining the maximum correlation coefficient as the target correlation coefficient, and then determining that any one of the two signals corresponding to the target correlation coefficient is a reference signal.

[0045] In some embodiments, the signal correction method further includes: when the correlation coefficient between the signal to be corrected and the reference signal after windowing is less than or equal to a third preset threshold, modifying the window type of the first preset window function; and correcting the signal to be corrected based on the modified window type. When the calculated correlation coefficient between the signal to be corrected and the reference signal after windowing is less than or equal to the third preset threshold, modifying the window type of the first preset window function. For example, modifying from a Hanning window to a Hamming window. Performing the above-mentioned windowing correlation operation based on the modified window function, correcting the signal to be corrected.

[0046] In some embodiments, the signal correction method further includes: when the correlation coefficient between the signal to be corrected and the reference signal after windowing is less than or equal to a third preset threshold, modifying the preset window shift; based on the modified preset window shift, correcting the signal to be corrected. When the calculated correlation coefficient between the signal to be corrected and the reference signal after windowing is less than or equal to the third preset threshold, modifying the preset window shift. For example, the original preset window shift is 128, which is modified to 256. The above-mentioned windowing correlation operation is performed based on the modified window shift to correct the signal to be corrected.

[0047] In some embodiments, the signal correction method further includes: when the correlation coefficient between the signal to be corrected and the reference signal after windowing is less than or equal to a third preset threshold, modifying the window length of the first preset window function; and correcting the signal to be corrected based on the modified window length. When the calculated correlation coefficient between the signal to be corrected and the reference signal after windowing is less than or equal to the third preset threshold, modifying the window length of the first preset window function. For example, the original window length 512 is modified to 1024. The above-mentioned windowing correlation operation is performed based on the window length of the modified window function to correct the signal to be corrected.

[0048] In some embodiments, when the correlation coefficient between the windowed signal to be corrected and the reference signal is less than or equal to a third preset threshold, any combination of the three methods of modifying the window type, preset window shift, and window length of the first preset window function can be selected to achieve the corresponding technical effect.

[0049] The signal correction method provided in the embodiment of the present application can determine the signal to be corrected through the correlation coefficient of the signal, and by windowing the signal to be corrected and modifying the window type, window shift, window length, etc., the windowed signal has a strong correlation, and accurate results can be obtained when the correlation coefficient is used for subsequent processing.

[0050] Figure 2 Schematic diagram of a device structure provided in an embodiment of the present application. Figure 2 As shown, the apparatus may include an acquisition module 210 , a windowing module 220 and a determination module 230 .

[0051] An acquisition module 210 is used to acquire a signal to be corrected, where the signal to be corrected is a signal whose correlation coefficient with the reference signal is less than a first preset threshold;

[0052] A windowing module 220 is used to perform windowing on the signal to be corrected and the reference signal respectively using a first preset window function to obtain a first signal and a second signal, wherein the window length of the first preset window function is less than the length of the signal to be corrected, the first signal is the signal to be corrected within the window length range of the first preset window function, and the second signal is the reference signal within the window length range of the first preset window function;

[0053] The windowing module 220 is further configured to perform windowing processing on the first signal using a second preset window function after shifting the first preset window function according to a preset window shift, so as to obtain a third signal, wherein a correlation coefficient between the third signal and the second signal is greater than a second preset threshold, and a window length of the second preset window function is equal to a window length of the first preset window function;

[0054] The determination module 230 is further configured to determine that the windowed signal to be corrected is a corrected signal when the second preset window function traverses the signal to be corrected and the correlation coefficient between the windowed signal to be corrected and the reference signal is greater than a third preset threshold.

[0055] The signal correction device provided in the embodiment of the present application can determine the signal to be corrected based on the correlation coefficient between the signals, and by performing a windowing operation on the signal to be corrected, the windowed signal is made to meet the correlation condition, so that accurate results can be obtained when the correlation coefficient is used for subsequent processing operations.

[0056] In some embodiments, the acquisition module 210 is used to obtain the signal to be corrected, including: the acquisition module 210, which is used to obtain signals of the same voice data collected by at least two audio collection devices in the voice interaction device; the calculation module 240, which is used to calculate the correlation coefficients of the signals collected by the two audio collection devices; the determination module 230, which is used to determine that the voice interaction device is the first voice interaction device when the correlation coefficient includes a correlation coefficient less than or equal to a first preset threshold; the calculation module 240 is also used to respectively calculate the correlation coefficients between the signals collected by each audio collection device in the first voice interaction device and the reference signal; the determination module 230 is also used to determine that the signal collected by the audio collection device in the first voice interaction device is the signal to be corrected when the correlation coefficient between the signal collected by the audio collection device in the first voice interaction device and the reference signal is less than the first preset threshold.

[0057] In some embodiments, the device also includes: a determination module 230, which is also used to determine that the voice interaction device is a second voice interaction device when the correlation coefficients are all greater than a first preset threshold value; the determination module 230 is also used to determine that the maximum value of the correlation coefficients of the signals collected by the pairwise audio collection devices in the second voice interaction device is the target correlation coefficient; the determination module 230 is also used to determine that any one of the two signals corresponding to the target correlation coefficient is a reference signal.

[0058] In some embodiments, the signal correction device also includes: a modification module 250, which is used to modify the window type of the first preset window function when the correlation coefficient between the signal to be corrected and the reference signal after windowing is less than or equal to a third preset threshold; a correction module 260, which is used to correct the signal to be corrected based on the modified window type.

[0059] In some embodiments, the signal correction device also includes: a modification module 250, which is also used to modify the preset window shift when the correlation coefficient between the signal to be corrected and the reference signal after windowing is less than or equal to a third preset threshold; a correction module 260, which is also used to correct the signal to be corrected based on the modified preset window shift.

[0060] In some embodiments, the signal correction device also includes: a modification module 250, which is also used to modify the window length of the first preset window function when the correlation coefficient between the signal to be corrected and the reference signal after windowing is less than or equal to a third preset threshold; a correction module 260, which is also used to correct the signal to be corrected based on the modified preset window length.

[0061] The signal correction device provided in the embodiment of the present application can determine the signal to be corrected through the correlation coefficient of the signal, and by windowing the signal to be corrected and modifying the window type, window shift, window length, etc., the windowed signal has a strong correlation, so that accurate results can be obtained when the correlation coefficient is used for subsequent processing.

[0062] Figure 2 Each module / unit in the device shown has the function of realizing Figure 1 The functions of each step in the process can achieve the corresponding technical effects, which will not be described in detail here for the sake of brevity.

[0063] Figure 3 A schematic diagram of the hardware structure of the signal correction provided in an embodiment of the present application is shown.

[0064] The signal correction device may include a processor 301 and a memory 302 storing computer program instructions.

[0065] Specifically, the processor 301 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0066] The memory 302 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 302 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In one example, the memory 302 may include a removable or non-removable (or fixed) medium, or the memory 302 is a non-volatile solid-state memory. The memory 302 may be inside or outside the integrated gateway disaster recovery device.

[0067] In one example, the memory 302 may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Thus, typically, the memory 302 includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to an aspect of the present application.

[0068] The processor 301 reads and executes the computer program instructions stored in the memory 302 to implement Figure 1 The method / steps S110 to S180 in the embodiment shown in the figure are achieved Figure 1 The corresponding technical effects achieved by executing the methods / steps in the example shown are not repeated here for the sake of brevity.

[0069] In one example, the signal correction device may further include a communication interface 303 and a bus 310. Figure 3 As shown, the processor 301, the memory 302, and the communication interface 303 are connected via a bus 310 and communicate with each other.

[0070] The communication interface 303 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.

[0071] Bus 310 includes hardware, software or both, and the components of the signal correction device are coupled to each other. For example, but not limitation, the bus may include Accelerated Graphics Port (AGP) or other graphics bus, Enhanced Industry Standard Architecture (EISA) bus, Front Side Bus (FSB), Hyper Transport (HT) interconnection, Industry Standard Architecture (ISA) bus, InfiniBand Interconnection, Low Pin Count (LPC) bus, Memory Bus, Micro Channel Architecture (MCA) bus, Peripheral Component Interconnect (PCI) bus, PCI-Express (PCI-X) bus, Serial Advanced Technology Attachment (SATA) bus, Video Electronics Standards Association Local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 310 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the present application considers any suitable bus or interconnection.

[0072] The signal correction device can perform the signal correction method in the embodiment of the present application based on the correlation coefficient and the window function of the signal, thereby realizing the combination Figure 1 Describe the signal correction method.

[0073] In addition, in combination with the signal correction method in the above embodiment, the embodiment of the present application can provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any one of the signal correction methods in the above embodiment is implemented.

[0074] An embodiment of the present application provides a computer program product, characterized in that when instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the above-mentioned signal correction method.

[0075] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.

[0076] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), appropriate firmware, plug-in, function card, etc. When implemented in software, the elements of the present application are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or communication link by a data signal carried in a carrier. "Machine-readable medium" may include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (Radio Frequency, RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0077] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.

[0078] The above reference is according to the method of the embodiment of the present application, the flow chart of the device (system) and the computer program product and / or the block diagram described various aspects of the present application.It should be understood that each square box in the flow chart and / or the block diagram and the combination of each square box in the flow chart and / or the block diagram can be realized by computer program instructions.These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the realization of the function / action specified in one or more square boxes of the flow chart and / or the block diagram.Such a processor can be but is not limited to a general-purpose processor, a special-purpose processor, a special application processor or a field programmable logic circuit.It can also be understood that each square box in the block diagram and / or the flow chart and the combination of the square boxes in the block diagram and / or the flow chart can also be realized by the dedicated hardware that performs the specified function or action, or can be realized by the combination of dedicated hardware and computer instructions.

[0079] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.

Claims

1. A signal correction method, characterized in that: include: Acquire a signal to be corrected, wherein the signal to be corrected is a signal whose correlation coefficient with the reference signal is less than a first preset threshold; Adopting a first preset window function to window the signal to be corrected and the reference signal respectively to obtain a first signal and a second signal, wherein the window length of the first preset window function is less than the length of the signal to be corrected, the first signal is the signal to be corrected within the window length range of the first preset window function, and the second signal is the reference signal within the window length range of the first preset window function; After the first preset window function is moved according to a preset window shift, a second preset window function is used to perform windowing processing on the first signal to obtain a third signal, wherein a correlation coefficient between the third signal and the second signal is greater than a second preset threshold, and a window length of the second preset window function is equal to a window length of the first preset window function; When the second preset window function traverses the signal to be corrected and the correlation coefficient between the signal to be corrected after the windowing process and the reference signal is greater than a third preset threshold, determining that the signal to be corrected after the windowing process is a corrected signal; The step of obtaining the signal to be corrected comprises: Acquire signals of at least two audio acquisition devices in the voice interaction device respectively acquiring the same voice data; Calculate the correlation coefficient of the signals collected by the two audio collection devices; When the correlation coefficients include a correlation coefficient that is less than or equal to the first preset threshold, determining that the voice interaction device is a first voice interaction device; Calculate the correlation coefficient between the signal collected by each audio collection device in the first voice interaction device and the reference signal respectively; When the correlation coefficient between the signal collected by the audio collection device in the first voice interaction device and the reference signal is less than the first preset threshold, it is determined that the signal collected by the audio collection device in the first voice interaction device is a signal to be corrected.

2. The method according to claim 1, characterized in that The method further comprises: When the correlation coefficients are all greater than the first preset threshold, determining that the voice interaction device is a second voice interaction device; Determine the maximum value among the correlation coefficients of the signals collected by the pairwise audio collection devices in the second voice interaction device as the target correlation coefficient; Determine that any one of the two signals corresponding to the target correlation coefficient is the reference signal.

3. The method according to any one of claims 1 to 2, characterized in that: The method further comprises: When the correlation coefficient between the signal to be corrected after the windowing process and the reference signal is less than or equal to a third preset threshold, modifying the window type of the first preset window function; The signal to be corrected is corrected based on the modified window type.

4. The method according to any one of claims 1 to 2, characterized in that: The method further comprises: When the correlation coefficient between the signal to be corrected after the windowing process and the reference signal is less than or equal to a third preset threshold, modifying the preset window shift; The signal to be corrected is corrected based on the modified preset window shift.

5. The method according to any one of claims 1-2, characterized in that: The method further comprises: When the correlation coefficient between the signal to be corrected after the windowing process and the reference signal is less than or equal to a third preset threshold, modifying the window length of the first preset window function; The signal to be corrected is corrected based on the modified window length of the first preset window function.

6. A signal correction device, characterized in that: The device comprises: An acquisition module, used for acquiring a signal to be corrected, wherein the signal to be corrected is a signal whose correlation coefficient with the reference signal is less than a first preset threshold; A windowing module, used for respectively windowing the signal to be corrected and the reference signal using a first preset window function to obtain a first signal and a second signal, wherein the window length of the first preset window function is less than the length of the signal to be corrected, the first signal is the signal to be corrected within the window length range of the first preset window function, and the second signal is the reference signal within the window length range of the first preset window function; The windowing module is further used to perform windowing processing on the first signal using a second preset window function after moving the first preset window function according to a preset window shift to obtain a third signal, wherein the correlation coefficient between the third signal and the second signal is greater than a second preset threshold, and the window length of the second preset window function is equal to the window length of the first preset window function; The determination module is further used to determine that the signal to be corrected after the windowing process is a corrected signal when the second preset window function traverses the signal to be corrected and the correlation coefficient between the signal to be corrected after the windowing process and the reference signal is greater than a third preset threshold value; The acquisition module is specifically used for: Acquire signals of at least two audio acquisition devices in the voice interaction device respectively acquiring the same voice data; Calculate the correlation coefficient of the signals collected by the two audio collection devices; When the correlation coefficients include a correlation coefficient that is less than or equal to the first preset threshold, determining that the voice interaction device is a first voice interaction device; Calculate the correlation coefficient between the signal collected by each audio collection device in the first voice interaction device and the reference signal respectively; When the correlation coefficient between the signal collected by the audio collection device in the first voice interaction device and the reference signal is less than the first preset threshold, it is determined that the signal collected by the audio collection device in the first voice interaction device is a signal to be corrected.

7. A signal correction device, characterized in that: The signal correction device includes: a processor, and a memory storing computer program instructions; The processor reads and executes the computer program instructions to implement the signal correction method as described in any one of claims 1-5.

8. A computer storage medium, characterized in that The computer storage medium stores computer program instructions, and when the computer program instructions are executed by the processor, the signal correction method according to any one of claims 1 to 5 is implemented.

9. A computer program product, characterized in that When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the signal correction method as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Method for correcting voiceprint recognition

    CN106971731A

  • Voice processing apparatus and voice processing method

    US20150066487A1