[go: up one dir, main page]

JPS59230346A - Buffering system of transmission/reception data of transmitter - Google Patents

Buffering system of transmission/reception data of transmitter

Info

Publication number
JPS59230346A
JPS59230346A JP10533783A JP10533783A JPS59230346A JP S59230346 A JPS59230346 A JP S59230346A JP 10533783 A JP10533783 A JP 10533783A JP 10533783 A JP10533783 A JP 10533783A JP S59230346 A JPS59230346 A JP S59230346A
Authority
JP
Japan
Prior art keywords
transmission
data
reception
controller
terminal device
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.)
Pending
Application number
JP10533783A
Other languages
Japanese (ja)
Inventor
Makoto Koga
真 古賀
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.)
Meidensha Corp
Meidensha Electric Manufacturing Co Ltd
Original Assignee
Meidensha Corp
Meidensha Electric Manufacturing 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 Meidensha Corp, Meidensha Electric Manufacturing Co Ltd filed Critical Meidensha Corp
Priority to JP10533783A priority Critical patent/JPS59230346A/en
Publication of JPS59230346A publication Critical patent/JPS59230346A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/12Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
    • G06F13/124Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware is a sequential transfer control unit, e.g. microprocessor, peripheral processor or state-machine

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Small-Scale Networks (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE:To attain efficiently buffering by assigning dynamically plural transmission/reception buffer memories to plural terminal devices in a transmitter where plural terminal devices including a host computer are provided to each station coupled to a bus transmission line. CONSTITUTION:A terminal device 8 and the host CPU (computer) 9 perform transmission/reception of data to other transmitters by utilizing a transmission line by means of a transmission controller 4. A signal of the terminal device 8 and the host CPU9 is given to the transmission controller 4 via a data bus generation multiplexer 13, reception buffers 111-, transmission buffers 121- and a local bus 5. The transmission and reception buffers 111-, 121- are utilized not fixedly but dynamically under the control of a local computer 10.

Description

【発明の詳細な説明】 本発明は、1つのステーションにコンピュータを含む複
数の端末装置が接続てnる伝送装置において・、送受信
データのバッファリング方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a buffering method for transmitted and received data in a transmission device in which a plurality of terminal devices including computers are connected to one station.

この種の伝送装置は第1図に示すステーション構成にて
詐る。複数のステージg7間を結合する伝送路1は各ス
テーション毎に送信器2及び受信器3KxF)結合さn
る。送信器2及び受信器3で送受する情報は伝送コント
ローラ4を介してステークヨン同ローカルバス5に乗せ
られ、この情報は各端末装置又はホストコンピュータに
夫々専用のインターフェイス6.7に持つ送信バッファ
6、。
This type of transmission device has the station configuration shown in FIG. A transmission line 1 connecting a plurality of stages g7 is connected to a transmitter 2 and a receiver 3KxF) for each station.
Ru. Information sent and received by the transmitter 2 and the receiver 3 is transferred to the station local bus 5 via the transmission controller 4, and this information is sent to each terminal device or host computer via a transmission buffer 6 in a dedicated interface 6.7. ,.

7、又は受信バッファ6! −7tに一時的に置かn、
インター7エイス6.7を介して端末装置8やホストコ
ンピュータ9との間で授受さnる。ローカルバヌ5に結
合でnるローカルコンピュータ10 td 伝送コント
ローラ4と各インター7エイス6.7間の情報の振分は
制御に使わ牡る。各インターフェイス6.7と伝送コン
トローラ4間のデータの流nは図中に破線矢印で送信経
路を示し、実線矢印で受信経路を示すようにDMA転送
で行なわnる。
7, or receive buffer 6! - Temporarily placed at 7t,
It is exchanged with the terminal device 8 and the host computer 9 via the Inter7Ace 6.7. The distribution of information between the local computer 10 td transmission controller 4 and each inter 7 ace 6.7 is used for control. The data flow between each interface 6.7 and the transmission controller 4 is performed by DMA transfer, with the broken line arrows in the figure showing the transmission path and the solid line arrows showing the reception path.

このような構成のステーションでは以下に述べるような
問題がある。
A station with such a configuration has the following problems.

(1)各端末装置、コンピュータに専用の送受信バッフ
ァ6□H6t 、7t t 7tを設けるため、端末装
置。
(1) Each terminal device and computer is provided with a dedicated transmitting/receiving buffer 6□H6t, 7t t 7t.

ホストコ/ピユータ側の処理が遅いときに受信バ□ ツ
7アがビジー(Busy)になシ易い。
When processing on the host computer/computer side is slow, the receiving port 7 tends to become busy.

(2)ステーション数が多いときにある端末装置又はホ
ストコンピュータ向けの情報が増えて受信バッファビジ
ーになり易い。
(2) When the number of stations is large, the amount of information destined for a certain terminal device or host computer increases and the reception buffer tends to become busy.

(3)伝送路1のデータ伝送速度が高速の場合も(1)
項と同様に受信バッファビジーになシ易い。
(3) Even if the data transmission speed of transmission path 1 is high (1)
Similar to the above, it is easy to cause the receive buffer to be busy.

(4)送信時において、1つのステーションにつながる
端末装置、コンピュータ数が増えると、送信バッファの
データ吐き出しに時期時間が長くなシ。
(4) During transmission, as the number of terminal devices and computers connected to one station increases, it takes longer to flush out data from the transmission buffer.

虐該送信バッファの空1!まで端末装置側が次の送信デ
ータ転送を待たされる。
Blank transmission buffer empty 1! The terminal device side is forced to wait for the next transmission data transfer until the end.

このような問題全解決するために、各端末装置。In order to solve all such problems, each terminal device.

コンビ二−タ側にダブルバッファを設ける場合があるが
、バッファメモリ容量が増大するしその効率的使用が難
しくなる。例えば、システムの運用状況によっである端
末装置には九まにしかデータ授受がないのに他方の端末
装置に頻繁にデータ授受が集中することがある。
A double buffer may be provided on the combinator side, but this increases the buffer memory capacity and makes it difficult to use it efficiently. For example, depending on the operational status of the system, data may be exchanged frequently with one terminal device while data is exchanged only every nine days with another terminal device.

また、上述のダブルバラフッ方式では伝送コントローラ
4から見て次の事項で不利となる。
Further, the double-balance method described above has the following disadvantages from the perspective of the transmission controller 4.

(5)伝送コントローラは受信し次データを複数あるバ
ッファのうちの1つのバッファを選択して転送するため
の処理手段を必要とする。
(5) The transmission controller requires processing means for receiving and transmitting the next data by selecting one of the plurality of buffers.

(6)伝送コント四−ラは(5)項のために各受信バッ
ファがビジーか否か判断する手段を必要とする。
(6) The transmission controller requires means for determining whether each receive buffer is busy or not because of item (5).

(7)伝送コントローラは複数の端末装置から同時に送
信要求があるときに端末装置の優先処理のほかに送信バ
ッファの優先処理を必要とする。
(7) When there are simultaneous transmission requests from a plurality of terminal devices, the transmission controller requires priority processing of the transmission buffer in addition to priority processing of the terminal devices.

(8)データ伝送速度が高速になると、伝送コントロー
ラに高インテリジェント機能を持たすのが難しくなシ、
上述の(5) 、 (6) 、 (7)項の処理が困難
となる。
(8) As data transmission speeds increase, it becomes difficult to provide highly intelligent functions to transmission controllers.
It becomes difficult to process items (5), (6), and (7) above.

本発明は、複数の送受信バッファメモリを複数の端末装
置に動的に割当てるバッファリング方法とし、端末装置
やコンビ二−タ数の増設、伝送路のデータ伝送速度上げ
に拘らず効率的にデータ処理できるバッファリング方式
を得ることを目的とする。
The present invention is a buffering method that dynamically allocates a plurality of transmitting and receiving buffer memories to a plurality of terminal devices, and efficiently processes data regardless of increasing the number of terminal devices or combiners or increasing the data transmission speed of the transmission line. The purpose is to obtain a buffering method that is possible.

第2図は本発明の一実施例を示すステーション構成図で
ある。四−カルバス5にはステーションに一括して持つ
受信バックアメモリ111 、 工1t 、・・・及び
送信バッファメモリ楡、12! I・・・が結合される
FIG. 2 is a station configuration diagram showing one embodiment of the present invention. The four-car bus 5 includes reception backup memories 111, 1t, . . . and transmission buffer memories 12!, which are collectively held in the station. I... are combined.

端末装装置8.ぎ”スがコンピュータ9に結合されるイ
ア / −7エイス6.7には受信時にローカルコンピ
ュータ10と交信して受信バッファメモリ111゜11
宜側のデータを取込む受信チャンネル6h71及び送信
時にローカルコンピュータ1oと交信して送信バックア
メモリ121 、121側にデータを送出する送信チャ
ンネル64.74が設けらnる。送受信バックアメモリ
lb t llm−島、12.とインター7エイス6.
7の送受信チャンネル6m 、 64 、7g 、 7
4間にはデータバス生成マルチプレクサ13が設けらt
′L、このマルチプレクサ13′はローカルバス5を介
してローカル* y ヒュータ10にも結合ざnsMコ
ンピュータ1゜の指令に基いて送受信データに対するバ
ッファメモリの割当てを動的に行なう、但し、各端末装
置又はホストコンビ二一タに割当てる送受信バッファメ
モリ数は制約し、1つの端末装置又はホストコンピュー
タが送受信バッファメモリの全部を占有することを防止
し、ステーション全体として送受信データが多い場合に
も各端末装置又はコンビ具−夕の時期時間の極端なアン
バランスを無く丁。
Terminal equipment 8. The device 6.7 is connected to the computer 9, communicates with the local computer 10 at the time of reception, and stores the reception buffer memory 111゜11.
A reception channel 6h71 for receiving data on the receiving side and a transmission channel 64.74 for communicating with the local computer 1o at the time of transmission and transmitting data to the transmission backup memories 121 and 121 side are provided. Transmit/receive back memory lb t llm-island, 12. and Inter 7 Aces 6.
7 transmitting and receiving channels 6m, 64, 7g, 7
A data bus generation multiplexer 13 is provided between
'L, this multiplexer 13' is also coupled to the local *y fuse 10 via the local bus 5, and dynamically allocates buffer memory for transmitted and received data based on commands from the computer 1°.However, each terminal device Alternatively, the number of sending/receiving buffer memories allocated to the host combiner can be restricted to prevent one terminal device or host computer from occupying the entire sending/receiving buffer memory, and even if the station as a whole has a large amount of sending/receiving data, each terminal device Or a combination tool - eliminates the extreme imbalance of evening time.

こうした構成において、端末装置8又はホストコンビ二
−タ9から伝送路1側へのデータ送信は、図中に破線矢
印で示すようにインターフェイスの送信チャンネルTX
からマルチプレクサ13を通して送信バッファメモリ1
21に一旦蓄えらn1伝送コントロ一ラ4全通して送出
される。また、伝送路1側からのデータ受信は5図中に
実線矢印で示すように伝送コント四−ラ4から受信バッ
ファメモリ11.に一旦蓄えらn1マルチプレクサ13
を通してインター7エイズの受信チャンネルRXi通し
て端末装R8又はホストコンピュータ9に受gされる。
In such a configuration, data transmission from the terminal device 8 or the host combiner 9 to the transmission line 1 side is carried out through the transmission channel TX of the interface as indicated by the broken line arrow in the figure.
from the transmit buffer memory 1 through the multiplexer 13.
21 and is transmitted through the n1 transmission controller 4. Further, data reception from the transmission path 1 side is carried out from the transmission controller 4 to the reception buffer memory 11. Once stored in n1 multiplexer 13
The data is received by the terminal R8 or the host computer 9 through the Inter7Aids reception channel RXi.

伝送コントローラ4とバッファメモリとのデータバス及
びバッファメモリと各端末装置、小ストコンピュータと
のデータバスはすべてローカルコンピュータ10が制御
する。つまシ、伝送コントローラ4にはローカルコンピ
ュータ10から次回に使用する送信バッファ及び受信バ
ッファを予めアドレス指定で通知しておく。こnによシ
、伝送コント田−ラ4け送受信バッファについて関知す
る必要がなく、単にビジーかどうかを判断することで足
シる。一方、端末装置8.ホストコンピュータ9に対し
てはローカルコンビ二−タ10は送信の場合にはその要
求を発生した端末装置、ホストコンピユータに対して送
信バッファへのデータバスを生成し、受信の場合には該
轟する端末装置、ホストコンピュータあてのデータが格
納さnる受信バッファとのデータバスを生成する。この
ようにすることによシ、各端末装置、ホストコンピュー
タ側は複数のバッファを共用することができ、端末装置
側の処理能力不足を吸収する。また、伝送コント四−ラ
4は実質的に単一の送信バッファ、受信バッファに対す
る制御になって単一バッファに対するビジー状態の監視
のみで済むといり負°担軽減になる。
The data bus between the transmission controller 4 and the buffer memory, and the data bus between the buffer memory and each terminal device and small computer are all controlled by the local computer 10. Finally, the local computer 10 notifies the transmission controller 4 of the transmitting buffer and receiving buffer to be used next time in advance by specifying addresses. In this case, there is no need for the transmission controller to be concerned with the four transmitting/receiving buffers, and it can be used simply by determining whether or not it is busy. On the other hand, the terminal device 8. For the host computer 9, in the case of transmission, the local combiner 10 generates a data bus to the transmission buffer for the terminal device that generated the request and the host computer, and in the case of reception, it sends a data bus to the transmission buffer. A data bus is generated between the terminal device and the receive buffer in which data addressed to the host computer is stored. By doing so, each terminal device and the host computer can share a plurality of buffers, thereby absorbing the lack of processing capacity on the terminal device side. Further, the transmission controller 4 essentially controls a single transmitting buffer and a single receiving buffer, and only needs to monitor the busy state of the single buffer, thereby reducing the burden.

以下に送受信の処理手順を評細に説明する。なお1、デ
ータのやりとシについては最大伝送量(1パケツト)と
して最大バイト数が決めらns送受信バッファ111 
、11. 、・・・、 12+ −12t・・・は最大
バイト数(数キロバイト)の容量を持九せである。
The transmission and reception processing procedure will be explained in detail below. 1. Regarding data transmission and transmission, the maximum number of bytes is determined as the maximum transmission amount (1 packet).ns transmission/reception buffer 111
, 11. ,..., 12+-12t... has a capacity of the maximum number of bytes (several kilobytes).

まず、送信時のローカルコンピュータとホストコンピュ
ータ又は端末装置とのやシとシは以下の(A)〜(Qの
手順とする。
First, the communication between the local computer and the host computer or terminal device at the time of transmission is the following procedures (A) to (Q).

(A)・・・ローカルコンビ二−タ10よシ送信可能で
あることを示す割込みをホストコンピュータ9.端末装
置8に対して発生する( TX RDY )。このとき
、ローカルコンピュータ10は空いている送信バッファ
とホストコンピュータ、端末装置との間にデータバスを
生成する。
(A) . . . An interrupt is sent from the host computer 9 to the local combiner 10 indicating that transmission is possible. This occurs for the terminal device 8 (TX RDY). At this time, the local computer 10 creates a data bus between the empty transmission buffer, the host computer, and the terminal device.

(B)・・・ホストコンピュータ又は端末装置は送信す
べきデータが発生すると(4)項で定めらnる送信バッ
ファに当該データを書込む、このデータのバイト数はバ
ッファの持つ最大バイト数までの範囲で任意にさnる。
(B)...When the host computer or terminal device generates data to be transmitted, it writes the data into the transmission buffer specified in paragraph (4).The number of bytes of this data is up to the maximum number of bytes that the buffer has. arbitrarily within the range of n.

(C)・・・ホスト;ンビュータ又は端末装置は送信デ
ータを送信バッファに全て書込むと、ローカルコンピュ
ータに対して送信を開始せよという割込みを発生する(
 TX Go )。
(C)...Host: When the monitor or terminal device writes all the transmission data to the transmission buffer, it generates an interrupt to the local computer to start transmission (
TX Go).

(均・・・ローカルコンピュータは(0項での割込みに
おいてどのホストコンビ二−タ又は端末装置に送信バッ
ファを与えたかを認識できるから、 TXGOの割込コ
ードを読取ることでどのホストコンピュータ又は端末装
置に与えた送信バッファに送信データが格納でれている
か直ちに認識する。このとl、TXGOの割込みに優先
を設けること及び割込コードを各装置に割当てることで
同時に割込みがあるもローカルコンピュータが誤って認
識することはない。
(Event...The local computer can recognize which host computer or terminal device was given the transmission buffer in the interrupt in (0), so by reading the TXGO interrupt code, it can identify which host computer or terminal device it has given the transmit buffer to.) It is immediately recognized whether the transmission data is stored in the transmission buffer given to the TXGO.In addition, by giving priority to TXGO interrupts and assigning interrupt codes to each device, even if there are interrupts at the same time, the local computer can I never recognize it.

(ト))…四−カルコンビA−タハ伝送コント四−ラ4
に送信要求會出丁と共忙送信データが格納さnる送信バ
ッファと伝送コントローラとの間にデータバスを生成す
る。
(g))…4-Cal Combi A-Tach transmission control 4-Ra 4
A data bus is generated between the transmission controller and the transmission buffer in which the transmission request information and busy transmission data are stored.

(Pi・・・送信要求を与えられた伝送コントローラは
当該送信バッファがその格納データが全て空白(Emp
t7 )になるまで該データを読出して送信に付す。そ
して、全データの送信終了で四−カルプンビ二一タに対
して割込みで知らせる。
(Pi...The transmission controller that has been given the transmission request will make sure that all the data stored in the transmission buffer is blank (Emp).
The data is read and transmitted until t7). Then, when the transmission of all the data is completed, the 4-kalpunbiter is notified by an interrupt.

(G)・・・四−カルコンピユータは伝送コントローラ
からの送信終了の割込みで、当該送信バッファが空いた
ことt−g識し、次のホストコンピュータ又は端末装置
に対して(A)項又は(C’)項についての処理に戻る
(G)...4-Cal computer recognizes that the transmission buffer is empty by the transmission end interrupt from the transmission controller, and sends the next host computer or terminal device (A) or ( Returning to the process regarding item C').

、以上のような手順によって送信が行なわnるが送信バ
ッファに送信丁べきデータ量が格納畜nたときに端末装
置8又はホストコンピュータ9が割込み(TX Go)
でローカルコンピュータ10に知うせる。従って、ロー
カルコンピュータ10は送信バッファへのデータ格納終
了ということには全く関知せず、ホストコンピュータ又
は端末装置のアプリケーションソフトウェアが認識する
ことになる。
Transmission is performed according to the above procedure, but when the amount of data to be transmitted is stored in the transmission buffer, the terminal device 8 or host computer 9 interrupts (TX Go).
to notify the local computer 10. Therefore, the local computer 10 is not concerned at all with the completion of data storage in the transmission buffer, and the application software of the host computer or terminal device recognizes this.

一方、送信バッファの空白状態(Empty )はあら
かじめホストコンピュータ又は端末装置からローカルコ
ンピュータ10に送信データのバイト数を指示しておく
ことから、ローカルコンピュータ10ハ該バイト数から
空白状態を認識で暑る。この認識Kid、 四−カルコ
ンビ二一タ10はDMAコントローラに当該送信バッフ
ァのアドレスとカウ/ト値(送信データバイト数)をセ
ットしておき、伝送コントローラ4に対して送信要求を
出すと同時にDMA開始指令を出す。そして、DMAコ
ントローラからのカウントアツプ信号によって伝送コン
トローラ4は送信全終了すると共にローカルコンピュー
タに対して送信終了の割込み音発生し、ローカルコンピ
ュータ10はそのときに伝送コントローラに与えていた
送信バッファが空白になったことを認識する。
On the other hand, since the host computer or terminal device instructs the local computer 10 in advance about the number of bytes of data to be sent, the local computer 10 recognizes the empty state from the number of bytes. . The recognition Kid, 4-Cal combiner 10 sets the address and count value (number of bytes of data to be transmitted) of the transmission buffer in the DMA controller, and sends a transmission request to the transmission controller 4 at the same time. Issue a start command. Then, the count-up signal from the DMA controller causes the transmission controller 4 to complete the transmission, and generates an interrupt sound for the local computer to indicate the end of transmission, and the local computer 10 blanks out the transmission buffer that was being given to the transmission controller at that time. Recognize what has happened.

このようにして送信バッファへのデータ格納とその払出
しがなざnるが、1つの送信バッファメモリについての
四−カルコンピユータに対する送信開始要求(TXGO
)に対してデータ送信後のローカルコンピュータからの
送信可能(TXRDY)までの時間は比較的長くかかる
。このため、従来構成ではホスト;ンビ二−タ又は端末
装置が連続して数パケット分のデータ全送信しようとす
るも送信バックァメそり容量の不足を招く。こnに対し
て、本発明では複数の送信パンツアメモリを各端末装置
に動的に割当て可能となってローカルコンビ二一タはホ
ストコンピュータ、端末装置に対して送信開始要求から
即座に他の送信バックアメモリについての送信可能が与
えらnることになる。
In this way, data is stored in the transmission buffer and its output is completed, but a transmission start request (TXGO) to the quadrilateral computer regarding one transmission buffer memory
), it takes a relatively long time until the local computer can transmit data (TXRDY) after data transmission. For this reason, in the conventional configuration, even if the host, the computer, or the terminal device attempts to transmit all data for several packets in succession, the transmission backup capacity is insufficient. In contrast, in the present invention, it is possible to dynamically allocate a plurality of transmitter panzer memories to each terminal device, so that the local combiner can immediately send other messages to the host computer or terminal device from a transmission start request. Transmission capability for the transmission backup memory will be given.

次に、受信時の処理手順を説明する。Next, the processing procedure at the time of reception will be explained.

通常、伝送路を通したデータ伝送にはそのフォーマット
が第3図に示すようになり、情報の開始終了を示す7ラ
グFと、ステーション及び端末装置のアドレスAと、コ
ント四−ルコー)’Cと、データワード長(又はバイト
長)WLと、最大数キ四バイトのデータIと、エラーチ
ェックコードFCSとになる。
Normally, the format for data transmission through a transmission line is as shown in Figure 3, with 7 lags F indicating the start and end of the information, addresses A of the station and terminal equipment, and control 4-L C. , a data word length (or byte length) WL, data I of up to several kilobytes, and an error check code FCS.

このようなフォーマットで受信さnるデータについて、
ホストコンピヱータ、端末装置と四−カルコンピユータ
のやシとシは以下の(に〜(R)の手原とする。
For data received in such a format,
The host computer, terminal device, and four-cal computer system are based on the following (2~(R)).

(6)・・・ホストコンピュータ9.端末装置8からロ
ーカルコンピュータ10に対して割込みで受信可能(R
X ENB )であることを知らせる。この割込みに優
先コードと割込みフードを設けることによシ、ローカル
コンピュータはどの装置が受信可能かを認識する。
(6)...Host computer9. Can be received from the terminal device 8 to the local computer 10 by interrupt (R
X ENB). By providing a priority code and an interrupt hood for this interrupt, the local computer knows which devices can receive it.

(L)・・・ローカルコンビ二一タは伝送コントローラ
4に対して1つの受信バッファメモリとの間にデータバ
スを生成する。
(L)...The local combiner generates a data bus between the transmission controller 4 and one reception buffer memory.

−・・・伝送コ/トp−ラは第3図に示すフォーマット
で取込む情報から自ステーショy円のホストコンビ二一
タ又は端末装置に該当するアドレスAのデータをデータ
バスが生成式nた受信パン示のフォーマットのうちA 
、C、WLfローカルコンピュータに転送し、データ量
を受信ハックアメモリに転送する。
---The transmission controller generates data at address A corresponding to the host controller or terminal device of its own station from the information taken in in the format shown in Figure 3 using the data bus formula n. A of the received pan indication formats
, C, WLf to the local computer and transfer the amount of data to the receiving hacka memory.

(財)・・・伝送コントローラは全てのデータを受信バ
ックアメモリに転送し終えたときに受信終了をローカル
コンビ二一夕へ割込みで知らせる。
(Incorporated)...When the transmission controller has finished transferring all data to the reception backup memory, it notifies the local combination unit of the completion of reception by an interrupt.

(0)・・・ローカルコンピュータは受信終了の割込み
で伝送コントローラに対して次の受信バッファメモリに
対するデータバスを生成する。
(0)...The local computer generates a data bus for the next reception buffer memory to the transmission controller at the reception end interrupt.

(P)・・・ローカルコンピュータは受信データのアド
レスAi読み、該アドレスに該当するホストコンピュー
タ又は端末装置が受信可能(RX ENB )であnば
尚該受信バッファメモリと受信可能装置との間にデータ
バスを生成する。
(P)...The local computer reads the address Ai of the received data, and if the host computer or terminal device corresponding to the address is receivable (RX ENB), the data is stored between the receive buffer memory and the receivable device. Generate data bus.

(Q)・・・データバスを生成した端末装置又はホスト
コンビ二一タに対して、ローカルコンピュータは割込み
を発生し、該装置に対しての受信データが指定する受信
バッファメモリに格納ざnていることを知らせる(RX
 DONK)。
(Q)...The local computer generates an interrupt for the terminal device or host computer that generated the data bus, and the received data for the device is stored in the specified receive buffer memory. Let me know that you are there (RX
DONK).

(RJ・・・割込みを受けたホストコンピュータ又は端
末装置は当該受信バク7アメモリからのデータを読込ん
だ後、次のデータの受信可能(RXENB)をローカル
コンピュータに割込みで知らせる。
(RJ... After receiving the interrupt, the host computer or terminal device reads the data from the reception buffer memory, and then notifies the local computer that it is ready to receive the next data (RXENB) by interrupting it.

このような受信処理において、受信バッファメモリにワ
ード長(バイト長)WLで指定さnるデータ量だけ格納
さnたことは伝送コントローラか\らの受信終了の割込
みで四−カルコンピユータが認識する6また。受信バッ
ファメモリの空白状態はデータ受信のホストコンピュー
タ又は端末・装置からの受信可能(RX ENB )の
割込みでローカルコンピュータが認識する。この認識は
伝送フォーffット中のワード数WE、をローカルコン
ピュータがDMAにセットし、データ受信のホストコン
ピュータ又は端末装置のデータ読込みと共にカウントア
ツプすることで行なう。
In such reception processing, the four-cal computer recognizes that the amount of data specified by the word length (byte length) WL has been stored in the reception buffer memory by the reception end interrupt from the transmission controller. 6 again. The empty state of the reception buffer memory is recognized by the local computer by a reception ready (RX ENB ) interrupt from the data reception host computer or terminal/device. This recognition is performed by setting the number of words WE in the transmission format in the DMA by the local computer, and counting up as the data is read by the data receiving host computer or terminal device.

このような送受信データのやシとシにおいて、データバ
ス生成iルチプレクサ13は第4図に示す構成にしてそ
の機能を実現できる。同図は2つの端末装置が2つの送
信バッファメモリ又は受信バッフ7メそりもしくは1つ
の送信バッファメモリと受信バックアメモリを共用する
場合で示す。バックアメモリ14. 、14.は夫々双
方向性バスドライバ15s t 15! K結合され、
インターフェイスを含む2つの端末装置(もしくはホス
トコンビ二−タ)161 、161は夫々マルチプレク
サ17. 、17.に結合さn、バスドライバ151は
マルチプレクサ17.と17.の両方と結合ぢn1同様
にバスドライバ15.はマルチプレクサ17.と17.
の両方と結合ざnる。バスドライバ15、 、15.は
四−カルコンピユータ10から与えらnる方向指定信号
DIRによってデータの入出力方向を切換え、ローカル
コンピュータ10から与えられるデータ入出力可能信号
ENBによってデータの入出力動作をする。マルチプレ
クサ17s 、 17tはローカルコンピュータ10か
ら与えらnるバッファ選択信号BSによって端末装置に
接続する双方向性バスドライバ151又は15.t−選
択する。
In the case of such transmission/reception data, the data bus generation multiplexer 13 can be configured as shown in FIG. 4 to realize its function. This figure shows a case in which two terminal devices share two transmitting buffer memories, seven receiving buffers, or one transmitting buffer memory and receiving backup memory. Backa memory 14. , 14. are respectively bidirectional bus drivers 15s t 15! K-coupled,
Two terminal devices (or host combiners) 161, 161 each including an interface are connected to a multiplexer 17. , 17. bus driver 151 is coupled to multiplexer 17.n. and 17. Connects both n1 and bus driver 15. is multiplexer 17. and 17.
It is combined with both. Bus driver 15, , 15. switches the data input/output direction in response to the n direction designating signal DIR supplied from the four-cal computer 10, and performs data input/output operations in accordance with the data input/output enable signal ENB supplied from the local computer 10. The multiplexers 17s, 17t are connected to bidirectional bus drivers 151 or 15. t-Select.

以上のとおシ、本発明は送受信バックアメモリを各端末
装置、ホストコンピュータに固定的に持たせずに複数の
装置でメモリの一部を共用して使用可能にするため、処
理速度の遅い端末装置の受信バッファがビジーになるの
を極めて少なくするし、ダブルバッファを持つ場合より
もバッファメモリの効率良い使用が可能となる。また、
送受信バッファメモリの管理をインテリジェントの小で
い伝送コントローラに行なわせるのでなく高インテリジ
ェントのローカルコンビ二一タによる管理のため、伝送
コントローラの負担全軽減してそのハードウェア量軽減
、小型化ざらに高速伝送にあってもその消費電力を少な
くできる。また、送受信バッファメモリの管理や送信時
の優先決定など金高インテリジェントなローカルコンピ
ュータで行なウタめ、ステーションにつながる端末装置
数の変更に対しても柔軟性良く対応できる。
As described above, the present invention does not have a transmission/reception backup memory fixedly provided in each terminal device or host computer, but allows a plurality of devices to share a part of the memory and use it in a terminal device with a slow processing speed. This greatly reduces the chance that the receiving buffer of the receiver becomes busy, and allows for more efficient use of buffer memory than when a double buffer is used. Also,
Instead of having a small intelligent transmission controller manage the sending and receiving buffer memory, it is managed by a highly intelligent local computer, which reduces the burden on the transmission controller, reduces the amount of hardware, and makes it smaller and faster. Even in transmission, power consumption can be reduced. In addition, the highly intelligent local computer manages the sending and receiving buffer memory and determines priorities during sending, and can respond flexibly to changes in the number of terminal devices connected to the station.

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

第1図は従来のバッツアリング方式全説明するためのス
テーション構成図、第2図は本発明の一実施例會示すス
テーション構成図、第3図は送受信データのフォーマッ
ト構成図、第4図は第2図におけるデータバス生成マル
チプレクサの一実施例會示すプ四ツク図である。 1・・・伝送路、2・・・送信器、3・・・受信器、4
・・・伝送コント四−ラ、5・・・四−カルバス、6.
7・・・インターフェイス、8・・・端末装置、9・・
・ホストコンビ二一タ、10・・・ローカルコンピュー
タ、Ilt 、11tlit・・・受信バッファメモリ
、 121.12.・・・送信バッファメモリ、13・
・・データバス生成マルチプレクサ、14.。 14、・・・バッファメモリ、15. 、15.・・・
双方向性バスドライバ、 161 、16t・・・端末
装置、17s −17t・・・マルチプレクブ。 1梱昭59−230346 (8)
Fig. 1 is a station configuration diagram for fully explaining the conventional batsuring system, Fig. 2 is a station configuration diagram showing an embodiment of the present invention, Fig. 3 is a format configuration diagram of transmitted and received data, and Fig. 4 is a station configuration diagram showing an embodiment of the present invention. FIG. 3 is a four-dimensional diagram illustrating one embodiment of the data bus generation multiplexer in FIG. 1... Transmission path, 2... Transmitter, 3... Receiver, 4
. . . transmission controller 4, 5 . . 4 karbus, 6.
7...Interface, 8...Terminal device, 9...
・Host combiner, 10...Local computer, Ilt, 11tlit...Reception buffer memory, 121.12. ...Transmission buffer memory, 13.
...Data bus generation multiplexer, 14. . 14, . . . buffer memory, 15. , 15. ...
Bidirectional bus driver, 161, 16t... terminal device, 17s - 17t... multiplexer. 1 package Showa 59-230346 (8)

Claims (2)

【特許請求の範囲】[Claims] (1)伝送路で結合ざnる各ステーションにホストコン
ピュータを含む複数の端末装置が設けらnる伝送装置に
おいて、上記ステーションに拡、伝送路上のデータ受信
と伝送路上へのデータ送信を制御する伝送コント四−ラ
と、この伝送;ント四−2とp−カルパスで結合さnて
送信データを一旦記憶する複数の送信バックアメモリと
、上記伝送コントロー2とに一カルパスで結−8−@n
て受信データ會一旦記憶する複数の受信バッフ7メモリ
と、上記受信バックアメモリのうち指定でnる受信バッ
ファメモリからのデータを指定さnる端末装置に与えか
つ上記送信バックアメモリのうち指定される送信バッフ
ァメモリに上記端末装置のうちの指定さnる端末装置か
らの送出データを与えるデー p ハス生成マルチプレ
クサと、上記四−カルバスに結合さn上記伝送コントロ
ーラと上記送信及び受信バッファメモリとの間のデータ
バスを生成しかつ該バックアメそりと上記端末装置との
間のデータバス生成を上記マルチプレクサの制御で行な
5四−カルコンピユータとを備え、上記各端末装置に対
して送受可能な送信及び受信バッファメモリを複数割当
て上記ローカルコンビ二−タハ該割当てらnるバッファ
メモリのうちの空白状態の、バッファメモリ?使って送
信又は受信データを格納、払出しの制御をすることt特
徴とする伝送装置の送受信データのバッファリング方式
(1) In a transmission device in which a plurality of terminal devices including a host computer are provided at each station connected via a transmission path, the system is extended to the stations and controls data reception on the transmission path and data transmission on the transmission path. The transmission controller 4-2 is connected to the transmission controller 4-2 by a p-cal path, and a plurality of transmission backup memories for temporarily storing transmission data are connected to the transmission controller 2 by a cal-path. n
a plurality of reception buffers 7 memories that temporarily store received data; and data from a specified number of reception buffer memories among said reception backup memories is provided to a specified number of terminal devices; A data bus generating multiplexer for supplying transmission data from a designated terminal device of the terminal devices to the transmission buffer memory, a data bus generation multiplexer coupled to the four-car bus, and a link between the transmission controller and the transmission and reception buffer memory. and a 54-cal computer which generates a data bus between the backup system and the terminal device under the control of the multiplexer, and includes a 54-cal computer capable of transmitting and receiving data to and from each of the terminal devices. The local combiner allocates a plurality of reception buffer memories and selects an empty buffer memory among the allocated buffer memories. 1. A buffering method for transmitting and receiving data of a transmission device, characterized in that transmitting or receiving data is stored and output is controlled by using the transmitter.
(2)上記ローカルコンビ二一タは上記伝送コント四−
ラと送信又は受信バッファメモリとの間のデータバスに
当該バッファメモリのアドレスを伝送コント四−2に通
知してお(ことを特徴とする特許請求の範囲第1項記載
の伝送装置の送受信データのバッファリング方式。
(2) The above-mentioned local controller is the above-mentioned transmission controller.
Transmission and reception data of the transmission device according to claim 1, characterized in that the address of the buffer memory is notified to the transmission controller 4-2 on the data bus between the controller and the transmission or reception buffer memory. buffering method.
JP10533783A 1983-06-13 1983-06-13 Buffering system of transmission/reception data of transmitter Pending JPS59230346A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10533783A JPS59230346A (en) 1983-06-13 1983-06-13 Buffering system of transmission/reception data of transmitter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10533783A JPS59230346A (en) 1983-06-13 1983-06-13 Buffering system of transmission/reception data of transmitter

Publications (1)

Publication Number Publication Date
JPS59230346A true JPS59230346A (en) 1984-12-24

Family

ID=14404909

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10533783A Pending JPS59230346A (en) 1983-06-13 1983-06-13 Buffering system of transmission/reception data of transmitter

Country Status (1)

Country Link
JP (1) JPS59230346A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4890102A (en) * 1987-05-26 1989-12-26 Cabletron, Inc. Visual display for communication network monitoring and troubleshooting
US5057829A (en) * 1989-03-02 1991-10-15 Secom Information Products Company Computer networking apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4890102A (en) * 1987-05-26 1989-12-26 Cabletron, Inc. Visual display for communication network monitoring and troubleshooting
US5057829A (en) * 1989-03-02 1991-10-15 Secom Information Products Company Computer networking apparatus

Similar Documents

Publication Publication Date Title
US5175818A (en) Communication interface for independently generating frame information that is subsequently stored in host memory and sent out to transmitting fifo by dma
US5477541A (en) Addressing technique for storing and referencing packet data
US5524007A (en) Network interface architecture for a packet switch communication system
US6414961B1 (en) ATM switching with virtual circuit FIFO buffers
JPH08508592A (en) Method and apparatus for data buffering in a data station of a communication network
US20060161694A1 (en) DMA apparatus
EP3644192B1 (en) Master chip, slave chip, and dma transfer system between chips
JPS6336586B2 (en)
US5923852A (en) Method and system for fast data transmissions in a processing system utilizing interrupts
US4796022A (en) Double transit bus system
JPS59230346A (en) Buffering system of transmission/reception data of transmitter
US7603491B2 (en) Bandwidth conserving protocol for command-response bus system
JPS5986940A (en) Information transmitting system of multi-drop system
JP2538901B2 (en) Bus coupling device
EP0341670B1 (en) Processing time allocation system and method
JPH066387A (en) Method and device for data transfer control
JP3505540B2 (en) Data transfer device
JPH02260845A (en) Atm cell multiplexer
JPS6260045A (en) Communication controller
JPS60183659A (en) Information transfer control system
JPS5840952A (en) Data transmission method
JPS5830256A (en) Communication controller
JP2005143009A (en) Private branch exchange
JPH10341257A (en) Packet processing unit
JPH0311142B2 (en)