Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those skilled in the art obtain, all belongs to the scope of protection of the invention.
Refer to accompanying drawing 1a, be the downlink channel locking means schematic flow sheet that the embodiment of the present invention provides, mainly comprise step S101 and step S102:
S101, determines that whether signal corresponding to current frequency to be scanned be effective.
When one section of frequency spectrum comprising some channels is scanned, if often scan a channel just carry out once complete frequency locking process, namely tuning, demodulation, the operation such as decoding and error correction is carried out, then when the center frequency point of locked channel is not useful frequency, such as, if the signal strength signal intensity on frequency compares, above-mentioned frequency locking process wastes the valuable time, special in spectral range to be scanned is wider, this wasting of resources is more serious.
In order to not lose time resource thus the useful channel of quick lock on useless frequency, in embodiments of the present invention, before spectrum scan, first can determine that whether signal corresponding to current frequency to be scanned be effective.
A kind ofly determine whether effective method can be signal corresponding to current frequency to be scanned, by the signal that tuning current frequency to be scanned is corresponding, obtain the intensity of signal corresponding to described current frequency to be scanned, if the intensity of the signal that described current frequency to be scanned is corresponding is within preset range, then determine that signal corresponding to current frequency to be scanned is effective, otherwise, determine the invalidating signal that current frequency to be scanned is corresponding.Such as, obtain automatic gain compensation (AutomaticGainControl, the AGC) value of signal corresponding to current frequency to be scanned, then, with the AGC valid value range [AGC preset
min, AGC
max] compare, if the AGC value of signal corresponding to current frequency to be scanned is at [AGC
min, AGC
max] within, then determine that signal corresponding to current frequency to be scanned is effective, otherwise, determine the invalidating signal that current frequency to be scanned is corresponding.In embodiments of the present invention, described default AGC valid value range [AGC
min, AGC
max] can be the scope of some industry standard or protocol requirement, AGC
minand AGC
maxminimum value and the maximum of described default AGC valid value range respectively.
S102, if signal corresponding to described current frequency to be scanned is effective, then according to described current frequency determination downlink channel to be scanned.
If signal corresponding to described current frequency to be scanned is effective, then show that described current frequency to be scanned is likely as the centre frequency of downlink channel.If the invalidating signal that described current frequency to be scanned is corresponding, such as, the AGC value of the signal that current frequency to be scanned is corresponding is not at default AGC valid value range [AGC
min, AGC
max] within, then show that current frequency to be scanned is invalid frequency, be not suitable for as downlink channel, therefore, directly can stop the frequency locking to described current frequency to be scanned, continue the next channel of the whole downstream spectrum of scanning.
As according to the effective current frequency to be scanned of respective signal (following use " F(n) " represent), determine an embodiment of downlink channel, described current frequency F(n to be scanned can be obtained) automatic gain compensation value AGC(n) and described current frequency F(n to be scanned) side frequency F(n+1) automatic gain compensation value AGC(n+1).Herein, frequency F(n+1) automatic gain compensation value AGC(n+1) acquisition process and current frequency F(n to be scanned) and automatic gain compensation value AGC(n) similar, such as, by to tuned frequency F(n+1) corresponding signal, obtain frequency F(n+1) automatic gain compensation value AGC(n+1).
Then, more described frequency F(n+1) automatic gain compensation value AGC(n+1) with the relation of preset range and/or described frequency F(n+1) automatic gain compensation value AGC(n+1) with current frequency F(n to be scanned) automatic gain compensation value AGC(n) relation.Preset range can be the AGC valid value range [AGC of some industry standard of mentioning of previous embodiment or protocol requirement herein
min, AGC
max].
If frequency F(n+1) automatic gain compensation value AGC(n+1) not in preset range, that is, frequency F(n+1) automatic gain compensation value AGC(n+1) not at [AGC
min, AGC
max] within, or frequency F(n+1) automatic gain compensation value AGC(n+1) be less than current frequency F(n to be scanned) and automatic gain compensation value AGC(n), then determine current frequency F(n to be scanned) centre frequency be the centre frequency of downlink channel, namely, current frequency F(n to be scanned) corresponding channel is available downlink channel, this downlink channel can be locked in and communicate.
If frequency F(n+1) automatic gain compensation value AGC(n+1) in preset range, that is, frequency F(n+1) automatic gain compensation value AGC(n+1) at [AGC
min, AGC
max] within, and frequency F(n+1) automatic gain compensation value AGC(n+1) be greater than current frequency F(n to be scanned) and automatic gain compensation value AGC(n), then determine frequency F(n+1) centre frequency be the centre frequency of downlink channel, namely, frequency F(n+1) corresponding channel is available downlink channel, this downlink channel can be locked in and communicate.
From the downlink channel locking means that the invention described above embodiment provides, due to before execution frequency locking, can by determining whether signal corresponding to current frequency to be scanned effectively filters out a large amount of useless channel, thus the downlink channel defined.This approach reduces the time wasted on a lot of useless frequency, in frequency locking process, eliminate the scanning to a large amount of useless channel, thus obviously shorten whole frequency locking process.
It should be noted that, the downlink channel locking means that above-described embodiment provides can be applied to digital video broadcast-terrestrial (DigitalVideoBroadcasting-Terrestrial, DVB-T) tuning of system or cable modem to be reached the standard grade etc. and are supported the blind field sweep scape of full range of radiofrequency signal, be described further for cable modem loading method below, refer to accompanying drawing 1b, be the cable modem loading method schematic flow sheet that the embodiment of the present invention provides, mainly comprise step S ' 101, step S ' 102 and step S ' 103:
S ' 101, determines that whether signal corresponding to current frequency to be scanned be effective.
In embodiments of the present invention, in order to scan available downlink channel as much as possible, channel division can be carried out as a unit to whole downstream spectrum using minimum frequency deviation difference.When scanning whole downstream spectrum, from the upper limiting frequency of downstream spectrum, scan the channel dividing out one by one.As one embodiment of the invention, minimum frequency deviation difference can be 250kHz, that is, from the upper limiting frequency of downstream spectrum, each scanning frequency spectrum is the channel of 250kHz.
Different from the upper line process that prior art provides, in embodiments of the present invention, before to downstream spectrum scanning, can determine that whether signal corresponding to current frequency to be scanned be effective.
A kind ofly determine whether effective method can be signal corresponding to current frequency to be scanned, by the signal that tuning current frequency to be scanned is corresponding, obtain the intensity of signal corresponding to described current frequency to be scanned, if the intensity of the signal that described current frequency to be scanned is corresponding is within preset range, then determine that signal corresponding to current frequency to be scanned is effective, otherwise, determine the invalidating signal that current frequency to be scanned is corresponding.Such as, obtain the automatic gain compensation (AutomaticGainControl of signal corresponding to current frequency to be scanned, AGC) value, then, with meet agreement, such as, the AGC valid value range [AGC that requires of Data Over Cable Service interface specification (DataOverCableServiceInterfaceSpecification, DOCSIS)
min, AGC
max] compare, if the AGC value of signal corresponding to current frequency to be scanned is at [AGC
min, AGC
max] within, then determine that signal corresponding to current frequency to be scanned is effective, otherwise, determine the invalidating signal that current frequency to be scanned is corresponding.Herein, AGC
minand AGC
maxminimum value and the maximum of the AGC valid value range meeting protocol requirement respectively.
S ' 102, if signal corresponding to described current frequency to be scanned is effective, then according to described current frequency determination downlink channel to be scanned.
If signal corresponding to described current frequency to be scanned is effective, then show that described current frequency to be scanned is likely as the centre frequency of downlink channel.If the invalidating signal that described current frequency to be scanned is corresponding, such as, the AGC value of the signal that current frequency to be scanned is corresponding is not meeting the AGC valid value range [AGC of protocol requirement
min, AGC
max] within, then show that current frequency to be scanned is invalid frequency, broadcast singal frequency or TV signal frequency, be not suitable for the downlink channel as cable modem, therefore, directly can stop the frequency locking to described current frequency to be scanned, continue the next channel of the whole downstream spectrum of scanning.
As according to the effective current frequency to be scanned of respective signal (following use " F(n) " represent), determine an embodiment of downlink channel, described current frequency F(n to be scanned can be obtained) automatic gain compensation value AGC(n) and described current frequency F(n to be scanned) side frequency F(n+1) automatic gain compensation value AGC(n+1).Herein, frequency F(n+1) automatic gain compensation value AGC(n+1) acquisition process and current frequency F(n to be scanned) and automatic gain compensation value AGC(n) similar, such as, by to tuned frequency F(n+1) corresponding signal, obtain frequency F(n) automatic gain compensation value AGC(n+1).Then, more described current frequency F(n+1 to be scanned) automatic gain compensation value AGC(n+1) with the relation of preset range and/or described frequency F(n+1) automatic gain compensation value AGC(n+1) with current frequency F(n to be scanned) automatic gain compensation value AGC(n) relation.Here, preset range can be the aforementioned AGC valid value range [AGC meeting protocol requirement
min, AGC
max].
If frequency F(n+1) automatic gain compensation value AGC(n+1) not in preset range, that is, frequency F(n+1) automatic gain compensation value AGC(n+1) not at [AGC
min, AGC
max] within, or frequency F(n+1) automatic gain compensation value AGC(n+1) be less than current frequency F(n to be scanned) and automatic gain compensation value AGC(n), then determine current frequency F(n to be scanned) centre frequency be the centre frequency of downlink channel, that is, current frequency F(n to be scanned) corresponding channel is the downlink channel of cable modem.
If frequency F(n+1) automatic gain compensation value AGC(n+1) in preset range, that is, frequency F(n+1) automatic gain compensation value AGC(n+1) at [AGC
min, AGC
max] within, and frequency F(n+1) automatic gain compensation value AGC(n+1) be greater than current frequency F(n to be scanned) and automatic gain compensation value AGC(n), then determine frequency F(n+1) centre frequency be the centre frequency of downlink channel, that is, frequency F(n+1) corresponding channel is the downlink channel of cable modem.
S ' 103, performs the operation of reaching the standard grade of cable modem at the described downlink channel determined.
If determine downlink channel, such as, the effective current frequency F(n to be scanned of respective signal in step S ' 102) corresponding channel, then by carrying out tuning, demodulation, decoding and error correction etc. to the signal of described downlink channel, if these process successes, then obtain the load contents in the signal of described downlink channel, then, Cable Modem Terminal System (CableModemTerminalSystems is obtained from described load contents, CTMS) configuration information, the configuration information of these CTMS comprises cable modem upstream channel parameter etc.Finally, according to described cable modem upstream channel parameter, the uplink communication of CM and CTMS server is set up.If the uplink communication success of CM and CTMS server, then show that the operating process of reaching the standard grade that CM performs at the above-mentioned down channel determined completes.
In embodiments of the present invention, when obtaining the configuration information of CTMS from load contents, first can judge whether the downlink channel decided according to current frequency to be scanned is effective cable modem downlink channel.Such as, if CM can get the synchronization message that CTMS server is sent by this downlink channel, then show that the aforementioned downlink channel decided according to current frequency to be scanned is effective cable modem downlink channel, otherwise this downlink channel is the channel of delivery broadcast singal, TV signal or other noise signals.After judging that this downlink channel is effective cable modem downlink channel, then from described effective cable modem downlink channel, extract described cable modem upstream channel parameter, cable modem upstream channel parameter is the main contents of the configuration information of Cable Modem Terminal System CTMS.
In the example of step S ' 103, if CM cannot obtain load contents in the signal of described downlink channel, cannot obtain the configuration information of CMTS or successfully cannot set up uplink communication with CMTS server, namely the signal of described downlink channel is carried out to the failures such as tuning, demodulation, decoding or error correction or be not effective cable modem downlink channel according to the downlink channel that current frequency to be scanned is decided, then when all channels have scanned, perform the operating process of reaching the standard grade of cable modem unsuccessfully to terminate.
From the cable modem loading method that the invention described above embodiment provides, due to before execution frequency locking, can by determining whether signal corresponding to current frequency to be scanned effectively filters out a large amount of useless channel, thus determine downlink channel and perform the operation of reaching the standard grade of cable modem at described downlink channel.Compared with the cable modem loading method provided with prior art, the method that the embodiment of the present invention provides decreases the time wasted on a lot of useless frequency and broadcast television signal frequency, the scanning to a large amount of useless channel is eliminated in frequency locking process, thus obviously shorten the upper line process of whole cable modem, enhance the experience of user.
Accompanying drawing 2 is cable modem loading method schematic flow sheets that another embodiment of the present invention provides, and is described in detail as follows:
Step S201, carries out the division of channel to downstream spectrum.
That is, by whole downstream spectrum within the scope of protocol definition using minimum frequency deviation difference as unit, carry out division channel, such as, within the scope of protocol definition, be that minimum frequency deviation is poor with 250KHz, whole downstream spectrum is divided into some channels within the scope of protocol definition.
Step S202, selects a frequency as current frequency to be scanned.
Described current frequency to be scanned be divide in step S201 and also do not carry out scanned frequency.
Step S203, carries out tuning to the signal of current frequency to be scanned.
Step S204, judges that whether the signal of current frequency to be scanned is effective.
Such as, the AGC value of the signal of current frequency to be scanned is obtained, then, with meet agreement, such as, the AGC valid value range [AGC that requires of Data Over Cable Service interface specification (DataOverCableServiceInterfaceSpecification, DOCSIS)
min, AGC
max] compare, if the AGC value of signal corresponding to current frequency to be scanned is at [AGC
min, AGC
max] within, then judge that the signal of current frequency to be scanned is effective, otherwise, determine the invalidating signal of current frequency to be scanned.Herein, AGC
minand AGC
maxminimum value and the maximum of the AGC valid value range meeting protocol requirement respectively.
If judge, the signal of current frequency to be scanned is effective, then perform step S205, otherwise terminates the frequency locking operation of current frequency to be scanned and enter step S210.
Step S205, determines the downlink channel of cable modem.
Concrete grammar comprises: obtain the effective current frequency to be scanned of described signal (following use " F(n) " represent) automatic gain compensation value AGC(n) and described current frequency F(n to be scanned) side frequency F(n+1) automatic gain compensation value AGC(n+1).Herein, frequency F(n+1) automatic gain compensation value AGC(n+1) acquisition process and current frequency F(n to be scanned) and automatic gain compensation value AGC(n) similar, such as, by to tuned frequency F(n+1) corresponding signal, obtain frequency F(n+1) automatic gain compensation value AGC(n+1).It should be noted that, in the present embodiment, current frequency F(n to be scanned) side frequency F(n+1) can to scan whole downstream spectrum in abovementioned steps S ' 101 time minimum frequency deviation difference used determine, that is, F(n+1) and the difference of center frequency point F(n) can be separated by 250kHz.
Then, more described current frequency F(n+1 to be scanned) automatic gain compensation value AGC(n+) with the relation of preset range and/or described frequency F(n+1) automatic gain compensation value AGC(n+1) with current frequency F(n to be scanned) automatic gain compensation value AGC(n) relation.Here, preset range can be the aforementioned AGC valid value range [AGC meeting protocol requirement
min, AGC
max].
If frequency F(n+1) automatic gain compensation value AGC(n+1) not in preset range, that is, frequency F(n+1) automatic gain compensation value AGC(n+1) not at [AGC
min, AGC
max] within, or frequency F(n+1) automatic gain compensation value AGC(n+1) be less than current frequency F(n to be scanned) and automatic gain compensation value AGC(n), then determine current frequency F(n to be scanned) centre frequency be the centre frequency of downlink channel, that is, current frequency F(n to be scanned) corresponding channel is the downlink channel of cable modem.
If frequency F(n+1) automatic gain compensation value AGC(n+1) in preset range, that is, frequency F(n+1) automatic gain compensation value AGC(n+1) at [AGC
min, AGC
max] within, and frequency F(n+1) automatic gain compensation value AGC(n+1) be greater than current frequency F(n to be scanned) and automatic gain compensation value AGC(n), then determine frequency F(n+1) centre frequency be the centre frequency of downlink channel, that is, frequency F(n+1) corresponding channel is the downlink channel of cable modem.
Whether step S206, judge the signal frequency locking of the corresponding downlink channel of centre frequency successful.
According to the centre frequency obtained in step S205, the downlink channel corresponding to this centre frequency performs complete frequency locking operation, comprise the processes such as the signal tuning to this downlink channel, demodulation, decoding and error correction, obtain the load contents in the signal of this downlink channel, judge whether to meet mpeg encoded standard by the sync byte 0x47 in load contents.If success, perform step S207, otherwise enter step S210.
Step S207, judges whether the configuration information successfully obtaining CMTS.
First can judge whether the downlink channel decided according to current frequency to be scanned is effective cable modem downlink channel.Such as, if CM can get the synchronization message that CTMS server is sent by this downlink channel, then show that the aforementioned downlink channel decided according to current frequency to be scanned is effective cable modem downlink channel, otherwise this downlink channel is the channel of delivery broadcast singal, TV signal or other noise signals.After judging that this downlink channel is effective cable modem downlink channel, then from described effective cable modem downlink channel, extract described cable modem upstream channel parameter, cable modem upstream channel parameter is the main contents that the configuration information of Cable Modem Terminal System CTMS comprises.
Wherein, the acquisition process of the configuration information of CMTS can comprise: first, from the signal of the downlink channel delivery determined, obtain synchronization message (SYCN message).Because described synchronization message is by DOCSIC protocol definition, constantly send in CM downstream signal, maximum transmission cycle 200ms, CM can get this synchronization message very soon under normal circumstances.If CM successfully obtains synchronization message, then represent that the downlink channel determined in step S205 is effective CM downlink channel, otherwise the downlink channel determined in step S205 is the channel of delivery broadcast singal, TV signal or other noise signals.If be effective CM downlink channel, then extract CM upstream channel parameter.
Whether successful step S208, judge to set up uplink communication with CMTS server.
According to the CM upstream channel parameter obtained in step S207, CM and CMTS server carries out uplink communication, if communicate successfully, then performs step S209, otherwise enters step S210.
Step S209, reaches the standard grade successfully, terminates to reach the standard grade operation.
After carrying out uplink communication success with CMTS server, represent that CM reaches the standard grade successfully, terminate the scanning process to downstream spectrum.
Step S210, judges whether all channels dividing out from downstream spectrum have scanned.
If the frequency locking operation of current channel can not successfully be reached the standard grade, then whether all channels divided in determining step S201 are all scanned.If all channels are all scanned, then perform step S211, namely go up line process unsuccessfully to terminate, otherwise, enter step S202 and select another one channel to continue scanning.
Step S211, represents and this time reaches the standard grade unsuccessfully, terminate upper line process.
Referring to accompanying drawing 3, is the cable modem eedle threader structural representation that the embodiment of the present invention provides.For convenience of explanation, illustrate only the part relevant to the embodiment of the present invention.The cable modem eedle threader of accompanying drawing 3 example includes validity determination module 301, downlink channel determination module 302 and Executive Module 303 of reaching the standard grade, wherein:
Validity determination module 301, whether effective for determining signal corresponding to current frequency to be scanned.
For described validity determination module 301, downlink channel determination module 302, if determine that signal corresponding to current frequency to be scanned is effective, then according to described current frequency determination downlink channel to be scanned.
To reach the standard grade Executive Module 303, for performing the operation of reaching the standard grade of cable modem at the described downlink channel determined.
It should be noted that, in the execution mode of above cable modem eedle threader, the division of each functional module only illustrates, can be as required in practical application, the facility of the such as configuration requirement of corresponding hardware or the realization of software is considered, and above-mentioned functions distribution is completed by different functional modules, the internal structure by described cable modem eedle threader is divided into different functional modules, to complete all or part of function described above.And, in practical application, corresponding functional module in the present embodiment can be by corresponding hardware implementing, also can perform corresponding software by corresponding hardware to complete, such as, aforesaid validity determination module can be have to perform the aforementioned whether effective hardware of signal that current frequency to be scanned is corresponding of determining, such as validity determiner also can be general processor or other hardware devices that can perform corresponding computer program thus complete aforementioned function; For another example aforesaid downlink channel determination module, if can be have to perform aforementioned described validity determination module and determine that signal corresponding to current frequency to be scanned is effective, then according to the hardware of described current frequency determination downlink channel function to be scanned, such as downlink channel determiner also can be general processor or other hardware devices (each embodiment that this specification provides all can apply foregoing description principle) that can perform corresponding computer program thus complete aforementioned function.
The validity determination module 301 of accompanying drawing 3 example can comprise acquiring unit 401 and determining unit 402, as shown in Figure 4 the cable modem eedle threader that provides of another embodiment of the present invention, wherein:
Acquiring unit 401, for obtaining the intensity of signal corresponding to described current frequency to be scanned; Determining unit 402, if for the intensity of signal corresponding to described current frequency to be scanned within preset range, then determines that signal corresponding to current frequency to be scanned is effective.Such as, acquiring unit 401 obtains the automatic gain compensation (AutomaticGainControl of signal corresponding to current frequency to be scanned, AGC) value, then, determining unit 402 is by the AGC value of signal corresponding for current frequency to be scanned and meet agreement, such as, the AGC valid value range [AGC that requires of Data Over Cable Service interface specification (DataOverCableServiceInterfaceSpecification, DOCSIS)
min, AGC
max] compare, if the AGC value of signal corresponding to current frequency to be scanned is at [AGC
min, AGC
max] within, then determine that signal corresponding to current frequency to be scanned is effective, otherwise, determine the invalidating signal that current frequency to be scanned is corresponding.Herein, AGC
minand AGC
maxminimum value and the maximum of the AGC valid value range meeting protocol requirement respectively.
If described determining unit 402 determines the invalidating signal that current frequency to be scanned is corresponding, such as, the AGC value of the signal that current frequency to be scanned is corresponding is not meeting the AGC valid value range [AGC of protocol requirement
min, AGC
max] within, then show that current frequency to be scanned is invalid frequency, broadcast singal frequency or TV signal frequency, be not suitable for the downlink channel as cable modem, therefore, system directly can stop the frequency locking to described current frequency to be scanned, continues the next channel of the whole downstream spectrum of scanning.
The downlink channel determination module 302 of accompanying drawing 3 example can comprise acquiring unit 501 and determining unit 502, as shown in Figure 5 the cable modem eedle threader that provides of another embodiment of the present invention, wherein:
Acquiring unit 501, for obtaining the automatic gain compensation value AGC(n of described current frequency to be scanned) and the automatic gain compensation value AGC(n+1 of side frequency of described current frequency to be scanned); Determining unit 502, if for described automatic gain compensation value AGC(n+1) not within described preset range or described automatic gain compensation value AGC(n+1) be less than described automatic gain compensation value AGC(n), then determine that the centre frequency of described current frequency to be scanned is the centre frequency of described downlink channel.Such as, acquiring unit 501 is by tuned frequency F(n+1) corresponding signal, obtain frequency F(n) automatic gain compensation value AGC(n+1).Then, the more described current frequency F(n+1 to be scanned of determining unit 502) automatic gain compensation value AGC(n+1) with the relation of preset range and/or described frequency F(n+1) automatic gain compensation value AGC(n+1) with current frequency F(n to be scanned) automatic gain compensation value AGC(n) relation (here, preset range can be the aforementioned AGC valid value range [AGC meeting protocol requirement
min, AGC
max]).
If frequency F(n+1) automatic gain compensation value AGC(n+1) not in preset range, that is, frequency F(n+1) automatic gain compensation value AGC(n+1) not at [AGC
min, AGC
max] within, or frequency F(n+1) automatic gain compensation value AGC(n+1) be less than current frequency F(n to be scanned) and automatic gain compensation value AGC(n), then determining unit 502 determines current frequency F(n to be scanned) centre frequency be the centre frequency of downlink channel, that is, current frequency F(n to be scanned) corresponding channel is the downlink channel of cable modem.
If frequency F(n+1) automatic gain compensation value AGC(n+1) in preset range, that is, frequency F(n+1) automatic gain compensation value AGC(n+1) at [AGC
min, AGC
max] within, and frequency F(n+1) automatic gain compensation value AGC(n+1) be greater than current frequency F(n to be scanned) and automatic gain compensation value AGC(n), then determining unit 502 determines frequency F(n+1) centre frequency be the centre frequency of downlink channel, that is, frequency F(n+1) corresponding channel is the downlink channel of cable modem.
The Executive Module 303 of reaching the standard grade of accompanying drawing 3 example can comprise the first acquisition submodule 601, second and obtain submodule 602 and uplink communication submodule 03, as shown in Figure 6 the cable modem eedle threader that provides of another embodiment of the present invention, wherein:
First obtains submodule 601, for obtaining the load contents in the signal of described downlink channel;
Second obtains submodule 602, and for obtaining the configuration information of Cable Modem Terminal System CTMS from described load contents, the configuration information of described CTMS comprises cable modem upstream channel parameter;
Uplink communication submodule 603, for according to described cable modem upstream channel parameter, sets up the uplink communication with CTMS server.
Second of accompanying drawing 6 example obtains submodule 602 can comprise judging unit 701 and extraction unit 702, the cable modem eedle threader that provides of another embodiment of the present invention as shown in Figure 7, wherein:
Judging unit 701, for judging whether described downlink channel is effective cable modem downlink channel; Extraction unit 702, if judge that downlink channel is effective cable modem downlink channel for described judging unit 701, then extracts described cable modem upstream channel parameter from described effective cable modem downlink channel.Such as, if judging unit 701 can get the synchronization message that CTMS server is sent by this downlink channel, then judge that the aforementioned downlink channel decided according to current frequency to be scanned is effective cable modem downlink channel, otherwise, judge that this downlink channel is the channel of delivery broadcast singal, TV signal or other noise signals.After judging unit 701 judges that this downlink channel is effective cable modem downlink channel, extraction unit 702 extracts described cable modem upstream channel parameter from described effective cable modem downlink channel, and cable modem upstream channel parameter is the main contents that the configuration information of Cable Modem Terminal System CTMS comprises.
Refer to accompanying drawing 8, it is the downlink channel locking device structure schematic diagram that the embodiment of the present invention provides, this device can be applied to digital video broadcast-terrestrial (DigitalVideoBroadcasting-Terrestrial, DVB-T) system or cable modem etc.For convenience of explanation, illustrate only the part relevant to the embodiment of the present invention.The downlink channel locking device of accompanying drawing 8 example includes validity determination module 801 and downlink channel determination module 802, wherein:
Validity determination module 801, whether effective for determining signal corresponding to current frequency to be scanned.
For described validity determination module 301, downlink channel determination module 802, if determine that signal corresponding to current frequency to be scanned is effective, then according to described current frequency determination downlink channel to be scanned.
It should be noted that, in the execution mode of above downlink channel locking device, the division of each functional module only illustrates, can be as required in practical application, the facility of the such as configuration requirement of corresponding hardware or the realization of software is considered, and above-mentioned functions distribution is completed by different functional modules, the internal structure by described downlink channel locking device is divided into different functional modules, to complete all or part of function described above.And, in practical application, corresponding functional module in the present embodiment can be by corresponding hardware implementing, also can perform corresponding software by corresponding hardware to complete, such as, aforesaid validity determination module can be have to perform the aforementioned whether effective hardware of signal that current frequency to be scanned is corresponding of determining, such as validity determiner also can be general processor or other hardware devices that can perform corresponding computer program thus complete aforementioned function; For another example aforesaid downlink channel determination module, if can be have to perform aforementioned described validity determination module and determine that signal corresponding to current frequency to be scanned is effective, then according to the hardware of described current frequency determination downlink channel function to be scanned, such as downlink channel determiner also can be general processor or other hardware devices (each embodiment that this specification provides all can apply foregoing description principle) that can perform corresponding computer program thus complete aforementioned function.
The validity determination module 801 of accompanying drawing 8 example can comprise acquiring unit 901 and determining unit 902, as shown in Figure 9 the downlink channel locking device that provides of another embodiment of the present invention, wherein:
Acquiring unit 901, for obtaining the intensity of signal corresponding to described current frequency to be scanned; Determining unit 902, if for the intensity of signal corresponding to described current frequency to be scanned within preset range, then determines that signal corresponding to current frequency to be scanned is effective.Such as, acquiring unit 901 obtains the automatic gain compensation (AutomaticGainControl of signal corresponding to current frequency to be scanned, AGC) value, then, determining unit 902 is by the AGC value of signal corresponding for current frequency to be scanned and the AGC valid value range [AGC preset
min, AGC
max] compare, if the AGC value of signal corresponding to current frequency to be scanned is at [AGC
min, AGC
max] within, then determine that signal corresponding to current frequency to be scanned is effective, otherwise, determine the invalidating signal that current frequency to be scanned is corresponding.In the present embodiment, described default AGC valid value range [AGC
min, AGC
max] can be the scope of some industry standard or protocol requirement, AGC
minand AGC
maxminimum value and the maximum of described default AGC valid value range respectively.
If described determining unit 902 determines the invalidating signal that current frequency to be scanned is corresponding, such as, the AGC value of the signal that current frequency to be scanned is corresponding is not at default AGC valid value range [AGC
min, AGC
max] within, then show that current frequency to be scanned is invalid frequency, broadcast singal frequency or TV signal frequency, be not suitable for the downlink channel as cable modem, therefore, system directly can stop the frequency locking to described current frequency to be scanned, continues the next channel of the whole downstream spectrum of scanning.
The downlink channel determination module 802 of accompanying drawing 8 example can comprise acquiring unit 1001 and determining unit 1002, as shown in Figure 10 the downlink channel locking device that provides of another embodiment of the present invention, wherein:
Acquiring unit 1001, for obtaining the automatic gain compensation value AGC(n of described current frequency to be scanned) and the automatic gain compensation value AGC(n+1 of side frequency of described current frequency to be scanned); Determining unit 1002, if for described automatic gain compensation value AGC(n+1) not within described preset range or described automatic gain compensation value AGC(n+1) be less than described automatic gain compensation value AGC(n), then determine that the centre frequency of described current frequency to be scanned is the centre frequency of described downlink channel.Such as, acquiring unit 1001 is by tuned frequency F(n+1) corresponding signal, obtain frequency F(n) automatic gain compensation value AGC(n+1).Then, the more described current frequency F(n+1 to be scanned of determining unit 1002) automatic gain compensation value AGC(n+1) with the relation of preset range and/or described frequency F(n+1) automatic gain compensation value AGC(n+1) with current frequency F(n to be scanned) automatic gain compensation value AGC(n) relation (here, preset range can be the AGC valid value range [AGC of some industry standard of mentioning of aforementioned exemplary or protocol requirement
min, AGC
max]).
If frequency F(n+1) automatic gain compensation value AGC(n+1) not in preset range, that is, frequency F(n+1) automatic gain compensation value AGC(n+1) not at [AGC
min, AGC
max] within, or frequency F(n+1) automatic gain compensation value AGC(n+1) be less than current frequency F(n to be scanned) and automatic gain compensation value AGC(n), then determining unit 1002 determines current frequency F(n to be scanned) centre frequency be the centre frequency of downlink channel, namely, current frequency F(n to be scanned) corresponding channel is available downlink channel, this downlink channel can be locked in and communicate.
If frequency F(n+1) automatic gain compensation value AGC(n+1) in preset range, that is, frequency F(n+1) automatic gain compensation value AGC(n+1) at [AGC
min, AGC
max] within, and frequency F(n+1) automatic gain compensation value AGC(n+1) be greater than current frequency F(n to be scanned) and automatic gain compensation value AGC(n), then determining unit 1002 determines frequency F(n+1) centre frequency be the centre frequency of downlink channel, namely, frequency F(n+1) corresponding channel is available downlink channel, this downlink channel can be locked in and communicate.
It should be noted that, the content such as information interaction, implementation between each module/unit of said apparatus, due to the inventive method embodiment based on same design, its technique effect brought is identical with the inventive method embodiment, particular content see describing in the inventive method embodiment, can repeat no more herein.
The all or part of step that one of ordinary skill in the art will appreciate that in the various methods of above-described embodiment is that the hardware that can carry out instruction relevant by program has come, such as following various method one or more or all:
Method one: determine that whether signal corresponding to current frequency to be scanned be effective; If signal corresponding to described current frequency to be scanned is effective, then according to described current frequency determination downlink channel to be scanned; The operation of reaching the standard grade of cable modem is performed at the described downlink channel determined.
Method two: a kind of downlink channel locking means, is characterized in that, described method comprises: determine that whether signal corresponding to current frequency to be scanned be effective; If signal corresponding to described current frequency to be scanned is effective, then according to described current frequency determination downlink channel to be scanned.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is that the hardware that can carry out instruction relevant by program has come, this program can be stored in a computer-readable recording medium, storage medium can comprise: read-only memory (ROM, ReadOnlyMemory), random access memory (RAM, RandomAccessMemory), disk or CD etc.
The downlink channel locking means provided the embodiment of the present invention above, device and cable modem loading method, device are described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.