JPH023343B2 - - Google Patents

Info

Publication number
JPH023343B2
JPH023343B2 JP57002573A JP257382A JPH023343B2 JP H023343 B2 JPH023343 B2 JP H023343B2 JP 57002573 A JP57002573 A JP 57002573A JP 257382 A JP257382 A JP 257382A JP H023343 B2 JPH023343 B2 JP H023343B2
Authority
JP
Japan
Prior art keywords
character
out shift
shift memory
register
reception
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
Application number
JP57002573A
Other languages
Japanese (ja)
Other versions
JPS58120346A (en
Inventor
Masaki Tsucha
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
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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
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)

Description

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

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

このような場合においても、後続の受信データ
をオーバフローすることなく正常に受信するため
に、通信制御装置のキヤラクタ処理時間を短縮さ
せたり、回線アダプタに複数個のキヤラクタバツ
フアを設けたり、あるいは、フアーストイン・フ
アーストアウトメモリを設ける等の処置がとられ
ている。しかし、このうち、キヤラクタ時間を短
縮させる方法は、ビツト伝送速度が高速になつた
場合、キヤラクタ処理時間を短縮することが難か
しく、また複数個のキヤラクタバツフアを設ける
方法は回線アダプタの回路が増大するという欠点
がある。したがつて、現在はフアーストイン・フ
アーストアウトシフトメモリを設ける方法が採用
されている。
Even in such a case, in order to receive the subsequent received data normally without overflowing, it is necessary to shorten the character processing time of the communication control device, provide multiple character buffers in the 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 increases, and the method of providing multiple character buffers requires the circuit adapter circuit. The disadvantage is that it increases. Therefore, a method of providing a first-in/first-out shift memory is currently employed.

ところが、フアーストイン・フアーストアウト
シフトメモリを使用した方法においては、回線か
らの受信データのビツト伝送速度とフアーストイ
ン・フアーストアウトシフトメモリの内容を取出
す速度との差が十分にとれない場合、従来は受信
キヤラクタバツフアが満たされているときに、通
信制御装置に受信キヤラクタバツフアの受信デー
タが引取られるまでフアーストイン・フアースト
アウトシフトメモリから受信キヤラクタ組立用シ
フトレジスタへの受信データビツトの入力を禁止
するために、フアーストイン・フアーストアウト
シフトメモリに受信データが蓄積されてしまうと
いう欠点があつた。
However, in the method using first-in/first-out shift memory, if there is not a sufficient difference between the bit transmission speed of data received from the line and the speed at which the contents of the first-in/first-out shift memory are retrieved, When the receive character buffer is full, input the receive data bits from the first-in/first-out shift memory to the shift register for assembling the receive character until the communication control device receives the receive data in the receive character buffer. This has the disadvantage that the received data is stored in the first-in/first-out shift memory.

本発明の目的は、回線からの受信データのビツ
ト伝送速度とフアーストイン・フアーストアウト
シフトメモリの内容を取出す速度との差が十分に
とれない場合でも、フアーストイン・フアースト
アウトシフトメモリに回線からの受信データの蓄
積することを排除して高速処理をすることのでき
る通信制御用回線アダプタを提供することにあ
る。
An object of the present invention is to allow data to be read from the line to the first-in/first-out shift memory even when the difference between the bit transmission speed of received data from the line and the speed at which the contents of the first-in/first-out shift memory are taken out 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.

本発明によれば、回線からの受信データビツト
を回線のビツト伝送速度で順次蓄積するフアース
トイン・フアーストアウトシフトメモリと、該フ
アーストイン・フアーストアウトシフトメモリの
出力をうけて所要ビツト数の受信キヤラクタに組
立てるシフトレジスタと、該シフトレジスタによ
り組立てられた受信キヤラクタを一時蓄積するバ
ツフアレジスタとを具備し、回線からの受信デー
タビツトが前記フアーストイン・フアーストアウ
トシフトメモリを介して前記シフトレジスタに与
えられた場合、その直前に組立完了した受信キヤ
ラクタが通信制御装置に引き取られずに前記バツ
フアレジスタに存在する間は、所要ビツト数マイ
ナス1ビツト受信後に前記フアーストイン・フア
ーストアウトシフトメモリから前記シフトレジス
タへの受信データビツトの入力を一時停止させる
ように制御する回線アダプタが得られる。
According to the present invention, there is provided a first-in/first-out shift memory that sequentially stores received data bits from a line 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. and a buffer register that temporarily stores the received characters assembled by the shift register, and the received data bits from the line are applied to the shift register via the first-in/first-out shift memory. If the reception character that was assembled immediately before is not picked up by the communication control device and remains in the buffer register, the data is transferred from the first-in/first-out shift memory to the shift register after receiving the required number of bits minus one bit. A line adapter is provided which controls the input of received data bits to be temporarily suspended.

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

第2図は、本発明による実施例の構成をブロツ
ク図により示したものである。また、第4図は、
この実施例の動作を説明するためのタイムチヤー
トである。なお、この例では8ビツト/キヤラク
タとする。この回線アダプタは、フアーストイ
ン・フアーストアウトシフトメモリ1、受信キヤ
ラクタ組立用シフトレジスタ2、受信キヤラクタ
バツフアレジスタ3および受信制御回路4により
構成されている。このうち、フアーストイン・フ
アーストアウトシフトメモリ1は、更に、第3図
の具体例に見られるように、フアーストイン・フ
アーストアウトの縦続接続されたシフトメモリ1
―1〜1―nにより形成されている。いま、回線
からの受信データビツトがフアーストイン・フア
ーストアウトシフトメモリのシフトメモリ1―1
に与えられたとき、このシフトメモリ1―1が空
いていれば、回線のビツト伝送速度に同期したタ
イミングで受信データビツトが蓄積される。
FIG. 2 is a block diagram showing the configuration of an embodiment according to the present invention. Also, Figure 4 shows
This is a time chart for explaining the operation of this embodiment. In this example, 8 bits/character is used. This line adapter includes a first-in/first-out shift memory 1, a shift register 2 for assembling a reception character, a reception character buffer register 3, and a reception control circuit 4. Among these, the first-in/first-out shift memory 1 further includes a first-in/first-out shift memory 1 connected in cascade as shown in the specific example of FIG.
-1 to 1-n. Now, the data bits received from the line are transferred to shift memory 1-1 of the first-in/first-out shift memory.
If the shift memory 1-1 is empty when the received data bits are given, the received data bits are stored at a timing synchronized with the bit transmission rate of the line.

第4図の受信クロツクの立下りにより受信デー
タがフアーストイン・フアーストアウトシフトメ
モリに蓄積される。
The received data is stored in the first-in/first-out shift memory at the falling edge of the receive clock shown in FIG.

フアーストイン・フアーストアウトシフトメモ
リに蓄積された受信データは、フアーストイン・
フアーストアウトシフトメモリ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.
After waiting for the first-out shift memory 1-2 to become empty, the data is transferred to the first-in/first-out shift memory 1-2. Thereafter, this received data moves each bit of the first-in/first-out shift memory toward the first-in/first-out shift memories 1-n by the same operation.

受信制御回路4は、回線のビツト伝送速度より
高速のタイミング(第4図では受信キヤラクタタ
イミング)でフアーストイン・フアーストアウト
シフトメモリ1―nの状態と受信キヤラクタバツ
フアレジスタ3の状態(第4図の受信キヤラクタ
バツフアレジスタ「満」信号で表示)とを検査
し、フアーストイン・フアーストアウトシフトメ
モリ1―nが「満」、受信キヤラクタバツフアレ
ジスタ3が「空」の場合には、フアーストイン・
フアーストアウトシフトメモリ1―nに格納され
ている受信データビツトを受信キヤラクタ組立用
シフトレジスタ2に入力させる(第4図のの区
間)。この直後、受信キヤラクタ組立用シフトレ
ジスタ2が1キヤラクタの組立完了を検出する
と、その受信キヤラクタを受信キヤラクタバツフ
アレジスタ3に転送する(第4図ののタイミン
グ)。受信キヤラクタの転送された受信キヤラク
タバツフアレジスタ3は、この受信キヤラクタが
通信制御装置LC(第1図参照)に引取られるま
で、受信キヤラクタバツフアレジスタが「満」で
あることの表示を受信制御回路4で行う。受信制
御回路4は、受信キヤラクタレジスタ3が「満」
であり、かつ所要ビツト数マイナス1ビツト後に
はフアーストイン・フアーストアウトシフトメモ
リ1から受信キヤラクタ組立用シフトレジスタ2
への受信データビツトの入力を禁止する(第4図
のの区間)。
The reception control circuit 4 changes the state of the first-in/first-out shift memories 1-n and the state of the reception character buffer register 3 (the reception character timing in FIG. 4) at a timing faster than the bit transmission speed of the line (reception character timing in FIG. 4). If the first-in/first-out shift memory 1-n is "full" and the receive character buffer register 3 is "empty", First Inn
The received data bits stored in the first-out shift memory 1-n are input to the shift register 2 for assembling the received character (section 1 in FIG. 4). Immediately after this, when the reception character assembly shift register 2 detects the completion of assembly of one character, it transfers the reception character to the reception character buffer register 3 (timing 3 in FIG. 4). The received character buffer 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). This is done by the reception control circuit 4. The reception control circuit 4 controls when the reception character register 3 is “full”.
And after the required number of bits minus 1 bit, the shift register 2 for assembling the reception character is transferred from the first-in/first-out shift memory 1.
The input of received data bits is prohibited (section 1 in FIG. 4).

シフトレジスタ2への受信データビツトの入力
禁止の理由を説明するために、例えば、回線のビ
ツト伝送速度が48Kbpsであり、フアーストイ
ン・フアーストアウトシフトメモリに格納されて
いる受信データを引取る速度が64Kbps、所要ビ
ツト数が8ビツト、受信キヤラクタバツフアレジ
スタが「満」であり、通信制御装置LCが受信キ
ヤラクタバツフアレジスタの内容を引取るまで
100μSかかると仮定すると、従来の方式では、
48Kbpsの速度で1キヤラクタタイム約166μS、
64Kbpsの速度で1キヤラクタタイム約124μSか
かる。このことから、受信キヤラクタレジスタが
「満」の状態になり、通信制御装置がそのデータ
を引取つて次に受信キヤラクタバツフアが「満」
の状態になるまでの時間は、通信制御装置が受信
キヤラクタバツフアレジスタからのデータを引取
るまでの時間に64Kbpsの速度における1キヤラ
クタの時間を加えた約224.8μSとなり、48Kbpsの
速度における1キヤラクタの時間(約166μS)を
超えてしまう。これはフアーストイン・フアース
トアウトシフトメモリにデータが確実に蓄えられ
てしまうことを意味する。これに反して、本発明
の方式によれば、上記の仮定のもとでは7ビツト
分はすでにフアーストイン・フアーストアウトシ
フトメモリから受信キヤラクタレジスタに入つて
いるため、残りの1ビツトのみ入力すればよく約
224.8μSで可能となり、一時的にフアーストイ
ン・フアーストアウトシフトメモリに受信データ
が蓄えられても従来技術のような欠点は生じな
い。
To explain the reason for prohibiting the input of received data bits to shift register 2, let us consider, for example, that the bit transmission rate of the line is 48 Kbps and the speed at which the received data stored in the first-in/first-out shift memory is taken over is 48 Kbps. 64Kbps, the required number of bits is 8 bits, the receive character buffer register is "full", and the communication control device LC takes over the contents of the receive character buffer register.
Assuming that it takes 100μS, in the conventional method,
One character time is approximately 166μS at a speed of 48Kbps,
At a speed of 64Kbps, one character takes approximately 124μS. From this, the receive character register becomes "full", the communication control device receives the data, and then the receive character buffer becomes "full".
The time it takes to reach this state is approximately 224.8μS, which is the time it takes for the communication control device to receive data from the receive character buffer register plus the time for one character at a speed of 64Kbps, The character time (approximately 166μS) is exceeded. This means that data is definitely stored in the first-in/first-out shift memory. On the other hand, according to the method of the present invention, under the above assumption, 7 bits have already been entered from the first-in/first-out shift memory into the receive character register, so only the remaining 1 bit needs to be input. About
This is possible in 224.8 μS, and even if the received data is temporarily stored in the first-in/first-out shift memory, there will be no drawbacks like in the prior art.

また、受信データビツトの入力を禁止する時点
を所要ビツト数マイナス1ビツトとしたことは、
受信キヤラクタ組立用シフトレジスタから受信キ
ヤラクタバツフアレジスタへ受信データがセツト
されるタイミングを所要ビツト数により自動的に
行なうようにするためと、従来は受信キヤラクタ
バツフアレジスタが「空」になつてから「満」に
なるまでの時間がフアーストイン・フアーストア
ウトシフトメモリからデータを引取る速度×8ビ
ツト(上記の例では約124.8μS)であつたものを
1ビツト(上記例では約15.6μS)にするためであ
る。
Furthermore, the point at which input of received data bits is prohibited is set to the required number of bits minus 1 bit.
In order to automatically set the timing at which the receive data is set from the receive character assembly shift register to the receive character buffer register according to the required number of bits, and in the past, when the receive character buffer register becomes "empty", The time from when it becomes "full" to "full" is equal to the speed at which data is taken from the first-in/first-out shift memory x 8 bits (approximately 124.8 μS in the above example) is reduced to 1 bit (approximately 15.6 μS in the above example). ).

なお、上記の実施例において、回線のビツト伝
送速度に同期したタイミングが出力されたとき、
フアーストイン・フアーストアウトシフトメモリ
1―1が「満」の状態で受信データビツトを蓄積
することができずにオーバフローした場合、受信
制御回路4はオーバフローの検出したことを通信
制御装置LCに通知する。好ましくは、フアース
トイン・フアーストアウトシフトメモリの容量
は、回線のビツト伝送速度と通信制御装置LCの
処理速度との差がオーバフローの生じない程度に
選択される。
In addition, in the above embodiment, when the timing synchronized with the bit transmission rate of the line is output,
If the first-in/first-out shift memory 1-1 is "full" and cannot store received data bits and overflows, the reception control circuit 4 notifies the communication control device LC of the detection of overflow. . Preferably, the capacity of the first-in/first-out shift memory is selected such that the difference between the bit transmission rate of the line and the processing speed of the communication control unit LC does not cause overflow.

以上の説明により明らかなように、本発明によ
れば、回線からの受信データのビツト伝送速度と
フアーストイン・フアーストアウトシフトメモリ
に格納されている受信データを引取る速度との差
が十分にとれない場合、フアーストイン・フアー
ストアウトシフトメモリに回線からの受信データ
が一時的に蓄積することがあつても、簡単な構成
により、通常の場合には受信データを蓄積しない
ようにすることができ、それによつて処理速度の
高速性および装置の経済性を向上すべく得られる
効果は大きい。
As is clear from the above explanation, according to the present invention, there is a sufficient difference between the bit transmission speed of the received data from the line 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 temporarily accumulate in the first-in/first-out shift memory, a simple configuration can prevent the received data from being accumulated in the normal case. Thereby, the effect of improving the processing speed and the economical efficiency of the apparatus is significant.

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

第1図は、従来のデータ通信システムに適用さ
れる一般的な受信データ制御方式の概略を示す系
統図、第2図は本発明の実施例の構成を示すブロ
ツク図、第3図は、第2図におけるフアーストイ
ン・フアーストアウトシフトメモリの構成例を示
すブロツク図、第4図は第2図における実施例の
動作を説明するためのタイムチヤートである。 各図において、1はフアーストイン・フアース
トアウトシフトメモリ、1―1〜1―nはフアー
ストイン・フアーストアウトシフトメモリの各シ
フトメモリ段、2は受信キヤラクタ組立用シフト
レジスタ、3は受信キヤラクタ用バツフアレジス
タ、4は受信制御回路、LAは回路アダプタ、LC
は通信制御装置、PUはデータ処理装置である。
FIG. 1 is a system diagram showing an outline of a general received 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 an example of the structure of the first-in/first-out shift memory, and FIG. 4 is a time chart for explaining the operation of the embodiment shown in FIG. 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 a receiving character, and 3 is a receiving character button. 4 is the reception control circuit, LA is the circuit adapter, LC
is a communication control unit, and PU is a data processing unit.

Claims (1)

【特許請求の範囲】[Claims] 1 回線からの受信データビツトを回線のビツト
伝送速度で順次蓄積するフアーストイン・フアー
ストアウトシフトメモリと、該フアーストイン・
フアーストアウトシフトメモリの出力をうけて所
要ビツト数の受信キヤラクタに組立てるシフトレ
ジスタと、該シフトレジスタにより組立てられた
受信キヤラクタを一時蓄積するバツフアレジスタ
と、回線からの受信データビツトが前記フアース
トイン・フアーストアウトシフトメモリを介して
前記シフトレジスタに与えられた場合、その直前
に組立完了した受信キヤラクタが通信制御装置に
引き取られずに前記バツフアレジスタに存在する
間は、所要ビツト数マイナス1ビツト受信後に前
記フアーストイン・フアーストアウトシフトメモ
リから前記シフトレジスタへの受信データビツト
の入力を一時停止させるように制御する受信制御
回路とを有する回線アダプタ。
1 A first-in/first-out shift memory that sequentially stores data bits received from a line at the bit transmission rate of the line;
A shift register receives the output of the first-out shift memory and assembles it into a required number of reception characters; a buffer register temporarily stores the reception characters assembled by the shift register; When the data is applied to the shift register via the first-out shift memory, while the previously assembled receive character remains in the buffer register without being picked up by the communication control device, the required number of bits minus 1 bit is received. and a reception control circuit for controlling the input of received data bits from the first-in/first-out shift memory 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 JPS58120346A (en) 1983-07-18
JPH023343B2 true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06105923B2 (en) * 1986-08-08 1994-12-21 日本電気株式会社 Communication control device
JPH06105922B2 (en) * 1986-08-08 1994-12-21 日本電気株式会社 Communication control device

Also Published As

Publication number Publication date
JPS58120346A (en) 1983-07-18

Similar Documents

Publication Publication Date Title
US5019966A (en) Dual processors using busy signal for controlling transfer for predetermined length data when receiving processor is processing previously received data
US4494190A (en) FIFO buffer to cache memory
US4864495A (en) Apparatus for controlling vacant areas in buffer memory in a pocket transmission system
US4145755A (en) Information transferring apparatus
US4885584A (en) Serializer system with variable character length capabilities
US4602341A (en) Shared data logger controller and method
EP0067302B1 (en) Display updating device in a data communication system
US5228129A (en) Synchronous communication interface for reducing the effect of data processor latency
AU596459B2 (en) Data transfer system having transfer discrimination circuit
JPH023343B2 (en)
JPH05265943A (en) Serial data transfer equipment
JPS634379B2 (en)
JPS6359042A (en) Communication interface equipment
EP0532431A1 (en) Method and device for multiplexing
EP0441533A2 (en) Apparatus for sorting and storing data
US5208808A (en) Method of assigning slots in a ucol-type star network and electronic device for carrying out such method
KR100335389B1 (en) Apparatus and method for processing cell-data in an asynchronous transfer mode system
JPS5819063A (en) Line adaptor
EP0285335B1 (en) Data communication system and method
RU97119654A (en) METHOD AND DEVICE FOR REDUCING THE WAITING TIME AT THE INTERFACE BY MEASURING THE TRANSFERABLE PACKAGES
JPS58120347A (en) Line adaptor
JPH01212994A (en) Communication control equipment
JPH0235500B2 (en)
JPH07118699B2 (en) Received data error detector test method
EP0782082A2 (en) Serial data transfer apparatus