JPS58120346A - Line adaptor - Google Patents

Line adaptor

Info

Publication number
JPS58120346A
JPS58120346A JP57002573A JP257382A JPS58120346A JP S58120346 A JPS58120346 A JP S58120346A JP 57002573 A JP57002573 A JP 57002573A JP 257382 A JP257382 A JP 257382A JP S58120346 A JPS58120346 A JP S58120346A
Authority
JP
Japan
Prior art keywords
character
received
reception
register
line
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.)
Granted
Application number
JP57002573A
Other languages
Japanese (ja)
Other versions
JPH023343B2 (en
Inventor
Masaki Tsuchiya
正樹 土屋
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.)
NEC Corp
Original Assignee
NEC Corp
Nippon Electric Co Ltd
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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP57002573A priority Critical patent/JPS58120346A/en
Publication of JPS58120346A publication Critical patent/JPS58120346A/en
Publication of JPH023343B2 publication Critical patent/JPH023343B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F5/00Methods or arrangements for data conversion without changing the order or content of the data handled
    • G06F5/06Methods or arrangements for data conversion without changing the order or content of the data handled for changing the speed of data flow, i.e. speed regularising or timing, e.g. delay lines, FIFO buffers; over- or underrun control therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE:To improve the high processing speed and the economy of the device, by avoiding the storage of reception data in a reception line adaptor of the character buffer system. CONSTITUTION:When a reception data bit from a line is given to a shift register 2 via a first-in first-out shift memory 1, while a reception character finished for the assembling exists in a buffer register 3 just before without being fetched to a communication controller LC, after the reception of bits subtracted by 1 bit, a reception control circuit 4 controls that the input of reception data bit from the memory 1 to the shift register 2 is tentatively stopped. Thus, normally, since the reception data is not stored, the processing speed is increased.

Description

【発明の詳細な説明】 本発明はキャラクタバッファ方式による受信用回線アダ
プタに関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a receiving line adapter using a character buffer method.

一般に、データ通信システムに適用される受信データの
制御方式として1回線からの受信データを回線アダプタ
LAによシキャラクタに組立そ1通信制御装置LCがこ
の回線アダプタLAからキャラクタ単位で受信データを
引取る方法が採用されている。この系統を概略的に示す
と、第1図のようになる。この図において、 PUは通
信制御装置LCによシ制御されるデータ処理装置である
。この方式においては2通信制御装置LCが特殊な受信
キャラクタを引取った場合、一時的にその受信キャラク
タに関する処理時間が長くなることがある。
Generally, as a control method for received data applied to a data communication system, the received data from one line is assembled into characters by a line adapter LA, and the first communication control device LC pulls the received data character by character from the line adapter LA. The method of taking is adopted. This system is schematically shown in Figure 1. In this figure, PU is a data processing device controlled by a communication control device LC. In this method, when the second communication control device LC receives a special received character, the processing time for that received character may temporarily increase.

このような場合においても、後続の受信データをオーバ
フローすることなく正常に受信するために2通信制御装
置のキャラクタ処理時間を短縮させたり1回線アダプタ
に複数個のキャラクタバッファを設けたシ、あるいは、
ファーストイン・ファーストアウトメモリを設ける等の
処置がとられている。しかし、このうち、キャラクタ時
間を短縮させる方法は、ビット伝送速度が高速になった
場合、キャラクタ処理時間を短縮することが難かしく、
また複数個のキャラクタバッファを設ける方法は回線ア
ダゲタの回路が増大するという欠点がある。したがって
、現在はファーストイン・ファーストアウトシフトメモ
リを設ける方法が採用されている。
Even in such a case, in order to receive the subsequent received data normally without overflowing, it is possible to shorten the character processing time of the two communication control devices, provide multiple character buffers in one line adapter, or
Measures such as providing first-in/first-out memory are being taken. However, among these methods, it is difficult to shorten the character processing time when the bit transmission speed becomes faster.
Furthermore, the method of providing a plurality of character buffers has the disadvantage that the circuit of the line adapter increases. Therefore, a method of providing a first-in/first-out shift memory is currently adopted.

ところが、ファーストイン−ファーストアウトシフトメ
モリを使用した方法においては1回線からの受信データ
のビット伝送速度とファーストイン・ファーストアウト
シフトメモリの内容を取出す速度との差が十分にとれな
い場合、従来は受信キャラクタバッファが満たされてい
るときに1通信制御装置に受信キャラクタバッファの受
信データが引取られるまでファーストイン・ファースト
アウトシフトメモリから受信キャラクタ組立用シフトレ
ジスタへの受信データビットの入力を禁止するために、
ファーストイン・ファーストアウトシフトメモリに受信
データが蓄積されてしまうという欠点があった。
However, in the method using the first-in/first-out shift memory, if the difference between the bit transmission speed of the received data from one line and the speed of extracting the contents of the first-in/first-out shift memory is insufficient, the conventional method uses To prohibit the input of received data bits from the first-in/first-out shift memory to the shift register for assembling received characters until the received data in the received character buffer is received by the communication control device 1 when the received character buffer is full. To,
There was a drawback that received data was accumulated in the first-in/first-out shift memory.

本発明の目的は1回線からの受信データのビット伝送速
度とファーストイン・ファーストアウトシフトメモリの
内容を取出す速度との差が十分にとれない場合でも、フ
ァーストイン・ファーストアウトシフトメモリに回線か
らの受信データの蓄積することを排除して高速処理をす
ることのできる通信制御用回線アダプタを提供すること
にある。
The purpose of the present invention is to transfer data from the line to the first-in/first-out shift memory even if the difference between the bit transmission rate of received data from one line and the speed of extracting the contents of the first-in/first-out shift memory is insufficient. It is an object of the present invention to provide a communication control line adapter that can perform high-speed processing by eliminating the accumulation of received data.

本発明によれば2回線からの受信データビットを回線の
ビット伝送速度で順次蓄積するファーストイン・ファー
ストアウトシフトメモリと、該ファーストイン・ファー
ストアウトシフトメモリの出力をうけて所要ビット数の
受信キャラクタに組立てるシフトレジスタと、該シフト
レジスタによシ組立てられた受信キャラクタを一時蓄積
するバッファレジスタとを具備し9回線からの受信デー
た場合、その直前に組立完了した受信キャラクタが通信
制御装置に引き取られずに前記バッファレジスタに存在
する間は、所要ビット数マイナス1−タビットの入力を
一時停止させるように制御する回線アダプタが得られる
According to the present invention, there is provided a first-in/first-out shift memory that sequentially stores received data bits from two lines at the bit transmission rate of the line, and a reception character of a required number of bits based on the output of the first-in/first-out shift memory. It is equipped with a shift register that is assembled into a shift register, and a buffer register that temporarily stores the received characters assembled by the shift register, and when receiving data from the 9th line, the received characters that have been assembled just before are received by the communication control device. A line adapter can be obtained which controls the input of the required number of bits minus 1 bit while it is present in the buffer register without being stored.

次に9本発明による回線アダシタについて実施例を挙げ
2図面を参照して説明する。
Next, nine embodiments of the line adapter according to the present invention will be described with reference to two drawings.

第2図は1本発明による実施例の構成をプロッ受信キャ
ラクタ組立用シフトレジスタ21受信キャラクタバッフ
ァレジスタ3および受信制御回路図の具体例に見られる
ように、ファーストイン・ファーストアウトの縦続接続
されたシフトメモリ1−1〜1−nにより形成されてい
る。いま1回えられたとき、このシフトメモリ1−1が
空いていれば2回線のビット伝送速度に同期したタイミ
ングで受信データビットが蓄積される。
FIG. 2 shows the configuration of an embodiment according to the present invention.As seen in the specific example of the receive character assembly shift register 21, the receive character buffer register 3, and the receive control circuit diagram, first-in first-out cascade connection is performed. It is formed by shift memories 1-1 to 1-n. When the shift memory 1-1 is counted once, if the shift memory 1-1 is empty, the received data bits are stored at a timing synchronized with the bit transmission speed of the two lines.

ファーストイン・ファーストアウトシフトメモリに蓄積
された受信データは、ファーストイン・ファーストアウ
トシフトメモリ1−2が空になるのを待って、ファース
トイン・ファーストアウトシフトメモリ1−2に移され
る。以降、この受信データは同様の動作によりファース
トイン・ファーストアウトシフトメモリ1−nに向って
ファーストイン・ファーストアウトシフトメモリの各ビ
ットを移動する。
The received data stored in the first-in/first-out shift memory is transferred to the first-in/first-out shift memory 1-2 after waiting for the first-in/first-out shift memory 1-2 to become empty. Thereafter, this received data moves each bit of the first-in/first-out shift memory toward the first-in/first-out shift memory 1-n by the same operation.

受信制御回路4は1回線のビット伝送速度より高速のタ
イミングでファーストイン・ファーストアウトシフトメ
モリl−nの状態と受信゛キャラクタバッファレジスタ
3の状態とを検査し、ファーストイン・ファーストアウ
トシフトメモリ1.− nカr満J、受信キャラクタバ
ッファレジスタ3が「空」の場合には、ファーストイン
・ファーストアウトシフトメモリ1−nに格納されてい
る受信データビットを受信キャラクタ組立用シフトレジ
スタ2に入力させる。この直後、受信キャラクタ組立用
シフトレジスタ2が1キヤラクタの組立完了を検出する
と、その受信キャラクタを受信キャラクタバッファレジ
スタ3に転送する。受信キャラクタの転送された受信キ
ャラクタバッフ了レジスタ3は、この受信キャラクタが
通信制御装置LC(第1図参照)に引取られるまで、受
信キャラクタバッファレジスタが「満」であることの表
示を受信制御回路4で行う。受信制御回路4は、受信キ
ャラクタレジスタ3が「満」であシ、かつ所要ピッ用シ
フトレジスタ2への受信データビットの入力を禁止する
The reception control circuit 4 checks the state of the first-in/first-out shift memory l-n and the state of the reception character buffer register 3 at a timing faster than the bit transmission rate of one line, and checks the state of the first-in/first-out shift memory 1. .. - If n characters are full and the reception character buffer register 3 is "empty", input the reception data bits stored in the first-in/first-out shift memory 1-n to the reception character assembly shift register 2. . Immediately after this, when the received character assembling shift register 2 detects the completion of assembling one character, the received character is transferred to the received character buffer register 3. The received character buffer completion register 3 to which the received character has been transferred does not display an indication that the received character buffer register is "full" until the received character is received by the communication control device LC (see Figure 1). Do it in 4. The reception control circuit 4 prohibits the reception character register 3 from being "full" and inputting the reception data bits to the shift register 2 for the required bit.

シフトレジスタ2への受信データビットの入力禁止の理
由を説明するために9例えば1回線のビット伝送速度が
48Kbpsであり、ファーストイン・ファーストアウ
トシフトメモリに格納されている受信データを引取る速
度が64Kbpa、所要ビット数が8ビツト、受信キャ
ラクタバッファレジスタが「満」であり2通信制御装置
LCが受信キャラクタバッファレジスタの内容を引取る
まで10μsかかると仮定すると、従来の方式では、4
8Kbpsの速度で1キャラクタタイム約20.8μS
  r 64Kbpsの速度で1キャラクタタイム約1
5.6μsかかる。このことから、受信キャラクタレジ
スタが「満」の状態になり9通信制御装置がそのデータ
を引取って次に受信キャラクタバッファが「満」の状態
になるまでの時間は9通信制御装置が受信キャラクタバ
ッファレジスタからのデータを引取るまでの時間に64
 Kbpsの速度における1キヤラクタの時間を加えた
約256μsとなり、48Kbpsの速度における1キ
ヤラクタの時間(約208μSi超えてしまう。これは
ファーストインeファーストアウトシフトメモリにデー
タが確実に蓄えられてしまうことを意味する。これに反
して1本発明の方式によれば、上記の仮定のもとでは約
15.6μsで可能となり、一時的にファーストイン・
ファーストアウトシフトメモリに受信データが蓄えられ
ても従来技術のよう々欠点は生じない。
To explain the reason why the input of received data bits to the shift register 2 is prohibited, 9. For example, suppose that the bit transmission rate of one line is 48 Kbps, and the speed at which the received data stored in the first-in/first-out shift memory is received is Assuming that 64 Kbpa, the required number of bits is 8 bits, the receive character buffer register is "full", and it takes 10 μs for the 2nd communication control unit LC to take over the contents of the receive character buffer register, the conventional method uses 4 bits.
1 character time approximately 20.8μS at 8Kbps speed
r 1 character time at a speed of 64Kbps approximately 1
It takes 5.6 μs. From this, the time it takes for the reception character register to become "full" and the communication control device 9 to take over the data until the reception character buffer becomes "full" is the 64 in the time it takes to receive data from the buffer register
The time for one character at a speed of Kbps is approximately 256 μs, which exceeds the time for one character at a speed of 48 Kbps (approximately 208 μSi. This means that the data is reliably stored in the first-in e first-out shift memory. On the other hand, according to the method of the present invention, under the above assumption, it can be achieved in about 15.6 μs, and temporary first-in
Even if the received data is stored in the first outshift memory, there are no drawbacks as in the prior art.

また、受信データビットの入力を禁止する時点を所要ビ
ット数マイナス1ビツトとしたことは。
Also, the point at which input of received data bits is prohibited is set to the required number of bits minus 1 bit.

受信キャラクタ組立用シフトレジスタから受信キャラク
タパ、ツファレジスタへ受信データがセットされるタイ
ミングを所要ビット数によシ自動的に行なうようにする
ためと、従来は受信キャラクタバッファレジスタが「空
」になってから「満」になるまでの時間がファーストイ
ン・ファーストアウトシフトメモリからデータを引取る
速度×8ピット(上記の例では約15.6μs)であっ
たものを1ピツト(上記の例では約1,95μs)にす
るためである。
In order to automatically set the timing at which received data is set from the receive character assembly shift register to the receive character buffer and buffer registers according to the required number of bits, conventionally the receive character buffer register was set to "empty". The time from "full" to "full" is 1 pit (in the above example, about 1 , 95 μs).

なお、上記の実施例において1回線のビット伝送速度に
同期したタイミングが出力されたとき。
Note that in the above embodiment, when the timing synchronized with the bit transmission rate of one line is output.

ファーストイン・ファーストアウトシフトメモリ1−1
が1満」の状態で受信データビットを蓄積することがで
きずにオーバフローした場合、受信制御回路4はオーバ
フロ〒の検出したことを通信制御装置LCに通知する。
First-in/first-out shift memory 1-1
If the received data bits cannot be stored and overflow occurs when the data bits are less than 1, the reception control circuit 4 notifies the communication control device LC of the detection of the overflow.

好ましくは、ファーストイン・ファーストアウトシフト
メモリの容量は1回線のビット伝送速度と通信制御装置
LCの処理速度との差がオーバフローの生じない程度に
選択される。
Preferably, the capacity of the first-in/first-out shift memory is selected to such an extent that the difference between the bit transmission speed of one line and the processing speed of the communication control device LC does not cause overflow.

以上の説明により明らかなように1本発明によれば9回
線からの受信データのビット伝送速度とファーストイン
・ファーストアウトシフトメモリに格納されている受信
データを引取る速度との差が十分にとれない場合、ファ
ーストイン・ファーストアウトシフトメモリに回線から
の受信データが一時的に蓄積することがあっても、簡単
な構成により1通常の場合には受信データを蓄積しない
ようにすることができ、それによって処理速度の高速性
および装置の経済性全向上すべく得られる効果は大きい
As is clear from the above explanation, (1) according to the present invention, there is a sufficient difference between the bit transmission speed of the received data from the 9 lines and the speed at which the received data stored in the first-in/first-out shift memory is received. If not, even if the received data from the line may be temporarily accumulated in the first-in/first-out shift memory, it is possible to prevent the received data from being accumulated in the normal case with a simple configuration. Thereby, the effects of increasing the processing speed and improving the economical efficiency of the apparatus are significant.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は、従来のデータ通信システムに適用される一般
的な受信データ制御方式の概略を示す系統図、第2図は
本発明の実施例の構成を示すブロック図、第3図は、第
2図におけるファーストイン・ファーストアウトシフト
メモリの構成例を示すブロック図である。 各図において、1はファーストイン・ファーストアウト
シフトメモリ、1−1〜1−nはファーストイン・ファ
ーストアウトシフトメモリの各シフトメモリ段、2は受
信キャラクタ組立用シフトレジスタ、3は受信キャラク
タ用バッファレジスタ、4は受信制御回路、 LAは回
路アダプタ、 LCは通信制御装置、 PUはデータ処
理装置である。 第1図 第3図
FIG. 1 is a system diagram showing an outline of a general reception data control method applied to a conventional data communication system, FIG. 2 is a block diagram showing the configuration of an embodiment of the present invention, and FIG. FIG. 2 is a block diagram showing a configuration example of a first-in/first-out shift memory in FIG. 2; In each figure, 1 is a first-in/first-out shift memory, 1-1 to 1-n are each shift memory stage of the first-in/first-out shift memory, 2 is a shift register for assembling received characters, and 3 is a buffer for receiving characters. 4 is a register, a reception control circuit, LA is a circuit adapter, LC is a communication control device, and PU is a data processing device. Figure 1 Figure 3

Claims (1)

【特許請求の範囲】[Claims] 1、 回線からの受信データビットを回線のビット伝送
速度で順次蓄積するファーストイン−ファーストアウト
シフトメモリと、該ファーストイン・ファーストアウト
シフトメモリの出力をうけて所要ピット数の受信キャラ
クタに組立てるシフトレジスタと、該シフトレジスタに
より組立てられた受信キャラクタを一時蓄積するバッフ
ァレジスタで前記シフトレジスタに与えられた場合、そ
の直前に組立完了した受信キャラクタが通信制御装置に
引き取られずに前記バッファレジスタに存在すう前記シ
フトレジスタへの受信データビットの入力を一時停止さ
せるように制御する回線アダプタ。
1. A first-in/first-out shift memory that sequentially stores received data bits from the line at the bit transmission rate of the line, and a shift register that receives the output of the first-in/first-out shift memory and assembles it into a received character with the required number of pits. and a buffer register that temporarily stores the received characters assembled by the shift register, and when the received characters assembled by the shift register are given to the shift register, the previously assembled received character is not picked up by the communication control device and remains in the buffer register. A line adapter that controls the input of received data bits to the shift register to be temporarily stopped.
JP57002573A 1982-01-11 1982-01-11 Line adaptor Granted JPS58120346A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57002573A JPS58120346A (en) 1982-01-11 1982-01-11 Line adaptor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57002573A JPS58120346A (en) 1982-01-11 1982-01-11 Line adaptor

Publications (2)

Publication Number Publication Date
JPS58120346A true JPS58120346A (en) 1983-07-18
JPH023343B2 JPH023343B2 (en) 1990-01-23

Family

ID=11533109

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57002573A Granted JPS58120346A (en) 1982-01-11 1982-01-11 Line adaptor

Country Status (1)

Country Link
JP (1) JPS58120346A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6342545A (en) * 1986-08-08 1988-02-23 Nec Corp Communication control equipment
JPS6342546A (en) * 1986-08-08 1988-02-23 Nec Corp Communication control equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6342545A (en) * 1986-08-08 1988-02-23 Nec Corp Communication control equipment
JPS6342546A (en) * 1986-08-08 1988-02-23 Nec Corp Communication control equipment

Also Published As

Publication number Publication date
JPH023343B2 (en) 1990-01-23

Similar Documents

Publication Publication Date Title
US4145755A (en) Information transferring apparatus
GB2265283A (en) Resynchronization of a synchronous serial interface
US5315581A (en) Hit-less protection switching method and apparatus for ATM transmission lines
US4345325A (en) Message-interchange circuitry for microprocessors linked by synchronous communication network
JPS58120346A (en) Line adaptor
AU596459B2 (en) Data transfer system having transfer discrimination circuit
US5228129A (en) Synchronous communication interface for reducing the effect of data processor latency
JPS6359042A (en) Communication interface equipment
US5406548A (en) Line accommodation circuit capable of switching from an active system to a standby system without a loss of a communication information signal
US3681755A (en) Computer independent data concentrators
EP0433078A2 (en) Data transfer method and apparatus
EP0321568B1 (en) Pipeline control system
JPS6019821B2 (en) Serial data reception method
EP0725352B1 (en) Communication system and relay thereof
JPS58120347A (en) Line adaptor
JPS5819063A (en) Line adaptor
RU97119654A (en) METHOD AND DEVICE FOR REDUCING THE WAITING TIME AT THE INTERFACE BY MEASURING THE TRANSFERABLE PACKAGES
JP2584858B2 (en) Drawing data transfer method
JPS6360428B2 (en)
JPS58133066A (en) Multiplexing method of loop communication system
JP3430689B2 (en) Bidirectional repeater device
JP2625396B2 (en) Receive data processing device
JPS59218065A (en) Start-stop type line adaptor
KR19980035314A (en) PD data transmission and reception method
JPH0417492B2 (en)