Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5117366B2 - Program supply device, program supply method, and optical drive including the program supply device - Google Patents
[go: Go Back, main page]

JP5117366B2 - Program supply device, program supply method, and optical drive including the program supply device - Google Patents

Program supply device, program supply method, and optical drive including the program supply device Download PDF

Info

Publication number
JP5117366B2
JP5117366B2 JP2008316654A JP2008316654A JP5117366B2 JP 5117366 B2 JP5117366 B2 JP 5117366B2 JP 2008316654 A JP2008316654 A JP 2008316654A JP 2008316654 A JP2008316654 A JP 2008316654A JP 5117366 B2 JP5117366 B2 JP 5117366B2
Authority
JP
Japan
Prior art keywords
program
optical drive
recording medium
recording capacity
host
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
JP2008316654A
Other languages
Japanese (ja)
Other versions
JP2010140299A (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.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP2008316654A priority Critical patent/JP5117366B2/en
Publication of JP2010140299A publication Critical patent/JP2010140299A/en
Application granted granted Critical
Publication of JP5117366B2 publication Critical patent/JP5117366B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Description

本発明は、ホストコンピュータと光学ドライブとを仲立ちし、ブート時にホストコンピューターに対して所定のプログラムに基づいた処理を実行させるプログラム供給装置、および当該プログラム供給装置を備えた光学ドライブに関する。   The present invention relates to a program supply apparatus that mediates between a host computer and an optical drive and causes a host computer to execute processing based on a predetermined program at the time of booting, and an optical drive including the program supply apparatus.

近年、光ディスクの記録容量の大容量化が進むと共に、コンピュータのオペレーティングシステム(OS:Operating System)環境を異なるコンピュータ間で共有するために、光学ドライブを用いてOSを起動させる機会も多くなっている。   In recent years, as the recording capacity of optical discs has increased, there are also many opportunities to start up the OS using an optical drive in order to share the operating system (OS) environment of computers between different computers. .

しかし、記録媒体として光ディスクを用いる光学ドライブと、記録媒体として磁気ディスクを用いるハードディスクドライブとでは異なる点も多く、光学ドライブを用いたOS起動処理にはいくつかの問題点が存在する。   However, there are many differences between an optical drive that uses an optical disk as a recording medium and a hard disk drive that uses a magnetic disk as a recording medium, and there are some problems with OS startup processing using an optical drive.

このような問題点のうちのいくつかを解決するための技術として、例えば、特許文献1〜3が知られている。   For example, Patent Documents 1 to 3 are known as techniques for solving some of these problems.

特許文献1に記載の技術は、光ディスク装置を計算機に接続するために新たなハードウェアまたはソフトウェアが必要となる問題点を始めとして、ハードディスク装置と比して光ディスク装置のスループットが低いという問題点、およびハードディスク装置と比して光ディスク装置のライト動作時における処理速度が著しく低下する問題点を解決する技術である。また、特許文献2に記載の技術は、光ディスクドライブをあたかもハードディスクドライブに見せかけるためエミュレーションの形態を、ホストコンピュータのOSで準備されているハードディスク用の入出力処理に合わせて固定せず、エミュレーション機能の自由度を向上する技術である。
特開平5−19975号公報(平成5年1月29日公開) 特開平8−328761号公報(平成8年12月13日公開)
The technique described in Patent Document 1 has a problem that the throughput of the optical disk device is lower than that of a hard disk device, including the problem that new hardware or software is required to connect the optical disk device to a computer. This is a technique for solving the problem that the processing speed during the write operation of the optical disk apparatus is significantly reduced as compared with the hard disk apparatus. In addition, the technique described in Patent Document 2 does not fix the emulation mode in accordance with the hard disk input / output processing prepared by the host computer OS in order to make the optical disk drive look like a hard disk drive. It is a technology that improves the degree of freedom.
Japanese Patent Laid-Open No. 5-19975 (released on January 29, 1993) Japanese Patent Laid-Open No. 8-328761 (published on December 13, 1996)

しかし、OSを光学ドライブを用いて起動させるためには、特許文献1および2において解決した問題以外にも問題点が存在する。以下に、特許文献1および2に記載の技術を用いても解決することができない問題点について説明する。   However, there are problems other than the problems solved in Patent Documents 1 and 2 for starting up the OS using an optical drive. Below, the problem which cannot be solved even if it uses the technique of patent document 1 and 2 is demonstrated.

OSを起動する際、すなわちホストコンピュータ(以下、単にホストPCと称する)の電源をオンにした際、ホストPCは、まず自身に接続されている各デバイスの初期化を実行する。通常、OSはハードディスクドライブに記録されているため、ホストPCは、ATAを介して、ハードディスクドライブに対して自身の記録容量情報などを含む固有情報を問い合わせるコマンド(IDENTIFY DEVICEコマンド)を送信する。そして、送信したIDENTIFY DEVICEコマンドに対するハードディスクドライブからの応答を受けて、初期化を実行する。ハードディスクドライブの初期化が完了すると、ホストPCは、そのハードディスクドライブから読み出したMBR(Mater Boot Record)に収められているプログラム(ブートストラップローダー)を実行することにより、記録メディアからOSをロードする。   When the OS is started, that is, when a host computer (hereinafter simply referred to as a host PC) is turned on, the host PC first initializes each device connected to itself. Since the OS is normally recorded in the hard disk drive, the host PC sends a command (IDENTIFY DEVICE command) for inquiring specific information including its own recording capacity information to the hard disk drive via the ATA. Then, initialization is executed in response to a response from the hard disk drive to the transmitted IDENTIFY DEVICE command. When the initialization of the hard disk drive is completed, the host PC loads the OS from the recording medium by executing a program (bootstrap loader) stored in an MBR (Mater Boot Record) read from the hard disk drive.

このとき、ハードディスクドライブは、ホストPCから送信されるIDENTIFY DEVICEコマンドに対する応答を数秒以内(一般的には1〜2秒以内)に通知する(送信する)必要がある。通常、円盤状の記録メディアでは、記録メディアの回転が安定した後にしか情報を読み出すことができない。しかし、ハードディスクドライブでは、搭載されている記録メディアの取り出しが不可能であるため、自身の記録容量情報として予め定められている固定値を用いてIDENTIFY DEVICEコマンドに応答することにより、この問題をクリアしている。   At this time, the hard disk drive needs to notify (transmit) a response to the IDENTIFY DEVICE command transmitted from the host PC within a few seconds (generally within 1 to 2 seconds). Usually, in a disk-shaped recording medium, information can be read only after the rotation of the recording medium is stabilized. However, since it is impossible to take out the installed recording media in the hard disk drive, this problem is cleared by responding to the IDENTIFY DEVICE command using a fixed value that is predetermined as its recording capacity information. is doing.

しかし、光学ドライブでは、ハードディスクドライブと異なり、搭載されている記録メディア(すなわち、光ディスク)を取り替える(取り出す)ことが可能である。そのため、搭載されている光ディスクの記録容量情報(以下、メディア情報とも称する)を毎回確認する必要があり、ハードディスクドライブのように、予め定められた固定値を用いて応答することができない。すなわち、光学ドライブの場合は、光ディスクの回転が安定するまで、搭載されている光ディスクのメディア情報を取得することができない。   However, in the optical drive, unlike the hard disk drive, it is possible to replace (take out) the mounted recording medium (that is, the optical disk). Therefore, it is necessary to check the recording capacity information (hereinafter also referred to as media information) of the mounted optical disk, and it is impossible to respond using a predetermined fixed value as in a hard disk drive. That is, in the case of an optical drive, the media information of the mounted optical disk cannot be acquired until the rotation of the optical disk is stabilized.

このように、光学ドライブの場合は、所定の時間内にIDENTIFY DEVICEコマンドに対する応答ができないため、ホストPCでは、デバイスの認識エラーとして処理される。すなわち、ホストPCにおいて不良デバイスとして判定されてしまうことになる。当然のことながら、光学ドライブを用いたOS起動処理は、この時点で中止されてしまう。   As described above, in the case of an optical drive, since a response to the IDENTIFY DEVICE command cannot be made within a predetermined time, it is processed as a device recognition error in the host PC. That is, it is determined as a defective device in the host PC. As a matter of course, the OS startup process using the optical drive is stopped at this point.

以上説明したように、光学ドライブでは、ハードディスクドライブと異なり、電源がオンになってから数秒以内に搭載されている光ディスクのメディア情報をホストPCに対して通知することができないという問題を有している。   As described above, unlike the hard disk drive, the optical drive has a problem in that it cannot notify the host PC of the media information of the optical disk mounted within several seconds after the power is turned on. Yes.

本発明は、上記の問題点に鑑みてなされたものであり、その目的は、ブートデバイスの初期化の際に生じる光学ドライブの認識エラーを回避しつつ、ホストPCに対して所定のプログラムを供給するプログラム供給装置を実現することにある。   The present invention has been made in view of the above problems, and an object thereof is to supply a predetermined program to a host PC while avoiding an optical drive recognition error that occurs at the time of initialization of a boot device. The present invention is to realize a program supply apparatus.

本発明に係るプログラム供給装置は、上記課題を解決するために、
光学ドライブからオペレーティングシステムをロードするホストコンピュータに対して所定のプログラムを供給するプログラム供給装置であって、オペレーティングシステムをロードするためのプログラムを有する記録メディアを搭載するデバイスの持つ固有情報を問い合わせる第1のコマンドを上記ホストコンピュータから受信したとき、当該記録メディアの記録容量を所定のダミー値とした仮想固有情報を出力する固有情報出力手段と、上記プログラムを格納するセクタを読み出す第2のコマンドを、上記ホストコンピュータから受信したとき、所定のダミープログラムを出力するプログラム出力手段と、を備えていることを特徴としている。
In order to solve the above problems, a program supply apparatus according to the present invention provides:
A program supply apparatus that supplies a predetermined program to a host computer that loads an operating system from an optical drive, and that inquires about unique information of a device having a recording medium having a program for loading the operating system. When the above command is received from the host computer, unique information output means for outputting virtual unique information with the recording capacity of the recording medium as a predetermined dummy value, and a second command for reading the sector storing the program, And a program output means for outputting a predetermined dummy program when received from the host computer.

本発明に係るプログラム供給装置は、OSをロードするためのプログラムを有する記録メディアを搭載するデバイスの持つ固有情報を問い合わせる第1のコマンドに対して、記録メディアの記録容量を所定のダミー値とした仮想固有情報を出力し、仮想固有情報を持つデバイスに搭載されている仮想記録メディアからOSをロードするためのプログラムを格納しているセクタ(以下、ブートセクタとも称する)を読み出す第2のコマンドに対して、所定のダミープログラムを供給する。   The program supply apparatus according to the present invention sets the recording capacity of the recording medium to a predetermined dummy value in response to the first command inquiring about the unique information of the device having the recording medium having the program for loading the OS. A second command that outputs virtual unique information and reads a sector (hereinafter also referred to as a boot sector) that stores a program for loading an OS from a virtual recording medium mounted on a device having virtual unique information. On the other hand, a predetermined dummy program is supplied.

本発明に係るプログラム供給装置では、ホストPCから送信される第1のコマンドを受信したときに、記録メディアの記録容量を所定のダミー値として応答するため、第1のコマンドに対する応答を所定の時間内に返すことができる。   In the program supply apparatus according to the present invention, when the first command transmitted from the host PC is received, the recording capacity of the recording medium is responded as a predetermined dummy value. Can be returned within.

また、本発明に係るプログラム供給装置では、仮想固有情報を持つデバイスの搭載する仮想記録メディアからの情報読み出し要求のコマンド(第2のコマンド)を受信したとき、所定のダミープログラムを出力するため、仮想固有情報を持つデバイスであっても、情報の読み出しの際に問題が生じることを避けることができる。また、第2のコマンドに対して出力されるダミープログラムに応じた処理をホストPCに実行させることができる。   Further, in the program supply apparatus according to the present invention, when a command (second command) for reading information from a virtual recording medium mounted on a device having virtual unique information is received, a predetermined dummy program is output. Even a device having virtual unique information can avoid problems when reading information. In addition, it is possible to cause the host PC to execute processing corresponding to the dummy program output for the second command.

したがって、本発明に係るプログラム供給装置は、ホストPCに接続されているデバイスを初期化する際に生じる光学ドライブの認識エラーを回避しつつ、ホストPCに対して所定のプログラムを供給することができる効果を奏する。   Therefore, the program supply apparatus according to the present invention can supply a predetermined program to the host PC while avoiding an optical drive recognition error that occurs when a device connected to the host PC is initialized. There is an effect.

本発明に係るプログラム供給装置では、さらに、上記プログラム出力手段から出力されるダミープログラムは、上記光学ドライブから、当該光学ドライブに搭載されている記録メディアの記録容量情報の取得処理が完了したか否かを、当該プログラム供給装置に対して一定時間毎に問い合わせるように上記ホストコンピュータを制御するプログラムであることが好ましい。   In the program supply device according to the present invention, the dummy program output from the program output means may be determined whether or not the acquisition process of the recording capacity information of the recording medium mounted on the optical drive is completed from the optical drive. It is preferable that the program controls the host computer so as to inquire the program supply apparatus at regular intervals.

上記の構成によれば、光学ドライブに搭載されている記録メディアの記録容量情報を取得するための時間(Wait時間)を作り出すことができる効果を奏する。   According to said structure, there exists an effect which can produce the time (Wait time) for acquiring the recording capacity information of the recording medium mounted in the optical drive.

本発明に係るプログラム供給装置では、さらに、上記光学ドライブから、当該光学ドライブの搭載する記録メディアの記録容量情報を取得する取得手段と、上記取得手段における記録容量情報の取得処理の完了を上記ホストコンピュータに対して通知する通知手段と、をさらに備えており、上記固有情報出力手段は、上記通知手段からの通知を受けてリセットされた上記ホストコンピュータから上記第1のコマンドを受信したとき、上記記録メディアの記録容量を上記取得手段において取得した記録容量情報とした固有情報を出力することが好ましい。   In the program supply device according to the present invention, an acquisition unit that acquires recording capacity information of a recording medium mounted on the optical drive from the optical drive, and completion of the acquisition process of the recording capacity information in the acquisition unit is performed on the host. Notification means for notifying the computer, and the specific information output means receives the first command from the host computer that has been reset in response to the notification from the notification means. It is preferable to output unique information in which the recording capacity of the recording medium is the recording capacity information acquired by the acquisition means.

上記の構成によれば、ホストPCは、光学ドライブに搭載されている記録メディアの記録容量情報を取得したことを示す通知の受信をトリガとして、仮想的な固有情報を持つデバイスに関する情報をリセットする。すなわち、ダミーデバイスに関する情報をリセットする。これによって、ホストPCでは、接続されているデバイスの初期化処理が再度実行されることになる。   According to the above configuration, the host PC resets information related to a device having virtual unique information, triggered by reception of a notification indicating that the recording capacity information of the recording medium mounted on the optical drive has been acquired. . That is, the information regarding the dummy device is reset. As a result, in the host PC, the initialization process of the connected device is executed again.

このとき、ホストPCから受信する第1のコマンドに対して、光学ドライブに搭載されている記録メディアの記録容量情報を用いて応答することができる。すなわち、ホストPCは、光学ドライブの搭載する記録メディアの記録容量を有するデバイスを認識することができる。   At this time, it is possible to respond to the first command received from the host PC using the recording capacity information of the recording medium installed in the optical drive. That is, the host PC can recognize a device having a recording capacity of a recording medium mounted on the optical drive.

これによって、上記の構成を用いて光学ドライブに搭載されてい記録メディア(すなわち、光ディスク)からOSを起動させる場合には、ブートセクタ上の情報を書き換えるなどの特別な操作を必要とすることなく、光ディスクからOSを起動させることができる。そのため、コンピュータの操作に不慣れなユーザーであっても、容易に光ディスクからのOSの起動を実行することができる効果を奏する。   As a result, when the OS is started up from a recording medium (that is, an optical disk) mounted on the optical drive using the above configuration, a special operation such as rewriting information on the boot sector is not required. The OS can be started from the optical disk. Therefore, even if it is a user unfamiliar with computer operation, there exists an effect that starting of OS from an optical disk can be performed easily.

本発明に係るプログラム供給装置では、さらに、上記取得手段において取得した記録容量情報を記憶する記憶部をさらに備えており、上記固有情報出力手段は、上記記憶部に上記取得手段において取得した記録容量情報が記憶されている場合には、当該記録容量情報を用いた固有情報を出力し、上記記憶部に上記取得手段において取得した記録容量情報が記憶されていない場合には、所定のダミー値を用いた仮想的な固有情報を出力することが好ましい。   The program supply apparatus according to the present invention further includes a storage unit that stores the recording capacity information acquired by the acquisition unit, and the unique information output unit stores the recording capacity acquired by the acquisition unit in the storage unit. When the information is stored, the unique information using the recording capacity information is output. When the recording capacity information acquired by the acquiring unit is not stored in the storage unit, a predetermined dummy value is set. It is preferable to output the virtual unique information used.

上記の構成によれば、取得した記録メディアの記録容量情報を、記憶部に記憶させておくことができる。そのため、記録メディアの記録容量情報が記憶部に記憶されている場合、ホストPCからの第1のコマンドに対して、記憶部に記憶されている記録容量情報を用いて応答することができる。   According to said structure, the recording capacity information of the acquired recording medium can be memorize | stored in a memory | storage part. Therefore, when the recording capacity information of the recording medium is stored in the storage unit, it is possible to respond to the first command from the host PC using the recording capacity information stored in the storage unit.

これによって、例えば、光ディスクからOSを起動させる場合、所定時間内にホストPCからの第1のコマンドに応答することができるため、ホストPCにおいてダミープログラムを処理させる間に、光ディスクの記録容量情報を取得する処理をスキップすることができる。すなわち、OSのロードに要する時間を短縮することができる効果を奏する。   Thus, for example, when the OS is started from the optical disk, it is possible to respond to the first command from the host PC within a predetermined time, so that the recording capacity information of the optical disk is obtained while the host PC is processing the dummy program. The acquisition process can be skipped. That is, there is an effect that the time required for loading the OS can be shortened.

本発明に係るプログラム供給装置では、さらに、上記プログラム出力手段において出力される所定のプログラムは、上記光学ドライブの診断プログラムであることが好ましい。   In the program supply apparatus according to the present invention, it is preferable that the predetermined program output from the program output means is a diagnostic program for the optical drive.

上記の構成によれば、ホストPCに対して、光ディスクドライブの自己診断処理を実行させることができる効果を奏する。   According to said structure, there exists an effect which can perform the self-diagnosis process of an optical disk drive with respect to host PC.

本発明に係るプログラム供給装置では、さらに、上記プログラム出力手段において出力する所定のプログラムを切り替えるためのスイッチをさらに備えていることが好ましい。   The program supply apparatus according to the present invention preferably further includes a switch for switching a predetermined program output by the program output means.

上記の構成によれば、スイッチに応じてプログラム出力手段から出力する所定のプログラムを適宜変更することができる。これによって、ブート時においてホストPCに対して様々な種類のプログラムに応じた処理を実行させることができる効果を奏する。   According to said structure, the predetermined program output from a program output means can be suitably changed according to a switch. As a result, the host PC can be made to execute processing according to various types of programs at the time of booting.

本発明に係るプログラム供給装置を備えた光学ドライブも本発明の範疇に含まれる。   An optical drive provided with the program supply device according to the present invention is also included in the scope of the present invention.

本発明に係る光学ドライブでは、さらに、搭載されている記録メディアが取り出されたことを検知すると共に、記録メディアが取り出されたことを検知した時点で、記録メディアの記録容量情報を記憶する記憶部から、取り出された記録メディアの記録容量情報を消去する検知手段をさらに備えていることが好ましい。   In the optical drive according to the present invention, the storage unit that detects that the mounted recording medium is removed and stores the recording capacity information of the recording medium at the time that the recording medium is detected is detected. From the above, it is preferable to further include detection means for erasing the recording capacity information of the removed recording medium.

上記の構成によれば、光学ドライブに搭載されている記録メディアが取り出された場合には、取り出された記録メディアの記録容量情報を消去する。   According to the above configuration, when the recording medium mounted on the optical drive is removed, the recording capacity information of the removed recording medium is erased.

これによって、誤った記録メディアの記録容量情報をホストPCに対して送信してしまうことを防止することができる効果を奏する。   As a result, it is possible to prevent the recording capacity information of the wrong recording medium from being transmitted to the host PC.

本発明に係るプログラム供給装置におけるプログラム供給方法は、上記課題を解決するために、
光学ドライブからオペレーティングシステムをロードするホストコンピュータに対して所定のプログラムを供給するプログラム供給装置におけるプログラム供給方法であって、記録メディアを搭載するデバイスの持つ固有情報を問い合わせる第1のコマンドを上記ホストコンピュータから受信したとき、当該記録メディアの記録容量を所定のダミー値とした仮想固有情報を出力する固有情報出力ステップと、上記仮想固有情報を持つデバイスの搭載する仮想記録メディアにおいてオペレーティングシステムをロードするための情報を格納するセクタを読み出す第2のコマンドを上記ホストコンピュータから受信したとき、所定のダミープログラムを出力するプログラム出力ステップと、を含むことを特徴としている。
In order to solve the above problems, a program supply method in a program supply apparatus according to the present invention is as follows.
A program supply method in a program supply apparatus for supplying a predetermined program to a host computer that loads an operating system from an optical drive, wherein a first command for inquiring specific information of a device on which a recording medium is installed A unique information output step of outputting virtual unique information with the recording capacity of the recording medium as a predetermined dummy value when loaded from the recording medium, and for loading an operating system on the virtual recording medium mounted on the device having the virtual unique information And a program output step of outputting a predetermined dummy program when a second command for reading the sector storing the information is received from the host computer.

上記の構成によれば、本発明に係るプログラム供給装置と同様の作用効果を奏する。   According to said structure, there exists an effect similar to the program supply apparatus which concerns on this invention.

また、本発明に係るプログラム供給装置を動作させるためのプログラムであって、コンピュータを上記の各手段として駆動させることを特徴とするプログラムおよび該プログラムを記録したコンピュータ読み取り可能な記録媒体も本発明の範疇に含まれる。   Further, a program for operating the program supply apparatus according to the present invention, which is characterized in that the computer is driven as each of the above-described means and a computer-readable recording medium on which the program is recorded. Included in the category.

本発明に係るプログラム供給装置は、以上のように、オペレーティングシステムをロードするためのプログラムを有する記録メディアを搭載するデバイスの持つ固有情報を問い合わせる第1のコマンドに対して、記録メディアの記録容量を所定のダミー値とした仮想固有情報を出力する固有情報出力手段と、オペレーティングシステムをロードするためのプログラムを格納するセクタを読み出す第2のコマンドに対して、所定のダミープログラムを供給する。   As described above, the program supply apparatus according to the present invention sets the recording capacity of the recording medium in response to the first command for inquiring the unique information of the device equipped with the recording medium having the program for loading the operating system. A predetermined dummy program is supplied to specific information output means for outputting virtual specific information having a predetermined dummy value and a second command for reading a sector storing a program for loading an operating system.

これによって、本発明に係るプログラム供給装置は、デバイスを初期化する際に生じる光学ドライブの認識エラーを回避しつつ、ホストPCに対して所定のプログラムに基づいた処理を実行させることができる効果を奏する。   Thus, the program supply apparatus according to the present invention can cause the host PC to execute processing based on a predetermined program while avoiding an optical drive recognition error that occurs when the device is initialized. Play.

本発明に係るプログラム供給装置を備えた光学ドライブの一実施形態について、図1〜3を参照しつつ以下に説明する。   An embodiment of an optical drive provided with a program supply device according to the present invention will be described below with reference to FIGS.

(光学ドライブ装置100の構成)
本発明に係るプログラム供給装置を備えた光学ドライブの構成について、図1を参照しつつ以下に説明する。図1は、ブート制御部120(プログラム供給装置)を備えた光学ドライブ装置100の要部構成を示すブロック図である。
(Configuration of Optical Drive Device 100)
The configuration of the optical drive provided with the program supply device according to the present invention will be described below with reference to FIG. FIG. 1 is a block diagram illustrating a main configuration of an optical drive device 100 including a boot control unit 120 (program supply device).

光学ドライブ装置100は、図1に示すように、インターフェース110、ブート制御部120、ディスク取出検知部130、ATA/ATAPI変換部140、および光学ドライブ部150を備えている。これらの部材について、以下に説明する。   As shown in FIG. 1, the optical drive device 100 includes an interface 110, a boot control unit 120, a disk ejection detection unit 130, an ATA / ATAPI conversion unit 140, and an optical drive unit 150. These members will be described below.

なお、図1に示すホストコンピュータ200(以下、ホストPC200と称する)および光学ドライブ150に搭載されている光ディスク151は、光学ドライブ装置100を構成する部材ではないが、本発明の理解を容易にするために、便宜上図1に示している。   The optical disk 151 mounted on the host computer 200 (hereinafter referred to as the host PC 200) and the optical drive 150 shown in FIG. 1 is not a member constituting the optical drive device 100, but facilitates understanding of the present invention. Therefore, it is shown in FIG. 1 for convenience.

(インターフェース110)
インターフェース110は、ホストPC200と光学ドライブ装置100との間で情報の送受信を行うものである。インターフェース110から伸びるバス(データライン)は、ブート制御部120を介して、またはブート制御部120からATA/ATAPI変換部140を介して、光学ドライブ部150に接続されている。
(Interface 110)
The interface 110 transmits and receives information between the host PC 200 and the optical drive device 100. A bus (data line) extending from the interface 110 is connected to the optical drive unit 150 via the boot control unit 120 or from the boot control unit 120 via the ATA / ATAPI conversion unit 140.

インターフェース110の規格としては、例えば、ATA(AT attachment)を挙げることができる。なお、ATAは、転送方式がシリアルのATAであるSATA(Serial AT attachment)を用いてもよいし、転送方式がパラレルのATAを用いてもよい。   Examples of the standard of the interface 110 include ATA (AT attachment). Note that the ATA may use SATA (Serial AT attachment), which is a serial ATA transfer method, or may use ATA, which is a parallel transfer method.

(ブート制御部120)
ブート制御部120は、OS起動前において、すなわちブート時におけるホストPC200からの光学ドライブ部150におけるデータの読み出しを仲立ちする。ブート制御部120は、図1に示すように、制御部121、応答部122、プログラム出力部123、プログラム格納部124、メディア情報取得部125、通知部126、記憶部127およびスイッチ128を備えている。ブート制御部120に備えられているこれらの各部材について、以下に説明する。
(Boot control unit 120)
The boot control unit 120 mediates reading of data in the optical drive unit 150 from the host PC 200 before the OS is started, that is, at the time of booting. As shown in FIG. 1, the boot control unit 120 includes a control unit 121, a response unit 122, a program output unit 123, a program storage unit 124, a media information acquisition unit 125, a notification unit 126, a storage unit 127, and a switch 128. Yes. Each of these members provided in the boot control unit 120 will be described below.

(制御部121)
制御部121は、ブート制御部120における処理全般を制御する。すなわち、OS起動前においてホストPC200からインターフェース110を介して光学ドライブ装置100に入力される各種コマンドは、まず制御部121に入力されることになる。制御部121では、入力された各種コマンドに応じて、それぞれの部材に処理を割り振る。
(Control unit 121)
The control unit 121 controls the overall processing in the boot control unit 120. That is, various commands input from the host PC 200 to the optical drive device 100 via the interface 110 before the OS is started are first input to the control unit 121. The control unit 121 allocates processing to each member in accordance with various input commands.

(応答部122)
応答部122は、ホストPC200からのハードディスクの有する固有情報を問い合わせるコマンド(以下、IDENTIFY DEVICEコマンドと称する)を受けたとき、搭載されている記録メディアの記録容量情報の値に記憶部127に記憶されている値を用いて応答する。
(Response unit 122)
When the response unit 122 receives a command (hereinafter, referred to as an IDENTIFY DEVICE command) for inquiring specific information of the hard disk from the host PC 200, the response unit 122 stores the value of the recording capacity information of the mounted recording medium in the storage unit 127. Respond with the value that is present.

応答部122は、ホストPC200からのIDENTIFY DEVICEコマンドに対して、記憶部127に光ディスク151の記録容量情報の真値が記録されている場合には真値を用いて応答し、記録されていない場合には、予め記録されているダミー値を用いて応答する。   In response to the IDENTIFY DEVICE command from the host PC 200, the response unit 122 responds using the true value when the storage unit 127 records the true value of the recording capacity information of the optical disc 151, and is not recorded. Is responded using a dummy value recorded in advance.

(プログラム出力部123、プログラム格納部124)
プログラム出力部123は、応答部122から出力される値に従って認識される記録メディアに対するホストPC200からのプログラム読み出し要求に対して、プログラム格納部124に格納されているプログラムを出力する。
(Program output unit 123, program storage unit 124)
The program output unit 123 outputs a program stored in the program storage unit 124 in response to a program read request from the host PC 200 for a recording medium recognized according to the value output from the response unit 122.

プログラム格納部124は、プログラム出力部123において出力するプログラムを格納しているメモリである。プログラム格納部124に複数のプログラムが格納されている場合、出力されるプログラムはブート制御部120に備えられているスイッチ128に応じて決定される。   The program storage unit 124 is a memory that stores a program output from the program output unit 123. When a plurality of programs are stored in the program storage unit 124, the output program is determined according to the switch 128 provided in the boot control unit 120.

(メディア情報取得部125)
メディア情報取得部125は、光学ドライブ部150に搭載されている光ディスク151から、光ディスク151の記録容量の値を含むメディア情報を取得する。
(Media information acquisition unit 125)
The media information acquisition unit 125 acquires media information including the value of the recording capacity of the optical disc 151 from the optical disc 151 mounted on the optical drive unit 150.

(通知部126)
通知部126は、メディア情報取得部125におけるメディア情報の読み出し処理が完了したことを示す完了情報を、インターフェース110を介してホストPC200に出力する。
(Notification unit 126)
The notification unit 126 outputs completion information indicating that the media information reading process in the media information acquisition unit 125 is completed to the host PC 200 via the interface 110.

(記憶部127)
記憶部127は、光学ドライブ部150に搭載されている光ディスク151の記録容量の値を記憶するメモリである。記憶部127は、2つの記憶領域に仮想的に区切られており、一方の記憶領域には、ダミー値を記憶しており、もう一方の記憶領域には、真値を記憶するように構成されていればよい。このとき、ダミー値の記憶されている記憶領域は、データの書き換えが不可能に設定されており、真値の記憶されている記憶領域は、データの書き換えが可能に設定されていることが好ましい。
(Storage unit 127)
The storage unit 127 is a memory that stores the value of the recording capacity of the optical disk 151 mounted on the optical drive unit 150. The storage unit 127 is virtually divided into two storage areas. One storage area stores a dummy value, and the other storage area stores a true value. It only has to be. At this time, it is preferable that the storage area in which the dummy value is stored is set so that data cannot be rewritten, and the storage area in which the true value is stored is set so that data can be rewritten. .

なお、本実施形態では、1つの記憶部にダミー値および真値を記憶する場合を例に挙げて説明しているが、これに限定されるものではなく、ダミー値を記憶する記憶部と真値を記憶する記憶部とをそれぞれ備えていてもよい。この場合、真値を記憶する記憶部は、揮発性メモリであってもよい。   In this embodiment, the case where the dummy value and the true value are stored in one storage unit is described as an example. However, the present embodiment is not limited to this, and the storage unit storing the dummy value and the true value are not limited thereto. And a storage unit for storing values. In this case, the storage unit that stores the true value may be a volatile memory.

(スイッチ128)
スイッチ128は、プログラム出力部123から出力するプログラムを決定するためのものである。すなわち、スイッチ128を適宜切り替えることにより、プログラム格納部124から読み出すプログラムは適宜変更される。スイッチ128は、ホストPC200において実行するモードを切り替えるスイッチと言い換えることもできる。
(Switch 128)
The switch 128 is for determining a program to be output from the program output unit 123. That is, the program read from the program storage unit 124 is appropriately changed by appropriately switching the switch 128. The switch 128 can be rephrased as a switch for switching a mode executed in the host PC 200.

なお、図1ではスイッチ128がブート制御部120に備えられている場合を例示しているが、これに限定されるものではなく、光学ドライブ装置100に備えられていてもよい。   Although FIG. 1 illustrates the case where the switch 128 is provided in the boot control unit 120, the present invention is not limited to this and may be provided in the optical drive device 100.

(ディスク取出検知部130)
ディスク取出検知部130は、光学ドライブ部150に搭載された光ディスクが取り出されたことを検知する。光ディスクの取り出しは、光学ドライブ部150に備えられた光ディスクを取り出すスイッチ(いわゆる、イジェクトボタン)の押下により検知される。
(Disc removal detection unit 130)
The disk removal detection unit 130 detects that the optical disk mounted on the optical drive unit 150 has been removed. The removal of the optical disk is detected by pressing a switch (a so-called eject button) for removing the optical disk provided in the optical drive unit 150.

(ATA/ATAPI変換部140)
ATA/ATAPI変換部140は、ホストPC200から出力され、インターフェース110およびブート制御部120を介して入力されるATAコマンドをATAPIコマンドに変換する。
(ATA / ATAPI converter 140)
The ATA / ATAPI conversion unit 140 converts an ATA command output from the host PC 200 and input via the interface 110 and the boot control unit 120 into an ATAPI command.

このとき、ATAコマンドにより指定される1セクタ当たりの容量と、ATAPIコマンドにより指定される1セクタ当たりの容量とは異なるため、ATA/ATAPI変換部140では、ATAPIコマンドに基づいて指定される領域から読み出した情報から、ATAコマンドにより指定される領域に対応する領域に記録されている情報を抽出する。   At this time, since the capacity per sector specified by the ATA command is different from the capacity per sector specified by the ATAPI command, the ATA / ATAPI conversion unit 140 starts from the area specified based on the ATAPI command. Information recorded in the area corresponding to the area specified by the ATA command is extracted from the read information.

(光学ドライブ部150)
光学ドライブ部150は、搭載されている光ディスク151からのデータの読み出しおよび光ディスク151へのデータの書き込みを実行する。
(Optical drive unit 150)
The optical drive unit 150 executes reading of data from the mounted optical disk 151 and writing of data to the optical disk 151.

(光学ドライブ装置100におけるプログラム実行処理)
次に、光学ドライブ装置100におけるプログラム実行処理を図2および3を参照しつつ以下に説明する。本実施形態では、光学ドライブ装置100におけるプログラム実行処理の一例として、光ディスク151からのOSの起動処理を例に挙げて説明する。したがえって、図2および3は、光学ドライブ装置100におけるOS起動処理動作を示すフローチャートである。
(Program execution processing in the optical drive device 100)
Next, program execution processing in the optical drive device 100 will be described below with reference to FIGS. In the present embodiment, as an example of a program execution process in the optical drive apparatus 100, an OS startup process from the optical disc 151 will be described as an example. Accordingly, FIGS. 2 and 3 are flowcharts showing the OS startup processing operation in the optical drive device 100. FIG.

ここで、光学ドライブ装置100における光ディスク151からのOS起動処理は、大別して、ダミー値を用いた固有情報の送信処理、真値の取得処理、および真値を用いた固有情報の送信処理の3つの処理に分類することができる。本実施形態では、OS起動処理における3つの処理それぞれについて、以下に詳細に説明する。   Here, the OS activation process from the optical disk 151 in the optical drive apparatus 100 is roughly divided into three processes: a unique information transmission process using a dummy value, a true value acquisition process, and a unique information transmission process using a true value. It can be classified into one process. In the present embodiment, each of the three processes in the OS startup process will be described in detail below.

(ダミー値を用いた固有情報の送信処理)
まず、ダミー値を用いた固有情報の送信処理について説明する。ダミー値を用いた固有情報の送信処理は、ホストPC200におけるBIOS(basic input/output system)の実行に基づいてなされる処理である。
(Transmission processing of unique information using dummy values)
First, unique information transmission processing using dummy values will be described. The unique information transmission process using the dummy value is a process performed based on execution of a basic input / output system (BIOS) in the host PC 200.

ホストPC200に備えられた電源(図示しない)をオンにすると、ホストPC200に電力が供給されると共に(ステップS1)、光学ドライブ装置100に対しても電力が供給される(ステップS2)。すなわち、ホストPC200および光学ドライブ装置100の双方の電源がオンとなる。   When a power source (not shown) provided in the host PC 200 is turned on, power is supplied to the host PC 200 (step S1) and power is also supplied to the optical drive device 100 (step S2). That is, both the host PC 200 and the optical drive device 100 are turned on.

電源がオンになると共に、ホストPC200は自装置に接続されているデバイスを初期化する。このとき、ホストPC200は、インターフェース110を介して、自装置に接続されているデバイスの持つ固有情報を問い合わせるコマンドを送信する(ステップS3)。なお、本実施形態では、光学ドライブ装置100をATAを介してホストPC200に接続しているため、ここで送信されるコマンドは、ATAコマンドにおける「IDENTIFY DEVICE」コマンドである。   As the power is turned on, the host PC 200 initializes devices connected to the host PC 200. At this time, the host PC 200 transmits a command for inquiring specific information of a device connected to the own apparatus via the interface 110 (step S3). In this embodiment, since the optical drive device 100 is connected to the host PC 200 via the ATA, the command transmitted here is an “IDENTIFY DEVICE” command in the ATA command.

ホストPC200からIDENTIFY DEVICEコマンドを受信した光学ドライブ装置100における制御部121は、応答部122に受信したIDENTIFY DEVICEコマンドに対する応答を指示する。指示を受けた応答部122は、記憶部127に光ディスク151の記録容量情報の真値が記憶されているか否かを判定する(ステップS4)。記憶部127に光ディスク151の記録容量情報の真値が記憶されている場合(ステップS4においてYes)、応答部122は、記憶部127から真値を読み出し、搭載されている記録メディアの記録容量情報として読み出した真値を用いて応答する(図3におけるステップS17)。   The control unit 121 in the optical drive device 100 that has received the IDENTIFY DEVICE command from the host PC 200 instructs the response unit 122 to respond to the received IDENTIFY DEVICE command. Upon receiving the instruction, the response unit 122 determines whether or not the true value of the recording capacity information of the optical disc 151 is stored in the storage unit 127 (step S4). When the true value of the recording capacity information of the optical disc 151 is stored in the storage unit 127 (Yes in step S4), the response unit 122 reads the true value from the storage unit 127, and the recording capacity information of the mounted recording medium As a response (step S17 in FIG. 3).

一方で、記憶部127に光ディスク151の記録容量情報の真値が記憶されていない場合(ステップS4においてNo)、応答部122は、搭載されている記録メディアの記録容量情報として記憶部127に記憶されている所定のダミー値を用いて応答する(ステップS5)。応答部122がダミー値を用いてIDENTIFY DEVICEコマンドに対して応答すると、制御部121は、メディア情報取得部125に対して光ディスク151から記録容量情報を含むメディア情報を取得するように指示する。メディア情報取得部125は、制御部121からの指示を受けて、光ディスク151からメディア情報の取得を開始する(ステップS6)。より具体的には、メディア情報取得部125は、光学ドライブ部150に対して搭載されている光ディスク151のメディア情報の読み出しを指示し、指示を受けた光学ドライブ部150が光ディスク151からメディア情報を読み出す。   On the other hand, when the true value of the recording capacity information of the optical disc 151 is not stored in the storage unit 127 (No in step S4), the response unit 122 stores the storage unit 127 as the recording capacity information of the mounted recording medium. A response is made using the predetermined dummy value (step S5). When the response unit 122 responds to the IDENTIFY DEVICE command using a dummy value, the control unit 121 instructs the media information acquisition unit 125 to acquire media information including recording capacity information from the optical disc 151. In response to the instruction from the control unit 121, the media information acquisition unit 125 starts acquiring media information from the optical disc 151 (step S6). More specifically, the media information acquisition unit 125 instructs the optical drive unit 150 to read the media information of the optical disc 151 mounted, and the optical drive unit 150 that has received the instruction receives the media information from the optical disc 151. read out.

ダミー値を受信したホストPC200は、光学ドライブ装置100のことを、ダミー値に従った記録容量を有する記録メディアを搭載しているデバイスであると認識する(ステップS7)。例えば、光学ドライブ装置100は、IDENTIFY DEVICEコマンドに対して、自身が、10GBの記録容量を有するハードディスクドライブであると応答した場合、ホストPC200は、光学ドライブ装置100に搭載されている記録メディアが10GBであり、かつ、光学ドライブ装置100がハードディスクであると認識することになる。続いて、ホストPC200は、認識したダミーデバイスからMBRを読み出すために、光学ドライブ装置100に対してMBRの読出コマンドを送信する(ステップS8)。   The host PC 200 that has received the dummy value recognizes the optical drive device 100 as a device on which a recording medium having a recording capacity according to the dummy value is mounted (step S7). For example, if the optical drive device 100 responds to the IDENTIFY DEVICE command that it is a hard disk drive having a recording capacity of 10 GB, the host PC 200 determines that the recording medium mounted on the optical drive device 100 is 10 GB. And the optical drive device 100 is recognized as a hard disk. Subsequently, the host PC 200 transmits an MBR read command to the optical drive device 100 in order to read the MBR from the recognized dummy device (step S8).

ここで、MBRとは、通常、ハードディスクドライブにおける記録メディアの0〜512バイトまでの領域に記録されている情報である。したがって、MBRを読み出すための読出コマンドは、記録メディアの0〜512バイトまでの領域に記録されている情報を読み出すためのコマンドと同義である。   Here, the MBR is information recorded in an area of 0 to 512 bytes of a recording medium in a hard disk drive. Therefore, the read command for reading the MBR is synonymous with the command for reading the information recorded in the area from 0 to 512 bytes of the recording medium.

MBRを読み出す読出コマンドを受信した光学ドライブ装置100における制御部121は、プログラム出力部123に対して所定のダミープログラムをホストPC200に対して送信するように指示する。制御部121からの指示を受けたプログラム出力部123は、プログラム格納部124からダミープログラムを読み出し(ステップS9)、読み出したダミープログラムをインターフェース110を介してホストPC200に送信する(ステップS10)。   The control unit 121 in the optical drive device 100 that has received the read command for reading the MBR instructs the program output unit 123 to transmit a predetermined dummy program to the host PC 200. In response to the instruction from the control unit 121, the program output unit 123 reads the dummy program from the program storage unit 124 (step S9), and transmits the read dummy program to the host PC 200 via the interface 110 (step S10).

ここで、光ディスク151からのOS起動処理においてプログラム格納部124から読み出されるダミープログラムは、光学ドライブ装置100に対して、一定時間毎に、光ディスク151のメディア情報の真値の取得処理が完了したか否かを問い合わせる問合せコマンドを送信するプログラムである。言い換えれば、ステップS6におけるメディア情報の取得処理の完了を問い合わせるようにホストPC200を制御するプログラムである。   Here, the dummy program read from the program storage unit 124 in the OS activation process from the optical disk 151 is completed for the optical drive device 100 to complete the process of acquiring the true value of the media information on the optical disk 151 at regular intervals. It is a program that transmits an inquiry command for inquiring whether or not. In other words, the program controls the host PC 200 to inquire about the completion of the media information acquisition process in step S6.

以上説明したステップS1からS10までが、ホストPC200におけるBIOSの実行に基づいてなされる処理であり、ダミー値を用いた固有情報の送信処理に分類される。すなわち、ダミー値を用いた固有情報の送信処理は、主として、デバイスの認識エラーを回避するために、ホストPC200に対してダミーデバイスを認識させる処理である。   Steps S1 to S10 described above are processes performed based on the execution of the BIOS in the host PC 200, and are classified into transmission processes of specific information using dummy values. That is, the unique information transmission process using the dummy value is a process for causing the host PC 200 to recognize the dummy device mainly in order to avoid a device recognition error.

(真値の取得処理)
次に、真値の取得処理について説明する。光学ドライブ装置100から送信された問合せプログラム(ダミープログラム)を受信したホストPC200は、受信した問合せプログラムを実行し、実行したプログラムに従って、一定時間毎に光学ドライブ装置100に対してメディア情報の取得処理の完了を問い合わせる問合せコマンドを送信する(ステップS11)。
(True value acquisition process)
Next, true value acquisition processing will be described. The host PC 200 that has received the inquiry program (dummy program) transmitted from the optical drive device 100 executes the received inquiry program, and obtains media information from the optical drive device 100 at regular intervals according to the executed program. An inquiry command for inquiring the completion of is transmitted (step S11).

一方で、光学ドライブ装置100は、メディア情報取得部125における光ディスク151のメディア情報の取得処理が完了したか否かを判定する(ステップS12)。メディア情報取得部125における光ディスク151のメディア情報の取得処理が完了していない場合(ステップS12においてNo)、メディア情報取得部125は、光ディスク151のメディア情報の取得処理を継続する。この場合、ホストPC200からの問合せコマンドに対しては、「False」を返す。ホストPC200は、光学ドライブ200からの応答がFalseである場合、一定時間経過後に再度問合せコマンドを送信する。   On the other hand, the optical drive device 100 determines whether the media information acquisition process of the optical disc 151 in the media information acquisition unit 125 is completed (step S12). When the media information acquisition process of the optical disc 151 in the media information acquisition unit 125 is not completed (No in step S12), the media information acquisition unit 125 continues the media information acquisition process of the optical disc 151. In this case, “False” is returned in response to the inquiry command from the host PC 200. When the response from the optical drive 200 is False, the host PC 200 transmits the inquiry command again after a predetermined time has elapsed.

メディア情報取得部125における光ディスク151のメディア情報の取得処理が完了した場合(ステップS12においてYes)、通知部126は、ホストPC200からの問合せコマンドに対して、メディア情報の取得処理が完了したことを表す完了情報(すなわち、「True」)を送信する(ステップS13)。なお、このとき、メディア情報取得部125は、光ディスク151のメディア情報に含まれる記録容量情報の真値を記憶部127に記憶する(ステップS14)。   When the media information acquisition process of the optical disc 151 in the media information acquisition unit 125 is completed (Yes in step S12), the notification unit 126 confirms that the media information acquisition process has been completed in response to the inquiry command from the host PC 200. The completion information to be represented (that is, “True”) is transmitted (step S13). At this time, the media information acquisition unit 125 stores the true value of the recording capacity information included in the media information of the optical disc 151 in the storage unit 127 (step S14).

以上説明したステップS11からS14までが、ダミープログラムの実行に基づいてなされる真値の取得処理に分類される。すなわち、真値の取得処理は、主として、光ディスク151のメディア情報の読み出し処理が完了するまでの間、ホストPC200に対して所定の処理を実行させておく処理である。   Steps S11 to S14 described above are classified into true value acquisition processing performed based on execution of the dummy program. That is, the true value acquisition process is a process for causing the host PC 200 to execute a predetermined process until the media information reading process of the optical disc 151 is completed.

(真値を用いた固有情報の送信処理)
次に、真値を用いた固有情報の送信処理について説明する。現時点において光学ドライブ装置100(ホストPC200はダミーデバイスとして認識している)の記録メディアは、ダミー値に従ったものであるため、これを真値に従って認識される記録メディアに変更しなければならない。
(Transmission processing of unique information using true value)
Next, unique information transmission processing using a true value will be described. Since the recording medium of the optical drive device 100 (recognized as a dummy device by the host PC 200) currently complies with the dummy value, it must be changed to a recording medium recognized according to the true value.

ホストPC200は、光学ドライブ装置100からの完了情報を受信すると、リセット処理を実行する(ステップS15)。続いて、ホストPC200は、ステップS3と同様に、ホストPC200に接続されている光学ドライブ装置100を初期化するために、インターフェース110を介して、IDENTIFY DEVICEコマンドを送信する(ステップS16)。   Upon receiving the completion information from the optical drive device 100, the host PC 200 executes a reset process (step S15). Subsequently, the host PC 200 transmits an IDENTIFY DEVICE command via the interface 110 in order to initialize the optical drive device 100 connected to the host PC 200, similarly to step S3 (step S16).

ホストPC200からIDENTIFY DEVICEコマンドを受信した光学ドライブ装置100における制御部121は、応答部122にIDENTIFY DEVICEコマンドに対する応答を指示する。応答部122は、搭載されている記録メディアの記録容量情報にメディア情報取得部125において取得した記録容量情報の真値(記憶部127に記憶されている真値)を用いて応答する(ステップS17)。なお、ステップS4において既に記憶部127に記録容量情報の真値が記憶されている場合には(ステップS4においてYes)、ステップS17における処理を実行する。   The control unit 121 in the optical drive device 100 that has received the IDENTIFY DEVICE command from the host PC 200 instructs the response unit 122 to respond to the IDENTIFY DEVICE command. The response unit 122 responds to the recording capacity information of the mounted recording medium using the true value of the recording capacity information acquired by the media information acquisition unit 125 (the true value stored in the storage unit 127) (step S17). ). If the true value of the recording capacity information is already stored in the storage unit 127 in step S4 (Yes in step S4), the process in step S17 is executed.

光ディスク151の記録容量情報の真値を受信したホストPC200は、受信した真値に従って記録メディアを認識する(ステップS18)。続いて、ホストPC200は、記録メディアからMBRを読み出すために、光学ドライブ装置100に対してMBRの読出コマンドを送信する(ステップS19)。   Receiving the true value of the recording capacity information of the optical disc 151, the host PC 200 recognizes the recording medium according to the received true value (step S18). Subsequently, the host PC 200 transmits an MBR read command to the optical drive device 100 in order to read the MBR from the recording medium (step S19).

このとき、光学ドライブ装置100は、自身の記録容量は真値を用いて応答するが、自身がハードディスクドライブであるとしてホストPC200に認識させる。すなわち、ホストPC200からはATAコマンドにより指示が送信され、光学ドライブ装置100は、受信したATAコマンドをATA/ATAPI変換部140においてATAPIコマンドに変換して処理することになる。また、光学ドライブ装置100は、光ディスク151の記録容量情報の真値を用いて応答しているため、ステップS9およびS10における処理のように、ダミープログラムを出力しない。すなわち、ホストPC200から送信されるMBRの読出しコマンドは、インターフェース110およびブート制御部120を経由して、ATA/ATAPI変換部140に入力される。   At this time, the optical drive device 100 responds using its true recording capacity, but makes the host PC 200 recognize that it is a hard disk drive. That is, an instruction is transmitted from the host PC 200 using an ATA command, and the optical drive apparatus 100 converts the received ATA command into an ATAPI command in the ATA / ATAPI conversion unit 140 and processes it. Further, since the optical drive device 100 responds using the true value of the recording capacity information of the optical disc 151, it does not output a dummy program as in the processes in steps S9 and S10. That is, an MBR read command transmitted from the host PC 200 is input to the ATA / ATAPI conversion unit 140 via the interface 110 and the boot control unit 120.

なお、光学ドライブ装置100は。ホストPC200においてはハードディスクドライブとして認識されているが、本実施形態では、一貫して光学ドライブ装置100と表示する。   The optical drive device 100 is. Although it is recognized as a hard disk drive in the host PC 200, in the present embodiment, it is consistently displayed as the optical drive device 100.

ATA/ATAPI変換部140は、ATAコマンドとして入力されたMBRの読み出しコマンドを、光ディスク151においてMBRに相当するセクタ(すなわち、ハードディスクドライブにおける記録メディアの0〜512バイトまでの領域に相当するセクタ;以下、ブートセクタとも称する)から情報を読み出すというATAPIコマンドに変換する。ATA/ATAPI変換部140は、ATAコマンドをATAPIコマンドに変換した後、変換したATAPIコマンドに基づいて、光学ドライブ150に対して光学ディスク151からの情報の読み出しを指示する。   The ATA / ATAPI conversion unit 140 sends the MBR read command input as the ATA command to the sector corresponding to the MBR on the optical disc 151 (that is, the sector corresponding to the area from 0 to 512 bytes of the recording medium in the hard disk drive; , Which is also referred to as a boot sector) is converted into an ATAPI command for reading information. The ATA / ATAPI conversion unit 140 converts the ATA command into the ATAPI command, and then instructs the optical drive 150 to read information from the optical disk 151 based on the converted ATAPI command.

ATA/ATAPI変換部140からの指示を受けた光学ドライブ部150は、光ディスク151からブートセクタを読み出す(ステップS20)。読み出されたブートセクタに収められている情報(すなわち、ブートセクタ上の情報)は、ブート制御部120およびインターフェース110を介して、ホストPC200に送信される(ステップS21)。このとき、ブートセクタ上の情報は、ブート制御部120を素通りして、インターフェース110からホストPC200へと送信される。   Upon receiving the instruction from the ATA / ATAPI conversion unit 140, the optical drive unit 150 reads the boot sector from the optical disc 151 (step S20). Information stored in the read boot sector (that is, information on the boot sector) is transmitted to the host PC 200 via the boot control unit 120 and the interface 110 (step S21). At this time, information on the boot sector is transmitted from the interface 110 to the host PC 200 through the boot control unit 120.

ブートセクタを読み込んだホストPC200は、ブートセクタ上の情報の1つであるブートストラップローダーを実行する(ステップS22)。そして、ホストPC200は、実行したブートストラップローダーに基づいて、光ディスク151からOSをロードする(ステップS23)。以下、ホストPC200は、従来と同様のアルゴリズムによりOSを起動するため、本実施形態ではOS起動処理におけるこれ以降の説明を省略する。   The host PC 200 that has read the boot sector executes a bootstrap loader that is one piece of information on the boot sector (step S22). Then, the host PC 200 loads the OS from the optical disk 151 based on the executed bootstrap loader (step S23). Hereinafter, since the host PC 200 boots the OS using the same algorithm as the conventional one, the following description of the OS boot process is omitted in this embodiment.

以上説明したステップS15からS23までが光学ドライブの再設定処理に分類される。なお、光学ドライブの再設定処理も、ダミー値の送信処理と同様に、ホストPC200におけるBIOSの実行に基づいてなされる処理である。   Steps S15 to S23 described above are classified as optical drive resetting processes. The optical drive resetting process is also a process performed based on the execution of the BIOS in the host PC 200, similarly to the dummy value transmission process.

なお、本明細書等における「ブートセクタ」とは、記録メディアにおいてブートプログラムなどのコードを格納する部分を指すものであり、PC/AT互換機におけるブートセクタに限定されるものではない、また、記録メディアは、磁気ディスクに限定されるものではなく、光学ディスクである場合も含む。   The “boot sector” in this specification and the like refers to a part that stores a code such as a boot program in a recording medium, and is not limited to the boot sector in a PC / AT compatible machine. The recording medium is not limited to a magnetic disk, but includes a case where it is an optical disk.

(光学ドライブ装置100の利点)
以上説明したように、光学ドライブ装置100に備えられたブート制御部120は、OSをロードするためのプログラムを有する記録メディアを搭載するデバイスの持つ固有情報を問い合わせるIDENTIFY DEVICEコマンドに対して、所定のダミー値を用いて応答し、応答の結果ホストPC200において認識されるダミーデバイス(ダミー値により認識される仮想デバイス)に搭載されている記録メディアからのOSをロードするためのプログラムを格納するブートセクタの読み出し要求に対して、所定のダミープログラムを供給する。
(Advantages of the optical drive device 100)
As described above, the boot control unit 120 provided in the optical drive device 100 performs a predetermined process in response to an IDENTIFY DEVICE command that inquires about unique information of a device having a recording medium having a program for loading the OS. A boot sector that stores a program for loading an OS from a recording medium that responds using a dummy value and is loaded in a dummy device (virtual device recognized by the dummy value) recognized by the host PC 200 as a result of the response In response to the read request, a predetermined dummy program is supplied.

光学ドライブ装置100では、ホストPC200から送信されるIDENTIFY DEVICEコマンドに対する応答を所定の時間内に返すことができる。また、光学ドライブ装置100では、応答の結果ホストPC200において認識される仮想デバイスに搭載されている記録メディアからのブートセクタの読み出し要求に対して、所定のダミープログラムを供給するため、ダミーデバイスであっても、プログラムの読み出しの際に問題が生じることを避けることができる。また、出力されるダミープログラムに応じた処理をホストPC200に実行させることができる。   In the optical drive device 100, a response to the IDENTIFY DEVICE command transmitted from the host PC 200 can be returned within a predetermined time. Further, the optical drive apparatus 100 is a dummy device in order to supply a predetermined dummy program in response to a boot sector read request from a recording medium mounted on a virtual device recognized by the host PC 200 as a result of the response. However, it is possible to avoid problems when reading the program. Further, it is possible to cause the host PC 200 to execute processing corresponding to the output dummy program.

これによって、光学ドライブ装置100は、ホストPC200に接続されているデバイスを初期化する際に生じる光学ドライブの認識エラーを回避しつつ、ホストPC200に対して所定のプログラムに基づいた処理を実行させることができる。   Thus, the optical drive apparatus 100 causes the host PC 200 to execute processing based on a predetermined program while avoiding an optical drive recognition error that occurs when a device connected to the host PC 200 is initialized. Can do.

また、ホストPC200は、光ディスク151の記録容量情報の真値を取得したことを示す通知の受信をトリガとして、ホストPC200において認識されているダミーデバイスに関する情報をリセットする。これによって、ホストPC200では、接続されているデバイスの初期化が再度実行されることになる。   Further, the host PC 200 resets information related to the dummy device recognized by the host PC 200, triggered by reception of a notification indicating that the true value of the recording capacity information of the optical disc 151 has been acquired. As a result, in the host PC 200, initialization of the connected device is executed again.

このとき、ブート制御部120は、ホストPC200からの2度目のIDENTIFY DEVICEコマンドに対して、光ディスク151の記録容量情報の真値を用いて応答することができる。すなわち、ホストPC200に対して、光学ドライブ装置100に搭載されている光ディスク151の正しい記録容量を認識させることができる。   At this time, the boot control unit 120 can respond to the second IDENTIFY DEVICE command from the host PC 200 using the true value of the recording capacity information of the optical disc 151. That is, the correct recording capacity of the optical disk 151 mounted on the optical drive device 100 can be recognized by the host PC 200.

これによって、ブートセクタ上の情報を書き換えるなどの特別な操作を必要とすることなく、光ディスク151からOSを起動させることができる。そのため、コンピュータの操作に不慣れなユーザーであっても、容易に光ディスク151からOSを起動させることができる。また、光ディスクドライブ装置100からのOSを起動に際して、ホストPC200を改造する必要もない。   As a result, the OS can be booted from the optical disk 151 without requiring a special operation such as rewriting information on the boot sector. Therefore, even a user who is unfamiliar with computer operations can easily start the OS from the optical disc 151. Further, it is not necessary to modify the host PC 200 when starting up the OS from the optical disc drive apparatus 100.

また、光学ドライブ装置100に備えられたブート制御部120の記憶部127には、取得した光ディスクの記録容量情報の真値を記憶することができる。   In addition, the storage unit 127 of the boot control unit 120 provided in the optical drive apparatus 100 can store the true value of the acquired recording capacity information of the optical disc.

これによって、記憶部127に真値が記憶されている光ディスクであれば、ダミー値を用いることなく、記憶部127に記憶されている真値を用いて、ホストPC200からのIDENTIFY DEVICEコマンドに対して応答することができる。すなわち、記憶部127に真値が記憶されている場合には、OSの起動に要する時間を短縮することができる。   Thus, if the optical value has a true value stored in the storage unit 127, the true value stored in the storage unit 127 is used in response to the IDENTIFY DEVICE command from the host PC 200 without using a dummy value. Can respond. That is, when the true value is stored in the storage unit 127, the time required for starting up the OS can be shortened.

(記憶部127における記録容量情報の消去)
記憶部127において記憶されている光ディスク151の記録容量情報の真値は、光ディスク151が光学ドライブ装置100から取り出された際に消去されることが好ましい。記憶部127に記憶されている記録容量情報の真値の消去処理について、以下に説明する。
(Erase of recording capacity information in storage unit 127)
The true value of the recording capacity information of the optical disk 151 stored in the storage unit 127 is preferably erased when the optical disk 151 is taken out from the optical drive device 100. The true value erasing process of the recording capacity information stored in the storage unit 127 will be described below.

光学ドライブ装置100に備えられた光ディスクの取り出しボタンが押下されると、ディスク取出検知部130は、光ディスク151が光学ドライブ装置100から取り出されたと判定する。ディスク取出検知部130は、光ディスク151が取り出されたことを検知すると、記憶部127に記憶されている光ディスク151の記録容量情報の値を消去する。   When an optical disk eject button provided in the optical drive device 100 is pressed, the disc eject detection unit 130 determines that the optical disc 151 is ejected from the optical drive device 100. When detecting that the optical disk 151 has been removed, the disk ejection detecting unit 130 erases the value of the recording capacity information of the optical disk 151 stored in the storage unit 127.

このように、光ディスクの取り出しを検知する毎に、記憶部127に記憶されている記録容量情報の値を消去することによって、光ディスク151とは異なる新たな光ディスクを搭載している場合に、ホストPC200から送信されるIDENTIFY DEVICEコマンドに対して、光ディスク151の記録容量情報の値を用いて応答してしまうことを防止することができる。   As described above, each time the removal of the optical disk is detected, the value of the recording capacity information stored in the storage unit 127 is deleted, so that the host PC 200 is mounted when a new optical disk different from the optical disk 151 is mounted. Can be prevented from responding to the IDENTIFY DEVICE command transmitted by using the value of the recording capacity information of the optical disk 151.

なお、光ディスクの取り出しが実行されない場合には、光ディスクの記録容量情報の値は、記憶部127に記憶され続ける。その場合には、図2および3を参照して説明したように、ダミー値を用いた応答処理をスキップすることができるため、OSの起動処理に要する時間を短縮することができる。   If the removal of the optical disk is not executed, the value of the recording capacity information of the optical disk continues to be stored in the storage unit 127. In this case, as described with reference to FIGS. 2 and 3, since the response process using the dummy value can be skipped, the time required for the OS startup process can be shortened.

また、光ディスクの取り出しの検知は、光ディスクの取り出しボタンの押下による検知に限定されるものではなく、他の手法により検知するようにしてもよい。   The detection of the removal of the optical disk is not limited to the detection by pressing the eject button of the optical disk, but may be detected by other methods.

(光ディスクが搭載されていない場合の処理)
光学ドライブ装置100に光ディスクが搭載されていない場合、当然のことながら、メディア情報取得部125は光ディスクのメディア情報を取得することができない。この場合、ステップS11における処理においてループが発生し、ホストPC200からの問合せコマンドに対して「True」を応答することができない。
(Processing when no optical disk is installed)
When no optical disk is mounted on the optical drive device 100, the media information acquisition unit 125 cannot acquire the media information of the optical disk as a matter of course. In this case, a loop occurs in the processing in step S11, and “True” cannot be responded to the inquiry command from the host PC 200.

したがって、ホストPC200は、一定時間経ってもメディア情報取得部125におけるメディア情報の取得が完了しない場合は、光学ドライブ装置100に光ディスクが搭載されていないと判定するようにすることが好ましい。すなわち、メディア情報取得に関する問合せコマンドに対する応答において「False」を返した数が所定数以上となった場合、ホストPC200は、光学ドライブ装置100に光ディスクが搭載されていないと判断する。   Therefore, it is preferable that the host PC 200 determines that no optical disc is mounted in the optical drive device 100 when the media information acquisition by the media information acquisition unit 125 is not completed even after a predetermined time. That is, when the number of “False” returned in response to the inquiry command related to media information acquisition is equal to or greater than a predetermined number, the host PC 200 determines that no optical disc is mounted on the optical drive device 100.

この場合、ホストPC200は、ユーザーに対して光学ドライブ装置100に光ディスクが搭載されていないことを通知すると共に、光ディスクの搭載を要求する。光ディスクが搭載されていない旨の通知および光ディスクの搭載の要求は、例えばホストPC200に備えられた表示モニターに文字または画像により表示するようにしてもよいし、ホストPC200に備えられたスピーカーから音声により通知するようにしてもよい。また、所定のLEDなどを点灯(または点滅)させるなどしてユーザーに通知するようにしてもよい。   In this case, the host PC 200 notifies the user that an optical disk is not mounted on the optical drive device 100 and requests the mounting of the optical disk. The notification that the optical disk is not mounted and the request for mounting the optical disk may be displayed, for example, by characters or images on a display monitor provided in the host PC 200, or by voice from a speaker provided in the host PC 200. You may make it notify. Alternatively, the user may be notified by turning on (or blinking) a predetermined LED or the like.

また、光学ドライブ装置100は、電源がオンになった時点で、光ディスクが搭載されているか否かを判定するようにしてもよい。そして、光学ドライブ装置100において光ディスクが搭載されている状態であると判定された場合に、ホストPC200からのIDENTIFY DEVICEコマンドに対して応答するようにしてもよい。   Further, the optical drive device 100 may determine whether or not an optical disk is mounted when the power is turned on. If the optical drive device 100 determines that the optical disk is mounted, the optical drive device 100 may respond to the IDENTIFY DEVICE command from the host PC 200.

なお、電源がオンになった時点で、搭載されている光ディスクにOSプログラムが格納されているか否かを判定し、格納されていない場合には、その旨ユーザーに対して通知するようにしてもよい。   When the power is turned on, it is determined whether or not the OS program is stored in the mounted optical disk. If the OS program is not stored, the user is notified accordingly. Good.

(ホストPC200において実行させるプログラムの変形例)
ホストPC200に実行させることができるダミープログラムは、上述した動作処理において例示した問合せプログラムに限定されるものではない。
(Modified example of program executed in host PC 200)
The dummy program that can be executed by the host PC 200 is not limited to the inquiry program exemplified in the above-described operation processing.

ホストPC200に実行させることができるダミープログラムの他の例としては、光ディスクドライブ装置100の診断プログラムを挙げることができる。   Another example of the dummy program that can be executed by the host PC 200 is a diagnostic program for the optical disc drive apparatus 100.

この場合、図2におけるステップS9およびS10における処理の代わりに、プログラム出力部123は、プログラム格納部124から診断プログラムを読み出し、読み出した診断プログラムをホストPC200に対して送信する。   In this case, instead of the processing in steps S9 and S10 in FIG. 2, the program output unit 123 reads the diagnostic program from the program storage unit 124 and transmits the read diagnostic program to the host PC 200.

そして、診断プログラムを受信したホストPC200は、図2におけるステップS9およびS10における処理の代わりに、受信した診断プログラムを実行し、光学ドライブ装置100の診断を開始する。この場合にはOSの起動処理は実行せず、光学ドライブ装置100の自己診断処理のみを実行することになる。   Then, the host PC 200 that has received the diagnostic program executes the received diagnostic program instead of the processing in steps S9 and S10 in FIG. 2, and starts diagnosis of the optical drive device 100. In this case, the OS startup process is not executed, and only the self-diagnosis process of the optical drive device 100 is executed.

(ホストPC200において実行させるプログラムの決定)
上述したように、プログラム格納部124に複数のプログラムが格納されている場合、プログラム格納部124からいずれのプログラムを読み出すのかは、ブート制御部120に備えられたスイッチ128により決定する。
(Determination of program to be executed in host PC 200)
As described above, when a plurality of programs are stored in the program storage unit 124, which program is read from the program storage unit 124 is determined by the switch 128 provided in the boot control unit 120.

すなわち、スイッチ128がOS起動モード側にセットされている場合には、図2におけるステップS9において説明したように、プログラム出力部123は、ダミープログラムとしてプログラム格納部124から問合せプログラムを読み出し、ホストPC200に対して送信する。一方、スイッチ128が自己診断モード側にセットされている場合には、図2におけるステップS9およびS10の代わりに、プログラム出力部123は、ダミープログラムとしてプログラム格納部124から診断プロフラムを読み出し、ホストPC200に対して送信する。   That is, when the switch 128 is set to the OS startup mode side, the program output unit 123 reads the inquiry program from the program storage unit 124 as a dummy program as described in step S9 in FIG. Send to. On the other hand, when the switch 128 is set to the self-diagnosis mode side, the program output unit 123 reads the diagnostic program from the program storage unit 124 as a dummy program instead of steps S9 and S10 in FIG. Send to.

なお、スイッチ128は、ユーザーにより適宜切り替えることができるようなものであれば、どのような形状のものであってもよい。例えば、ボタンによって各モードが切り替わるようなものであってもよい。   The switch 128 may have any shape as long as it can be appropriately switched by the user. For example, each mode may be switched by a button.

また、上記の説明では、スイッチ128がOS起動モードと自己診断モードとの2つのモードを切り替え可能な場合について説明したが、3つ以上のモードに切り替えることが可能なスイッチであってもよい。   In the above description, the case where the switch 128 can switch between two modes of the OS startup mode and the self-diagnosis mode has been described. However, the switch 128 may be a switch that can be switched to three or more modes.

(付記事項)
本実施形態では、ブート制御部120が光学ドライブ装置100に備えられている場合を例に挙げて説明したが、もちろんこれに限定されるものではない。ブート制御部120は、光学ドライブ装置100とは独立した装置であってもよい。
(Additional notes)
In the present embodiment, the case where the boot control unit 120 is provided in the optical drive device 100 has been described as an example, but the present invention is not limited to this. The boot control unit 120 may be a device independent of the optical drive device 100.

この場合、プログラム供給装置は、ホストPCと光学ドライブ装置とを仲立ちする位置に配置される。したがって、上述したダミー値の送信処理では、ホストPCとプログラム供給装置との間でのみ情報の送受信が行われる。そして、上述した真値の取得処理では、プログラム供給装置と光学ドライブ装置との間でのみ情報の送受信が行われる。最後に、上述した光学ドライブ装置の再設定処理では、ホストPCと光学ドライブ装置との間でのみ情報の送受信が行われることになる。   In this case, the program supply device is arranged at a position where the host PC and the optical drive device are intermediated. Therefore, in the dummy value transmission process described above, information is transmitted and received only between the host PC and the program supply device. In the true value acquisition process described above, information is transmitted and received only between the program supply device and the optical drive device. Finally, in the above-described optical drive device resetting process, information is transmitted and received only between the host PC and the optical drive device.

(プログラムおよび記録媒体)
最後に、ブート制御部120に含まれる制御部121、応答部122、プログラム出力部123、メディア情報取得部125、通知部126は、ハードウェアロジックによって構成すればよい。または、次のように、MPUなどのCPU(Central Processing Unit)を用いてソフトウェアによって実現してもよい。
(Program and recording medium)
Finally, the control unit 121, response unit 122, program output unit 123, media information acquisition unit 125, and notification unit 126 included in the boot control unit 120 may be configured by hardware logic. Alternatively, it may be realized by software using a CPU (Central Processing Unit) such as an MPU as follows.

すなわち、ブート制御部120に含まれる制御部121、応答部122、プログラム出力部123、メディア情報取得部125、通知部126は、各機能を実現するプログラムの命令を実行するMPUなどのCPU、このプログラムを格納したROM(Read Only Memory)、上記プログラムを実行可能な形式に展開するRAM(Random Access Memory)、および、上記プログラムおよび各種データを格納するメモリ等の記憶装置(記録媒体)を備えている。   That is, the control unit 121, the response unit 122, the program output unit 123, the media information acquisition unit 125, and the notification unit 126 included in the boot control unit 120 are a CPU such as an MPU that executes instructions of a program that realizes each function. A ROM (Read Only Memory) storing a program, a RAM (Random Access Memory) that expands the program into an executable format, and a storage device (recording medium) such as a memory storing the program and various data Yes.

そして、本発明の目的は、上記プログラムが制御部121、応答部122、プログラム出力部123、メディア情報取得部125、通知部126のプログラムメモリに固定的に担持されている場合に限らず、上記プログラムのプログラムコード(実行形式プログラム、中間コードプログラム、または、ソースプログラム)を記録した記録媒体をブート制御部120に供給し、ブート制御部120が上記記録媒体に記録されている上記プログラムコードを読み出して実行することによっても、達成可能である。   The object of the present invention is not limited to the case where the program is fixedly carried in the program memory of the control unit 121, the response unit 122, the program output unit 123, the media information acquisition unit 125, and the notification unit 126. A recording medium recording a program code (execution format program, intermediate code program, or source program) of the program is supplied to the boot control unit 120, and the boot control unit 120 reads the program code recorded on the recording medium This can also be achieved by executing.

上記記録媒体は、特定の構造または種類のものに限定されない。すなわちこの記録媒体は、たとえば、磁気テープやカセットテープ等のテープ系、フロッピー(登録商標)ディスク/ハードディスク等の磁気ディスクやCD−ROM/MO/MD/DVD/CD−R等の光ディスクを含むディスク系、ICカード(メモリカードを含む)/光カード等のカード系、あるいはマスクROM/EPROM/EEPROM/フラッシュROM等の半導体メモリ系などとすることができる。   The recording medium is not limited to a specific structure or type. That is, the recording medium includes, for example, a tape system such as a magnetic tape and a cassette tape, a magnetic disk such as a floppy (registered trademark) disk / hard disk, and an optical disk such as a CD-ROM / MO / MD / DVD / CD-R. System, a card system such as an IC card (including a memory card) / optical card, or a semiconductor memory system such as a mask ROM / EPROM / EEPROM / flash ROM.

また、ブート制御部120(または光学ドライブ装置100)を通信ネットワークと接続可能に構成しても、本発明の目的を達成できる。この場合、上記のプログラムコードを、通信ネットワークを介してブート制御部120に供給する。この通信ネットワークはブート制御部120にプログラムコードを供給できるものであればよく、特定の種類または形態に限定されない。たとえばインターネット、イントラネット、エキストラネット、LAN、ISDN、VAN、CATV通信網、仮想専用網(Virtual Private Network)、電話回線網、移動体通信網、衛星通信網等であればよい。   Further, even if the boot control unit 120 (or the optical drive device 100) is configured to be connectable to a communication network, the object of the present invention can be achieved. In this case, the program code is supplied to the boot control unit 120 via the communication network. The communication network is not limited to a specific type or form as long as it can supply the program code to the boot control unit 120. For example, the Internet, intranet, extranet, LAN, ISDN, VAN, CATV communication network, virtual private network, telephone line network, mobile communication network, satellite communication network, etc. may be used.

この通信ネットワークを構成する伝送媒体も、プログラムコードを伝送可能な任意の媒体であればよく、特定の構成または種類のものに限定されない。たとえばIEEE1394、USB、電力線搬送、ケーブルTV回線、電話線、ADSL(Asymmetric Digital Subscriber Line)回線等の有線でも、IrDAやリモコンのような赤外線、Bluetooth(登録商標)、802.11無線、HDR、携帯電話網、衛星回線、地上波デジタル網等の無線でも利用可能である。なお本発明は、上記プログラムコードが電子的な伝送で具現化された、搬送波に埋め込まれたコンピュータデータ信号の形態でも実現され得る。   The transmission medium constituting the communication network may be any medium that can transmit the program code, and is not limited to a specific configuration or type. For example, even with wired lines such as IEEE 1394, USB, power line carrier, cable TV line, telephone line, ADSL (Asymmetric Digital Subscriber Line) line, infrared rays such as IrDA and remote control, Bluetooth (registered trademark), 802.11 wireless, HDR, mobile phone It can also be used by radio such as a telephone network, a satellite line, and a terrestrial digital network. The present invention can also be realized in the form of a computer data signal embedded in a carrier wave in which the program code is embodied by electronic transmission.

本発明は上述した実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能である。すなわち、請求項に示した範囲で適宜変更した技術的手段を組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。   The present invention is not limited to the above-described embodiments, and various modifications can be made within the scope shown in the claims. That is, embodiments obtained by combining technical means appropriately modified within the scope of the claims are also included in the technical scope of the present invention.

本発明に係るブート制御部を備えた光学ドライブ装置は、CDドライブ、DVDドライブおよびBDドライブなどの光学ドライブ全般として好適に利用することができる。   The optical drive device provided with the boot control unit according to the present invention can be suitably used as a general optical drive such as a CD drive, a DVD drive, and a BD drive.

ブート制御部を備えた光学ドライブ装置の要部構成を示すブロック図である。It is a block diagram which shows the principal part structure of the optical drive apparatus provided with the boot control part. ブート制御部を備えた光学ドライブ装置におけるOSの起動処理を示すフローチャートである。6 is a flowchart illustrating OS startup processing in an optical drive device including a boot control unit. ブート制御部を備えた光学ドライブ装置におけるOSの起動処理を示すフローチャートである。6 is a flowchart illustrating OS startup processing in an optical drive device including a boot control unit.

符号の説明Explanation of symbols

100 光学ドライブ装置(光学ドライブ)
110 インターフェース
120 ブート制御部(プログラム供給装置)
121 制御部
122 応答部(固有情報出力手段)
123 プログラム出力部
124 プログラム格納部
125 メディア情報取得部(取得手段)
126 通知部
127 記憶部
128 スイッチ
130 ディスク取出検知部(検知手段)
140 ATA/ATAPI変換部
150 光学ドライブ部
151 光ディスク
200 ホストコンピュータ
100 Optical drive device (optical drive)
110 interface 120 boot control unit (program supply device)
121 Control unit 122 Response unit (unique information output means)
123 Program output unit 124 Program storage unit 125 Media information acquisition unit (acquisition means)
126 Notification Unit 127 Storage Unit 128 Switch 130 Disk Ejection Detection Unit (Detection Means)
140 ATA / ATAPI converter 150 Optical drive 151 Optical disc 200 Host computer

Claims (11)

光学ドライブからオペレーティングシステムをロードするホストコンピュータに対して所定のプログラムを供給するプログラム供給装置であって、
オペレーティングシステムをロードするためのプログラムを有する記録メディアを搭載するデバイスの持つ固有情報を問い合わせる第1のコマンドを上記ホストコンピュータから受信したとき、当該記録メディアの記録容量を所定のダミー値とした仮想固有情報を出力する固有情報出力手段と、
上記プログラムを格納するセクタを読み出す第2のコマンドを上記ホストコンピュータから受信したとき、所定のダミープログラムを出力するプログラム出力手段と、
を備えていることを特徴とするプログラム供給装置。
A program supply device that supplies a predetermined program to a host computer that loads an operating system from an optical drive,
When a first command for inquiring about unique information of a device equipped with a recording medium having a program for loading an operating system is received from the host computer, the virtual uniqueness with the recording capacity of the recording medium as a predetermined dummy value Specific information output means for outputting information;
A program output means for outputting a predetermined dummy program when a second command for reading a sector storing the program is received from the host computer;
A program supply apparatus comprising:
上記プログラム出力手段から出力されるダミープログラムは、上記光学ドライブから、当該光学ドライブに搭載されている記録メディアの記録容量情報の取得処理が完了したか否かを、当該プログラム供給装置に対して一定時間毎に問い合わせるように上記ホストコンピュータを制御するプログラムであることを特徴とする請求項1に記載のプログラム供給装置。   The dummy program that is output from the program output unit is configured to determine whether or not the processing for acquiring the recording capacity information of the recording medium mounted on the optical drive from the optical drive has been completed. 2. The program supply apparatus according to claim 1, wherein the program supply apparatus controls the host computer so as to make an inquiry every time. 上記光学ドライブから、当該光学ドライブの搭載している記録メディアの記録容量値を取得する取得手段と、
上記取得手段における記録容量値の取得処理の完了を上記ホストコンピュータに対して通知する通知手段と、をさらに備えており、
上記固有情報出力手段は、上記通知手段からの通知を受けてリセットされた上記ホストコンピュータから上記第1のコマンドを受信したとき、上記記録メディアの記録容量を上記取得手段において取得した記録容量値とした固有情報を出力することを特徴とする請求項2に記載のプログラム供給装置。
Acquisition means for acquiring a recording capacity value of a recording medium mounted on the optical drive from the optical drive;
Notification means for notifying the host computer of the completion of the recording capacity value acquisition process in the acquisition means,
The specific information output means, when receiving the first command from the host computer that has been reset in response to the notification from the notification means, the recording capacity value acquired by the acquisition means with the recording capacity value acquired by the acquisition means The program supply apparatus according to claim 2, wherein the unique information is output.
上記取得手段において取得した記録容量値を記憶する記憶部をさらに備えており、
上記固有情報出力手段は、上記記憶部に上記取得手段において取得した記録容量値が記憶されている場合には、上記記録メディアの記録容量を当該記録容量値とした固有情報を出力し、上記記憶部に上記取得手段において取得した記録容量値が記憶されていない場合には、上記記録メディアの記録容量を所定のダミー値とした仮想固有情報を出力することを特徴とする請求項3に記載のプログラム供給装置。
A storage unit for storing the recording capacity value acquired by the acquisition unit;
When the recording capacity value obtained by the obtaining means is stored in the storage unit, the unique information output means outputs unique information using the recording capacity of the recording medium as the recording capacity value, and stores the storage capacity value. The virtual unique information with the recording capacity of the recording medium as a predetermined dummy value is output when the recording capacity value acquired by the acquisition means is not stored in the unit. Program supply device.
上記プログラム出力手段から出力されるダミープログラムは、上記光学ドライブの診断プログラムであることを特徴とする請求項1に記載のプログラム供給装置。   2. The program supply apparatus according to claim 1, wherein the dummy program output from the program output means is a diagnostic program for the optical drive. 上記プログラム出力手段から出力される所定のダミープログラムを切り替えるためのスイッチをさらに備えていることを特徴とする請求項1から5のいずれか1項に記載のプログラム供給装置。   6. The program supply apparatus according to claim 1, further comprising a switch for switching a predetermined dummy program output from the program output means. 請求項1から6のいずれか1項の記載のプログラム供給装置を備えていることを特徴とする光学ドライブ。   An optical drive comprising the program supply device according to any one of claims 1 to 6. 搭載されている記録メディアが取り出されたことを検知すると共に、記録メディアが取り出されたことを検知した時点で、記録メディアの記録容量値を記憶する記憶部から、取り出された記録メディアの記録容量値を消去する検知手段をさらに備えていることを特徴とする請求項7に記載の光学ドライブ。   When it is detected that the mounted recording medium is removed, and when the recording medium is detected, the recording capacity of the recording medium taken out from the storage unit that stores the recording capacity value of the recording medium is detected. 8. The optical drive according to claim 7, further comprising detection means for erasing the value. 光学ドライブからオペレーティングシステムをロードするホストコンピュータに対して所定のプログラムを供給するプログラム供給装置におけるプログラム供給方法であって、
オペレーティングシステムをロードするためのプログラムを有する記録メディアを搭載するデバイスの持つ固有情報を問い合わせる第1のコマンドを上記ホストコンピュータから受信したとき、当該記録メディアの記録容量を所定のダミー値とした仮想固有情報を出力する固有情報出力ステップと、
上記プログラムを格納するセクタを読み出す第2のコマンドを上記ホストコンピュータから受信したとき、所定のダミープログラムを出力するプログラム出力ステップと、
を含むことを特徴とするプログラム供給方法。
A program supply method in a program supply apparatus that supplies a predetermined program to a host computer that loads an operating system from an optical drive,
When a first command for inquiring about unique information of a device equipped with a recording medium having a program for loading an operating system is received from the host computer, the virtual uniqueness with the recording capacity of the recording medium as a predetermined dummy value A unique information output step for outputting information;
A program output step of outputting a predetermined dummy program when a second command for reading a sector storing the program is received from the host computer;
A program supply method comprising:
請求項1から6のいずれか1項に記載のプログラム供給装置を動作させるプログラムであって、コンピュータを上記の各手段として機能させるためのプログラム。   The program for operating the program supply apparatus of any one of Claim 1 to 6, Comprising: The program for functioning a computer as said each means. 請求項10に記載のプログラムを記録しているコンピュータ読み取り可能な記録媒体。   A computer-readable recording medium in which the program according to claim 10 is recorded.
JP2008316654A 2008-12-12 2008-12-12 Program supply device, program supply method, and optical drive including the program supply device Expired - Fee Related JP5117366B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008316654A JP5117366B2 (en) 2008-12-12 2008-12-12 Program supply device, program supply method, and optical drive including the program supply device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008316654A JP5117366B2 (en) 2008-12-12 2008-12-12 Program supply device, program supply method, and optical drive including the program supply device

Publications (2)

Publication Number Publication Date
JP2010140299A JP2010140299A (en) 2010-06-24
JP5117366B2 true JP5117366B2 (en) 2013-01-16

Family

ID=42350385

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008316654A Expired - Fee Related JP5117366B2 (en) 2008-12-12 2008-12-12 Program supply device, program supply method, and optical drive including the program supply device

Country Status (1)

Country Link
JP (1) JP5117366B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3681880B2 (en) * 1998-01-28 2005-08-10 富士通株式会社 Removable media processing device
JP2002222087A (en) * 2000-11-24 2002-08-09 Mitsubishi Chemicals Corp Rewritable information recording medium, information recording medium, and bootstrap method
JP2006236193A (en) * 2005-02-28 2006-09-07 Fujitsu Ltd Start program execution method, device, storage medium, and program
JP2007207089A (en) * 2006-02-03 2007-08-16 Seiko Epson Corp External storage controller and program

Also Published As

Publication number Publication date
JP2010140299A (en) 2010-06-24

Similar Documents

Publication Publication Date Title
KR101089260B1 (en) Method and system for automatic installation of a functional unit driver on a host
JP2004310775A (en) Portable operating system and method for loading the same
TW201117008A (en) Electronic equipment and boot method, storage medium thereof
US20100268863A1 (en) Information processing apparatus
CN101606136A (en) Computer peripheral equipment realized as optical storage device or/and removable disk by software simulation and realization method thereof
JP2006309782A (en) Method for starting computer system, computer system and hard disk drive
JP5772162B2 (en) Information processing apparatus, information processing method, and program
JP5117366B2 (en) Program supply device, program supply method, and optical drive including the program supply device
JP6264879B2 (en) Information processing apparatus, monitoring program, and monitoring method
JP2012194675A (en) Information apparatus and emergency access method for information apparatus
TW201734800A (en) Method for setting redundant array of independent disks
WO2005078595A1 (en) Removable external storage device and automatic activation program
KR100343191B1 (en) Method for booting a computer
CN102063311A (en) Electronic equipment and starting method thereof
US20060224880A1 (en) Information processing apparatus and boot processing control method for information processing apparatus
US20100037090A1 (en) Storage system, control method for storage system, and storage device
TW200538935A (en) Method and related apparatus for downloading operational firmware from an external host to an optical disc drive
RU2347263C2 (en) Method and system for self-acting installation of driver of functional block on main computing mechanism
JP2007048222A (en) Portable device and automatic backup method thereof
TWI281628B (en) Method for fast executing computer function option with intelligent memory
US20140095788A1 (en) Method for virtualizing raid of computer system
JP4834196B2 (en) Auxiliary storage
JP2007207089A (en) External storage controller and program
JP2010205379A (en) Optical disk device, and computer system
US20060259668A1 (en) System for managing sound input/output and method for the same

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110223

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120905

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120918

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121017

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5117366

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20151026

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees