JPS6034129B2 - memory controller - Google Patents

memory controller

Info

Publication number
JPS6034129B2
JPS6034129B2 JP2191281A JP2191281A JPS6034129B2 JP S6034129 B2 JPS6034129 B2 JP S6034129B2 JP 2191281 A JP2191281 A JP 2191281A JP 2191281 A JP2191281 A JP 2191281A JP S6034129 B2 JPS6034129 B2 JP S6034129B2
Authority
JP
Japan
Prior art keywords
memory
data
computer
sector
memory 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.)
Expired
Application number
JP2191281A
Other languages
Japanese (ja)
Other versions
JPS57136266A (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2191281A priority Critical patent/JPS6034129B2/en
Publication of JPS57136266A publication Critical patent/JPS57136266A/en
Publication of JPS6034129B2 publication Critical patent/JPS6034129B2/en
Expired legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Description

【発明の詳細な説明】 この発明はフレキシブルディスク(nexibledi
sc、すなわちフロツピイディスク(floppydi
sc))、磁気バブル装置(magnetic bub
bledevice)等のようなシーケンシャルアクセ
スメモリ装置と計算機との間のデータ転送に関するもの
である。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a flexible disk (flexible disk).
sc, floppy disk
sc)), magnetic bubble device
It relates to data transfer between a sequential access memory device such as a BLE device and a computer.

上述のようなメモリ装置では、データは連続したアドレ
ス順に記憶されて固定長の単位ブロックを形成し、かつ
そのブロックもアドレス順に連続して配置されていて、
メモリへはアドレス順に順次アクセスするように構成さ
れている。
In the above-mentioned memory device, data is stored in the order of consecutive addresses to form fixed length unit blocks, and the blocks are also arranged consecutively in the order of the addresses.
The memory is configured to be accessed sequentially in address order.

このようなメモリ装置に対しデータの講出し又は書込み
を実施するためには、所望の先頭番地に1度アクセスし
た後は、連続しているアドレスのデータの必要な長さに
対し全部連続して読出し又は書込みを行えば、1度のア
クセスだけですむので便利である。然し従釆はシーケン
シャルアクセスメモリ装置のメモリ内容を一部修正する
ような場合にこのような議出し又は書込みを行うよう制
御するメモリ制御装置は存在しなかった。以下、フレキ
シブルディスク装置を制御する場合を例にとって説明す
る。
In order to read or write data to such a memory device, after accessing the desired first address once, the required length of data at consecutive addresses must be accessed all consecutively. Reading or writing is convenient because only one access is required. However, there is no memory control device that controls such a proposal or write when partially modifying the memory contents of a sequential access memory device. Hereinafter, the case of controlling a flexible disk device will be explained as an example.

従来のシステムでは、計算機はフレキシブルディスク装
置のトラック(track)番号とそのトラック内のセ
クタ(sector)番号を指定し、この指定されたセ
クタに記憶されているデ−夕を読出して計算機に入力し
て所望のデータ処理を施した後、データ処理済のデータ
を再び同一セクタに書込んでいた。1セクタ分のデータ
を計算機に入力してデータ処理を施した後再びもとのセ
クタへ書込むためにはそのセクタが記録用磁気ヘッドの
下まで廻ってくるまで待たねばならず、この待ち時間が
長くなる場合がある。
In conventional systems, a computer specifies a track number of a flexible disk device and a sector number within that track, reads data stored in the specified sector, and inputs it into the computer. After performing desired data processing, the processed data is written again to the same sector. After inputting one sector of data into a computer and processing the data, in order to write to the original sector again, it is necessary to wait until the sector comes under the recording magnetic head, and this waiting time may be longer.

多量のデータ処理を行う場合、1つのセクタへ読出しの
為アクセスして、次にそのセクタへ書込の為アクセスし
、続いて後続セクタへ読出しの為アクセスして、次にそ
のセク夕へ書込のためアクセスするという動作を繰返さ
ねばならず、上述の待ち時間の累計が長くなると同時に
、アクセス回数が増加するため装置及びディスクシート
(discsheet)の寿命等に影響するという欠点
があった。この発明は上言己のような従来のものの欠点
を除去すするためになされたもので、アクセスの回数を
減少し、フレキシブルディスク装置に記憶されるデータ
を高速で更新することができるメモリ制御装置を提供す
ることを目的としている。
When processing a large amount of data, access one sector for reading, then access that sector for writing, then access the following sector for reading, then write to that sector. The user must repeat the operation of accessing the device to store the data, which lengthens the cumulative waiting time and increases the number of accesses, which has the disadvantage of affecting the lifespan of the device and disc sheet. This invention was made to eliminate the drawbacks of the conventional ones as described above, and is a memory control device that can reduce the number of accesses and update data stored in a flexible disk device at high speed. is intended to provide.

以下、この発明の実施例を図面により説明する。Embodiments of the present invention will be described below with reference to the drawings.

第1図はこの発明の一実施例を示すブロック図で、1は
計算機、11は計算機インタフェース、2は計算機命令
処理部、3はメモリ装置制御部、4は制御装置内メモリ
制御部、5は制御装置内メモリ部、6はメモリ装置、6
1はメモリ装置インタフェースである。メモリ装置6は
フレキシブルディスク装置であり、メモリ媒体はフレキ
シブルディスクシート(以下シートと略言己する)であ
り、このシート内で連続するセクタには連続したアドレ
スが付けられているとする。
FIG. 1 is a block diagram showing an embodiment of the present invention, in which 1 is a computer, 11 is a computer interface, 2 is a computer instruction processing section, 3 is a memory device control section, 4 is a memory control section in the control device, and 5 is a computer interface. Memory section in the control device, 6 is a memory device, 6
1 is a memory device interface. It is assumed that the memory device 6 is a flexible disk device, the memory medium is a flexible disk sheet (hereinafter simply referred to as a sheet), and consecutive sectors within this sheet are assigned consecutive addresses.

また、制御装置内メモリ部5はシート上の1トラック分
のデータを1時記憶する容量を持つ。第2図は第1図の
回路の動作の順序を示す説明図で、第2図aは計算機1
からの命令により計算機命令処理部2の処理を経て、メ
モリ装置制御部3及び制御装置内メモリ制御部4の制御
により、メモリ装置6内のデータ1トラック分がメモリ
部5に書込まれる状態を示す。
Furthermore, the memory section 5 in the control device has a capacity to temporarily store data for one track on a sheet. FIG. 2 is an explanatory diagram showing the order of operation of the circuit in FIG. 1, and FIG.
A state is created in which one track worth of data in the memory device 6 is written into the memory section 5 through the processing of the computer instruction processing section 2 according to an instruction from the memory device 6 under the control of the memory device control section 3 and the memory control section 4 in the control device. show.

このときメモリ部5内のセクタァドレスは計算機1から
指定されたアドレスになっている。第2図bは計算機1
が議出し命令を出し、メモリ制御装置は当初指定された
アドレス(nセクタ)のデータをメモリ部5から計算機
に転送する状態を示す。もしnセクタのデータに対して
は何等のデータ処理を施すことなくもとのデータのまま
残す場合には、計算機1は次の謙出し命令を計算機命令
処理部2を経て制御装置内メモリ制御部4に与える。こ
の命令によってセクタアドレスがインクレメント(in
crement)されてn十1セク外こアドレスされ第
2図cの状態となりn+1セクタのデータが計算機1に
転送される。n+1セクタのデータがデータ処理を必要
とするデータであるとすれば、計算機1は必要なデータ
処理を施した後書込み命令を出す。書込み命令に対して
はセクタアドレスはインクレメントされずn+1セクタ
を示しているので第2図dの状態となり、データ処理さ
れたデータは計算機1から出力されてメモリ部5のもと
のアドレスすなわちn+1セクタの部分に書込まれる。
以上のような操作を繰り返し、すなわち内容を変更する
必要のないセクタに対しては計算機1は単純に読出し命
令を出し、内容を変更すべきセク夕に対しては読出し命
令によって謙出されたデータに必要なデータ処理を施し
た後書込み命令を出すことによって、1トラック分のデ
ータ更新を行うことができる。
At this time, the sector address in the memory section 5 is the address specified by the computer 1. Figure 2b is calculator 1
This shows a state in which the memory control device issues an issue command and the memory control device transfers data at the initially specified address (n sectors) from the memory unit 5 to the computer. If the data in sector n is to be left as it is without any data processing, the computer 1 sends the next extraction command to the memory control unit in the control device via the computer instruction processing unit 2. Give to 4. This instruction increments the sector address (in
(crement), the n11 sector outside is addressed, and the state shown in FIG. If the data in the n+1 sector is data that requires data processing, the computer 1 issues a write command after performing the necessary data processing. In response to a write command, the sector address is not incremented and indicates sector n+1, resulting in the state shown in FIG. written to the sector.
The computer 1 repeats the above operations; in other words, the computer 1 simply issues a read command for sectors whose contents do not need to be changed, and reads the data retrieved by the read command for sectors whose contents should be changed. By issuing a write command after performing necessary data processing, data for one track can be updated.

次に第2図eは、以上のようにして更新されてメモリ部
5に格納されている1トラック分のデー夕をメモリ装置
6のシートのトラック内に書込む状態を示す。
Next, FIG. 2e shows a state in which one track's worth of data updated as described above and stored in the memory section 5 is written into a track of a sheet in the memory device 6.

このシートへの書込みは計算機1とメモリ部5とのデー
タ伝送において1度でも計算機1からメモリ部5へ書込
み命令が出た場合は、トラックの最終セクタまでの処理
が終った後か或はあらかじめ指定された数のセクタに対
する処理が終った時点で、又は、計算機1から指示があ
った時に行われる。計算機1からメモリ部5へ1度も書
込命令が出てない場合は、すべてのデータがもとのまま
でよい事を意味するので、第2図eの操作を行う必要は
ない。なお、計算機1からメモリ部5に書込んだ時点と
、これが実際にメモリ装置6に書込まれる時点とは一致
しないので、メモリ制御装置は常にメモリ装置6の状態
を監視し、異常があったときはそれを計算機1に伝える
機能を持っている。以上の説明から明らかなように、こ
の発明のよれば1トラック分の内容を変更するときその
トラックへのアクセスは第2図aと同図eに示す2回で
すみ、シート回転待時間等の時間を必要としない。
If a write command is issued from the computer 1 to the memory unit 5 even once during data transmission between the computer 1 and the memory unit 5, writing to this sheet is performed after processing up to the last sector of the track is completed or in advance. This is performed when processing for a specified number of sectors is completed or when an instruction is received from the computer 1. If no write command has ever been issued from the computer 1 to the memory unit 5, it means that all data can remain as they were, so there is no need to perform the operation shown in FIG. 2e. Note that the time when the computer 1 writes to the memory unit 5 and the time when it is actually written to the memory device 6 do not match, so the memory control device constantly monitors the state of the memory device 6 and detects any abnormality. It has a function to convey that information to computer 1. As is clear from the above explanation, according to the present invention, when changing the contents of one track, the access to that track only needs to be made twice as shown in FIG. 2a and FIG. Doesn't require time.

したがって従来の装置に比し、ディスクシート及びディ
スク駆動装置に対する負荷を大幅に軽減することができ
る。計算機1とメモリ部5間のデータ転送速度が、メモ
リ部5とメモリ装置6間の転送速度より遅い場合にも、
この発明の装置ではデータのオーバラン(overr肌
)等を起すことなく転送を行うことができる。
Therefore, compared to conventional devices, the load on the disk sheet and disk drive device can be significantly reduced. Even when the data transfer speed between the computer 1 and the memory section 5 is slower than the transfer speed between the memory section 5 and the memory device 6,
With the device of the present invention, data can be transferred without causing data overruns or the like.

又、この作業のために計算機1側で必要とするメモリ領
域も必要最小限度、たとえば1セクタ分、として処理を
行うことができる。なお、上記実施例では制御装置内メ
モリ部5に格納する単位を1トラック分のデータとし、
計算機1で処理するデータ長を1セクタとしたが、上言
己単位及びデータ長は任意に設定することができる。ま
た、第1図及び第2図に計算機1として示したものは所
定のデータ処理を実行することのできるすべての装置を
含むものとする。更にメモリ装置6としてはフレキシブ
ルディスク装置を例として説明したが、同様のアクセス
機構をもつもの、たとえば磁気バブルメモリ装置等、に
同様にこの発明の装置をを利用することができる。以上
のように、この叛明のよればシーケンシャルアクセスメ
モリ装置とのデータ転送を高速に行うことができ、又メ
モリ装置、メモリ媒体の使用頻度を減らすことにより寿
命、信頼性等を向上させることができ、かつ従来の計算
機間のインタフェースを大きく変化することなく簡単に
上言己効果を得ることができる。
Further, the memory area required on the computer 1 side for this work can be reduced to the minimum necessary amount, for example, one sector. In the above embodiment, the unit of data stored in the memory section 5 in the control device is one track worth of data.
Although the data length processed by the computer 1 is set to one sector, the unit and data length can be set arbitrarily. Furthermore, the computer 1 shown in FIGS. 1 and 2 includes all devices capable of executing predetermined data processing. Furthermore, although a flexible disk device has been described as an example of the memory device 6, the device of the present invention can be similarly utilized in devices having a similar access mechanism, such as a magnetic bubble memory device. As described above, according to this invention, it is possible to transfer data to and from a sequential access memory device at high speed, and by reducing the frequency of use of the memory device and memory medium, it is possible to improve the lifespan, reliability, etc. In addition, the above-mentioned effect can be easily obtained without significantly changing the conventional interface between computers.

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

第1図はこの発明の一実施例を示すブロック図、第2図
は第1図の回路の動作の順序を示す説明図である。 1・・・・・・計算機、2・・・・・・計算機命令処理
部、3・・・・・・メモリ装置制御部、4・・・・・・
制御装置内メモリ制御部、5・・・・・・メモリ部、6
・・・・・・メモリ装置。 なお、図中、同一符号は同一、又は相当部分を示す。第
1図 第2図
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is an explanatory diagram showing the order of operation of the circuit shown in FIG. 1... Computer, 2... Computer instruction processing unit, 3... Memory device control unit, 4...
Memory control unit in control device, 5...Memory unit, 6
...Memory device. In addition, in the figures, the same reference numerals indicate the same or equivalent parts. Figure 1 Figure 2

Claims (1)

【特許請求の範囲】[Claims] 1 連続したアドレスを有する所定長の情報を一時記憶
するためのメモリ部と、連続したアドレスの情報に対し
アドレス順に順次アクセスするシーケンシヤルアクセス
メモリ装置から上記所定長の情報を連続して読出して上
記メモリ部へ格納する手段と、上記メモリ部に格納され
た情報のうち所望のアドレスの情報を読出し計算機によ
り所望のデータ処理を施した後上記アドレスへ書込む手
段と、上記メモリ部へ格納されている上記所定長の情報
を連続して上記シーケンシヤルアクセスメモリ装置の連
続したアドレスに書込む手段とを備えたメモリ制御装置
1. A memory unit for temporarily storing information of a predetermined length having consecutive addresses, and a sequential access memory device that sequentially accesses information of consecutive addresses in address order. means for storing the information in the memory section; means for reading information at a desired address from among the information stored in the memory section, performing desired data processing by a computer, and then writing it into the address; and means for continuously writing information of the predetermined length in consecutive addresses of the sequential access memory device.
JP2191281A 1981-02-17 1981-02-17 memory controller Expired JPS6034129B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2191281A JPS6034129B2 (en) 1981-02-17 1981-02-17 memory controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2191281A JPS6034129B2 (en) 1981-02-17 1981-02-17 memory controller

Publications (2)

Publication Number Publication Date
JPS57136266A JPS57136266A (en) 1982-08-23
JPS6034129B2 true JPS6034129B2 (en) 1985-08-07

Family

ID=12068297

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2191281A Expired JPS6034129B2 (en) 1981-02-17 1981-02-17 memory controller

Country Status (1)

Country Link
JP (1) JPS6034129B2 (en)

Also Published As

Publication number Publication date
JPS57136266A (en) 1982-08-23

Similar Documents

Publication Publication Date Title
US4910614A (en) Disk controller for a plurality of magnetic disk drives
JPH06236241A (en) Hard disk device using flash memory
JPH0816886B2 (en) Fast writing method
JPH03160534A (en) Access control system for shared file
US5872955A (en) Method and apparatus for reading and writing data in a disk drive system
JPS6034129B2 (en) memory controller
JPS6232494B2 (en)
EP0108651A2 (en) Dynamic addressing for variable track length cache memory
JPH05210915A (en) Disk device
JPH03246616A (en) External storage device managed by fat
JP2973474B2 (en) Magneto-optical disk drive
JP2558318B2 (en) Redundant file management method
JPH0934782A (en) Information storage device
JPH04217017A (en) Memory extension method for semiconductor disk device
JP3080416B2 (en) Method of executing internal operation in controller and controller
JPH01292421A (en) Method for copying data in memory card
JPS6234227A (en) Auxiliary memory device
JPH10254781A (en) Auxiliary storage device
JPS59172186A (en) Cache memory control system
JPH01151070A (en) Disk controller
JPH05197502A (en) Magnetic tape controller
JPH0650479B2 (en) Data processing device
JPH06290547A (en) High-speed data transferring method
JP2001209577A (en) Information recording and reproducing device
JPH0567022A (en) High speed data access system