JPS6019820B2 - data transfer control device - Google Patents

data transfer control device

Info

Publication number
JPS6019820B2
JPS6019820B2 JP7207180A JP7207180A JPS6019820B2 JP S6019820 B2 JPS6019820 B2 JP S6019820B2 JP 7207180 A JP7207180 A JP 7207180A JP 7207180 A JP7207180 A JP 7207180A JP S6019820 B2 JPS6019820 B2 JP S6019820B2
Authority
JP
Japan
Prior art keywords
data
area
control information
transfer
buffer memory
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
JP7207180A
Other languages
Japanese (ja)
Other versions
JPS56168253A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP7207180A priority Critical patent/JPS6019820B2/en
Publication of JPS56168253A publication Critical patent/JPS56168253A/en
Publication of JPS6019820B2 publication Critical patent/JPS6019820B2/en
Expired 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
    • G06F5/10Methods 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 having a sequence of storage locations each being individually accessible for both enqueue and dequeue operations, e.g. using random access memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Systems (AREA)

Description

【発明の詳細な説明】 本発明はデータ転送制御装置内で上位装置と下位装置と
の間で転送されるデータに対して制御情報の付加、分離
を容易に行なうことのできるデータ転送制御装置に関す
るものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a data transfer control device that can easily add and separate control information to and from data transferred between a higher-level device and a lower-level device within the data transfer control device. It is something.

従釆、データ転送制御装置内にデータバッファを有し、
上位装鷹と下位装置との間で転送されるデータの転送制
御を行なう場合、上位装置より転送されて来たデータに
対し制御装置内で識別情報(m)、物理アドレス(PA
)、フラグ(F)等の制御情報を付加して下位装置にデ
ータを転送し、下位装置より転送されたデータから制御
情報を除去して上位装置にデータを転送することが行な
われている。
As a subsidiary, it has a data buffer in the data transfer control device,
When controlling the transfer of data between a higher-level device and a lower-level device, the control device identifies identification information (m), physical address (PA), etc. for the data transferred from the higher-level device.
), flags (F), etc. are added to the data to be transferred to the lower-level device, and the control information is removed from the data transferred from the lower-level device and the data is transferred to the higher-level device.

従来の制御装清報を取扱う方法には以下の2方式がある
。第1の方式は上位装置と下位装置との間で転送される
データを取扱うための通常のデータバッファとは別に、
制御装置が転送データ中の制御情報を取扱うための専用
バッファを設けるものである。
There are two conventional methods for handling control equipment notifications: In the first method, in addition to the normal data buffer for handling data transferred between the higher-level device and the lower-level device,
A dedicated buffer is provided for the control device to handle control information in the transferred data.

第2の方式は単一バッファとしてメモリを用い、上位装
置、下位装置とのそれぞれの転送のためのアドレスレジ
スタをもたせ、それらの初期値を制御することによって
制御装置が転送データ中の制御情報を取扱いうるように
したものである。しかし、前者は専用バッファに関連す
る構成が複雑化する欠点があり、後者はとくに滋気ディ
スク装置等のように上位装置との転送単位が論理データ
であるのに対し、下位装置では複数の物理データに分離
されることが多いから、この物理データに対し制御装置
が制御情報を付加、分離する必要がある場合はデータバ
ッファの制御が著しく複雑になるという欠点がある。本
発明の目的はデータ転送制御装置内で上位装置と下位装
置との間で転送されるデータに対して制御情報の不加、
分離を容易に行なうことのできるデータ転送制御装置を
提供することである。
The second method uses memory as a single buffer, has address registers for transfers with upper and lower devices, and controls the initial values of these registers so that the control device can control the control information in the transferred data. It is made so that it can be handled. However, the former has the disadvantage of complicating the configuration related to the dedicated buffer, and the latter has the disadvantage that the transfer unit with the higher-level device is logical data, especially in the case of energy disk devices, whereas the lower-level device has multiple physical Since the physical data is often separated into data, there is a drawback that control of the data buffer becomes extremely complicated when the control device needs to add and separate control information to and from this physical data. An object of the present invention is to prevent the addition of control information to data transferred between a higher-level device and a lower-level device within a data transfer control device.
An object of the present invention is to provide a data transfer control device that can easily perform separation.

前記目的を達成するため、本発明のデータ転送制御装置
は上位装置と下位装置間のデータ転送のためデータバッ
ファメモリと、上位装置または下位装置との間で転送さ
れるデータを前記データバッファメモリの格納および転
送するため、前記データバッファメモリをアクセスする
第1、第2のアドレスレジスタを具えたデータ転送制御
装置であって、前記データバッファメモリを第1および
第2の領域より構成し、該第3の領域は上位装置と下位
装置との間で転送されるデータを格納するとともに、前
記第1および第2のアドレスレジスタは当該第1の領域
のみアクセス可能に構成され、前記第2領域は該制御装
置内で発生する制御情報を転送データに付加して送出す
るために予め制御情報を格納するとともに、上位または
下位装置の一方より送出された転送データに含まれる制
御情報のうち上位または下位装置の他方に転送されない
制御情報のみを分離して格納するためのものであり、か
つ前記データバッファメモリの第2の領域に対し制御情
報の格納を行なうとともに第1よび第2の領域より制御
情報の送出を行なうため該第2の領域を含み該第1およ
び第2の領域をアクセスする第3のアドレスレジスタを
具えたことを特徴とするものである。
In order to achieve the above object, the data transfer control device of the present invention includes a data buffer memory for data transfer between a higher-level device and a lower-level device, and a data buffer memory for transferring data between the higher-level device or the lower-level device. A data transfer control device comprising first and second address registers for accessing the data buffer memory for storage and transfer, the data buffer memory comprising first and second areas; The area No. 3 stores data transferred between the upper device and the lower device, and the first and second address registers are configured so that only the first area can be accessed, and the second area stores data transferred between the upper device and the lower device. In order to add the control information generated within the control device to the transfer data and send it out, the control information is stored in advance, and the control information included in the transfer data sent from either the upper or lower device is stored in the upper or lower device. This is for separately storing only the control information that is not transferred to the other side of the data buffer memory, and the control information is stored in the second area of the data buffer memory, and the control information is transferred from the first and second areas. The device is characterized in that it includes a third address register that includes the second area and accesses the first and second areas for sending out data.

以下本発明を実施例につき詳述するる。The present invention will be described in detail below with reference to examples.

前述の下位装置としてたとえば滋気ダィスク装置等の場
合、媒体上の物理レコードのデータの1部として、識別
データ(m)、物理アドレス(PA)、フラグ(F)、
データ長(DL)等所要のデータが記録されており、こ
れらはデータ転送制御装置内で制御情報として必要とさ
れる。
For example, in the case of a energy disk device as the above-mentioned lower-level device, identification data (m), physical address (PA), flag (F),
Necessary data such as data length (DL) is recorded, and these are required as control information within the data transfer control device.

これらの制御情報はライト動作時に上位装置から送られ
てくるものと、制御装置内で発生されるものとがあり、
またリード動作時に上位装置には送る必要のないものと
、上位装置にも送るものとがある。本発明ではデータバ
ッファメモリを2つの領域に分けデータバッファの第1
の領域へのアクセス手段として、上位装置専用の第1の
アドレスレジスタ、下位装置側専用の第2のアドレスレ
ジスタとを用意し、データバッファの第2の領域へのア
クセス手段として制御装置および上位装置、下位装置の
使用することのできる第3のアドレスレジスタと用意し
、通常のデータ転送では前記第1、第2のアドレスレジ
スタを使用し、制御情報の格納および転送時には第3の
アドレスレジスタを使用することにより制御装置内にお
ける前記制御情報の取扱いを効率良く行なうようにした
ものである。第1図は本発明の要部であるデータ転送制
御装置の実施例の構成を示す説明である。
There are two types of control information: one is sent from the host device during write operation, and the other is generated within the control device.
Furthermore, there are some items that do not need to be sent to the higher-level device during a read operation, and some that are also sent to the higher-level device. In the present invention, the data buffer memory is divided into two areas.
As means for accessing the area of the data buffer, a first address register dedicated to the upper device and a second address register dedicated to the lower device side are prepared, and as means for accessing the second area of the data buffer, the control device and the host device , a third address register that can be used by lower-level devices is provided, and the first and second address registers are used for normal data transfer, and the third address register is used for storing and transferring control information. By doing so, the control information can be efficiently handled within the control device. FIG. 1 is an explanatory diagram showing the configuration of an embodiment of a data transfer control device which is a main part of the present invention.

同図はデータ転送制御装置のデータバッファの構成を示
し、バッファレジスタ1は256バイトの容量をもつメ
モリである。
This figure shows the configuration of the data buffer of the data transfer control device, and buffer register 1 is a memory with a capacity of 256 bytes.

アドレスレジスタ2は上位装置たとえば主記憶装置との
データ転送に使用され、バッファレジスタの128バイ
ト分の領域をアクセスする。アドレスレジスタ4は下位
装置たとえば滋気ディスク装置との転送に使用され、バ
ッファレジスタ1のアドレスレジスタ2の128ゞィト
分のメモ川こ対応してアクセスする。従って通常のデー
タ転送においてはバッファレジスタ1の128バイト分
の領域がデータバッファとして使用される。アドレスレ
ジス夕3は本発明の要部となるもので、バッファレジス
タ1の256バイト全域についてアクセス可能であり、
制御装置からのバッファのアクセスおよび下位装置から
のアクセスに使用される。アドレスレジスタ3の使用は
上位装置からも可能とすることはできるが、本実施例で
は理解を簡単にするために上位装置側からの使用はない
ものとする。従って、下位装置側からのアクセスに当っ
てはアドレスレジスタ3または4の何れを使用するかの
指示がなされる。またアドレスレジスタ2,3,4はカ
ウンタより構成され、プリセットされた値よりアクセス
終了時には歩進される。上位装置から下位装置へのデー
タ転送においては、バス5を介して上位装置から送られ
てきたデータがアドレスレジスタ2で指定されるバッフ
ァメモリ1の記憶位置に順次格納され、下位装置からの
データ要求に従ってアドレスレジスタ4で指定される記
憶位置からバス6を介して転送すべきデータを取出し下
位装置に送出する。
Address register 2 is used for data transfer with a host device, such as a main memory, and accesses a 128-byte area of the buffer register. The address register 4 is used for data transfer with lower-order devices, such as energy disk devices, and is accessed correspondingly to the 128-byte memo file in the address register 2 of the buffer register 1. Therefore, in normal data transfer, a 128-byte area of buffer register 1 is used as a data buffer. Address register 3 is the main part of the present invention, and can access the entire 256 bytes of buffer register 1.
Used for buffer access from the control device and access from lower devices. Although the use of the address register 3 can also be made possible from a higher-level device, in this embodiment, in order to simplify understanding, it is assumed that the address register 3 is not used from the higher-level device side. Therefore, when accessing from the lower device side, an instruction is given as to which address register 3 or 4 is to be used. Further, the address registers 2, 3, and 4 are constituted by counters, and are incremented from a preset value at the end of access. In data transfer from a higher-level device to a lower-level device, data sent from the higher-level device via the bus 5 is sequentially stored in the storage location of the buffer memory 1 specified by the address register 2, and data requests from the lower-level device are Accordingly, the data to be transferred is extracted from the storage location specified by the address register 4 via the bus 6 and sent to the lower device.

これらのデータ中に制御装置が必要とする制御情報が含
まれている時、制御装置はそのバイト位置を示すアドレ
スレジスタ3にセットし、バッファ領域(0〜127バ
イト)から取出す。また、上位装置から送られてはこな
いが、下位装置に対しては送出しなければならないデー
外こついてはあらかじめ制御装置がアドレスレジスタ3
を使用し、バッファメモリーの通常の128ゞィト領域
とは別の領域(128バイト以下)にセットしておき、
該データの送出タイミングでは下位装置がアドレスレジ
スタ3を指定して該バッファ領域をアクセスするように
する。下位装置から上位装置へのデータ転送はバス7お
よび8を使用し、上記と逆の方向に行なわれる。
When these data include control information required by the control device, the control device sets the byte position in the address register 3 and takes it out from the buffer area (0 to 127 bytes). In addition, if data is not sent from the higher-level device but must be sent to the lower-level device, the control device must register the data in the address register in advance.
and set it in a different area (128 bytes or less) from the normal 128 byte area of the buffer memory.
At the data sending timing, the lower device specifies the address register 3 and accesses the buffer area. Data transfer from the lower-level device to the higher-level device uses buses 7 and 8, and is performed in the opposite direction to that described above.

ただし、下位装置からのデータのうち上位装置に送る必
要のないデータについては下位装置からのアクセス時に
アドレスレジスタ3を使用するようにし、アドレスレジ
スタのみでアクセス可能な領域に格納することにより、
後で制御情報としての使用を可能とする。第2図および
第3図は本発明を下位の入出力装置として滋気ディスク
装置を用いた場合の実施例説明図である。
However, for data that does not need to be sent to the upper device among the data from the lower device, address register 3 is used when accessing from the lower device, and by storing it in an area that can be accessed only with the address register,
It can be used later as control information. FIGS. 2 and 3 are explanatory diagrams of an embodiment of the present invention in which a nutrition disk device is used as a lower input/output device.

第2図は、第1図のバッファメモリ1に第3図−上部の
滋気ディスク装置媒体上のデータを上位装置に転送終了
した時のバッファメモリの状態の1例を示したものであ
る。その他のアドレスレジスタ(MA)2(IA)4,
(CA)3は第1図の同番号と同じ機能を有する。第3
図上部は滋気ディスク媒体から転送されるデータの1例
であり、図示の12バイトのデータ(ID〜DL)がデ
ィスク装置から制御装置に送られ、この内後部8バイト
のデータ(C〜DL)は上位装置に対して転送される。
FIG. 2 shows an example of the state of the buffer memory when the data on the storage disk device medium shown in the upper part of FIG. 3 has been transferred to the buffer memory 1 of FIG. 1 to the host device. Other address registers (MA) 2 (IA) 4,
(CA) 3 has the same function as the same number in FIG. Third
The upper part of the figure is an example of data transferred from the energy disk medium. The illustrated 12 bytes of data (ID to DL) are sent from the disk device to the control device, and the last 8 bytes of data (C to DL) are sent from the disk device to the control device. ) is transferred to the higher-level device.

第3図下部のCA,lAMAは各データの転送タイミン
グ毎の第2図の3つのアドレスレジスタ3,4,2のそ
れぞれの歩進状態を示す。
CA and lAMA at the bottom of FIG. 3 indicate the progress states of the three address registers 3, 4, and 2 in FIG. 2 at each data transfer timing.

すなわち、最初の4バイトの転送時にはアドレスレジス
夕(CA)3が使用され、アドレス128〜131バイ
トの領域に前述のm,PA,F等の制御情報が格納され
る。
That is, when transferring the first 4 bytes, the address register (CA) 3 is used, and control information such as m, PA, F, etc. mentioned above is stored in the address area of 128 to 131 bytes.

この領域は通常転送バッファとして使用される0〜12
7バイトの領域外にあり、上位装置に転送されることな
く、また後続する実際の転送データ(ここでは8バイト
)が12&ゞィトを超える場合においても転送の進渉に
伴って重ね書きにより破壊されることもない。次に4バ
イトの転送終了後、下位装置側からのアクセスに使用さ
れるアドレスレジスタ(IA)4に切替えられ、アドレ
ス「0」から順にデータが格納される。
This area is normally used as a transfer buffer from 0 to 12.
Even if the data is outside the 7-byte area and is not transferred to the host device, or if the subsequent actual transferred data (in this case 8 bytes) exceeds 12 & 8 bytes, it may be overwritten as the transfer progresses. It cannot be destroyed. Next, after the transfer of 4 bytes is completed, the address register (IA) 4 is switched to be used for access from the lower device side, and data is stored in order from address "0".

上位装置側は転送すべきデータが格納されたことをたと
えばアドレスレジスタ(MA)2とアドレスレジスタ(
IA)4の差分より知り、アドレスレジスタ(MA)2
を使用して上位装置への転送を開始する。なお図示して
いないが、下位装置側からのアクセスに際しての使用ア
ドレスレジスタの切替は、カウンタあるいは比較回路の
使用により容易に行なうことができる。
The host device side indicates that the data to be transferred has been stored, for example, by using address register (MA) 2 and address register (
IA) Known from the difference of 4, address register (MA) 2
to start the transfer to the higher-level device. Although not shown, the address register to be used upon access from the lower device side can be easily switched by using a counter or a comparison circuit.

実施例においては、上位装置側から前記第3のアドレス
レジスタの使用についてはとくに触れないが、下位装置
側からの使用方法と同じ手法により容易に組込むことが
可能となる。
In the embodiment, although the use of the third address register from the upper device side is not particularly discussed, it can be easily incorporated using the same method as used from the lower device side.

以上説明したように、本発明によれば、データ転送制御
装置内で上位装置と下位装置とのの間で転送されるデー
タをアクセスするデータバッファ領域とは別の領域と、
これをアクセスするアドレスレジスタとを設けることに
より、転送データに対して制御情報の付加、分離を容易
に行なうことができる。
As described above, according to the present invention, an area other than a data buffer area for accessing data transferred between a higher-level device and a lower-level device within a data transfer control device;
By providing an address register for accessing this, control information can be easily added to and separated from transfer data.

すなわち、複雑な制御を単一のデータバッファメモリ内
に制御情報の領域を別に設け、、この領域と通常のバッ
ファ領域とをアドレスレジスタ3〜5を用い簡単な論理
で指定する。このようにして上位装置と下位装置間のデ
ータの転送を行ない、かつ転送データに対し制御装置が
必要とする制御情報を簡単に付加、分離することが可能
となるものである。
That is, a separate area for control information is provided within a single data buffer memory for complex control, and this area and a normal buffer area are designated by simple logic using address registers 3-5. In this way, it is possible to transfer data between the higher-level device and the lower-level device, and to easily add and separate control information required by the control device to the transferred data.

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

第1図は本発明の実施例の構成を示す説明図、第2図、
第3図は本発明を滋気ディスク制御装置に適用した実施
例の説明図であり、図中、1はデータバツフアメモリ、
2,3,4はアドレスレジスタ、5,6,7,8はデー
タバスを示す。 第1図第2図 第3図
FIG. 1 is an explanatory diagram showing the configuration of an embodiment of the present invention, FIG.
FIG. 3 is an explanatory diagram of an embodiment in which the present invention is applied to a nutrition disk control device, and in the figure, 1 is a data buffer memory;
2, 3, and 4 are address registers, and 5, 6, 7, and 8 are data buses. Figure 1 Figure 2 Figure 3

Claims (1)

【特許請求の範囲】[Claims] 1 上位装置と下位装置間のデータ転送のためデータバ
ツフアメモリと、上位装置または下位装置との間で転送
されるデータを前記データバツフアメモリに格納および
転送するため、前記データバツフアメモリをアクセスす
る第1、第2のアドレスレジスタを具えたデータ転送制
御装置であつて、前記データバツフアメモリを第1およ
び第2の領域より構成し、該第1の領域は上位装置と下
位装置との間で転送されるデータを格納するとともに、
前記第1および第2のアドレスレジスタは当該第1の領
域のみアクセス可能に構成され、前記第2領域は該制御
装置内で発生する制御情報を転送データに付加して送出
するために予め制御情報を格納するとともに、上位また
は下位装置の一方より送出された転送データ中に含まれ
る制御情報のうち上位または下位装置の他方に転送され
ない制御情報のみを分離して格納するためのものであり
、かつ前記データバツフアメモリの第2の領域に対し制
御情報の格納を行なうとともに第1および第2の領域よ
り制御情報の送出を行なうため該第2の領域を含み該第
1および第2の領域をアクセスする第3のアドレスレジ
スタを具えたことを特徴とするデータ転送制御装置。
1. A data buffer memory for data transfer between a higher-level device and a lower-level device; and a data buffer memory for storing and transferring data transferred between a higher-level device or a lower-level device in the data buffer memory. The data transfer control device includes first and second address registers to be accessed, and the data buffer memory is composed of a first and second area, and the first area is connected to an upper device and a lower device. It stores data transferred between
The first and second address registers are configured so that only the first area can be accessed, and the second area stores control information in advance in order to add control information generated within the control device to transfer data and send it out. , and also separately stores only the control information that is not transferred to the other of the upper or lower devices among the control information included in the transfer data sent from one of the upper or lower devices, and In order to store control information in the second area of the data buffer memory and to transmit control information from the first and second areas, the data buffer memory includes the second area and the first and second areas. A data transfer control device comprising a third address register to be accessed.
JP7207180A 1980-05-29 1980-05-29 data transfer control device Expired JPS6019820B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7207180A JPS6019820B2 (en) 1980-05-29 1980-05-29 data transfer control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7207180A JPS6019820B2 (en) 1980-05-29 1980-05-29 data transfer control device

Publications (2)

Publication Number Publication Date
JPS56168253A JPS56168253A (en) 1981-12-24
JPS6019820B2 true JPS6019820B2 (en) 1985-05-18

Family

ID=13478798

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7207180A Expired JPS6019820B2 (en) 1980-05-29 1980-05-29 data transfer control device

Country Status (1)

Country Link
JP (1) JPS6019820B2 (en)

Also Published As

Publication number Publication date
JPS56168253A (en) 1981-12-24

Similar Documents

Publication Publication Date Title
WO1995006284B1 (en) Ata interface architecture employing state machines
JPH06250906A (en) Backup/recovery system for data developed in main storage device
JPH0221619B2 (en)
JPS6019820B2 (en) data transfer control device
US6112261A (en) Data transferring system reading and temporarily storing a record until a length of the record is different from a defined record length parameter value
EP0522728B1 (en) Method for efficient access of data stored in a nexus table
JPS5833571B2 (en) You can do it yourself.
JPS59151252A (en) Picture retrieving device
JP2784520B2 (en) File transfer device
JP2569524B2 (en) Virtual disk control method for extended storage device
JPH0133848B2 (en)
JPH04157522A (en) Directory management system for optical disk controller
JPH0546578B2 (en)
JPS5985560A (en) File management device
JP2876488B2 (en) Semiconductor file memory device
JPH02304641A (en) Data processor
JPS63224487A (en) Digital data recorder controller
JPH0380470A (en) Storage controller
JPS61100852A (en) Data transferring system
JPS6373458A (en) Shared memory access device
JPH0124318B2 (en)
JPH02133854A (en) Dma controller capable of access to transfer enable/ unable memory
JPS63245745A (en) Buffer storage controller
JPS59121604A (en) Reading out system of disc information
JPS6053326B2 (en) Double data recording method for input/output control equipment