Disclosure of Invention
To solve the above problems, embodiments of the present invention provide a method and system for TD-LTE interference detection that overcomes or at least partially solves the above problems.
In a first aspect, an embodiment of the present invention provides a method for TD-LTE interference detection, including:
selecting an uplink pilot Frequency OFDM (orthogonal Frequency Division multiplexing) symbol in real time to perform Fast Fourier Transform (FFT) operation so as to determine an idle Frequency band subcarrier in Frequency domain data;
calculating average digital energy on the idle frequency band subcarriers, and converting the average digital energy into an interference level value;
and comparing the interference level value with a preset interference threshold value, and if the interference level value is higher than the interference threshold value, judging that the current TD-LTE system has interference.
The real-time selection of the uplink pilot frequency OFDM symbol for Fast Fourier Transform (FFT) operation to determine the idle frequency band subcarrier in the frequency domain data comprises the following steps:
selecting uplink non-scheduled time frequency resources in real time as a target detection interval, and selecting uplink pilot frequency OFDM symbols in the target detection interval to perform FFT operation so as to determine idle frequency band subcarriers in frequency domain data.
Wherein, the interference level calibration is performed before the networking operation, and the determining of the interference threshold value comprises:
adding an additive interference signal into a useful signal;
gradually increasing the power of the additive interference signal until the uplink sensitivity index cannot be met;
closing the useful signal and measuring the total energy of the frequency band on the OFDM symbol;
and calculating subcarrier average energy according to the total energy of the frequency band on the OFDM symbol to determine the size of the interference threshold value.
Wherein after the calculating the interference threshold value according to the total energy of the frequency band on the OFDM symbol, the calculating the interference threshold value further comprises:
storing the interference threshold value in a local device.
The real-time selection of the uplink pilot frequency OFDM symbols for Fast Fourier Transform (FFT) operation comprises the following steps:
selecting uplink non-scheduled time frequency resources in real time as a target detection interval, and selecting uplink pilot frequency OFDM symbols in the target detection interval to perform FFT operation.
Wherein the calculating the average digital energy on the idle band subcarriers and converting the average digital energy into an interference level value comprises:
traversing sub-carriers in a non-scheduling frequency band range, and calculating digital energy on each sub-carrier;
adding the digital energy on all the subcarriers to average to obtain the average digital energy on the idle frequency band subcarriers;
the average digital energy is converted into an interference level value.
Comparing the interference level value with a preset interference threshold value, and if the interference level value is higher than the interference threshold value, determining that interference exists in the current TD-LTE system, including:
taking a preset number of measured interference level values as a decision period, and counting the times that the interference level values are greater than the interference threshold value in the decision period;
and if the number of times that the interference level value is greater than the interference threshold value exceeds a preset threshold value, judging that the current TD-LTE system has interference.
In a second aspect, an embodiment of the present invention further provides a system for TD-LTE interference detection, where the system includes:
the subcarrier selecting module is used for selecting OFDM symbols in real time to carry out Fast Fourier Transform (FFT) operation so as to determine idle frequency band subcarriers in frequency domain data;
the interference level calculation module is used for calculating average digital energy on the idle frequency band subcarriers and converting the average digital energy into an interference level value;
and the interference judgment module is used for comparing the interference level value with a preset interference threshold value, and judging that the current TD-LTE system has interference if the interference level value is higher than the interference threshold value. .
Third aspect an embodiment of the present invention provides an electronic device, including:
a processor, a memory, a communication interface, and a bus; the processor, the memory and the communication interface complete mutual communication through the bus; the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the above-described method for TD-LTE interference detection.
In a fourth aspect, an embodiment of the present invention provides a non-transitory computer-readable storage medium storing computer instructions that cause the computer to perform the above method for TD-LTE interference detection.
According to the method and the system for TD-LTE interference detection provided by the embodiment of the invention, interference is detected in real time in the operation process of the base station, special precondition requirements are not required for function implementation, and normal networking operation of the base station is not influenced, so that the process overhead of the implementation of the traditional scheme is saved, and the implementation efficiency is obviously improved.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some embodiments, but not all embodiments, of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 2 is a schematic flowchart of a method for TD-LTE interference detection according to an embodiment of the present invention, as shown in fig. 2, including:
201. selecting an uplink pilot frequency OFDM symbol in real time to perform Fast Fourier Transform (FFT) operation so as to determine idle frequency band subcarriers in frequency domain data;
202. calculating average digital energy on the idle frequency band subcarriers, and converting the average digital energy into an interference level value;
203. and comparing the interference level value with a preset interference threshold value, and if the interference level value is higher than the interference threshold value, judging that the current TD-LTE system has interference.
It should be noted that the main execution body of the method provided by the embodiment of the present invention is the base station side of the TD-LTE system, and whether interference exists in the TD-LTE system is automatically determined by installing software in the base station, where the software is provided with a computer program.
Specifically, in step 201, the embodiment of the present invention selects an OFDM symbol in real time at the base station to perform FFT operation, and it can be understood that the method provided by the embodiment of the present invention is performed in a form of period measurement, and the same decision process is adopted for each period, so that taking a measurement period as an example, the embodiment of the present invention generally selects an uplink pilot OFDM symbol in one of subframes without uplink scheduling to perform a test according to an uplink scheduling message generated in real time every millisecond in one radio frame. It should be noted that, the selection principle for the OFDM symbols is generally that the normal subframe selects the pilot symbol of the first slot, and the special subframe selects the last uplink symbol. Then, the OFDM symbol index sym _ idx tested in the measurement period can be determined through the selection of the subframe and the symbol. Furthermore, the embodiment of the invention performs FFT operation on the selected OFDM symbols to obtain frequency domain data, thereby determining idle frequency sub-carriers in the frequency domain data. Generally, in the embodiments of the present invention, statically allocated resources that may exist on the symbol are removed according to the static resource allocation parameter, then the longest continuous frequency band is selected from the remaining frequency band resources as an idle frequency band, the starting subcarrier sequence number is marked as sc _ start, and the ending subcarrier sequence number is marked as sc _ end.
Further, in
step 202, the embodiment of the present invention calculates the average digital energy on the idle sub-carriers obtained in step 101 in real time, and uses the average digital energy as an interference level value as an evaluation standard value. The digital energy on the subcarrier is generally the square of the real part plus the square of the imaginary part of the symbol, and can be expressed as:
the digital energies of all subcarriers are then summed to obtain a total digital energy:
finally, averaging is taken as an interference level value: p
interference=P
total/(sc_end-sc
start+1)。
Finally, in step 203, in each measurement period, the measured interference level value is compared with an interference threshold value obtained by testing the base station in advance, so as to determine whether interference exists, and if interference exists, an alarm is generated, and if interference does not exist, the alarm is eliminated. It should be noted that, in the actual processing process, the embodiment of the present invention does not simply generate a conclusion according to the result of one of the measurement cycles, but comprehensively considers the results of a plurality of measurement cycles over a period of time to make a decision.
According to the method for TD-LTE interference detection provided by the embodiment of the invention, interference is detected in real time in the operation process of the base station, special precondition requirements are not required for function implementation, and normal networking operation of the base station is not influenced, so that the process overhead of the implementation of the traditional scheme is saved, and the implementation efficiency is obviously improved.
On the basis of the above embodiment, before the real-time selecting OFDM symbols to perform FFT operation to determine idle-band subcarriers in frequency-domain data, the method further includes:
and calibrating the interference level before networking operation, and determining the size of the interference threshold value.
As can be seen from the content of the foregoing embodiments, in the embodiments of the present invention, the interference level value measured in real time needs to be compared with the interference threshold value tested in advance, so as to determine whether there is interference in the measurement period. It will be appreciated that the interference threshold value may be determined well before the base station is networked. Generally, the determined interference threshold value needs to be the maximum uplink interference level that the base station can bear on the premise of meeting the uplink receiving sensitivity performance requirement.
On the basis of the above embodiment, the performing interference level calibration before networking operation and determining the magnitude of the interference threshold value include:
adding an additive interference signal into a useful signal;
gradually increasing the power of the additive interference signal until the uplink sensitivity index cannot be met;
closing the useful signal and measuring the total energy of the frequency band on the OFDM symbol;
and calculating subcarrier average energy according to the total energy of the frequency band on the OFDM symbol to determine the size of the interference threshold value.
In the embodiment of the invention, when the interference threshold value is determined, the base station firstly carries out uplink sensitivity verification, one path of additive interference is added into a useful signal in the uplink sensitivity verification process, the power of the additive interference signal is gradually increased until the base station can not meet the uplink sensitivity index, at the moment, the useful signal is closed, the total energy of the frequency band on one uplink pilot frequency OFDM symbol is firstly measured, and the method can be understood that the whole frequency band is not scheduled, so that the calculation is directed to the whole frequency band, and then the average energy of subcarriers is calculated to determine the interference threshold value Pthreshold。
Specifically, in the embodiment of the present invention, any one uplink pilot OFDM symbol is selected to perform FFT operation, and frequency domain data corresponding to the symbol, that is, sc, is output
numSub-carriers, sc
numDependent on bandwidth, e.g. sc at 5M bandwidth
num300. Traverse sc
numFor each sub-carrier, evaluating the digital energy of each sub-carrier, i.e.
Adding the digital energy of all carriers in the subcarrier interval, i.e.
The interference threshold, P, is calculated by dividing the total digital energy of the subcarrier intervals by the number of subcarriers
threshold=P
noise/sc_num.。
On the basis of the above embodiment, after the calculating, according to the total energy of the frequency band on the OFDM symbol, a subcarrier average energy to determine the size of the interference threshold value, the method further includes:
storing the interference threshold value in a local device.
As can be seen from the content of the foregoing embodiment, in the embodiment of the present invention, an interference threshold value is determined for a base station device before networking is performed, and it can be understood that interference threshold values of different base station devices may have a certain difference, and the obtained interference threshold value must be ensured to be readable in a subsequent test process, so that the preferred embodiment of the present invention stores the interference threshold value in the base station device, for example, in a flash chip of the base station device, thereby determining that data is not lost even if power is down, and ensuring that the data can be used whenever power is down.
On the basis of the above embodiment, the selecting an uplink pilot OFDM symbol in real time to perform FFT operation to determine an idle band subcarrier in frequency domain data includes:
selecting uplink non-scheduled time frequency resources in real time as a target detection interval, and selecting uplink pilot frequency OFDM symbols in the target detection interval to perform FFT operation so as to determine idle frequency band subcarriers in frequency domain data.
As can be seen from the content of the foregoing embodiments, the test subcarrier interval for testing may also be referred to as a test interval, and preferably, the test interval provided in the embodiments of the present invention may not be fixed, and is determined according to an actual configuration. Specifically, according to the embodiment of the present invention, an unscheduled uplink OFDM symbol is selected according to dynamic configuration, an index of the unscheduled uplink OFDM symbol is sym _ idx, FFT operation is performed on the symbol to obtain frequency domain data, and then, according to static configuration, an unscheduled frequency band range is selected to determine a subcarrier interval with a starting subcarrier sequence number sc _ start and an ending subcarrier sequence number sc _ end.
On the basis of the foregoing embodiment, the calculating an average digital energy on the idle band subcarriers and converting the average digital energy into an interference level value includes:
traversing sub-carriers in a non-scheduling frequency band range, and calculating digital energy on each sub-carrier;
adding the digital energy on all the subcarriers to average to obtain the average digital energy on the idle frequency band subcarriers;
the average digital energy is converted into an interference level value.
It can be known from the content of the above embodiments that the embodiments of the present invention need to calculate the interference level value in each measurement period in real time during the operation of the base station.
Specifically, the embodiment of the present invention first traverses all the subcarriers in the non-scheduling frequency band range, and calculates the digital energy on each subcarrier, that is, the digital energy is calculated
The digital energies of all carriers in the subcarrier interval are then added, i.e.
And finally, calculating an interference level value: p
interference=P
total/(sc_end-sc
start+1)。
On the basis of the foregoing embodiment, the comparing the interference level value with a preset interference threshold value, and if the interference level value is higher than the interference threshold value, determining that interference exists in the current TD-LTE system includes:
taking a preset number of measured interference level values as a decision period, and counting the times that the interference level values are greater than the interference threshold value in the decision period;
and if the number of times that the interference level value is greater than the interference threshold value exceeds a preset threshold value, judging that the current TD-LTE system has interference.
As can be seen from the content of the above embodiment, the embodiment of the present invention compares the calculated interference level value with the preset interference threshold value, and determines that there is interference if the interference level value is higher than the interference threshold value. However, in actual processing, the result is not always generated according to the comparison result of one measurement period, but is generated by comparing and counting in a plurality of continuous periods and then comparing with a preset interference threshold value.
Specifically, in the embodiments of the present invention, a preset number of measured interference level values are obtained, which are actually a number of obtained measurement periods, and the number of the measurement periods is recorded as TnThe number of times that the interference level value is greater than the interference threshold value is recorded as Tht. The embodiment of the invention takes continuous measurement periods as a decision period, and counts the times Th that the interference level value is greater than the interference threshold value in each decision periodt. The statistical algorithm is as follows:
1. zero clearing interference over-threshold count Cntinterference;
2. Obtaining interference level value in each measuring period, and comparing the interference level value with an interference threshold value PthresholdBy comparison, if higher than PthresholdCnt, theninterferenceAdding 1, otherwise not adding 1;
3. repeating the operation in 2, and performing T in one decision periodnSecondly;
4. if CntinterferenceGreater than ThtThen interference is deemed to be present and an interference alert is generated. Otherwise, the interference is not considered to exist, and the existing interference alarm is eliminated.
It should be noted that, in the embodiments of the present invention, the decision result is output once in each decision period to generate or eliminate the alarm information, but T may be changed at any timenAnd ThtAnd take effect in real time.
Fig. 3 is a schematic structural diagram of a system for TD-LTE interference detection according to an embodiment of the present invention, as shown in fig. 3, including: a subcarrier selecting module 301, an interference level calculating module 302 and an interference judging module 303, wherein:
the subcarrier selecting module 301 is configured to select an OFDM symbol in real time to perform Fast Fourier Transform (FFT) operation, so as to determine an idle frequency band subcarrier in frequency domain data;
the interference level calculation module 302 is configured to calculate an average digital energy on the idle band subcarriers, and convert the average digital energy into an interference level value;
the interference decision module 303 is configured to compare the interference level value with a preset interference threshold value, and if the interference level value is higher than the interference threshold value, determine that interference exists in the current TD-LTE system.
Specifically, how to use the subcarrier selection module 301, the interference level calculation module 302, and the interference decision module 303 to execute the technical scheme of the method embodiment for TD-LTE interference detection shown in fig. 2 is similar to the implementation principle and the technical effect, and details are not described here.
The system for TD-LTE interference detection provided by the embodiment of the invention detects interference in real time in the operation process of the base station, does not need special precondition requirements for function implementation, and does not influence the normal networking operation of the base station, thereby saving the process overhead of the implementation of the traditional scheme and obviously improving the implementation efficiency.
On the basis of the above embodiment, the system further includes:
and the interference level calibration module is used for performing interference level calibration before networking operation and determining the size of the interference threshold value.
On the basis of the foregoing embodiment, the interference level scaling module is configured to:
adding an additive interference signal into a useful signal;
gradually increasing the power of the additive interference signal until the uplink sensitivity index cannot be met;
closing the useful signal and measuring the total energy of the frequency band on the OFDM symbol;
and calculating subcarrier average energy according to the total energy of the frequency band on the OFDM symbol to determine the size of the interference threshold value.
On the basis of the foregoing embodiment, the interference level calibration module is further configured to:
storing the interference threshold value in a local device.
On the basis of the above embodiment, the subcarrier selection module is specifically configured to:
selecting uplink non-scheduled time frequency resources in real time as a target detection interval, and selecting uplink pilot frequency OFDM symbols in the target detection interval to perform FFT operation so as to determine idle frequency band subcarriers in frequency domain data.
On the basis of the foregoing embodiment, the interference level calculation module is specifically configured to:
traversing sub-carriers in a non-scheduling frequency band range, and calculating digital energy on each sub-carrier;
adding the digital energy on all the subcarriers to average to obtain the average digital energy on the idle frequency band subcarriers;
the average digital energy is converted into an interference level value.
On the basis of the foregoing embodiment, the interference determination module is specifically configured to:
taking a preset number of measured interference level values as a decision period, and counting the times that the interference level values are greater than the interference threshold value in the decision period;
and if the number of times that the interference level value is greater than the interference threshold value exceeds a preset threshold value, judging that the current TD-LTE system has interference.
An embodiment of the present invention provides an electronic device, including: at least one processor; and at least one memory communicatively coupled to the processor, wherein:
fig. 4 is a block diagram of an electronic device according to an embodiment of the present invention, and referring to fig. 4, the electronic device includes: a processor (processor)401, a communication Interface (communication Interface)402, a memory (memory)403 and a bus 404, wherein the processor 401, the communication Interface 402 and the memory 403 complete communication with each other through the bus 404. Processor 401 may call logic instructions in memory 403 to perform the following method: selecting an uplink pilot frequency OFDM symbol in real time to perform Fast Fourier Transform (FFT) operation so as to determine idle frequency band subcarriers in frequency domain data; calculating average digital energy on the idle frequency band subcarriers, and converting the average digital energy into an interference level value; and comparing the interference level value with a preset interference threshold value, and if the interference level value is higher than the interference threshold value, judging that the current TD-LTE system has interference.
An embodiment of the present invention discloses a computer program product, which includes a computer program stored on a non-transitory computer readable storage medium, the computer program including program instructions, when the program instructions are executed by a computer, the computer can execute the methods provided by the above method embodiments, for example, the method includes: selecting an uplink pilot frequency OFDM symbol in real time to perform Fast Fourier Transform (FFT) operation so as to determine idle frequency band subcarriers in frequency domain data; calculating average digital energy on the idle frequency band subcarriers, and converting the average digital energy into an interference level value; and comparing the interference level value with a preset interference threshold value, and if the interference level value is higher than the interference threshold value, judging that the current TD-LTE system has interference.
Embodiments of the present invention provide a non-transitory computer-readable storage medium, which stores computer instructions, where the computer instructions cause the computer to perform the methods provided by the above method embodiments, for example, the methods include: selecting an uplink pilot frequency OFDM symbol in real time to perform Fast Fourier Transform (FFT) operation so as to determine idle frequency band subcarriers in frequency domain data; calculating average digital energy on the idle frequency band subcarriers, and converting the average digital energy into an interference level value; and comparing the interference level value with a preset interference threshold value, and if the interference level value is higher than the interference threshold value, judging that the current TD-LTE system has interference.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to each embodiment or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.