JP2000222077A - Optical disk unit - Google Patents

Optical disk unit

Info

Publication number
JP2000222077A
JP2000222077A JP11024601A JP2460199A JP2000222077A JP 2000222077 A JP2000222077 A JP 2000222077A JP 11024601 A JP11024601 A JP 11024601A JP 2460199 A JP2460199 A JP 2460199A JP 2000222077 A JP2000222077 A JP 2000222077A
Authority
JP
Japan
Prior art keywords
optical disk
power supply
interface power
interface
disk device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP11024601A
Other languages
Japanese (ja)
Inventor
Atsuo Yasunobu
充生 安延
Hiroyuki Minami
裕行 南
Hideto Nakamura
英仁 中村
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 Holdings Corp
Original Assignee
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP11024601A priority Critical patent/JP2000222077A/en
Publication of JP2000222077A publication Critical patent/JP2000222077A/en
Pending legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide such an optical disk unit capable of surely using an interface power supply. SOLUTION: This optical disk drive is used by being connected to a PC (personal computer) 105 discriminating whether it is possible to feed power to the outside through an external interface, can receive power fed from plural different power supplies, has a drive deciding means which identifies a command representing use permission for the power supply of an external interface among commands received from the PC 105, waits for identification results of the drive deciding means and drives the unit when it receives power fed through the external interface.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は携帯型の小型光ディ
スク装置のような小型電子機器の動作用電源入力の切換
えに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to switching of a power supply input for operation of a small electronic device such as a portable small optical disk device.

【0002】[0002]

【従来の技術】PC等に接続して使用する携帯可能なポ
ータブル光ディスク装置の電源は商用電源を用いるAC
アダプターと、バッテリーの2種類の電源を用いてい
た。最近では、これらに追加してPCとの外部インター
フェイス接続部より供給される電源を用いるものがあ
る。それには、通常PCと外部インターフェース装置
(以下、PCカード及び接続ケーブル)と光ディスク装
置という構成で実現されている。
2. Description of the Related Art A portable optical disk apparatus connected to a PC or the like is used as a power supply of an AC using a commercial power supply.
Two types of power supplies were used: an adapter and a battery. Recently, in addition to these, there is a type that uses a power supplied from an external interface connection portion with a PC. This is usually realized by a configuration including a PC, an external interface device (hereinafter, a PC card and a connection cable), and an optical disk device.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、PCと
の接続部に使用されているPCカードは汎用的なものが
多く、ポータブル光ディスク装置では、互換性のないP
Cカードつまり外部インターフェイス接続部より供給さ
れる電源を使用できないPCカードも存在する。その結
果、様々な接続が可能となり、光ディスク装置としてイ
ンターフェース電源を使用できないのにそのまま使用し
てしまう事態が発生する事があった。
However, there are many general-purpose PC cards used in a connection portion with a PC, and in a portable optical disk device, an incompatible P card is used.
There is also a C card, that is, a PC card in which power supplied from the external interface connection unit cannot be used. As a result, various connections can be made, and a situation may occur where the interface power supply cannot be used as the optical disk device but is used as it is.

【0004】本発明は、上記課題を解決するためになさ
れたもので、外部インターフェイスを介して外部に電源
を供給することが可能かどうかを判別するパーソナルコ
ンピュータに接続して使用し、複数の異なる電源から電
力の供給を受けることができる光ディスク装置であっ
て、パーソナルコンピュータから受信する指令のうち外
部インターフェイスの電源の使用許可をあらわす指令を
識別する駆動判断手段を有し、外部インターフェイスを
介して電力の供給を受けるときは、駆動判断手段の識別
結果を待って装置を駆動することを特徴とする光ディス
ク装置である。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and is used by connecting to a personal computer which determines whether or not power can be supplied to the outside via an external interface. An optical disk device capable of receiving power supply from a power supply, comprising: a drive determination unit for identifying a command indicating permission to use a power supply of an external interface among commands received from a personal computer; The optical disk device is characterized in that, when supplied, the optical disk device waits for the identification result of the drive determining means to drive the device.

【0005】以上の構成によって、互換性のないPCカ
ードとの接続による光ディスク装置の起動を防止し、イ
ンターフェース電源を確実に使用できるような光ディス
ク装置を提供することを目的とする。
With the above configuration, an object of the present invention is to provide an optical disk device which prevents starting of the optical disk device due to connection with an incompatible PC card and which can reliably use an interface power supply.

【0006】[0006]

【課題を解決するための手段】本発明は、外部インター
フェイスを介して外部に電源を供給することが可能かど
うかを判別するパーソナルコンピュータに接続して使用
し、複数の異なる電源から電力の供給を受けることがで
きる光ディスク装置であって、パーソナルコンピュータ
から受信する指令のうち外部インターフェイスの電源の
使用許可をあらわす指令を識別する駆動判断手段を有
し、外部インターフェイスを介して電力の供給を受ける
ときは、駆動判断手段の識別結果を待って装置を駆動す
ることを特徴とする光ディスク装置である。
According to the present invention, a personal computer for determining whether or not power can be supplied to an external device through an external interface is used to supply power from a plurality of different power sources. An optical disc device capable of receiving the power from the personal computer, the drive determining means for identifying a command indicating permission to use the power supply of the external interface among the commands received from the personal computer. An optical disk apparatus characterized in that the apparatus is driven after waiting for the identification result of the drive determining means.

【0007】PC、PCカード、接続ケーブル及び小型
電子機器という構成で、PC側でインターフェースに接
続されているインターフェース装置が小型電子機器用に
インターフェース電源を供給可能としているものである
かどうかを判断し供給可能で、かつインターフェース電
源で動作可能な小型電子機器であるかどうかを判断し、
動作可能である場合に、PC側からインターフェースコ
マンドとともに電源供給可能であるという識別を小型電
子機器に送信することでインターフェース電源の使用許
可を与えている。
It is determined whether or not the interface device connected to the interface on the PC side is capable of supplying interface power for the small electronic device with the configuration of the PC, the PC card, the connection cable, and the small electronic device. Determine whether it is a small electronic device that can be supplied and can be operated with the interface power supply,
When operable, the use of the interface power supply is given by transmitting, to the small electronic device, identification indicating that power can be supplied together with the interface command from the PC side.

【0008】小型電子機器は、そのコマンドを受信し、
インターフェース電源を使用して良いかどうかを判定す
るまでは動作しない。小型電子機器は受信データから判
定したインターフェース電源を使用可能または使用不可
という識別を内部の駆動待ちとなっている駆動判断手段
に通知する。駆動判断手段では、識別が駆動可能であれ
ば機器の駆動を、そうでなければ電源を切る動作を行う
ようにしている。
[0008] The small electronic device receives the command,
It does not operate until it is determined whether the interface power supply can be used. The small electronic device notifies the internal drive waiting means of drive determination that the interface power supply determined from the received data is usable or unusable. The drive judging means performs the operation of driving the device if the identification is possible, and the operation of turning off the power otherwise.

【0009】また、ACアダプタと電池が有効でない時
やユーザーが故意にインターフェース電源を使用すると
きは、インターフェイス電源への切り替えを行おうとす
る。そのとき電源有無情報保持手段により、外部インタ
ーフェイス電源があり、かつインターフェース電源使用
可能情報保持手段によりインターフェース電源使用可能
状態にあり、かつインターフェース電源使用可能スイッ
チによるインターフェース電源使用可能判断手段により
インターフェース電源使用可能となっている場合に、初
めてインターフェイス電源を選択し、それが使用可能で
はない場合では、電源を切る動作を行うようにしてい
る。
Further, when the AC adapter and the battery are not valid or when the user intentionally uses the interface power supply, an attempt is made to switch to the interface power supply. At this time, the external interface power supply is provided by the power supply presence / absence information holding means, and the interface power supply is enabled by the interface power supply usable information holding means, and the interface power supply is usable by the interface power supply use determination means by the interface power supply usable switch. In this case, the interface power supply is selected for the first time, and if it is not available, the power is turned off.

【0010】[0010]

【発明の実施の形態】本発明の請求項1に記載の発明
は、外部インターフェイスを介して外部に電源を供給す
ることが可能かどうかを判別するパーソナルコンピュー
タに接続して使用し、複数の異なる電源から電力の供給
を受けることができる光ディスク装置であって、パーソ
ナルコンピュータから受信する指令のうち外部インター
フェイスの電源の使用許可をあらわす指令を識別する駆
動判断手段を有し、外部インターフェイスを介して電力
の供給を受けるときは、駆動判断手段の識別結果を待っ
て装置を駆動することを特徴とする光ディスク装置であ
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The invention according to claim 1 of the present invention is used by connecting to a personal computer for judging whether or not power can be supplied to the outside through an external interface. An optical disk device capable of receiving power supply from a power supply, comprising: a drive determination unit for identifying a command indicating permission to use a power supply of an external interface among commands received from a personal computer; The optical disk device is characterized in that, when supplied, the optical disk device waits for the identification result of the drive determining means to drive the device.

【0011】以上の構成によって、互換性のないPCカ
ードとの接続による光ディスク装置の起動を防止し、イ
ンターフェース電源を確実に使用できるような光ディス
ク装置を提供することができる。
[0011] With the above configuration, it is possible to provide an optical disk device that can prevent activation of the optical disk device due to connection with an incompatible PC card and can reliably use an interface power supply.

【0012】以下、本発明の実施の形態について、図を
用いて説明する。
An embodiment of the present invention will be described below with reference to the drawings.

【0013】(実施の形態)図1は本発明の一実施の形
態における構成図、図2は本発明の光ディスク装置の構
成図、図3は図2の光ディスク装置を駆動するフローチ
ャート、図4はインターフェース電源使用可否を通知す
るフローチャート、図5はインターフェース電源供給可
能の判断手順のフローチャート、図6はインターフェー
ス電源使用許可送信のフローチャートである。
(Embodiment) FIG. 1 is a configuration diagram of an embodiment of the present invention, FIG. 2 is a configuration diagram of an optical disk device of the present invention, FIG. 3 is a flowchart for driving the optical disk device of FIG. 2, and FIG. FIG. 5 is a flowchart for notifying whether interface power can be used, FIG. 5 is a flowchart for determining whether interface power can be supplied, and FIG. 6 is a flowchart for transmitting interface power use permission.

【0014】図1に示すように、光ディスク装置本体1
01にはACアダプター102とその接続部と、バッテ
リー103とその接続部と、外部インターフェイス装置
104との接続部で構成され、一つのシステムとして、
光ディスク装置本体101と、外部インターフェイス装
置104と、PC105で構成される。今回の実施の形
態で考えられる構成としては、インターフェースにAT
API(AT Attachment Packet Interface)やSCSI
(Small Computer System Interface)などのインタフ
ェースが上げられる。
As shown in FIG. 1, an optical disk apparatus main body 1
01 includes an AC adapter 102 and its connection unit, a battery 103 and its connection unit, and a connection unit with the external interface device 104. As one system,
It comprises an optical disk device main body 101, an external interface device 104, and a PC 105. A possible configuration in this embodiment is that the interface
API (AT Attachment Packet Interface) and SCSI
(Small Computer System Interface).

【0015】図2に示すように、光ディスク装置本体1
01はインターフェース電源入力部201と、CPU2
02と、光ディスク読み出し部203と、光ディスク2
04と、インターフェース電源を光ディスク装置で使用
可能とするかどうかをユーザー側で設定するインターフ
ェース電源使用設定スイッチ205と、インターフェー
ス電源使用設定スイッチ205の状態が使用可能か使用
不可能のどちらに設定されているかをリードして判断す
るインターフェース電源使用設定判断手段206と、P
CからPCカードを経由して送信されてきた指示を受信
してその指示に対応した動作を行い、PCカードを経由
してその指示に対応した返信を行うコマンド返信手段2
07と、PC側のプログラムでインターフェース電源を
使用できるPCカードであるか、さらにインターフェー
ス電源を使用できる光ディスク装置が接続されているか
ということをチェックし判断した結果をコマンド返信手
段207で受信した後、その結果を判断するインターフ
ェース電源使用可能判断手段208と、インターフェー
ス電源を使用しても良いPCカードと光ディスク装置で
あったかどうかという判断結果を記憶するインターフェ
ース電源使用可能情報保持手段209と、インターフェ
ース電源使用可能判断手段208により判断した結果を
インターフェース電源使用許可待ち手段211に通知す
るインターフェース電源使用可否通知手段210と、イ
ンターフェース電源を使用可能かどうかその結果を待
ち、その結果が来るまで光ディスク装置を駆動させずに
待ち続けるインターフェース電源使用許可待ち手段21
1と、インターフェース電源使用可否通知手段210に
より通知された結果から光ディスク装置を駆動させても
良いかどうかを判断する光ディスク装置駆動判断手段2
12と、本来光ディスク装置として備えている、光ディ
スク読み出し部203に対して光ディスク装置の駆動を
指示する光ディスク装置駆動手段213で構成される。
As shown in FIG. 2, the optical disk apparatus main body 1
01 is the interface power supply input unit 201 and the CPU 2
02, the optical disk reading unit 203, and the optical disk 2
04, an interface power use setting switch 205 for setting on the user side whether or not the interface power supply can be used in the optical disk device, and whether the state of the interface power use setting switch 205 is set to usable or unusable. Interface power use setting determining means 206 for reading and determining whether
A command return means 2 for receiving an instruction transmitted from the C via a PC card, performing an operation corresponding to the instruction, and returning a response corresponding to the instruction via the PC card;
07 and a command return means 207 after receiving the result of checking by checking whether the PC card is a PC card that can use the interface power supply and whether an optical disk device that can use the interface power supply is connected. Interface power availability determination means 208 for determining the result, interface power availability information holding means 209 for storing the determination result as to whether or not the PC card and the optical disk device may use the interface power, and interface power availability. An interface power use availability notification unit 210 for notifying the result determined by the determination unit 208 to the interface power use permission waiting unit 211, and a result whether the interface power is available is waited for, and the result comes. In interface supply grant wait means waits without driving the optical disc device 21
1 and an optical disk device drive determining unit 2 that determines whether the optical disk device can be driven based on the result notified by the interface power supply availability notification unit 210.
12 and an optical disk device driving unit 213 originally provided as an optical disk device and instructing the optical disk reading unit 203 to drive the optical disk device.

【0016】次に光ディスク装置の動作と図2における
各手段について図3、図4を交えながら詳細に述べる。
図3はインターフェース電源使用設定判断手段206
と、インターフェース電源使用許可待ち手段211と、
光ディスク装置駆動判断手段212と、光ディスク装置
駆動手段213の処理の流れを、図4はコマンド返信手
段207と、インターフェース電源使用可能判断手段2
08と、インターフェース電源使用可能情報保持手段2
09と、インターフェース電源使用可否通知手段210
の処理の流れを記述したものである。
Next, the operation of the optical disk apparatus and each means in FIG. 2 will be described in detail with reference to FIGS.
FIG. 3 shows an interface power supply use setting determining unit 206.
Interface power use permission waiting means 211;
FIG. 4 shows the flow of processing of the optical disk device drive determining unit 212 and the optical disk device drive unit 213, and FIG.
08 and the interface power supply available information holding means 2
09 and interface power supply availability notification means 210
Is described.

【0017】まず、インターフェース電源入力部より入
力された電力によりCPU202が動作する。CPU2
02はプログラミングされた内容により光ディスク読み
出し部203に対して初期化処理を行い、接続された電
源種類を判別する。接続可能な電源はACアダプター1
02と、バッテリー103と、PCカード104からの
電源となっているが、その優先順位はACアダプター1
02>バッテリー103>PCカード104からの電源
と決めている。
First, the CPU 202 operates with the power input from the interface power input unit. CPU2
In step 02, initialization processing is performed on the optical disk reading unit 203 based on the programmed contents, and the type of the connected power supply is determined. Connectable power supply is AC adapter 1
02, the battery 103, and the power supply from the PC card 104. The priority order is the AC adapter 1
02> battery 103> power supply from PC card 104.

【0018】図3と図4に記述された処理は、別々のタ
スクとなっており、インターフェース電源使用許可待ち
手段211とインターフェース電源使用可否通知手段2
10により、タスク間の通信を行うようにしている。
The processes described in FIGS. 3 and 4 are separate tasks, and the interface power use permission waiting means 211 and the interface power use availability notification means 2
10, communication between tasks is performed.

【0019】図3において、インターフェース電源の使
用に関する処理の流れを説明する。S31で現在インタ
ーフェース電源を使用中であるかどうかを調べる。もし
使用中であればこのまま使用してもよいかどうかの判定
処理に進む。もし使用中でなければACアダプター10
2またはバッテリー103で動作中であるので、光ディ
スク装置の駆動を開始してもかまわない。よってS37
に進む。S32でインターフェース電源使用設定スイッ
チ205の状態が使用可能か使用不可能のどちらに設定
されているかをリードしてどちらかを判断する。判断し
た結果によりインターフェース電源でそのまま動作する
のかしないのかを決定する。もし使用可能な設定になっ
ていればS33に進む。もし使用可能な設定でないなら
ばこれ以上動作させることはできないためS38に進
み、光ディスク装置の電源をOFFする。ここで、イン
ターフェース電源使用設定スイッチ205の使用例につ
いて記述する。例えば、今回のインターフェース規格に
SCSIを使用すると、SCSI規格では通常通信信号
を安定させるために終端機器でターミネート処理を実施
する。これはユーザー側でスイッチ(以下ターミネータ
ースイッチ)やコネクタとして提供されている。
Referring to FIG. 3, the flow of processing related to the use of the interface power supply will be described. In step S31, it is checked whether the interface power supply is currently being used. If it is being used, the process proceeds to a determination process as to whether or not it can be used as it is. AC adapter 10 if not in use
2 or the battery 103, the drive of the optical disk device may be started. Therefore S37
Proceed to. In S32, it is read whether the state of the interface power supply use setting switch 205 is set to be usable or unusable, and it is determined which one is used. Based on the result of the determination, it is determined whether or not to operate as it is with the interface power supply. If the setting can be used, the process proceeds to S33. If the setting is not a usable setting, no further operation can be performed, so the process proceeds to S38, and the power of the optical disk device is turned off. Here, an example of using the interface power supply use setting switch 205 will be described. For example, if SCSI is used for the current interface standard, a termination process is performed in a terminating device to stabilize a normal communication signal in the SCSI standard. This is provided as a switch (terminator switch) or connector on the user side.

【0020】図1に示すような実施の形態で光ディスク
装置とPCカード及び接続ケーブルの構成として通信信
号が安定していればターミネート処理はなくすことが可
能である。そこでこのターミネータースイッチをインタ
ーフェース電源使用設定スイッチと兼用することが可能
となる。今回の光ディスク装置とPCカード及び接続ケ
ーブルの構成であればターミネータースイッチをOFF
に、今回の光ディスク装置と他のPCカード及び接続ケ
ーブルの構成であればターミネータースイッチをONに
することで、今回の光ディスク装置とPCカード及び接
続ケーブルの構成でのみインターフェース電源を使用可
能とできる。光ディスク装置と他のPCカード及び接続
ケーブルの構成であれば通常ターミネート処理が必要と
なるため、ターミネータースイッチをONにする。これ
はインターフェース電源を使用不可能とする設定とな
る。
In the embodiment shown in FIG. 1, if the communication signal is stable in the configuration of the optical disk device, the PC card, and the connection cable, the termination process can be eliminated. Therefore, this terminator switch can be used also as an interface power supply use setting switch. Turn off the terminator switch for the current configuration of the optical disk device, PC card and connection cable.
In addition, if the present optical disk device and other PC card and connection cable have the same configuration, by turning on the terminator switch, the interface power supply can be used only with the current optical disk device, the PC card and the connection cable. The terminator switch is turned ON because the optical disk device, other PC card, and the connection cable usually require a termination process. This is a setting that disables the interface power supply.

【0021】S33でインターフェース電源の使用判断
結果を待つ。ここではこれに併せて別の判断結果、例え
ば、光ディスク装置のディスク取り出しのためのドアが
開けられたかどうか、ディスクを入れた後のドアが閉め
られたかどうか、電源スイッチが押されたかどうか等も
判断できるようにしている。そのため、次のS34でイ
ンターフェース電源の使用判断結果に関するものである
かどうかを判定する。もしインターフェース電源の使用
判断結果に関するものであればS36に進む。もしイン
ターフェース電源の使用判断結果に関するものでなけれ
ばS35に進む。
In step S33, the control waits for the use result of the interface power supply. Here, in addition to this, another judgment result, such as whether the door for removing the disk of the optical disk device was opened, whether the door after the disk was inserted was closed, whether the power switch was pressed, etc. I am able to judge. Therefore, in the next S34, it is determined whether or not the result is related to the use determination result of the interface power supply. If it is related to the interface power use determination result, the process proceeds to S36. If it does not relate to the determination result of the use of the interface power supply, the process proceeds to S35.

【0022】S35で現在インターフェース電源以外の
電源(ACアダプター102またはバッテリー103)
を使用しているかどうかを判定する。これは図3に示す
処理の開始時点でインターフェース電源を使用していて
も、S35に来るまでにインターフェース電源以外の電
源が接続されることが十分考えられるからである。今回
の光ディスク装置では、インターフェース電源以外の電
源の接続があればインターフェース電源よりも優先して
使用するように決めているので、インターフェース電源
以外の電源を使用していればインターフェース電源は使
用されていないことになりS37に進む。もしインター
フェース電源以外の電源を使用していないならば再度イ
ンターフェース電源の使用判断結果を待つため、S33
に戻る。これらの処理からS33からS35の間で無限
ループとなり、インターフェース電源の使用判断結果が
得られない限り処理が先に進まない、言い替えるとイン
ターフェース電源で光ディスク装置を駆動しない装置が
実現される。
In step S35, a power source other than the current interface power source (AC adapter 102 or battery 103)
Is used. This is because even if the interface power supply is used at the start of the processing shown in FIG. 3, it is sufficiently considered that a power supply other than the interface power supply will be connected before S35 is reached. In this optical disk device, if a power supply other than the interface power supply is connected, it is determined to be used before the interface power supply, so if a power supply other than the interface power supply is used, the interface power supply is not used That is, the process proceeds to S37. If a power source other than the interface power source is not being used, the process waits for the result of determining whether to use the interface power source again.
Return to From these processes, an infinite loop is performed between S33 and S35, and the process does not proceed unless the use determination result of the interface power supply is obtained. In other words, a device that does not drive the optical disk device with the interface power supply is realized.

【0023】S36で取得したインターフェース電源の
使用判断結果からインターフェース電源を使用して光デ
ィスク装置を駆動してもよいかどうかを判定する。もし
光ディスク装置を駆動してもよいのであればS37に進
み、本来の目的である光ディスク装置の駆動を開始す
る。これで光ディスク装置とPCカードの構成において
インターフェース電源を確実に使用できることを確認し
た上で、インターフェース電源を使用しての光ディスク
装置の駆動ができることになる。もし光ディスク装置を
駆動してはならないのであればS38に進み、光ディス
ク装置の電源をOFFする。
It is determined whether or not the optical disk device can be driven using the interface power supply based on the interface power supply use determination result obtained in S36. If the optical disk device can be driven, the process proceeds to S37, and the driving of the optical disk device, which is the original purpose, is started. After confirming that the interface power supply can be reliably used in the configuration of the optical disk device and the PC card, the optical disk device can be driven using the interface power supply. If the optical disk device should not be driven, the process proceeds to S38, and the power of the optical disk device is turned off.

【0024】次にコマンド返信手段207と、インター
フェース電源使用可能判断手段208と、インターフェ
ース電源使用可能情報保持手段209と、インターフェ
ース電源使用可否通知手段210の処理の流れを図4を
用いて説明する。
Next, the processing flow of the command reply means 207, the interface power availability determination means 208, the interface power availability information holding means 209, and the interface power availability notification means 210 will be described with reference to FIG.

【0025】S401でPC側からインターフェースを
介して送信されてきたコマンドを受信しメモリに保存す
る。S402で光ディスク装置としてサポートしている
コマンドであるかどうかを調べる。サポートしているコ
マンドであればS403に、サポートしていないコマン
ドであればS408に進む。S403でそのコマンドが
インターフェース電源使用可能通知コマンドであるかど
うかを判断する。なお、通信コマンドには通信規格で機
能を決定されているコマンドと、機器の開発ユーザーで
自由に機能を設定し使用しても良いコマンド(以下、ベ
ンダーユニークコマンド)が存在する。インターフェー
ス電源使用可能通知コマンドはベンダーユニークコマン
ドに属する。ベンダーユニークコマンドは、光ディスク
装置にディスクからの読み出しや装置の状態等を返信さ
せるような指示を出す手段(以下、ドライバーソフト)
から送信され、光ディスク装置で受信される。その為、
ドライバーソフトと光ディスク装置とで、コマンドの内
容を決定しておく必要があり、光ディスク装置はその仕
様に合わせた処理を行う。または、既に決定されたベン
ダーユニークコマンドであればドライバーソフトから送
信されるコマンドに対して光ディスク装置の返信データ
を合わせこむことが行われる。コマンドがインターフェ
ース電源使用可能通知コマンドであればS404へ、そ
うでなければS405に進む。
In step S401, a command transmitted from the PC via the interface is received and stored in a memory. In S402, it is checked whether the command is supported as an optical disk device. If the command is supported, the process proceeds to S403. If the command is not supported, the process proceeds to S408. In S403, it is determined whether the command is an interface power supply available notification command. The communication commands include commands whose functions are determined by communication standards and commands whose functions can be freely set and used by a device development user (hereinafter, vendor-unique commands). The interface power available notification command belongs to the vendor unique command. The vendor unique command is a means (hereinafter referred to as driver software) for instructing the optical disk device to read out from the disk or return the status of the device.
And received by the optical disk device. For that reason,
It is necessary to determine the content of the command between the driver software and the optical disk device, and the optical disk device performs processing according to the specifications. Alternatively, if it is a previously determined vendor unique command, the return data of the optical disk device is matched with the command transmitted from the driver software. If the command is the interface power supply available notification command, the process proceeds to S404; otherwise, the process proceeds to S405.

【0026】S404でインターフェース電源使用可能
通知コマンドでドライバーソフトから送信された識別文
字列が予め決定された内容であるかどうか比較する。S
405ではインターフェース電源使用可能通知コマンド
以外のコマンドの処理を行う。S406で比較した結果
を判断し、識別文字列に一致していればS407に、一
致しなければS408に進む。S407でインターフェ
ース電源使用可能情報を保存する。これ以降、インター
フェース電源を使用しても良いかどうかの判断はこの情
報を参照することによって行われる。S408では受信
したコマンドが光ディスク装置としてサポートしていな
いコマンドである、またインターフェース電源使用可能
通知コマンドで予め決定された内容でないということで
PC側つまりドライバーソフトに未サポートのコマンド
または内容であるというエラー結果を通知する。ここで
はコマンドに対する結果がエラーであるということで、
コマンド処理を終了する。
In step S404, a comparison is made as to whether the identification character string transmitted from the driver software by the interface power supply available notification command has predetermined contents. S
At 405, processing of commands other than the interface power supply enable notification command is performed. The result of the comparison in S406 is determined, and if it matches the identification character string, the process proceeds to S407, and if not, the process proceeds to S408. In step S407, the interface power supply usable information is stored. Thereafter, the determination as to whether the interface power supply may be used is made by referring to this information. In step S408, the received command is a command that is not supported by the optical disk device, and the command is not the content determined in advance by the interface power supply enable notification command. Notify the result. Here, the result for the command is an error,
Terminates command processing.

【0027】S409で現在インターフェース電源を使
用中であるか、つまりS33でインターフェース電源の
使用判断結果を待っている状態であるかどうかを判断す
る。もしインターフェース電源を使用中であればS41
0に進む。使用中でなければ、ACアダプター102ま
たはバッテリー103を使用しているので、S33でイ
ンターフェース電源の使用判断結果を待っている状態に
はない。よって、インターフェース電源を使用してもよ
いという結果を通知する必要はないのでコマンド処理を
終了する。
In step S409, it is determined whether the interface power supply is currently being used, that is, whether the interface power supply use determination result is waiting in step S33. If the interface power supply is in use, S41
Go to 0. If it is not in use, since the AC adapter 102 or the battery 103 is being used, it is not in a state of waiting for the use determination result of the interface power supply in S33. Therefore, there is no need to notify the result that the interface power supply may be used, and the command processing ends.

【0028】S410でインターフェース電源を使用し
てもよいという結果をS33に通知する。この時点で初
めてインターフェース電源を使用しての光ディスク装置
としての実動作が可能となり、コマンド処理を終了す
る。光ディスク装置としては、その後の処理であるドラ
イブを駆動させてその内容を調べるというドライブ初期
化を実施する。
In step S410, a result indicating that the interface power supply may be used is notified to S33. At this point, the actual operation as the optical disk device using the interface power supply becomes possible for the first time, and the command processing ends. The optical disk device performs drive initialization, which is the subsequent processing, in which the drive is driven and its contents are checked.

【0029】次にPC側のドライバーソフトで、インタ
ーフェース電源を使用可能であるという識別を光ディス
ク装置に通知するまでの処理の流れを図5を用いて説明
する。
Next, the flow of processing until the driver software on the PC side notifies the optical disk device of the identification that the interface power supply can be used will be described with reference to FIG.

【0030】図5はインターフェース電源供給可能の判
断手順のフローチャートであって、PCカードがインタ
ーフェース電源を供給できる装置であるかどうかを判断
するまでの処理の流れを示した図である。図6はインタ
ーフェース電源使用許可送信のフローチャートであっ
て、PCカードが光ディスク装置に外部インターフェイ
ス接続部より電源を供給できる装置である場合に、光デ
ィスク装置がインターフェース電源を使用できる装置で
あるかどうかを判断し、使用できる装置であるときイン
ターフェース電源を使用しても良いことを送信するまで
の処理の流れを示した図である。図5において、S51
でPCカードのIDを読む。PCカードにはIDが予め
書き込まれており、どのようなカードであるかが判るよ
うになっている。S52でインターフェース電源を供給
できるPCカードのIDであるかどうかを判断する。も
しIDが等しいならばインターフェース電源を供給でき
るカードなのでS53に進み、等しくないならば処理を
終了する。S53でインターフェース電源を供給できる
カードであるというフラグを立てる。以降、光ディスク
装置にインターフェース電源を使用しても良いことを送
信するベンダーユニークコマンドを発行するときにはこ
のフラグが立っていることが必須条件となる。
FIG. 5 is a flowchart of a procedure for determining whether interface power can be supplied, and is a diagram showing a flow of processing until it is determined whether the PC card is a device that can supply interface power. FIG. 6 is a flowchart of an interface power supply use permission transmission. When the PC card is a device that can supply power to the optical disk device from the external interface connection unit, it is determined whether the optical disk device is a device that can use the interface power supply. FIG. 7 is a diagram showing a flow of processing until transmission of information indicating that an interface power supply may be used when the device is usable. In FIG. 5, S51
Read the ID of the PC card with. An ID is pre-written on the PC card so that the type of the card can be known. In S52, it is determined whether or not the ID of the PC card can supply the interface power. If the IDs are equal, the card can supply interface power, so the process proceeds to S53, and if not, the process ends. In S53, a flag is set to indicate that the card can supply interface power. Thereafter, when issuing a vendor unique command for transmitting that the interface power supply may be used to the optical disk device, it is an essential condition that this flag is set.

【0031】図6において、S54でインターフェース
電源を供給できるカードであるというフラグが立ってい
るかどうかを判断する。もし立っていればS55へ進
み、立っていなければ別のPCカードが接続されている
として処理を終了する。S55でこれから発行されるコ
マンドが光ディスク装置にインターフェース電源を使用
しても良いことを送信するベンダーユニークコマンドを
送信する時の条件となる、接続機器の構成情報や属性を
調べるコマンドであるSCSIのINQUIRYコマン
ドであるかを判断する。INQUIRYコマンドにより
ドライバーソフトは接続されている機器の製品IDを得
ることができるため、インターフェース電源を使用でき
る光ディスク装置が接続されているかどうかを判別する
ことができる。INQUIRYコマンドであればS56
に進み、そうでなければ光ディスク装置にインターフェ
ース電源を使用しても良いことを送信するベンダーユニ
ークコマンドを発行する必要がないので処理を終了す
る。
In FIG. 6, it is determined in step S54 whether a flag indicating that the card can supply interface power is set. If so, the process proceeds to S55, and if not, it is determined that another PC card is connected, and the process ends. In S55, SCSI INQUIRY which is a command for checking configuration information and attributes of a connected device, which is a condition for transmitting a vendor unique command for transmitting that an interface power supply may be used to the optical disk device as a command to be issued from now on, is used. Determine if it is a command. Since the driver software can obtain the product ID of the connected device by the INQUIRY command, it is possible to determine whether or not an optical disk device that can use the interface power supply is connected. S56 if INQUIRY command
Otherwise, the process ends because there is no need to issue a vendor unique command for transmitting that the interface power supply may be used for the optical disk device.

【0032】S56でINQUIRYコマンドが正常終
了したかどうかを判断する。これはコマンドの送受信が
問題なく行われたかどうかを知ることにより、光ディス
ク装置にインターフェース電源を使用しても良いことを
送信するベンダーユニークコマンドを発行しても問題な
く通信できるかを予め調べ判断しているものである。正
常終了していればS57に進み、正常終了していなけれ
ば処理を終了する。
In S56, it is determined whether the INQUIRY command has been completed normally. This is because whether or not the command transmission / reception has been performed without any problem is determined by checking beforehand whether communication can be performed without any problem even if a vendor unique command for transmitting that the interface power supply can be used to the optical disk device is issued. Is what it is. If the processing has been completed normally, the process proceeds to step S57. If the processing has not been completed normally, the process ends.

【0033】S57で接続されている光ディスク装置の
製品IDがインターフェース電源を使用できる光ディス
ク装置であるかどうかを判断する。ドライバーソフトで
サポートするインターフェース電源を使用できる光ディ
スク装置を追加するときは、ここで比較判断される製品
IDを追加することで、対象装置を増やす事ができる。
判断した結果等しいならばS59に進み、等しくないな
らば処理を終了する。
In S57, it is determined whether or not the product ID of the optical disk device connected is an optical disk device that can use the interface power supply. When adding an optical disk device that can use an interface power supply supported by the driver software, the number of target devices can be increased by adding a product ID that is compared and determined here.
If they are equal, the process proceeds to S59, and if they are not equal, the process ends.

【0034】S58でインターフェース電源を使用して
も良いことを送信するベンダーユニークコマンドを発行
する。このコマンドは通常他のコマンドで使用される内
容と一致しないと推測される文字列(識別)を送信して
いる。このコマンドを光ディスク装置が受信してコマン
ド内容を解析し予定されていた内容であるかどうかを確
認した後、ドライブを駆動することになる。
In step S58, a vendor unique command for transmitting that the interface power supply may be used is issued. This command usually transmits a character string (identification) that is assumed not to match the content used in other commands. The optical disk device receives this command, analyzes the command content, checks whether the command content is the intended content, and then drives the drive.

【0035】[0035]

【発明の効果】以上のように本発明の光ディスク装置に
よると、PC側でインターフェースに接続されているP
Cカードがインターフェース電源を供給可能なPCカー
ド、またインターフェース電源で動作可能な光ディスク
装置であるかどうかを判断し、その場合にPC側から光
ディスク装置にインターフェース電源を使用しても良い
ことを送信するベンダーユニークコマンドを送信するこ
とで、光ディスク装置にインターフェース電源の使用許
可を与える。光ディスク装置は、そのコマンドを受信
し、インターフェース電源を使用して良いかどうかを判
定し、インターフェース電源を使用可能と判断して初め
て光ディスク装置を駆動する。これにより互換性のない
PCカードつまりインターフェイス電源を使用できない
PCカードと光ディスク装置との接続、例えばデスクト
ップPCと本光ディスク装置の接続やノートPCにおい
て別のPCカードと本光ディスク装置の接続で使用する
ことを防止することができ、インターフェース電源を確
実に使用できる場合にのみ動作させることができるもの
である。
As described above, according to the optical disk apparatus of the present invention, the P connected to the interface on the PC side is used.
It is determined whether the C card is a PC card capable of supplying interface power or an optical disk device operable with the interface power, and in that case, the PC transmits that the interface power may be used to the optical disk device. By transmitting the vendor unique command, use permission of the interface power supply is given to the optical disk device. The optical disk device receives the command, determines whether the interface power supply can be used, and drives the optical disk device only after determining that the interface power supply can be used. As a result, an incompatible PC card, that is, a connection between an optical disk device and a PC card that cannot use an interface power supply, for example, a connection between a desktop PC and the optical disk device or a connection between another PC card and the optical disk device in a notebook PC And can be operated only when the interface power supply can be used reliably.

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

【図1】本発明の一実施の形態における構成図FIG. 1 is a configuration diagram according to an embodiment of the present invention.

【図2】本発明の光ディスク装置の構成図FIG. 2 is a configuration diagram of an optical disk device of the present invention.

【図3】図2の光ディスク装置を駆動するフローチャー
FIG. 3 is a flowchart for driving the optical disk device of FIG. 2;

【図4】インターフェース電源使用可否を通知するフロ
ーチャート
FIG. 4 is a flowchart for notifying whether or not the interface power supply can be used;

【図5】インターフェース電源供給可能の判断手順のフ
ローチャート
FIG. 5 is a flowchart of a procedure for determining whether interface power can be supplied.

【図6】インターフェース電源使用許可送信のフローチ
ャート
FIG. 6 is a flowchart of an interface power supply use permission transmission.

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

101 光ディスク装置本体 102 ACアダプター 103 バッテリー 104 PCカード(外部インターフェイス装置) 105 PC(パーソナルコンピューター) 201 インターフェース電源入力部 202 制御CPU 203 光ディスク読み出し部 204 光ディスク 205 インターフェース電源使用設定スイッチ 206 インターフェース電源使用設定判断手段 207 コマンド返信手段 208 インターフェース電源使用可能判断手段 209 インターフェース電源使用可能情報保持手段 210 インターフェース電源使用可否通知手段 211 インターフェース電源使用許可待ち手段 212 光ディスク装置駆動判断手段 213 光ディスク装置駆動手段 DESCRIPTION OF SYMBOLS 101 Optical disk apparatus main body 102 AC adapter 103 Battery 104 PC card (external interface device) 105 PC (personal computer) 201 Interface power supply input unit 202 Control CPU 203 Optical disk readout unit 204 Optical disk 205 Interface power use setting switch 206 Interface power use setting determination means 207 Command return means 208 Interface power availability determination means 209 Interface power availability information holding means 210 Interface power availability availability notification means 211 Interface power usage permission waiting means 212 Optical disk drive drive determination means 213 Optical disk drive drive means

───────────────────────────────────────────────────── フロントページの続き (72)発明者 中村 英仁 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 Fターム(参考) 5B011 DA02 DA06 DB22 DB26 EA02 EB03 EB06 MB11  ────────────────────────────────────────────────── ─── Continued on the front page (72) Inventor Hidehito Nakamura 1006 Kazuma Kadoma, Kadoma-shi, Osaka Matsushita Electric Industrial Co., Ltd. F-term (reference) 5B011 DA02 DA06 DB22 DB26 EA02 EB03 EB06 MB11

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】外部インターフェイスを介して外部に電源
を供給することが可能かどうかを判別するパーソナルコ
ンピュータに接続して使用し、複数の異なる電源から電
力の供給を受けることができる光ディスク装置であっ
て、 パーソナルコンピュータから受信する指令のうち外部イ
ンターフェイスの電源の使用許可をあらわす指令を識別
する駆動判断手段を有し、外部インターフェイスを介し
て電力の供給を受けるときは、前記駆動判断手段の識別
結果を待って装置を駆動することを特徴とする光ディス
ク装置。
An optical disk device which can be connected to a personal computer for determining whether or not power can be supplied to an external device via an external interface and which can receive power from a plurality of different power sources. And a drive judging means for identifying a command indicating permission to use the power supply of the external interface among the commands received from the personal computer, and when power is supplied via the external interface, the identification result of the drive judging means is provided. An optical disk device wherein the device is driven after waiting.
JP11024601A 1999-02-02 1999-02-02 Optical disk unit Pending JP2000222077A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11024601A JP2000222077A (en) 1999-02-02 1999-02-02 Optical disk unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11024601A JP2000222077A (en) 1999-02-02 1999-02-02 Optical disk unit

Publications (1)

Publication Number Publication Date
JP2000222077A true JP2000222077A (en) 2000-08-11

Family

ID=12142685

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11024601A Pending JP2000222077A (en) 1999-02-02 1999-02-02 Optical disk unit

Country Status (1)

Country Link
JP (1) JP2000222077A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002088915A1 (en) * 2001-04-24 2002-11-07 Sony Corporation Information processing apparatus
WO2004061830A2 (en) * 2003-01-04 2004-07-22 Infinite Data Storage Limited Improved optical storage device
JP2005050194A (en) * 2003-07-30 2005-02-24 Matsushita Electric Ind Co Ltd Electronic device and optical disk device
JP2009253390A (en) * 2008-04-01 2009-10-29 Sony Corp Electronic device, communication system, communication method, and program

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002088915A1 (en) * 2001-04-24 2002-11-07 Sony Corporation Information processing apparatus
US6832276B2 (en) 2001-04-24 2004-12-14 Sony Corporation Receiving a reset signal directly from an ATA or ATAPI bus of a host computer without passing through an interface processing unit for termination of a half halted state
WO2004061830A2 (en) * 2003-01-04 2004-07-22 Infinite Data Storage Limited Improved optical storage device
WO2004061830A3 (en) * 2003-01-04 2004-11-18 Infinite Data Storage Ltd Improved optical storage device
GB2412229A (en) * 2003-01-04 2005-09-21 Infinite Data Storage Ltd Improved optical storage device
GB2412229B (en) * 2003-01-04 2006-05-10 Infinite Data Storage Ltd Improved optical storage device
JP2005050194A (en) * 2003-07-30 2005-02-24 Matsushita Electric Ind Co Ltd Electronic device and optical disk device
JP2009253390A (en) * 2008-04-01 2009-10-29 Sony Corp Electronic device, communication system, communication method, and program
JP4535161B2 (en) * 2008-04-01 2010-09-01 ソニー株式会社 Electronic device, communication system, communication method, and program
US8248530B2 (en) 2008-04-01 2012-08-21 Sony Corporation Electronic device, communication system, method of communication, and program

Similar Documents

Publication Publication Date Title
US6385667B1 (en) System for configuring a flash memory card with enhanced operating mode detection and user-friendly interfacing system
US7111085B2 (en) Flash memory card with enhanced operating mode detection and user-friendly interfacing system
US6484216B1 (en) Adaptive computer peripheral with permanently disabled default protocol
EP2551775A1 (en) Printer with universal serial bus interface, method and system for installing driver of printer
US20100077119A1 (en) Method and Devices for Data Transfer
EP2288102A1 (en) Method and system for wireless data communicatiopn in data processing system with a USB interface
US7634649B2 (en) Device initiated mode switching
EP0698240A1 (en) Apparatus and method for automatic recognition and configuration of a peripheral device
US7480905B2 (en) Interface device, and method and computer readable product for updating firmware in the interface device
US20090268743A1 (en) Data transmission bridge device and control chip thereof for transmitting data
US20100082846A1 (en) Usb device and method for connecting the usb device with usb host
US6991173B2 (en) Method and apparatus for autoreset of a USB smart card device in a mute mode
US7044385B2 (en) Apparatus and method for establishing data transfer mode through identification of card insertion
US8250255B2 (en) Two-way connectivity USB control device and operation method thereof
US20040008633A1 (en) Network accessing system for computer and method of controlling the same
US20040243755A1 (en) USB apparatus having dual-function of host and hub, and control method thereof
EP1220149B1 (en) Entertainment device, data processing device and portable storage device
JP2000222077A (en) Optical disk unit
US20020083221A1 (en) Universal disk array controller
US20070198753A1 (en) Method and protocol for transmitting extended commands to USB devices
JP7420961B2 (en) Reader device and its configuration method
US20090031288A1 (en) Ejection failure mechanism
JP2003281477A (en) Electronic appliance, electronic card, and method for card identification
JP2002149623A (en) Microcomputer
CN219590811U (en) Data burning device