JPS58205269A - Controlling method of rotation type memory - Google Patents

Controlling method of rotation type memory

Info

Publication number
JPS58205269A
JPS58205269A JP8771482A JP8771482A JPS58205269A JP S58205269 A JPS58205269 A JP S58205269A JP 8771482 A JP8771482 A JP 8771482A JP 8771482 A JP8771482 A JP 8771482A JP S58205269 A JPS58205269 A JP S58205269A
Authority
JP
Japan
Prior art keywords
sector
track
memory
data
storage unit
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
JP8771482A
Other languages
Japanese (ja)
Inventor
Jun Miyoshi
三好 準
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.)
Fujifilm Holdings Corp
Original Assignee
Fuji Photo Film 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 Fuji Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP8771482A priority Critical patent/JPS58205269A/en
Publication of JPS58205269A publication Critical patent/JPS58205269A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing Not Specific To The Method Of Recording And Reproducing (AREA)
  • Processing Or Creating Images (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To evade the transfer omission of a time-series signal by eliminating the need to take a long time for access to a substitute sector even when a defective spot characteristic to a rotation type memory is present on a storage medium. CONSTITUTION:When a track write command is supplied to an input port 102 externally, a CPU 114 selects a specified track in response to the command. If the write command is supplied while a head runs on some sector on some track, the CPU 114 detects the next index to the sector to discriminate the address of the new sector. A substitute table is searched by the sector address and when the sector is an unused sector 412 or a bad sector, the next sector is waited for. When the sector is usable, a status display part is checked and when a bit W is ''0'', data is read out of a buffer 106A or 106B and written in the sector.

Description

【発明の詳細な説明】 本発明はメモリ制御方法、とくに、磁気ディスク、光学
ディスク、磁気ドラムなどの回転型メモリを制御する回
転型メモリの制御方法に関するものである。磁気ディス
クには、ディスクパック、テータモノー−ル、フロッピ
ーディスクなどが含まれる。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a memory control method, and particularly to a rotary memory control method for controlling a rotary memory such as a magnetic disk, an optical disk, or a magnetic drum. Magnetic disks include disk packs, data monols, floppy disks, and the like.

これらの回転+(lqメモリは、その記憶媒体の一部に
、たとえば製造上生じた欠陥などにより情報を正しく記
録できない、いわゆるバドスポ。
These rotation+(lq) memories have so-called bad spots, where information cannot be recorded correctly in a part of the storage medium due to, for example, a manufacturing defect.

トを含むことがしばしばある。たとえば磁気ディスクに
データを書き込む場合、このようなパドスポノトを含む
セクタ(バドセクタ、不良セクタ)があると代替トラッ
クの予備セクタを使用する。一般にこの代替トラックは
ディスクの最外周トラックを割シ当てることが多い。あ
るトラックにデータを書込み中、バドセクタを識別する
と、最外周トラ、りに磁気ヘッドを移動させ、代替セク
タを選択してデータを書き込み、もとのトラックに磁気
ヘッドを移動させる。データを読み出す場合も同様であ
る。たとえば、1つのトラックにおける平均アクセス時
間を10ミリ秒、最外周トラックともとのトラックとの
間で磁気へ、ドが移動するのに要する時間を片道50ミ
リ秒とすると、バドセクタがあるごとに110ミリ秒の
余分な時間を費やすことになる。これはlトラフ2分の
データを転送する時間、約100 ミIJ秒に匹敵する
It often includes For example, when writing data to a magnetic disk, if there is a sector (bad sector) containing such pads, a spare sector of an alternative track is used. Generally, this alternative track is often assigned to the outermost track of the disk. When a bad sector is identified while writing data to a certain track, the magnetic head is moved to the outermost track, an alternative sector is selected, data is written, and the magnetic head is moved to the original track. The same applies when reading data. For example, if the average access time on one track is 10 ms, and the time required for a magnetic field to move between the outermost track and the original track is 50 ms each way, then each bad sector will have 110 ms. It will cost you milliseconds of extra time. This is comparable to the time required to transfer two troughs of data, approximately 100 milliJ seconds.

一般の処理システムでは、磁気ディスクの;11す御は
データチャネルによって中央処理装置(CPU )とは
独立に行なわhている。チャネルのメモリ制御部は、C
PUから与えられるチャネルコマンドを順次読み敗り、
最小のアクセス時間でアクセスできるセクタからデータ
をまとめて読み出し、またはこれに琳き込むことで、全
体の処理速度の向上を図っている。通常のCPUにおけ
る処理では一般に待合せが可能であるので、バドスポッ
トの存在によシ磁気ディスクへのアクセスにとくに時間
を要したとしても、支障は生じない。
In a typical processing system, control of a magnetic disk is performed by a data channel independently of the central processing unit (CPU). The memory control section of the channel is C
Failed to read channel commands given from PU sequentially,
The overall processing speed is improved by reading data all at once from sectors that can be accessed with the least amount of access time, or by storing data therein. Since processing in a normal CPU generally allows for queuing, there is no problem even if it takes a particularly long time to access the magnetic disk due to the existence of bad spots.

しかし、多量の時系列信号を所定のデータ転送速度を維
持しながら回転型メモリへ入出力しなければならないシ
ステムでは、このバドスポットの存在によるメモリ書込
み/読出し動作の遅延はデータの転送に支障を与えるこ
とになる。
However, in systems where a large amount of time-series signals must be input/output to/from rotating memory while maintaining a predetermined data transfer rate, delays in memory write/read operations due to the presence of bad spots can hinder data transfer. will give.

たとえば医療診断用画像データ処理システムでは、いわ
ゆる輝尽性を有する螢光体材料に記録した放射線画像を
尤ビームでラスク走査してかjr尽発光を得、これを光
電変換して得られる入力時系列信号に画像処理を施して
出力時系列イ1゜号を得、記録媒体上をラスク走介して
いる尤を出力時系列1言号で変調して可視画像をp)生
じている。このシステムの場合、放射線画像1フレーム
あたシたとえば4メガバイトはどの画素y′−タがあシ
、1フレームまたは前後の複数フレームの画素データを
一時的に蓄積して、複数フレームの間での画像処理また
は1フレームの画像処理条件を変更した再生画像を複数
回得る等の目的で情報量の多さからたとえば磁気テ゛イ
スクが一時記憶媒体として用いられる。
For example, in an image data processing system for medical diagnosis, a radiation image recorded on a phosphor material with so-called photostimulability is scanned with a laser beam to obtain stimulable luminescence, which is then photoelectrically converted into an input image. Image processing is performed on the series signal to obtain an output time series I1, and the signal running on the recording medium is modulated by the output time series I1 to produce a visible image p). In this system, for example, 4 megabytes per frame of a radiation image is determined by which pixel y'-data is used, and the pixel data of one frame or multiple frames before and after is temporarily stored, and pixel data between multiple frames is stored. For example, a magnetic disk is used as a temporary storage medium because of its large amount of information for the purpose of image processing or obtaining a reproduced image multiple times by changing the image processing conditions of one frame.

このような画像データ処理システムでは一般に、画像読
取装置および画像記録装置の光学的または機構的制約か
ら、入力時系列信号および出力時系列信号のデータ転送
速度を一定に保持しなけれはならないことが多い。通常
、これらの画像読取装置および記録装置は、画像の品質
を保持する必要から、いったん処理を開始すると処理の
途中で税取り1だは記録動作を中断することはできない
。たとえば、画像の主走五に光学的走査を使用し、副走
作に機械的走査を使用したシステムでは、装置〆1″の
機械的慣1生のた一部に、現状の技術において経済的に
実現可能゛な構成部品を使用する限りでは、急激な起動
または停止を繰シ返えしてもなお品質の高い画像を形成
することは困難である。したがって、前述のように回転
型メモリにバドスポ、トが検出されるごとに、たとえば
最外周トラックの代替セクタにアクセスしなければなら
ない方式では、そのアクセス時間が長いためにデ〜りの
欠落を生ずる恐れがある。
In such image data processing systems, it is often necessary to maintain the data transfer rate of input time series signals and output time series signals constant due to optical or mechanical limitations of the image reading device and image recording device. . Normally, these image reading devices and recording devices are unable to interrupt the recording operation in the middle of the process once they start processing, since it is necessary to maintain the quality of the image. For example, in a system that uses optical scanning for the main scanning of images and mechanical scanning for the sub-scanning, there are some problems with the mechanical operation of the device, which is not economical with current technology. As long as components that can be realized in In a system in which, for example, an alternative sector of the outermost track must be accessed every time a bad spot is detected, there is a risk that data will be lost due to the long access time.

本発明は、このような従来技術の欠点を解消し、記憶媒
体に正常に記憶できない欠陥箇所があっても時系列入出
力信号に欠除を生ずることなく所定の転送速度で時系列
入出力信号を転送できる回転型メモリの制御方法を提供
することを目的とする。
The present invention eliminates the drawbacks of the prior art and allows time-series input/output signals to be processed at a predetermined transfer rate without causing deletions in the time-series input/output signals even if the storage medium has a defective location that prevents normal storage. The purpose of this invention is to provide a control method for a rotating memory that can transfer data.

この目的は次のような本発明に埋る回転型メモリの制御
方法によって達成される。すなわち、回転型メモリの記
憶11’ W−にデータの読出しおよび1ノ1込みを行
なう回転型メモリの制御方法であって、アクセスする1
;C億単位に対応して、その記憶単位中の正常に記憶で
きない記憶区分の存否を表示した第1のテーブルを準備
し、その記憶jIi位にテ゛−夕の読出しまたは書込み
を行なうときは、第1のテーブルを参照し、記憶単位の
中に正常に記憶できない記憶区分があるときはその記憶
区分を飛び越して同じ記憶単位における次に正常に記憶
できる記憶区分にデータの読出しまたは書込みを行なう
ものである。
This object is achieved by a rotating memory control method embedded in the present invention as follows. That is, this is a control method for a rotary memory that reads data from and stores data 11'W- in a memory 11'W- of a rotary memory.
; When preparing a first table indicating the existence or nonexistence of a storage section that cannot be stored normally in the storage unit corresponding to C billion units, and reading or writing data to the storage position jIi, Refers to the first table and, if there is a storage section in the storage unit that cannot be stored normally, skips that storage section and reads or writes data to the next storage section in the same storage unit where it can be stored normally. It is.

なお本明細Hにおいて、「記憶単位」とは回転型メモリ
においてアクセスする記憶ロケーションの制御単位てあ
シ、たとえば磁気ディスクでは1本または複数本のトラ
ックを含み得る。
Note that in this specification H, a "storage unit" is a control unit of a storage location accessed in a rotating memory, and may include one or more tracks in a magnetic disk, for example.

また「記憶区分」とは、記憶単位を構成するデータの最
小アクセス単位であシ、たとえば磁気ディスクではセク
タを意味する。
Furthermore, the term "storage section" refers to the minimum access unit of data constituting a storage unit, for example, a sector on a magnetic disk.

次に添付図面を参照して本発明による回転型メモリの1
DIJ御方法を詳、別に1況明する。
Next, with reference to the accompanying drawings, one example of a rotary memory according to the present invention will be described.
I will explain the DIJ method in detail separately.

第1図は本発明による同転型メモリ制(財)装置の基本
構成を概念的に示すプロ、り図である。
FIG. 1 is a schematic diagram conceptually showing the basic configuration of a simultaneous transfer type memory system (incorporated) device according to the present invention.

本装置はメモリ制飢部100を有し、メモリ制御部10
0は、たとえば画rli 1m号などの時系列入力信号
を受信する入カポ−)102、およびそのような信号を
時系列出力信号として送出する出力ポート104に接続
されている。メモリ制御部100はまた、バッファメモ
1,1106を介してたとえぽ磁気ブ゛イスクなどの回
転型メモリ200にも接続されている。−例を示せば、
回転型メモ’、+200は1回販所要時間20 ミIJ
秒、隣接トラック移動時間10ミリ秒の磁気ディスク装
置である0バツフアメモリ106はそれぞれ磁気ディス
ク200の1トラック分のデータ蓄積容量を有する2り
のバンク106Aおよび106Bからなる。
This device has a memory control section 100, and a memory control section 10.
0 is connected to an input port 102 for receiving a time-series input signal, such as, for example, an image rli 1m, and an output port 104 for transmitting such a signal as a time-series output signal. The memory controller 100 is also connected to a rotating memory 200, such as a magnetic disk, via a buffer memory 1,1106. -For example,
Rotating Memo', +200 takes 20 minutes to sell once
The zero buffer memory 106, which is a magnetic disk device with an adjacent track moving time of 10 milliseconds, is composed of two banks 106A and 106B each having a data storage capacity of one track of the magnetic disk 200.

メモリili制御部100は、Lトラフ2分のデ゛−タ
をたとえば100917秒間で時系列信号として転送す
る転送速度を維持しなかぁ、磁気ディスク200の読出
し/書込みを制御する機能を有する。
The memory ili control unit 100 has a function of controlling reading/writing of the magnetic disk 200 while maintaining a transfer rate of transferring two L troughs of data as a time-series signal in, for example, 100,917 seconds.

第1図に示す回転型メモリ制量装置の1つの実施例とし
て具体的な構成を示したのが第2図である。同図におい
て第1図と同様の構成要素は同じ参照符号で示す。
FIG. 2 shows a specific configuration of one embodiment of the rotary memory limiting device shown in FIG. 1. In FIG. In this figure, components similar to those in FIG. 1 are designated by the same reference numerals.

メモリ制御部100は、時系列信号入出カポ−)102
および104に接続された入出力回路110を有し、こ
れはデータ/制御バス112を介して中央処理装置(C
PU ) 114に接続されている。バス112は図の
複雑化を避けるたメ、データバス、アドレスバス、命令
バスおよび他の制御線などを象徴的に図示している。バ
ス112には、CPU114の1ltlJ御プログラム
や固定r−夕などを蓄積した読出専用メモリ(ROM 
) 116 ’1高速メモリとしてのランタ′ムアクセ
スメモリ(RAM ) 118 、および第1図のバッ
ファメモ!J 106が接続されている。第】図ではパ
ラノアメモリ106がメモリ制御抑部100の外部にJ
8’ &q’、されるように示されているが、メモリ制
f卸部100(味、第2図に・」【すようにマイクロコ
ンビ・−夕などの処理装置で実現した場合には、RAM
 118内の一部領域、またはRAM 118と同t1
[の別個のRAMを使用してノコ現できるので、第2図
に小すようにメモリ1li111111部100の一部
をなすものと考えてもよい。
The memory control unit 100 includes a time series signal input/output capacitor) 102
and an input/output circuit 110 connected to the central processing unit (C
PU) 114. Bus 112 symbolically represents a data bus, address bus, command bus, and other control lines to avoid complicating the diagram. The bus 112 includes a read-only memory (ROM) that stores 1ltlJ control programs for the CPU 114, fixed r-control programs, etc.
) 116 '1 Random access memory (RAM) 118 as high-speed memory, and the buffer memo of FIG. J106 is connected. In the figure, the paranoia memory 106 is connected to the outside of the memory control suppressor 100.
8'&q', but if the memory control unit 100 (as shown in FIG. 2) is realized with a processing device such as a microcombi, RAM
Part of the area within 118 or the same t1 as RAM 118
Since it can be implemented using a separate RAM, it can be considered as part of the memory 1li111111 section 100 as shown in FIG.

回転型メモリ200としての磁気ディスク装置は、第2
図では、たとえばディスクパックなどのディスクユニッ
ト202と、磁気ヘッド制御回路Σ−17テータ書ぐみ
/読出し回路などを含むディスク回路204と、メモリ
制御部100のデータ線、アドレス線、制御線などとの
インタフェースヲトるインタフェース部206とを有す
る。インタフェース部206はメモリ制御部100のバ
ス112に接続され、またデータ線120を介してパラ
ノアメモリ106にアクセスすることができる。
The magnetic disk device serving as the rotating memory 200 has a second
In the figure, a disk unit 202 such as a disk pack, a disk circuit 204 including a magnetic head control circuit Σ-17 data writing/reading circuit, and data lines, address lines, control lines, etc. of the memory control unit 100 are connected. The interface unit 206 has an interface section 206 for controlling the interface. The interface section 206 is connected to the bus 112 of the memory control section 100 and can access the paranoia memory 106 via the data line 120.

なお本実施例の、メモ’) li制御部100はマイク
ロコ7ピ一一夕で′ノー現し、でいるが、こレハヒ、l
・スジ・イス方式の一2イクロコンーピュ一つてもよく
、またマイクロコンビーータの代りに布線論理回路によ
っても実現できることは言うまでもない。
In addition, in this embodiment, the li control section 100 shows ``NO'' in one microcopy 7 pins, but this
・It goes without saying that a single 12-microcomputer of the strip-and-chair type may be used, and that it can also be realized by a wired logic circuit instead of a microconbeater.

本発明によれば、RAM 118の記憶領域内にベトセ
クタテーブル300および交替テーブル400を用意す
る(第3図)。ベトセクタテーブル300は、ベトセク
タのトラック番号およびセクタ信号を示すもので、第4
図にその一例を示す。この例では、ディスクパック20
2は2つのユニット202−0および202−1(第3
図)からなシ、各ユニットはディスクの6而を有効な記
憶領域に使用するものとしている。第4図に示すように
、セクタ信号の表示部302に6ビツト、トラック番号
の表示部に10ビットを割り当て12のセクタに1ワー
ドを使用すると、ディスク1.面当りの最大パッドセク
タ数を20と仮定すれば、2ユニ、 ト202−0およ
び202−1分のベトセクタテーブル300として24
0ワードの高速ノモリ領賊を使用する(第3図)。
According to the present invention, a bet sector table 300 and a replacement table 400 are prepared in the storage area of the RAM 118 (FIG. 3). The bet sector table 300 shows the track number and sector signal of the bet sector.
An example is shown in the figure. In this example, disk pack 20
2 is two units 202-0 and 202-1 (third
As shown in Figure 2, each unit uses six disks as an effective storage area. As shown in FIG. 4, if 6 bits are assigned to the sector signal display section 302 and 10 bits are assigned to the track number display section, and one word is used for 12 sectors, the disc 1. Assuming that the maximum number of pad sectors per surface is 20, the pad sector table 300 for 2 unit, 202-0 and 202-1 is 24.
Use the high-speed Nomori pirate with 0 words (Figure 3).

ブ゛イスクユニット202−0および202−1は通常
、その供給業者においてパドスポットの存在をあらかじ
め検出し、その位置を特定のトラック210にあらかじ
め記録しておくことが多い。勿論、使用音IIIすにお
いてイニシャライズ時にディスクのパドスポットを検出
し、そのディスクユニットの特定のトラック210にベ
トセクタに関する情報を書き込んでもよい。トラック2
10に記録されたベトセクタに関する情報は、ディスク
イニシャライズ操作またはシステムの電源投入によ、9
、CPU114がベトセクタテーブル設定のサブルーチ
ンを起動することによってトラック210からRAM 
118の領域300に転送され、蓄積される。これを第
3図の矢印212−0および212−1で示す。
Busk units 202-0 and 202-1 typically have their suppliers pre-detect the presence of a pad spot and often pre-record its location on a particular track 210. Of course, the pad spot of the disk may be detected at the time of initialization in the usage sound III, and information regarding the pad sector may be written in a specific track 210 of the disk unit. track 2
The information regarding the last sector recorded in 10 is changed to 9 when the disk initialize operation or the system power is turned on.
, the CPU 114 activates a subroutine for setting a sector table, so that the RAM is transferred from the track 210.
118 and is stored in the area 300. This is indicated by arrows 212-0 and 212-1 in FIG.

第4図に示すように、ベトセクタテーブル300におい
てベトセクタの位置はユニット番号およびヘッド信号に
対応するワー ドに、ベトセクタの香りおよびトラック
の甫7シ′として表示される。
As shown in FIG. 4, in the bet sector table 300, the position of the bet sector is displayed in the word corresponding to the unit number and head signal as the smell of the bet sector and the 7th position of the track.

ベトセクタがない場合はオールr −I J (6ビツ
ト16進数では3F、toビット16進数では3FF 
)が淋き込まれる。第4図の例では2箇所310および
312にベトセクタが表示されている。
If there is no bad sector, all r - I J (3F in 6-bit hexadecimal, 3FF in to-bit hexadecimal)
) will be left alone. In the example of FIG. 4, bet sectors are displayed at two locations 310 and 312.

交替テーブル400は、論理セクタと物理セクタの対応
をとシ、ベトセクタの使用を排除するだめのテーブルで
ある。これは、データの読出しまたは書込みに使用する
トラックが決定し、そのトラックをシークしている間、
またはその前の空き時間に、すなわちトラックを更新す
るたびに、ベトセクタテーブル300に基づいてRAM
 118の領域400に作成される。これを第3図の矢
印214で示す。
The replacement table 400 is a table that establishes the correspondence between logical sectors and physical sectors and eliminates the use of solid sectors. This determines which track will be used to read or write data, and while seeking that track,
or in the previous free time, that is, each time the track is updated, the RAM is
118 area 400. This is indicated by arrow 214 in FIG.

本発明によれば、ベトセクタの代替セクタはそのベトセ
クタに含まれているトラックに設ける。通常は1つのト
ラ、りに、たとえば少なくとも2個のセクタが未使用状
態のまま残るようにブ′−りの、1)込み動作を行なう
。第5図に一例を/ドすように、交替テーブル400は
、4ビットからなるへ、ド番号の表示部402と、6ビ
ノトからなるセクタ市シlの表示部404と、ステータ
ス表示部406とで構成され、■ワードが1つのセクタ
に対応している。この例では1つのトラックにRAM 
118の50ワードの領域400を割シ当てている(第
3図)。ベトセクタおよび未使用セクタにはオールl1
l(6ビツト16進表示の3F)が升き込まれる。第5
図の例では、物理セクタ3、すなわち410で示す位置
のセクタがベトセクタであり、以降、物理セクタ4が論
理セクタ3に、物理セクタ5が論理セクタ4に、という
ように、最後位の未使用セクタのうちのいくつかを代替
セクタとして使用するように、論理セクタと物理セクタ
の対応がシフトしている。数字412で示すセクタは未
使用セクタである。なおステータス表示部406は、第
6図に示すようにこの例では3ビ、)、R,WおよびR
AWからなり、これらのヒツトはそれぞれ、各セクタご
とにリード、ライトおよびリード・アフタ・ライトの動
作が終了したか否かを示す。これらのビーットは「1」
でその動作の終了を示し、「0」で未了を示す。
According to the present invention, an alternative sector for a bet sector is provided in a track included in the bet sector. Typically, 1) a block operation is performed in one sector so that, for example, at least two sectors remain unused. As shown in an example in FIG. 5, the replacement table 400 includes a 4-bit number display section 402, a 6-bit sector number display section 404, and a status display section 406. A word corresponds to one sector. In this example, one track has RAM
118, an area 400 of 50 words is allocated (FIG. 3). All l1 for old sectors and unused sectors
1 (3F in 6-bit hexadecimal notation) is stored. Fifth
In the example shown in the figure, physical sector 3, that is, the sector at the position indicated by 410, is a solid sector, and thereafter, physical sector 4 becomes logical sector 3, physical sector 5 becomes logical sector 4, and so on. The correspondence between logical sectors and physical sectors is shifted so that some of the sectors are used as alternative sectors. The sector indicated by the number 412 is an unused sector. In addition, as shown in FIG.
AW, and each of these hits indicates whether or not read, write, and read-after-write operations have been completed for each sector. These beats are "1"
indicates the end of the operation, and "0" indicates unfinished.

前述のように、イニシャライズのとき、または本装置に
電源を投入したとき、パドセクタデーブル300がRA
M 118の中に作成される。
As mentioned above, when initializing or turning on the power to this device, the pad sector table 300 is set to RA.
Created in M 118.

たとえば酢込み動作の場合、CPU 114はアクセス
する磁気ディスク202のトラックが決定すると、磁気
ヘッドをそのトラックへ移動させてシーク動作をしてい
る間、またはその直前の空き時間に、そのトラックの交
替テーブル400をRAM 118の中に作成する。入
力z−ト102に所定の転送速度で入力された時系列信
号は、■トラック分が一方のパック、たとえば106A
に蓄積される。次の1トラック分は他方のパンク106
Bに順次蓄積されるが、その間に、バック106Aに蓄
イ貴きれているlトラック分のフ゛−夕をパンク106
Aから読み出し、う゛−タ腺120を介して磁気ブ゛イ
スク装置200に転ツムし、インタフ・−ス部20Gお
よびディスク回路204を通して磁気ディスク202の
選択されだトう、りに占き込まれる。その際、Cr’U
114は交替テーブル40Gを参照してパドセクタがあ
ればそハをスキ、プし、j順次、次の使用可能なセクタ
にデータを書き込む。■トラック分のデータをパンク1
06Aかもそのトラックに転送し終ると、CPU 11
4は他のトラックを選択し、同様の動作を行なう−。
For example, in the case of a search operation, once the track of the magnetic disk 202 to be accessed is determined, the CPU 114 moves the magnetic head to that track and replaces that track while the seek operation is being performed or in the free time just before that. A table 400 is created in RAM 118. The time series signal inputted to the input Z-tooth 102 at a predetermined transfer rate is
is accumulated in The next one track is the other puncture 106
B is sequentially stored, but in the meantime, the data for one track that has been stored in the back 106A is punctured 106.
The data is read from A, transferred to the magnetic disk device 200 via the data gland 120, and transferred to the selected portion of the magnetic disk 202 through the interface section 20G and the disk circuit 204. . At that time, Cr'U
114 refers to the replacement table 40G, and if there is a pad sector, it is skipped, and data is written to the next available sector in j order. ■ Punk 1 track worth of data
When 06A finishes transferring to that track, CPU 11
4 selects another track and performs the same operation.

−例として書き込み動作を詳述する。外部から入力ポー
ト102にトラックライトコマンドが与えられると、C
PU 114はこれに応動して指定されたトラックを選
択する。あるトラックのあるセクタ上をヘッドが走行中
にライトコマンドが与えられたとすると、CPU 11
4はそのセクタの次のインデクスを検出してそのセクタ
、すなわち新しいセクタのアドレスを識別する。
- Detailing a write operation as an example. When a track write command is given to the input port 102 from the outside, C
In response, PU 114 selects the designated track. If a write command is given while the head is running on a certain sector of a certain track, the CPU 11
4 detects the next index of that sector to identify the address of that sector, ie, a new sector.

このセクタアドレスにより交替テーブル400をサーチ
し、そのセクタが未使用セクタ412またはバドセクク
410てメ矛[は、次のセクタまで待ち合わせる。I小
月jIi]能なセクタであれば、ステータス表示部40
6を調べ、Wビットが「O」であれはそのセクタにバラ
ノア106Aまたは106Bからデータを取シ出して書
き込み、Wビットを「1」に変える。RAWビットが「
1」であればそのセクタは書込みを正常に完了したセク
タであるから、次のセクタまで待ち合わせる。RAWビ
ットがrOJでWピントが「1」であれば、ライト動作
のみ完了したセクタであるので、そのセクタの内容を読
み出し、誤りがあるか否かを検査する。すなわち、誤り
が検出されればそのセクタはWピットを「o」として次
のライト動作に供される。課シが検出されなければRA
Wビットを「1」としてそのセクタは害、き込みが正常
に完了したことになる。
The replacement table 400 is searched using this sector address, and if the sector is an unused sector 412 or a bad sector 410, the next sector is waited for. If the sector is available, the status display section 40
6, and if the W bit is "O", data is extracted from Balanor 106A or 106B and written into that sector, and the W bit is changed to "1". RAW bit is “
If it is "1", that sector is a sector in which writing has been completed normally, so the process waits until the next sector. If the RAW bit is rOJ and the W focus is "1", this is a sector in which only a write operation has been completed, so the contents of the sector are read out and checked for errors. That is, if an error is detected, the W pit in that sector is set to "o" and the sector is used for the next write operation. If the department is not detected, RA
When the W bit is set to "1", it means that the sector has been damaged and the writing has been completed normally.

このように、ライトコマンドが与えられるとトラックの
途中てもトラックの先頭セクタの回東を待つことなく次
に到来するセクタから直ちにライト動作を行なうことが
できる。また、・ぐ1・゛セクタの代君・セクタは同じ
トラックにあるので、1つのトラ、りにつきシーク動作
は1回しか行なわれない。したがって前述の例ては、1
1・う、り分のプ′−夕の転義時間にlOOミリ沙が刷
り当てられ、隣接トラック間のシーク動作10ミリ秒を
要するので、その差の90ミリ秒が1本のトラックに割
シ当てられたアクセス可能な時間である。この間にディ
スクは45回転するので、ライトおよびリード・アフタ
・ライトを各2回試行することができる。
In this way, when a write command is given, even in the middle of a track, the write operation can be performed immediately from the next arriving sector without waiting for the return of the leading sector of the track. Also, since the prime sector of sector 1 and 1 is on the same track, only one seek operation is performed per tiger. Therefore, in the above example, 1
1. Since 10 milliseconds are imprinted on the transfer time of the program and the seek operation between adjacent tracks is 10 milliseconds, the difference of 90 milliseconds is allocated to one track. designated and accessible times. During this time, the disk rotates 45 times, so write and read-after-write can each be attempted twice.

読出し動作の場合、アクセスするディスク202のトラ
ックが決まると、そのトラックの交替テーブルをRAM
 118の中に作成する。次に、ガイスフ202のその
トラックからディスク回路204およびインクフェース
部206を通してデータを読与出し2、j゛−夕線12
0を介して一方のパンク、たとえば106Aにこれを蓄
(L場る。その際、cpu t 14はそのトラックの
交汗テーブル400を参照してバドセククがあれはそれ
をスキ、ゾし、Il、ii“2次そのトラック内のすへ
ての1史用セクタのデータを読み出す。■トラ、り分の
プ゛−夕をパンク106Aに蓄、債し終ると、CPU 
114は他′◇トラックを選択し、同様の動作を行なう
。池のトラッークから他力のバンク106Bにデータが
書き込まれている間に、前に一方のバンク106Aに蓄
積されたデータはバンク106から読み出され、所定の
転送速度で出力ポート104から送出される。
In the case of a read operation, once the track of the disk 202 to be accessed is determined, the replacement table for that track is stored in the RAM.
118. Next, data is read out from that track of the guide 202 through the disk circuit 204 and the ink face section 206 2,
This is stored in one puncture, for example 106A, through 0. At that time, CPU t 14 refers to the exchange table 400 of that track, and if the bad security wants to skip it, Il, ii "2nd" Read the data of all 1 history sectors in the track. ■ When the track is finished storing and transferring the portion of the data to the punk 106A, the CPU
114 selects another '◇ track and performs the same operation. While data is being written from one track to the other bank 106B, the data previously stored in one bank 106A is read out from the bank 106 and sent out from the output port 104 at a predetermined transfer rate. .

本発明による回転型メモリの制御方法は、回転型メモリ
に特有のバドスポットが記憶媒体中に存在しても、代替
セクタへのアクセスに時間を要することがないので、多
量の時系列入出力信号を所定の転送速度を維持しながら
回転型メモリに読出し/書込みを行なうことができる。
The rotating memory control method according to the present invention does not require time to access an alternative sector even if bad spots, which are unique to rotating memories, exist in the storage medium. can be read/written to a rotating memory while maintaining a predetermined transfer rate.

したがって時系列信けの転送に欠落を生じない。Therefore, no gaps occur in the transfer of time-series beliefs.

本発明は、一定のデータ転送速度てう−夕が人出力され
るデータ処理システムにとくに効宋的に適用される。
The invention finds particular application in data processing systems in which a constant data rate is output.

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

第1図は本発明による回転型メモリ制御装置のノー2本
構成を概念的に示すプロ、り図、第2図は第1図に小す
装置をマイクロコンビ・−夕で実現した特定の実施例を
示すブロック図、 第3図ないし第6図はバドセクタテーブルおよび交替テ
ーブルの構成を示す構成図である。 主要部分の一符号の説明 ioo・・・メモリ割引1部 106・・バッファメモリ 200・・回転型メモリ 300・・パドセクタテーブル 400・・・交替テーブル
Fig. 1 is a schematic diagram conceptually showing the no-two-piece configuration of the rotary memory control device according to the present invention, and Fig. 2 shows a specific implementation in which the device shown in Fig. 1 is realized by a microcombi. Block Diagrams Showing Examples FIGS. 3 to 6 are configuration diagrams showing the configurations of a bad sector table and a replacement table. Explanation of one code of the main parts ioo...Memory discount 1 section 106...Buffer memory 200...Rotating memory 300...Pad sector table 400...Replacement table

Claims (1)

【特許請求の範囲】 1 回転型メモリの記憶単位にデータの読出しお(び書
込みを行なう回転型メモリの制御方法において、 アクセスする記憶単位に対応して、該記憶単位中の正常
に記憶できない記憶区分のび否を表示した第1のテーブ
ルを準備し、 該記憶単位にデータの読出しまたは書込みを行なうとき
は、第1のテーブルを参照し、該記憶単位の中に正常に
記憶できない記憶区分があるときはその記憶区分を飛び
越して該記憶単位における次に正常に記憶できる記憶区
分にデータの読出しまたは書込みを行なうことを特徴と
する回転型メモリの制御方法。 2、特許請求の範囲第1項記載の方法において、第1の
テーブルは、アクセスする記憶単位を選択する際に該記
憶単位について第2のチーゾルから形成さ!+、、第2
の−゛j−j−プル転型メモリの記憶学位に訝1れる正
常に記憶できない記憶区分を表示し、該回転型メモリの
初期設定時に該回転型メモリから形成されることを特徴
とする回転型メモリの1lill m1方法。 3、 特許請求の範囲第1項記載の方法において、第1
のテーブルは、前記記憶単位に含まれる記憶区分のアク
セス状態を表示する状態表示部を含み、記憶区分にアク
セスする際は、該記憶区分に対応する状態表示部を参照
し、該記憶区分にアクセスしたときは、該アクセスをし
た□ことを該状態表示部に表示することを特徴とする回
転型メモリの制叫1方法。
[Scope of Claims] 1. In a rotating memory control method for reading (and writing) data to a storage unit of a rotating memory, the memory in the storage unit that cannot be stored normally corresponds to the storage unit to be accessed. Prepare a first table that displays the extent of classification, and when reading or writing data to the storage unit, refer to the first table and check if there is a storage section in the storage unit that cannot be stored normally. 2. A control method for a rotating memory, characterized in that data is read or written to the next storage section in the storage unit that can normally store data, skipping that storage section. 2. Scope of Claim 1 In the method, the first table is formed from the second cheesels for the storage unit when selecting the storage unit to access.
-j-j-pull The rotation type is formed from the rotation type memory at the time of initial setting of the rotation type memory, and displays a storage section that cannot be stored normally due to the storage degree of the rotation type memory. 1lill m1 method of type memory. 3. In the method according to claim 1, the first
The table includes a status display section that displays the access status of the storage section included in the storage unit, and when accessing a storage section, refer to the status display section corresponding to the storage section and access the storage section. 1. A first method for suppressing a rotary memory, characterized in that when the access is made, the fact that the access has been made is displayed on the status display section.
JP8771482A 1982-05-24 1982-05-24 Controlling method of rotation type memory Pending JPS58205269A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8771482A JPS58205269A (en) 1982-05-24 1982-05-24 Controlling method of rotation type memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8771482A JPS58205269A (en) 1982-05-24 1982-05-24 Controlling method of rotation type memory

Publications (1)

Publication Number Publication Date
JPS58205269A true JPS58205269A (en) 1983-11-30

Family

ID=13922564

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8771482A Pending JPS58205269A (en) 1982-05-24 1982-05-24 Controlling method of rotation type memory

Country Status (1)

Country Link
JP (1) JPS58205269A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR970066894A (en) * 1996-03-08 1997-10-13 김광호 High-speed data access method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR970066894A (en) * 1996-03-08 1997-10-13 김광호 High-speed data access method

Similar Documents

Publication Publication Date Title
EP0383298B1 (en) Data recording and reproducing apparatus
US5761160A (en) Optical disk playback and recording device which alternately allocates logical addresses on different sides of disk
US5357381A (en) Flexible magnetic disc drive apparatus for designating alternate sectors for defective sectors
JPH09251721A (en) Optical disk medium and optical disk device
US5084789A (en) "Parallel transfer type disk system"
US5873125A (en) Logical address structure for disk memories
KR900007472B1 (en) The method of control of rotary type memory device
JP2836929B2 (en) Rotary storage device and control method thereof
JPH0324691B2 (en)
JPH0316712B2 (en)
JPS58205269A (en) Controlling method of rotation type memory
JPS583103A (en) Magnetic disc device
JP2790265B2 (en) Information recording method
JPH05128734A (en) Data recording/reproducing method for magneto-optical disk device
JPS5823307A (en) Assigning method of alternative storage area for rotating type magnetic storage device
JPS5898806A (en) Controlling system for rotary storage device
JP3136811B2 (en) Alternative sector processing method
JPS63113984A (en) Optical disk control system
JPS63306567A (en) Rotary type storage device
JPS6117274A (en) Optical disk control device
JPS62154267A (en) Information reproducing device
JPS60235260A (en) Storage device
JPH06325494A (en) Defect relieving device for memory device
JPH04238163A (en) Information recording and reproducing device
JPH061597B2 (en) Optical disk copying machine