Background technology
DSL (Digital Subscriber Line; Digital Subscriber Line) technology is a kind of through twisted pair telephone, and promptly UTP (Unshielded Twist Pair, UTP) carries out the high speed transmission technology of transfer of data; Comprise ADSL (Asymmetrical Digital Subscriber Line; The ADSL), VDSL (Very-high-bit-rate Digital Subscriber Line, VDSL) etc.
The DSL system has used DMT (Discrete MultiTone modulation, discrete multitone, DMT modulation) technology widely.Multi-carrier transmission has been utilized the subcarrier of a large amount of orthogonal frequencies; Each carrier wave loads for example 4-QAM (4-Quadrature AmplitudeModulation of a certain fixing bit information and corresponding modulation mode; The 4-quadrature amplitude modulation); 16-QAM etc., the bit of all subcarriers loads the transmission rate that has determined this DMT system.And in the DSL system; Because time-domain signal has experienced some linearities and nonlinear transformation during through channel; Caused the diffusion of transmission signal energy; And these diffusions possibly cause the ISI (Inter Symbol Interference, symbol-interference) between adjacent-symbol, thereby cause the DMT systematic function to descend.
In order to solve the symbol-interference problem; In the DMT system; Each symbol through behind invert fast fourier transformation the individual sampled point of last CP (Cyclic prefix, Cyclic Prefix) be added to before each symbol as Cyclic Prefix, and remove the influence that this CP sampled point is resisted ISI at receiving terminal.Promptly when this CP length during greater than channel impulse response length, the signal propagation energy of symbol will only can leak within CP length, remove this CP sampled point at receiving terminal, promptly eliminate the influence of the ISI between adjacent-symbol.What but CP carried for whole system is garbage, and when the length of CP was very long, although can tolerate the diffusion of the energy of more channel, this moment, the transmission rate of DMT system can reduce, thereby systematic function is descended.
So prior art when eliminating the symbol-interference of DSL system, can not guarantee the maximization transmission rate of system.
Summary of the invention
The embodiment of the invention provides a kind of methods, devices and systems of in the DSL system, optimizing transmission rate, when being implemented in the symbol-interference of eliminating the DSL system, guarantees the maximization transmission rate of system.
For achieving the above object; The embodiment of the invention provides a kind of method of in the DSL system, optimizing transmission rate on the one hand; May further comprise the steps: according to the actual attenuation mean value of handshake phase emission frequency; Choose the theory decay mean value minimum, and said theory is decayed the pairing line length of mean value as current line length with the difference of said actual attenuation mean value; From CE (Cyclic Extension, cyclic extensions) length and line length relation table, select corresponding CE length according to said line length.
On the other hand; The embodiment of the invention also provides a kind of device of in the DSL system, optimizing transmission rate; Comprise: computing module; Be used for actual attenuation mean value, choose the theory decay mean value minimum, and said theory is decayed the pairing line length of mean value as current line length with the difference of said actual attenuation mean value according to handshake phase emission frequency; Select module, be used for selecting corresponding circulating prefix-length from circulating prefix-length with the line length relation table according to said line length; Memory module is used to store CE length and line length relation table.
Again on the one hand, the digital user wire DSL system that the embodiment of the invention also provides a kind of transmission rate to optimize, comprising: data sink, rate optimized device and data sending device, said data sink is used to receive data.Said rate optimized device is used to optimize the transmission rate of DSL system.Said data sending device is used for sending the data that said data sink receives according to the transmission rate of said rate optimized installation optimization.
Compared with prior art; The embodiment of the invention has the following advantages: the embodiment of the invention pre-sets CE length and line length relation table; Then according to actual attenuation mean value and the current line length of theoretical decay mean value estimation; And from the CE length that pre-sets and line length relation table, select corresponding CE length according to this line length, and when being implemented in the symbol-interference of eliminating the DSL system, the maximization of the transmission rate of assurance DSL system.
Embodiment
Be described in detail below in conjunction with accompanying drawing and embodiment specific embodiments of the invention:
The embodiment of the invention is not having under the situation of time domain equalization; According to actual attenuation mean value and the current line length of theoretical decay mean value estimation; And from the CE length that pre-sets and line length relation table, select corresponding CE length according to this line length; When being implemented in the symbol-interference of eliminating the DSL system, guarantee the maximization of the transmission rate of DSL system.
Wherein, the process that CE length and line length relation table are set is as shown in Figure 1, specifically may further comprise the steps:
Step S101 calculates the channel impulse response length under certain line length according to the circuit transfer function.Channel impulse response length when for example being 500m through the simulation calculation line length.As shown in Figure 2, the channel impulse response analogous diagram when being 500m for line length.
Step S102 selects the CP length under this line length according to channel impulse response.For example after the channel impulse response length when obtaining line length and be 500m, select CP length.Require CP>=D+1 generally speaking; Wherein, D is a line length.The initial value of CP length can be made as CP=D+1 so.
Step S103 is according to the CE length under this line length of CP length computation.According to formula: CE=CP+CS-BETA, wherein, CS is a cyclic suffix length, and BETA is a windowing length.In reality, CS length is less to the influence of CE length, can be made as 0, and windowing length BETA generally is known, therefore can obtain corresponding C E length according to the CP length computation.
Step S104 is according to the transmission rate under this line length of CE length computation.At first according to DMT symbol rate formula:
Calculate character rate, wherein 2N is a sample point.Then according to the system transmissions rate equation: DataRate=∑ bi * f
s, calculate the data rate of system.Wherein ∑ bi is the bit loading summation of a DMT symbol.
Step S105, selection meets the pairing CE length of transmission rate of predefined rate requirement according to transmission rate.The said transmission rate that meets predefined rate requirement refers to: under the performance that guarantees system under the said corresponding preset line length, make the transmission rate maximization of said system.If this transmission rate meets the transmission rate of predefined rate requirement; Then with this CE length as the CE length under the corresponding line length; Otherwise reselect CP (for example establishing CP=D+2); And repeating step S103~S105, until choosing the pairing CE length of the peak transfer rate that meets predefined rate requirement under this line length.Just can calculate CE length corresponding under different line lengths thus, and process CE length and line length relation table, as shown in table 1.
Table 1
As shown in Figure 3, the method flow diagram for the embodiment of the invention specifically may further comprise the steps:
Step S301 is according to the actual attenuation mean value and the current line length of theoretical decay mean value estimation of handshake phase emission frequency.Calculate the actual attenuation mean value of current line length through actual measurement at the up/downlink frequency of the carrier wave of handshake phase.Because current line length is known (as shown in table 2 at the up/downlink frequency of the carrier wave of handshake phase; A carrier wave can be selected in handshake phase by the DSL system; If carrier wave is selected; Up/downlink frequency that this carrier wave is corresponding is also just selected), the theoretical value decay mean value of each the up-downgoing frequency under different line lengths that can calculate in advance according to the circuit transfer function.According to minimum error method actual attenuation mean value is approached with theoretical decay mean value mutually; Confirm with this actual attenuation mean value between the minimum theory decay mean value of difference, and theory that will the minimum of the difference between said and the actual attenuation mean value decays the pairing preset line length of mean value as current line length.
Table 2
Step S302 selects corresponding CE length according to current line length from CE length and line length relation table.As shown in table 1, after CE length was selected, the transmission rate of the system that this CE length is corresponding was maximized.
As shown in Figure 4; Structure drawing of device for the embodiment of the invention; Comprise: computing module 1; Be used for actual attenuation mean value, choose the theory decay mean value minimum, and said theory is decayed the pairing line length of mean value as current line length with the difference of said actual attenuation mean value according to handshake phase emission frequency.Select module 2, be used for selecting corresponding circulating prefix-length from circulating prefix-length with the line length relation table according to said line length.Memory module 3 is used to store CE length and line length relation table.
Wherein, computing module 1 further comprises: 11 first obtain submodule, be used for through measure to calculate obtain said handshake phase up/the actual attenuation mean value of downlink frequency.Second obtains submodule 12, be used for according to said handshake phase up/downlink frequency and preset different line lengths, obtain said handshake phase up/the theory decay mean value of downlink frequency under said preset different line lengths.Comparison sub-module 13 is used for said actual attenuation mean value and said theoretical decay mean value are made comparisons, and obtains the theory decay mean value minimum with the difference of said actual attenuation mean value.Confirm submodule 14, the pairing preset line length of theory decay mean value that the difference between said and the actual attenuation mean value is minimum is as current line length.
As shown in Figure 5, be the DSL system construction drawing that the transmission rate of the embodiment of the invention is optimized, comprising: data sink 51, rate optimized device 52 and data sending device 53, wherein, data sink 51 is used to receive data.Rate optimized device 52 is used to optimize the transmission rate of DSL system.Data sending device 53 is used for sending the data that data sink 51 receives according to the transmission rate that rate optimized device 52 is optimized.
The embodiment of the invention is not having under the situation of time domain equalization; According to actual attenuation mean value and the current line length of theoretical decay mean value estimation; According to said line length corresponding CE length of selection from the CE length that is provided with in advance and line length relation table; Thereby realized when eliminating the system symbol interference, guaranteeing the maximization speed of system.
Description through above execution mode; Those skilled in the art can be well understood to the present invention and can realize through hardware; Certainly also can realize, but the former is better execution mode under a lot of situation by the mode that software adds essential general hardware platform.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can be come out with the embodied of hardware product.
More than disclosedly be merely several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.