Signal processing method, signal processing system and storage medium

By determining the frequency estimate of the spectrum signal of the to-process signal in the communication system and broadcasting the frequency value and energy of the target frequency interval, the low signal processing efficiency problem caused by the independent execution of Fourier transform by each module is solved, and more efficient is achieved signal processing and reduce system complexity.

CN119179833AActive Publication Date: 2024-12-24SHENZHEN DINSTAR TECH

Patent Information

Application Number
CN202411631423.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-15
Publication Date
2024-12-24
Estimated Expiration
2044-11-15

AI Technical Summary

Technical Problem

In a communication system, each algorithm module needs to independently perform multiple fast Fourier transforms, resulting in low signal processing efficiency and increasing computing overhead and system complexity.

Method used

By determining the frequency estimate of the spectrum signal of the to-process signal and broadcasting the frequency value and energy within the target frequency interval, any module of the signal processing system can process it based on this information to avoid repeated fast Fourier transforms .

Benefits of technology

It improves signal processing efficiency, reduces system complexity, saves computing resources and time, and avoids repeated Fourier transform calculations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119179833A_ABST
    Figure CN119179833A_ABST
Patent Text Reader

Abstract

The invention discloses a signal processing method, relates to the technical field of signal processing, and discloses a signal processing method, a signal processing system and a storage medium, and the method comprises the steps: determining a frequency spectrum signal obtained after a to-be-processed signal is subjected to fast Fourier transform processing, and determining a frequency estimation value corresponding to each frequency interval of the frequency spectrum signal; based on the frequency estimation value, determining a target frequency interval from all frequency intervals of the frequency spectrum signal, and determining a frequency value and energy in the target frequency interval; and broadcasting the frequency value and the energy, so that any signal processing module of the signal processing system processes the signal to be processed based on the frequency value and the energy. After fast Fourier transform of the signal is carried out through one audio processing module, any other signal processing module of the signal processing system can carry out signal analysis and processing based on all frequency values and energy in the target frequency interval of the spectrum signal, and the signal processing efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of signal processing technology, and in particular to a signal processing method, a signal processing system and a storage medium. Background Art

[0002] In the communication system, each algorithm module inevitably needs to convert the signal from the time domain (time domain) to the frequency domain (spectral domain) before performing its specific function. This conversion process relies on the Fast Fourier Transform (FFT), which can efficiently convert the time-varying signal in the time domain into the distribution of each frequency component in the frequency domain, thereby facilitating subsequent processing steps such as filtering, modulation and demodulation, and channel equalization.

[0003] However, as the complexity of communication systems increases, the number of algorithm modules involved increases, and each module needs to independently perform one or more FFT operations. This repeated operation not only increases unnecessary computing overhead, but also seriously drags down the efficiency of the overall signal processing process, resulting in low signal processing efficiency.

[0004] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention

[0005] The main purpose of the present application is to provide a signal processing method, a signal processing system and a storage medium, aiming to solve the technical problem that when processing a signal, each module needs to independently and repeatedly perform Fourier transform, resulting in low signal processing efficiency.

[0006] To achieve the above object, the present application proposes a signal processing method, the method comprising: Determine a frequency spectrum signal after the signal to be processed is processed by fast Fourier transform, and determine the frequency estimation value corresponding to each frequency interval of the frequency spectrum signal; Based on the frequency estimation value, determine a target frequency interval from all frequency intervals of the spectrum signal, and determine the frequency value and energy within the target frequency interval; The frequency value and the energy are broadcasted so that any signal processing module of the signal processing system processes the signal to be processed based on the frequency value and the energy.

[0007] In one embodiment, the step of determining a frequency spectrum signal after the signal to be processed is subjected to fast Fourier transform processing, and determining a frequency estimation value corresponding to each frequency interval of the frequency spectrum signal comprises: Determine the preset frequency interval and the number of frequency intervals corresponding to the spectrum signal; Determining a frequency detection interval according to the frequency interval and the number of frequency interval intervals; Frequency detection processing is performed based on the frequency detection interval to obtain the frequency estimation value corresponding to each frequency interval.

[0008] In one embodiment, the step of performing frequency detection processing based on the frequency detection interval to obtain the frequency estimation value corresponding to each frequency interval includes: A dual-tone multi-frequency tone matching process is performed based on the frequency detection interval, and the frequency estimation value is obtained according to a result of the tone matching process.

[0009] In one embodiment, after the step of performing frequency detection processing based on the frequency detection interval to obtain the frequency estimation value corresponding to each frequency interval, the method further includes: When there are two consecutive frequency intervals whose output frequency intervals are the same, phase rotation information of the spectrum signal is acquired, and the frequency estimation value is updated based on the phase rotation information.

[0010] In one embodiment, when there are multiple target frequency intervals, after the step of determining the target frequency interval from all frequency intervals of the spectrum signal based on the frequency estimation value, and determining the frequency value and energy within the target frequency interval, the method further includes: Determine the number of frequency intervals and phase information corresponding to each target frequency interval, and determine the number of detection frames corresponding to the spectrum signal, the total energy of the preset frequency interval, and the target energy other than all the energy in the target frequency interval; Encapsulating all the frequency values, the number of frequency intervals, the phase information, the energy, the number of detection frames, the target energy and the total energy in the form of a structure to obtain a packaging result; The encapsulation result is broadcasted.

[0011] In one embodiment, before the step of determining the frequency spectrum signal after the signal to be processed is processed by fast Fourier transform and determining the frequency estimation value corresponding to each frequency interval of the frequency spectrum signal, the step further includes: When the information of the frequency value and the energy of the signal to be processed is empty, determining the energy estimation value of the received signal to be processed, and performing a dot product calculation on the signal to be processed based on the energy estimation value to obtain a first signal; Performing windowing processing on the first signal based on a preset number of windowing signal points to obtain a second signal; Perform fast Fourier transform processing on the second signal after windowing processing to obtain the spectrum signal, and execute the steps of determining the spectrum signal after fast Fourier transform processing of the signal to be processed, and determining the frequency estimation values ​​corresponding to each frequency interval of the spectrum signal.

[0012] In one embodiment, the step of broadcasting the frequency value and the energy so that any signal processing module of the signal processing system processes the signal to be processed based on the frequency value and the energy includes: Obtaining a maximum frequency value from all frequency values ​​within the target frequency interval; The maximum frequency value and the energy are broadcasted so that a target signal processing module of the signal processing system processes the signal to be processed based on the maximum frequency value and the energy.

[0013] In one embodiment, before the step of determining the frequency spectrum signal after the signal to be processed is processed by fast Fourier transform and determining the frequency estimation value corresponding to each frequency interval of the frequency spectrum signal, the step further includes: The signal to be processed is received, and the current broadcast information includes the frequency value and the energy corresponding to the spectrum signal after the signal to be processed is processed by fast Fourier transform, and the signal to be processed is processed; Otherwise, the steps of determining the frequency spectrum signal after the signal to be processed is processed by fast Fourier transform and determining the frequency estimation value corresponding to each frequency interval of the frequency spectrum signal are performed.

[0014] In addition, to achieve the above-mentioned purpose, the present application also proposes a signal processing system, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the signal processing method described above.

[0015] In addition, to achieve the above objectives, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the signal processing method described above are implemented.

[0016] One or more technical solutions proposed in this application have at least the following technical effects: First, the frequency estimation value of each frequency interval of the spectrum signal of the signal to be processed after the fast Fourier transform is performed is determined, and then the target frequency interval in the spectrum signal is determined based on the frequency estimation value, and the frequency value and energy corresponding to the target frequency interval are broadcasted, so that any signal processing module in the signal processing system can directly process the signal to be processed based on the frequency information and energy information after the Fourier transform, without the need for repeated fast Fourier transform, thereby improving the signal processing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0018] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0019] Figure 1 A schematic diagram of a flow chart of a first embodiment of a signal processing method of the present application; Figure 2 A schematic diagram of a flow chart of a second embodiment of a signal processing method of the present application; Figure 3 A brief flowchart of a signal processing method provided in the second embodiment of the present application; Figure 4 Schematic diagram of the device structure of the hardware operating environment involved in the signal processing method in the embodiment of the present application.

[0020] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0021] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0022] In the communication system, each algorithm module inevitably needs to convert the signal from the time domain to the spectrum domain before performing its specific function. This conversion process relies on the fast Fourier transform, which can efficiently convert the time-varying signal in the time domain into the distribution of each frequency component in the frequency domain, thereby facilitating subsequent processing steps such as filtering, modulation and demodulation, and channel equalization. However, with the increase in the complexity of the communication system, the number of algorithm modules involved increases, and each module needs to perform one or more FFT operations independently. This repeated operation not only increases unnecessary computational overhead, but also seriously drags down the efficiency of the overall signal processing process, resulting in low signal processing efficiency.

[0023] Based on this, the main solution of the embodiment of the present application is: determine the spectrum signal after the signal to be processed is processed by fast Fourier transform, and determine the frequency estimation value corresponding to each frequency interval of the spectrum signal; Based on the frequency estimation value, determine a target frequency interval from all frequency intervals of the spectrum signal, and determine the frequency value and energy within the target frequency interval; The frequency value and the energy are broadcasted so that any signal processing module of the signal processing system processes the signal to be processed based on the frequency value and the energy.

[0024] Specifically, a single filter of the signal processing system is replaced by a universal audio processing module, and when a signal to be processed is received, the signal is subjected to fast Fourier transform processing, and at the same time, the frequency information and energy information that meet the requirements after the fast Fourier transform processing are broadcasted, so that other signal processing modules of the signal processing system can receive this information, and after receiving the signal to be processed, the corresponding logical calculation processing is performed on the signal to be processed based on the received frequency and energy information, thereby eliminating the need for repeated fast Fourier calculations, reducing system complexity and improving signal processing efficiency.

[0025] It should be noted that the execution subject of this embodiment may be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a signal processing system, etc. The following takes the signal processing system as an example to illustrate this embodiment and the following embodiments.

[0026] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0027] Based on this, the present application embodiment provides a signal processing method, referring to Figure 1 , Figure 1This is a flowchart of the first embodiment of the signal processing method of the present application.

[0028] In this embodiment, the signal processing method includes steps S10 to S30: Step S10, determining a frequency spectrum signal after the signal to be processed is processed by fast Fourier transform, and determining a frequency estimation value corresponding to each frequency interval of the frequency spectrum signal; It should be noted that the signal to be processed can be a received audio signal such as an audio signal, an image signal, and a video signal in a telephone communication system. The frequency estimation value refers to the frequency size corresponding to each bin (frequency interval) after the tone detector performs fast Fourier transform processing. Based on the frequency estimation value, the frequency value and energy of each frequency interval after Fourier transform processing can be determined so that the current signal processing module can process the signal to be processed. Among them, when the frequency value and energy information of the spectrum signal corresponding to the signal to be processed is empty, the frequency estimation value needs to be determined, and when the frequency value and energy information are not empty, it means that the relevant information of the signal to be processed after Fourier transform processing has been broadcast to all signal processing modules of the signal processing system, and the signal to be processed can be processed without fast Fourier transform.

[0029] In this embodiment, when the relevant Fourier transform information of the signal to be processed is empty, it is necessary to perform fast Fourier transform processing on the signal to be processed, and then obtain the corresponding Fourier transform information.

[0030] It is understandable that in a communication system composed of a signal processing system, it is usually necessary to process the signals to be processed through different computing modules, such as dual-tone multi-frequency (DTMF) signal tone detection, specific frequency signal tone detection, fax signal tone detection, call tone detection, environmental noise reduction, double-end detection in the echo canceller, etc., and these functions need to be processed based on spectral domain signals.

[0031] Based on this, in this embodiment, by integrating these functions into the tone detector, any signal processing module of the signal processing system directly performs fast Fourier transform processing on the received signal to be processed, so that the corresponding function, such as DTMF detection, can be performed based on the transformed frequency domain signal. At the same time, it is necessary to record the parameter information of the signal to be processed after the fast Fourier transform, so as to broadcast these parameter information to other signal processing modules of the signal processing system, so that when other signal processing modules analyze the signal to be processed, such as identifying a specific audio event, they can directly perform logical calculations based on the existing fast Fourier transform information, without the need to perform repeated fast Fourier transform processing on the signal to be processed, thereby improving signal processing efficiency.

[0032] Specifically, in the process of determining the frequency estimation value, the preset frequency interval and the number of frequency interval intervals corresponding to the spectrum signal can be first determined, and the frequency detection interval can be determined based on the frequency interval and the number of frequency interval intervals. Then, frequency detection processing is performed based on the frequency detection interval to obtain the frequency estimation value corresponding to each frequency interval interval. Among them, dual-tone multi-frequency (DTMF) tone matching processing can be performed based on the frequency detection interval to determine the closest frequency combination, and finally the frequency estimation value is obtained according to the tone matching processing result.

[0033] Exemplarily, the FFT preset frequency interval is 62.5Hz, and a total of 64 frequency intervals (bins) are available, that is, the frequency range of bin1 is 0-62.5Hz, and bin10 is 625-687.5Hz. In the actual signal to be processed, the high-frequency part is usually used to transmit information, while other types of tones may be more concentrated in the low-frequency area. Therefore, DTMF detection can be performed in bin 10 (625Hz) and above, and all other tone detectors are searched in bin 3 (187.5Hz) and below. That is, the interval above bin10 is used as the frequency detection interval, and DTMF detection processing is performed on it, so as to obtain the frequency estimation values ​​corresponding to these frequency detection intervals.

[0034] Furthermore, if the maximum frequency interval output in the continuous frequency interval is the same, it is necessary to measure the phase rotation of the continuous FFT output to optimize the frequency estimate. That is, when there are two continuous frequency intervals with the same frequency interval output, the phase rotation information of the spectrum signal is obtained, and the frequency estimate is updated based on the phase rotation information. Among them, the phase difference between adjacent spectrum data can be calculated, and the frequency estimate is optimized according to the phase rotation. For example, the phase rotation information of the continuous frequency interval is first extracted, and then the information is normalized, and then the normalized phase information is converted into a frequency offset through a preset processing formula, and finally the current frequency estimate is adjusted using the frequency offset, that is, the offset is added to the current frequency estimate. It can be understood that the frequency of the signal is determined by comparing the phase rotation with the known maximum frequency interval. If the phase rotation is the same as the maximum frequency interval, then the frequency of the signal can be considered to be accurate; if the phase rotation is different from the maximum frequency interval, then the frequency estimate needs to be adjusted to make it closer to the true value.

[0035] It should be noted that when determining the frequency estimate, an accurate frequency estimate can be reported based on bins and phase rotation within 5 milliseconds, i.e., the detection frame number is 5ms, thereby improving the detection effect. Among them, the FFT calculation can use frame lengths including 5ms, 10ms, 20ms, 30ms, etc. The minimum processing in the current voice communication system is 5ms, or a multiple of 5ms.

[0036] Step S20, determining a target frequency interval from all frequency intervals of the spectrum signal based on the frequency estimation value, and determining a frequency value and energy within the target frequency interval; In this embodiment, the target frequency interval may be the interval where the maximum level FFT frequency point is located. For example, the two maximum level FFT frequency points are bin20 and bin30. At this time, the two frequency intervals of bin20 and bin30 may be used as the target frequency interval, and all frequency values ​​in the interval where the two FFT frequency points are located and the total energy of the interval may be obtained. Optionally, the target frequency interval may also be the frequency interval corresponding to any valid frequency point when analyzing the spectrum signal of the signal to be processed. Among them, the signaling tone in the communication system is generally a single-frequency tone or a dual-frequency tone. When the frequency value and energy in the interval where the maximum FFT frequency point is located are analyzed and processed, the recognition accuracy of the signal to be processed can be improved. Therefore, all frequency values ​​and energy information in the two maximum level FFT frequency points are usually output. At the same time, it can ensure that all tone detectors can detect two frequencies or a single frequency.

[0037] It should be noted that the obtained frequency value information and energy information are usually all frequency values ​​within the target frequency interval and the total energy of the interval, so that other signal processing modules of the signal processing system can read the corresponding parameters for analysis and judgment based on their own setting requirements. For example, when it is necessary to detect parameters such as frequency deviation and detection duration, it can be analyzed and processed based on all existing frequency value information and energy information of the target frequency interval.

[0038] Step S30: broadcast the frequency value and the energy so that any signal processing module of the signal processing system processes the signal to be processed based on the frequency value and the energy.

[0039] In this embodiment, as an optional implementation, after obtaining all frequency values ​​and total energy within the target frequency interval, the current signal processing module can not only process based on the parsed spectrum signal, but also broadcast this information so that other signal processing modules receive the information, so that any signal processing module of the signal processing system processes the signal to be processed based on the frequency value and the energy.

[0040] The frequency value and the energy are broadcasted so that any signal processing module of the signal processing system can perform tone recognition, volume analysis, noise recognition and analysis, noise suppression and event trigger response on the signal to be processed based on the frequency value and the energy. For example, the tone recognition module can identify the main tones and chords in the audio signal to be processed based on the information when the audio signal to be processed is processed by Fourier transform; the volume analysis module can calculate the energy distribution of the audio signal to be processed and evaluate the volume; the noise recognition and analysis module can distinguish the noise components in the audio signal to be processed based on the relevant information after Fourier transform processing, and classify and evaluate the intensity of the noise components; the noise suppression module can adjust the filtering algorithm parameters, and the event trigger response module can trigger corresponding events, such as playing specific music, sounding an alarm or adjusting environmental settings.

[0041] As an optional implementation, after Fourier transform of the signal to be processed, some signal processing modules can analyze based on the maximum frequency value and total energy of the target frequency interval of the signal, while others can compare parameters based on set values. Therefore, the maximum frequency value can be obtained from all frequency values ​​of the target frequency interval, and then the maximum frequency value and energy are broadcasted, so that the target signal processing module of the signal processing module processes the signal to be processed based on the maximum frequency value and energy, such as tone recognition and volume analysis. Optionally, different parameters can also be broadcast according to the calculation requirements of the actual signal module, and this application does not limit this.

[0042] Based on this, the FFT transformation results of the signal to be processed can be reused to avoid repeated calculations, thereby saving computing resources and time. Each algorithm module only needs to focus on its own logical calculations without worrying about the details of the FFT calculations, reducing the complexity of the system.

[0043] In addition, in another optional embodiment, in addition to outputting all frequency values ​​and energy within the target frequency interval, in order to facilitate other signal processing modules to perform subsequent analysis and processing on the processed signals, in addition to broadcasting all frequency values ​​and energy within the two maximum level FFT frequency points, the detection frame number of the current spectrum signal, that is, how many ms the detection is based on, the energy of each detection interval, the total energy, the phase interval and the total energy remaining after removing the two maximum bin values ​​and other parameters can also be broadcast.

[0044] Therefore, when there are multiple target frequency intervals, that is, when at least two maximum-level FFT frequency points are determined, the number of frequency intervals and phase information corresponding to each target frequency interval can be determined, the number of detection frames corresponding to the spectrum signal, the total energy of the preset frequency interval, such as the total energy of the frequency intervals of bin3 and above, and the target energy excluding the energy within the two target frequency intervals, and then all the frequency values, the number of frequency intervals, the phase information, the energy, the number of detection frames, the target energy and the total energy are packaged in the form of a structure to obtain a packaged result, and the packaged result is broadcasted.

[0045] For example, the structure of the generated encapsulation result is as follows: typedef struct { short FrameCount; / / frame number intTotalEnergy[6]; / / The sum of energy in bin 3 and above short Freq1[6]; / / All accurate frequency information within the first maximum value, in Hz short Index1[6]; / / The bin number of the first maximum value found short Level1[6]; / / The size of the first maximum value found short Phi1[6]; / / Phase of the first maximum value found short Freq2[6]; / / All accurate frequency information within the second maximum value, in Hz short Index2[6]; / / The bin number of the second maximum value found short Level2[6]; / / The size of the second maximum value found short Phi2[6]; / / Phase of the second maximum value found intNoisep2[6]; / / The total energy remaining after removing the two maximum values } TONE_STATE; Among them, FrameCount is the number of frames. For example, a tone detector output result is given every 5 milliseconds, that is, a detection is performed every 5 milliseconds, and the maximum frame length supported is 30 milliseconds. TotalEnergy: total energy. The tone detector outputs the total energy of bin 3 and above, while the DTMF detector requires the total power of bin 10 and above. Freq: frequency. When the maximum value of two consecutive 5-ms periods is found in the same FFT bin, an accurate frequency estimate is given. The improved estimate includes the phase rotation between frames and the number of frames: F= bin *62.5 + DPhi / 5ms. When the maximum value of two consecutive 5-ms periods is not found in the same bin, the output value is -1. Noisep2, after removing the two largest components, the energy of the remaining FFT bins is added to make a noise estimate based on this information.

[0046] Based on this, after the encapsulation result is broadcasted, other signal processing modules of the signal processing system can perform corresponding logical calculations based on the data of the structure defined in the encapsulation result, without the need for repeated Fourier transform of the processed signal, thereby improving the current conversion rate.

[0047] Furthermore, in another optional implementation, the signal to be processed is received, and the current broadcast information contains the frequency value and the energy corresponding to the spectrum signal of the signal to be processed after fast Fourier transform processing, that is, other signal processing modules complete the fast Fourier transform of the signal and broadcast the relevant information. At this time, the broadcast information can be directly used, that is, the signal to be processed is processed based on the frequency value and the energy, such as tone recognition, volume analysis, noise recognition and analysis, noise suppression and event trigger response processing of the signal to be processed. Optionally, when the signal to be processed is received and the broadcast information does not contain the parameters of the signal after fast Fourier transform processing, step S10 is executed to determine the spectrum signal of the signal to be processed after fast Fourier transform processing, and determine the frequency estimation values ​​corresponding to each frequency interval of the spectrum signal.

[0048] Based on this, in this embodiment, when the FFT calculation needs to be modified or optimized, only the tone detection module needs to be modified without affecting other algorithm modules, thereby reducing maintenance costs. Since all algorithm modules use the same FFT calculation results, data consistency can be ensured, errors caused by inconsistent data can be avoided, data debugging and verification can be facilitated, and the correctness of the entire system can be ensured.

[0049] This embodiment provides a signal processing method, which first performs fast Fourier transform processing on the signal to be processed, and then broadcasts the related information after the Fourier transform processing. Any signal processing module of the signal processing system reuses the fast Fourier transform processing result of the signal to be processed, avoiding repeated calculations, thereby saving computing resources and time, and improving the processing efficiency of the signal to be processed.

[0050] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the first embodiment can refer to the above introduction, and will not be repeated in the following. Figure 2 , before step S10, the signal processing method further includes steps S01 to S03: Step S01, when the information of the frequency value and the energy of the signal to be processed is empty, determining the energy estimation value of the received signal to be processed, and performing a dot product calculation on the signal to be processed based on the energy estimation value to obtain a first signal; Step S02, performing windowing processing on the first signal based on a preset number of windowing signal points to obtain a second signal; Step S03, performing fast Fourier transform processing on the second signal after the windowing processing to obtain the spectrum signal, and executing the steps of determining the spectrum signal after the signal to be processed is subjected to fast Fourier transform processing, and determining the frequency estimation values ​​corresponding to each frequency interval of the spectrum signal.

[0051] In this embodiment, when the frequency value and the energy information of the signal to be processed are empty, it means that the signal to be processed has not been processed by fast Fourier transform. Based on this, it is necessary to perform fast Fourier transform processing on it so that other subsequent signal processing modules can reuse the results of the current calculation to improve the signal processing efficiency.

[0052] Please refer to Figure 3 As an optional implementation, when processing the signal to be processed, energy estimation can be performed on it, and then point multiplication calculation can be performed based on the energy estimation value to obtain the signal after energy estimation, and then the signal is windowed, and the number of windowed signal points is the number of sample points selected when performing the windowing operation. In this embodiment, the first signal is windowed based on the number of sample points to obtain the windowed second signal, and finally the second signal is subjected to fast Fourier transform processing, i.e., FFT calculation, so as to output the processing result according to the result of the FFT calculation, i.e., generate the encapsulation result. Therefore, after performing FFT calculation to obtain the spectrum signal, the step of determining the frequency estimation value of the spectrum signal after the fast Fourier transform processing of the signal to be processed can be performed. Optionally, the energy estimation process can be performed after the FFT calculation.

[0053] Exemplarily, when performing fast Fourier transform processing, the execution period of the tone detection module is 5ms, and the number of windowed signal points is 128. Based on this, in the process of generating the encapsulation result, the tone detection module executes a 128-point, real-input, complex-output FFT every 5 milliseconds, and outputs the frequency and energy of the two maximum-level FFT frequency points.

[0054] In this embodiment, a universal tone detection module is used to replace all other original frequency domain algorithm-based detectors in the communication system, and FFT calculation processing is performed on the signal to be processed whose FFT encapsulation result is empty, so that subsequent modules can reuse it based on the FFT processing results, avoiding repeated FFT calculations, saving algorithm complexity, code space and data storage space, and improving system integration and reliability.

[0055] The present application provides a signal processing system, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the signal processing method in the first embodiment described above.

[0056] Reference below Figure 4 , which shows a structural schematic diagram of a signal processing system suitable for implementing an embodiment of the present application. Figure 4 The signal processing system shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0057] like Figure 4As shown, the signal processing system may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the signal processing system are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the signal processing system to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a signal processing system with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.

[0058] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0059] The signal processing system provided by the present application adopts the signal processing method in the above embodiment, which can solve the technical problem that each module needs to independently and repeatedly perform Fourier transform when processing the signal, resulting in low signal processing efficiency. Compared with the prior art, the beneficial effects of the signal processing system provided by the present application are the same as the beneficial effects of the signal processing method provided by the above embodiment, and other technical features of the signal processing system are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0060] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0061] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0062] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, wherein the computer-readable program instructions are used to execute the signal processing method in the above-mentioned embodiment.

[0063] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM: Random Access Memory), a read-only memory (ROM: Read Only Memory), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination of the above.

[0064] The computer-readable storage medium may be included in the signal processing system; or may exist independently without being assembled into the signal processing system.

[0065] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the signal processing system, the signal processing system: Determine a frequency spectrum signal after the signal to be processed is processed by fast Fourier transform, and determine the frequency estimation value corresponding to each frequency interval of the frequency spectrum signal; Based on the frequency estimation value, determine a target frequency interval from all frequency intervals of the spectrum signal, and determine the frequency value and energy within the target frequency interval; The frequency value and the energy are broadcasted so that any signal processing module of the signal processing system processes the signal to be processed based on the frequency value and the energy.

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

[0067] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0068] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0069] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned signal processing method, and can solve the technical problem that when processing a signal, each module needs to independently and repeatedly perform Fourier transform, resulting in low signal processing efficiency. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the signal processing method provided by the above-mentioned embodiment, and will not be repeated here.

[0070] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A signal processing method, characterized in that: The method comprises: Determine a frequency spectrum signal after the signal to be processed is processed by fast Fourier transform, and determine the frequency estimation value corresponding to each frequency interval of the frequency spectrum signal; Based on the frequency estimation value, determine a target frequency interval from all frequency intervals of the spectrum signal, and determine the frequency value and energy within the target frequency interval; The frequency value and the energy are broadcasted so that any signal processing module of a signal processing system processes the signal to be processed based on the frequency value and the energy.

2. The signal processing method according to claim 1, characterized in that: The step of determining a frequency spectrum signal after the signal to be processed is processed by fast Fourier transform, and determining the frequency estimation value corresponding to each frequency interval of the frequency spectrum signal comprises: Determine the preset frequency interval and the number of frequency intervals corresponding to the spectrum signal; Determining a frequency detection interval according to the frequency interval and the number of frequency interval intervals; Frequency detection processing is performed based on the frequency detection interval to obtain the frequency estimation value corresponding to each frequency interval.

3. The signal processing method according to claim 2, characterized in that: The step of performing frequency detection processing based on the frequency detection interval to obtain the frequency estimation value corresponding to each frequency interval includes: A dual-tone multi-frequency tone matching process is performed based on the frequency detection interval, and the frequency estimation value is obtained according to a result of the tone matching process.

4. The signal processing method according to claim 2, characterized in that: After the step of performing frequency detection processing based on the frequency detection interval to obtain the frequency estimation value corresponding to each frequency interval, the method further includes: When there are two consecutive frequency intervals whose output frequency intervals are the same, phase rotation information of the spectrum signal is acquired, and the frequency estimation value is updated based on the phase rotation information.

5. The signal processing method according to claim 1, characterized in that: When there are multiple target frequency intervals, after the step of determining the target frequency interval from all frequency intervals of the spectrum signal based on the frequency estimation value, and determining the frequency value and energy within the target frequency interval, the method further includes: Determine the number of frequency intervals and phase information corresponding to each target frequency interval, and determine the number of detection frames corresponding to the spectrum signal, the total energy of the preset frequency interval, and the target energy other than all the energy in the target frequency interval; Encapsulating all the frequency values, the number of frequency intervals, the phase information, the energy, the number of detection frames, the target energy and the total energy in the form of a structure to obtain a packaging result; The encapsulation result is broadcasted.

6. The signal processing method according to claim 1, characterized in that: Before the step of determining the frequency spectrum signal after the signal to be processed is processed by fast Fourier transform, and determining the frequency estimation value corresponding to each frequency interval of the frequency spectrum signal, the step further includes: When the information of the frequency value and the energy of the signal to be processed is empty, determining the energy estimation value of the received signal to be processed, and performing a dot product calculation on the signal to be processed based on the energy estimation value to obtain a first signal; Performing windowing processing on the first signal based on a preset number of windowing signal points to obtain a second signal; Perform fast Fourier transform processing on the second signal after windowing processing to obtain the spectrum signal, and execute the steps of determining the spectrum signal after fast Fourier transform processing of the signal to be processed, and determining the frequency estimation values ​​corresponding to each frequency interval of the spectrum signal.

7. The signal processing method according to claim 1, characterized in that: The step of broadcasting the frequency value and the energy so that any signal processing module of the signal processing system processes the signal to be processed based on the frequency value and the energy comprises: Obtaining a maximum frequency value from all frequency values ​​within the target frequency interval; The maximum frequency value and the energy are broadcasted so that a target signal processing module of the signal processing system processes the signal to be processed based on the maximum frequency value and the energy.

8. The signal processing method according to any one of claims 1 to 7, characterized in that: Before the step of determining the frequency spectrum signal after the signal to be processed is processed by fast Fourier transform, and determining the frequency estimation value corresponding to each frequency interval of the frequency spectrum signal, the step further includes: The signal to be processed is received, and the current broadcast information includes the frequency value and the energy corresponding to the spectrum signal after the signal to be processed is processed by fast Fourier transform, and the signal to be processed is processed; Otherwise, the steps of determining the frequency spectrum signal after the signal to be processed is processed by fast Fourier transform and determining the frequency estimation value corresponding to each frequency interval of the frequency spectrum signal are performed.

9. A signal processing system, characterized in that: The signal processing system comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the signal processing method according to any one of claims 1 to 8.

10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the signal processing method according to any one of claims 1 to 8 are implemented.

Citation Information

Patent Citations

  • Real-time measuring method of vibration unbalance phase of engine

    CN105571874A

  • Signal effective frequency detection method, terminal device and storage medium

    CN114385977A

  • Radar target frequency component estimation method and device, computer equipment and medium

    CN118131149A

  • Voice signal processing method, voice signal processing device and storage medium

    CN118800268A

  • Method for detecting radar signals

    US20200233058A1

Cited By

  • Signal processing method and device, equipment and storage medium

    CN120801817A