The method and apparatus of a kind of Set Top Box frequency spectrum location frequency point information
Technical field
The present invention relates to set-top box technique field, the method and apparatus of especially a kind of Set Top Box frequency spectrum location frequency point information.
Background technology
Set Top Box: set-top box; STB, it is a kind of home appliance that relies on television terminal that integrated information business is provided, and makes user on existing television set, watch digital television program, and can carry out interactive digital amusement, education and commercialization activity by network.
Frequency spectrum is exactly the distribution curve of frequency, and complex oscillation is decomposed into the different resonance oscillations different with frequency of amplitude, and the amplitude of these resonance oscillations is called frequency spectrum by the figure of frequency permutation, is widely used in the aspects such as acoustics, optics and radiotechnics.Frequency spectrum is the abbreviation of frequency spectrum density, and it guides to frequency domain by the research to signal from time domain, thereby brings more intuitive understanding, and for the frequency spectrum of dvb signal, more large-signal intensity is stronger for this frequency power of the larger expression of frequency spectrum numerical value.
DVB-S (ETS300421) is digital broadcasting satellite system standard.Satellite transmission has the features such as broad covered area, program capacity be large.The modulation of data flow adopts quarternary phase-shift keying (QPSK) modulation (QPSK) mode, and operating frequency is 11/12GHz.In the time using MPEG-2MP@ML form, if user side reaches CCIR601 studio quality, code check is 9Mb/s; Reach PAL quality, code check is 5Mb/s.A 54MHz transponder transfer rate can reach 68Mb/s, can be used for the multiplexing of multiple programs.DVB-S standard is almost all satellite broadcasting digital television systems and adopts, if its signal transmission form has determined that user receives signal with dvbs and needs receiving equipment to aim at the satellite that user need to receive, have the deviation of any just may cause and not receive signal, this mode has increased the difficulty of user installation.The function of frequency spectrum is exactly to analyze the intensity level that receives signal, and more large-signal intensity is stronger for this frequency power of the larger expression of frequency spectrum numerical value.
Present spectrum technology can only show the frequency range of intermediate frequency, and the intermediate frequency range of dvbs is that 950MHz is to 2150MHz.Needing user manually to go to calculate from intermediate frequency signal frequency to actual signal frequency, for example: IF-FRE is 1000MHz, if use is the tuner of C, may be 4150 or 4750 according to user's level or the vertical actual frequency that arranges; If what use is the tuner of KU, the state of the 22K arranging according to user can be 10500 or 11600, pretty troublesome for some non-professional users.The intensity of the just signal showing in frequency spectrum in addition, is not that intensity just necessarily has signal when high, and user also cannot judge this Mid Frequency and whether has signal.
Summary of the invention
In view of this, be necessary for the deficiencies in the prior art, the method for a kind of novel Set Top Box frequency spectrum location frequency point information be provided and realize the device of the method.
The object that the present invention is is achieved through the following technical solutions:
A method for Set Top Box frequency spectrum location frequency point information, it comprises the following steps:
Receive a certain IF-FRE that user selects in frequency spectrum menu;
To carrying out blind sweeping in the scope of a frequency values of left and right skew centered by described IF-FRE;
Judge whether the blind frequency of sweeping to;
If judged result is yes, judge whether the blind frequency of sweeping to has signal;
If judged result is yes, find the frequency of the described IF-FRE of the most approaching described user selection, and calculate actual frequency and symbol rate, obtain the corresponding program of the frequency calculating and signal parameter.
Described to carrying out blind sweeping in the scope of a frequency values of left and right skew centered by described IF-FRE, be specially: to entering blind sweeping within the scope of left and right skew 30M centered by described IF-FRE, described blind sweeping is the function of dvbs front end modulation /demodulation, according to the beginning frequency setting in advance, finish frequency and blind sweeping after step-length, blind described IF-FRE and the symbol rate of scanning out that front end modulator-demodulator will be step by step.
Described as judged result be yes, judge whether the blind frequency of sweeping to has signal; Be specially: if judged result is the blind frequency of sweeping to, the blind IF-FRE of sweeping to and corresponding symbol rate are set in the register of front end, and described front end is attempted locking signal, if can lock, represent that described IF-FRE is effectively, preserves effective IF-FRE; If can not lock, exit.
Described as judged result be yes, find the frequency of the described IF-FRE of the most approaching described user selection, and calculate actual frequency, obtain program and the signal parameter of frequency, be specially: if judged result is that the blind frequency of sweeping to has signal, in the described frequency by signal, select one to approach the described IF-FRE that described user selects most, and arrange to calculate actual signal according to user, so then search for the program under described Frequency point, store and show.
It is a kind of for realizing the device of said method that the present invention also provides, and it comprises:
Receiver module, a certain IF-FRE that it is selected at frequency spectrum menu for receiving user;
The blind module of sweeping, it is for to carrying out blind sweeping in the scope of a frequency values of left and right skew centered by described IF-FRE;
The first judge module, it is for judging whether the blind frequency of sweeping to;
The second judge module, it,, for being blind sweeping to after frequency when described the first judge module judged result, judges whether the blind frequency of sweeping to has signal;
Processing module, it is for being that the blind frequency of sweeping to has after signal when described the second judge module judged result, find the frequency of the described IF-FRE of the most approaching described user selection, and calculate actual frequency and symbol rate, obtain program and the signal parameter of frequency.
Described blind sweep module specifically for: to entering blind sweeping within the scope of left and right skew 30M centered by described IF-FRE, described blind sweeping is the function of dvbs front end modulation /demodulation, according to the beginning frequency setting in advance, finish frequency and blind sweeping after step-length, blind described IF-FRE and the symbol rate of scanning out that front end modulator-demodulator will be step by step.
Described the second judge module specifically for: in the time that the judged result of described the first judge module is, the blind IF-FRE of sweeping to and corresponding symbol rate are set in the register of front end, described front end is attempted locking signal, if can lock, represent that described IF-FRE is effectively, preserves effective IF-FRE; If can not lock, exit.
Described processing module, specifically for: as described in the second judge module judged result be that the blind frequency of sweeping to has signal, in the described frequency by signal, select one to approach the described IF-FRE that described user selects most, and arrange to calculate actual signal according to user, so then search for the program under described Frequency point, store and show.
Compared with prior art, the present invention possesses following advantage:
Whether the present invention can judge has signal and demonstrates actual frequency, makes user efficient and conveniently in frequency spectrum function, to find signal, and obtains the parameter of signal.Be an innovation of Set Top Box spectrum technology, be suitable for promoting.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of the embodiment of the present invention one.
Embodiment
embodiment mono-:
The present embodiment provides the method for a kind of Set Top Box frequency spectrum location frequency point information, and it comprises the following steps:
Receive a certain IF-FRE that user selects in frequency spectrum menu;
For example, to carrying out blind sweeping in the scope of a frequency values of left and right skew centered by described IF-FRE:, to entering blind sweeping within the scope of left and right skew 30M centered by described IF-FRE, described blind sweeping is the function of dvbs front end modulation /demodulation, according to the beginning frequency setting in advance, finish frequency and blind sweeping after step-length, blind described IF-FRE and the symbol rate of scanning out that front end modulator-demodulator will be step by step;
Judge whether the blind frequency of sweeping to: the information that frequency comprises is many, such as, frequency, symbol rate;
If judged result is yes, judge whether the blind frequency of sweeping to has signal: when judged result is blind while sweeping to frequency, the blind IF-FRE of sweeping to and corresponding symbol rate are set in the register of front end, described front end is attempted locking signal, if can lock, represent that described IF-FRE is effectively, preserves effective IF-FRE; If can not lock, exit;
If judged result is yes, find the frequency of the described IF-FRE of the most approaching described user selection, and calculate actual frequency, obtain program and the signal parameter of frequency: if judged result is that the blind frequency of sweeping to has signal, in the described frequency by signal, select one to approach the described IF-FRE that described user selects most, and according to user arrange to calculate actual signal, then search for all programs under described Frequency point, store and show.
The described frequency of calculating reality and the method for symbol rate belong to prior art, concrete, actual frequency=local oscillator+or-IF-FRE, local frequency that local oscillator is used according to user (refers to the local frequency of the lnb that user uses, that user is good with regard to mark in the time buying tuner, for example: user will search for the signal of C just with the tuner of buying 5150MHZ, if will searching for the signal of KU, user can select 9750/10600 tuner, also can select 10300 tuner) decide, + or-be that what to use according to user is that C-band frequency or the frequency of Ku wave band are determined, if C-band use-, if Ku wave band use+.
Symbol rate is read by described front end, does not need to calculate.
embodiment bis-:
It is a kind of for realizing the device of method described in embodiment mono-that the present embodiment provides, and it comprises:
Receiver module, a certain IF-FRE that it is selected at frequency spectrum menu for receiving user;
The blind module of sweeping, it is for to carrying out blind sweeping in the scope of a frequency values of left and right skew centered by described IF-FRE; Concrete, described blind sweep module specifically for: to entering blind sweeping within the scope of left and right skew 30M centered by described IF-FRE, described blind sweeping is the function of dvbs front end modulation /demodulation, according to the beginning frequency setting in advance, finish frequency and blind sweeping after step-length, blind described IF-FRE and the symbol rate of scanning out that front end modulator-demodulator will be step by step;
The first judge module, it is for judging whether the blind frequency of sweeping to;
The second judge module, it,, for being blind sweeping to after frequency when described the first judge module judged result, judges whether the blind frequency of sweeping to has signal; Concrete, described the second judge module specifically for: in the time that the judged result of described the first judge module is, the blind IF-FRE of sweeping to and corresponding symbol rate are set in the register of front end, described front end is attempted locking signal, if can lock, represent that described IF-FRE is effectively, preserves effective IF-FRE; If can not lock, exit;
Processing module, it finds the frequency of the described IF-FRE of the most approaching described user selection for being that the blind frequency of sweeping to has after signal when described the second judge module judged result, and calculates program and the signal parameter of actual frequency acquisition frequency; Concrete, described processing is used for: as described in the second judge module judged result be that the blind frequency of sweeping to has signal, in the described frequency by signal, select one to approach the described IF-FRE that described user selects most, and arrange to calculate actual signal according to user, so then search for the program under described Frequency point, store and show.