JP3196661B2 - Data transmission device - Google Patents

Data transmission device

Info

Publication number
JP3196661B2
JP3196661B2 JP25643796A JP25643796A JP3196661B2 JP 3196661 B2 JP3196661 B2 JP 3196661B2 JP 25643796 A JP25643796 A JP 25643796A JP 25643796 A JP25643796 A JP 25643796A JP 3196661 B2 JP3196661 B2 JP 3196661B2
Authority
JP
Japan
Prior art keywords
header
data
frame
size
information
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 - Fee Related
Application number
JP25643796A
Other languages
Japanese (ja)
Other versions
JPH10107855A (en
Inventor
正 定村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP25643796A priority Critical patent/JP3196661B2/en
Publication of JPH10107855A publication Critical patent/JPH10107855A/en
Application granted granted Critical
Publication of JP3196661B2 publication Critical patent/JP3196661B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Communication Control (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はデータ送信装置に関
し、特に情報データの各フレームにヘッダを付して送信
する機能を備えたデータ送信装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transmitting apparatus, and more particularly to a data transmitting apparatus having a function of attaching a header to each frame of information data and transmitting the frame.

【0002】[0002]

【従来の技術】情報データにヘッダを付して通信回線に
送出するデータ送信装置には、複数のフレームから成る
情報データを記憶するメインメモリ内に、これら情報デ
ータの各フレームそれぞれにヘッダを付して対応するヘ
ッダ及び情報データのフレームを1単位として連続した
アドレスの領域に転送し直して送信するものや、情報デ
ータ各フレームメインメモリに、そのヘッダは他のメモ
リに記憶しておき、これらを互いに対応させて順次読出
し送信するもの(例えば、特開昭62−98444号公
報参照)などがある。これら従来のデータ送信装置の前
者を第1の例として図3に、後者を第2の例として図4
に示す。
2. Description of the Related Art In a data transmitting apparatus for attaching a header to information data and transmitting the information data to a communication line, a header is attached to each frame of the information data in a main memory for storing information data composed of a plurality of frames. Then, the corresponding header and information data frame are transferred as a unit to a continuous address area and transmitted again, or the information data is stored in each frame main memory, and the header is stored in another memory. (See, for example, Japanese Patent Application Laid-Open No. 62-98444). FIG. 3 shows the former of these conventional data transmission apparatuses as a first example, and FIG. 4 shows the latter as a second example.
Shown in

【0003】図3に示された第1の例のデータ送信装置
は、所定のアドレスに情報データの各フレーム(IDT
a,IDTb等)及びこれら情報データの各フレームと
対応するヘッダ(HDa,IDb等)を書込んで記憶
し、読出すメインメモリ1xと、このメインメモリ1x
に対するアクセス制御を行うDMA制御部22x、及び
順次供給されるヘッダ及び情報データのフレームを記憶
し所定のデータフォーマットに従って通信回線へ送出す
る送信用FIFOメモリ21を備え、データ送信要求に
応答してDMA制御部22xを起動し、このDMA制御
部22xの制御のもとにメインメモリ1xの連続するア
ドレスからヘッダ及び情報データのフレームの順次読出
して送信FIFOメモリ21に供給した御順次通信回線
へ送出する通信用コントローラ2xと、情報データの各
フレームそれぞれに対応するヘッダを付与してメインメ
モリ1xの所定のアドレスに書込み記憶させ、情報デー
タの各フレームを対応するヘッダの連続するアドレスに
転送し、通信用コントローラ2xにデータ送信要求を出
力するCPU4xと、メインメモリ1x,通信用コント
ローラ2x及びCPU4xの間でシステムバスSBを介
して行なわれるデータの授受を制御するバスコントロー
ラ3xとを有する構成となっている。
[0003] The data transmitting apparatus of the first example shown in FIG. 3 is configured such that each frame of information data (IDT) is stored at a predetermined address.
a, IDTb, etc.) and a header (HDa, IDb, etc.) corresponding to each frame of these information data are written, stored and read out, and a main memory 1x
A control unit 22x for controlling access to the data and a transmission FIFO memory 21 for storing a header and a frame of information data sequentially supplied and transmitting the frame to a communication line in accordance with a predetermined data format, The control unit 22x is started, and under the control of the DMA control unit 22x, the header and information data frames are sequentially read from consecutive addresses in the main memory 1x and transmitted to the sequential communication line supplied to the transmission FIFO memory 21. The communication controller 2x, a header corresponding to each frame of the information data is added and written and stored at a predetermined address of the main memory 1x, and each frame of the information data is transferred to a continuous address of the corresponding header, and the communication is performed. CPU 4x that outputs a data transmission request to controller 2x Has a configuration having a bus controller 3x for controlling the exchange of data performed via the system bus SB between the main memory 1x, communication controller 2x and CPU4x.

【0004】次に、この第1の動作について説明する。Next, the first operation will be described.

【0005】送信する情報データはメインメモリ1xに
記憶され、フレーム単位(IDTa,IDTb)に分割
されて送信される。これらフレーム(IDTa,IDT
b)それぞれにはヘッダを付して送信する必要があるた
め、CPU4xは、これら情報データの各フレームID
Ta,IDTbそれぞれにヘッダHDa,HDbを付与
し、メインメモリ1xの所定のアドレス領域に、対応す
るヘッダ及び情報データのフレームが連続したアドレス
に記憶されるように書込み,転送した後、通信用コント
ローラ2xにデータ送信要求を出す。このデータ送信要
求時には、ヘッダの先頭アドレスと、ヘッダ及び対応す
るフレームのサイズの合計である送信データサイズとを
指定する。
[0005] The information data to be transmitted is stored in the main memory 1x, and is divided and transmitted in frame units (IDTa, IDTb). These frames (IDTa, IDT
b) Since each of them needs to be transmitted with a header attached, the CPU 4x
After adding headers HDa and HDb to Ta and IDTb, respectively, and writing and transferring the corresponding header and information data frames in a predetermined address area of the main memory 1x so as to be stored at continuous addresses, the communication controller Send a data transmission request to 2x. At the time of this data transmission request, the header address of the header and the transmission data size which is the total size of the header and the corresponding frame are specified.

【0006】通信用コントローラ2xはこのデータ送信
要求に応答して内部のDMA制御部22xを起動し、ヘ
ッダ(例えばHDa)及び対応するフレーム(IDT
a)を連続して読出すための読出し信号及びアドレス信
号を出力する。これを受けて、バスコントローラ3xの
制御のもとに、メインメモリ1xからヘッダ(HDa)
及び対応する情報データのフレーム(IDTa)が連続
して読出され、通信用コントローラ2xの送信用FIF
Oメモリ21xに順次転送される。送信用FIFOメモ
リ21xは、転送されたこれらデータを送信データフォ
ーマットに従って順次通信回線へ送出する。
The communication controller 2x activates the internal DMA control unit 22x in response to the data transmission request, and transmits a header (eg, HDa) and a corresponding frame (IDT).
a) to output a read signal and an address signal for successively reading out a). In response, the header (HDa) is transmitted from the main memory 1x under the control of the bus controller 3x.
And the corresponding information data frame (IDTa) is read continuously, and the transmission FIF of the communication controller 2x is read.
The data is sequentially transferred to the O memory 21x. The transmission FIFO memory 21x sequentially sends the transferred data to the communication line according to the transmission data format.

【0007】次のヘッダ(HDb)及び対応する情報デ
ータのフレーム(IDTb)についても同様の動作をく
り返えして、順次通信回線に送出される。
The same operation is repeated for the next header (HDb) and the corresponding information data frame (IDTb), and the frames are sequentially transmitted to the communication line.

【0008】図4に示された第2の例では、情報データ
を記憶するメインメモリ71と、ヘッダを記憶するロー
カルメモリ61とが別々に設けられ、メインメモリ71
とメインプロセッサ72とでステーション7を形成し、
ローカルメモリ61,DMA制御部62,送信用FIF
Oメモリ63,ローカルプロセッサ64,バスコントロ
ーラ65及びローカルバスLBにより通信制御ボード6
を形成している。また、ステーション7と通信制御ボー
ド6との間のデータの授受は、システムバスSBを介し
て行なわれる。
In the second example shown in FIG. 4, a main memory 71 for storing information data and a local memory 61 for storing a header are separately provided.
And the main processor 72 to form the station 7,
Local memory 61, DMA control unit 62, transmission FIF
The communication control board 6 includes an O memory 63, a local processor 64, a bus controller 65, and a local bus LB.
Is formed. The exchange of data between the station 7 and the communication control board 6 is performed via the system bus SB.

【0009】次にこの第2の例の動作について説明す
る。
Next, the operation of the second example will be described.

【0010】この第2の例では、情報データの送信はロ
ーカルプロセッサ64の制御のもとに行なわれる。情報
データを送信するとき、まず、情報データの各フレーム
それぞれと対応するヘッダをローカルメモリ61に書込
む。その後、DMA制御部62を起動し、ローカルメモ
リ61に記憶されている1つのヘッダを読出して送信用
FIFOメモリ63に転送する。続いてDMA制御部6
2により、メインメモリ71に記憶されている情報デー
タの対応するフレームを読出し送信用FIFOメモリ6
3に転送する。そして送信用FIFOメモリ63は、転
送されたこれらデータを送信データフォーマットに従っ
て順次通信回線へ送出する。
In this second example, transmission of information data is performed under the control of local processor 64. When transmitting information data, first, a header corresponding to each frame of the information data is written in the local memory 61. After that, the DMA control unit 62 is started, and one header stored in the local memory 61 is read and transferred to the transmission FIFO memory 63. Subsequently, the DMA control unit 6
2, the corresponding frame of the information data stored in the main memory 71 is read and the FIFO memory for transmission 6
Transfer to 3. Then, the transmission FIFO memory 63 sequentially transmits the transferred data to the communication line according to the transmission data format.

【0011】[0011]

【発明が解決しようとする課題】上述した従来のデータ
送信装置は、第1の例では、メインメモリ1xに記憶さ
れている情報データの各フレーム(IDTa,IDT
b)を、別のアドレス領域に、付与されて書込まれたヘ
ッダ(HDa,HDb)と対応するフレームとが連続し
たアドレスとなるように転送し直す必要があるため、C
PU4xの負荷が重くなり、かつメインメモリ1xの使
用効率が悪いという問題点があり、第2の例では、情報
データはメインメモリ71に記憶され、そのヘッダはロ
ーカルメモリ61に記憶されていて、1つのヘッダをロ
ーカルメモリ61の所定のアドレスから読出して送信用
FIFOメモリ63に転送し、続いて対応する情報デー
タのフレームを、メインメモリ71の所定のアドレスか
ら読出して送信用FIFOメモリ63に転送する必要が
あり、2つのメモリ(61,71)それぞれに対して別
々にアドレス指定及び読出し動作が必要となるため、デ
ータ転送に時間がかかり送信効率が悪くなるという問題
点がある。
In the first example, the conventional data transmission apparatus described above uses the information data frames (IDTa, IDT) stored in the main memory 1x in the first example.
b) needs to be transferred again so that the header (HDa, HDb) added and written to another address area and the corresponding frame have a continuous address.
There is a problem that the load on the PU 4x becomes heavy and the use efficiency of the main memory 1x is low. In the second example, the information data is stored in the main memory 71, and the header thereof is stored in the local memory 61. One header is read from a predetermined address of the local memory 61 and transferred to the transmission FIFO memory 63, and then a corresponding frame of information data is read from a predetermined address of the main memory 71 and transferred to the transmission FIFO memory 63. This requires separate addressing and reading operations for each of the two memories (61, 71), so that there is a problem in that data transfer takes time and transmission efficiency deteriorates.

【0012】本発明の目的は、CPUの負荷を軽くする
と共にメインメモリの使用効率を向上させることがで
き、また、データ転送の時間を短縮して送信効率を向上
させることができるデータ送信装置を提供することにあ
る。
An object of the present invention is to provide a data transmission apparatus capable of reducing the load on a CPU, improving the use efficiency of a main memory, and shortening the data transfer time to improve the transmission efficiency. To provide.

【0013】[0013]

【課題を解決するための手段】本発明のデータ送信装置
は、複数のフレームから成る情報データを所定のアドレ
スにフレーム単位で書込み記憶しデータ読出し信号及び
アドレス信号に従ってこれらフレームを読出すメインメ
モリと、前記情報データの複数のフレームそれぞれと対
応するヘッダを順次書込み記憶しヘッダ読出し信号に従
って前記ヘッダを順次読出すヘッダ用FIFOメモリ
と、前記ヘッダのサイズを記憶するヘッダサイズ用レジ
スタ、データ送信要求に応答して前記ヘッダのサイズ分
の期間の前記ヘッダ読出し信号とこのヘッダ読出し信号
に続く前記フレームのサイズ分の期間の前記データ読出
し信号及び先頭アドレスの情報とを出力するDMA制御
部、並び前記ヘッダ用FIFOメモリから読出されたヘ
ッダ及び前記メインメモリから読出された情報データの
フレームを順次書込み記憶して通信回線へ送出する送信
用FIFOメモリを含む通信用コントローラと、前記デ
ータ読出し信号及び先頭アドレスの情報に従って前記メ
インメモリへのアドレス信号を出力するアドレス信号発
生手段とを有し、前記データ送信要求および前記アドレ
ス指定を1回の命令で行い、1つの読出し信号で前記ヘ
ッダ及び前記情報データの対応するフレームを読出して
前記送信用FIFOメモリに転送する構成である。
According to the present invention, there is provided a data transmitting apparatus comprising: a main memory for writing and storing information data consisting of a plurality of frames at predetermined addresses in frame units, and reading out these frames in accordance with a data read signal and an address signal; A header FIFO memory for sequentially writing and storing a header corresponding to each of the plurality of frames of the information data and sequentially reading the header in accordance with a header read signal; a header size register for storing the size of the header; A DMA controller for responding to output the header read signal for a period corresponding to the header size, the data read signal for a period corresponding to the frame size following the header read signal, and information on a start address; Header read from the FIFO memory for A communication controller including a transmission FIFO memory for sequentially writing and storing frames of information data read from the memory and sending the frames to a communication line; and outputting an address signal to the main memory in accordance with the data read signal and information on a head address. possess an address signal generating means for the data transmission request and the address
Is specified by one instruction and the readout signal is
And read the corresponding frame of the information data
In this configuration, the data is transferred to the transmission FIFO memory.

【0014】また、本発明のデータ送信装置は、ヘッダ
サイズ用レジスタにヘッダのサイズを設定して記憶さ
せ、ヘッダ用FIFOメモリに情報データの複数のフレ
ームそれぞれと対応するヘッダを順次書込み記憶させ、
データ送信要求を出すときに送信する情報データのフレ
ームの先頭アドレスの情報と前記ヘッダ及びフレームの
合計サイズから成る送信データサイズの情報とを併せ出
力するCPUを設け、アドレス信号発生手段を、通信用
コントローラ内に設けた構成とすることもでき、さら
に、ヘッダ読出し信号及びデータ読出し信号を、ヘッダ
のサイズ分の期間は第1のレベル、情報データのフレー
ムサイズ分の期間は第2のレベルとなる1つの信号とし
構成とすることもできる。
Further, the data transmitting apparatus of the present invention sets and stores a header size in a header size register, and sequentially writes and stores a header corresponding to each of a plurality of frames of information data in a header FIFO memory.
A CPU for outputting information of a start address of a frame of information data to be transmitted when a data transmission request is issued and information of a transmission data size including a total size of the header and the frame, and It can be configured in the controller,
Alternatively , the header readout signal and the data readout signal may be configured as a single signal having a first level during a period corresponding to the header size and a second level during a period corresponding to the frame size of the information data .

【0015】[0015]

【発明の実施の形態】次に本発明の実施の形態について
図面を参照して説明する。
Embodiments of the present invention will now be described with reference to the drawings.

【0016】図1は本発明の一実施の形態を示すブロッ
ク図である。
FIG. 1 is a block diagram showing an embodiment of the present invention.

【0017】この実施の形態は、複数のフレームIDT
a,IDTbから成る情報データを所定のアドレスにフ
レーム単位で書込み記憶し、ヘッダ・データ読出し信号
の第2のレベル及びアドレス信号に従ってこれらフレー
ムを読出すメインメモリ1と、情報データの複数のフレ
ームIDTa,IDTbそれぞれと対応するヘッダHD
a,HDbを順次書込み記憶しヘッダ・データ読出し信
号の第1のレベルに従ってこれらヘッダを順次読出すヘ
ッダ用FIFOメモリ5と、ヘッダHDa,HDbのサ
イズを記憶するヘッダサイズ用レジスタ23、データ送
信要求に応答して起動されヘッダHDa,HDbのサイ
ズ分の期間第1のレベル、情報データのフレームIDT
a,IDTbのサイズ分の期間第2のレベルとなるヘッ
ダ・データ読出し信号HDR及び読出し対象の情報デー
タのフレームの先頭アドレスからフレームサイズ分のア
ドレス信号を順次出力するDMA制御部22、並びにヘ
ッダ用FIFOメモリ2から読出されたヘッダ及びメイ
ンメモリ1から読出された情報データのフレームを順次
書込み記憶して送信データフォーマットに従って順次通
信回線へ送出する送信用FIFOメモリ21を含む通信
用コントローラ2と、ヘッダ・データ読出し信号HDR
の第1のレベルに応答してヘッダ用FIFOメモリ5か
ら情報データの所定のフレームと対応するヘッダ(例え
ばHDa)の読出し制御、この第2のレベル及び前述の
アドレス信号に応答してメインメモリ1から情報データ
の所定のフレーム(IDTa)の読出し制御、これらヘ
ッダ用FIFOメモリ5及びメインメモリ1から読出さ
れたヘッダ及び情報データのフレームの送信用FIFO
メモリ21への転送制御等をシステムバスSBを介して
行うバスコントローラ3と、ヘッダサイズ用レジスタ2
3へのヘッダのサイズの設定,記憶制御、ヘッダ用FI
FOメモリ5へのヘッダの書込み記憶制御、送信する情
報データのフレームの先頭アドレスの情報及びヘッダと
情報データとの合計のサイズの送信データサイズの情報
を含むデータ送信要求の出力を行うCPU4とを有する
構成となっている。
This embodiment uses a plurality of frame IDTs.
a, IDTb is written and stored at predetermined addresses in frame units, and the main memory 1 reads out these frames in accordance with the second level of the header data read signal and the address signal; and a plurality of frames of information data IDTa. , IDTb and corresponding header HD
a and HDb are sequentially written and stored, and a header FIFO memory 5 for sequentially reading these headers according to the first level of the header data read signal; a header size register 23 for storing the sizes of the headers HDa and HDb; , The first level of the period corresponding to the size of the headers HDa and HDb, and the frame IDT of the information data.
a, a header control unit 22 for sequentially outputting a header data read signal HDR at the second level for a period corresponding to the size of a and IDTb, and an address signal of a frame size from the head address of the frame of the information data to be read; A communication controller including a transmission FIFO memory for sequentially writing and storing a header read from the FIFO memory and a frame of information data read from the main memory and sequentially transmitting the frame to a communication line in accordance with a transmission data format; .Data read signal HDR
Read control of the header (eg, HDa) corresponding to a predetermined frame of information data from the header FIFO memory 5 in response to the first level, and the main memory 1 in response to the second level and the aforementioned address signal. Read control of a predetermined frame (IDTa) of information data from the FIFO memory 5 for header and the FIFO read from the main memory 1 and a transmission FIFO of a frame of information data
A bus controller 3 for controlling transfer to the memory 21 via a system bus SB;
3 setting of header size, storage control, FI for header
A CPU 4 for controlling the writing and storing of a header in the FO memory 5 and outputting a data transmission request including information on a start address of a frame of information data to be transmitted and information on a transmission data size of a total size of the header and the information data. Configuration.

【0018】次にこの実施の形態の動作について、図2
に示された各部信号のタイミング波形図を併せて参照し
説明する。
Next, the operation of this embodiment will be described with reference to FIG.
The description will be made with reference to the timing waveform diagrams of the signals of the respective parts shown in FIG.

【0019】メインメモリ1に記憶されている情報デー
タをフレーム単位で順次送信する場合、CPU4は、ま
ず、情報データの各フレームIDTa,IDTbそれぞ
れにヘッダを付与し、これをヘッダ用FIFOメモリ5
に順次記憶させると共に、ヘッダサイズ用レジスタ23
にヘッダのサイズを設定して記憶させる。
When sequentially transmitting the information data stored in the main memory 1 on a frame-by-frame basis, the CPU 4 first attaches a header to each of the frames IDTa and IDTb of the information data, and transfers this to the header FIFO memory 5.
And the header size register 23
The size of the header is set and stored.

【0020】次にCPU4は、通信用コントローラ2に
データ送信要求を出す。このときCPU4は、送信する
情報データのフレームIDTaの先頭アドレスの情報、
及びヘッダのサイズと情報データのフレームのサイズと
を合せた送信データサイズの情報を併せて出力する。
Next, the CPU 4 issues a data transmission request to the communication controller 2. At this time, the CPU 4 determines the information of the head address of the frame IDTa of the information data to be transmitted,
And information of a transmission data size obtained by combining the size of the header with the size of the frame of the information data.

【0021】通信用コントローラ2は、このデータ送信
要求に応答してDMA制御部22を起動し、DMA制御
部22は、ヘッダのサイズ分の期間高レベル(第1のレ
ベル)、情報データのフレームサイズ分の期間低レベル
(第2のレベル)となるヘッダ・データ読出し信号HD
Rを出力すると共にこのフレームの先頭アドレスからフ
レームサイズ分のアドレス信号を順次出力する。図2に
は、ヘッダのサイズが2バイト、情報データのフレーム
のサイズが3バイト以上の場合の例が示されている。
The communication controller 2 activates the DMA control unit 22 in response to the data transmission request, and the DMA control unit 22 sets the high level (first level) for the size of the header, the frame of the information data, Header data read signal HD that is at a low level (second level) for a period corresponding to the size
R is output, and address signals for the frame size are sequentially output from the start address of this frame. FIG. 2 shows an example in which the size of the header is 2 bytes and the size of the frame of the information data is 3 bytes or more.

【0022】バスコントローラ3は、ヘッダ・データ読
出し信号HDRの高レベルに応答してヘッダ用FIFO
メモリ5から2バイト分のヘッダHDaを順次読出して
送信用FIFOメモリ21に転送して書込み、続いてヘ
ッダ・データ読出し信号HDRの低レベル及び情報デー
タのフレームIDTaの先頭アドレスからフレームサイ
ズ分のアドレス信号に応答してメインメモリ1から情報
データのフレームIDTaを読出し、送信用FIFOメ
モリ21に転送して書込む。
The bus controller 3 responds to the high level of the header / data read signal HDR and responds to the high level of the header FIFO.
The header HDa of 2 bytes is sequentially read from the memory 5 and transferred to the transmission FIFO memory 21 for writing. Subsequently, the low level of the header / data read signal HDR and the address corresponding to the frame size from the head address of the frame IDTa of the information data. In response to the signal, frame IDTa of the information data is read from main memory 1 and transferred to transmission FIFO memory 21 for writing.

【0023】送信用FIFOメモリ21は、転送され書
込まれたヘッダ及び情報データのフレームを送信データ
フォーマットに従って順次通信回線へ送出する。情報デ
ータのフレームIDTbも同様にして出力される。
The transmission FIFO memory 21 sequentially transmits the transferred and written header and information data frames to the communication line in accordance with the transmission data format. The frame IDTb of the information data is similarly output.

【0024】この実施の形態では、ヘッダ用メモリがF
IFOメモリとなっていてこのメモリに対するアドレス
指定を行う必要がないので、1回の命令(データ送信要
求、アドレス指定)及び1つの読出し信号でヘッダ及び
情報データの対応するフレームを読出して送信用FIF
Oメモリ21に転送でき、従ってデータ転送に要する時
間を短縮し送信効率を向上させることができる。また、
メインメモリ1内で情報データを転送しなくて済むの
で、その分CPU4の負荷を軽くすることができ、かつ
メインメモリ1の使用効率を上げることができる。
In this embodiment, the header memory is F
Since it is an IFO memory and it is not necessary to specify the address for this memory, the corresponding frame of the header and information data is read out by one command (data transmission request, address specification) and one read signal, and the transmission FIFO is used.
The data can be transferred to the O memory 21, so that the time required for data transfer can be shortened and the transmission efficiency can be improved. Also,
Since it is not necessary to transfer information data in the main memory 1, the load on the CPU 4 can be reduced and the use efficiency of the main memory 1 can be increased.

【0025】この実施の形態では、ヘッダ用FIFOメ
モリ5からヘッダを読出すための信号とメインメモリ1
から情報データのフレームを読出すための信号とを1つ
のヘッダ・データ読出し信号HDRとし、そのレベルの
違いによりヘッダ読出しとデータ読出しとを区別してい
るが、これらを別々の連続して発生する信号とすること
もできる。要は、1回のデータ送信要求及び1つの先頭
アドレス指定によりヘッダ及び情報データの所定のフレ
ームが連続して読出せればよい。
In this embodiment, a signal for reading the header from the header FIFO memory 5 and the main memory 1
A header data read signal HDR is used as a signal for reading a frame of information data from the header data, and the header read and the data read are distinguished by the level difference. It can also be. The point is that a predetermined frame of the header and the information data can be continuously read by one data transmission request and one head address designation.

【0026】[0026]

【発明の効果】以上説明したように本発明は、情報デー
タの複数のフレームそれぞれと対応するヘッダを順次記
憶するヘッダ用FIFOメモリを設け、データ送信要求
に応答してヘッダ用FIFOメモリからヘッダを読出し
た後、直ちにメインメモリから情報データの対応するフ
レームを読出す構成としたので、1回のデータ送信要求
及び1つの先頭アドレス指定によりヘッダ及び情報デー
タの対応するフレームを連続して読出し送信用FIFO
メモリへ転送することができ、従ってデータ転送時間を
短縮して送信効率を向上させることができ、また、メイ
ンメモリ内での情報データの転送処理動作がなくなるの
で、CPUの負荷を軽減することができ、かつメインメ
モリの使用効率を向上させることができる効果がある。
As described above, according to the present invention, a header FIFO memory for sequentially storing headers corresponding to a plurality of frames of information data is provided, and a header is read from the header FIFO memory in response to a data transmission request. After reading, the corresponding frame of the information data is immediately read from the main memory. Therefore, the header and the corresponding frame of the information data are continuously read and transmitted by one data transmission request and one head address designation. FIFO
Since the data can be transferred to the memory, the data transfer time can be shortened and the transmission efficiency can be improved. In addition, since the operation of transferring information data in the main memory is eliminated, the load on the CPU can be reduced. There is an effect that the use efficiency of the main memory can be improved.

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

【図1】本発明の一実施の形態を示すブロック図であ
る。
FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】図1に示された実施の形態の動作を説明するた
めの各部信号のタイミング波形図である。
FIG. 2 is a timing waveform chart of signals of respective parts for explaining the operation of the embodiment shown in FIG. 1;

【図3】従来のデータ送信装置の第1の例を示すブロッ
ク図である。
FIG. 3 is a block diagram showing a first example of a conventional data transmission device.

【図4】従来のデータ送信装置の第2の例を示すブロッ
ク図である。
FIG. 4 is a block diagram showing a second example of a conventional data transmission device.

【符号の説明】[Explanation of symbols]

1,1x メインメモリ 2,2x 通信用コントローラ 3,3x バスコントローラ 4,4x CPU 5 ヘッダ用FIFOメモリ 6 通信制御ボード 7 ステーション 21 送信用FIFOメモリ 22,22x DMA制御部 23 ヘッダサイズ用レジスタ 61 ローカルメモリ 62 DMA制御部 63 送信用FIFOメモリ 64 ローカルプロセッサ 65 バスコントローラ 71 メインメモリ 72 メインプロセッサ 1, 1x main memory 2, 2x communication controller 3, 3x bus controller 4, 4x CPU 5 FIFO memory for header 6 communication control board 7 station 21 FIFO memory for transmission 22, 22x DMA controller 23 header size register 61 local memory 62 DMA control unit 63 FIFO memory for transmission 64 Local processor 65 Bus controller 71 Main memory 72 Main processor

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数のフレームから成る情報データを所
定のアドレスにフレーム単位で書込み記憶しデータ読出
し信号及びアドレス信号に従ってこれらフレームを読出
すメインメモリと、前記情報データの複数のフレームそ
れぞれと対応するヘッダを順次書込み記憶しヘッダ読出
し信号に従って前記ヘッダを順次読出すヘッダ用FIF
Oメモリと、前記ヘッダのサイズを記憶するヘッダサイ
ズ用レジスタ、データ送信要求に応答して前記ヘッダの
サイズ分の期間の前記ヘッダ読出し信号とこのヘッダ読
出し信号に続く前記フレームのサイズ分の期間の前記デ
ータ読出し信号及び先頭アドレスの情報とを出力するD
MA制御部、並び前記ヘッダ用FIFOメモリから読出
されたヘッダ及び前記メインメモリから読出された情報
データのフレームを順次書込み記憶して通信回線へ送出
する送信用FIFOメモリを含む通信用コントローラ
と、前記データ読出し信号及び先頭アドレスの情報に従
って前記メインメモリへのアドレス信号を出力するアド
レス信号発生手段とを有し、前記データ送信要求および
前記アドレス指定を1回の命令で行い、1つの読出し信
号で前記ヘッダ及び前記情報データの対応するフレーム
を読出して前記送信用FIFOメモリに転送することを
特徴とするデータ送信装置。
1. A main memory for writing and storing information data consisting of a plurality of frames at predetermined addresses on a frame basis and reading these frames in accordance with a data read signal and an address signal, and a plurality of frames of the information data, respectively. Header FIF for sequentially writing and storing a header and sequentially reading the header according to a header read signal
O memory, a header size register for storing the size of the header, a header read signal for a period of the header size in response to a data transmission request, and a header for a period of the frame size following the header read signal. D for outputting the data read signal and the information of the head address
A communication controller including a MA control unit, a transmission FIFO memory for sequentially writing and storing a header read from the header FIFO memory and a frame of information data read from the main memory, and transmitting the frame to a communication line; possess an address signal generating means for outputting an address signal to said main memory in accordance with the information of the data read signal and the start address, the data transmission request and
The address is specified by one instruction and one read signal
And the corresponding frame of the information data in the header
A data transmission device for reading the data and transferring the data to the transmission FIFO memory .
【請求項2】 ヘッダサイズ用レジスタにヘッダのサイ
ズを設定して記憶させ、ヘッダ用FIFOメモリに情報
データの複数のフレームそれぞれと対応するヘッダを順
次書込み記憶させ、データ送信要求を出すときに送信す
る情報データのフレームの先頭アドレスの情報と前記ヘ
ッダ及びフレームの合計サイズから成る送信データサイ
ズの情報とを併せ出力するCPUを設け、アドレス信号
発生手段を、通信用コントローラ内に設けた請求項1記
載のデータ送信装置。
2. A header size register sets and stores a header size, a header corresponding to each of a plurality of frames of information data is sequentially written and stored in a header FIFO memory, and is transmitted when a data transmission request is issued. A CPU for outputting information of a start address of a frame of information data to be transmitted and information of a transmission data size comprising a total size of the header and the frame, and an address signal generating means provided in the communication controller. A data transmission device as described in the above.
【請求項3】 ヘッダ読出し信号及びデータ読出し信号
を、ヘッダのサイズ分の期間は第1のレベル、情報デー
タのフレームサイズ分の期間は第2のレベルとなる1つ
の信号とした請求項1記載のデータ送信装置。
3. The header read signal and the data read signal are one signal having a first level during a period corresponding to a header size and a second level during a period corresponding to a frame size of information data. Data transmission device.
JP25643796A 1996-09-27 1996-09-27 Data transmission device Expired - Fee Related JP3196661B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25643796A JP3196661B2 (en) 1996-09-27 1996-09-27 Data transmission device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25643796A JP3196661B2 (en) 1996-09-27 1996-09-27 Data transmission device

Publications (2)

Publication Number Publication Date
JPH10107855A JPH10107855A (en) 1998-04-24
JP3196661B2 true JP3196661B2 (en) 2001-08-06

Family

ID=17292656

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25643796A Expired - Fee Related JP3196661B2 (en) 1996-09-27 1996-09-27 Data transmission device

Country Status (1)

Country Link
JP (1) JP3196661B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11303758A (en) 1998-04-17 1999-11-02 Nissan Motor Co Ltd Control device for electric pump
JP4884010B2 (en) * 2006-01-13 2012-02-22 株式会社リコー Wireless communication processing device
JP2008228207A (en) * 2007-03-15 2008-09-25 Ricoh Co Ltd Radio communication control device, radio communication control method and electronic equipment
JP5880551B2 (en) * 2011-03-28 2016-03-09 日本電気株式会社 Retransmission control system and retransmission control method
WO2020004302A1 (en) * 2018-06-26 2020-01-02 日本電産株式会社 Data communication method, data structure, and data communication system

Also Published As

Publication number Publication date
JPH10107855A (en) 1998-04-24

Similar Documents

Publication Publication Date Title
EP0844566B1 (en) Interface apparatus for adapting data width to system bus width
JP3196661B2 (en) Data transmission device
JPS62256089A (en) Picture processor
KR100348545B1 (en) Communication dma device
US5963717A (en) Image processing apparatus
JPH06266605A (en) Storage device
US4700234A (en) Image processing system
JP3079956B2 (en) Printer
JP3204297B2 (en) DMA transfer control device
JP3264316B2 (en) Direct memory access controller
JP3241072B2 (en) Computer system
JP2002055873A (en) Memory integrator
JP3094346B2 (en) Image memory device
JP3186247B2 (en) DMA controller for communication
JP2895514B2 (en) Image data transfer control method for page printer
JP2642087B2 (en) Data transfer processing mechanism between main storage devices
JPH0564820B2 (en)
JP2002091823A (en) Memory controller to be used for image display device
JP3309560B2 (en) Image processing device
JPH0471224B2 (en)
JP2001167046A (en) Image processor
JPH08202650A (en) Dma transfer controller
JPS6037062A (en) Memory reading-out method
JPH11150642A (en) Facsimile equipment
JPH041819A (en) Data block controller

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010508

LAPS Cancellation because of no payment of annual fees