JP3279854B2 - Recording and playback device - Google Patents

Recording and playback device

Info

Publication number
JP3279854B2
JP3279854B2 JP00993795A JP993795A JP3279854B2 JP 3279854 B2 JP3279854 B2 JP 3279854B2 JP 00993795 A JP00993795 A JP 00993795A JP 993795 A JP993795 A JP 993795A JP 3279854 B2 JP3279854 B2 JP 3279854B2
Authority
JP
Japan
Prior art keywords
recording
optical disk
information
reproducing
control means
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
Application number
JP00993795A
Other languages
Japanese (ja)
Other versions
JPH08202502A (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.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial 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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP00993795A priority Critical patent/JP3279854B2/en
Publication of JPH08202502A publication Critical patent/JPH08202502A/en
Application granted granted Critical
Publication of JP3279854B2 publication Critical patent/JP3279854B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は情報を記録し再生する記
録再生装置に関し、さらに詳しくは円盤状記録媒体やカ
ード状記録媒体など複数種類の記録媒体を交換して情報
を記録再生する記録再生装置と上位装置との接続を容易
にし、かつ記録媒体の交換に対応して誤作動を防ぐ記録
再生装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a recording and reproducing apparatus for recording and reproducing information, and more particularly to a recording and reproducing apparatus for recording and reproducing information by exchanging a plurality of types of recording media such as a disk-shaped recording medium and a card-shaped recording medium. The present invention relates to a recording / reproducing apparatus that facilitates connection between an apparatus and a higher-level apparatus, and that prevents malfunction due to exchange of a recording medium.

【0002】[0002]

【従来の技術】近年光ディスクは、記録密度が高いこ
と、非接触で記録再生ができるため媒体の寿命が長いこ
と、ランダムアクセスがテープなどの媒体に比べ格段に
速いことなどの特徴を有し、再生専用機としてのコンパ
クトディスクプレーヤ、ビデオディスクプレーヤや、記
録再生機としての画像ファイル、データファイル、文書
ファイルなど数多くの提案がなされている。特にデータ
ファイルとして使用する場合には、最近、上位装置側の
制約から接続可能な機器の台数の制限や、種類の異なる
複数種の機器を購入することによる投資金額の増大など
の問題から1台の機器で複数種の情報記録媒体を装着し
て使用する機器が提案されている。この機器は、たとえ
ば1台の記録再生装置で書換え型情報記録媒体と追記型
情報記録媒体を使用したり、1台の記録再生装置で書換
え型情報記録媒体と再生専用情報記録媒体を使用したり
する記録再生装置である。
2. Description of the Related Art In recent years, optical disks have features such as a high recording density, a long medium life due to non-contact recording and reproduction, and a much faster random access than a medium such as a tape. Many proposals have been made, such as a compact disk player and a video disk player as playback-only devices, and image files, data files, and document files as recording and playback devices. In particular, when used as a data file, one device may be used recently due to problems such as limitations on the number of connectable devices due to restrictions on the host device and an increase in the investment amount due to the purchase of a plurality of different types of devices. A device has been proposed in which a plurality of types of information recording media are mounted and used. This apparatus uses, for example, a rewritable information recording medium and a write-once information recording medium with one recording / reproducing apparatus, or uses a rewritable information recording medium and a read-only information recording medium with one recording / reproducing apparatus. Recording and reproducing device.

【0003】上記のような複数種の情報記録媒体を上位
装置に接続した1台の記録再生装置に装着して使用する
場合、上位装置に組み込んだ米国AT&T社のUNI
X、米国マイクロソフト社のMS−DOS、米国アップ
ル社のマッキントッシュ用等の数多くのオペレーティン
グシステムソフト(以下OSと称す)のいずれかのコン
トロールのもとで、この記録再生装置を大容量の情報可
搬媒体として、または固定磁気ディスクの代替として使
用するために、各OSに記録再生装置認識用の上位接続
制御装置(以下デバイスドライバと称す)を登録する必
要がある。このデバイスドライバを介して前記記録再生
装置を各OS上でデータの読み出し、書き込み可能なメ
モリとして用いることが可能となる。本発明はこれら記
録再生装置と上位接続制御装置の接続性の改良に関する
ものである。
When a plurality of types of information recording media as described above are mounted on a single recording / reproducing apparatus connected to a higher-level device and used, a UNI of American AT & T incorporated in the higher-level device is used.
X, MS-DOS of Microsoft Corporation, Apple Inc., Macintosh, etc., under the control of any of a number of operating system software (hereinafter referred to as OS), this recording / reproducing apparatus can carry a large amount of information. In order to use it as a medium or as a substitute for a fixed magnetic disk, it is necessary to register an upper-level connection control device (hereinafter, referred to as a device driver) for recognizing a recording / reproducing device in each OS. Through this device driver, the recording / reproducing apparatus can be used as a memory from which data can be read and written on each OS. The present invention relates to improving the connectivity between these recording / reproducing devices and a higher-level connection control device.

【0004】光ディスク記録再生装置を上位装置である
ホストコンピュータに接続するためには、各OSに対応
したデバイスドライバが必要である。このデバイスドラ
イバは、光ディスク記録再生装置を各OS上で使用可能
とするために、各OSに対応した論理フォーマットの読
み出し/書き込み処理を実行したり、光ディスク記録再
生装置の特徴である光ディスクを交換した場合の光ディ
スク交換に伴う処理を実行したりするなどの機能を有す
るものであり、各OS上で光ディスク記録再生装置等の
周辺機器を使用する場合に必須のソフトウェアである。
In order to connect the optical disk recording / reproducing apparatus to a host computer as a host apparatus, a device driver corresponding to each OS is required. This device driver executes read / write processing of a logical format corresponding to each OS and exchanges an optical disk which is a feature of the optical disk recording / reproducing apparatus, in order to make the optical disk recording / reproducing apparatus usable on each OS. It has functions such as executing a process accompanying the optical disk exchange in the case, and is essential software when using a peripheral device such as an optical disk recording / reproducing apparatus on each OS.

【0005】以下図面を参照しながら従来例の記録再生
装置およびその上位接続制御装置の一例について、各種
記録再生装置を規格統一された接続用インタフェース仕
様の1つであるSCSI(Small Compute
r System Interface)インタフェー
スを介してパーソナルコンピュータOSの1つである米
国マイクロソフト社製のMS−DOSに接続する場合を
用いて説明する。
[0005] Referring to the drawings, an example of a conventional recording / reproducing apparatus and a higher-level connection control apparatus thereof will be described.
A description will be made using a case where the personal computer OS is connected to an MS-DOS manufactured by Microsoft Corporation in the United States via an r system interface (r System Interface).

【0006】MS−DOSの場合、装置の状態に無関係
に強制的に登録を行うことにより1つのSCSI装置の
1つの周辺装置識別番号(以下ID番号)に対して複数
種のデバイスドライバを登録することが可能である。
In the case of the MS-DOS, a plurality of types of device drivers are registered for one peripheral device identification number (hereinafter, ID number) of one SCSI device by forcibly registering the device regardless of the status of the device. It is possible.

【0007】図5に一例として1台で書換え型光ディス
クとCD−ROM型光ディスクを交換して扱うことが可
能な光ディスク記録再生装置を、MS−DOSを組み込
んだコンピュータに接続して使用するシステム環境を示
す。図5において、ホストコンピュータ51内にはSC
SIインタフェース用ホストアダプタカード(指令発行
手段)52が搭載されており、これにはID番号は7を
割り当てられている。ホストアダプタカード52からは
ケーブルでID番号0が割り当てられたハードディスク
装置53に接続され、さらにケーブルで書換え型光ディ
スクとCD−ROM型光ディスクの両方を1台で交換し
て扱うことのできるID番号1が割り当てられた光ディ
スク記録再生装置54に接続されている。図ではいわゆ
るデイジーチェーン接続であるが電気的にはハードディ
スク装置53、光ディスク記録再生装置54および図示
しない追加接続の外部記憶装置はすべてSCSIバスに
パラレルに接続される。
FIG. 5 shows, as an example, a system environment in which an optical disk recording / reproducing apparatus which can handle a rewritable optical disk and a CD-ROM type optical disk by one unit is connected to a computer incorporating MS-DOS. Is shown. In FIG. 5, the host computer 51 has an SC
An SI interface host adapter card (command issuing means) 52 is mounted, and an ID number 7 is assigned to this. The host adapter card 52 is connected by a cable to a hard disk device 53 to which an ID number 0 is assigned, and is further connected by a cable to an ID number 1 that can handle both a rewritable optical disk and a CD-ROM optical disk by one unit. Are connected to the optical disk recording / reproducing device 54 to which is assigned. In the figure, a so-called daisy-chain connection is used, but electrically, the hard disk device 53, the optical disk recording / reproducing device 54, and an externally connected external storage device (not shown) are all connected in parallel to the SCSI bus.

【0008】図6に一例として1台で書換え型光ディス
クとCD−ROM型光ディスクを交換して扱うことが可
能な光ディスク記録再生装置をMS−DOS用コンピュ
ータに接続して使用する従来のデバイスドライバの構成
を示す。図6において、OSであるMS−DOS64は
書換え型光ディスクをホストコンピュータ上で扱うこと
を可能にする書換え型光ディスク記録再生装置用デバイ
スドライバ61に接続されており、この書換え型光ディ
スク記録再生装置用デバイスドライバ61には書換型光
ディスクに関してデータの読み出し、書き込み、ディス
ク交換処理などを実行する書換え型光ディスク用ファイ
ルアクセス処理部611と、光ディスク記録再生装置6
3が返送する各種エラー情報に基づいてエラー処理を実
行し、それでも回復できない場合に前記ホストコンピュ
ータにエラー報告を行うエラー処理部612とが含まれ
ている。
FIG. 6 shows, as an example, a conventional device driver for connecting and using an optical disk recording / reproducing apparatus capable of exchanging a rewritable optical disk and a CD-ROM type optical disk with a computer for MS-DOS. The configuration is shown. In FIG. 6, an OS MS-DOS 64 is connected to a device driver 61 for a rewritable optical disk recording / reproducing device which enables a rewritable optical disk to be handled on a host computer. The driver 61 includes a rewritable optical disk file access processing unit 611 that performs data reading, writing, disk exchange processing, and the like on the rewritable optical disk, and an optical disk recording / reproducing device 6.
3 includes an error processing unit 612 that performs error processing based on the various types of error information returned by the control unit 3 and reports an error to the host computer when recovery is still impossible.

【0009】またMS−DOS64にはCD−ROM型
光ディスクをホストコンピュータ上で扱うことを可能に
するCD−ROM型光ディスク再生装置用デバイスドラ
イバ62が接続されており、このCD−ROM型光ディ
スク再生装置用デバイスドライバ62には、CD−RO
M型光ディスクへのデータの読み出し、ディスク交換処
理などを実行するCD−ROM型光ディスク用ファイル
アクセス処理部621と、光ディスク記録再生装置63
が返送する各種エラー情報に基づいてエラー処理を実行
し、それでも回復できない場合に前記ホストコンピュー
タにエラー報告を行うエラー処理部622とが含まれて
いる。
The MS-DOS 64 is connected to a device driver 62 for a CD-ROM type optical disk reproducing apparatus which enables the host computer to handle the CD-ROM type optical disk. Device driver 62 includes a CD-RO
A CD-ROM type optical disk file access processing unit 621 for reading data from an M-type optical disk and performing disk exchange processing;
And an error processing unit 622 for executing an error process based on the various types of error information returned from the host computer and reporting an error to the host computer when recovery is still not possible.

【0010】書換え型光ディスク記録再生装置用デバイ
スドライバ61およびCD−ROM型光ディスク再生装
置用デバイスドライバ62には、書換え型光ディスクと
CD−ROM型光ディスクの両方を1台で交換して扱う
ことのできる光ディスク記録再生装置63が接続され、
ID番号1を割り当てられている。
The rewritable optical disk recording / reproducing device driver 61 and the CD-ROM type optical disk reproducing device device driver 62 can handle both a rewritable optical disk and a CD-ROM type optical disk with one device. The optical disk recording / reproducing device 63 is connected,
ID number 1 is assigned.

【0011】図7は、図5に示すシステム環境をMS−
DOSで使用するときのハードディスク装置75用のデ
バイスドライバ724および光ディスク記録再生装置7
6用の従来のデバイスドライバ(書き換え型用デバイス
ドライバ725およびCD−ROM用デバイスドライバ
726)が登録されたMS−DOSの状態および使用者
が指示するMS−DOSの各種コマンドの内部動作を説
明するためのシステム接続とMS−DOSの内部動作を
説明するブロック図である。
FIG. 7 shows the system environment shown in FIG.
Device driver 724 for hard disk device 75 and optical disk recording / reproducing device 7 when used in DOS
The state of the MS-DOS in which the conventional device drivers for 6 (the rewritable device driver 725 and the CD-ROM device driver 726) are registered, and the internal operation of various MS-DOS commands specified by the user will be described. FIG. 2 is a block diagram illustrating a system connection and an internal operation of MS-DOS.

【0012】図7においてMS−DOS上で使用者がキ
ーボードなどから実行したいコマンドを入力したり、そ
の実行結果を表示するMS−DOS入力/表示部71
は、外部に接続する各種記録再生装置用のデバイスドラ
イバを登録したMS−DOS72に接続されており、各
種デバイスドライバ724、725および726は指令
発行手段であるSCSIインタフェース用ホストアダプ
タカード73を介してSCSIバス74に接続され、こ
のSCSIバス74にはID番号0を割り当てられたハ
ードディスク装置75および書換え型光ディスクとCD
−ROM型光ディスクの両方を1台で交換して扱うこと
のできるID番号1を割り当てられた光ディスク記録再
生装置76が接続されている。MS−DOSのOS内部
構成図72のうち、721はMS−DOS入力/表示部
71において使用者が入力したMS−DOSコマンドを
解釈するCOMMAND.COM、722はコマンド実
行を管理するMS−DOS.SYS、723は接続され
る各種外部記憶装置へのデータの読み込み/書き込み処
理を管理するIO.SYSであり、この中には使用者が
指示したMS−DOSコマンドが接続される各種外部記
憶装置のうち、どの外部記憶装置に対するコマンドであ
るかを判断して使用するデバイスドライバの選択を行う
デバイスドライバ選択手段7231が含まれる。デバイ
スドライバ選択手段7231はハードディスク装置75
用デバイスドライバ724、光ディスク記録再生装置7
6の書換え型光ディスク用デバイスドライバ725、光
ディスク記録再生装置76のCD−ROM型光ディスク
用デバイスドライバ726、フロッピーディスク装置用
デバイスドライバ728を選択する。727は使用者が
入力指示したMS−DOSコマンドの実行処理部であ
る。
Referring to FIG. 7, an MS-DOS input / display unit 71 for inputting a command to be executed from a keyboard or the like on the MS-DOS by the user and displaying the execution result.
Is connected to an MS-DOS 72 in which device drivers for various recording / reproducing devices to be connected to the outside are registered. Various device drivers 724, 725, and 726 are connected via a host adapter card 73 for SCSI interface as command issuing means. The SCSI bus 74 is connected to a hard disk drive 75 to which an ID number 0 is assigned, a rewritable optical disk and a CD.
-An optical disk recording / reproducing apparatus 76 to which an ID number 1 that can handle both of the ROM type optical disks by exchanging one optical disk is connected. In the OS internal configuration diagram of the MS-DOS 72, 721 is a COMMAND.COM that interprets the MS-DOS command input by the user in the MS-DOS input / display unit 71. COM, 722 is an MS-DOS. SYS 723 manages the reading / writing of data to / from various connected external storage devices. SYS, in which the MS-DOS command designated by the user is a device for selecting a device driver to be used by determining which external storage device the command is for among various external storage devices to which the MS-DOS command is connected. Driver selection means 7231 is included. The device driver selecting means 7231 is a hard disk drive 75
Device driver 724 for optical disk recording / reproducing device 7
6, a rewritable optical disk device driver 725, a CD-ROM type optical disk device driver 726 of the optical disk recording / reproducing device 76, and a floppy disk device driver 728 are selected. Reference numeral 727 denotes an execution processing unit for executing an MS-DOS command input by the user.

【0013】以上のように構成されたシステム環境下で
MS−DOSが起動するとMS−DOSは、各外部記憶
装置にアルファベットのドライブ名を割り当てる。たと
えば、Aドライブ、Bドライブはフロッピーディスク装
置(図示せず)、Cドライブはハードディスク装置7
5、Dドライブは書換え型光ディスクを装着したときの
光ディスク記録再生装置76、EドライブはCD−RO
M型光ディスクを装着したときの光ディスク記録再生装
置76用として割り当てる。
When MS-DOS starts under the system environment configured as described above, MS-DOS assigns an alphabetical drive name to each external storage device. For example, drive A and drive B are floppy disk drives (not shown), and drive C is a hard disk drive 7
5, the D drive is an optical disk recording / reproducing device 76 when a rewritable optical disk is mounted, and the E drive is a CD-RO.
Allocated for optical disk recording / reproducing device 76 when M-type optical disk is mounted.

【0014】使用者が指示したMS−DOSコマンドが
光ディスク記録再生装置76に装着する書換え型光ディ
スクに保存されるファイルの内容を表示するための”d
irD:”コマンドであった場合、COMMAND.C
OM721はこのコマンド解釈を行い、MS−DOS.
SYS722およびIO.SYS723にその処理の実
行を指示する。この例においては使用者が指示したコマ
ンドがDドライブに対するものであるから、デバイスド
ライバ選択手段7231はMS−DOSコマンド中のド
ライブ名”D:”に基づいて書換え型光ディスク用デバ
イスドライバ725を選択して、このデバイスドライバ
を経由して光ディスク記録再生装置76に必要なSCS
Iコマンドを発行し、MS−DOSコマンドの実行処理
部727において実行結果をMS−DOS入力/表示部
71上に表示することにより一連のMS−DOSコマン
ド処理が完了する。
The MS-DOS command specified by the user is "d" for displaying the contents of a file stored on the rewritable optical disk mounted on the optical disk recording / reproducing device 76.
irD: ”command, COMMAND.C
The OM 721 interprets the command and outputs the command to the MS-DOS.
SYS722 and IO. Instruct SYS 723 to execute the process. In this example, since the command specified by the user is for the D drive, the device driver selecting unit 7231 selects the rewritable optical disk device driver 725 based on the drive name “D:” in the MS-DOS command. The SCS required for the optical disc recording / reproducing device 76 via this device driver
A series of MS-DOS command processing is completed by issuing an I-command and displaying the execution result on the MS-DOS input / display unit 71 in the MS-DOS command execution processing unit 727.

【0015】図8はMS−DOSのシステム起動後に使
用者が入力したMS−DOSコマンドの内部処理の処理
手順を示すものである。書換え型光ディスク用デバイス
ドライバとCD−ROM型光ディスク用デバイスドライ
バの2つを1つの光ディスク記録再生装置用デバイスド
ライバとしてMS−DOS上に登録する方法の場合、た
とえば、図7に示すように、書換え型光ディスク装着時
にはDドライブ、CD−ROM型光ディスク装着時には
Eドライブとして認識される。またMS−DOSにおい
ては、どのドライブ名にMS−DOSコマンドを発行す
るかは使用者が決めてMS−DOSコマンドを発行する
仕組みであり、また使用者は複数の書換え型光ディスク
とCD−ROM型光ディスクを保有し、これらの光ディ
スクを状況に応じて交換しながら使用することになる。
このために使用者が光ディスク記録再生装置76に装着
した光ディスクの種類と異なるドライブ名を指定してM
S−DOSコマンドを発行し、OSの返送するエラーに
より使用者がドライブ名の間違いに気づき再度コマンド
を指示する場合が発生する。このドライブ名の指示を間
違ってコマンドを発行した時のMS−DOS内部の処理
手順を図8を用いて説明する。
FIG. 8 shows a processing procedure of the internal processing of the MS-DOS command input by the user after the MS-DOS system is started. In a method of registering two device drivers for a rewritable optical disk and a device driver for a CD-ROM type optical disk as one device driver for an optical disk recording / reproducing apparatus on the MS-DOS, for example, as shown in FIG. The drive is recognized as a D drive when the optical disk is mounted, and as an E drive when the optical disk is mounted. In the MS-DOS, the drive name to which the MS-DOS command is issued is determined by the user to issue the MS-DOS command, and the user is required to issue a plurality of rewritable optical discs and CD-ROM type drives. They own optical disks and use these optical disks while changing them according to the situation.
For this purpose, the user designates a drive name different from the type of the optical disc mounted on the optical disc recording and
An S-DOS command is issued, and the user may notice an error in the drive name due to an error returned from the OS, and give a command again. The internal processing procedure of the MS-DOS when a command is issued with an incorrect drive name designation will be described with reference to FIG.

【0016】まず、ステップ801でシステムを起動し
たMS−DOSは、ステップ802において使用者のコ
マンド入力待ちの状態となる。ステップ802において
使用者はCドライブのハードディスク装置75の内容を
すべて書換え型光ディスクを装着した光ディスク記録再
生装置76であるDドライブにコピーするつもりで間違
えてコピー先ドライブ名をCD−ROM型光ディスク装
着時のEドライブを指定したMS−DOSコマンドとし
て1回目に”Xcopy c:¥ e:¥ /s”と指
示をした場合、使用者が入力したMS−DOSコマンド
のドライブ名がCドライブとEドライブなので、ステッ
プ803でMS−DOSはハードディスク装置からCD
−ROM装置へのコマンドと解釈し図7のデバイスドラ
イバ選択手段7231はCD−ROM用デバイスドライ
バ726を選択する。
First, the MS-DOS which has started the system in step 801 waits for a command input by the user in step 802. In step 802, the user intends to copy the entire contents of the hard disk device 75 of the C drive to the D drive which is the optical disk recording / reproducing device 76 loaded with the rewritable optical disk, and mistakenly sets the copy destination drive name to the CD-ROM type optical disk. When "Xcopy c: \ e: \ / s" is instructed for the first time as an MS-DOS command designating the E drive, the drive names of the MS-DOS command input by the user are C drive and E drive. In step 803, MS-DOS reads the CD from the hard disk device.
-The device driver selecting means 7231 in FIG. 7 selects the CD-ROM device driver 726 by interpreting the command as a command to the ROM device.

【0017】CD−ROM用デバイスドライバ726は
ステップ804において光ディスク記録再生装置76の
状態確認を実行する。通常、この確認動作はSCSIコ
マンドに定義されるTEST UNIT READYコ
マンドを用いて実行するが、このコマンドに対して光デ
ィスク記録再生装置76はディスク装着状態で、光ディ
スク交換が発生している旨の情報を報告する。ステップ
805において光ディスクが装着されていると判断し、
ステップ806で光ディスク交換ありと判断し、ステッ
プ807において光ディスクの管理情報の読み込み処理
を実行する。しかしCD−ROM型デバイスドライバは
CD−ROM型光ディスクの管理情報が報告されること
を期待しているのに、実際に光ディスク記録再生装置7
6が返送する管理情報は書換え型光ディスク用である。
したがってステップ808において正しい管理情報と判
断できず、ステップ811においてエラー情報を設定
し、ステップ812においてMS−DOSは指定したド
ライブ名の光ディスクが読めない旨のエラーを表示し、
このエラー表示により使用者はドライブ名の指定を間違
っていたことに気づくことになる。
The CD-ROM device driver 726 checks the state of the optical disk recording / reproducing device 76 in step 804. Normally, this confirmation operation is performed using a TEST UNIT READY command defined in the SCSI command. In response to this command, the optical disk recording / reproducing device 76 provides information indicating that the optical disk has been changed while the disk is mounted. Report. In step 805, it is determined that the optical disc is loaded,
In step 806, it is determined that the optical disk has been replaced, and in step 807, a process of reading management information of the optical disk is executed. However, although the CD-ROM type device driver expects that the management information of the CD-ROM type optical disk is reported, the CD-ROM type device driver actually
The management information returned by 6 is for a rewritable optical disk.
Therefore, in step 808, it cannot be determined that the management information is correct, and in step 811 error information is set. In step 812, the MS-DOS displays an error indicating that the optical disk with the specified drive name cannot be read.
This error display allows the user to notice that the designation of the drive name was incorrect.

【0018】使用者は書換え型光ディスクをいったん抜
くことなく、そのままステップ802において2回目は
正しいドライブ名で”Xcopy c:¥ d:¥ /
s”とコマンドを指示すると、ステップ803において
書換え型デバイスドライバが選択される。選択された書
換え型デバイスドライバはステップ813において光デ
ィスク記録再生装置76の状態確認を実行するが、SC
SIコマンドにおいては、光ディスク交換情報は、交換
直後のInquiryコマンドとRequest Se
nseコマンドを除くコマンドに1回だけ返送するよう
に定義されているため、すでにステップ804における
最初のCD−ROM用デバイスドライバからの状態確認
用のTEST UNIT READYコマンドに対して
光ディスク交換情報を返送しているので、ステップ81
3における状態確認に対しては、光ディスク交換情報は
返送されない。したがってステップ815において光デ
ィスク交換なしと判断し、ステップ816の光ディスク
の管理情報の読み込みは実行されず、ステップ818に
おいて指示されたコマンド処理を実行するが、ステップ
816の光ディスクの管理情報の読み込みは実行されて
いないので今回装着された光ディスクの管理情報ではな
く、光ディスク交換前に装着されていた書換え型光ディ
スクの管理情報を用いてコマンド処理を実行する。
The user does not remove the rewritable optical disk once, but in the step 802, the second time with the correct drive name, "Xcopy c: \ d: \ /
s ", the rewritable device driver is selected in step 803. The selected rewritable device driver checks the state of the optical disk recording / reproducing device 76 in step 813, but the SC
In the SI command, the optical disk exchange information includes an Inquiry command immediately after the exchange and a Request Se
Since it is defined that the command is returned only once for commands other than the nse command, the optical disc exchange information has already been returned in response to the TEST UNIT READY command for status confirmation from the first CD-ROM device driver in step 804. Step 81
No optical disk exchange information is returned for the status confirmation in 3. Therefore, in step 815, it is determined that there is no optical disk replacement, and the reading of the optical disk management information is not executed in step 816, and the command processing instructed in step 818 is executed, but the reading of the optical disk management information in step 816 is executed. Therefore, the command processing is executed using the management information of the rewritable optical disk mounted before the optical disk replacement, instead of the management information of the optical disk mounted this time.

【0019】ステップ819における正常終了確認に対
しては、正常終了したと報告し、ステップ812におけ
るコマンド実行結果の表示も正常終了した旨を使用者に
報告する。しかし実際には、異なる光ディスクの管理情
報を基に新たにファイルを作成してしまっている。この
書換え型光ディスクの管理情報を取得するため、一度こ
の書換え型光ディスクを取り出して、再度光ディスク記
録再生装置76に装着し、その後MS−DOSコマンド
を発行すると管理情報とデータとが一致せずに、この光
ディスクのファイルを正常に読み書きできないという重
大な問題が発生する。
In response to the normal termination confirmation in step 819, the normal termination is reported, and the display of the command execution result in step 812 is also reported to the user to the effect that the termination has been completed normally. However, actually, a new file is created based on management information of a different optical disk. In order to obtain the management information of this rewritable optical disk, once take out this rewritable optical disk, mount it on the optical disk recording / reproducing device 76 again, and then issue an MS-DOS command. There is a serious problem that files on the optical disk cannot be read and written normally.

【0020】このような問題を生じる原因を記録再生装
置側の構成に基づいて説明する。従来例の光ディスク記
録再生装置76内部の詳細を示すブロック図の図9にお
いて光ディスク記録再生装置76の周辺装置識別情報分
離手段91はSCSIバス74に接続されてSCSIバ
ス74からの入力情報から周辺装置識別番号を分離し
て、切換え手段91aはその周辺装置識別番号に対応し
て情報伝達を切換える。その出力は入力した情報から論
理ユニット情報を分離する論理ユニット情報分離手段9
2に接続されている。切換手段93はこの分離された論
理ユニット情報を受けて論理ユニット番号に対応して情
報伝達を切換える。書換え型光ディスクを制御する制御
手段である書換え型光ディスク用制御手段94およびC
D−ROM型光ディスクを制御する制御手段であるCD
−ROM型光ディスク用制御手段95の入力と出力と
は、光ディスクに対して読み出し/書き込みを行う記録
再生手段97に装着された光ディスクの種類を検出する
媒体種類検出手段98の検出結果に基づいて選択手段9
6a,96bによって切換えられる。
The cause of such a problem will be described based on the configuration of the recording / reproducing apparatus. Referring to FIG. 9 which is a block diagram showing the details of the inside of the conventional optical disk recording / reproducing apparatus 76, the peripheral device identification information separating means 91 of the optical disk recording / reproducing apparatus 76 is connected to the SCSI bus 74 and After separating the identification numbers, the switching means 91a switches the information transmission in accordance with the peripheral device identification numbers. The output is logical unit information separating means 9 for separating logical unit information from the input information.
2 are connected. Switching means 93 receives the separated logical unit information and switches information transmission in accordance with the logical unit number. Rewritable optical disk control means 94 and C for controlling rewritable optical disk
CD as control means for controlling a D-ROM type optical disc
The input and output of the ROM type optical disk control means 95 are selected based on the detection result of the medium type detection means 98 for detecting the type of the optical disk mounted on the recording / reproduction means 97 for reading / writing the optical disk. Means 9
6a and 96b.

【0021】以上のように構成され、つぎに図10のフ
ローチャートを用いて図11のような情報をSCSIバ
ス74から受け取った場合の動作を説明する。光ディス
ク記録再生装置76にアクセスするときは論理ユニット
番号を0にするようにデバイスドライバ725,726
を設定するか、デバイスドライバ725,726が自動
的に認識するようにするかのいずれかの方法を用いる。
ステップ1001でスタートして、ステップ1002に
おいて、ID番号1の光ディスク記録再生装置76はI
D番号7の上位装置からの図11のような指令を受信す
る。ステップ1003において周辺装置識別番号をチェ
ックし、1でなければステップ1002へ戻り、1であ
れば切換え手段91aはオンになっているのでステップ
1004で論理ユニット番号をチェックし、論理ユニッ
ト番号が0でなければ切換え手段93は解放されている
のでステップ1005においてアクセス不可を上位装置
に返送してステップ1002に戻る。論理ユニット番号
が0であればステップ1006で装着されているのが書
換え型光ディスクかCD−ROM型光ディスクかを判定
して、ステップ1007で書換え型光ディスク用制御手
段94を選択するか、ステップ1008でCD−ROM
型光ディスク用制御手段95を選択するかを決定する。
Next, the operation when the information as shown in FIG. 11 is received from the SCSI bus 74 will be described with reference to the flowchart of FIG. When accessing the optical disk recording / reproducing device 76, the device drivers 725 and 726 are set so that the logical unit number is set to 0.
Is set, or the device drivers 725 and 726 automatically recognize them.
Starting at step 1001, at step 1002, the optical disk recording / reproducing device 76 of ID number 1
The command as shown in FIG. 11 is received from the host device of D number 7. In step 1003, the peripheral device identification number is checked. If it is not 1, the process returns to step 1002. If it is 1, the switching unit 91a is on, so the logical unit number is checked in step 1004. If not, the switching means 93 has been released, so that in step 1005, an inaccessible state is returned to the host device, and the process returns to step 1002. If the logical unit number is 0, it is determined in step 1006 whether the loaded optical disk is a rewritable optical disk or a CD-ROM optical disk. In step 1007, the rewritable optical disk control means 94 is selected, or in step 1008, CD-ROM
It is determined whether or not to select the type optical disk control means 95.

【0022】この場合前述の光ディスク記録再生装置7
6の記録再生手段97に実際に装着されているDドライ
ブの書換え型光ディスクにアクセスするつもりで、誤っ
てEドライブのCD−ROM(実際には装着されていな
い)にアクセスしてしまった場合の例においては、CD
−ROM用デバイスドライバからのTEST UNIT
READYコマンドに対してステップ1006におい
て装着されている媒体の種類をチェックするが、図9に
おいて媒体種類検出手段98が装着されている光ディス
クが書換え型光ディスクであることを検出しているため
選択手段96a,96bは書換え型光ディスク用制御手
段94を選択しているので、ステップ1009において
書換え型光ディスク用制御手段94を用いて記録再生手
段97にアクセスしてしまい、ステップ1010におい
て光ディスク交換が発生している旨の情報を報告する。
この情報に基づき、CD−ROM用デバイスドライバ7
26は光ディスク管理情報の取得を行おうとするが、書
換え型光ディスク用の管理情報が返送されるため、正し
い管理情報と判断できず、MS−DOS72は光ディス
クが読めない旨のエラーをMS−DOS入力/表示部7
1に表示する。
In this case, the aforementioned optical disk recording / reproducing device 7
In the case where the user intends to access the rewritable optical disc of the D drive actually mounted on the recording / reproducing means 97 of No. 6 and accidentally accesses the CD-ROM (not actually mounted) of the E drive. In the example, CD
-TEST UNIT from ROM device driver
In step 1006, the type of the mounted medium is checked in response to the READY command. In FIG. 9, the medium type detecting unit 98 detects that the mounted optical disk is a rewritable optical disk. , 96b have selected the rewritable optical disk control means 94, and have accessed the recording / reproducing means 97 using the rewritable optical disk control means 94 in step 1009, and an optical disk exchange has occurred in step 1010. Report information to that effect.
Based on this information, the CD-ROM device driver 7
26 attempts to acquire the optical disk management information, but because the management information for the rewritable optical disk is returned, it cannot be determined that the management information is correct, and the MS-DOS 72 issues an error indicating that the optical disk cannot be read. / Display section 7
1 is displayed.

【0023】このエラー表示により使用者はドライブ名
の指定を間違っていたことに気づいて、2回目には前述
のように正しいドライブ名でアクセスするが、前述のよ
うにCD−ROM用デバイスドライバ726からのTE
ST UNIT READYコマンドに対してすでに光
ディスク交換情報を返送しているので、光ディスク交換
情報は返送されず、その結果管理情報の読み込みは実行
されないので今回装着されている光ディスクの管理情報
ではなく、光ディスク交換前に装着されていた書換え型
光ディスクの管理情報を用いてコマンド処理を実行する
ために前述のような管理情報とデータとが一致せず、こ
の光ディスクのファイルを正常に読み書きできないとい
う重大な問題が発生する。
When the user notices from the error display that the designation of the drive name has been mistaken, the user accesses with the correct drive name as described above for the second time. However, as described above, the CD-ROM device driver 726 is used. TE from
Since the optical disk exchange information has already been returned in response to the ST UNIT READY command, the optical disk exchange information is not returned, and as a result, the management information is not read. Since the command processing is executed using the management information of the rewritable optical disk that was previously mounted, the management information and the data as described above do not match, and there is a serious problem that the file of the optical disk cannot be read and written normally. appear.

【0024】[0024]

【発明が解決しようとする課題】前述した媒体を交換で
きる記録再生装置の従来例の構成では、各デバイスドラ
イバは1つの論理ユニット番号を介して、複数種類の媒
体を管理している。したがって、不正規のデバイスドラ
イバが媒体をアクセスすると、媒体の論理情報(媒体交
換情報等)がその不正規のデバイスドライバに返送され
てしまい、論理情報が失われるので、正規のデバイスド
ライバが媒体を管理できなくなる。具体的には、前述の
ように光ディスク交換後に使用者がドライブ名の指定を
間違えて記録再生装置に装着されていない媒体に向けて
MS−DOSコマンドを発行し、不正規なデバイスドラ
イバ経由によりMS−DOSのエラー表示によりドライ
ブ名の指定誤りに気づき、つぎにいったん光ディスクを
抜くことなく正規のドライブ名でMS−DOSコマンド
を再発行した場合、光ディスク交換情報が失われていて
正常に認識されず、最悪の場合、今まで使用していた書
換え型光ディスクのデータが読み書きできなくなるとい
う問題点があった。
In the above-described configuration of the conventional recording / reproducing apparatus capable of exchanging media, each device driver manages a plurality of types of media via one logical unit number. Therefore, when an unauthorized device driver accesses the medium, logical information (medium exchange information, etc.) of the medium is returned to the unauthorized device driver, and the logical information is lost. Lose control. Specifically, as described above, after replacing the optical disk, the user issues a drive name incorrectly and issues an MS-DOS command to a medium that is not mounted on the recording / reproducing apparatus, and sends the MS-DOS command via an unauthorized device driver. -When a drive name is specified incorrectly by the DOS error display and the MS-DOS command is reissued with the proper drive name without removing the optical disk once, the optical disk exchange information is lost and is not recognized normally. In the worst case, there has been a problem that data on a rewritable optical disk used up to now cannot be read or written.

【0025】この問題点に対する1つの解決策として、
MS−DOSを改造し、かつ各媒体用のデバイスドライ
バを一体化する方法(上位装置の変更)があるが、変更規
模が大きく実現が非常に困難である。
As one solution to this problem,
There is a method of modifying MS-DOS and integrating device drivers for each medium (change of a higher-level device), but the scale of change is large and implementation is extremely difficult.

【0026】本発明は上記従来の問題点を改善するため
のもので、ホストコンピュータへの、より容易、確実な
接続性を実現するために記録再生装置側を変更すること
により、この記録再生装置で使用可能な複数種の記録媒
体用に開発された既存のデバイスドライバを変更するこ
となく、1台で複数種の記録再生媒体を使用可能とする
記録再生装置を提供することを目的とする。
The present invention has been made to solve the above-mentioned conventional problems, and by changing the recording / reproducing apparatus in order to realize easier and more reliable connection to a host computer, this recording / reproducing apparatus is improved. It is an object of the present invention to provide a recording / reproducing apparatus which can use a plurality of types of recording / reproducing media with one unit without changing an existing device driver developed for a plurality of types of recording media which can be used in a computer.

【0027】この目的を達成するために、本発明の記録
再生装置は、複数の種類の記録媒体を装着することがで
きる1つの記録再生手段と、前記記録再生手段を用いて
対応する複数の種類の記録媒体にアクセスする複数の制
御手段と、前記記録再生手段に装着されている記録媒体
の種類を検出する検出手段と、前記検出手段によって前
記記録再生手段に接続される制御手段を選択する第2の
切換手段と、上位装置の指示発行手段からの指示を前記
制御手段に分配する第1の切換手段と、前記上位装置
指示発行手段からの指に含まれる前記制御手段を特定
する情報を分離して前記第1の切換手段を操作する情報
分離手段とを有し、前記制御手段は、前記第1の切換手
段を介して上位装置に選択され、かつ前記第2の切換手
段によって前記記録再生手段に接続されていない場合に
は、上位装置に、アクセスできる記録媒体が装着されて
いない旨のエラー通知のみを行い、記録媒体が交換され
たことを表す媒体交換情報を出力しないものである。
In order to achieve this object, a recording / reproducing apparatus according to the present invention comprises a recording / reproducing means on which a plurality of types of recording media can be mounted, and a plurality of types corresponding to a plurality of types using the recording / reproducing means. A plurality of control means for accessing the recording medium, a detecting means for detecting a type of the recording medium mounted on the recording / reproducing means, and a control means for selecting a control means connected to the recording / reproducing means by the detecting means. and second switching means, a first switching means for distributing the instructions from the instruction issuing means of the host device to the control means, of the host system
Separating the information for specifying the control means included in the instructions from the instruction issuing means and an information separating means for operating said first switching means, said control means, said first switching means Selected by the host device via the
When not connected to the recording / reproducing means by a step
Is a higher-level device, have rows error notification only to the effect that access can recording medium is not loaded, the recording medium is replaced
Does not output the medium exchange information indicating that

【0028】そしてさらに、制御手段のうち、記録再生
手段に接続されていない少なくとも1つの制御手段は、
該制御手段がアクセスできる記録媒体の種類と前記検出
手段が検出した記録媒体の種類とが不一致のためアクセ
ス不可のエラー通知を行うものである。
Further, at least one of the control means, which is not connected to the recording / reproducing means, comprises:
An error notification that access is not possible is made because the type of the recording medium accessible by the control unit and the type of the recording medium detected by the detecting unit do not match.

【0029】[0029]

【作用】本発明は上記した構成によって、1台の記録再
生装置を用いて、種類の異なる情報記録媒体を上位装置
であるホストコンピュータに接続して使用するとき、上
位装置は1つの記録再生手段に装着し得る各媒体ごとに
この媒体を制御する制御手段を特定する情報を割り当て
て、これを送出する。情報分離手段は制御手段を特定す
る情報を分離して、これによって第1の切換手段を操作
して、対応する媒体を制御する制御手段を選択すること
によって、上位装置のデバイスドライバと媒体とを直結
できる。したがって、不正規のデバイスドライバが媒体
をアクセスしようとしても、媒体はアクセスされないの
で、媒体の論理情報が失われず、これを正確に取得する
ことができるように作用する。
According to the present invention, when one type of information recording medium is connected to a host computer as a host device and used by using one recording / reproducing device, the host device uses one recording / reproducing means. For each medium that can be mounted on the medium, information for specifying control means for controlling the medium is assigned and transmitted. The information separating means separates the information specifying the control means, thereby operating the first switching means to select the control means for controlling the corresponding medium, thereby connecting the device driver of the higher-level device to the medium. Can be directly connected. Therefore, even if an unauthorized device driver attempts to access the medium, the medium is not accessed, so that the logical information of the medium is not lost and the information can be obtained accurately.

【0030】[0030]

【実施例】以下本発明の実施例について図面を参照しな
がら説明する。図1は本発明の記録再生装置の第1の実
施例のブロックダイヤグラムである。図において光ディ
スク記録再生装置10はSCSIバス74から情報を受
け取る。入力した情報は周辺装置識別情報分離手段1で
周辺装置識別番号を分離し、この周辺装置識別番号によ
って切換え手段3aを制御する。つぎに論理ユニット情
報分離手段2で論理ユニット情報を分離し、第1の切換
え手段である切換え手段3bは分離された論理ユニット
情報を受けて、論理ユニット番号が0であれば2つの制
御手段のうち書換え型光ディスク用制御手段4に、また
論理ユニット番号が1のときはCD−ROM用制御手段
5に情報を伝達する。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of a recording / reproducing apparatus according to a first embodiment of the present invention. In the figure, the optical disk recording / reproducing apparatus 10 receives information from a SCSI bus 74. The input information separates the peripheral device identification number by the peripheral device identification information separating means 1 and controls the switching means 3a according to the peripheral device identification number. Next, the logical unit information is separated by the logical unit information separating means 2, and the switching means 3b, which is the first switching means, receives the separated logical unit information. The information is transmitted to the rewritable optical disk control means 4 and to the CD-ROM control means 5 when the logical unit number is 1.

【0031】記録再生手段7は装着された書換え型光デ
ィスクまたはCD−ROM型光ディスクに対して読み出
し/書き込みを行う。媒体種類検出手段8は記録再生手
段7に装着された光ディスクの種類を検出し、検出結果
が書換え型光ディスクの場合は第2の切換え手段である
切換え手段6を書換え型光ディスク用制御手段4に、C
D−ROM型光ディスクの場合はCD−ROM型光ディ
スク用制御手段5に接続するように切換える。
The recording / reproducing means 7 reads / writes data from / to a rewritable optical disk or CD-ROM type optical disk mounted thereon. The medium type detecting means 8 detects the type of the optical disk mounted on the recording / reproducing means 7, and when the detection result is a rewritable optical disk, the switching means 6, which is the second switching means, is sent to the rewritable optical disk control means 4, C
In the case of a D-ROM type optical disk, switching is performed so as to connect to the control means 5 for a CD-ROM type optical disk.

【0032】以上のように構成され、つぎに図2の本実
施例の記録再生装置10内部の動作を示すフローチャー
ト、図3の上位装置からSCSIバス74を介して入力
する情報の状況を時系列的に示した説明図および従来例
で説明に用いた図7、図8を参照しながらその動作を説
明する。図7においては記録再生装置76に代えて本実
施例の記録再生装置10を用いればその他の部分は何等
変更する必要はない。また上位装置である、デバイスド
ライバを登録したMS−DOSを含むホストコンピュー
タ側の動作は従来例で示した図8のフローチャートと同
様である。
FIG. 2 is a flowchart showing the internal operation of the recording / reproducing apparatus 10 of this embodiment, and FIG. 3 is a time-series diagram showing the status of information input from the host apparatus via the SCSI bus 74 in FIG. The operation will be described with reference to an explanatory diagram schematically shown and FIGS. 7 and 8 used for explanation in the conventional example. In FIG. 7, if the recording / reproducing apparatus 10 of this embodiment is used instead of the recording / reproducing apparatus 76, the other parts do not need to be changed at all. The operation of the host computer including the MS-DOS in which the device driver is registered, which is a higher-level device, is the same as that of the flowchart of FIG. 8 shown in the conventional example.

【0033】まず電源を入れて図2のステップ201で
起動した記録再生装置10は、ステップ202で図3の
ような上位装置からの指令を受信する。ステップ203
で周辺装置識別情報分離手段1は上位装置からの指令中
で上位装置識別番号31に続く周辺装置識別番号32が
1でなければステップ202へ戻る。周辺装置識別番号
32が1であれば切換え手段3aをオンにしてステップ
204で論理ユニット番号33をチェックして0または
1でなければステップ205でアクセス不可を上位装置
に返却してステップ202へ戻る。
First, the recording / reproducing apparatus 10 which is turned on and activated in step 201 of FIG. 2 receives a command from a higher-level apparatus as shown in FIG. 3 in step 202. Step 203
The peripheral device identification information separating means 1 returns to step 202 if the peripheral device identification number 32 following the upper device identification number 31 in the command from the upper device is not 1. If the peripheral device identification number 32 is 1, the switching means 3a is turned on, the logical unit number 33 is checked in step 204, and if it is not 0 or 1, access rejection is returned to the host device in step 205 and the process returns to step 202. .

【0034】つぎに論理ユニット情報分離手段2では、
本実施例における制御手段を特定する情報である論理ユ
ニット番号33が0であればステップ206で本実施例
における第1の切換え手段である切換え手段3bを書換
え型光ディスク用制御手段4に切り換える。論理ユニッ
ト番号33が1であればステップ207で切換え手段3
bをCD−ROM型光ディスク用制御手段5に切り換え
る。
Next, in the logical unit information separating means 2,
If the logical unit number 33, which is the information for specifying the control means in this embodiment, is 0, the switching means 3b, which is the first switching means in this embodiment, is switched to the rewritable optical disk control means 4 in step 206. If the logical unit number 33 is 1, the switching means 3 in step 207
b is switched to the control means 5 for the CD-ROM type optical disk.

【0035】ここで上位装置側の操作を従来例と同じ具
体例で説明すると、図8において、ステップ801でシ
ステムを起動したMS−DOSは、ステップ802にお
いて使用者のコマンド入力待ちの状態となる。ステップ
802において使用者はCドライブのハードディスク装
置の内容をすべて書換え型光ディスクを装着した光ディ
スク記録再生装置であるDドライブにコピーするつもり
で、間違えてコピー先ドライブ名をCD−ROM型光デ
ィスク装着時のEドライブを指定したMS−DOSコマ
ンドとして1回目に”Xcopy c:¥ e:¥ /
s”と指示をした場合、ステップ803で使用者が入力
したMS−DOSコマンドのドライブ名がCドライブと
Eドライブなので、MS−DOSはハードディスク装置
からCD−ROM装置へのコマンドと解釈しデバイスド
ライバ選択手段7231はCD−ROM用デバイスドラ
イバ726を選択する。CD−ROM用デバイスドライ
バ726はステップ804において光ディスク記録再生
装置76の状態確認を実行する。通常、この確認動作は
SCSIコマンドに定義されるTEST UNITRE
ADYコマンドを用いて論理ユニット番号1に対して実
行するが、このコマンドに対して光ディスク記録再生装
置10のCD−ROM型光ディスク用制御手段5は、図
2のステップ208において記録再生手段7に装着され
た媒体と上位装置であるデバイスドライバが選択した制
御手段とが一致するディスクであるか否かをチェックす
る。前述のように記録再生手段7に装着された媒体の種
類は媒体種類検出手段8が検出して、その結果で切換手
段6を切り換えているので、この場合上位装置がCD−
ROMを選択しているのに装着されているのが書換え型
光ディスクであれば切換手段6は書換え型光ディスク用
制御手段4を選択しており、論理ユニット情報分離手段
2によって切換え手段3はCD−ROM型光ディスク用
制御手段5を選択しており、CD−ROM型光ディスク
用制御手段5は記録再生手段7に接続されていないた
め、アクセスすることができず、ステップ209でアク
セス不可(光ディスク未装着のためアクセス不可の旨を
知らせるエラー)を通知してステップ202へ戻る。記
録再生手段7へのアクセスが行われず、上位装置への応
答のみにとどまるために、光ディスク交換情報は失われ
ない。このエラー通知に基づきステップ805で光ディ
スク未装着と判断し、ステップ811においてエラー情
報を設定し、ステップ812においてMS−DOSは指
定したドライブ名の光ディスクが準備されていない旨の
エラーを表示し、このエラー表示により使用者はドライ
ブ名の指定を間違っていたことに気づくことになる。
Here, the operation of the host device will be described with reference to the same specific example as in the conventional example. In FIG. 8, the MS-DOS which has started the system in step 801 waits for a user command input in step 802. . In step 802, the user intends to copy the entire contents of the hard disk drive of the C drive to the D drive, which is an optical disk recording / reproducing apparatus loaded with a rewritable optical disk, and mistakenly changes the copy destination drive name when the CD-ROM type optical disk is mounted. As an MS-DOS command designating the E drive, the first time “Xcopy c: ¥ e: ¥ /
s ", the drive names of the MS-DOS command input by the user in step 803 are C drive and E drive, so that MS-DOS interprets the command as a command from the hard disk device to the CD-ROM device and interprets the device driver as a device driver. The selection means 7231 selects the CD-ROM device driver 726. The CD-ROM device driver 726 executes a state check of the optical disk recording / reproducing device 76 in step 804. Usually, this check operation is defined by a SCSI command. TEST UNITRE
The ADY command is used for the logical unit number 1. In response to this command, the CD-ROM type optical disk control unit 5 of the optical disk recording / reproducing apparatus 10 mounts the recording / reproduction unit 7 in step 208 of FIG. It is checked whether or not the selected medium is a disc in which the control means selected by the device driver as the higher-level device matches. As described above, the type of the medium mounted on the recording / reproducing means 7 is detected by the medium type detecting means 8 and the switching means 6 is switched based on the result.
If the rewritable optical disk is mounted in spite of selecting the ROM, the switching means 6 has selected the rewritable optical disk control means 4 and the switching means 3 has been switched by the logical unit information separating means 2 to the CD-ROM. Since the ROM type optical disk control means 5 is selected and the CD-ROM type optical disk control means 5 is not connected to the recording / reproducing means 7, it cannot be accessed, and cannot be accessed in step 209 (the optical disk is not mounted). Therefore, the process returns to step 202. Since the recording / reproducing means 7 is not accessed and only the response to the host device is performed, the optical disk exchange information is not lost. Based on this error notification, it is determined in step 805 that the optical disk is not loaded, error information is set in step 811, and in step 812, the MS-DOS displays an error indicating that the optical disk with the specified drive name is not prepared. The error notice allows the user to notice that the designation of the drive name was incorrect.

【0036】使用者は書換え型光ディスクをいったん抜
くことなく、そのままステップ802において2回目は
正しいドライブ名で”Xcopy c:¥ d:¥ /
s”とコマンドを指示すると、ステップ803において
今度は書換え型用デバイスドライバ725が選択され
る。選択された書換え型用デバイスドライバはステップ
813において光ディスク記録再生装置10の状態確認
を論理ユニット番号0に対して実行する。この場合は上
位装置が論理ユニット番号0を指示するので装着してい
る媒体に合致するため、図2のステップ206−208
−210の経路で書換え型光ディスク用制御手段4を介
して記録再生手段7にアクセスされる。
The user does not remove the rewritable optical disk, but in the step 802, the second time with the correct drive name, "Xcopy c: \ d: \ /
In step 803, the rewritable device driver 725 is selected. In step 813, the selected rewritable device driver checks the status of the optical disk recording / reproducing apparatus 10 to the logical unit number 0. In this case, since the higher-level device indicates the logical unit number 0 and matches the loaded medium, steps 206 to 208 in FIG.
The recording / reproducing means 7 is accessed via the rewritable optical disk control means 4 through the path -210.

【0037】従来例と異なり図8のステップ804にお
ける最初のCD−ROM用デバイスドライバ726から
の状態確認用のTEST UNIT READYコマン
ドは記録再生手段7にアクセスしていないため、光ディ
スク交換情報は失われていない。その結果図2のステッ
プ211において光ディスクがあるという情報とともに
光ディスク交換情報を返送する。したがって図8のステ
ップ815において光ディスク交換ありと判断し、ステ
ップ816において正しく光ディスク管理情報の読み込
みを実行し、ステップ817で正しい管理情報であると
判断し、ステップ818で指示されたコマンド処理を実
行してステップ819で正常終了する。したがって正し
い光ディスク管理情報に基づいてコマンド処理を実行し
ているので、従来例のような管理情報とデータが一致し
ないという問題は起こらない。
Unlike the conventional example, the first TEST UNIT READY command for checking the status from the CD-ROM device driver 726 in step 804 of FIG. 8 does not access the recording / reproducing means 7, so that the optical disk exchange information is lost. Not. As a result, in step 211 of FIG. 2, the optical disk exchange information is returned together with the information that the optical disk is present. Therefore, it is determined in step 815 in FIG. 8 that the optical disk has been changed, the optical disk management information is correctly read in step 816, the management information is determined to be correct in step 817, and the command processing instructed in step 818 is executed. In step 819, the process ends normally. Therefore, since the command processing is executed based on the correct optical disc management information, the problem that the management information does not match the data as in the conventional example does not occur.

【0038】つぎに第2の実施例として、上記第1の実
施例の変形として論理ユニット情報分離手段2を複数持
つ構成が考えられる。すなわち図示しないが、実施例1
における周辺装置識別情報分離手段1の出力を、複数の
論理ユニット番号に対応した複数の論理ユニット情報分
離手段に分岐させて、それぞれの論理ユニット情報分離
手段が分離した論理ユニット番号によって制御される切
換え手段をオンさせるようにする。この方法は3以上の
異なる媒体を使い分ける場合に好適であり、また論理ユ
ニット情報分離手段をソフトウェアで構成する場合はコ
ストアップにもならないで済む。
Next, as a second embodiment, as a modification of the first embodiment, a configuration having a plurality of logical unit information separating means 2 can be considered. That is, although not shown, the first embodiment
In which the output of the peripheral device identification information separating means 1 is branched to a plurality of logical unit information separating means corresponding to a plurality of logical unit numbers, and each logical unit information separating means is controlled by the separated logical unit number. Turn on the means. This method is suitable for properly using three or more different media, and does not increase the cost when the logical unit information separating means is constituted by software.

【0039】以上のように第1および第2の実施例では
記録再生装置に媒体の種類に対応した制御手段を特定す
る情報である論理ユニット番号により第1の切換え手段
を切り換える論理ユニット情報分離手段を有し、装着さ
れている媒体に対応した論理ユニット番号を受信したと
きにその媒体に対応する制御手段を介して記録再生手段
7に接続することによって上位装置であるホストコンピ
ュータへの、より容易、確実な接続性を実現し、誤った
コマンドによる記録再生装置の誤動作を防止するもので
ある。
As described above, in the first and second embodiments, the logical unit information separating means for switching the first switching means by the logical unit number which is information for specifying the control means corresponding to the type of medium in the recording / reproducing apparatus. When a logical unit number corresponding to the loaded medium is received, the logical unit number is connected to the recording / reproducing means 7 via the control means corresponding to the medium, so that the host computer as an upper apparatus can be more easily connected. It realizes reliable connection and prevents a malfunction of the recording / reproducing apparatus due to an erroneous command.

【0040】本実施例において切換手段3b,6は切換
えスイッチのように表示したが、切換えるべき回路数に
対応した数のスイッチを用い、いずれかをオンすること
によっても同様の機能が達成される。
In the present embodiment, the switching means 3b and 6 are shown as changeover switches. However, the same function can be achieved by using a number of switches corresponding to the number of circuits to be changed and turning on one of them. .

【0041】つぎに本発明の第3の実施例について図4
を参照しながら説明する。図4は本発明の第3の実施例
の記録再生装置10aのブロック図である。図4が第1
の実施例の図1と異なるのは各媒体制御手段ごとに、す
なわち使用する媒体の種類ごとに周辺装置識別情報分離
手段1a,1b、論理ユニット情報分離手段2a,2b
を有し、また周辺装置識別情報分離手段1a,1bによ
ってそれぞれ制御される切換え手段3c,3dを、さら
に論理ユニット情報分離手段2a,2bによってそれぞ
れ制御される切換え手段3e,3fを有し、周辺装置識
別情報分離手段1aと周辺装置識別情報分離手段1bと
はそれぞれ独自にSCSIバス74から上位装置の指令
を受けることができ、周辺装置識別情報分離手段1aは
SCSIバスからの、この実施例における制御手段を特
定する情報である周辺装置識別番号が1のときに、この
実施例における第1の切換え手段である切換え手段3c
をオンにし、かつ論理ユニット情報分離手段2aは論理
ユニット番号が0のときに切換え手段3eをオンにして
書換え型光ディスク用制御手段4をSCSIバス74に
接続する。一方周辺装置識別情報分離手段1bはSCS
Iバス74からの、この実施例における制御手段を特定
する情報である周辺装置識別番号が2のときに、この実
施例における第1の切換え手段である切換え手段3dを
オンにし、かつ論理ユニット情報分離手段2bは論理ユ
ニット番号が0のときに切換え手段3fをオンにし、C
D−ROM型光ディスク用制御手段5をSCSIバス7
4に接続する。
Next, a third embodiment of the present invention will be described with reference to FIG.
This will be described with reference to FIG. FIG. 4 is a block diagram of a recording / reproducing apparatus 10a according to a third embodiment of the present invention. FIG. 4 is the first
The difference from FIG. 1 of the embodiment is that the peripheral device identification information separating means 1a and 1b and the logical unit information separating means 2a and 2b differ for each medium control means, that is, for each type of medium used.
And switching means 3c and 3d respectively controlled by the peripheral device identification information separating means 1a and 1b, and switching means 3e and 3f respectively controlled by the logical unit information separating means 2a and 2b. The device identification information separating means 1a and the peripheral device identification information separating means 1b can each independently receive a command from a higher-level device from the SCSI bus 74, and the peripheral device identification information separating means 1a receives the command from the SCSI bus in this embodiment. When the peripheral device identification number which is the information for specifying the control means is 1, the switching means 3c which is the first switching means in this embodiment.
Is turned on, and the logical unit information separating means 2a turns on the switching means 3e when the logical unit number is 0 to connect the rewritable optical disk control means 4 to the SCSI bus 74. On the other hand, the peripheral device identification information separating means 1b
When the peripheral device identification number, which is information for specifying the control means in this embodiment, is 2 from the I bus 74, the switching means 3d, which is the first switching means in this embodiment, is turned on, and the logical unit information is turned on. The separating means 2b turns on the switching means 3f when the logical unit number is 0,
D-ROM type optical disk control means 5 is connected to SCSI bus 7
Connect to 4.

【0042】第1および第2の実施例では、制御手段を
特定する情報として論理ユニット番号を使用したが、第
3の実施例では制御手段を特定する情報として周辺装置
識別番号を使用している。すなわち論理ユニット番号で
制御手段を区別していたのを周辺装置識別番号で区別す
るという点が異なっており、その他の部分の構成および
動作は第1の実施例と同様である。
In the first and second embodiments, the logical unit number is used as the information for specifying the control means. In the third embodiment, the peripheral device identification number is used as the information for specifying the control means. . That is, the difference is that the control means is distinguished by the logical unit number, but is distinguished by the peripheral device identification number, and the configuration and operation of the other parts are the same as in the first embodiment.

【0043】また、さらに第4の実施例として図示しな
いがSCSIバス74には1つの周辺装置識別情報分離
手段のみが接続され、論理ユニット情報分離手段は制御
手段の数だけ用意され、第1の切換え手段は周辺装置識
別情報分離手段の分離した周辺装置識別番号によって対
応する論理ユニット情報分離手段へ接続されるように分
岐切換えを行い、論理ユニット情報分離手段で論理ユニ
ット番号が0であれば、対応する制御手段に接続される
ように構成してもよい。
Although not shown in the fourth embodiment, only one peripheral device identification information separating means is connected to the SCSI bus 74, and the logical unit information separating means is prepared by the number of control means. The switching means performs branch switching so as to be connected to the corresponding logical unit information separating means by the peripheral device identification number separated by the peripheral device identification information separating means, and if the logical unit number is 0 in the logical unit information separating means, You may comprise so that it may be connected to the corresponding control means.

【0044】以上のように第3および第4の実施例は記
録再生装置に媒体の種類に対応した数の周辺装置識別情
報分離手段を有するか、または媒体の種類に応じて切換
え手段を切換制御する周辺装置識別情報分離手段を有し
て、制御手段を特定する情報として媒体に対応した周辺
装置識別番号を上位装置から受信したときに、その媒体
に対応する制御手段を接続させることによって、上位装
置であるホストコンピュータへの、より容易、確実な接
続性を実現し、誤ったコマンドによる記録再生装置の誤
動作を防止するものである。
As described above, in the third and fourth embodiments, the recording / reproducing apparatus has the number of peripheral device identification information separating means corresponding to the type of medium, or the switching control of the switching means according to the type of medium. When a peripheral device identification number corresponding to a medium is received from a higher-level device as information for specifying the control device, the control device corresponding to the medium is connected, The purpose of the present invention is to realize easier and more reliable connection to a host computer as a device and prevent a malfunction of the recording / reproducing device due to an erroneous command.

【0045】このように上記各実施例においては、記録
再生装置の切換え手段にわずかな変更を行うという最小
限の変更を加えるだけで、MS−DOS上で使用するホ
ストコンピュータに、1台の光ディスク装置で複数種の
異なる光ディスクを扱うことが可能な情報記録再生装置
を接続して使用するとき、使用者が間違ったドライブ名
を指定してMS−DOSコマンドを指示した場合に発生
する、光ディスク交換情報を検出できないという問題を
解決することが可能となる。
As described above, in each of the above-described embodiments, a single optical disk can be added to the host computer used on the MS-DOS by making a minimal change such as making a slight change to the switching means of the recording / reproducing apparatus. When connecting and using an information recording / reproducing device capable of handling a plurality of different optical disks in the device, an optical disk exchange which occurs when a user specifies an incorrect drive name and instructs an MS-DOS command. It is possible to solve the problem that information cannot be detected.

【0046】なおここでは媒体に書換え型光ディスクと
CD−ROM型光ディスクとを用いた場合を説明した
が、いずれかに代えて、または追加して追記型光ディス
クを加えて使用できるようにしてもよく、その場合は第
1の実施例では対応する論理ユニット番号と、対応する
制御手段とを変更または追加すればよく、第2の実施例
では対応する論理ユニット番号と、対応する制御手段
と、対応する論理ユニット情報分離手段とを変更または
追加すればよく、また第3の実施例では対応する周辺装
置識別番号と、対応する周辺装置識別情報分離手段と、
対応する論理ユニット情報分離手段とを変更または追加
すればよく、さらに第4の実施例においては対応する周
辺装置識別番号と、対応する論理ユニット情報分離手段
とを追加し、周辺装置識別情報分離手段を変更または追
加した周辺装置識別番号に対応したものとすればよい。
Although the case where a rewritable optical disk and a CD-ROM type optical disk are used as the medium has been described here, a write-once optical disk may be used instead of or in addition to any one. In that case, in the first embodiment, the corresponding logical unit number and the corresponding control means may be changed or added. In the second embodiment, the corresponding logical unit number, the corresponding control means, In the third embodiment, a corresponding peripheral device identification number, a corresponding peripheral device identification information separating unit,
The corresponding logical unit information separating means may be changed or added. In the fourth embodiment, the corresponding peripheral device identification number and the corresponding logical unit information separating means are added, and the peripheral device identifying information separating means is added. May correspond to the changed or added peripheral device identification number.

【0047】またここでは媒体に光ディスクを用いた場
合について説明したが、媒体は光ディスクに限らず、1
台の記録再生装置に交換して使用できる媒体、たとえば
磁気記録媒体や半導体メモリ等またはそれらを混合して
用いてもよいものである。
Although the case where the optical disk is used as the medium has been described here, the medium is not limited to the optical disk,
A medium that can be used interchangeably with one recording / reproducing apparatus, for example, a magnetic recording medium, a semiconductor memory, or the like, or a mixture thereof may be used.

【0048】さらに各実施例では媒体の種類を2種類と
したが3種類以上であっても論理ユニット番号または周
辺装置識別番号と制御手段、また場合によっては論理ユ
ニット情報分離手段または周辺装置識別情報分離手段を
追加すれば実現できるのはいうまでもない。
Further, in each embodiment, two types of media are used. However, even if there are three or more types, the logical unit number or the peripheral device identification number and the control means, and in some cases, the logical unit information separating means or the peripheral device identification information Needless to say, this can be realized by adding a separating means.

【0049】さらに制御手段、周辺装置識別情報分離手
段や論理ユニット情報分離手段はソフトウェアで構成で
きるのは当然である。
Further, it goes without saying that the control means, the peripheral device identification information separating means and the logical unit information separating means can be constituted by software.

【0050】さらに上記実施例ではOSとしてMS−D
OSを用い、指令発行手段としてSCSIインタフェー
ス用ホストアダプタカードを用いるものとして説明した
が、本発明は記録再生装置の構成に関するものであるか
ら、OSや周辺機器へのインタフェースの方式が異なっ
ても本発明の思想を適用可能であることはいうまでもな
い。
Further, in the above embodiment, MS-D is used as the OS.
Although the description has been made on the assumption that the OS is used and the host adapter card for SCSI interface is used as the command issuing means, the present invention relates to the configuration of the recording / reproducing apparatus. It goes without saying that the idea of the invention can be applied.

【0051】[0051]

【発明の効果】以上説明したように本発明の記録再生装
置は、複数の種類の記録媒体を装着することができる1
つの記録再生手段と、記録再生手段を用いて対応する複
数の種類の記録媒体にアクセスする複数の制御手段と、
記録再生手段に装着されている記録媒体の種類を検出す
る検出手段と、検出手段によって記録再生手段に接続さ
れる制御手段を選択する第2の切換手段と、上位装置の
指示発行手段からの指示を制御手段に分配する第1の切
換手段と、上位装置の指示発行手段からの指に含まれ
る制御手段を特定する情報を分離して第1の切換手段を
操作する情報分離手段とを有し、制御手段は、第1の切
換手段を介して上位装置に選択され、かつ第2に切換手
段によって記録再生手段に接続されていない場合には、
上位装置に、アクセスできる記録媒体が少なくとも装着
されていない旨のエラー通知のみを行い、記録媒体が交
換されたことを表す媒体交換情報を出力しないものであ
る。
As described above, the recording / reproducing apparatus of the present invention can mount a plurality of types of recording media.
Recording and reproducing means, a plurality of control means for accessing a corresponding plurality of types of recording medium using the recording and reproducing means,
Detecting means for detecting the type of the recording medium mounted on the recording / reproducing means, second switching means for selecting a control means connected to the recording / reproducing means by the detecting means, and an instruction from an instruction issuing means of the host device Yes a first switching means for distributing the control means, and information separating means for operating the first switching means separates the information specifying the control means included in the instructions from the instruction issuing means of the host device The control means is selected by the host device via the first switching means, and the control means is secondly selected.
If not connected to the recording / reproducing means by a step,
The host device, have rows error notification only to the effect that access can be recorded medium is not at least attached, recording medium exchange
It does not output the medium exchange information indicating that the media has been exchanged .

【0052】そのために1台でたとえば光ディスクであ
れば書換え可能型、再生専用型、追記型またはこれらの
組み合せからなる複数種の異なる情報記録媒体に情報を
記録しまたは情報記録媒体から情報を再生する機能を有
する記録再生装置をホストコンピュータなどの上位装置
と接続して用いる場合に、使用者がドライブ名指定を間
違えてコマンドの指示をした場合であっても、上位装置
は1つの記録再生手段に装着し得る各媒体ごとに制御手
段を特定する情報である論理ユニット番号または周辺装
置識別番号を割り当てて送出することにより、情報分離
手段は、第1の切換手段を操作してその論理ユニット番
号または周辺装置識別番号に対応した媒体を制御する制
御手段を選択することによって、デバイスドライバと媒
体とを直結でき、不正規のデバイスドライバが媒体をア
クセスしようとしても、媒体はアクセスされないので、
媒体の論理情報が失われることがなく、情報記録媒体の
媒体交換情報を正確に取得でき、それぞれの情報記録媒
体用にすでに開発済みの各ホストコンピュータとの接続
のためのデバイスドライバをそのまま使用することが可
能となり、上位装置との接続性を高め、誤操作に対して
も誤動作することがなく、装置の利用範囲を拡大するこ
とができるものである。
For this purpose, information is recorded on or reproduced from a plurality of different types of information recording media of a rewritable type, a read-only type, a write-once type, or a combination of these types of optical disks. When a recording / reproducing apparatus having a function is connected to a higher-level apparatus such as a host computer and used, even if the user instructs a command by erroneously specifying a drive name, the higher-level apparatus is used for one recording / reproducing unit. By allocating and transmitting a logical unit number or a peripheral device identification number, which is information for specifying the control means, for each medium that can be loaded, the information separation means operates the first switching means to output the logical unit number or the peripheral unit identification number. By selecting control means for controlling the medium corresponding to the peripheral device identification number, the device driver can be directly connected to the medium, Even normal device driver tries to access the medium, since the medium is not accessed,
The medium exchange information of the information recording medium can be accurately obtained without losing the logical information of the medium, and the device driver for connection to each host computer already developed for each information recording medium is used as it is. This makes it possible to enhance the connectivity with a higher-level device, prevent erroneous operation even when erroneous operation is performed, and expand the range of use of the device.

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

【図1】本発明の第1の実施例の記録再生装置のブロッ
ク図
FIG. 1 is a block diagram of a recording and reproducing apparatus according to a first embodiment of the present invention.

【図2】同じくその記録再生装置内部の動作を示すフロ
ーチャート
FIG. 2 is a flowchart showing an operation inside the recording / reproducing apparatus.

【図3】同じくその上位装置から入力する情報を時系列
的に示した説明図
FIG. 3 is an explanatory diagram showing information input from the higher-level device in chronological order.

【図4】本発明の第2の実施例の記録再生装置のブロッ
ク図
FIG. 4 is a block diagram of a recording / reproducing apparatus according to a second embodiment of the present invention.

【図5】従来例のシステム構成図FIG. 5 is a system configuration diagram of a conventional example.

【図6】従来例の上位接続制御装置の構成図FIG. 6 is a configuration diagram of a conventional higher-order connection control device.

【図7】システム接続とMS−DOSの内部動作を説明
するブロック図
FIG. 7 is a block diagram illustrating system connection and internal operation of MS-DOS.

【図8】MS−DOSコマンド処理手順のフローチャー
FIG. 8 is a flowchart of an MS-DOS command processing procedure.

【図9】従来例の記録再生装置のブロック図FIG. 9 is a block diagram of a conventional recording / reproducing apparatus.

【図10】同じくその記録再生装置内部の動作を示すフ
ローチャート
FIG. 10 is a flowchart showing an operation inside the recording / reproducing apparatus.

【図11】同じくその上位装置から入力する情報を時系
列的に示した説明図
FIG. 11 is an explanatory diagram showing information input from the host device in a time-series manner.

【符号の説明】[Explanation of symbols]

1,1a,1b 周辺装置識別情報分離手段 2,2a,2b 論理ユニット情報分離手段 3b,3c,3d 第1の切換え手段 4 書換え型光ディスク用制御手段 5 CD−ROM型光ディスク用制御手段 6 第2の切換え手段 7 記録再生手段 8 媒体種類検出手段 10,10a 記録再生装置 1, 1a, 1b Peripheral device identification information separating means 2, 2a, 2b Logical unit information separating means 3b, 3c, 3d First switching means 4 Control means for rewritable optical disk 5 Control means for CD-ROM type optical disk 6 Second Switching means 7 recording / reproducing means 8 medium type detecting means 10, 10a recording / reproducing apparatus

───────────────────────────────────────────────────── フロントページの続き (72)発明者 鏡橋 俊二 大阪府門真市大字門真1006番地 松下電 器産業株式会社内 (72)発明者 相 孝治 大阪府門真市大字門真1006番地 松下電 器産業株式会社内 (56)参考文献 特開 平4−298856(JP,A) 特開 平5−265914(JP,A) 特開 平4−123361(JP,A) 特開 平3−280147(JP,A) 特開 平3−214225(JP,A) ──────────────────────────────────────────────────の Continuing on the front page (72) Inventor Shunji Kagamihashi 1006 Kazuma Kadoma, Osaka Prefecture Matsushita Electric Industrial Co., Ltd. JP-A-4-298856 (JP, A) JP-A-5-265914 (JP, A) JP-A-4-123361 (JP, A) JP-A-3-280147 (JP, A) JP-A-3-214225 (JP, A)

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数の種類の記録媒体を装着することが
できる1つの記録再生手段と、前記記録再生手段を用い
て対応する複数の種類の記録媒体にアクセスする複数の
制御手段と、前記記録再生手段に装着されている記録
体の種類を検出する検出手段と、前記検出手段によって
前記記録再生手段に接続される制御手段を選択する第2
の切換手段と、上位装置の指示発行手段からの指示を前
記制御手段に分配する第1の切換手段と、前記上位装置
の指示発行手段からの指に含まれる前記制御手段を特
定する情報を分離して前記第1の切換手段を操作する情
報分離手段とを有し、前記制御手段は、前記第1の切換
手段を介して上位装置に選択され、かつ前記第2の切換
手段によって前記記録再生手段に接続されていない場合
には、上位装置に、アクセスできる記録媒体が装着され
ていない旨のエラー通知のみを行い、記録媒体が交換さ
れたことを表す媒体交換情報を出力しないことを特徴と
する記録再生装置。
1. A one recording and reproducing means capable of mounting a plurality of types of recording medium, a plurality of control means for accessing a plurality of types of recording medium corresponding with said recording means, the recording A detecting means for detecting the type of the recording medium mounted on the reproducing means, and a second means for selecting a control means connected to the recording and reproducing means by the detecting means.
Switching means for distributing an instruction from an instruction issuing means of a higher-level device to the control means;
And an information separating means for operating the said control means includes from the instruction issuing means of the instructions of separating the information identifying the first switching means, said control means, said first switching means Selected by the host device via the
Not connected to the recording / reproducing means by means
The, the host device, have rows error notification only to the effect that access can recording medium is not loaded, the recording medium is replaced
A recording / reproducing apparatus which does not output medium exchange information indicating that the recording / reproduction has been performed.
【請求項2】 制御手段のうち、記録再生手段に接続さ
れていない少なくとも1つの制御手段は、該制御手段が
アクセスできる記録媒体の種類と前記検出手段が検出し
記録媒体の種類とが不一致のためアクセス不可のエラ
ー通知を行うことを特徴とする請求項1に記載の記録再
生装置。
2. At least one of the control means, which is not connected to the recording / reproducing means, is configured so that the type of the recording medium accessible by the control means does not match the type of the recording medium detected by the detecting means. 2. The recording / reproducing apparatus according to claim 1, wherein an error notification indicating that access is not possible is performed.
【請求項3】 上位装置の指令発行手段にSCSIイン
ターフェースを用い、制御手段を特定する情報として論
理ユニット番号を利用する請求項1に記載の記録再生装
置。
3. The recording / reproducing apparatus according to claim 1, wherein a SCSI interface is used as a command issuing unit of the host device, and a logical unit number is used as information for specifying the control unit.
【請求項4】 上位装置の指令発行手段にSCSIイン
ターフェースを用い、制御手段を特定する情報として周
辺装置識別番号を利用する請求項1に記載の記録再生装
置。
4. The recording / reproducing apparatus according to claim 1, wherein a SCSI interface is used as a command issuing means of the host device, and a peripheral device identification number is used as information for specifying the control means.
JP00993795A 1995-01-25 1995-01-25 Recording and playback device Expired - Fee Related JP3279854B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP00993795A JP3279854B2 (en) 1995-01-25 1995-01-25 Recording and playback device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP00993795A JP3279854B2 (en) 1995-01-25 1995-01-25 Recording and playback device

Publications (2)

Publication Number Publication Date
JPH08202502A JPH08202502A (en) 1996-08-09
JP3279854B2 true JP3279854B2 (en) 2002-04-30

Family

ID=11733940

Family Applications (1)

Application Number Title Priority Date Filing Date
JP00993795A Expired - Fee Related JP3279854B2 (en) 1995-01-25 1995-01-25 Recording and playback device

Country Status (1)

Country Link
JP (1) JP3279854B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3998289B2 (en) * 1997-02-14 2007-10-24 富士通株式会社 Library control apparatus and method for logically dividing and controlling library apparatus
JP3886460B2 (en) 2003-01-31 2007-02-28 富士通株式会社 Composite storage device and card substrate thereof
US7526580B2 (en) 2003-06-27 2009-04-28 Brother Kogyo Kabushiki Kaisha Peripheral device
JP5104143B2 (en) * 2007-09-12 2012-12-19 セイコーエプソン株式会社 Information processing device
JP5002719B1 (en) 2011-03-10 2012-08-15 株式会社東芝 Information processing device, external storage device, host device, relay device, control program, and information processing device control method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03214225A (en) * 1990-01-19 1991-09-19 Tokico Ltd Magnetic disk device
JPH03280147A (en) * 1990-03-29 1991-12-11 Yokogawa Electric Corp Device configuration method for ews
JPH04123361A (en) * 1990-09-14 1992-04-23 Matsushita Electric Ind Co Ltd Auto-changer type optical disk extending device
JPH04298856A (en) * 1991-02-27 1992-10-22 Mitsubishi Electric Corp Recording and reproducing device
JP2868141B2 (en) * 1992-03-16 1999-03-10 株式会社日立製作所 Disk array device

Also Published As

Publication number Publication date
JPH08202502A (en) 1996-08-09

Similar Documents

Publication Publication Date Title
US6223302B1 (en) Information recording/reproducing unit and information recording/reproducing data
KR100761473B1 (en) File management system for portable device and a mathod of the same
JP3131777B2 (en) Method and apparatus for initializing re-recordable recording medium
KR20070044459A (en) Device for and method of recording information on a record carrier
JP3279854B2 (en) Recording and playback device
KR100391740B1 (en) A management method for reproducing error and a disk drive making use of the management method
US6064635A (en) Changeable storage device of plural optical recording media of same physical form and different logical formats
JP3132677B2 (en) Information recording and playback method
JPS5851366A (en) Control system for floppy disk device
JPH07111035A (en) Device for recording/reproducing information
US20010011316A1 (en) Disk storage apparatus and system utilizing recording mediums of different types
US20070070857A1 (en) Method and apparatus for accessing an optical storage medium
JP3128102B2 (en) Information recording / reproducing method
JP3794322B2 (en) Data copy system
JP3416557B2 (en) Still image system
JP3275492B2 (en) Linked disk unit
JPH0895896A (en) High-order connecting controller for information recording and reproducing device
JP4015544B2 (en) Information processing device
JPS6211928A (en) Storage control system for optical disk
US8665680B2 (en) Recording/reproducing apparatus
JPS6313188A (en) Disk file device
KR100806848B1 (en) Device and a method displaying file routine, and portable device and a method using the same
JPH0895718A (en) Magnetooptic disk drive system
JPH09198656A (en) Optical disk recording device
JP2003223759A (en) Program and recording medium

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees