JPH065839B2 - Relay device - Google Patents

Relay device

Info

Publication number
JPH065839B2
JPH065839B2 JP10501187A JP10501187A JPH065839B2 JP H065839 B2 JPH065839 B2 JP H065839B2 JP 10501187 A JP10501187 A JP 10501187A JP 10501187 A JP10501187 A JP 10501187A JP H065839 B2 JPH065839 B2 JP H065839B2
Authority
JP
Japan
Prior art keywords
circuit
signal
read
preamble
data
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.)
Expired - Lifetime
Application number
JP10501187A
Other languages
Japanese (ja)
Other versions
JPS63269841A (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP10501187A priority Critical patent/JPH065839B2/en
Publication of JPS63269841A publication Critical patent/JPS63269841A/en
Publication of JPH065839B2 publication Critical patent/JPH065839B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Time-Division Multiplex Systems (AREA)
  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、パケット状の信号を中継する中継装置に関
し、特に伝送路及び受信回路などで転送中に発生するプ
レアンブルビットの消失をおぎなうプレアンブル再生機
能を持つ中継装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a relay device for relaying a packet-like signal, and more particularly to a preamble that prevents loss of a preamble bit that occurs during transfer in a transmission line and a receiving circuit. The present invention relates to a relay device having a playback function.

〔従来の技術〕[Conventional technology]

多重通信における中継装置としては、従来では、例えば
昭和60年度電子通信学会総合全国大会No1782
「CSMA/CD方式LAN用リピータの開発」に報告
されている中継装置が知られている。
Conventionally, as a relay device in multiplex communication, for example, the 1960 IEICE General Conference No. 1782
A relay device reported in "Development of CSMA / CD system LAN repeater" is known.

第4図において、1は中継装置、2は伝送路、3は伝送
路、4は伝送路2に接続されている受信回路、5は受信
回路4に接続されたプレアンブル再生回路、6はプレア
ンブル再生回路5に接続され伝送路3に信号を出力する
送信回路、7は伝送路3に接続されている受信回路、8
は受信回路7に接続されたプレアンブル再生回路、9は
プレアンブル再生回路8に接続され伝送路2へ信号を出
力する送信回路、10は制御回路、21はプレアンブル
再生回路5内の受信キャリアセンス回路、22は当該多
重通信のプレアンブルビットが予め記憶されたリードオ
ンリーメモリ(以後ROM)、23はアドレスカウン
タ、24はROM内容終了検出回路、25は遅延機能を
持つFirst in Firstout Memory(以後FIFO)、26
はPreamble終了検出回路、27はROM22の出力とF
IFO24の出力をRO内容終了検出回路24の出力及
び受信キャリアセンス回路21の出力とを制御信号とし
て選択して出力するセレクタ回路である。28はプレア
ンブル再生回路8内の受信キャリアセンス回路、29は
アドレスカウンタ、30はROM、31はROM内容終
了検出回路、32はFIFO、33はPreamble終了検出
回路、34はROM内容終了検出回路31の出力及び受
信キャリアセンス回路28の出力を制御信号としてRO
M30の出力とFIFO32の出力とを選択して出力す
るセレクタ回路である。また37はプレアンブル再生回
路5内のクロツク発生回路、38はプレアンブル再生回
路8内のクロック発生回路である。これらクロツク発生
回路37,38のクロックはこの中継装置で中継される
多重通信データの変調基本クロックと同期が取られた周
波数となっている。
In FIG. 4, 1 is a relay device, 2 is a transmission line, 3 is a transmission line, 4 is a receiving circuit connected to the transmission line 2, 5 is a preamble reproducing circuit connected to the receiving circuit 4, and 6 is a preamble reproducing circuit. A transmission circuit connected to the circuit 5 and outputting a signal to the transmission line 3, 7 a reception circuit connected to the transmission line 3, 8
Is a preamble reproduction circuit connected to the reception circuit 7, 9 is a transmission circuit connected to the preamble reproduction circuit 8 and outputs a signal to the transmission line 2, 10 is a control circuit, 21 is a reception carrier sense circuit in the preamble reproduction circuit 5, 22 is a read-only memory (hereinafter ROM) in which the preamble bit of the multiplex communication is stored in advance, 23 is an address counter, 24 is a ROM content end detection circuit, 25 is a first in first out memory (hereinafter FIFO) having a delay function, 26
Is a preamble end detection circuit, 27 is an output of the ROM 22 and F
The selector circuit outputs the output of the IFO 24 by selecting the output of the RO content end detection circuit 24 and the output of the reception carrier sense circuit 21 as a control signal. 28 is a reception carrier sense circuit in the preamble reproduction circuit 8, 29 is an address counter, 30 is a ROM, 31 is a ROM content end detection circuit, 32 is a FIFO, 33 is a preamble end detection circuit, and 34 is a ROM content end detection circuit 31. The output and the output of the received carrier sense circuit 28 are used as a control signal for RO.
It is a selector circuit that selects and outputs the output of M30 and the output of FIFO32. Reference numeral 37 is a clock generation circuit in the preamble reproduction circuit 5, and 38 is a clock generation circuit in the preamble reproduction circuit 8. The clocks of these clock generation circuits 37 and 38 have a frequency synchronized with the modulation basic clock of the multiplex communication data relayed by this relay device.

また、多重通信のパケット状の信号は、本来のデータを
前後にエンバロープ用ビットを配置して包み、プレアン
ブルビットはデータに先行する付加ビットである。
Further, the packet-like signal of the multiplex communication wraps the original data by arranging an envelope bit before and after, and the preamble bit is an additional bit preceding the data.

次に動作について説明する。パケット状の信号を中継す
る中継装置においては、伝送路2,3及び受信回路4,
7でパケット転送中に発生するプレアンブルビットの消
失をプレアンブル再生回路5,8でおぎなって中継す
る。従来はROM22,30に伝送系で予め定めた形式
のプレアンブルビットを書き込んでおき、FIFO2
5,32に書き込まれた中継パケット信号内プレアンブ
ルビット部分は捨て、FIFO25,32に書き込まれ
たデータ部分の先頭にROMから読み出したプレアンブ
ルビットを接続している。以下第5図に示したタイムチ
ャートをもとに伝送路2から伝送路3に転送する場合の
動作について説明する。送信される正規のパケット信号
中には、予め定めたプレアンブルビットが64ビット長
で先頭に挿入され、そのパターンは10101010が
連続して繰り返す7wordとその後に1010101
1が1word続くようなものであり、その次に始めて
データビットがD,D,・・・と続く構成の信号4
aであるとする。信号4aが伝送過程で先頭の一定ビッ
ト数消失し、受信回路4の出力では信号4bとなる(仮
に5ビット消失とした)。
Next, the operation will be described. In a relay device that relays a packet-like signal, the transmission lines 2 and 3 and the receiving circuit 4 are
The loss of the preamble bit generated during the packet transfer at 7 is relayed by the preamble reproduction circuits 5 and 8 at the end. Conventionally, the preamble bits of a predetermined format in the transmission system are written in the ROMs 22 and 30, and the FIFO2
The preamble bit part in the relay packet signal written in 5, 32 is discarded, and the preamble bit read from the ROM is connected to the head of the data part written in the FIFO 25, 32. The operation when data is transferred from the transmission line 2 to the transmission line 3 will be described below with reference to the time chart shown in FIG. In the regular packet signal to be transmitted, a predetermined preamble bit is inserted at the beginning with a 64-bit length, and its pattern is 10101010 which repeats continuously in 7 words and 1010101 after that.
1 is followed by 1 word, and then a signal 4 having a structure in which data bits start with D 1 , D 2 , ...
Let it be a. The signal 4a disappears at a certain number of leading bits in the transmission process, and becomes the signal 4b at the output of the receiving circuit 4 (probably 5 bits disappeared).

受信回路4から出力パケット信号4bが受信キャリアセ
ンス回路21に入力されると、受信キャリアセンス回路
21からの出力信号21aは有意となる。受信キャリア
センス回路21の出力信号21aが有意になったことに
より、FIFO25に受信回路出力信号4bが受信クロ
ックによって書き込まれる(25a)。
When the output packet signal 4b is input from the reception circuit 4 to the reception carrier sense circuit 21, the output signal 21a from the reception carrier sense circuit 21 becomes significant. Since the output signal 21a of the reception carrier sense circuit 21 becomes significant, the reception circuit output signal 4b is written in the FIFO 25 by the reception clock (25a).

また、アドレスカウンタ23も受信キャリアセンス回路
21からの出力信号21aが有意になった時点より、R
OM22にアドレスを出力する動作を開始する。アドレ
スカウンタ23からの出力信号23aに従ってROM2
2よりプレアンブルパターン22aが、クロック発生回
路37出力クロックにて読み出される。このプレアンブ
ルパターン22aがセレクタ回路27に与えられており
セレクタ回路27はROM内容終了検出回路24からの
開始信号24aによりROM22からのプレアンブルパ
ターン22aを選択して出力する(27a)。
In addition, the address counter 23 also receives R from the time when the output signal 21a from the reception carrier sense circuit 21 becomes significant.
The operation of outputting the address to the OM 22 is started. ROM2 according to the output signal 23a from the address counter 23
2, the preamble pattern 22a is read by the output clock of the clock generation circuit 37. This preamble pattern 22a is given to the selector circuit 27, and the selector circuit 27 selects and outputs the preamble pattern 22a from the ROM 22 by the start signal 24a from the ROM content end detection circuit 24 (27a).

一方、FIFOに書き込まれた信号25aは、FIFO
25内部でOUT PUTレジスタまで連送されクロッ
ク発生回路37出力クロックにて順次読み出されるがプ
レアンブル終了検出回路26よりFIFO25の出力プ
レアンブルが終了した終了検出信号26aが出力される
と、FIFO25の読み出しを停止し、この間暫くパケ
ット信号はFIFO25内で遅延される。この間引き続
きROM22からのプレアンブル信号がセレクタ回路2
7により選択され出力されている。
On the other hand, the signal 25a written in the FIFO is
25 is continuously sent to the OUT PUT register and sequentially read by the output clock of the clock generation circuit 37, but when the preamble end detection circuit 26 outputs the end detection signal 26a that the output preamble of the FIFO 25 is completed, the reading of the FIFO 25 is stopped. However, the packet signal is delayed in the FIFO 25 for a while. During this period, the preamble signal from the ROM 22 is continuously applied to the selector circuit 2.
It is selected by 7 and output.

次にROM22内容終了検出回路24よりROM22か
らのプレアンブルビットの読み出しを終了したことを示
す信号24aが出力されると、FIFO25はデータD
,D,・・・の読み出しを再開し、セレクタ回路2
7に与える。同時にこの終了検出信号24aによりセレ
クタ回路27はデータD,D,・・・を選択し出力
する。即ち、セレクタ回路27は、受信キャリアセンス
回路21の出力信号21aが有意になった後、ROM2
2内容終了検出信号24aが有意になるまでは、ROM
22出力のプレアンブルを選択し出力し、それ以後はF
IFO25出力のデータD,D,・・・を選択し出
力するので、セレクタ回路27の出力信号27aが得ら
れる。セレクタ回路27は出力信号27aを送信回路6
が伝送路3へ出力する。
Next, when the signal 22a indicating that the reading of the preamble bits from the ROM 22 is finished is output from the ROM 22 content end detection circuit 24, the FIFO 25 causes the data D
The reading of 1 , D 2 , ... Is restarted, and the selector circuit 2
Give to 7. At the same time, the selector circuit 27 selects and outputs the data D 1 , D 2 , ... By the end detection signal 24a. That is, the selector circuit 27 causes the ROM 2 after the output signal 21a of the reception carrier sense circuit 21 becomes significant.
2 Until the content end detection signal 24a becomes significant, ROM
Select and output the 22-output preamble, and then output F
Since the data D 1 , D 2 , ... Of the IFO 25 output is selected and output, the output signal 27a of the selector circuit 27 is obtained. The selector circuit 27 outputs the output signal 27a to the transmission circuit 6
Output to the transmission line 3.

受信回路7の出力信号に対して、プレアンブル再生回路
8がプレアンブルビットを再生し、送信回路9が伝送路
2に出力する動作も同様であるので省略する。
The operation in which the preamble reproduction circuit 8 reproduces the preamble bit in response to the output signal of the reception circuit 7 and the transmission circuit 9 outputs the preamble bit to the transmission line 2 is also the same, and therefore will be omitted.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

従来の中継装置は以上のように構成されていたので、プ
レアンブル再生回路にて、FIFOとROMという2つ
のメモリを制御しなければならず、回路規模が大きくな
り小型・軽量がが困難であるという問題点があった。
Since the conventional relay device is configured as described above, it is necessary to control two memories, a FIFO and a ROM, by the preamble reproduction circuit, and it is difficult to make the circuit scale large and small and lightweight. There was a problem.

この発明は上記のような問題点を解消するためになされ
たもので、プレアンブル再生回路のメモリを改良して回
路規模の小さいプレアンブル再生回路を得、小型・軽量
な中継装置を提供することを目的とする。
The present invention has been made to solve the above problems, and an object of the present invention is to improve a memory of a preamble reproducing circuit to obtain a preamble reproducing circuit having a small circuit scale and to provide a small and lightweight relay device. And

〔問題点を解決するための手段〕[Means for solving problems]

この発明においては、データの先頭部に所定ビット長の
プレアンブルビットが付加されて成るパケット状の信号
4aを中継する中継装置において、伝送路2からの信号
4aを受信し受信データ4bを出力する受信回路4と、
この受信データ4bを入力として前記プレアンブルビッ
トの有意受信データが存在する期間中受信キャリアセン
ス信号11bを出力するとともに該有意受信データを検
出した時点でライトリセット信号11aを出力する受信
キャリアセンス回路11と、前記受信キャリアセンス信
号11bに基づき前記プレアンブルビットの消失ビット
数を検出し、消失ビット数に相当する間隔で2つのリー
ドリセット信号14aを出力するリードリセット回路1
4と、前記ライトリセット信号11aにより書き込みア
ドレスがリセットされて受信データ4bが順に書き込ま
れ、かつ前記リードリセット信号14aにより読み出し
アドレスがリセットされて順に読み出されるエラスティ
ックストアメモリ12とを備えて、このエラスティック
ストアメモリ12内に書き込まれた受信データ4bの先
頭部で前記2つのリードリセット信号14aによりこれ
らの間のプレアンブルビットを繰り返し2回読み出すと
ともに、前記パケット状の信号4aの先頭部分にあるプ
レアンブルビットを“1”と“0”の交番パターンとし
て、前記受信データ4bの先頭ビットが“1”であるか
“0”であるかを判定しその結果を出力する先頭ビット
判定回路13と、前記エラスティックストアメモリ12
から読み出したデータ12bが与えられ前記繰り返し読
み出されたデータのうち一回目読出し分の極性を前記判
定結果に基づき反転もしくは非反転して出力するプレア
ンブル整合回路15とを備えたものである。
According to the present invention, in a relay device for relaying a packet-shaped signal 4a in which a preamble bit of a predetermined bit length is added to the head of data, the signal 4a from the transmission line 2 is received and the received data 4b is output. The receiving circuit 4,
A reception carrier sense circuit 11 which receives the reception data 4b as an input and outputs a reception carrier sense signal 11b during a period in which the significant reception data of the preamble bit exists and outputs a write reset signal 11a when the significant reception data is detected. And a read reset circuit 1 that detects the number of lost bits of the preamble bit based on the received carrier sense signal 11b and outputs two read reset signals 14a at intervals corresponding to the number of lost bits.
4 and an elastic store memory 12 in which the write address is reset by the write reset signal 11a and the received data 4b is sequentially written, and the read address is reset by the read reset signal 14a and sequentially read. At the beginning of the received data 4b written in the elastic store memory 12, the preamble bit between them is repeatedly read twice by the two read reset signals 14a, and at the beginning of the packetized signal 4a. A leading bit determination circuit 13 that determines whether the leading bit of the received data 4b is "1" or "0" by using the preamble bit as an alternating pattern of "1" and "0" and outputs the result. , The elastic store memory 12
The preamble matching circuit 15 is provided with the data 12b read from the above and outputs the polarity of the first read out of the data read repeatedly based on the determination result.

〔作用〕[Action]

エラスティックストアメモリ12に書き込まれた先頭部
のプレアンブル信号のうちリードリセット回路14によ
って出力される2つのリードリセット信号14aの間の
プレアンブルビットを繰り返し2回読み出すことによ
り、伝送路や中継装置内でデータ転送中に消失した先頭
部のプレアンプルビットを再生する。再生した中継デー
タを送出して目的受信装置に確実なデータ転送を行うよ
うにする。
Of the preamble signal at the beginning written in the elastic store memory 12, the preamble bit between the two read reset signals 14a output by the read reset circuit 14 is repeatedly read twice, thereby to Plays back the preamplifier bit at the beginning that was lost during data transfer. The reproduced relay data is transmitted to surely transfer the data to the intended receiving device.

〔実施例〕〔Example〕

以下この発明の一実施例を図について説明する。第1図
はこの発明の一実施例の中継装置の構成図である。図に
おいて、1は中継装置、2は伝送路、3は伝送路、4は
伝送路2に接続された受信回路、5はプレアンプル再生
回路、6はプレアンブル再生回路5に接続され伝送路3
にディジタル多重信号を出力する送信回路である。11
は受信回路4からの出力受信データを入力としプレアン
ブルビットの有意受信データが存在する期間中受信キャ
リアセンス信号を出力する第1の出力と、有意受信デー
タを検出した時点でリセット信号を出力する第2の出力
を有する受信キャリアセンス回路、12は受信回路4の
出力受信データを書き込みデータとし、受信クロックを
書き込みクロックとするエラスティックストアメモリ
(以下ES)である。ES12は当該通信系では例えば
64番地までのプレアンブル用メモリ領域とその外にデ
ータ用の領域とからなっており、またES12はデータ
遅延機能を持つものである。
An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of a relay device according to an embodiment of the present invention. In the figure, 1 is a relay device, 2 is a transmission line, 3 is a transmission line, 4 is a receiving circuit connected to the transmission line 2, 5 is a preampule reproduction circuit, and 6 is a transmission line 3 connected to the preamble reproduction circuit 5.
It is a transmission circuit that outputs a digital multiplex signal to. 11
Is a first output which receives the output reception data from the reception circuit 4 and outputs a reception carrier sense signal during the period when the significant reception data of the preamble bit is present, and a reset signal when the significant reception data is detected. A reception carrier sense circuit having a second output, and 12 is an elastic store memory (hereinafter ES) in which the reception data output from the reception circuit 4 is used as write data and the reception clock is used as a write clock. In the communication system, the ES 12 includes a preamble memory area up to, for example, address 64 and an area for data in addition to the preamble memory area, and the ES 12 has a data delay function.

35はクロック発生回路、13は受信回路4の出力受信
データ及び受信クロックを入力とし、受信データ先頭ビ
ットが“1”であるか“0”であるかを判定しその結果
を出力する先頭ビット判定回路、14は受信キャリアセ
ンス回路11の第1の出力(受信キャリアセンス信号)
とクロック発生回路35の出力を入力とし、先頭ビット
判定回路13の出力を制御信号としてリードリセット信
号を出力するリードリセット回路で、このリードリセッ
ト回路14は上記受信キャリアセンス信号に基づきプレ
アンブルビットの消失ビット数を検出し、消失ビット数
に相当する間隔で2つのリードリセット信号を出力す
る。15はES12の出力とクロック発生回路35の出
力と先頭ビット判定回路13の出力とリードリセット回
路14の出力を入力とするプレアンブル整合回路であ
る。而して、ES12は受信キャリアセンス回路11の
第2の出力を書き込みアドレスをリセットするライトリ
セット信号とし、リードリセット回路14の出力を読み
出しアドレスをリセットするリードリセット信号として
クロック発生回路35の出力CLKでその内容が読み出
される。
Reference numeral 35 is a clock generation circuit, and 13 is a head bit judgment which receives the output reception data and the reception clock of the reception circuit 4 and judges whether the reception data start bit is "1" or "0" and outputs the result. Circuit, 14 is the first output of the received carrier sense circuit 11 (received carrier sense signal)
The read reset circuit 14 receives the output of the clock generation circuit 35 and the output of the leading bit determination circuit 13 as a control signal, and outputs the read reset signal. The read reset circuit 14 generates a preamble bit based on the received carrier sense signal. The number of lost bits is detected, and two read reset signals are output at intervals corresponding to the number of lost bits. A preamble matching circuit 15 receives the output of the ES 12, the output of the clock generation circuit 35, the output of the leading bit determination circuit 13, and the output of the read reset circuit 14. Then, the ES 12 uses the second output of the reception carrier sense circuit 11 as the write reset signal for resetting the write address and the output of the read reset circuit 14 as the read reset signal for resetting the read address, and outputs CLK of the clock generation circuit 35. The content is read with.

また、プレアンブル整合回路15は、先頭ビット判定回
路13の出力が“0”を示す場合には、リドリセット回
路14出力の2つのリセット信号区間内に読み出される
ES12出力の極性を反転し、先頭ビット判定回路の出
力が“1”を示す場合には、リードリセット回路14出
力の2つのリセット信号区間内に読み出されるES12
出力の極性を反転しないで出力する。
When the output of the head bit determination circuit 13 indicates “0”, the preamble matching circuit 15 inverts the polarity of the ES12 output read in the two reset signal sections of the output of the redid reset circuit 14 and outputs the head bit. When the output of the determination circuit indicates "1", ES12 read in the two reset signal sections of the output of the read reset circuit 14
Output without inverting the polarity of the output.

同様に8は逆方向のプレアンブル再生回路、7は伝送路
3に接続された受信回路、9はプレアンブル再生回路8
に接続され伝送路2にディジタル信号多重信号を出力す
る送信回路である。そして10は一方の受信回路4等と
他方の受信回路7等とが衝突しないでデータの中継を行
うように制御する制御回路である。
Similarly, 8 is a reverse preamble reproducing circuit, 7 is a receiving circuit connected to the transmission line 3, and 9 is a preamble reproducing circuit 8
Is a transmission circuit that is connected to and outputs a digital signal multiplexed signal to the transmission line 2. Reference numeral 10 is a control circuit that controls so as to relay data without collision between the one receiving circuit 4 and the other receiving circuit 7 and the like.

16は受信回路7の出力受信データを入力とし、プレア
ンブルビットの有意受信データが存在する期間中受信キ
ャリアセンス信号を出力する第1の出力と、有意受信デ
ータを検出した時点でリセット信号を出力する第2の出
力を有する受信キャリアセンス回路、17は受信回路7
の出力受信データを書き込みデータとし受信クロックを
書き込みクロックとするエラスティックストアメモリ
(ES)であり、36はクロック発生回路である。18
は受信回路7の出力受信データ及び受信クロックを入力
とし、受信データ先頭ビットが、“1”であるか“0”
であるかを判定し、結果を出力する先頭ビット判定回
路、19は受信キャリアセンス回路16の第1の出力
(受信キャリアセンス信号)とクロック発生回路36の
出力を入力とし、先頭ビット判定回路18の出力を制御
信号としてリードリセット信号を出力するリードリセッ
ト回路で、このリードリセット回路19は上記受信キャ
リアセンス信号に基づきプレアンブルビットの消失ビッ
ト数を検出し、消失ビット数に相当する間隔で2つのリ
ードリセット信号を出力する。20はES17の出力と
クロック発生回路36の出力と先頭ビット判定回路18
の出力とリードリセット回路19の出力とを入力とする
プレアンブル整合回路である。
Reference numeral 16 is a first output which receives the output reception data of the reception circuit 7 and outputs a reception carrier sense signal during the period when the significant reception data of the preamble bit exists, and outputs a reset signal when the significant reception data is detected. A receiving carrier sense circuit having a second output for
Is an elastic store memory (ES) that uses the received data as the write data and the receive clock as the write clock, and 36 is a clock generation circuit. 18
Is the output reception data and the reception clock of the reception circuit 7, and the first bit of the reception data is "1" or "0".
The leading bit determining circuit 18 outputs the result and the first bit determining circuit 18 receives the first output (received carrier sense signal) of the receiving carrier sense circuit 16 and the output of the clock generating circuit 36 as input. Is a control signal and outputs a read reset signal. The read reset circuit 19 detects the number of lost preamble bits on the basis of the received carrier sense signal, and detects the number of lost preamble bits at an interval corresponding to the number of lost bits. It outputs two read reset signals. 20 is the output of ES17, the output of clock generation circuit 36, and the leading bit determination circuit 18
Of the read reset circuit 19 and the output of the read reset circuit 19 as inputs.

而して、ES17は受信キャリアセンス回路16の第2
の出力を書き込みアドレスをリセットするライトリセッ
ト信号とし、リードリセット回路19の出力を読み出し
アドレスをリセットするリードリセット信号としクロッ
ク発生回路36の出力CLKでその内容が読み出され
る。
The ES 17 is the second of the reception carrier sense circuit 16.
Is used as the write reset signal for resetting the write address, and the output of the read reset circuit 19 is used as the read reset signal for resetting the read address, and its contents are read by the output CLK of the clock generation circuit 36.

また、プレアンブル整合回路20は先頭ビット判定回路
18の出力が“0”を示す場合には、リードリセット回
路19出力の2つのリセット信号区間内に読み出される
ES17出力の極性を反転し、先頭ビット判定回路18
の出力が“1”を示す場合には、リードリセット回路1
9出力の2つのリセット信号区間内に読み出されるES
17出力の極性を反転しないで出力する。
When the output of the leading bit determination circuit 18 indicates "0", the preamble matching circuit 20 inverts the polarity of the ES17 output read in the two reset signal sections of the read reset circuit 19 to determine the leading bit. Circuit 18
If the output of "1" indicates "1", the read reset circuit 1
ES read in two reset signal intervals of 9 outputs
It outputs without inverting the polarity of 17 outputs.

次に動作について説明する。パケット状の信号を中継す
る中継装置においては、伝送路2,3及び受信回路4,
7でパケット転送中に発生するプレアンブルビットの消
失をプレアンブル再生回路5,8でおぎなって中継す
る。
Next, the operation will be described. In a relay device that relays a packet-like signal, the transmission lines 2 and 3 and the receiving circuit 4 are
The loss of the preamble bit generated during the packet transfer at 7 is relayed by the preamble reproduction circuits 5 and 8 at the end.

この通信系の送信される正規のパケット信号中には、予
め定めたプレアンブルビットが64ビット長さで先頭に
挿入され、そのパターンは10101010が連続して
繰り返す7wordとその後に10101011が1w
ord続くようなものであり、その次に始めてデータビ
ットがD,D,・・・と続く構成の信号4aである
とする。信号4aが伝送過程で先頭の一定ビット数消失
し、受信回路4の出力では信号4bとなる(仮に5ビッ
ト消失とした)。
In a regular packet signal transmitted by this communication system, a predetermined preamble bit is inserted at the beginning with a 64-bit length, and its pattern is 10words in which 10101010 is continuously repeated, and thereafter 10101011 is 1w.
ord and continue for such, data bits begin the next is D 1, D 2, and a signal 4a of ... to continue construction. The signal 4a disappears at a certain number of leading bits in the transmission process, and becomes the signal 4b at the output of the receiving circuit 4 (probably 5 bits disappeared).

従って、第2図のタイムチャートにおいて、送信される
正規のパケット信号は4aであり、受信回路4は出力信
号4bを出力する。
Therefore, in the time chart of FIG. 2, the regular packet signal transmitted is 4a, and the receiving circuit 4 outputs the output signal 4b.

受信回路4の出力信号4bが受信キャリアセンス回路1
1に入力されると、受信キャリアセンス回路11より有
意のライトリセット信号11aが出力され、受信回路4
の出力信号4bが、ES12内に1番地より順次書き込
まれる。先頭ビット判定回路13は受信回路出力信号4
bの先頭ビットがこの場合0だから、その出力13aを
反転し、先頭ビットが0であること(消失ビットが奇数
であること)をリードリセット回路14とプレアンブル
整合回路15へ伝える。リードリセット回路14は、受
信キャリアセンス信号11bと本来あるべきプレアンブ
ル64ビットとの差を求めることにより消失ビット数を
検出し、消失したプレアンブルビット数分5ビットだけ
の間隔をおいて2つのリードリセット信号14aを出力
する。よって、ES12からの読み出し信号12bは、
ESへの書き込み信号12aの内1番地から5番地の内
容が繰り返し2回読み出されたものになる。プレアンブ
ル整合回路15は、先頭ビット判定回路出力13aとリ
ードリセット信号14aによりES12から2度読み出
されたプレアンブルビットのうち最初の区間を示すゲー
ト15aを生成し、その区間のビット(一回目読み出し
分)の極性を反転し、プレアンブル整合回路15から出
力信号15bを送信回路6へ出力する。送信回路6は伝
送路3へデータを出力する。
The output signal 4b of the receiving circuit 4 is the receiving carrier sense circuit 1
When it is input to 1, a significant write reset signal 11a is output from the reception carrier sense circuit 11 and the reception circuit 4
The output signal 4b of 1 is sequentially written into ES12 from the first address. The leading bit determination circuit 13 receives the output signal 4 of the receiving circuit.
Since the head bit of b is 0 in this case, the output 13a is inverted and the fact that the head bit is 0 (the lost bit is an odd number) is transmitted to the read reset circuit 14 and the preamble matching circuit 15. The read reset circuit 14 detects the number of lost bits by obtaining the difference between the received carrier sense signal 11b and the original 64 bits of the preamble, and the two read signals are separated by an interval of 5 bits corresponding to the number of lost preamble bits. The reset signal 14a is output. Therefore, the read signal 12b from the ES12 is
The contents of addresses 1 to 5 of the write signal 12a to the ES are repeatedly read twice. The preamble matching circuit 15 generates the gate 15a indicating the first section of the preamble bits read twice from the ES 12 by the head bit determination circuit output 13a and the read reset signal 14a, and the bit in that section (first reading) Min) is inverted, and the output signal 15b is output from the preamble matching circuit 15 to the transmission circuit 6. The transmission circuit 6 outputs data to the transmission line 3.

同様に受信回路7の出力信号に対して、プレアンブル再
生回路8がプレアンブルビットを再生し、送信回路9が
伝送路2へ信号を出力する動作は同様である。
Similarly, with respect to the output signal of the receiving circuit 7, the preamble reproducing circuit 8 reproduces the preamble bits, and the transmitting circuit 9 outputs the signal to the transmission line 2 in the same manner.

ところで、上記実施例では、パケット状信号の伝送路上
の中継装置におけるプレアンブル再生回路について説明
したが、パケット状信号の受信装置の復調時におけるプ
レアンブル生成回路として用いることができる。
By the way, in the above embodiment, the preamble reproducing circuit in the relay device on the transmission path of the packet-like signal has been described, but it can be used as the preamble generating circuit at the time of demodulation of the receiving device of the packet-like signal.

なお、上記実施例では、プレアンブル消失ビットが奇数
ビットとして先頭ビット判定回路及びプレアンブル整合
回路がプレアンブル再生回路の構成に必要な例を示した
が、プレアンブル再生回路で再生されるビット数だけが
問題でそのパターン極性が問題にされない場合には、先
頭ビット判定回路及びプレアンブル整合回路を省略した
第3図に示すプレアンブル再生回路を用いた中継装置で
よいことは言うまでもない。
In the above embodiment, the preamble erasure bit is an odd bit and the leading bit determination circuit and the preamble matching circuit are necessary for the configuration of the preamble reproduction circuit.However, only the number of bits reproduced by the preamble reproduction circuit is a problem. Needless to say, if the pattern polarity is not a problem, a relay device using the preamble reproduction circuit shown in FIG. 3 in which the leading bit determination circuit and the preamble matching circuit are omitted may be used.

〔発明の効果〕〔The invention's effect〕

以上説明してきたように、この発明によれば、データの
先頭部に所定ビット長のプレアンプルビットが付加され
て成るパケット状の信号を中継する中継装置において、
伝送路からの信号を受信し受信データを出力する受信回
路と、この受信データを入力として前記プレアンブルビ
ットの有意受信データが存在する期間中受信キャリアセ
ンス信号を出力するとともに該有意受信データを検出し
た時点でライトリセット信号を出力する受信キャリアセ
ンス回路と、前記受信キャリアセンス信号に基づき前記
プレアンブルビットの消失ビット数を検出し、消失ビッ
ト数に相当する間隔で2つのリードリセット信号を出力
するリードリセット回路と、前記ライトリセット信号に
より書き込みアドレスがリセットされて受信データが順
に書き込まれ、かつ前記リードリセット信号により読み
出しアドレスがリセットされて順に読み出されるエラス
ティックストアメモリとを備えて、このエラスティック
ストアメモリ内に書き込まれた受信データの先頭部で前
記2つのリードリセット信号によりこれらの間のプレア
ンブルビットを繰り返し2回読み出すとともに、前記パ
ケット状の信号の先頭部分にあるプレアンブルビットを
“1”と“0”の交番パターンとして、前記受信データ
の先頭ビットが“1”であるか“0”であるかを判定し
その結果を出力する先頭ビット判定回路と、前記エラス
ティックストアメモリから読み出したデータが与えられ
前記繰り返し読み出されたデータのうち一回目読出し分
の極性を前記判定結果に基づき反転もしくは非反転して
出力するプレアンブル整合回路とを備えたので、中継装
置を構成するメモリ部品の数を減少させ、回路規模を縮
少し、小型軽量の中継装置を製作することができる。
As described above, according to the present invention, in a relay device that relays a packet-shaped signal in which a preamble bit of a predetermined bit length is added to the beginning of data,
A receiving circuit which receives a signal from a transmission line and outputs received data, and which receives the received data and outputs a received carrier sense signal while the significant received data of the preamble bit is present and detects the significant received data. At that time, a reception carrier sense circuit that outputs a write reset signal, and the number of lost bits of the preamble bit is detected based on the received carrier sense signal, and two read reset signals are output at intervals corresponding to the number of lost bits. A read reset circuit and an elastic store memory in which the write address is reset by the write reset signal to sequentially write the received data, and the read address is reset in the read reset signal to sequentially read the data are provided. In store memory The preamble bit between these two read reset signals is repeatedly read twice at the head of the received data, and the preamble bit at the head of the packet-like signal is set to "1" and "1". As an alternating pattern of “0”, a leading bit determination circuit that determines whether the leading bit of the received data is “1” or “0” and outputs the result, and data read from the elastic store memory are Since the preamble matching circuit that outputs the polarity of the first read out of the given data read repeatedly is inverted or non-inverted based on the determination result, the number of memory components constituting the relay device can be reduced. It is possible to reduce the circuit scale, reduce the circuit scale, and manufacture a compact and lightweight relay device.

【図面の簡単な説明】[Brief description of drawings]

第1図この発明の一実施例による中継装置の構成図、第
2図はこの発明の一実施例による中継装置のプレアンブ
ル再生回路のタイムチャート、第3図はこの発明の他の
実施例の中継装置の構成図であり、第4図は従来の中継
装置の構成図、第5図は従来の中継装置に用いられてい
るプレアンブル再生回路のタイムチャートである。 1・・・中継装置、7・・・受信回路、8・・・プレア
ンブル再生回路、6,9・・・送信回路、11,16・
・・受信キャリアセンス回路、12,17・・・エラス
ティックストアメモリ(ES)、13,18・・・先頭
ビット判定回路、14,19・・・リードリセット回
路、15,20・・・プレアンブル整合回路、35,3
6・・・クロック発生回路、4a・・・パケット状信
号、4b・・・受信データ、11a...ライトリセッ
ト信号、11b・・・受信キャリアセンス信号、14a
・・・2つのリードリセット信号。
FIG. 1 is a block diagram of a repeater according to an embodiment of the present invention, FIG. 2 is a time chart of a preamble reproducing circuit of the repeater according to an embodiment of the present invention, and FIG. 3 is a repeater of another embodiment of the present invention. FIG. 4 is a configuration diagram of the device, FIG. 4 is a configuration diagram of a conventional relay device, and FIG. 5 is a time chart of a preamble reproducing circuit used in the conventional relay device. 1 ... Repeater, 7 ... Reception circuit, 8 ... Preamble reproduction circuit, 6, 9 ... Transmission circuit, 11, 16 ...
..Reception carrier sense circuit, 12, 17 ... Elastic store memory (ES), 13, 18 ... Lead bit determination circuit, 14, 19 ... Read reset circuit, 15, 20 ... Preamble matching Circuit, 35, 3
6 ... Clock generation circuit, 4a ... Packet-like signal, 4b ... Received data, 11a. . . Write reset signal, 11b ... Received carrier sense signal, 14a
... Two read reset signals.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】データの先頭部に所定ビット長のプレアン
ブルビットが付加されて成るパケット状の信号を中継す
る中継装置において、伝送路からの信号を受信し受信デ
ータを出力する受信回路と、この受信データを入力とし
て前記プレアンブルビットの有意受信データが存在する
期間中受信キャリアセンス信号を出力するとともに該有
意受信データを検出した時点でライトリセット信号を出
力する受信キャリアセンス回路と、前記受信キャリアセ
ンス信号に基づき前記プレアンブルビットの消失ビット
数を検出し、消失ビット数に相当する間隔で2つのリー
ドリセット信号を出力するリードリセット回路と、前記
ライトリセット信号により書き込みアドレスがリセット
されて受信データが順に書き込まれ、かつ前記リードリ
セット信号により読み出しアドレスがリセットされて順
に読み出されるエラスティックストアメモリとを備え
て、このエラスティックストアメモリ内に書き込まれた
受信データの先頭部で前記2つのリードリセット信号に
よりこれらの間のプレアンブルビットを繰り返し2回読
み出すとともに、 前記パケット状の信号の先頭部分にあるプレアンブルビ
ットを“1”と“0”の交番パターンとして、前記受信
データの先頭ビットが“1”であるか“0”であるかを
判定しその結果を出力する先頭ビット判定回路と、前記
エラスティックストアメモリから読み出したデータが与
えられ前記繰り返し読み出されたデータのうち一回目読
出し分の極性を前記判定結果に基づき反転もしくは非反
転して出力するプレアンブル整合回路とを備えたことを
特徴とする中継装置。
1. A receiving device for receiving a signal from a transmission line and outputting received data in a relay device for relaying a packet-shaped signal, which comprises a preamble bit having a predetermined bit length added to the beginning of data. A reception carrier sense circuit which outputs a reception carrier sense signal during a period in which the significant reception data of the preamble bit exists with this reception data as an input, and outputs a write reset signal when the significant reception data is detected; A read reset circuit that detects the number of lost bits of the preamble bit based on a carrier sense signal and outputs two read reset signals at intervals corresponding to the number of lost bits; and a write address reset by the write reset signal to receive Data is written in sequence and by the read reset signal An elastic store memory in which the read-out address is reset and sequentially read out is provided, and the preamble bit between them is generated by the two read reset signals at the head of the received data written in the elastic store memory. The preamble bit at the head portion of the packet-shaped signal is repeatedly read twice, and the head bit of the received data is "1" or "0" with an alternating pattern of "1" and "0". A leading bit determination circuit that determines whether or not the result is read, and the polarity of the first read out of the repeatedly read data given the data read from the elastic store memory is inverted based on the determination result or A repeater comprising a preamble matching circuit for non-inverting and outputting.
JP10501187A 1987-04-28 1987-04-28 Relay device Expired - Lifetime JPH065839B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10501187A JPH065839B2 (en) 1987-04-28 1987-04-28 Relay device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10501187A JPH065839B2 (en) 1987-04-28 1987-04-28 Relay device

Publications (2)

Publication Number Publication Date
JPS63269841A JPS63269841A (en) 1988-11-08
JPH065839B2 true JPH065839B2 (en) 1994-01-19

Family

ID=14396129

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10501187A Expired - Lifetime JPH065839B2 (en) 1987-04-28 1987-04-28 Relay device

Country Status (1)

Country Link
JP (1) JPH065839B2 (en)

Also Published As

Publication number Publication date
JPS63269841A (en) 1988-11-08

Similar Documents

Publication Publication Date Title
JPH0773275B2 (en) A method for efficiently and simultaneously transmitting both isochronous and non-isochronous data in a computer network
US6901462B2 (en) Receiving apparatus and flow control method therefor and transmitting apparatus and flow control method therefor
JPH0671258B2 (en) Information transmission processor
JPH065839B2 (en) Relay device
JPH10173727A (en) Data transmitter, data receiver, data communication equipment, data transmission method, data reception method and data communication method
JPS5836052A (en) Parallel data transmission system
JP3119275B2 (en) Data transmission circuit
CN116501268B (en) Data reading method applied to DDR PHY
JP3825848B2 (en) Communication device
JP2000022649A (en) Resampling system
JPH0630047A (en) Packet delay fluctuation control circuit
KR100213007B1 (en) Sound expanding circuit
JP2697197B2 (en) Digital audio equipment
JPH0250662B2 (en)
JPS601952A (en) Frequency synchronizing system
JPH0531981B2 (en)
JPH1051358A (en) Reproduction repeater
JPH0453138B2 (en)
KR20010065076A (en) Transmission Delay Compensation Circuit Of Sub-Highway In Switching System
JPH065842B2 (en) Bus repeater
JPH1051432A (en) Method and device for controlling transmission delay absorption
JPH037298B2 (en)
JPS5831798B2 (en) Transmission delay variation control method
JPH0821019B2 (en) Data transfer method
JPS5912670A (en) Facsimile device