JPS63310247A - Data transmitting buffer controller - Google Patents

Data transmitting buffer controller

Info

Publication number
JPS63310247A
JPS63310247A JP62146456A JP14645687A JPS63310247A JP S63310247 A JPS63310247 A JP S63310247A JP 62146456 A JP62146456 A JP 62146456A JP 14645687 A JP14645687 A JP 14645687A JP S63310247 A JPS63310247 A JP S63310247A
Authority
JP
Japan
Prior art keywords
data
buffer memory
bytes
transmission
buffer
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
JP62146456A
Other languages
Japanese (ja)
Inventor
Hatsuo Murata
村田 初穂
Hiroshi Ikeda
弘志 池田
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
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 filed Critical NEC Corp
Priority to JP62146456A priority Critical patent/JPS63310247A/en
Publication of JPS63310247A publication Critical patent/JPS63310247A/en
Pending legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)

Abstract

PURPOSE:To send out a data without delay as necessary by instructing to start to send out a data from a buffer memory control circuit and outputting it, when an accumulation of the inside of a data transmission use buffer memory reaches the quantity which is set in advance. CONSTITUTION:In the case of sending out a transmitting data consisting of N bytes, as a unit block, a signal for showing a fact that the block length is N bytes is inputted from a transmitting data length input terminal 3. Subsequently, from a data input terminal 1, a transmitting data is written successively to a buffer memory 100 by a byte unit. Next, how many bytes in the transmitting data of N bytes have been accumulated in the memory 100 is outputted to a byte number output terminal 12. Next, a buffer memory control circuit 200 refers to a value on the terminal 12, and calculates bytes of the quantity determined in advance, from a data write speed, a data read-out speed, and the number of bytes of the transmitting data. When the data is accumulated in the memory 100, a start signal is outputted from a transmission start terminal 21 and the data is sent out of the memory 100, and an underrun phenomenon of the data transmission can be prevented.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はデータ通信に関し、特にデータ送信のためのバ
ッツァメそりの制御に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to data communications, and more particularly to control of batsame sleds for data transmission.

(従来の技術〉 従来、この種のデータ送信用バッファはファストイン−
ファストアウト形のバッファキュー管数バイト用意し、
このバッファに送信すべきデータt−順々に書込み、書
込まれた順に取出す方式が公知であった。
(Conventional technology) Conventionally, this type of data transmission buffer has a fast-in
Prepare several fast-out type buffer queue tubes,
A known method is to sequentially write data t to be transmitted into this buffer and take it out in the order in which it was written.

(発明が解決しようとする問題点) 上述した従来のデータ送信用バッファでは、送出データ
の書込み速度(例えば、バイト、少)と読出し速度(例
えば、バイト7秒)とがはy等しい場合、書込み速度が
遅くなるとバッファ中のデータをすべて送出してしまい
、送出すべきデータが送出すべき時刻に準備できない現
象であるアンダーラン現象が発生すると云う欠点がある
(Problems to be Solved by the Invention) In the conventional data transmission buffer described above, if the writing speed (for example, bytes, small) and the reading speed (for example, bytes, 7 seconds) of the sending data are equal to y, then the writing If the speed is slow, all the data in the buffer will be sent out, resulting in an underrun phenomenon in which the data to be sent out is not ready at the time it should be sent out.

このようなアンダーラン現象1防ぐに扛バッファメモリ
の容量を大きくする必要があるが、単にバッファメモリ
の容量を増加しただけではバッファメモリ内に蓄積され
る送信データの量の増加を保証できない。
To prevent such underrun phenomenon 1, it is necessary to increase the capacity of the buffer memory, but simply increasing the capacity of the buffer memory cannot guarantee an increase in the amount of transmission data stored in the buffer memory.

他方、送出すべきデータtすべてバッファに書込み完了
した後、送出を開始する方式も公知ではあるが、バッフ
ァの容量として1回にまとめて送出すべきブロックの最
大要分を準備する必要があると云う欠点があり、さらに
、バッファへの書込み完了までデータの送出開始全遅ら
せる必要があると云う欠点がある◎ 本発明の目的は、1回の転送ブロック長のデータを入力
とし、これに対応して予め定められたデータ量までバッ
ファ内に送信データが蓄積され九ときに、バッファから
のデータ送出の開始tl示し、バッファ内に蓄積された
送信データのデータtを出力するとともに、データ送出
の開始が指示されるまでバッファ内の蓄積されたデータ
を保持することによって上記欠点を除去し、データを必
要なだけ遅れなく送出できるように構成したデータ送信
ノ(ソファ制御装置上提供することにある。
On the other hand, although there is a known method in which sending is started after all data t to be sent has been written into the buffer, it is necessary to prepare the maximum amount of blocks to be sent at one time as the buffer capacity. In addition, there is a disadvantage that it is necessary to completely delay the start of sending data until the writing to the buffer is completed. The purpose of the present invention is to input data of one transfer block length and to respond to this. When the transmission data has been accumulated in the buffer up to a predetermined amount of data, tl indicates the start of data transmission from the buffer, outputs data t of the transmission data accumulated in the buffer, and starts data transmission. The present invention is to provide a data transmission function (on the sofa control device) which is configured to eliminate the above-mentioned drawbacks by holding the accumulated data in a buffer until instructed to do so, and to transmit the data as long as necessary without delay.

(問題点を解決するための手段) 本発明によるデータ送信バッファ制御a装置はバッファ
メモリと、バッファメモリ制御回路と全具備して構成し
たものである。
(Means for Solving the Problems) The data transmission buffer control device a according to the present invention is configured to include both a buffer memory and a buffer memory control circuit.

バッファメモリは、データの送出開始が指示されるまで
データを保持するためのものである。
The buffer memory is for holding data until the start of data transmission is instructed.

バッファメモリ制御回路は1回の転送データブロック長
全入力とし、対応して設定されたデータtまでバッファ
内に送信データが蓄積されたときにバッファメモリから
データの送出開始を指示するとともに、バッファメモリ
内に蓄積された送信データのデータ量全出力するための
ものである。
The buffer memory control circuit inputs the entire transfer data block length at one time, and when the transmission data is accumulated in the buffer up to the correspondingly set data t, it instructs to start sending data from the buffer memory, and This is for outputting the entire amount of transmission data accumulated within.

(冥 施例) 次に1本発明について図面を参照して説明する。(Mei example) Next, one embodiment of the present invention will be explained with reference to the drawings.

第1肉は、本発明によるデータ送信バッファ制御装置の
一実施例を示すブロック図である。
The first part is a block diagram showing an embodiment of a data transmission buffer control device according to the present invention.

第1図において、100はバッファメモリ、200はバ
ッファメモリ制御回路である。
In FIG. 1, 100 is a buffer memory, and 200 is a buffer memory control circuit.

バッファメモリ100は、データ入力端子1に接続され
る入力端子10と、データ出力端子2に接続される出力
端子11と、バッファメモIJ 100内の蓄積データ
のバイト数を出力するバイト数出力端子12と、バッフ
ァメモリ制御回路200における送信起動出力端子21
に接続される送信可入力端子13とを有するロバラフア
メモリ制御回路200は、送信ブロック長入力端子3に
接続されるブロック長人力抱子20と、バッファメモリ
100におけるバイト数出力端子12に接続されるバイ
ト数入力端子22と、送信起動出力端子21とを有する
。−次に、第1囚を参照して本発明の詳細な説明する。
The buffer memory 100 has an input terminal 10 connected to a data input terminal 1, an output terminal 11 connected to a data output terminal 2, and a byte number output terminal 12 that outputs the number of bytes of accumulated data in the buffer memory IJ 100. and a transmission activation output terminal 21 in the buffer memory control circuit 200.
The robal buffer memory control circuit 200 has a transmit enable input terminal 13 connected to the transmit block length input terminal 3, and a block length input terminal 20 connected to the transmit block length input terminal 3, and a byte count output terminal 12 connected to the byte number output terminal 12 in the buffer memory 100. It has a number input terminal 22 and a transmission activation output terminal 21. - Next, the present invention will be explained in detail with reference to the first case.

Nバイトより成る送信データを単位ブロックとして送出
する場合、送信データ長入力端子3からブロック長がN
バイトであることを表わす信号が入力される。続いて、
データ入力端子1から順次、送信データがバイト単位で
バッファメモリ100に書込まれる。
When transmitting data consisting of N bytes as a unit block, the block length is N from the transmit data length input terminal 3.
A signal indicating that it is a byte is input. continue,
Transmission data is sequentially written to the buffer memory 100 in byte units starting from the data input terminal 1.

上記Nバイトの送信データのうちで何バイトがバックア
メモリ100内に蓄積されたかがバイト数出力端子12
に出力される。
The byte number output terminal 12 indicates how many bytes of the N bytes of transmission data have been accumulated in the backup memory 100.
is output to.

バッファメモリ制御回路200はバイト数出力端子12
上の[を参照し、データ書込み速度RW、データ読出し
速度RR5送信データのバイト数Nから、予め決められ
た一idバイi算出する。
The buffer memory control circuit 200 has a byte number output terminal 12
Referring to [ above, a predetermined id by i is calculated from the data write speed RW, data read speed RR5, and the number of bytes N of the transmitted data.

バッフアメそり100内にデータが蓄積されると、送信
起動端子21から起動信号が出力され、バッファメモリ
100からのデータの送出が開始される。
When data is accumulated in the buffer memory 100, a start signal is output from the transmission start terminal 21, and sending of data from the buffer memory 100 is started.

第2図に送信起動後の送信データ量と、バッファメモリ
100への書込みデータ量との関係を示す。第2図でD
WはバッファデーpJHIバイト数であり、Di(は送
出データ累積バイト数である。時刻1−0に送信が起動
されると、以後、Nバイトのデータが一定のデータ読出
し速度RRで送信されるので、送出データ量DDはDD
 −RR@t         tl)で示される。
FIG. 2 shows the relationship between the amount of data sent after starting transmission and the amount of data written to the buffer memory 100. D in Figure 2
W is the number of buffer data pJHI bytes, and Di( is the cumulative number of bytes of sent data. When transmission is activated at time 1-0, from then on, N bytes of data are transmitted at a constant data read speed RR. Therefore, the amount of data sent is DD
-RR@t tl).

他方、データ書込み速度凡Wは書込み側の事情により変
動するものの、最低速成はMin几Wにとど着るものと
する。そこで、バッファメモリ10(lに対して Min Rw +1t + d       f2>が
書込まれたデータ量の累fJI値の最低予想値である。
On the other hand, although the data writing speed W varies depending on the circumstances on the writing side, it is assumed that the minimum speed reaches Min几W. Therefore, Min Rw +1t + d f2> for the buffer memory 10 (l) is the lowest expected value of the cumulative fJI value of the amount of written data.

時刻TKNバイトだけ送出が完了するものとし、且つ、 M in Rw e ’r+a≧RR@T=N   (
3)が成立すれば、アンダーラン現象は発生しないこと
になる。dバイトは第(3)式から概算される。
It is assumed that transmission is completed by time TKN bytes, and M in Rw e 'r+a≧RR@T=N (
If 3) holds, the underrun phenomenon will not occur. d bytes are estimated from equation (3).

(発明の効果〕 以上説明したように本発明は、データ送信用バッファメ
モリの内部の蓄積データ量がNバイトの送信データ量に
対応して決定される値に達したときに、データ送信用バ
ッファメモリから実際のデータ送信を開始させるように
バッファメモリを制御することにより、データ送信用バ
ッファメモリへの書込み速度と読出し速度とがはソ等し
い場合に、データ送信のアンダーラン現象?防止できる
と云う効果がある。
(Effects of the Invention) As explained above, the present invention provides a buffer memory for data transmission when the amount of accumulated data inside the data transmission buffer memory reaches a value determined corresponding to the amount of transmission data of N bytes. By controlling the buffer memory to start actual data transmission from the memory, it is possible to prevent the underrun phenomenon of data transmission when the writing speed and reading speed to the data transmission buffer memory are equal. effective.

着た、Nバイト分の1回の送信データ量のバッファメモ
リを用意し、いったんバッファメモリへのデータの蓄積
が完了してから送信を開始する方式に比較すると、バッ
ファメモリの容量が小さくてすむと云う効果があり、さ
らにバッファメモリへの蓄積完了までデータ送出の開始
を遅らせて待つ必要がないので、バッファメモリでのデ
ータの遅延時間が小さくてすむと云う効果もある。
The capacity of the buffer memory is smaller than the method in which a buffer memory is prepared for the amount of N bytes of data to be sent once, and the transmission is started once the data has been accumulated in the buffer memory. In addition, since there is no need to delay the start of data transmission until the storage in the buffer memory is completed, there is also the effect that the delay time for data in the buffer memory can be reduced.

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

第1図は、本発明によるデータ送信バッファ制御装置の
一実施例を示すブロック図である。 第2図は、第1図におけるバッファメモリへのデータの
累積バイト数と時刻との関係を示す説明図である。 100・・・バッファメモリ
FIG. 1 is a block diagram showing an embodiment of a data transmission buffer control device according to the present invention. FIG. 2 is an explanatory diagram showing the relationship between the cumulative number of bytes of data stored in the buffer memory in FIG. 1 and time. 100...Buffer memory

Claims (1)

【特許請求の範囲】[Claims] データの送出開始が指示されるまで前記データを保持す
るためのバッファメモリと、1回の転送データブロック
長を入力とし、対応して設定されたデータ量まで前記バ
ッファ内に送信データが蓄積されたときに前記バッファ
メモリからの前記データの送出開始を指示するとともに
、前記バッファメモリ内に蓄積された送信データのデー
タ量を出力するためのバッファメモリ制御回路とを具備
して構成したことを特徴とするデータ送信バッファ制御
装置。
A buffer memory for holding the data until the start of data transmission is instructed, and the length of one transfer data block are input, and the transmission data is accumulated in the buffer up to the correspondingly set data amount. and a buffer memory control circuit for instructing the start of transmission of the data from the buffer memory and for outputting the amount of transmission data accumulated in the buffer memory. Data transmission buffer control device.
JP62146456A 1987-06-12 1987-06-12 Data transmitting buffer controller Pending JPS63310247A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62146456A JPS63310247A (en) 1987-06-12 1987-06-12 Data transmitting buffer controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62146456A JPS63310247A (en) 1987-06-12 1987-06-12 Data transmitting buffer controller

Publications (1)

Publication Number Publication Date
JPS63310247A true JPS63310247A (en) 1988-12-19

Family

ID=15408050

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62146456A Pending JPS63310247A (en) 1987-06-12 1987-06-12 Data transmitting buffer controller

Country Status (1)

Country Link
JP (1) JPS63310247A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02234544A (en) * 1989-03-08 1990-09-17 Fujitsu Ltd Time division multiplex data packet conversion circuit
JP2007235211A (en) * 2006-02-27 2007-09-13 Fujitsu Ltd Data transmitter-receiver, data transmission reception method, and data transmission reception program
JP2010045836A (en) * 2009-10-23 2010-02-25 Yamaha Corp Communication node and network

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02234544A (en) * 1989-03-08 1990-09-17 Fujitsu Ltd Time division multiplex data packet conversion circuit
JP2007235211A (en) * 2006-02-27 2007-09-13 Fujitsu Ltd Data transmitter-receiver, data transmission reception method, and data transmission reception program
JP2010045836A (en) * 2009-10-23 2010-02-25 Yamaha Corp Communication node and network

Similar Documents

Publication Publication Date Title
KR100284718B1 (en) Timer manager
JPH0146892B2 (en)
US6134629A (en) Determining thresholds and wrap-around conditions in a first-in-first-out memory supporting a variety of read and write transaction sizes
JPS6055848B2 (en) information processing equipment
JPS63310247A (en) Data transmitting buffer controller
US6584512B1 (en) Communication DMA device for freeing the data bus from the CPU and outputting divided data
JPH0433029A (en) Memory device and driving method thereof
EP0334552A2 (en) Semiconductor file memory and storage system using the same
US5590279A (en) Memory data copying apparatus
JP2597040B2 (en) FIFO memory device
JP2723038B2 (en) Method of storing data in storage device
JPS5824253A (en) Packet synthesizing system
JP2944193B2 (en) Data receiving device
JP2000132498A (en) Dma transfer controller
US7421459B2 (en) Buffer management for data transfers between a host device and a storage medium
KR0154990B1 (en) Address generator for cd-rom data
JP3146864B2 (en) Unidirectional loop transmission circuit
JPH0581165A (en) Data transfer circuit
JPH0221695B2 (en)
JP2552015B2 (en) Data transfer device
JPS6041158A (en) Bus control system
JPH01311650A (en) Data transfer method
JPS6294042A (en) Communication control equipment
KR930008501B1 (en) Apparatus and method for transmitting and receiving message
JPS6048774B2 (en) Data file management method