CN102739326B - There is communicator and the transmission rate detection method thereof of transmission rate measuring ability - Google Patents

There is communicator and the transmission rate detection method thereof of transmission rate measuring ability Download PDF

Info

Publication number
CN102739326B
CN102739326B CN201110093823.XA CN201110093823A CN102739326B CN 102739326 B CN102739326 B CN 102739326B CN 201110093823 A CN201110093823 A CN 201110093823A CN 102739326 B CN102739326 B CN 102739326B
Authority
CN
China
Prior art keywords
transmission rate
symbol
rate
communicator
speed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110093823.XA
Other languages
Chinese (zh)
Other versions
CN102739326A (en
Inventor
张庭纲
刘博伟
王瑞强
叶人豪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Realtek Semiconductor Corp
Original Assignee
Realtek Semiconductor Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Realtek Semiconductor Corp filed Critical Realtek Semiconductor Corp
Priority to CN201110093823.XA priority Critical patent/CN102739326B/en
Publication of CN102739326A publication Critical patent/CN102739326A/en
Application granted granted Critical
Publication of CN102739326B publication Critical patent/CN102739326B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

A kind of communicator and transmission rate detection method thereof with transmission rate measuring ability, this communicator receives a remote-control device with the input signal of a first rate or one second speed rates, and the method comprises this communicator is set in an initial receiving velocity; With a specific assignment sampling frequency, this input signal is sampled, to produce a sampling result; Judge the input transmission rate of this input signal according to this sampling result, and according to this receiving velocity of this communicator is set as an operating rate; And communicate with this remote-control device with this operating rate; Wherein, this second speed is higher than this first rate, and this specific assignment sampling frequency is relevant with this initial receiving velocity.

Description

There is communicator and the transmission rate detection method thereof of transmission rate measuring ability
Technical field
The present invention relates to a kind of signal transacting mechanism, the communicator of espespecially a kind of thing reason layer ﹙ Physicallayer ﹚ and method.
Background technology
Generally speaking, in current communications systems, due to the difference of the transmission/processing speed of data, likely correctly communication link cannot be set up.With fiber optic network, supported transfer of data/the processing speed of existing fiber network has the data speed of 125 megabits per second and 1250 megabits per second, and namely currently available technology sets the transfer of data/processing speed that will operate before the telecommunication circuit of local side is dispatched from the factory in the mode manually set, such as first be set as the data speed of 1250 megabits per second, but, once connect the fiber optic network with different pieces of information transmission/processing speed, original data rate through setting manually also cannot change, therefore, local side telecommunication circuit now correctly cannot carry out signal transmitting and receiving with telecommunication circuit.
Summary of the invention
Therefore, an object of the present invention, is to provide a kind of transmission rate that can detect an input signal with communicator and the method for suitably selecting correct transmission rate to carry out data communication.
The present invention proposes a kind of transmission rate detection method of communicator, and this communicator receives a remote-control device with the input signal of a first rate or one second speed rates, and the method comprises this communicator is set in an initial receiving velocity; With a specific assignment sampling frequency, this input signal is sampled, to produce a sampling result; Judge the input transmission rate of this input signal according to this sampling result, and according to this receiving velocity of this communicator is set as an operating rate; Communicate with this remote-control device with this operating rate; Wherein, this second speed is higher than this first rate, and this specific assignment sampling frequency is relevant with this initial receiving velocity.
The present invention also proposes a kind of communicator, receive a remote-control device with the input signal of a first rate or one second speed rates, this second speed is higher than this first rate, this communicator comprises: a receiving circuit, receive this input signal with an initial receiving velocity, and produce a sampling result with this input signal of specific assignment sampling frequency sample; One testing circuit, couples this receiving circuit, judges the input transmission rate of this input signal, and according to this receiving velocity of this communicator is set as an operating rate according to this sampling result; And a treatment circuit, couple this receiving circuit to receive this sampling result; Wherein, this receiving circuit and this treatment circuit communicate with this remote-control device according to this operating rate.
Accompanying drawing explanation
Fig. 1 is the calcspar of communicator according to an embodiment of the invention.
Fig. 2 A and Fig. 2 B illustrate that the embodiment of Fig. 1 is when receiving the input signal transmitted with different input transmission rate, the oscillogram of its input signal, sampling frequency and sampling result.
Fig. 3 is the flow chart according to detection method one embodiment of the present invention.
Primary clustering symbol description
100 communicator 102 receiving circuits
104 testing circuit 106 treatment circuits
Embodiment
Please refer to Fig. 1, Fig. 1 is the block schematic diagram of the communicator 100 of one embodiment of the invention.Communicator 100 selectively actuatable is in first rate or the second speed, and wherein, the second speed is higher than first rate.Communicator 100 can be the communicator meeting IEEE802.3 specification, be responsible for the signal receiving or transmit the Yi too Wu Li Ceng ﹙ Physicallayer ﹚ of Wang Luo ﹙ Ethernet ﹚, if for Guang Xian ﹙ Opticalfiber ﹚ network, receiving circuit 102 can comprise photoelectric subassembly and the communicate optical signal that fiber optic network transmits is converted to the signal of telecommunication, sampled into digital signal again, treatment circuit 106 carries out subsequent treatment to the digital signal after sampling again and is supplied to back-end operations.Input signal S_IN may be the data being transferred to communicator 100 with first rate or higher than the second speed of this first rate by a remote-control device, therefore, the first setting operation of communicator 100 that the present embodiment proposes is in an initial receiving velocity, different receiving velocity is selected again afterwards according to the input transmission rate of input signal S_IN, in addition, treatment circuit 106 also according to this input transmission rate, can carry out corresponding pattern switching.
In the starting stage, communicator 100 starts the input signal S_IN receiving remote-control device transmission, now communicator 100 receives input signal S_IN with an initial receiving velocity, receiving circuit 102 first samples input signal S_IN with a specific assignment sampling frequency and produces sampling result S_R, wherein this specific assignment sampling frequency is relevant to this initial receiving velocity, such as this specific assignment sampling frequency is the data frequency of this initial receiving velocity, or the frequency multiplication of this data frequency.Sampling result S_R is supplied to treatment circuit 106 and testing circuit 104, testing circuit 104 is according to the signal intensity characteristic in sampling result S_R, judge to input transmission rate, according to this input transmission rate, the receiving velocity of communicator 100 is set as an operating rate again, then, just communicate with this remote-control device with this operating rate.Wherein, sampling result S_R can comprise data-signal DATA and clock signal clk.
In the present embodiment, testing circuit 104 can draw the characteristics of signals of sampling result S_R by sampling and statistics, to judge the transmission rate corresponding to input signal S_IN.For convenience of description, at this, transmission rate that input signal S_IN corresponds to is called first rate or the second speed, in one embodiment, first rate refers to the low transmission rate of 125 megabits per second, and the second speed is then the high transfer rate of 1250 megabits per second.The specific assignment sampling frequency that receiving circuit 102 uses is the data frequency higher than first rate, the initial receiving velocity of such as communicator 100 is predeterminable is the second speed, therefore, this specific assignment sampling frequency can be the data frequency that the second speed is identical, but use is only a preferred embodiment of the present invention with the data frequency of the identical speed of the second speed as sampling frequency, be not restriction of the present invention, sampling frequency can be any data frequency higher than first rate.In addition, the detection method that this case proposes is not limited to the network only comprising two kinds of transmission rates, the detection of more kinds of transmission rate and expected, must be contained in category of the present invention.
Fig. 2 A and Fig. 2 B respectively illustrates and samples the input signal S_IN of different transmission rates and the sampling result oscillogram produced, referring to Fig. 1, the present embodiment adopts the data frequency identical with the second speed as sampling frequency, samples to produce sampling result S_R to input signal S_IN.Fig. 2 A show the input signal S_IN1 transmitted with the 2nd fast rate ﹙ 1,250 million ﹚ per second waveform and after being sampled the sampling result S_R1 that produces by the sampling frequency FREQ1 of 1250 megahertzes per second, Fig. 2 B then shows the sampling result S_R2 that the waveform of the input signal S_IN2 transmitted with a fast rate ﹙ 125,000,000 ﹚ per second and sampled frequency FREQ2 ﹙ 1,250 million hertz of hereby ﹚ samplings per second thereof produce, for the complete wave form varies presenting input signal S_IN2, the time span shown by Fig. 2 B is greater than Fig. 2 A.In fig. 2, the frequency of sampling frequency FREQ1 is 1250MHz, therefore the time interval of two adjacent samples time points was 0.8 nanoseconds, each sampling time point can sample out the data bit of 0 or 1, as shown in sampling result S_R1, those data bit 1 are relevant with the data content of 0 distribution in time and input signal S_IN1, but because input signal S_IN is with the second speed rates of higher speed, therefore the position change in its sampling result S_R1 will meet some specific conditions, in sampling result S_R1, such as often there are continuous two identical data bit, but never there is the identical data position of continuous more than six.In this manual, the section that a N continuous identical bytes becomes is represented with symbol (symbol), and position section N continuous being all mutually 0 is referred to as the first symbol, the position section that N continuous to be all 1 mutually is then referred to as the second symbol, N can be the positive integer of more than 3 or 3, preferably, N be more than or equal to 5 positive integer.In addition, in fig. 2b, because the frequency of sampling frequency FREQ2 is similarly 1250MHz, the time interval of two adjacent samples time points was equally 0.8 nanosecond, but because input signal S_IN2 is with the transmission of lower first rate, often there is the first symbol of being become by multiple identical bits or the second symbol in sampling result S_R2.
As previously mentioned, testing circuit 104 can by the first symbol in statistical sampling result S_R1 and S_R2 and the second symbol to the distribution of time, or the occurrence law analyzing symbol S0 and S1 judges the transmission rate corresponding to input signal S_IN.Statistical symbol is to the distribution of time and the mode judged has many kinds, below illustrates it, but the judgment mode of following multiple enforcement example is only in order to illustrate, not restriction of the present invention.In a kind of statistical, testing circuit 104 counts symbol and occurs average period once, and this average period whether drop in a rational preset range, use and judge transmission rate corresponding to input signal S_IN and produce judged result, and determine the work transmission rate of communicator 100 accordingly, such as when testing circuit 104 adds up the symbol (be made up of at least continuous five identical bits) occurred in S_R1, find that on average every 30 clock cycle (CLOCKCYCLE) just occur a symbol, then find during statistical sampling result S_R2 that on average every 10 frequency periods just occur a symbol, according to this characteristic, known when dropping in a preset range average period once appears in symbol (being such as less than 12 clock cycle), namely represent that input signal corresponds to lower transmission rate, and when this symbol occurs average period being once greater than this preset range, represent that input signal corresponds to higher transmission rate.Or, the average period that this symbol of statistics gained can occur by testing circuit 104 and a referential data compare, such as this referential data is designed to 10, when difference when between periodicity and referential data is no more than 3, the average period of such as sampling result S_R2 is 10, and the difference between referential data is 0, now testing circuit 104 judges that the transmission rate corresponding to input signal S_IN2 is first rate, and the difference between cycle and referential data (10) is when being greater than 3, the average period of such as sampling result S_R1 is 30, difference is now 20, can judge that the transmission rate corresponding to input signal S_IN1 is the second speed, testing circuit 104 determines an operating rate according to aforementioned judged result again, and according to this communicator 100 is switched to should the pattern of operating rate, such as when judging that input signal is first rate, communicator 100 sets and communicates with this remote-control device with first rate by testing circuit 104, it is as the same when the input transmission rate judging input signal is the second speed, correctly communicate in order to this remote-control device.Should be noted, the design of above-mentioned referential data is only in order to illustrate, but not restriction of the present invention, in addition, statistical symbol occur once average period number statistical method also can replace by two intersymbol time intervals of statistics, this design variation all spirit all according to the invention.
In another embodiment, the number of the first symbol that testing circuit 104 occurs in statistical sampling result (S_R) in one section of special time (by continuous more than 50 to form) and one second symbol (by continuous more than 51 to form), number by the number and the second symbol that compare the first symbol produces a difference DIF, and judges according to this difference DIF the transmission rate that input signal S_IN is corresponding.In the present embodiment, represented by difference DIF is appearance first symbol probability and the reference value occurring the second symbol probability difference, such as, sampled signal S_R2 comprises 2 the first symbols and 2 the second symbols, the number difference of the first symbol and the second symbol is zero, that is difference DIF is zero, represent that appearance first symbol is identical with there is the probability of the second symbol.But, with corresponding to input signal S_IN1 to transmission rate be higher speed the second sample at rates result S_R1 comprises 1 the first symbol and 0 the second symbol, the number difference of the first symbol and the second symbol will be 1, difference DIF is 1, so, when second speed rates of input signal S_IN1 with higher speed, in sampling result, occur that the probability difference of the first symbol and the second symbol will be larger, in other words, difference DIF is larger.According to this characteristic, testing circuit 104 can compare the number difference of the first symbol and the second symbol to obtain difference DIF, and sets a threshold value for the transmission rate judged corresponding to input signal S_IN.
In another embodiment, testing circuit 104 can in one section of special time in statistical sampling result, the first symbol be made up of continuous more than 5 identical bits 0 or 1 and the second symbol, to be counted go out after first, second symbol, testing circuit 104 then judges whether the first symbol and the second symbol alternately occur, judges that transmission rate corresponding to input signal S_IN is to produce judged result.Please again consult Fig. 2 A, Fig. 2 B, as shown in Figure 2 A, when second speed rates of input signal S_IN1 with higher speed, first is occurred in sampling result S_R1, the probability of the second symbol is lower, even if there is the first or second symbol in sampling result S_R1, these first symbols and the second symbol also can not alternately occur, but, as shown in Figure 2 B, when input signal S_IN system is to transmit compared with the first rate of low speed, in sampling result S_R2 first, second symbol will alternately occur, therefore, testing circuit 104 can by judgement first, whether the second symbol alternately comes across in sampling result, judge the input transmission rate of input signal.
Fig. 3 is the flow chart according to transmission rate detection method one embodiment of the present invention, please refer to Fig. 1, in this embodiment, the initial receiving velocity of communicator 100 is set to the second speed, and the specific assignment sampling frequency that receiving circuit 102 uses is the data frequency of the second speed, testing circuit 104 judges the transmission rate corresponding to input signal S_IN according to sampling result S_R, and determine whether the work transmission rate of communicator 100 switches to first rate by the second speed accordingly, or be maintained at the second speed, each process step is described as follows:
Step 300: start;
Step 305: the initial receiving velocity of setting communicator is the second speed;
Step 310: the sampling frequency of setting receiving circuit is the data frequency of this second speed;
Step 315: receiving circuit 102 pairs of input signals sample to produce sampling result;
Step 320: statistical sampling result, judges the input transmission rate of input signal according to statistics;
Step 325: the input transmission rate of input signal is first rate?
Step 330: the operating rate of communicator 100 is switched to first rate by the second speed;
Step 335: after waiting for a period of time, carries out signal of communication inspection;
Step 340: communicator can communicate with remote-control device?
Those skilled in the art are when knowing, communicator 100 is signal receiving/transmission devices, in other words, communicator 100 is except in order to receive except input signal, also can transmit one and output signal to remote-control device, and the transmission rate of this output signal suitably can switch according to the judged result of this input transmission rate, thus correctly can communicate with this remote-control device.
The foregoing is only the preferred embodiments of the present invention, all equalizations done according to the claims in the present invention change and modify, and all should belong to covering scope of the present invention.

Claims (10)

1. a transmission rate detection method for communicator, described communicator receives a remote-control device with the input signal of a first rate or one second speed rates, and described method comprises:
Described input signal is received with an initial receiving velocity;
With a specific assignment sampling frequency, described input signal is sampled, to produce a sampling result;
Judge the input transmission rate of described input signal according to described sampling result, and according to this receiving velocity of described communicator is set as an operating rate; And
Communicate with described remote-control device with described operating rate;
Wherein, described second speed is higher than described first rate, and described specific assignment sampling frequency is relevant with described initial receiving velocity;
Wherein, judge the input transmission rate of described input signal according to described sampling result, and according to this transmission rate of described communicator be set as that the step of an operating rate comprises:
Add up the first symbol in described sampling result and the second symbol, judge described input transmission rate according to this, to produce a judged result; And
According to described judged result, described operating rate is set as described first rate or described second speed;
The 0 position section formed more than described first symbol is individual by N continuous, the 1 position section formed more than described second symbol is individual by N continuous,
Wherein, add up the first symbol in described sampling result and the second symbol, judge that the step of described input transmission rate comprises according to this:
Add up the quantity of described first symbol, produce one first number;
Add up the quantity of described second symbol, produce one second number;
Described first number and described second number are subtracted each other to produce a difference; And
Described input transmission rate is judged according to described difference.
2. method according to claim 1, wherein, described initial receiving velocity equals described second speed.
3. method according to claim 2, wherein, described specific assignment sampling frequency equals the frequency of described second speed.
4. method according to claim 1, wherein, described initial receiving velocity is higher than described second speed, and described specific assignment sampling frequency is a data frequency of described initial receiving velocity.
5. according to described difference, method according to claim 1, wherein, describedly judges that the step of described input transmission rate comprises:
When error when between described difference and a referential data is less than a threshold value, judge that described input transmission rate is described second speed; And
When error when between described difference and described referential data is greater than described threshold value, judge that described input transmission rate is described first rate.
6. a communicator, receive a remote-control device with the input signal of a first rate or one second speed rates, described second speed is higher than described first rate, and described communicator comprises:
One receiving circuit, receives described input signal with an initial receiving velocity, and produces a sampling result with input signal described in a specific assignment sampling frequency sample;
One testing circuit, couples described receiving circuit, judges the input transmission rate of described input signal, and according to this receiving velocity of described communicator is set as an operating rate according to described sampling result; And
One treatment circuit, couples described receiving circuit to receive described sampling result;
Wherein, described receiving circuit and described treatment circuit communicate with described remote-control device according to described operating rate;
Judge the input transmission rate of described input signal according to described sampling result, and according to this transmission rate of described communicator be set as that the step of an operating rate comprises:
Add up the first symbol in described sampling result and the second symbol, judge described input transmission rate according to this, to produce a judged result; And
According to described judged result, described operating rate is set as described first rate or described second speed;
The 0 position section formed more than described first symbol is individual by N continuous, the 1 position section formed more than described second symbol is individual by N continuous,
Wherein, add up the first symbol in described sampling result and the second symbol, judge that the step of described input transmission rate comprises according to this:
Add up the quantity of described first symbol, produce one first number;
Add up the quantity of described second symbol, produce one second number;
Described first number and described second number are subtracted each other to produce a difference; And
Described input transmission rate is judged according to described difference.
7. communicator according to claim 6, wherein, described initial receiving velocity equals described second speed.
8. communicator according to claim 7, wherein, described specific assignment sampling frequency equals the frequency of described second speed.
9. communicator according to claim 6, wherein, described initial receiving velocity is higher than described second speed, and described specific assignment sampling frequency is a data frequency of described initial receiving velocity.
10. according to described difference, communicator according to claim 6, wherein, describedly judges that the step of described input transmission rate comprises:
When error when between described difference and a referential data is less than a threshold value, judge that described input transmission rate is described second speed; And
When error when between described difference and described referential data is greater than described threshold value, judge that described input transmission rate is described first rate.
CN201110093823.XA 2011-04-14 2011-04-14 There is communicator and the transmission rate detection method thereof of transmission rate measuring ability Active CN102739326B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110093823.XA CN102739326B (en) 2011-04-14 2011-04-14 There is communicator and the transmission rate detection method thereof of transmission rate measuring ability

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110093823.XA CN102739326B (en) 2011-04-14 2011-04-14 There is communicator and the transmission rate detection method thereof of transmission rate measuring ability

Publications (2)

Publication Number Publication Date
CN102739326A CN102739326A (en) 2012-10-17
CN102739326B true CN102739326B (en) 2016-01-20

Family

ID=46994187

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110093823.XA Active CN102739326B (en) 2011-04-14 2011-04-14 There is communicator and the transmission rate detection method thereof of transmission rate measuring ability

Country Status (1)

Country Link
CN (1) CN102739326B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1239364A (en) * 1998-06-11 1999-12-22 因芬尼昂技术公司 Apparatus and methods for determining rate of transmitted variable rate data
CN1324163A (en) * 2000-05-13 2001-11-28 三星电子株式会社 Device and method for testing data transfer rate
CN1533660A (en) * 2001-07-20 2004-09-29 皇家菲利浦电子有限公司 Method and device for detecting varying data rate

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7076033B2 (en) * 2003-03-31 2006-07-11 Research In Motion Limited Bit rate matching system and method
US20090323730A1 (en) * 2008-04-18 2009-12-31 Honeywell International Inc. Data alignment system and method for double data rate input data stream

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1239364A (en) * 1998-06-11 1999-12-22 因芬尼昂技术公司 Apparatus and methods for determining rate of transmitted variable rate data
CN1324163A (en) * 2000-05-13 2001-11-28 三星电子株式会社 Device and method for testing data transfer rate
CN1533660A (en) * 2001-07-20 2004-09-29 皇家菲利浦电子有限公司 Method and device for detecting varying data rate

Also Published As

Publication number Publication date
CN102739326A (en) 2012-10-17

Similar Documents

Publication Publication Date Title
US9059816B1 (en) Control loop management and differential delay correction for vector signaling code communications links
US6718497B1 (en) Method and apparatus for generating jitter test patterns on a high performance serial bus
CN105099828A (en) High performance network tester and the testing method thereof
US9461837B2 (en) Central alignment circutry for high-speed serial receiver circuits
Analui et al. Data-dependent jitter in serial communications
JP5826222B2 (en) Receiver network for high-speed serial data signals.
JP4855157B2 (en) Bit speed judgment device
KR20150133220A (en) Timestamp correction in a multi-lane communication link with skew
CN102761396A (en) High-speed serial interface based on FPGA (Field Programmable Gate Array)
US20030219040A1 (en) Apparatus, method and storage medium for carrying out deskew among multiple lanes for use in division transmission of large-capacity data
IL166605A (en) Universal approach for simulating, emulating and testing a variety of serial bus types
CN109871344B (en) Communication system, interface circuit and signal transmission method thereof
US7734848B2 (en) System and method for frequency offset testing
CN102739326B (en) There is communicator and the transmission rate detection method thereof of transmission rate measuring ability
US20070258478A1 (en) Methods and/or apparatus for link optimization
CN1333529C (en) Clock signal detection method and apparatus in electronic devices
EP0939512A2 (en) Method and arrangement in a network repeater for automatically changing link speed
CN1767390A (en) Multipath clock detecting device
TWI427942B (en) Communication apparatus with transmission rate detecting function and method thereof
CN107454028B (en) FPGA-based LiFi signal demodulation method and demodulator
CN101882974A (en) Method and system of real-time online detection of high-speed serial signals
US20140362678A1 (en) Network physical link (phy) switch system
EP1206092A2 (en) Automatic bit-rate detection scheme for a sonet transceiver
CN108984451B (en) Signal driving method and communication device
Hutchison et al. Development of the FDDI physical layer

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant