Filtering method, server and storage medium

By shifting the FRM filter according to the bandwidth of the target signal, the problem of insufficient flexibility of the filter coefficient in the prior art is solved, and high-efficiency filtering of signals of any bandwidth and effective removal of interference signals are achieved.

CN114448389BActive Publication Date: 2025-02-11NANJING ZHONGXING XIN SOFTWARE CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202011219112.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-04
Publication Date
2025-02-11
Estimated Expiration
2040-11-04

Smart Images

  • Figure CN114448389B_ABST
    Figure CN114448389B_ABST
Patent Text Reader

Abstract

The embodiments of the present application relate to the field of signal processing technology, and disclose a filtering method, a server, and a storage medium. In the embodiments of the present application, the frequency shift amount of the FRM filter is determined according to the bandwidth of the target signal; the frequency of the FRM filter is shifted according to the frequency shift amount; and the target signal is filtered by the FRM filter after the frequency shift. With such a method, there is no need to redesign the coefficients of the FRM filter, and an FRM filter that meets the requirements of the target signal can be obtained only by frequency shifting. By filtering the target signal with the FRM filter after the frequency shift, at least the near-end interference signal of the target signal can be filtered out, that is, only one set of filter coefficients is used to meet the requirements of signals of any bandwidth, and the flexibility is high.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] Frequency Response Masking (FRM) technology can be used to design a filter with a lower order into a filter with higher performance. The implementation process is as follows: first, a base filter with a lower order is designed, and a complementary filter with complementary amplitude to the base filter is obtained. Then, the coefficients of the base filter and the complementary filter are interpolated with zeros to obtain two complementary narrow transition band periodic multi-band frequency responses. Then, the masking filter is used to mask the narrow transition band periodic multi-band frequency responses, that is, the useful frequency bands of the two are added together to obtain a filter with higher performance. However, the coefficients of the filter designed by the FRM technology are less flexible. For signals with different bandwidths, the coefficients of the filter need to be redesigned using the FRM technology, and then different signals are filtered. Summary of the invention

[0003] The embodiments of the present application provide a filtering method, a server, and a storage medium, which can meet the requirements of signals of any bandwidth and have high flexibility.

[0004] To achieve the above-mentioned purpose, an embodiment of the present application provides a filtering method, including: determining the frequency shift amount of the frequency response masking FRM filter according to the bandwidth of the target signal; frequency shifting the FRM filter according to the frequency shift amount; and filtering the target signal through the frequency-shifted FRM filter.

[0005] To achieve the above-mentioned purpose, an embodiment of the present application also provides a server, comprising: 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 filtering method described above.

[0006] To achieve the above objectives, an embodiment of the present application further provides a computer-readable storage medium storing a computer program, wherein the computer program implements the above filtering method when executed by a processor.

[0007] The filtering method, server and storage medium proposed in the present application determine the frequency shift amount of the FRM filter according to the bandwidth of the target signal; perform frequency shift on the FRM filter according to the frequency shift amount; and filter the target signal through the FRM filter after the frequency shift. With such a method, there is no need to redesign the coefficients of the FRM filter, and an FRM filter that meets the requirements of the target signal can be obtained only through frequency shifting. By filtering the target signal with the FRM filter after the frequency shift, at least the near-end interference signal of the target signal can be filtered out, that is, only one set of filter coefficients is used to meet the requirements of signals of any bandwidth, and the flexibility is high. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] Figure 1 is a flow chart of the filtering method according to the first embodiment of the present application;

[0009] Figure 2 is a schematic diagram of a signal output by the FRM filter in the first embodiment of the present application;

[0010] Figure 3 is a schematic diagram of a signal output by the FRM filter after forward frequency shift in the first embodiment of the present application;

[0011] Figure 4 is a schematic diagram of a signal output by the FRM filter after negative frequency shift in the first embodiment of the present application;

[0012] Figure 5 is a schematic diagram of the direction of signals according to the first embodiment of the present application;

[0013] Figure 6 is a flow chart of a filtering method according to a second embodiment of the present application;

[0014] Figure 7 is a flow chart of a filtering method according to a third embodiment of the present application;

[0015] Figure 8 It is a schematic diagram of the structure of the server in the fourth embodiment of the present application. DETAILED DESCRIPTION

[0016] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the embodiments of the present application will be described in detail below in conjunction with the accompanying drawings. However, it will be appreciated by those skilled in the art that in the present application, many technical details are proposed in order to enable the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical scheme claimed in the present application can also be implemented. The division of the following embodiments is for the convenience of description, and the specific implementation of the present application should not be construed as any limitation, and the various embodiments can be combined and referenced with each other under the premise of no contradiction.

[0017] The first embodiment of the present application relates to a filtering method applied to an intermediate frequency link architecture system. The specific flow chart is as follows: Figure 1 As shown, including:

[0018] Step 101, determining the frequency shift amount of the FRM filter according to the bandwidth of the target signal.

[0019] Specifically, the target signal may be a baseband signal generated by the system itself, or it may be a signal sent by an external device. The system can determine the bandwidth of the target signal by scanning the target signal through its own sweeping frequency meter, or the system first sends the target signal to a sweeping frequency meter outside the system, and the external sweeping frequency meter sweeps the target signal to determine the bandwidth of the target signal, and then sends the bandwidth of the target signal to the system. Since there may be interference signals in the target signal, in order to filter out the interference signals in the target signal, it is necessary to determine the frequency shift amount according to the bandwidth of the interference signals in the target signal, so that the stopband bandwidth of the FRM filter after frequency shifting according to the frequency shift amount is less than or equal to the bandwidth of the interference signal, thereby at least filtering out the near-end interference signal, wherein the stopband bandwidth of the FRM filter represents the bandwidth of the signal that can be filtered out by the FRM filter.

[0020] In one example, the frequency shift amount of the FRM filter is determined according to the bandwidth of the target signal, including: determining the frequency shift amount of the FRM filter corresponding to the bandwidth of the target signal according to the preset correspondence between the bandwidth of the signal and the frequency shift amount. Specifically, according to the bandwidth of the signal, it is possible to predict where the interference signal in the signal may exist, so it can be determined how much the stopband bandwidth of the FRM filter needs to be adjusted to in order to filter out the possible interference signal, so that the frequency shift amount of the FRM filter can be determined, so the correspondence between the bandwidth of the signal and the frequency shift amount is directly established, and the correspondence is preset in the system locally, so that after the system determines the bandwidth of the target signal, the frequency shift amount corresponding to the bandwidth of the target signal can be determined according to the preset correspondence, and the determined frequency shift amount is the frequency shift amount of the FRM filter. By presetting the correspondence between the bandwidth of the signal and the frequency shift amount, the frequency shift amount can be determined more quickly.

[0021] In one example, the frequency shift amount of the frequency response masking FRM filter is determined according to the bandwidth of the target signal, including: comparing the bandwidth of the target signal with the preset bandwidth to determine the bandwidth of the interference signal in the target signal; determining the frequency shift amount of the FRM filter corresponding to the bandwidth of the interference signal in the target signal according to the preset corresponding relationship between the bandwidth of the interference signal and the frequency shift amount. Specifically, according to the bandwidth of the interference signal, it can be determined how much the stopband bandwidth of the FRM filter needs to be adjusted to in order to filter out the interference signal, so that the frequency shift amount of the FRM filter can be determined, so the corresponding relationship between the bandwidth of the interference signal and the frequency shift amount is directly established, and the corresponding relationship is preset in the system locally, so that after the system determines the bandwidth of the target signal, the bandwidth of the target signal is compared with the preset bandwidth, the preset bandwidth refers to the working bandwidth of the system or the preset bandwidth can be set according to actual needs, the bandwidth of the target signal that does not fall into the preset bandwidth is the bandwidth of the interference signal in the target signal, and then according to the preset corresponding relationship, the frequency shift amount corresponding to the bandwidth of the interference signal in the target signal can be determined, and the determined frequency shift amount is the frequency shift amount of the FRM filter. Through this method, the bandwidth of the interference signal in the target signal can be determined in real time according to the bandwidth of the current target signal, making the determined bandwidth of the interference signal more accurate, and then the frequency shift amount of the FRM filter can be determined according to the correspondence between the preset bandwidth of the interference signal and the frequency shift amount, thereby achieving a faster and more accurate determination of the frequency shift amount of the FRM filter.

[0022] Step 102: Shift the frequency of the FRM filter according to the frequency shift amount.

[0023] Step 103: Filter the target signal through the frequency-shifted FRM filter.

[0024] In one example, the numerically controlled oscillator (NCO) in the system performs a frequency shift operation on the FRM filter according to the frequency shift amount, that is, the NCO performs a dot multiplication on the coefficients of the FRM filter and the corresponding coefficients in the frequency shift amount, and the result is a new coefficient of the FRM filter, thereby realizing the frequency shift of the FRM filter. Since the dot multiplication method is adopted, the number of non-zero coefficients in the coefficients of the FRM filter will not be changed, nor will the order of the FRM filter be changed. After obtaining the frequency-shifted FRM filter, the system inputs the target signal into the frequency-shifted FRM filter, and the frequency-shifted FRM filter at least filters out the near-end interference signal in the target signal to obtain the filtered target signal.

[0025] In one example, the system first determines the frequency shift amount of the FRM filter according to the bandwidth of the target signal. If the frequency shift amount includes a positive frequency shift amount, it means that the target signal includes a left-end interference signal. At this time, the FRM filter is forward-shifted according to the positive frequency shift amount, that is, the frequency point of the FRM filter is shifted to the end with a larger frequency. The target signal is filtered by the FRM filter after the positive frequency shift to obtain a filtered signal, such as Figure 2 As shown in FIG. 1 , it is a schematic diagram of the signal output by the FRM filter, as Figure 3 , which is a schematic diagram of a signal output by the FRM filter after forward frequency shifting. By using this method, at least the left proximal interference signal of the target signal can be filtered out.

[0026] In one example, the system first determines the frequency shift amount of the FRM filter according to the bandwidth of the target signal. If the frequency shift amount includes a negative frequency shift amount, it means that the target signal includes a right-end interference signal. At this time, the FRM filter is negatively shifted according to the negative frequency shift amount, that is, the frequency point of the FRM filter is shifted to the lower frequency end, and the target signal is filtered by the FRM filter after the negative frequency shift to obtain a filtered signal, such as Figure 4 , which is a schematic diagram of a signal output by the FRM filter after negative frequency shift. By using this method, at least the right near-end interference signal of the target signal can be filtered out.

[0027] In one example, the frequency shift amount includes a positive frequency shift amount and a negative frequency shift amount, and the FRM filter is frequency shifted according to the frequency shift amount, including: performing positive frequency shift on the FRM filter according to the positive frequency shift amount to obtain a positive frequency shifted FRM filter, and performing negative frequency shift on the FRM filter according to the negative frequency shift amount to obtain a negative frequency shifted filter; filtering the target signal through the frequency shifted FRM filter includes: filtering the target signal through the positive frequency shifted FRM filter to obtain an intermediate signal, and filtering the intermediate signal through the negative frequency shifted filter. Specifically, the system first determines the frequency shift amount of the FRM filter according to the bandwidth of the target signal. If the frequency shift amount includes a positive frequency shift amount and a negative frequency shift amount, it means that the target signal includes a left-end interference signal and a right-end interference signal. At this time, the NCO in the system performs positive frequency shift on the FRM filter according to the positive frequency shift amount to obtain a positive frequency shifted FRM filter, and performs negative frequency shift on the FRM filter according to the negative frequency shift amount to obtain a negative frequency shifted FRM filter. After that, the system first filters the target signal through the FRM filter after positive frequency shift to obtain the intermediate signal. At this time, at least the left proximal interference signal of the target signal can be filtered out first, and then the intermediate signal is filtered through the FRM filter after negative frequency shift. At this time, at least the right proximal interference signal of the intermediate signal can be filtered out, so that at least the left proximal interference signal and the right proximal interference signal of the target signal can be filtered out.

[0028] In one example, the frequency shift amount includes a positive frequency shift amount and a negative frequency shift amount, and the FRM filter is frequency shifted according to the frequency shift amount, including: performing positive frequency shift on the FRM filter according to the positive frequency shift amount to obtain a positive frequency shifted FRM filter, and performing negative frequency shift on the FRM filter according to the negative frequency shift amount to obtain a negative frequency shifted filter; filtering the target signal through the frequency shifted FRM filter includes: filtering the target signal through the negative frequency shifted FRM filter to obtain an intermediate signal, and filtering the intermediate signal through the positive frequency shifted filter. Specifically, the system first determines the frequency shift amount of the FRM filter according to the bandwidth of the target signal. If the frequency shift amount includes a positive frequency shift amount and a negative frequency shift amount, it means that the target signal includes a left-end interference signal and a right-end interference signal. At this time, the NCO in the system performs positive frequency shift on the FRM filter according to the positive frequency shift amount to obtain a positive frequency shifted FRM filter, and performs negative frequency shift on the FRM filter according to the negative frequency shift amount to obtain a negative frequency shifted FRM filter. After that, the system first filters the target signal through the FRM filter after negative frequency shift to obtain the intermediate signal. At this time, at least the right proximal interference signal of the target signal can be filtered out first, and then the intermediate signal is filtered through the FRM filter after positive frequency shift. At this time, at least the left proximal interference signal of the intermediate signal can be filtered out, so that at least the left proximal interference signal and the right proximal interference signal of the target signal can be filtered out.

[0029] In one example, the FRM filter includes an interpolation base filter, an interpolation complementary filter and a masking filter, wherein the system pre-designs the base filter and the masking filter, and the interpolation base filter can be obtained by performing an interpolation zero operation on the base filter. The higher the interpolation multiple, the steeper the transition band. The interpolation multiple can be set according to actual needs. This embodiment does not make specific limitations. The base filter can be any pre-designed filter, for example, the base filter can be a half-band filter, etc.; then, based on the interpolation base filter, an interpolation complementary filter with the same interpolation multiple as the interpolation base filter is obtained, so that an FRM filter including the interpolation base filter, the interpolation complementary filter and the masking filter can be obtained. In one example, when the system acquires the target signal, the frequency shift amount is determined according to the bandwidth of the target signal. If the frequency shift amount includes a forward frequency shift amount, the NCO in the system performs forward frequency shift on the interpolation complementary filter according to the coefficient used to perform frequency shift on the interpolation complementary filter in the forward frequency shift amount to obtain the interpolation complementary filter after the forward frequency shift, and performs forward frequency shift on the masking filter according to the coefficient used to perform frequency shift on the masking filter in the forward frequency shift amount to obtain the masking filter after the forward frequency shift. Thereafter, the system divides the target signal into two paths, one of which first passes through the interpolation base filter after the forward frequency shift, and then passes through the masking filter after the forward frequency shift to obtain a first intermediate signal, and the other of which passes through the interpolation complementary filter after the forward frequency shift to obtain a second intermediate signal. The first intermediate signal and the second intermediate signal are added in the time domain to obtain the filtered target signal, and at this time, at least the left proximal interference signal of the target signal can be filtered out. Alternatively, the target signal is divided into two paths, one target signal first passes through the interpolation complementary filter after forward frequency shift, and then passes through the masking filter after forward frequency shift to obtain a first intermediate signal, and the other target signal passes through the interpolation base filter after forward frequency shift to obtain a second intermediate signal, and the first intermediate signal and the second intermediate signal are added in time domain to obtain a filtered target signal. At this time, at least the left proximal interference signal of the target signal can be filtered out.

[0030] In one example, when the system acquires a target signal, the frequency shift amount is determined according to the bandwidth of the target signal. If the frequency shift amount includes a negative frequency shift amount, the NCO in the system performs a negative frequency shift on the interpolation complementary filter according to the coefficient used to shift the frequency of the interpolation complementary filter in the negative frequency shift amount to obtain an interpolation complementary filter after the negative frequency shift, and performs a negative frequency shift on the masking filter according to the coefficient used to shift the frequency of the masking filter in the negative frequency shift amount to obtain a masking filter after the negative frequency shift; the target signal is divided into two paths, one path of the target signal first passes through the interpolation base filter after the negative frequency shift, and then passes through the masking filter after the negative frequency shift to obtain a first intermediate signal, and the other path of the target signal passes through the negative frequency shift. The first intermediate signal is passed through an interpolation complementary filter after negative frequency shift to obtain a second intermediate signal, and the first intermediate signal and the second intermediate signal are added in time domain to obtain a filtered target signal, at which point at least the right proximal interference signal of the target signal can be filtered out; or; the target signal is divided into two paths, one target signal first passes through an interpolation complementary filter after negative frequency shift, and then passes through a masking filter after negative frequency shift to obtain a first intermediate signal, and the other target signal passes through an interpolation base filter after negative frequency shift to obtain a second intermediate signal, and the first intermediate signal and the second intermediate signal are added in time domain to obtain a filtered target signal, at which point at least the right proximal interference signal of the target signal can be filtered out.

[0031] In one example, when the system acquires the target signal, the frequency shift amount is determined according to the bandwidth of the target signal. If the frequency shift amount includes a positive frequency shift amount and a negative frequency shift amount, the NCO in the system performs a positive frequency shift on the interpolation base filter according to the coefficient used to shift the frequency of the interpolation base filter in the positive frequency shift amount to obtain the interpolation base filter after the positive frequency shift, performs a positive frequency shift on the interpolation complementary filter according to the coefficient used to shift the frequency of the interpolation complementary filter in the positive frequency shift amount to obtain the interpolation complementary filter after the positive frequency shift, and performs a positive frequency shift on the interpolation complementary filter according to the coefficient used to shift the frequency of the masking filter in the positive frequency shift amount. The masking filter is positively shifted according to the coefficient used to shift the interpolation base filter in the negative frequency shift amount to obtain the masking filter after the positive frequency shift, and the interpolation base filter is negatively shifted according to the coefficient used to shift the interpolation complementary filter in the negative frequency shift amount to obtain the interpolation complementary filter after the negative frequency shift, and the masking filter is negatively shifted according to the coefficient used to shift the masking filter in the negative frequency shift amount to obtain the masking filter after the negative frequency shift. Thereafter, the system filters the target signal through the frequency-shifted FRM filter, as shown in FIG. Figure 5As shown, it is a schematic diagram of the direction of the signal, the target signal is divided into two paths, one target signal first passes through the interpolation complementary filter after negative frequency shift, and then passes through the masking filter after negative frequency shift to obtain the first intermediate signal, the other target signal passes through the interpolation base filter after negative frequency shift to obtain the second intermediate signal, the first intermediate signal and the second intermediate signal are added in time domain to obtain the target signal after negative filtering, at this time, at least the right proximal interference signal of the target signal can be filtered out; then the target signal after negative filtering is divided into two paths, one target signal after negative filtering first passes through the interpolation complementary filter after positive frequency shift, and then passes through the masking filter after positive frequency shift to obtain the third intermediate signal, the other target signal after negative filtering passes through the interpolation base complementary filter after positive frequency shift to obtain the fourth intermediate signal, the third intermediate signal and the fourth intermediate signal are added in time domain to obtain the filtered target signal, at this time, at least the left proximal interference signal of the target signal can be filtered out, so that at least the left proximal interference signal and the right proximal interference signal of the target signal can be filtered out. Alternatively, the target signal is divided into two paths, one target signal first passes through an interpolation base filter after negative frequency shift and then passes through a masking filter after negative frequency shift to obtain a first intermediate signal, and the other target signal passes through an interpolation complementary filter after negative frequency shift to obtain a second intermediate signal, the first intermediate signal and the second intermediate signal are added in time domain to obtain a negatively filtered target signal, at which point at least the right proximal interference signal of the target signal can be filtered out; then the negatively filtered target signal is divided into two paths, one target signal first passes through an interpolation base filter after positive frequency shift and then passes through a masking filter after positive frequency shift to obtain a third intermediate signal, and the other target signal passes through an interpolation complementary filter after positive frequency shift to obtain a fourth intermediate signal, the third intermediate signal and the fourth intermediate signal are added in time domain to obtain a filtered target signal, at which point at least the left proximal interference signal of the target signal can be filtered out, thereby at least both the left proximal interference signal and the right proximal interference signal of the target signal can be filtered out.Alternatively, the target signal is divided into two paths, one of which is first passed through an interpolation complementary filter after positive frequency shift and then through a masking filter after positive frequency shift to obtain a first intermediate signal, and the other of which is passed through an interpolation base filter after positive frequency shift to obtain a second intermediate signal, and the first intermediate signal and the second intermediate signal are added in time domain to obtain the target signal after forward filtering, at which point at least the left proximal interference signal of the target signal can be filtered out; then the target signal after forward filtering is divided into two paths, one of which is first passed through an interpolation complementary filter after negative frequency shift and then through a masking filter after negative frequency shift to obtain a third intermediate signal, and the other of which is passed through an interpolation base complementary filter after negative frequency shift to obtain a fourth intermediate signal, and the third intermediate signal and the fourth intermediate signal are added in time domain to obtain the filtered target signal, at which point at least the right proximal interference signal of the target signal can be filtered out, thereby at least both the left proximal interference signal and the right proximal interference signal of the target signal can be filtered out. Alternatively, the target signal is divided into two paths, one target signal first passes through the interpolation base filter after positive frequency shift, and then passes through the masking filter after positive frequency shift to obtain a first intermediate signal, and the other target signal passes through the interpolation complementary filter after positive frequency shift to obtain a second intermediate signal, the first intermediate signal and the second intermediate signal are added in time domain to obtain the target signal after forward filtering, at this time, at least the left proximal interference signal of the target signal can be filtered out; then the target signal after forward filtering is divided into two paths, one target signal after forward filtering first passes through the interpolation base filter after negative frequency shift, and then passes through the masking filter after negative frequency shift to obtain a third intermediate signal, and the other target signal after forward filtering passes through the interpolation complementary filter after negative frequency shift to obtain a fourth intermediate signal, the third intermediate signal and the fourth intermediate signal are added in time domain to obtain the filtered target signal, at this time, at least the right proximal interference signal of the target signal can be filtered out, so that at least the left proximal interference signal and the right proximal interference signal of the target signal can be filtered out.

[0032] In this embodiment, the system determines the frequency shift amount of the frequency response masking FRM filter according to the bandwidth of the target signal; the FRM filter is frequency shifted according to the frequency shift amount; and the target signal is filtered by the FRM filter after the frequency shift. With this method, there is no need to redesign the coefficients of the FRM filter, and an FRM filter that meets the requirements of the target signal can be obtained only by frequency shifting. By filtering the target signal with the FRM filter after the frequency shift, at least the near-end interference signal of the target signal can be filtered out, that is, only one set of filter coefficients is used to meet the requirements of signals of any bandwidth, and the flexibility is high.

[0033] The second embodiment of the present invention relates to a filtering method. The second embodiment is substantially the same as the first embodiment, with the main difference being that the target signal is a baseband signal generated locally, and a second signal satisfying the frequency band required by the system is obtained through an interpolation filter and a mixer. The specific flow chart is as follows: Figure 6 As shown, including:

[0034] Step 201, determining the frequency shift amount of the FRM filter according to the bandwidth of the target signal.

[0035] Step 202: Shift the frequency of the FRM filter according to the frequency shift amount.

[0036] Step 203: Filter the target signal through the frequency-shifted FRM filter.

[0037] Steps 201 - 203 are similar to steps 101 - 103 in the first embodiment and are not described in detail herein.

[0038] Step 204, performing interpolation processing on the filtered target signal through an interpolation filter to obtain a first signal; wherein the interpolation multiple in the interpolation processing is determined according to the baseband sampling rate and the intermediate frequency sampling rate.

[0039] Specifically, if the target signal is a baseband signal generated locally, the sampling rate of the target signal is the baseband sampling rate. Since the system needs to transmit the signal to an external device, and the signal transmitted from the system needs to be converted from a digital signal to an analog signal through a digital-to-analog converter, that is, the sampling rate required for the first signal transmitted from the system is the sampling rate of the digital-to-analog converter, that is, the intermediate frequency sampling rate. Therefore, the sampling rate of the signal needs to be changed to the intermediate frequency sampling rate through an interpolation filter, and the interpolation multiple is the ratio of the intermediate frequency sampling rate to the baseband sampling rate. The first signal is obtained by interpolating the filtered target signal through the interpolation filter. For example: if the baseband sampling rate is 122.88MSPS and the intermediate frequency sampling rate is 368.64MSPS, the interpolation multiple is 368.64MSPS / 122.88MSPS=3, and the first signal with a sampling rate of 368.64MSPS can be obtained by interpolating the filtered target signal through the interpolation filter.

[0040] In one example, before the filtered target signal is interpolated by an interpolation filter to obtain a first signal, the method further includes: configuring the coefficient of the interpolation filter according to the bandwidth of the interference signal in the filtered target signal. Specifically, the coefficient of the interpolation filter is configurable and can be modified by writing software into a random access memory. The system pre-stores the correspondence between the bandwidth of the signal and the coefficient of the interpolation filter, so the coefficient of the interpolation filter can be configured according to the bandwidth of the interference signal in the filtered target signal, so that when the filtered target signal passes through the interpolation filter, the far-end interference signal in the filtered target signal can be filtered out. By using such a method, the far-end interference signal in the filtered target signal can be filtered out while changing the sampling rate of the filtered target signal.

[0041] Step 205: frequency-shift the first signal by a mixer to obtain a second signal.

[0042] Specifically, the system can pre-set the correspondence between the bandwidth of the signal and the frequency shift amount in the mixer. The mixer determines the frequency shift amount corresponding to the bandwidth of the first signal according to the correspondence, and shifts the first signal according to the frequency shift amount to obtain the second signal. Alternatively, the system can compare the bandwidth of the first signal with the preset bandwidth, calculate the frequency shift amount in real time, and shift the first signal according to the frequency shift amount to obtain the second signal.

[0043] In this embodiment, after obtaining the filtered target signal, the filtered target signal is interpolated by an interpolation filter to obtain a first signal, and then the first signal is frequency-shifted by a mixer to obtain a second signal, thereby obtaining a second signal that meets the frequency band required when the system transmits a signal.

[0044] The third embodiment of the present invention relates to a method for adjusting parameters. The third embodiment is substantially the same as the first embodiment, with the main difference being that: a signal sent by an external device is received, and a target signal of a frequency band required by the system is obtained through a mixer and a decimation filter. The specific flow chart is as follows: Figure 7 As shown, including:

[0045] Step 301: Receive a signal sent by an external device, and perform frequency shifting on the signal through a mixer to obtain a third signal.

[0046] Specifically, the system can pre-set the correspondence between the bandwidth of the signal and the frequency shift amount in the mixer. The mixer determines the frequency shift amount corresponding to the bandwidth of the received signal according to the correspondence, and shifts the received signal according to the frequency shift amount to obtain a third signal. Alternatively, the system can compare the bandwidth of the received signal with the preset bandwidth, calculate the frequency shift amount in real time, and shift the received signal according to the frequency shift amount to obtain a third signal.

[0047] Step 302, extracting the third signal through a decimation filter to obtain a target signal; wherein the decimation multiple in the decimation process is determined according to the intermediate frequency sampling rate and the baseband sampling rate.

[0048] Specifically, the system receives a signal sent by an external device, and the received signal needs to be converted from an analog signal to a digital signal through an analog-to-digital converter, that is, the sampling rate of the third signal is the sampling rate of the analog-to-digital converter, that is, the intermediate frequency sampling rate, and the sampling rate required by the target signal is the baseband sampling rate, so it is necessary to change the sampling rate of the signal to the baseband sampling rate through a decimation filter, and the decimation multiple is the ratio of the intermediate frequency sampling rate to the baseband sampling rate, and the target signal is obtained by decimating the third signal through the decimation filter. For example: if the baseband sampling rate is 122.88MSPS and the intermediate frequency sampling rate is 368.64MSPS, the decimation multiple is 368.64MSPS / 122.88MSPS=3, then the target signal with a sampling rate of 122.88MSPS can be obtained by decimating the third signal through the decimation filter.

[0049] In one example, before extracting the third signal through the extraction filter to obtain the target signal, it also includes: configuring the coefficient of the interpolation filter according to the bandwidth of the interference signal in the third signal. Specifically, the coefficient of the extraction filter is configurable and can be modified by writing software into the random access memory. The system pre-stores the correspondence between the bandwidth of the signal and the coefficient of the extraction filter, so the coefficient of the extraction filter can be configured according to the bandwidth of the interference signal in the third signal, so that when the third signal passes through the interpolation filter, the far-end interference signal in the third signal can be filtered out. Through this method, the far-end out-of-band interference signal in the third signal can be filtered out in advance while changing the sampling rate of the third signal.

[0050] Step 303: determine the frequency shift amount of the FRM filter according to the bandwidth of the target signal.

[0051] Step 304: frequency-shift the FRM filter according to the frequency-shift amount.

[0052] Step 305: Filter the target signal through the frequency-shifted FRM filter.

[0053] Steps 303-305 are similar to steps 101-103 in the first embodiment and are not described in detail here.

[0054] In this embodiment, after receiving the signal sent by the external device, the signal is frequency-shifted by a mixer to obtain a third signal, and the third signal is extracted by an extraction filter to obtain a target signal, thereby obtaining a target signal that meets the frequency band required by the system.

[0055] A fourth embodiment of the present invention relates to a server, such as Figure 8 As shown, it includes at least one processor 402; and a memory 401 that is communicatively connected to the at least one processor; wherein the memory 401 stores instructions that can be executed by the at least one processor 402, and the instructions are executed by the at least one processor 402 so that the at least one processor 402 can execute an embodiment of the above-mentioned filtering method.

[0056] The memory 401 and the processor 402 are connected in a bus manner, and the bus may include any number of interconnected buses and bridges, and the bus connects various circuits of one or more processors 402 and the memory 401 together. The bus can also connect various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface between the bus and the transceiver. The transceiver can be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on a transmission medium. The data processed by the processor 402 is transmitted on a wireless medium via an antenna, and further, the antenna also receives data and transmits the data to the processor 402.

[0057] The processor 402 is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management and other control functions. The memory 401 can be used to store data used by the processor 402 when performing operations.

[0058] A fifth embodiment of the present invention relates to a computer-readable storage medium storing a computer program, which implements the above method embodiment when executed by a processor.

[0059] That is, those skilled in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a program, and the program is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0060] Those skilled in the art will appreciate that the above embodiments are specific embodiments for implementing the present invention, and that in actual applications, various changes may be made in form and detail without departing from the spirit and scope of the present invention.

Claims

1. A filtering method, characterized in that: include: Determine the frequency shift amount of the FRM filter according to the bandwidth of the target signal; Shifting the frequency of the FRM filter according to the frequency shift amount; Filtering the target signal through a frequency-shifted FRM filter; Determining the frequency shift amount of the FRM filter according to the bandwidth of the target signal includes: According to the correspondence between the preset signal bandwidth and the frequency shift amount, the frequency shift amount corresponding to the bandwidth of the target signal is determined as the frequency shift amount of the FRM filter; or; Comparing the bandwidth of the target signal with the preset bandwidth, determining the bandwidth of the target signal that does not fall within the preset bandwidth as the bandwidth of the interference signal in the target signal; According to the preset corresponding relationship between the bandwidth of the interference signal and the frequency shift amount, the frequency shift amount corresponding to the bandwidth of the interference signal in the target signal is determined as the frequency shift amount of the FRM filter.

2. The filtering method according to claim 1, characterized in that: The step of frequency shifting the FRM filter according to the frequency shift amount comprises: The coefficients of the FRM filter are respectively multiplied by the corresponding coefficients in the frequency shift amount, and the obtained results are used as the corresponding coefficients of the FRM filter after the frequency shift.

3. The filtering method according to claim 1, characterized in that: The frequency shift amount includes a positive frequency shift amount and a negative frequency shift amount, and the frequency shifting of the FRM filter according to the frequency shift amount includes: Performing positive frequency shift on the FRM filter according to the positive frequency shift amount to obtain a positive frequency shifted FRM filter, and performing negative frequency shift on the FRM filter according to the negative frequency shift amount to obtain a negative frequency shifted filter; The filtering of the target signal by the frequency-shifted FRM filter comprises: The target signal is filtered through the FRM filter after the positive frequency shift to obtain an intermediate signal, and the intermediate signal is filtered through the filter after the negative frequency shift; or; the target signal is filtered through the FRM filter after the negative frequency shift to obtain an intermediate signal, and the intermediate signal is filtered through the filter after the positive frequency shift.

4. The filtering method according to any one of claims 1 to 3, characterized in that: The target signal is a baseband signal generated locally, and after the target signal is filtered by the frequency-shifted FRM filter, the method further includes: Performing interpolation processing on the filtered target signal through an interpolation filter to obtain a first signal; wherein the interpolation multiple in the interpolation processing is determined according to the baseband sampling rate and the intermediate frequency sampling rate; The first signal is frequency-shifted by a mixer to obtain a second signal.

5. The filtering method according to claim 4, characterized in that: Before the interpolation process is performed on the filtered target signal through the interpolation filter to obtain the first signal, the method further includes: The coefficients of the interpolation filter are configured according to the bandwidth of the interference signal in the filtered target signal.

6. The filtering method according to any one of claims 1 to 4, characterized in that: Before determining the bandwidth of the target signal, the method further includes: receiving a signal sent by an external device, and performing frequency shifting on the signal through a mixer to obtain a third signal; The target signal is obtained by performing a decimation process on the third signal through a decimation filter; wherein the decimation multiple in the decimation process is determined according to the intermediate frequency sampling rate and the baseband sampling rate.

7. The filtering method according to claim 6, characterized in that: Before the decimation filter is used to extract the third signal to obtain the target signal, the method further includes: The coefficients of the interpolation filter are configured according to the bandwidth of the interference signal in the third signal.

8. A server, characterized in that: include: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the filtering method according to any one of claims 1 to 7.

9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the filtering method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Receiver, integrated circuit, and reception method

    CN101496324A