JP3501169B2 - Information recording / reproducing device - Google Patents
Information recording / reproducing deviceInfo
- Publication number
- JP3501169B2 JP3501169B2 JP34920993A JP34920993A JP3501169B2 JP 3501169 B2 JP3501169 B2 JP 3501169B2 JP 34920993 A JP34920993 A JP 34920993A JP 34920993 A JP34920993 A JP 34920993A JP 3501169 B2 JP3501169 B2 JP 3501169B2
- Authority
- JP
- Japan
- Prior art keywords
- information recording
- recording medium
- command
- time
- instruction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Description
【発明の詳細な説明】Detailed Description of the Invention
【0001】[0001]
【産業上の利用分野】本発明は、交換可能な情報記憶媒
体を使用する情報記録再生装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information recording / reproducing apparatus using an exchangeable information storage medium.
【0002】[0002]
【従来の技術】一般に、光磁気ディスク装置等の交換可
能な情報記憶媒体を用いる情報記録再生装置において
は、情報記憶媒体に記録されたデータの論理的あるいは
物理的な破壊を防止するために、情報記録媒体への記
録、再生または消去等の動作中は情報記憶媒体を排出し
ないようにする必要がある。2. Description of the Related Art Generally, in an information recording / reproducing apparatus using an exchangeable information storage medium such as a magneto-optical disk device, in order to prevent data recorded on the information storage medium from being logically or physically destroyed, It is necessary not to eject the information storage medium during an operation such as recording, reproducing or erasing on the information recording medium.
【0003】このため、従来は、情報記録再生装置が情
報記録媒体への記録、再生または消去等の動作が実行中
であることをインジケータランプを点灯させることで知
らせ、ユーザはそのインジケータランプが消灯している
ときに、情報記録媒体を交換するようにしていた。Therefore, conventionally, the information recording / reproducing apparatus informs that an operation such as recording, reproducing or erasing on the information recording medium is being performed by lighting an indicator lamp, and the user turns off the indicator lamp. During this time, the information recording medium was exchanged.
【0004】[0004]
【発明が解決しようとする課題】しかしながら、情報記
録再生装置はホストコンピュータ等の上位装置と大容量
のデータの記録、再生等のやり取りをするような場合
は、間欠的に記録、再生または消去等の動作を繰り返
す。情報記録再生装置は、この間欠的な動作と動作の間
には情報記録媒体への記録、再生または消去等の動作を
していない状態であり、ユーザはこの状態であることを
インジケータランプが消灯していることで知る。However, when the information recording / reproducing apparatus exchanges a large amount of data for recording / reproducing with a host apparatus such as a host computer, recording / reproducing or erasing is intermittently performed. Repeat the operation of. The information recording / reproducing apparatus is in a state in which no operation such as recording, reproducing or erasing on the information recording medium is carried out between the intermittent operations, and the indicator lamp is turned off by the user. Know what you are doing.
【0005】しかし、前記の動作と動作の間であっても
まだ上位装置からの情報記録再生装置への一つのファイ
ルアクセスは継続中である。従って、ここでもしユーザ
がインジケータランプが消灯していることを理由に情報
記録媒体を取り出すことが可能と判断し、あるいは不用
意に、情報記録再生装置に対して情報記録媒体排出スイ
ッチを押すことなどにより情報記録媒体の排出を要求し
情報記録媒体が排出されてしまえば、情報記録媒体上の
データが破壊されてしまう危険がある。However, even during the above operation, one file access from the upper apparatus to the information recording / reproducing apparatus is still continuing. Therefore, here, if the user judges that the information recording medium can be taken out because the indicator lamp is off, or carelessly presses the information recording medium ejecting switch to the information recording / reproducing apparatus. If the information recording medium is requested to be ejected and the information recording medium is ejected, the data on the information recording medium may be destroyed.
【0006】また最近は、上位装置が情報記録再生装置
とのデータ転送効率を上げるためにキャッシュ機能を設
けるようになり、そのキャッシュ機能のために情報記録
再生装置に転送すべきデータの一部が上位装置のキャッ
シュメモリーにまだ残っている状態が生じ、この状態の
まま情報記録媒体が排出されるか、または排出された上
に別の情報記録媒体に交換された場合、前例と同様にデ
ータが破壊される危険がある。Further, recently, a host device has been provided with a cache function in order to improve the data transfer efficiency with the information recording / reproducing device, and a part of the data to be transferred to the information recording / reproducing device for the cache function has been provided. If there is a state that the cache memory of the host device still remains, and the information recording medium is ejected in this state, or if it is ejected and replaced with another information recording medium, the data will be saved as in the previous example. There is a risk of destruction.
【0007】また、一般に情報記録媒体へのデータの記
録等では、情報記録媒体上においてデータが記録される
場所とその記録されたデータの配置を管理する情報を書
き込むための場所が物理的に離れて存在するため、情報
記録再生装置がデータを情報記録媒体に記録する際等に
は、データが記録されるべき場所にデータを書き込むこ
とと、データの配置を管理する情報を更新するためにそ
の情報が書き込まれるべき場所に移動して書き込むこと
とをする必要がり、この移動している期間は上述の「イ
ンジケータが消灯した状態」となる。一般にこの場合の
消灯の時間は、ユーザに情報記録媒体を取り出すことが
可能と判断させる程長くはないが、ユーザが不用意に情
報記録媒体排出スイッチを押したりした場合は、情報記
録媒体は排出され記録されたデータが破壊されるおそれ
がある。Generally, in recording data on an information recording medium, a place where data is recorded on the information recording medium and a place for writing information for managing the arrangement of the recorded data are physically separated. Therefore, when the information recording / reproducing apparatus records the data on the information recording medium, it is necessary to write the data in the place where the data should be recorded and to update the information for managing the arrangement of the data. It is necessary to move to a place where the information should be written and write the information, and the above-mentioned "state where the indicator is turned off" during the movement. Generally, the turn-off time in this case is not long enough to allow the user to decide that the information recording medium can be taken out, but if the user carelessly presses the information recording medium eject switch, the information recording medium is ejected. The recorded data may be destroyed.
【0008】以上のように従来の情報記録再生装置で
は、上位装置からのファイルアクセス中において、ユー
ザによる情報記録媒体の排出要求に対し容易に応じてし
まうために、情報記録媒体中のデータが破壊される危険
があった。As described above, in the conventional information recording / reproducing apparatus, the data in the information recording medium is destroyed because it easily responds to the user's request for ejecting the information recording medium during the file access from the host apparatus. There was a risk that
【0009】本発明の目的は、上位装置からのファイル
アクセス中には情報記憶媒体の排出を禁止し、情報記録
媒体中のデータが破壊されることのない情報記録再生装
置を提供することである。An object of the present invention is to provide an information recording / reproducing apparatus which prohibits the ejection of an information storage medium during file access from a host device and prevents the data in the information recording medium from being destroyed. .
【0010】[0010]
【課題を解決するための手段】このために本発明は、予
め各命令実行後の最適な待機時間をそれぞれ設定してお
き、他の装置からファイルアクセスに関する命令を受信
すると、先ず情報記録媒体の排出を禁止し、前記受信し
た命令を実行し、その命令の実行後に前記設定した待機
時間を計測し、その設定した待機時間を計測中に命令を
受信すると再び受信した命令を実行して情報記録媒体の
排出を禁止する一方、設定した待機時間が経過すれば情
報記録媒体の排出を許可するようにしたものである。To this end, according to the present invention, the optimum waiting time after execution of each instruction is set in advance, and when an instruction relating to file access is received from another device, first, the information recording medium Ejection is prohibited, the received command is executed, the set waiting time is measured after execution of the command, and when the command is received while the set waiting time is being measured, the received command is executed again to record information. While the ejection of the medium is prohibited, the ejection of the information recording medium is permitted when the set waiting time elapses.
【0011】また、前記所定の待機時間は、他の装置か
ら受信した命令の種類に応じて設定するようにしたもの
である。The predetermined waiting time is set in accordance with the type of command received from another device.
【0012】また、前記所定の待機時間は、前記受信し
た命令の直前の命令の実行後に所定の待機時間を計測
し、前記受信した命令における待機時間を、その時点に
おいて前記直前の命令における待機時間の計測中の場合
は、前記直前の命令の実行後に設定された待機時間と、
前記受信した命令における所定の待機時間とを比較し、
長い方の時間を前記受信した命令における所定の待機時
間として設定するようにしたものである。The predetermined waiting time is obtained by measuring a predetermined waiting time after execution of an instruction immediately before the received instruction, and measuring the waiting time at the received instruction as the waiting time at the immediately preceding instruction. During the measurement of, the waiting time set after the execution of the immediately preceding instruction,
Comparing with a predetermined waiting time in the received command,
The longer time is set as the predetermined waiting time in the received command.
【0013】また、前記受信した命令の実行後に待機時
間を計測している間は、他の装置からの情報記録媒体排
出命令に対してエラーを報告するようにしたものであ
る。Further, while the waiting time is measured after the received command is executed, an error is reported to a command for ejecting an information recording medium from another device.
【0014】[0014]
【作用】したがって、他の装置からファイルアクセスに
関する命令を受信すると、情報記録媒体の排出を禁止
し、その排出禁止は命令の実行が終了した後も待機時間
だけ維持されるから、その待機時間内に次の命令が受信
されれば、情報記録媒体の排出は禁止され続ける。ま
た、命令の実行が終了した後の、待機時間を計測してい
る時に、ユーザによる他の装置からの情報記録媒体排出
命令があった場合は、エラーを上記他の装置に報告する
ことにより、排出禁止中であることをユーザに知らせる
ことができる。Therefore, when an instruction related to file access is received from another device, the ejection of the information recording medium is prohibited, and the ejection prohibition is maintained for the waiting time even after the execution of the instruction is completed. If the next command is received, the ejection of the information recording medium will continue to be prohibited. Further, when measuring the waiting time after the execution of the instruction, if there is an instruction to eject the information recording medium from another device by the user, by reporting an error to the other device, The user can be notified that the discharge is prohibited.
【0015】[0015]
【実施例】以下、添付図面を参照しながら、本発明の実
施例を詳細に説明する。Embodiments of the present invention will now be described in detail with reference to the accompanying drawings.
【0016】図1は本発明の一実施例にかかる情報記録
再生装置1の構成を示している。同図において、I/F
制御部2は、情報記録再生装置1と上位装置とのインタ
ーフェースの制御を行なう。スイッチ検出部3は、情報
記憶媒体7を情報記録再生装置1から排出させるための
図示せぬ排出釦を監視し、排出釦が押下されれば、その
ことを装置制御部4に通報する。FIG. 1 shows the configuration of an information recording / reproducing apparatus 1 according to an embodiment of the present invention. In the figure, I / F
The control unit 2 controls the interface between the information recording / reproducing apparatus 1 and the host device. The switch detector 3 monitors an eject button (not shown) for ejecting the information storage medium 7 from the information recording / reproducing apparatus 1, and when the eject button is pressed, it notifies the apparatus controller 4 of that fact.
【0017】装置制御部4は、情報記録再生装置1の全
体の制御を行なう。リード/ライト制御部5は、情報記
録再生装置1に装填された情報記録媒体7に対してのデ
ータの書き込み、読み出し等の直接的な動作を制御す
る。ローディング制御部6は、情報記録媒体7の挿入を
監視し、ユーザが情報記録媒体7を情報記録再生装置1
に挿入しようとした場合は、情報記録再生装置1が情報
記録媒体7に対して所定の動作ができる所定の位置に情
報記録媒体7を装填せしめ、また装置制御部4より情報
記録媒体7を排出すべき指示があった場合は、その指示
に従い情報記録媒体7の排出を行なう。The device controller 4 controls the entire information recording / reproducing device 1. The read / write control unit 5 controls direct operations such as writing and reading of data with respect to the information recording medium 7 loaded in the information recording / reproducing apparatus 1. The loading control unit 6 monitors the insertion of the information recording medium 7, and the user sets the information recording medium 7 to the information recording / reproducing apparatus 1.
If the information recording / reproducing apparatus 1 tries to insert the information recording medium 7 into the information recording / reproducing apparatus 1 at a predetermined position where the information recording / reproducing apparatus 1 can perform a predetermined operation, the apparatus control unit 4 ejects the information recording medium 7. If there is an instruction to do, the information recording medium 7 is ejected according to the instruction.
【0018】尚、以上の構成において、情報記憶媒体7
の排出の禁止は、装置制御部4がローディング制御部6
に対して、情報記録媒体7を排出すべき指示を、ユーザ
からの排出の要求があっても与えないことで実現され
る。In the above configuration, the information storage medium 7
The device controller 4 controls the loading controller 6
On the other hand, it is realized by not giving an instruction to eject the information recording medium 7 even if the user requests ejection.
【0019】以上のように構成される本実施例の作用に
ついて図2および図3を参照して具体的に説明する。The operation of the present embodiment configured as described above will be specifically described with reference to FIGS. 2 and 3.
【0020】図3において、命令1、2、3、4及び5
は、上位装置から情報記録再生装置1へ時系列的に伝達
される命令群を表わしている。このうち命令1、2及び
3は、一つのファイルアクセスを構成する命令群であ
り、命令4、5は、それとは別のもう一つのファイルア
クセスを構成する命令群である。ここではそれぞれのフ
ァイルアクセスを、ファイルアクセス1、ファイルアク
セス2と呼ぶことにする。In FIG. 3, instructions 1, 2, 3, 4 and 5
Represents a command group transmitted in time series from the host device to the information recording / reproducing device 1. Of these, instructions 1, 2 and 3 are a group of instructions that make up one file access, and instructions 4 and 5 are another group of instructions that make up another file access. Here, each file access will be referred to as file access 1 and file access 2.
【0021】まず、時間T1Aに装置制御部4は、上位
装置からの命令1を受信(101)し、直ちに情報記録
媒体7の排出を禁止(102)としたうえで、T1Bま
でに上位装置から受信した命令1に応じた動作を実行
(103)し、T1BからT1Cまでは、つぎの命令が
なければ所定の待機時間の計測を開始し(104)、こ
の時間が経過するまで待機(105〜106)する。こ
の待機中のT2A時点に命令2を受信(105のYe
s)すると、装置制御部4は、図2の手順を再び始めか
ら実行し、命令1を受信した時間T1Aから始まった情
報記録媒体7の排出の禁止状態を、T2Aで更新する
(102)。First, at time T1A, the device control section 4 receives the command 1 from the host device (101), immediately prohibits the ejection of the information recording medium 7 (102), and then by the host device by T1B. The operation according to the received command 1 is executed (103), and from T1B to T1C, if there is no next command, the measurement of a predetermined waiting time is started (104), and the process waits until this time passes (105-105). 106) Command 2 is received at the time of this waiting T2A (Yes in 105
Then, the device control unit 4 executes the procedure of FIG. 2 again from the beginning, and updates the prohibition state of the ejection of the information recording medium 7 started at time T1A when the command 1 is received at T2A (102).
【0022】この命令2実行後の待機中においても上記
同様にT3A時点で命令3を受信(105のYes)す
ると、T1Aから始まった情報記録媒体7の排出の禁止
状態を、再びT3Aで更新する(102)。命令3は、
ファイルアクセス1の命令群の中で一番最後の命令であ
るので、所定の待機時間が経過するまで次の命令を受信
しないから(106のYes)、T3C時点で情報記録
媒体7の排出を許可(107)する。When the instruction 3 is received at the time T3A (Yes at 105) in the same manner as above even after the execution of the instruction 2, the prohibition state of the ejection of the information recording medium 7 which started from T1A is updated again at T3A. (102). Instruction 3 is
Since it is the last command in the command group of file access 1, the next command is not received until the predetermined waiting time has passed (Yes in 106), and the ejection of the information recording medium 7 is permitted at the time T3C. (107) is performed.
【0023】ここまでで、ファイルアクセス1に関する
処理が終了し、ファイルアクセス1とは関係の無い、フ
ァイルアクセス2を構成する命令群の最初の命令である
命令4を受信するまでの間、すなわち、T3CからT4
Aまでの間、ユーザが情報記録再生装置1から、情報記
録媒体7を排出することが許可される。また、T4A以
後のファイルアクセス2の手順についてもファイルアク
セス1と同様に繰り返される。Up to this point, the processing relating to the file access 1 is completed, and until the instruction 4 which is the first instruction of the instruction group constituting the file access 2 and is unrelated to the file access 1, is received, that is, T3C to T4
Until A, the user is permitted to eject the information recording medium 7 from the information recording / reproducing apparatus 1. The procedure of file access 2 after T4A is also repeated in the same manner as file access 1.
【0024】このようにして、一つのファイルアクセス
の間は、情報記録媒体7の排出が禁止される結果、デー
タの破壊を確実に防ぐことが出来る。In this way, the ejection of the information recording medium 7 is prohibited during one file access, so that the destruction of data can be surely prevented.
【0025】ところで、上記の実施例では、一つのファ
イルアクセスを構成する命令群の一番最後の命令に付随
する所定の待機時間の間(図3におけるT3B−T3C
がそれにあたる)は、ファイルアクセスが既に終了して
いるにもかかわらず、情報記録媒体7の排出は禁止され
たままである。この時間を短くすることは、不必要に排
出禁止の期間を長引かせない為に有意義である。そのた
めには、命令に付随する待機時間をその命令の種類に応
じて最適に設定する方法が考えられる。By the way, in the above embodiment, during the predetermined waiting time (T3B-T3C in FIG. 3) that accompanies the last instruction of the instruction group that constitutes one file access.
However, although the file access has already been completed, the ejection of the information recording medium 7 is still prohibited. Reducing this time is meaningful because it does not unnecessarily prolong the period of emission ban. For that purpose, a method of optimally setting the waiting time associated with an instruction according to the type of the instruction can be considered.
【0026】その実施例について図4および図5を参照
して具体的に説明する。The embodiment will be specifically described with reference to FIGS. 4 and 5.
【0027】図5において、命令1、2、3、4及び5
は、上位装置から情報記録再生装置1への時系列的に伝
達される命令群を表わしている。このうち命令1、2及
び3は、一つのファイルアクセスを構成する命令群であ
り、命令4、5は、それとは別のもう一つのファイルア
クセスを構成する命令群であ。ここではそれぞれのファ
イルアクセスを、ファイルアクセス1、ファイルアクセ
ス2と呼ぶことにする。In FIG. 5, instructions 1, 2, 3, 4 and 5
Represents a command group transmitted in time series from the host device to the information recording / reproducing device 1. Among these, the instructions 1, 2 and 3 are a group of instructions that make up one file access, and the instructions 4, 5 are another group of instructions that make up another file access. Here, each file access will be referred to as file access 1 and file access 2.
【0028】まず、時間T1Aに装置制御部4は、上位
装置からの命令1を受信(201)し、直ちに情報記録
媒体7の排出を禁止(202)としたうえで、T1Bま
でに上位装置から受信した命令1に応じた動作を実行
(203)し、命令1の種類に応じて所定の待機時間を
設定(204)し、T1BからT1Cまでは、つぎの命
令がなければ待機時間の計測を開始し(205)、この
時間が経過するまで待機(206〜207)する。この
待機中のT2A時点に命令2を受信(206のYes)
すると、装置制御部4は、図4の手順を再び始めから実
行し、命令1を受信した時間T1Aから始まった情報記
録媒体7の排出の禁止状態を、T2Aで更新する(20
2)。First, at time T1A, the device control unit 4 receives the command 1 from the host device (201), immediately prohibits the ejection of the information recording medium 7 (202), and then by the host device by T1B. The operation according to the received instruction 1 is executed (203), a predetermined waiting time is set according to the type of the instruction 1 (204), and the waiting time is measured from T1B to T1C if there is no next instruction. It starts (205) and waits (206-207) until this time elapses. Command 2 is received at the time of this waiting T2A (Yes in 206)
Then, the device control unit 4 executes the procedure of FIG. 4 again from the beginning, and updates the prohibition state of the ejection of the information recording medium 7 started at time T1A when the command 1 is received at T2A (20).
2).
【0029】この命令2実行後の待機中においても上記
同様にT3A時点で命令3を受信(206のYes)す
ると、T1Aから始まった情報記録媒体7の排出の禁止
状態を、再びT3Aで更新する(202)。命令3は、
ファイルアクセス1の命令群の中で一番最後の命令であ
るので、その命令3の種類に応じた待機時間中には次の
命令を受信しないから(207のYes)、T3C時点
で情報記録媒体7の排出を許可(208)する。When the command 3 is received at the time T3A (Yes in 206) in the same manner as above even after the execution of the command 2, the prohibition state of the ejection of the information recording medium 7 started from T1A is updated again at T3A. (202). Instruction 3 is
Since it is the last command in the command group of file access 1, the next command is not received during the waiting time corresponding to the type of command 3 (Yes in 207). Therefore, at the time of T3C, the information recording medium The discharge of 7 is permitted (208).
【0030】ここまでで、ファイルアクセス1に関する
処理が終了し、ファイルアクセス1とは関係の無い、次
のファイルアクセス2を構成する命令群の最初の命令で
ある命令4を受信するまで間、すなわち、T3CからT
4Aまでの間、ユーザが情報記録再生装置1から、情報
記録媒体7を排出することが許可される。また、T4A
以後のファイルアクセス2の手順についてもファイルア
クセス1と同様に繰り返される。Up to this point, the processing relating to the file access 1 is completed and until the instruction 4 which is the first instruction of the instruction group constituting the next file access 2 which is not related to the file access 1 is received, that is, , T3C to T
Until 4A, the user is permitted to eject the information recording medium 7 from the information recording / reproducing apparatus 1. Also, T4A
The procedure of the subsequent file access 2 is also repeated in the same manner as the file access 1.
【0031】 このように、受信した命令実行後の待機
時間を命令の種類に応じて最適に設定することにより、
1つのファイルアクセスの間は情報記録媒体7の排出が
禁止される結果、データの破壊を確実に防ぐことができ
ると共に、1つのファイルアクセスを構成する命令群の
一番最後の命令に付随する待機時間(図5におけるT3
B〜T3Cがそれにあたる)も、その命令の種類に応じ
て最適に設定されているから余分な排出禁止時間を短縮
することができる。即ち、図5に示すように、ファイル
アクセス1は命令1,2,3から構成され、ファイルア
クセス2は、命令4及び5から構成されている。これら
ファイルアクセスとしては、データの書き込み処理、デ
ータ転送処理、データ読み出し処理等がある。また、各
ファイルアクセスを構成する各命令としては、例えばフ
ァイルアクセス1がデータの書き込み処理の場合は、デ
ータブロック単位の書き込み処理命令の他に、記録再生
装置の各種状態をチェックする命令がある。また、ファ
イルアクセス2がデータ転送処理の場合は、データブロ
ック単位で読み出して転送先ファイルに書き込むという
処理命令の他に、記録再生装置の各種状態をチェックす
る命令、転送先ファイルの状態をチェックする命令等が
ある。これらの各種命令終了後に設けるに必要な待機時
間間隔はそれぞれの命令に応じて異なる。例えば、命令
がブロック単位のデータ書き込み処理命令の場合には、
データの破壊を防止するため待機時間を長めに設定する
必要がある。一方、状態チェック命令の場合にはデータ
を破壊するおそれはないので、待機時間は短く設定でき
る。従って、各命令に付随する待機時間を予め命令の種
類に応じて最適時間に設定しておくことにより、1つの
ファイルアクセスを構成する一番最後の命令に付随する
待機時間も、その命令の種類に応じて最適に設定される
から、最後の命令が状態チェック命令のような場合に
は、短時間で排出可能となる利点が得られる。 As described above, the waiting time after execution of the received command is optimally set according to the type of command.
As a result of the ejection of the information recording medium 7 being prohibited during one file access, data destruction can be surely prevented, and at the same time, the wait associated with the last instruction of the instruction group constituting one file access is performed. Time (T3 in FIG. 5
(B to T3C correspond thereto), the extra ejection prohibition time can be shortened because it is optimally set according to the type of the command. That is, as shown in FIG.
Access 1 is composed of instructions 1, 2, and 3, and
Access 2 is composed of instructions 4 and 5. these
File access includes data write processing and data
Data transfer processing, data reading processing, and the like. Also, each
Examples of each command that makes up a file access include
If file access 1 is a data write process,
Recording / playback in addition to data block write processing commands
There are instructions to check various states of the device. In addition,
If the file access 2 is a data transfer process,
It is said that it will be read in units of
In addition to processing instructions, check various states of the recording / playback device.
Commands to check the status of the transfer destination file, etc.
is there. During standby, which is required to be provided after the completion of these various commands
The interval differs depending on each command. For example, the instruction
Is a block unit data write processing instruction,
Set a long wait time to prevent data corruption
There is a need. On the other hand, in the case of status check command, data
Since there is no risk of damaging the
It Therefore, the waiting time associated with each instruction is specified in advance.
By setting the optimum time according to the type,
Accompanies the last instruction that makes up a file access
The waiting time is also optimally set according to the type of instruction.
If the last instruction is like a status check instruction,
Has the advantage that it can be discharged in a short time.
【0032】さて、上述の実施例では、受信した命令実
行後の待機すべき所定の時間を最適に設定したことによ
り、ユーザが情報記録再生装置1に対して情報記録媒体
7の排出を要求した場合に、不必要にその要求が無視さ
れることを防止できるが、一つのファイルアクセス中に
おいて待機すべき所定の時間の長い命令の間に、待機す
べき所定の時間の短い命令がある場合は、情報記録媒体
の排出が許可されてしまうことがありうる。次に説明す
る実施例は、その問題を解決するためのものである。In the above embodiment, the user requests the information recording / reproducing apparatus 1 to eject the information recording medium 7 by optimally setting the predetermined time to wait after executing the received command. In this case, the request can be prevented from being ignored unnecessarily, but if there is an instruction with a short predetermined time to wait between instructions with a predetermined long time to wait in one file access, However, the ejection of the information recording medium may be permitted. The embodiment described below is to solve the problem.
【0033】図6および図7を参照して具体的に説明す
る。図7において、命令1、2、3、4及び5は、上位
装置から情報記録再生装置1への時系列的に伝達される
命令群を表わしている。このうち命令1、2及び3は、
一つのファイルアクセスを構成する命令群であり、命令
4、5は、それとは別のもう一つのファイルアクセスを
構成する命令群である。ここではそれぞれのファイルア
クセスを、ファイルアクセス1、ファイルアクセス2と
呼ぶことにする。A detailed description will be given with reference to FIGS. 6 and 7. In FIG. 7, commands 1, 2, 3, 4 and 5 represent a command group transmitted from the host device to the information recording / reproducing device 1 in time series. Of these, instructions 1, 2 and 3 are
The instruction group that constitutes one file access, and the instructions 4 and 5 are another instruction group that constitutes another file access. Here, each file access will be referred to as file access 1 and file access 2.
【0034】まず、時間T1Aに装置制御部4は、上位
装置からの命令1を受信(301)し、直ちに情報記録
媒体7の排出を禁止(302)としたうえで、T1Bま
でに上位装置から受信した命令1に応じた動作を実行
(303)し、命令1の種類に応じて所定の待機時間を
設定(304)する。次に、いま受信した命令1の直前
の命令による所定時間の待機中かをチェックする(30
5)。First, at time T1A, the device control unit 4 receives the command 1 from the host device (301), immediately prohibits the ejection of the information recording medium 7 (302), and then by the host device by T1B. The operation according to the received command 1 is executed (303), and a predetermined waiting time is set according to the type of command 1 (304). Next, it is checked whether the command immediately before the command 1 just received is waiting for a predetermined time (30
5).
【0035】この場合、命令1の直前の命令による待機
時間中ではない(305のNo)ので、T1BからT1
Cまでは、つぎの命令がなければ所定の待機時間の計測
を開始し(308)、この時間が経過するまで待機(3
09〜310)するのであるが、この待機中のT2A時
点に命令2を受信(309のYes)すると、装置制御
部4は、図6の手順を始めから実行し、命令1を受信し
た時間T1Aから始まった情報記録媒体7の排出の禁止
状態を、T2Aで更新する(302)。そしてT2Bま
でに命令2に応じた動作を実行(303)し、命令2の
種類に応じて所定の待機時間を設定(304)する。In this case, since the waiting time by the instruction immediately before the instruction 1 is not in progress (No in 305), T1B to T1
Up to C, if there is no next command, measurement of a predetermined waiting time is started (308), and waiting until this time elapses (3
09-310), if the command 2 is received at the time T2A during this waiting (Yes in 309), the device control unit 4 executes the procedure of FIG. 6 from the beginning, and the time T1A when the command 1 is received. The prohibition state of the ejection of the information recording medium 7 started from is updated at T2A (302). Then, by T2B, the operation according to the instruction 2 is executed (303), and the predetermined waiting time is set according to the type of the instruction 2 (304).
【0036】次に、いま受信した命令2の直前の命令に
よる所定時間の待機中かをチェックする(305)。こ
の場合、直前の命令1による待機中である(305のY
es)ので、直前の命令1において設定された待機時間
と今回設定された命令2の待機時間とを比較する。この
場合、命令1において設定された待機時間は、T1B−
T1Cであり、命令2において設定された待機時間はT
2B−T2DであるのでT1B−T1Cの方がT2B−
T2Dより長い(306のYes)ので、命令2の所定
の待機時間として、命令1において設定されたT1B−
T1Cに相当する時間が設定される(307)。つま
り、T1B−T1CとT2B−T2Cは、互いに等し
い。Next, it is checked whether the command immediately before the command 2 just received is waiting for a predetermined time (305). In this case, the instruction 1 immediately before is waiting (Y of 305).
es), the waiting time set in the immediately preceding instruction 1 is compared with the waiting time of the instruction 2 set this time. In this case, the waiting time set in the instruction 1 is T1B-
T1C, and the waiting time set in instruction 2 is T
Since it is 2B-T2D, T1B-T1C is T2B-
Since it is longer than T2D (Yes in 306), T1B− set in instruction 1 is set as the predetermined waiting time of instruction 2.
The time corresponding to T1C is set (307). That is, T1B-T1C and T2B-T2C are equal to each other.
【0037】次に、その設定された時間だけ待機する
が、この待機中にも上記同様にT3A時点で命令3を受
信(309のYes)し、T1Aから始まった情報記録
媒体7の排出禁止の状態を、再びT3Aで更新する(3
02)。命令3は、ファイルアクセス1の命令群の中で
一番最後の命令であり、この場合、命令3の種類に応じ
て設定(304)された所定の待機時間は、直前の命令
2において設定されたT1B−T1Cに相当する待機時
間より長いので実際の待機時間は、命令3の本来の待機
時間、すなわち、T3B−T3Cに相当する時間とな
り、その所定の待機時間が経過するまで次の命令を受信
しないから(310のYes)、T3C時点で情報記録
媒体7の排出を許可(311)する。Next, while waiting for the set time, command 3 is received (Yes in 309) at the time T3A in the same manner as above, and the ejection of the information recording medium 7 starting from T1A is prohibited. The status is updated again at T3A (3
02). The command 3 is the last command in the command group of the file access 1, and in this case, the predetermined waiting time set (304) according to the type of the command 3 is set in the command 2 immediately before. Since it is longer than the waiting time corresponding to T1B-T1C, the actual waiting time becomes the original waiting time of the instruction 3, that is, the time corresponding to T3B-T3C, and the next instruction is executed until the predetermined waiting time elapses. Since it is not received (Yes in 310), the ejection of the information recording medium 7 is permitted (311) at the time of T3C.
【0038】ここまでで、ファイルアクセス1に関する
命令群の実行が終了し、ファイルアクセス1とは関係の
無い、次のファイルアクセス2を構成する命令群の最初
の命令である命令4を受信するまでの間、すなわちT3
CからT4Aまでの間、ユーザが情報記録再生装置1か
ら、情報記録媒体7を排出することが許可される。ま
た、T4A以後のファイルアクセス2の手順についても
ファイルアクセス1と同様に繰り返される。Up to this point, the execution of the instruction group relating to the file access 1 is completed, and the instruction 4 which is the first instruction of the instruction group constituting the next file access 2 and which is not related to the file access 1 is received. Between, ie T3
From C to T4A, the user is permitted to eject the information recording medium 7 from the information recording / reproducing apparatus 1. The procedure of file access 2 after T4A is also repeated in the same manner as file access 1.
【0039】このようにして、何も対処しなければ情報
記録媒体の排出が許可になってしまう図7におけるT2
D−T3Aの時間を、待機すべき所定の時間を今受信し
た命令の本来の待機時間と、その直前に受信した命令に
おいて設定された所定の待機時間とを比較し、そのうち
長い方を実際の待機時間とすることで、情報記録媒体の
排出を禁止したままにすることができ、一つのファイル
アクセスの間に、情報記録媒体の排出が許可になってし
まうことを防ぐことが出来るとともに、一つのファイル
アクセスを構成する命令群の一番最後の命令に付随する
待機時間が不必要に長くなることを防ぐことができる。In this way, if nothing is done, the ejection of the information recording medium will be permitted T2 in FIG.
The D-T3A time is compared with the original waiting time of the command that has just received the predetermined time to wait and the predetermined waiting time set in the command that has just been received, and the longer one is the actual time. By setting the waiting time, it is possible to keep the ejection of the information recording medium prohibited, and it is possible to prevent the ejection of the information recording medium from being permitted during one file access. It is possible to prevent an unnecessarily long waiting time associated with the last instruction of the instruction group that constitutes one file access.
【0040】さて、以上説明した各実施例は、一つのフ
ァイルアクセスの間はユーザが情報記録媒体7の排出を
要求してもその要求に応じないことで、データが破壊さ
れないようにするものであるが、ユーザとしては、一つ
のファイルアクセスを構成する命令と命令の間の排出禁
止状態は、情報記録再生装置が独自に実行していること
であり、排出を要求しても、情報記録媒体7を排出しな
いとなると、無用の不安を抱くことになる。これを防止
するには、上位装置から、ユーザの情報記録媒体排出命
令を待機時間中に受けた場合は、排出禁止中である旨の
エラー報告を上位装置に返しユーザに知らせればよい。
その実施例について図8および図9を参照しながら、具
体的に説明する。By the way, in each of the embodiments described above, even if the user requests the ejection of the information recording medium 7 during one file access, the data is not destroyed because the request is not met. However, as a user, the eject-prohibited state between commands constituting one file access is that the information recording / reproducing apparatus independently executes the information recording medium even if the request is made. If you do not discharge 7, you will feel useless anxiety. To prevent this, when a user's command to eject an information recording medium is received from the host device during the waiting time, an error report indicating that ejection is prohibited may be returned to the host device to notify the user.
The embodiment will be specifically described with reference to FIGS. 8 and 9.
【0041】図9において、命令1、2及び3は、上位
装置から情報記録再生装置1へ時系列的に伝達される一
つのファイルアクセスを構成する命令群を表わしてい
る。In FIG. 9, commands 1, 2 and 3 represent a command group constituting one file access transmitted in time series from the host device to the information recording / reproducing device 1.
【0042】T2BからT3Aの間の時間T4に排出命
令を受信(401)した場合は、T2BからT3Aの間
が所定の時間の待機中であるので(402のYes)、
上位装置に対して、エラーを報告(403)する。T3
C以降の、T5に排出命令を受信(401)した場合
は、所定の時間の待機中ではないので(402のN
o)、情報記録媒体7は排出される(404)。以上の
ようにして、所定の時間の待機中は、ユーザにその旨を
伝えるようにしたので、ユーザの不安が解消される。When the eject command is received (401) at the time T4 between T2B and T3A, the period between T2B and T3A is waiting for a predetermined time (Yes in 402).
An error is reported (403) to the host device. T3
When the discharge command is received at T5 (401) after C, it is not waiting for a predetermined time (N of 402).
o), the information recording medium 7 is ejected (404). As described above, since the user is informed of that during the standby for the predetermined time, the anxiety of the user is eliminated.
【0043】[0043]
【発明の効果】以上説明したように本発明によれば、情
報記録媒体処理命令に応じた動作を実行後に待機時間を
設け、この待機時間中の情報記録媒体の排出を禁止しす
るようにしたので、データの破壊を確実に防止すること
が出来ると共に、余分な排出禁止時間を短縮することが
できる。As described above, according to the present invention, a waiting time is set after the operation according to the information recording medium processing command is executed, and the ejection of the information recording medium is prohibited during the waiting time. Therefore, it is possible to reliably prevent the destruction of data and shorten the extra discharge prohibition time.
I can .
【図1】本発明の一実施例にかかる情報記録再生装置を
示す概略構成図。FIG. 1 is a schematic configuration diagram showing an information recording / reproducing apparatus according to an embodiment of the present invention.
【図2】上記情報記録再生装置の動作手順の一例を示す
フローチャート。FIG. 2 is a flowchart showing an example of an operation procedure of the information recording / reproducing apparatus.
【図3】図2の処理の具体的な説明図。FIG. 3 is a specific explanatory diagram of the processing of FIG.
【図4】上記情報記録再生装置の動作手順の他の例を示
すフローチャート。FIG. 4 is a flowchart showing another example of the operation procedure of the information recording / reproducing apparatus.
【図5】図4の処理の具体的な説明図。FIG. 5 is a specific explanatory diagram of the processing of FIG.
【図6】上記情報記録再生装置の動作手順の他の例を示
すフローチャート。FIG. 6 is a flowchart showing another example of the operation procedure of the information recording / reproducing apparatus.
【図7】図6の処理の具体的な説明図。FIG. 7 is a specific explanatory diagram of the processing of FIG.
【図8】上記情報記録再生装置の動作手順の他の例を示
すフローチャート。FIG. 8 is a flowchart showing another example of the operation procedure of the information recording / reproducing apparatus.
【図9】図8の処理の具体的な説明図。9 is a specific explanatory diagram of the processing of FIG.
1 情報記録再生装置 2 I/F制御部 3 スイッチ検出部 4 装置制御部 5 リード/ライト制御部 6 ローディング制御部 7 情報記録媒体 1 Information recording / reproducing device 2 I / F control unit 3 Switch detector 4 Device control section 5 Read / write controller 6 Loading controller 7 Information recording medium
Claims (3)
令を実行して、交換可能な情報記録媒体に、記録、再
生、消去等の情報記録媒体処理動作を行なう情報記録再
生装置において、 他の装置から前記命令を受信すると、前記情報記録媒体
の排出を禁止する手段と、 前記命令を実行後に待機時間を計測する手段と、 前記待機時間を計測中に前記情報記録媒体処理命令の受
信を判断し、受信が有れば再び受信した情報記録媒体処
理を実行する手段と、 前記命令の受信が無く前記待機時間経過後に前記情報記
録媒体の排出を許可する手段と、前記待機時間を前記情報記録媒体処理命令の種類に応じ
て設定する手段と、 を有することを特徴とする情報記録再生装置。 1. A plurality of lives per one file access
When an instruction is received from another device in an information recording / reproducing apparatus that executes an instruction to perform information recording medium processing operations such as recording, reproducing, and erasing on an exchangeable information recording medium, the information recording medium is ejected. Means for measuring the waiting time after executing the command, determining the reception of the information recording medium processing command while measuring the waiting time, and if there is reception, the information recording medium process received again Means for executing the above, a means for permitting the information recording medium to be ejected after the waiting time has elapsed without receiving the command, and the waiting time according to the type of the information recording medium processing command.
Information recording and reproducing apparatus characterized by having a means for setting Te.
前記命令実行後の待機時間とを予め比較し、長い方の時
間を今回受信した前記命令実行後の実際の待機時間とし
て設定する手段を有することを特徴とする情報記録再生
装置。2. The information recording / reproducing apparatus according to claim 1, wherein a standby time after execution of the command received last time is compared with a standby time after execution of the command received this time in advance, and the longer time is received this time. An information recording / reproducing apparatus having means for setting an actual waiting time after the execution of the command.
おいて、 前記待機時間計測中に前記他の装置からの情報記録媒体
排出命令を受信すると前記待機時間計測中かを判断し計
測中でなければ情報記録媒体を排出し計測中であれば前
記他の装置に対してエラーを報告する手段を有すること
を特徴とする情報記録再生装置。3. The information recording / reproducing apparatus according to claim 1, wherein when an information recording medium eject command from the other device is received during the waiting time measurement, it is determined whether the waiting time is being measured or not. For example, an information recording / reproducing apparatus having means for ejecting the information recording medium and reporting an error to the other apparatus during measurement.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP34920993A JP3501169B2 (en) | 1993-12-28 | 1993-12-28 | Information recording / reproducing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP34920993A JP3501169B2 (en) | 1993-12-28 | 1993-12-28 | Information recording / reproducing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH07201123A JPH07201123A (en) | 1995-08-04 |
| JP3501169B2 true JP3501169B2 (en) | 2004-03-02 |
Family
ID=18402219
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP34920993A Expired - Fee Related JP3501169B2 (en) | 1993-12-28 | 1993-12-28 | Information recording / reproducing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3501169B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006293781A (en) * | 2005-04-12 | 2006-10-26 | Canon Inc | Recording / reproducing apparatus, information processing apparatus, information processing system |
-
1993
- 1993-12-28 JP JP34920993A patent/JP3501169B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH07201123A (en) | 1995-08-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5384673A (en) | Magnetic-tape storage apparatus | |
| US5388016A (en) | Magnetic tape data management method and apparatus | |
| US6292626B1 (en) | Reproducing apparatus, recording apparatus and recording/reproducing apparatus | |
| JP2000048496A (en) | Optical disk recording/reproducing method, device and medium recording optical disk recording/reproducing program | |
| JP3501169B2 (en) | Information recording / reproducing device | |
| US20140289485A1 (en) | Storage system, control apparatus, and method for controlling storage system | |
| JP3437502B2 (en) | Dynamic defect management method for rewritable optical disk | |
| JPS6036609B2 (en) | magnetic disk device | |
| JPH06202814A (en) | Storage control method for magnetic tape storage device | |
| US6985998B2 (en) | Disk array device for idle seek | |
| JPH08110868A (en) | Information recording / reproducing device | |
| JPH11306674A (en) | Disk storage device and disk write control method applied to the device | |
| JP3179372B2 (en) | WRITE CACHE CONTROL METHOD AND RECORDING MEDIUM RECORDING MEDIUM DISCHARGE SWITCH CONTROL PROGRAM FOR WRITE CACHE | |
| JP2003296040A (en) | Information recorder and dummy data recording method | |
| JP2625744B2 (en) | Magnetic tape unit | |
| JP3400488B2 (en) | File management device | |
| JP2752750B2 (en) | Auto changer | |
| JP3782605B2 (en) | Library controller | |
| JPS6348662A (en) | Information recording and reproducing method for optical disk device | |
| JPH05342817A (en) | File management method and information recording / reproducing apparatus | |
| JP3107028B2 (en) | Recording control device for disk-shaped recording medium and data recording method for magneto-optical disk device | |
| JPH10111768A (en) | Library system and logical volume loading / unloading method | |
| JPH0660550A (en) | Disk device | |
| JP2529488B2 (en) | Electronic file device | |
| JPH10254630A (en) | Library system and logical volume loading / unloading method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20031125 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20071212 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081212 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081212 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091212 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101212 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101212 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111212 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111212 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121212 Year of fee payment: 9 |
|
| LAPS | Cancellation because of no payment of annual fees |