JP2652037B2 - Information recording and playback method - Google Patents

Information recording and playback method

Info

Publication number
JP2652037B2
JP2652037B2 JP12333288A JP12333288A JP2652037B2 JP 2652037 B2 JP2652037 B2 JP 2652037B2 JP 12333288 A JP12333288 A JP 12333288A JP 12333288 A JP12333288 A JP 12333288A JP 2652037 B2 JP2652037 B2 JP 2652037B2
Authority
JP
Japan
Prior art keywords
optical card
information recording
reselection
bus
command
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 - Lifetime
Application number
JP12333288A
Other languages
Japanese (ja)
Other versions
JPH01292518A (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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP12333288A priority Critical patent/JP2652037B2/en
Publication of JPH01292518A publication Critical patent/JPH01292518A/en
Application granted granted Critical
Publication of JP2652037B2 publication Critical patent/JP2652037B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、SCSIを介してホストコンピュータからの指
令に基づいて、光カードに所定情報を記録再生する情報
記録再生方式に関する。
Description: TECHNICAL FIELD The present invention relates to an information recording / reproducing method for recording / reproducing predetermined information on / from an optical card based on a command from a host computer via SCSI.

[従来の技術] SCSI(Small Computer System Interface)は、米国
シュガート社の小型コンピュータとその周辺装置とを結
ぶインタフェースSASI(Small Computer System Interf
ace)をANSI(米国規格協会)X3.131−1986で規格化
し、呼び換えたもので、8ビット並列信号を扱い、デー
タ伝送速度が1.5Mバイト/秒で、7個まで同時に制御す
るマルチタクスができるものである。
[Background Art] SCSI (Small Computer System Interface) is an interface that connects a small computer manufactured by Sugart Co. of the United States and its peripheral device SASI (Small Computer System Interface).
ace) was standardized by ANSI (American National Standards Institute) X3.131-1986, and was rewritten. It handles 8-bit parallel signals, has a data transmission rate of 1.5 Mbytes / sec, and has a multi-tax system that controls up to seven simultaneously. You can do it.

上記ANSIが規定するインタフェース規約の範囲は、次
の5点である。
The range of the interface rules defined by the ANSI is the following five points.

(1)インタフェース信号の種類とその定義、信号授受
のタイミング (2)インタフェースとしての動作シーケンスを規定す
るプロトコル、各フェーズ等の定義 (3)ケーブル仕様、コネクタ仕様等の物理的インタフ
ェース条件、伝送系の電気的条件 (4)周辺機器の各種制御やデータ転送を実行するため
のコマンド体系並びにコマンドの形成および各コマンド
の機能 (5)コマンドの実行結果をホストコンピュータに知ら
せるためのステータスバイト形式、並びにその過程にお
ける異常状態等を知らせるセンスデータの構造 である。
(1) Types of interface signals and their definitions, signal transfer timings (2) Protocols that define the operation sequence as an interface, definitions of each phase, etc. (3) Physical interface conditions such as cable specifications and connector specifications, transmission systems (4) Command system for executing various controls and data transfer of peripheral devices, command formation and function of each command (5) Status byte format for notifying the host computer of command execution results, and This is the structure of sense data that informs an abnormal state in the process.

上記(4)におけるコマンド体系は、以下の通りであ
る。
The command system in the above (4) is as follows.

SCSIのコマンドは、8種類のグループに分けられる。
CDBの最初のバイトはオペレーションコードであり、こ
のオペレーションコードの上位3ビットがグループコー
ドを指定し、下位5ビットがグループ毎のコマンドコー
ド(コマンドの種類を示すコード)を指定する。
SCSI commands are divided into eight types of groups.
The first byte of the CDB is an operation code. The upper 3 bits of the operation code specify a group code, and the lower 5 bits specify a command code (code indicating a command type) for each group.

上記CDBの長さは、グループ毎に以下のように規定さ
れている。
The length of the CDB is defined as follows for each group.

(1)グループ0……6バイト (2)グループ1……10バイト (3)グループ2〜4……リザーブド (4)グループ5……12バイト (5)グループ6〜7……ベンダーユニーク 上記グループ6〜7のCDBは、SCSIデバイスで固有に
定義可能なコマンド群である。
(1) Group 0: 6 bytes (2) Group 1: 10 bytes (3) Groups 2 to 4: Reserved (4) Group 5: 12 bytes (5) Groups 6 to 7: Unique vendor group CDBs 6 and 7 are commands that can be uniquely defined in the SCSI device.

各コマンドにおいて、論理ブロックアドレスは、ロジ
カルユニット上で、固定長のデータブロックが連続して
配列されている。
In each command, the logical block address is such that fixed-length data blocks are continuously arranged on the logical unit.

第8図は、ハードディスク装置における論理ブロック
の構成例を示す図である。
FIG. 8 is a diagram showing a configuration example of a logical block in a hard disk device.

第8図において、シリンダ=0、セクタ=0のデータ
ブロックを、論理ブロックアドレス=0とし、セクタ、
トラック、シリンダの順番でそれぞれが1つ増える度
に、論理ブロックアドレスを1つ増加させる。
In FIG. 8, the data block of cylinder = 0 and sector = 0 is set to logical block address = 0, and the sector,
Each time the track and cylinder are increased by one, the logical block address is increased by one.

論理ブロックアドレッシングが優れている点は、イニ
シエータ(ホストコンピュータ)が先頭データブロック
の論理ブロックアドレスと処理ブロック数とを指定して
データをアクセスするので、物理的な構造を意識する必
要がない点である。したがって、上記論理ブロックアド
レッシングを使用すると、シリンダ、トラック、セクタ
等の数が互いに異なるデバイス同志を接続した場合に、
同一のソフトウエアで動作させることができる。
The advantage of logical block addressing is that the initiator (host computer) accesses the data by designating the logical block address of the first data block and the number of processing blocks, so there is no need to be aware of the physical structure. is there. Therefore, when the above-mentioned logical block addressing is used, when devices having different numbers of cylinders, tracks, and sectors are connected to each other,
It can be operated with the same software.

なお、SCSIにおいて、論理ユニット番号(以下、「LU
N」という)を、物理的なデバイスに付与してもよく、
また仮想的なテバイスに付与してもよい。
In SCSI, a logical unit number (hereinafter referred to as "LU
N ") to physical devices,
It may be given to a virtual device.

第9図は、SCSIのシステム構成の一般例を示す図であ
る。
FIG. 9 is a diagram showing a general example of a SCSI system configuration.

論理ユニットとしては、通常は、第8図に示すよう
に、ハードディスク等の物理的なデバイスを使用するこ
とが多い。
As a logical unit, usually, a physical device such as a hard disk is often used as shown in FIG.

ところで、上記SCSIにおいては、通常、0〜7の8台
の論理ユニットを持つことができ、拡張メッセージを用
いると2048台の論理ユニットを持つことができる。
By the way, the above SCSI usually has eight logical units of 0 to 7, and can use the extended message to have 2048 logical units.

一方、光カードは、数千本のトラックを有し、その情
報容量は数Mバイトである。このために、光カードを利
用する場合、その用途にもよるが、画像情報はA領域を
使用し、文書情報はB領域を使用するというように、情
報の種別に応じて光カードの領域を管理すると、必要な
情報を再生する場合に高速で検索できる。したがって、
高速で検索するには、上記のように領域分けが必要にな
る。
On the other hand, an optical card has thousands of tracks, and its information capacity is several megabytes. For this reason, when an optical card is used, the area of the optical card is used in accordance with the type of information, such as using the area A for the image information and the area B for the document information, depending on the application. When managed, the required information can be searched at high speed when reproducing it. Therefore,
In order to search at high speed, area division is necessary as described above.

[発明が解決しようとする課題] しかし、第7図に示すようなSCSIシステムの場合にお
いて、数百論理ブロックアドレスにわたるリード命令が
イニシエータであるホストコンピュータから発行される
と、通常、光カードでは、バスの効率的活用を図るため
に、SCSIバスを切離し、他のデバイスがそのバスを使用
できるようにする。そして、バッファがいっぱいになる
まで、メディアから読込み動作を行ない、リセレクショ
ン動作を再び行ない、光カードとイニシエータとの結合
を行ない、リードデータをイニシエータに転送する。
[Problems to be Solved by the Invention] However, in the case of a SCSI system as shown in FIG. 7, when a read instruction over several hundred logical block addresses is issued from a host computer as an initiator, usually, in an optical card, To make efficient use of the bus, disconnect the SCSI bus so that other devices can use it. Then, until the buffer is full, the read operation is performed from the medium, the reselection operation is performed again, the optical card and the initiator are connected, and the read data is transferred to the initiator.

上記リセレクションフェイズは、通常、次のシーケン
スをとる。
The above reselection phase usually takes the following sequence.

(1)アービトレーションフェーズで光カードがバスの
使用権の獲得を試みる。
(1) In the arbitration phase, the optical card attempts to acquire the right to use the bus.

(2)アービトレーションフェーズでSEL信号(セレク
ト信号)を真にしてから、1.2μS以上待った後に、I/O
信号を真にするとともに、バスにイニシエータと光カー
ド自身のSCSI IDを送出する。その後、90μS以上経過
してから、BSY信号(ビジー信号)を偽にする。光カー
ドはBSY信号の安定を見るために、上記90μSの後で、4
00μS以上経過してから、イニシエータからのBSY応答
を待つ。
(2) After making the SEL signal (select signal) true in the arbitration phase, wait at least 1.2 μS before
Make the signal true, and send the initiator and the SCSI ID of the optical card itself to the bus. Thereafter, after 90 μS or more has elapsed, the BSY signal (busy signal) is set to false. After 90 μS above, the optical card should be
After the elapse of 00 μS or more, wait for a BSY response from the initiator.

(3)イニシエータ側は、上記動作が行なわれたことを
認識した後に、リセレクションフェーズで自己が選択さ
れていることを認識し、選択されていることを検出した
ときから、200μS以内にBSY信号を真にする。
(3) After recognizing that the above operation has been performed, the initiator recognizes that the self is selected in the reselection phase, and within 200 μS after detecting that the self is selected, the BSY signal is output. Make true.

また、アービトレーションフェーズは次のシーケンス
をとる。
The arbitration phase takes the following sequence.

(1)バスフリーフェーズを待つ。(1) Wait for a bus free phase.

(2)バスフリーを検出した後、800μS以上待ち、し
かもバスフリーであったときから1.8μSを越えない時
間以内に、BSY信号と自己のSCSI IDに対応するデータ
バスビットとを真にする。
(2) After detecting the bus free, wait for 800 μS or more, and set the BSY signal and the data bus bit corresponding to its own SCSI ID to true within a time not exceeding 1.8 μS after the bus is free.

(3)SCSIデバイスは、上記BSY信号とSCSI IDを真に
してから2.2μS以上経過後に、データバス上の値を比
較してバス使用権の優先順位を判定する。優先順位は、
ID番号7が最上位である。
(3) After elapse of 2.2 μS or more after making the BSY signal and the SCSI ID true, the SCSI device compares the values on the data bus to determine the priority of the bus use right. The priority is
ID number 7 is the highest order.

(4)アービトレーションに成功してバス使用権を獲得
したSCSIデバイスは、SEL信号を真にしてからセレクシ
ョンフェーズまたはリセレクションフェーズへの移行を
開始するまで、1.2μS以上待つ。
(4) The SCSI device that has succeeded in arbitration and has acquired the right to use the bus waits at least 1.2 μS from the time when the SEL signal becomes true to the time when the transition to the selection phase or the reselection phase is started.

ここで、たとえばID番号が低い装置に上記数百論理ブ
ロックアドレスにわたるリード命令(すなわち実行時間
のかかる命令)が発行されたときには、バスをディスコ
ネクトした後、リセレクションしようとすると、ID番号
が低いので、アービトレーションに失敗することが多
い。
Here, for example, when a read instruction (that is, an instruction requiring a long execution time) over the above several hundred logical block addresses is issued to a device having a low ID number, if the bus is disconnected and then reselection is attempted, the ID number is low. Therefore, arbitration often fails.

このために、光カードは、リセレクションしようと試
みるループをいつまでも繰返すという問題がある。
For this reason, the optical card has a problem that a loop that attempts to reselect is repeated forever.

本発明は、ホストコンピュータからSCSIを介して、ID
番号の低い光カードに比較的時間のかかるコマンドが発
行された場合、バスがディスコネクトされた後に、リセ
レクションが失敗し続けるようなループを回避すること
ができる情報記録再生方式を提供することを目的とする
ものである。
In the present invention, the ID is transmitted from the host computer via SCSI.
To provide an information recording / reproducing method capable of avoiding a loop in which reselection continues to fail after a bus is disconnected when a relatively long time command is issued to an optical card having a low number. It is the purpose.

[課題を解決する手段] 本発明は、光カード側の無限ループ、すなわちリセレ
クションを繰返すループを避けるために、リセレクショ
ンを繰返す回数を限定し、その回数失敗した場合、光カ
ード側は、バスフリーフェーズにするものである。
Means for Solving the Problems In order to avoid an infinite loop on the optical card side, that is, a loop that repeats reselection, the present invention limits the number of times reselection is repeated. It is a free phase.

[作用] 本発明は、リセレクションを繰返す回数を限定し、そ
の回数だけ失敗した場合、光カード側は、バスフリーフ
ェーズにするので、光カード側の異常ループを避け、そ
の後の光カードに対するアクセスが可能になる。
[Operation] The present invention limits the number of times reselection is repeated, and if the number of reselections fails, the optical card enters the bus free phase, so that an abnormal loop on the optical card is avoided, and subsequent access to the optical card is performed. Becomes possible.

[実施例] まず、光カードの基本構成と光ヘッド部の構成につい
て説明する。なお、同一部材については同一番号を付し
てある。
Embodiment First, the basic configuration of an optical card and the configuration of an optical head will be described. The same members are given the same numbers.

第2図は、本発明に使用する光カードの一例を示す平
面図である。
FIG. 2 is a plan view showing an example of an optical card used in the present invention.

第3図は、第2図にAで示す部分を拡大した図であ
る。
FIG. 3 is an enlarged view of a portion indicated by A in FIG.

光カード1には、線状のトラッキングトラック5(5
−0、5−1、5−2、……)が等間隔に配置されてい
る。そして、隣り合うトラッキングトラックの間に、情
報を記録するデータ記録部4(4−0、4−1、4−
2、……)が設けられている。すなわち、光カード1
は、1つのトラッキングトラックとその隣りのトラッキ
ングトラックとの間の全てにデータ記録部4を有してい
る。
The optical card 1 has a linear tracking track 5 (5
−0, 5-1, 5-2,...) Are arranged at equal intervals. The data recording unit 4 (4-0, 4-1, 4-4) for recording information between adjacent tracking tracks.
2,...) Are provided. That is, the optical card 1
Has a data recording section 4 in all of the space between one tracking track and an adjacent tracking track.

第3図に示すように、トラッキングトラック5−1と
5−2との間にはGマーク7が設けられている。このG
マーク7は、基準トラックを判別するマークであり、光
カード1の所定の個所にプリフォーマットによって配置
されている。Gマーク7が存在するデータ記録部4の延
長線上には、補助データ部である媒体種別用パターン8
がプリフォーマットされているか、または光スポットで
記録形成されている。この媒体種別用パターン8は、光
カード1の識別を表わすものであり、変復調方式、1ト
ラック当りのデータ容量、総トラック本数等の情報を記
録するものである。
As shown in FIG. 3, a G mark 7 is provided between the tracking tracks 5-1 and 5-2. This G
The mark 7 is a mark for determining a reference track, and is arranged at a predetermined location on the optical card 1 by preformatting. On the extension of the data recording unit 4 where the G mark 7 exists, a medium type pattern 8 as an auxiliary data unit
Are preformatted or recorded with light spots. The medium type pattern 8 indicates the identification of the optical card 1, and records information such as a modulation / demodulation method, a data capacity per track, and the total number of tracks.

第4図は、情報記録再生装置の光ヘッド部の構成に関
する説明図である。
FIG. 4 is an explanatory diagram relating to a configuration of an optical head unit of the information recording / reproducing apparatus.

第5図は、光カード1に照射された光ビームを示す説
明図である。
FIG. 5 is an explanatory diagram showing a light beam applied to the optical card 1. FIG.

第6図は、上記実施例における光検出器の構成を示す
図である。
FIG. 6 is a diagram showing a configuration of a photodetector in the above embodiment.

半導体レーザ等の光源27で発生した光ビームは、コリ
メータレンズ28によって平行化され、回折格子30によっ
て3本のビームに分けられる。これらの光ビームは、対
物レンズ26によって、たとえば第4図に示すように光カ
ード1のトラッキングトラック5−1、5−2、データ
記録部4−1に結像し、ビームスポットS1、S2、S3を形
成する。ここで、図示しない駆動手段によって、第4図
に示す矢印R方向に光カード1が移動し、ビームスポッ
トS1〜S3によって、トラッキングトラックを延びている
方向に光カード1を走査する。
A light beam generated by a light source 27 such as a semiconductor laser is collimated by a collimator lens 28 and divided into three beams by a diffraction grating 30. These light beams are imaged by the objective lens 26 on the tracking tracks 5-1 and 5-2 of the optical card 1 and the data recording section 4-1 as shown in FIG. 4, for example, and the beam spots S1, S2, Form S3. Here, the optical card 1 is moved in the direction of the arrow R shown in FIG. 4 by a driving means (not shown), and the optical card 1 is scanned by the beam spots S1 to S3 in the direction extending the tracking track.

ビームスポットS1、S2、S3の反射光は、対物レンズ26
を再び通過し、ビームスプリッタ20によって反射し、集
光レンズ系21によって、光検出器22、23、24にそれぞれ
投影される。集光レンズ系21は、非点収差系になってお
り、公知の非点収差方式によってオートフォーカスを行
なう。これらの光検出器22〜24は、第7図に示す配置で
構成され、光検出器23は、A、B、C、Dのように4分
割されている。
The reflected light from the beam spots S1, S2 and S3 is
Again, is reflected by the beam splitter 20, and is projected by the condenser lens system 21 to the photodetectors 22, 23, and 24, respectively. The condenser lens system 21 is an astigmatism system, and performs autofocus by a known astigmatism method. These photodetectors 22 to 24 are arranged in the arrangement shown in FIG. 7, and the photodetector 23 is divided into four parts A, B, C and D.

なお、第4図に示すプリズム29は、半導体レーザから
放出されコリメートされた光束の断面分布を、楕円から
円形に変換するプリズムである。
The prism 29 shown in FIG. 4 is a prism that converts the cross-sectional distribution of the collimated light beam emitted from the semiconductor laser from an ellipse to a circle.

次に、光カード1に情報を記録する動作を説明する。 Next, an operation of recording information on the optical card 1 will be described.

たとえばデータ記録部4−1に情報を記録する場合、
まずビームスポットS1、S2、S3をそれぞれトラッキング
トラック5−1、データ記録部4−1、トラッキングト
ラック5−2に照射する。これらのビームスポットは、
光カード1の移動によって、第5図に示す矢印F方向に
走査する。ビームスポットS1からの反射光は、光検出器
22に入射し、ビームスポットS3からの反射光は光検出器
24に入射し、いわゆる3ビーム法によってトラッキング
信号が検出される。
For example, when information is recorded in the data recording unit 4-1,
First, the beam spots S1, S2, and S3 are irradiated on the tracking track 5-1, the data recording unit 4-1, and the tracking track 5-2, respectively. These beam spots are
As the optical card 1 moves, scanning is performed in the direction of arrow F shown in FIG. The reflected light from beam spot S1 is a photodetector
22 and the reflected light from beam spot S3 is a photodetector
24, and a tracking signal is detected by a so-called three-beam method.

すなわち、ビームスポットS1、S3がトラッキングトラ
ック5−1、5−2に対してずれると、光検出器22と24
とにそれぞれ入射する光の強度が変化し、これら受光面
(トラッキングトラック5−1、5−2)からの信号を
比較することによってトラッキング信号を得るものであ
る。このトラッキング信号に基づいて、図示しないトラ
ッキング手段(たとえば、第7図において、対物レンズ
26をZ方向に動かす手段等)によって、ビームスプリッ
トS1、S2、S3は走査方向に垂直な方向(第2図に示すD
方向)に一体に移動され、自動トラッキング(AT)が行
なわれる。
That is, when the beam spots S1 and S3 deviate from the tracking tracks 5-1 and 5-2, the photodetectors 22 and 24 are shifted.
The tracking signal is obtained by comparing the signals from the light receiving surfaces (tracking tracks 5-1 and 5-2). On the basis of this tracking signal, tracking means (not shown in FIG.
The beam splits S1, S2 and S3 are moved in a direction perpendicular to the scanning direction (D shown in FIG.
Direction), and automatic tracking (AT) is performed.

そして、トラッキングトラック5−1、5−2にそっ
て、ビームスプリットS2によって、データ記録部4−1
に記録ビット31が正確に記録される。
Then, along the tracking tracks 5-1 and 5-2, the data recording unit 4-1 is formed by the beam split S2.
The recording bit 31 is recorded accurately.

次に、本発明において実行時間が長くなる場合の処理
方法について説明する。
Next, a processing method in the case where the execution time is long in the present invention will be described.

ホストコンピュータの命令を光カードが実行する場
合、比較的時間のかかる動作がある。たとえば、数Mバ
イトのデータを読込むとき、1つの命令で光カードが動
作を始めるが、データを全て読込むには相対時間を要す
る。また、途中でヘッド位置を移動するシーク動作が入
る場合があり、この時間がたとえ数m秒程度であって
も、1.5Mバイト/秒で動作しているSCSIバスにとっては
比較的長い時間といえる。
When the instructions of the host computer are executed by the optical card, some operations take a relatively long time. For example, when reading several megabytes of data, the optical card starts operating with one command, but it takes a relative time to read all the data. In addition, a seek operation for moving the head position may be performed halfway, and even if this time is about several milliseconds, it can be said that a SCSI bus operating at 1.5 Mbytes / second is a relatively long time. .

このような場合に、ディスコネクトを行ない、バスを
開放し、他のデバイスにバスを使用させることを可能と
する。そして、光カードがコマンドを完了したときまた
はデータ転送が再び可能になったときに、リセレクショ
ンを行なう。
In such a case, disconnection is performed, the bus is released, and another device can use the bus. Reselection is performed when the optical card completes the command or when data transfer becomes possible again.

このリセレクション動作をたとえば5回までと設定す
ると、5回以内でリセレクションが成功すれば次の動作
に移る。しかし、リセレクションが5回とも失敗した場
合は、それ以後、リセレクション動作を打切り、バスフ
リーフェーズにするために、BSY信号を偽にする。
If this reselection operation is set to, for example, up to five times, if the reselection is successful within five times, the next operation is performed. However, if the reselection has failed five times, the BSY signal is set to false in order to terminate the reselection operation and set the bus free phase thereafter.

また、光カード側では、コマンド実行を終了し、拡張
センスデータの8バイト目以降に、リセレクション失敗
によって終了したことを示す情報をセットする。
On the optical card side, the command execution is terminated, and information indicating termination due to reselection failure is set in the eighth and subsequent bytes of the extended sense data.

第1図は、上記実施例の動作を示すフローチャートで
ある。
FIG. 1 is a flowchart showing the operation of the above embodiment.

まず、コマンドを受信しそのコマンドを解釈し(S1、
S2)、実行時間が長い処理であれば(S3)、バスをディ
スコネクトし(S4)、解釈したコマンドを実行し(S
5)、リセレクションの最大失敗カウント値を5に設定
し(S6)、リセレクションを行なう(S7)。このリセレ
クションが失敗すれば(S8)、上記カウント値を1ディ
クリメントし(S11)、再びリセレクションを行なう(S
7)。
First, receive the command and interpret it (S1,
S2) If the process takes a long time (S3), disconnect the bus (S4) and execute the interpreted command (S4).
5) The maximum failure count value of reselection is set to 5 (S6), and reselection is performed (S7). If the reselection fails (S8), the count value is decremented by one (S11), and the reselection is performed again (S8).
7).

S12において、カウント値が0になれば、つまりリセ
レクションが5回とも失敗すればバスをフリーにする
(S13)。これによって、リセレクションが失敗し続け
るようなループを回避することができる。
If the count value becomes 0 in S12, that is, if the reselection has failed five times, the bus is set free (S13). Thus, a loop in which reselection continues to fail can be avoided.

一方、リセレクションが5回失敗する前にリセレクシ
ョンに成功すれば(S8)、次の動作を行なう(S14)。
また、コマンドを実行する時間が短ければ(S3)、その
コマンドを実行し(S21)、次の動作に移る(S22)。S2
1においてコマンドを実行する場合、実行時間が短いの
で、バスをフリーにはせず、リセレクションの失敗回数
のカウントもしない。
On the other hand, if the reselection succeeds before the reselection fails five times (S8), the following operation is performed (S14).
If the time for executing the command is short (S3), the command is executed (S21), and the operation proceeds to the next operation (S22). S2
When the command is executed at 1, the execution time is short, so that the bus is not set free and the number of reselection failures is not counted.

上記実施例において、リセレクションの回数を5回に
設定したが、5回以外の回数に設定してもよい。
In the above embodiment, the number of reselections is set to five, but may be set to a number other than five.

[発明の効果] 本発明によれば、ホストコンピュータからSCSIを介し
て、ID番号の低い光カードに比較的時間のかかるコマン
ドが発行された場合、バスがディスコネクトされた後
に、リセレクションが失敗し続けるようなループを回避
することができるという効果を有する。また、これによ
って、ディスコネクト、リセレクションを含めた機能を
持つSCSIバスにおいて、整合性がよいバスの使用を促
し、システム全体のスループットの向上を図ることがで
きるという効果を有する。
[Effects of the Invention] According to the present invention, when a command that takes a relatively long time is issued from a host computer to an optical card with a low ID number via SCSI, reselection fails after the bus is disconnected. This has the effect that a loop that continues to be performed can be avoided. This also has the effect of promoting the use of a bus with good consistency in a SCSI bus having functions including disconnection and reselection, and improving the throughput of the entire system.

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

第1図は、本発明の一実施例におけるリセレクション時
の動作を示すフローチャートである。 第2図は、光カードの一例を示す概略平面図である。 第3図は、第2図のA部の部分的拡大図である。 第4図は、情報記録再生装置の光ヘッド部の構成に関す
る説明図である。 第5図は、光カード上に照射された光ビームを示す説明
図である。 第6図は、上記実施例における光検出器の構成を示す図
である。 第7図は、2つのホストコンピュータが接続された一般
的なSCSIシステムの構成を示す図である。 第8図は、ハードディスク装置における論理ブロックの
一般構成例を示す図である。 第9図は、一般的なSCSIシステムの構成図である。 1……光カード、 4、4−1、4−2……データ記録部、 5、5−0〜5−2……トラッキングトラック。
FIG. 1 is a flowchart showing an operation at the time of reselection in one embodiment of the present invention. FIG. 2 is a schematic plan view showing an example of the optical card. FIG. 3 is a partially enlarged view of a portion A in FIG. FIG. 4 is an explanatory diagram relating to a configuration of an optical head unit of the information recording / reproducing apparatus. FIG. 5 is an explanatory diagram showing a light beam irradiated on the optical card. FIG. 6 is a diagram showing a configuration of a photodetector in the above embodiment. FIG. 7 is a diagram showing a configuration of a general SCSI system in which two host computers are connected. FIG. 8 is a diagram showing a general configuration example of a logical block in a hard disk device. FIG. 9 is a configuration diagram of a general SCSI system. 1 ... optical card, 4,4-1,4-2 ... data recording section, 5,5-0-5-2 ... tracking track.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】所定のインタフェースバスを介して、ホス
トコンピュータからの指令に基づいて、光カードに情報
を記録しまたは上記光カードから情報を再生する情報記
録再生装置における情報記録再生方法において、 上記ホストコンピュータから上記光カードをアクセスす
る動作を必要とするコマンドを、上記情報記録再生装置
が受信すると、上記インタフェースバスを開放するため
に、上記情報記録再生装置と上記ホストコンピュータと
の接続を一旦切断するディスコネクタ段階と; 上記受信したコマンドに応じた上記光カードへのアクセ
ス動作を実行した後に、上記一旦切断された接続を再開
するために、上記情報記録再生装置と上記ホストコンピ
ュータとの再接続動作を試みるリセレクション段階と; 上記リセレクション段階において上記コンピュータとの
再接続動作を所定回失敗すると、上記リセレクション段
階における上記情報記録再生装置と上記ホストコンピュ
ータとの再接続動作の試みを終了し、上記インタフェー
スバスを開放するバス開放段階と; を有することを特徴とする情報記録再生方法。
1. An information recording / reproducing method in an information recording / reproducing apparatus for recording information on an optical card or reproducing information from the optical card based on a command from a host computer via a predetermined interface bus. When the information recording / reproducing device receives a command that requires an operation of accessing the optical card from the host computer, the connection between the information recording / reproducing device and the host computer is temporarily disconnected to release the interface bus. Reconnecting the information recording / reproducing apparatus and the host computer to restart the once disconnected connection after performing an access operation to the optical card in response to the received command; A reselection stage to attempt the operation; If the reconnection operation with the computer fails a predetermined number of times, a bus release step of terminating the reconnection operation between the information recording / reproducing device and the host computer in the reselection step and releasing the interface bus. An information recording / reproducing method, comprising:
JP12333288A 1988-05-20 1988-05-20 Information recording and playback method Expired - Lifetime JP2652037B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12333288A JP2652037B2 (en) 1988-05-20 1988-05-20 Information recording and playback method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12333288A JP2652037B2 (en) 1988-05-20 1988-05-20 Information recording and playback method

Publications (2)

Publication Number Publication Date
JPH01292518A JPH01292518A (en) 1989-11-24
JP2652037B2 true JP2652037B2 (en) 1997-09-10

Family

ID=14857940

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12333288A Expired - Lifetime JP2652037B2 (en) 1988-05-20 1988-05-20 Information recording and playback method

Country Status (1)

Country Link
JP (1) JP2652037B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2562378B2 (en) * 1990-07-04 1996-12-11 シャープ株式会社 Recording device
JP4891521B2 (en) 2003-03-28 2012-03-07 三洋電機株式会社 Data input / output method, and storage device and host device capable of using the method

Also Published As

Publication number Publication date
JPH01292518A (en) 1989-11-24

Similar Documents

Publication Publication Date Title
JP2652037B2 (en) Information recording and playback method
JP2665768B2 (en) Information recording and playback method
EP0524810B1 (en) Recording information sent by host computer over a SCSI-bus
JPH10320924A (en) Method for recording information
JP2577614B2 (en) Information recording / reproducing method
EP0669571B1 (en) Information recording/reproducing method and apparatus
JPH01320522A (en) Information recording and reproducing system
US5893918A (en) System and method for rotational position sensing miss avoidance in direct access storage devices
JP2622959B2 (en) Optical disk controller
JPH05324499A (en) Scsi data transfer system and information recording control system
US4870634A (en) Apparatus for recording and/or reproducing information data and a signal for synchronizing the same
JPH01292521A (en) Information recording/reproducing system
JP2001022629A (en) Information recording and reproducing method
JPS63316371A (en) Write once type storage device
JPS61283074A (en) Optical system information device
JPH0498656A (en) Discriminating method for track format
JPH0231383A (en) Alternative processing system for disk device
JPS62154373A (en) Optical information device
JPH06162684A (en) Information recording/reproducing system
JPH03130927A (en) Signal processing circuit for optical recording and reproducing device
JPH04341977A (en) Data reproducing control system
JPH09282842A (en) Information recording and reproducing method
JPH036614A (en) Magnetic disk controller
JPS5994243A (en) Optical disk processor
JPH10283720A (en) Information recording/reproducing apparatus

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term