Summary of the invention
The invention provides method and the device of the communication interference alleviated in mobile television signal, to reduce the cost of the communication interference alleviated in mobile television signal.
Technical scheme of the present invention is achieved in that
Alleviate a method for the communication interference in mobile television signal, the method comprises:
In the process receiving mobile television signal, detect the received signal strength indicator RSSI of this signal;
When receiving non-output field signal, according to described RSSI, judge whether there is communication interference in the non-output field signal of current field, if exist, then in the follow-up signal of the non-output field signal of current field and the receiving course of an output field signal subsequently, detect signal of communication pulse, and within the signal of communication pulse duration, reduce the follow-up signal of current field non-output field signal or the radio frequency gain of a described output field signal subsequently, the power of the follow-up signal of current field non-output field signal and a described output field signal is subsequently made to be positioned at the operating power range of tuner.
Described according to described RSSI, judge that whether there is communication interference in the non-output field signal of current field comprises:
Judge whether in the receiving course of the non-output field signal of current field, detect that the RSSI of signal is greater than preset value for three times continuously, and meet t
2-t
1=t
3-t
2=T
cs, if so, then determine to there is communication interference in the non-output field signal of current field, wherein, t
1, t
2, t
3be respectively the continuous detection moment that the RSSI of signal is greater than first, second and third RSSI in preset value that detects for three times, T
csfor the signal of communication pulse period.
The span of described preset value is: [maximum service rating-predetermined power value of tuner, the maximum service rating of tuner], and wherein, predetermined power value is 1 ~ 10 dBm;
Or, when tuner adopts n-bit to represent its operating frequency range, the span of described preset value is: ((the maximum service rating bit value+1 of tuner)/2, the maximum service rating bit value of tuner), wherein, n is positive integer.
The pulse of described detection signal of communication, within the signal of communication pulse duration, the RF gain of the follow-up signal or a described output field signal subsequently that reduce current field non-output field signal comprises:
Steps A, when detect there is communication interference in the non-output field signal of current field time, start first timer; When first timer is to constantly, perform step B; Wherein, the timing length of first timer equals the signal of communication pulse period and deducts the first preset value;
Step B, restart first timer, reduce the follow-up signal of the non-output field signal of current field received or the RF gain of an output field signal subsequently, start second timer simultaneously; When second timer is to constantly, perform step C; Wherein, the timing length of second timer equals signal of communication pulse persistance duration and adds described first preset value;
The RF gain of step C, the recovery non-output field signal of current field or an output field signal subsequently; When first timer is to constantly, return step B.
The span of described first preset value is [0.01 millisecond, 0.05 millisecond].
Comprise further after the follow-up signal of described reduction current field non-output field signal or the RF gain of a described output field signal subsequently:
Increase the follow-up signal of current field non-output field signal or the base band BB gain of a described output field signal subsequently, wherein, the increase amplitude of BB gain is identical with the reduction amplitude of RF gain.
Described signal of communication is global system for mobile communications GSM signal, and,
The follow-up signal of described reduction current field non-output field signal or the RF gain of a described output field signal are subsequently:
By the RF gain reduction 28dbm of the follow-up signal of non-for current field output field signal or a described output field signal subsequently.
The taking a step forward of RSSI of described this signal of detection comprises:
Hardware filter is adopted to carry out filtering to the received signal.
Alleviate a device for the communication interference in mobile television signal, this device is positioned on mobile terminal, and this device comprises:
RSSI detection module: in the process receiving mobile television signal, detect the RSSI of this signal, when detecting that RSSI is greater than preset value, sending RSSI to interference detection module and interrupting;
Interference detection module: receive RSSI and interrupt, currently non-output field signal is being received if find, then interrupt according to this RSSI, judge whether there is communication interference in the non-output field signal of current field, if exist, then send pulse detection instruction to signal of communication pulse detection module, determine the reduction amplitude of RF gain simultaneously, the reduction amplitude of RF gain is sent to RF gain regulation module;
Signal of communication pulse detection module: received pulse detects instruction, in the follow-up signal of the non-output field signal of current field and the receiving course of an output field signal subsequently, detect signal of communication pulse, and when signal of communication pulse occurs, Gain tuning instruction is sent to RF gain regulation module, when signal of communication end-of-pulsing, send to RF gain regulation module and terminate adjustment instruction;
RF gain regulation module: the reduction amplitude receiving RF gain, when receiving Gain tuning instruction, according to this amplitude, reduce the RF gain of described current field non-output field signal or the described output field signal subsequently received, when receiving end adjustment instruction, recover the RF gain of described current field non-output field signal or a described output field signal subsequently.
Described signal of communication pulse detection module comprises: first timer module and second timer module, wherein:
First timer module: when receiving pulse detection instruction, first time starts, and timing length equals the signal of communication pulse period deducts the first preset value, when arriving constantly, determine that signal of communication pulse occurs, restart, and send Gain tuning instruction to RF gain regulation module, send to second timer module simultaneously and start instruction;
Second timer module: when receiving startup instruction, start, timing length equals signal of communication pulse persistance duration and adds described first preset value, when to constantly, sends end adjustment instruction to RF gain regulation module.
Described interference detection module is further used for the reduction amplitude of RF gain to send to BB gain regulation module;
Described signal of communication pulse detection module is further used for, and in the follow-up signal of the non-output field signal of current field and the receiving course of an output field signal subsequently, when signal of communication pulse occurs, sends Gain tuning instruction to BB gain regulation module; When signal of communication end-of-pulsing, send to BB gain regulation module and terminate adjustment instruction;
Described device comprises further: BB gain regulation module, for receiving the reduction amplitude of RF gain, when receiving Gain tuning instruction, according to this amplitude, increase the BB gain of described current field non-output field signal or the described output field signal subsequently received, when receiving end adjustment instruction, recover the BB gain of described current field non-output field signal or a described output field signal subsequently.
Described RSSI detection module, signal of communication pulse detection module and RF gain regulation module are arranged in the tuner of mobile terminal.
Described device is connected with hardware filter, and wherein, hardware filter carries out filtering to the TV signal received from antenna, then filtered TV signal is outputted to described device.
Compared with prior art, in the present invention, in the process of received television signal, detect the RSSI of this signal, when receiving non-output field signal, according to described RSSI, judge whether there is communication interference in the non-output field signal of current field, if exist, then in the follow-up signal of the non-output field signal of current field and the receiving course of an output field signal subsequently, detect signal of communication pulse, and in signal of communication pulse time of occurrence, reduce the follow-up signal of current field non-output field signal or the RF gain of a described output field signal subsequently, the power of the follow-up signal of current field non-output field signal and a described output field signal is subsequently made to be positioned at the operating power range of tuner.The present invention, while alleviating the communication interference in mobile television signal, reduces cost.
Embodiment
Below in conjunction with drawings and the specific embodiments, the present invention is further described in more detail.
The method flow diagram alleviating the communication interference in mobile television signal that Fig. 1 provides for the embodiment of the present invention, as shown in Figure 1, its concrete steps are as follows:
Step 101: the tuner of mobile terminal receives the TV signal from antenna, detects the received signal strength indicator (RSSI, Received Signal Strength Indication) of the TV signal received.
Tuner periodically can detect the RSSI of the TV signal received from antenna.
Here, before the RSSI detecting the TV signal received, hardware filter also can be adopted to carry out filtering to this signal.
Here hardware filter directly can adopt the existing hardware filter for filtering the signal of communication in TV signal arranged in the terminal.
Step 102: tuner judges whether the RSSI of the signal detected is greater than preset value, if so, performs step 103; Otherwise, process and show the TV signal received.
Here, to process and to show the process of the TV signal received same as the prior art, comprising: comprise through automatic gain adjustment: after the operation such as RF Gain tuning and BB Gain tuning, analog-to-digital conversion, display translation field signal.Wherein, TV signal is made up of non-output field signal and output field signal, non-output field signal and output field signal be the adjacent appearance in front and back always, not only and then can be a non-output field signal, next but also be an output field signal followed by an output field signal after a non-output field signal, so analogize, wherein, output field signal is display, but not output field signal does not show.
The span of the preset value in this step can be [maximum service rating-10dbm of tuner, the maximum service rating of tuner].Such as: the operating power range of tuner is [-110dbm, 10dbm] usually, and now, the span of the preset value in this step can be [0dbm, 10dbm].
Current tuner is positive integer usually with nbit(n) represent operating power range, now, the span of the preset value in this step can be ((the maximum service rating bit value+1 of tuner)/2, the maximum service rating bit value of tuner).Such as: when tuner is 6bit, then represent that its operating power range divides in order to 2 by tuner
6individual operating power is interval, be respectively [0,1), [1,2), [2,3) ..., [61,62), [62,63], wherein, 0 corresponding minimum operating power, 63 corresponding maximum service ratings, now, the span of preset value can be set to [32,62], preferably, preset value is set to 62.Wherein, dbm is dBm, and " [" and "] " is closed interval symbol, and " (" and ") " is open interval symbol.
Step 103: tuner exports RSSI to interference detection module and interrupts.
Step 104: interference detection module receives RSSI and interrupts, determines that current is the non-output field Signal reception moment, then judges whether also not detect communication interference in the non-output field signal of current field, if so, perform step 105; Otherwise the RSSI that wait-receiving mode is sent from next non-output field Signal reception process interrupts.
Interference detection module is the newly-increased module in mobile terminal, and tuner is then the existing module in mobile terminal.
A field receiving flag can be set in the signal decoding module in mobile terminal, this mark can record and upgrade the field sequence number of the TV signal that current antenna is receiving, due to non-output field signal and output field signal always adjacent reception, therefore, interference detection module can read this mark from signal decoding module in real time, thus can learn that current what receiving is non-output field signal or output field signal, and can learn that the non-output field signal of current field or output field signal receive according to the change of this mark.
If communication interference detected in the non-output field signal of current field, then, in the receiving course of an output field signal in the receipt of subsequent process of the non-output field signal of current field and subsequently, interference detection module directly abandons the RSSI received and interrupts.
Step 105: interference detection module judges whether that receiving three RSSI in current field non-output field Signal reception process continuously interrupts, and the reception interval that adjacent twice RSSI interrupts all equals signal of communication pulse period T
cs, if so, think to there is communication interference in the non-output field signal of current field, perform step 106; Otherwise, continue to wait for that the next RSSI in current field non-output field Signal reception process interrupts.
When signal of communication is GSM signal, Fig. 2 gives the schematic diagram of GSM signal, as shown in Figure 2, the frequency of GSM pulse signal is generally 207Hz, then the cycle of GSM pulse signal is 1/207=0.00483s=4.83ms, and wherein, the lasting duration of GSM pulse signal is 0.577ms.
This step is specifically by following process implementation:
First, interference detection module, when initialization, arranges one first effective RSSI interrupt identification F1
rSSIwith one second effective RSSI interrupt identification F2
rSSI, one first effective RSSI interrupting receive moment T1 is set simultaneously
rSSIwith one second effective RSSI interrupting receive moment T2
rSSI.
Then when receive a RSSI and interrupt and determine current for the non-output field Signal reception moment and in the non-output field signal of current field, communication interference also do not detected time, interference detection module perform following steps:
Step 01: interference detection module judges F2
rSSIwhether=1 set up, and if so, performs step 02; Otherwise, perform step 04.
Step 02: interference detection module judges current time and T2
rSSIbetween interval whether equal T
cs, if so, think to there is communication interference in the non-output field signal of current field; Otherwise, perform step 03.
F2
rSSI=1, then must there is F1
rSSI=1, i.e. the interval in nearest twice RSSI interrupting receive moment: T2
rSSI-T1
rSSIequal T
cs, now only need again according to current time and T2
rSSIbetween interval whether equal T
csjust can learn whether the non-output field signal of current field exists communication interference.
Step 03: interference detection module upgrades F1
rSSI=1, F2
rSSI=0, T1
rSSI=current time, T2
rSSIfor sky, continue to wait for that next RSSI interrupts.
Step 04: interference detection module judges F1
rSSIwhether=1 set up, and if so, performs step 05; Otherwise, perform step 08.
Step 05: interference detection module judges current time and T1
rSSIbetween interval whether equal T
cs, if so, perform step 06; Otherwise, perform step 07.
Step 06: interference detection module arranges F2
rSSI=1, T2 is set
rSSI=current time, continues to wait for that next RSSI interrupts.
Current time and T1
rSSIbetween interval equal T
cs, then only need wait for that next RSSI interrupts, according to next RSSI interrupting receive moment and T2
rSSIinterval whether equal T
cs, just can confirm whether there is communication interference in the non-output field signal of current field.
Step 07: interference detection module upgrades T1
rSSI=current time, continues to wait for that next RSSI interrupts.
Step 08: interference detection module arranges F1
rSSI=1, T1 is set
rSSI=current time, continues to wait for that next RSSI interrupts.
F1
rSSI=1 is false, i.e. F1
rSSI=0, illustrate that first RSSI that current RSSI interrupts for producing in current field non-output field Signal reception process interrupts.
Step 106: the power of interference detection module according to signal of communication and the operating power of tuner, determines radio frequency (RF, Radio Frequency) gain: the D that need reduce
rFgain, by D
rFgainsend to tuner.
Here, D is determined
rFgainthe principle of size be: by the power reduction of signal of communication in the operating power range of tuner, best, can by the best effort power bracket of the power reduction of signal of communication to tuner.Such as: the operating power range of tuner is [-110dbm usually, 10dbm], and the best effort power bracket of tuner is [-90dbm ,-30dbm], then by the power reduction of signal of communication to the arbitrary power in [-90dbm ,-30dbm].When signal of communication is GSM signal, finds through overtesting, work as D
rFgainbest during=28dbm.
Step 107: tuner receives D
rFgain, start first timer T
1=T
cs-t
0, to the non-output field signal of subsequently received current field and an output field signal subsequently, circulation performs step 108:
Step 108: work as T
1then, by the RF gain G of the non-output field signal that receiving or output field signal
rFreduce D
rFgain, restart T1 simultaneously, and start second timer T
2=T
cm+ t
0, work as T
2then, be G by the RF gain recovery of the non-output field signal that receives or output field signal
rF.
Wherein, T
cmfor signal of communication pulse persistance duration, such as: when signal of communication is GSM signal, T
cm=0.577ms.T
0be a very little value, can rule of thumb determine, by T
1be set to T
cs-t
0, its objective is in order to before next signal of communication pulse will arrive, complete the RF gain G by the non-output field signal that receiving or output field signal
rFreduce D
rFgainoperation.Such as: 0.01ms≤t
0≤ 0.05ms, preferably, t
0=0.05ms.
Here, in the RF gain G by non-output field signal or output field signal
rFreduce D
rFgainwhile, in order to ensure the normal display of signal, need base band (BB, the Base Band) gain of this non-output field signal or output field signal to increase D
rFgain.
For any two adjacent non-output field signals and output field signal, all reach the object alleviating communication interference by flow process shown in Fig. 1.
The device composition diagram alleviating the communication interference in mobile television signal that Fig. 3 provides for the embodiment of the present invention, this device is positioned on mobile terminal, as shown in Figure 3, this device comprises: RSSI detection module 31, interference detection module 32, signal of communication pulse detection module 33, RF gain regulation module 34 and BB gain regulation module 35, wherein:
RSSI detection module 31: in the process receiving mobile television signal, detect the RSSI of this signal, when detecting that RSSI is greater than preset value, sending RSSI to interference detection module 32 and interrupting.
Interference detection module 32: receive the RSSI interruption that RSSI detection module 31 is sent, currently non-output field signal is being received if find, then interrupt according to this RSSI, judge whether there is communication interference in the non-output field signal of current field, if exist, then send pulse detection instruction to signal of communication pulse detection module 33, determine the reduction amplitude of RF gain simultaneously, the reduction amplitude of RF gain is sent to RF gain regulation module 34 and BB gain regulation module 35.
Signal of communication pulse detection module 33: receive the pulse detection instruction that interference detection module 32 is sent, in the follow-up signal of the non-output field signal of current field and the receiving course of an output field signal subsequently, detect signal of communication pulse, and when signal of communication pulse occurs, send Gain tuning instruction to RF gain regulation module 34 and BB gain regulation module 35 simultaneously, when signal of communication end-of-pulsing, send to RF gain regulation module 34 and BB gain regulation module 35 simultaneously and terminate adjustment instruction.
RF gain regulation module 34: the reduction amplitude receiving the RF gain that interference detection module 32 is sent, when receiving the Gain tuning instruction that signal of communication pulse detection module 33 is sent, according to this amplitude, reduce the RF gain of current field non-output field signal or the described output field signal subsequently received, when receiving the end adjustment instruction that signal of communication pulse detection module 33 is sent, recover the RF gain of the non-output field signal of current field or an output field signal subsequently, the signal after RF Gain tuning is outputted to BB gain regulation module 35.
BB gain regulation module 35: the reduction amplitude receiving the RF gain that interference detection module 32 is sent, when receiving the Gain tuning instruction that signal of communication pulse detection module 33 is sent, according to this amplitude, reduce the non-output field signal of current field of RF gain regulation module 34 output or the BB gain of an output field signal subsequently, when receiving the end adjustment instruction that signal of communication pulse detection module 33 is sent, recover the non-output field signal of current field of RF gain regulation module 34 output or the RF gain of an output field signal subsequently.
In actual applications, as shown in Figure 4, signal of communication pulse detection module 33 can comprise: first timer module 331 and second timer module 332, wherein:
First timer module 331: when receiving the pulse detection instruction that interference detection module 32 is sent, first time starts, and timing length equals the signal of communication pulse period deducts the first preset value, when arriving constantly, determine that signal of communication pulse occurs, restart, and send Gain tuning instruction to RF gain regulation module 34 and BB gain regulation module 35, send to second timer module 332 simultaneously and start instruction.
Second timer module 332: when receiving the startup instruction that first timer module 331 is sent, start, timing length equals signal of communication pulse persistance duration and adds described first preset value, when to constantly, send to RF gain regulation module 34 and BB gain regulation module 35 and terminate adjustment instruction.
RSSI detection module 31 shown in Fig. 3, signal of communication pulse detection module 33, RF gain regulation module 34 and BB gain regulation module 35 can be arranged in the tuner of mobile terminal.
In actual applications, Fig. 3 shown device can be connected with hardware filter, and wherein, hardware filter first carries out filtering to the TV signal received from antenna, then filtered TV signal is outputted to RSSI detection module 31 and RF gain regulation module 34.
Signal of communication in the present invention can be GSM signal, code division multiple access (CDMA, Code Division Multiple Access) signal etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within the scope of protection of the invention.