JP4483877B2 - Information processing device - Google Patents
Information processing device Download PDFInfo
- Publication number
- JP4483877B2 JP4483877B2 JP2007043948A JP2007043948A JP4483877B2 JP 4483877 B2 JP4483877 B2 JP 4483877B2 JP 2007043948 A JP2007043948 A JP 2007043948A JP 2007043948 A JP2007043948 A JP 2007043948A JP 4483877 B2 JP4483877 B2 JP 4483877B2
- Authority
- JP
- Japan
- Prior art keywords
- information processing
- processing apparatus
- usb
- electronic device
- battery
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 230000010365 information processing Effects 0.000 title claims description 68
- 230000015654 memory Effects 0.000 description 11
- 238000000034 method Methods 0.000 description 10
- 230000008569 process Effects 0.000 description 8
- 230000005856 abnormality Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 7
- 230000002093 peripheral effect Effects 0.000 description 7
- 230000004044 response Effects 0.000 description 5
- 238000003825 pressing Methods 0.000 description 4
- 239000004973 liquid crystal related substance Substances 0.000 description 3
- 230000032258 transport Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000005520 cutting process Methods 0.000 description 1
- 238000010017 direct printing Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000007639 printing Methods 0.000 description 1
Images
Description
本発明は、パーソナルコンピュータ、プリンタ、複合機、コピー機などの情報処理装置に関する。 The present invention relates to an information processing apparatus such as a personal computer, a printer, a multifunction peripheral, and a copier.
従来より、パーソナルコンピュータ(以下「パソコン」という。)、プリンタ、複合機、コピー機などの情報処理装置は、USBデバイスを接続するためのUSBインターフェースを備える。USBは、シリアル・バスでケーブルが細いこと、ハブを用いて周辺機器をツリー接続できること、装置間の接続が容易であることなどの利点を持ち、広く普及している。よって、USBデバイスも、USBメモリのように情報処理装置の周辺機器として動作するものの他に、携帯電話やゲーム機、メディア・プレーヤなどのようにハード・ディスクを内蔵してバッテリ駆動する自走式のものがあり、多様化している。 2. Description of the Related Art Conventionally, information processing apparatuses such as personal computers (hereinafter referred to as “personal computers”), printers, multifunction peripherals, and copiers have a USB interface for connecting USB devices. USB is widely used because it has advantages such as a narrow serial bus cable, the ability to connect peripheral devices in a tree using a hub, and easy connection between devices. Therefore, in addition to devices that operate as peripheral devices for information processing devices such as USB memories, USB devices are self-propelled that are battery-powered with built-in hard disks such as mobile phones, game machines, and media players. Are diversified.
USBデバイスは、情報処理装置の周辺機器として使用するために情報処理装置のUSBインターフェースに接続される他、バッテリに充電するために情報処理装置のUSBインターフェースに接続される。自走式のUSBデバイスは、充電目的で情報処理装置に接続されているときにハード・ディスクをオフすると、情報処理装置の命令に対して回答しない。この場合、情報処理装置は、異常検出し、動作を停止する問題がある。 The USB device is connected to the USB interface of the information processing apparatus for use as a peripheral device of the information processing apparatus, and is connected to the USB interface of the information processing apparatus for charging the battery. A self-propelled USB device does not respond to an instruction of the information processing apparatus when the hard disk is turned off while connected to the information processing apparatus for charging. In this case, there is a problem that the information processing apparatus detects an abnormality and stops its operation.
そこで、特許文献1記載の発明は、情報処理装置の周辺機器として動作する「通常モード」と、周辺機器としての動作を停止して内蔵バッテリへの充電を行う「充電モード」とを選択するモード選択スイッチをUSBデバイスに設け、モード選択スイッチによって選択されたモードに従ってUSBデバイスを動作させる。特許文献1記載の発明は、モード選択スイッチにより「充電モード」が選択されている場合には、USBデバイスが情報処理装置に対する応答をエミュレートするので、情報処理装置が異常検出しない。よって、特許文献1記載の発明では、モード切換スイッチを「充電モード」にしてUSBデバイスを情報処理装置に接続すれば、情報処理装置がUSBデバイスの充電中に異常を誤検出して動作を停止する不具合を回避できる。
Therefore, the invention described in
しかしながら、従来の情報処理装置は、モード選択スイッチを有しないUSBデバイスが充電目的でUSBインターフェースに接続されると、USBデバイスが情報処理装置から出された命令に対して回答しないため、異常検出して動作を停止していた。そのため、従来の情報処理装置は、USBデバイスへの充電中に異常検出して動作停止する不具合を回避できるUSBデバイスの種類が限定されていた。特に、上述したように、USBデバイスの種類が多様化しているため、情報処理装置に充電目的で接続可能なUSBデバイスの種類が限定されることは、不便である。 However, when a USB device that does not have a mode selection switch is connected to the USB interface for charging purposes, the conventional information processing device detects an abnormality because the USB device does not respond to a command issued from the information processing device. Had stopped working. For this reason, conventional information processing apparatuses are limited in the types of USB devices that can avoid the problem of detecting an abnormality and stopping operation during charging of the USB device. In particular, since the types of USB devices are diversified as described above, it is inconvenient to limit the types of USB devices that can be connected to the information processing apparatus for charging purposes.
本発明は、上記問題点を解決するためになされたものであり、接続される電子機器の種類が限定されない情報処理装置を提供することを目的とする。 The present invention has been made to solve the above-described problems, and an object thereof is to provide an information processing apparatus in which the types of electronic devices to be connected are not limited.
本発明に係る情報処理装置は、次のような構成を有している。
(1)バッテリと記憶装置とを内蔵する電子機器が接続される接続手段を備える情報処理装置において、前記情報処理装置と前記電子機器の前記バッテリとを接続する動作モードと、前記情報処理装置と前記電子機器の前記バッテリ及び前記記憶装置とを接続する動作モードを切り替える切替手段と、前記切替手段により前記情報処理装置と前記電子機器の前記バッテリとを接続する動作モードに切り替えられた状態で、前記接続手段に前記電子機器が接続された場合に、前記バッテリの充電のみを行う充電制御手段と、を有する。
The information processing apparatus according to the present invention has the following configuration.
(1) In an information processing apparatus including a connection unit to which an electronic device including a battery and a storage device is connected, an operation mode for connecting the information processing apparatus and the battery of the electronic device, and the information processing apparatus and switching means for switching the operation mode for connecting the battery and the storage device of the electronic device, wherein in a state of being switched to the operation mode for connecting the battery of the information processing apparatus and the electronic apparatus by said switching means, Charge control means for only charging the battery when the electronic device is connected to the connection means.
(2)バッテリを内蔵する電子機器が接続される接続手段を備える情報処理装置において、前記情報処理装置の動作モードを切り替える切替手段と、前記切替手段により前記動作モードが切り替えられた状態で、前記接続手段に前記電子機器が接続された場合に、前記バッテリの充電を行う充電制御手段と、前記接続手段に接続可能な電子機器のうち、認識可能な電子機器を記憶する電子機器記憶手段と、を有し、前記充電制御手段は、前記電子機器記憶手段に記憶されている電子機器が前記接続手段に接続された場合に、前記切替手段により動作モードが切り替えられているときには、前記バッテリの充電のみを行う。 (2) In an information processing apparatus including a connection unit to which an electronic device incorporating a battery is connected, a switching unit that switches an operation mode of the information processing apparatus , and the operation mode is switched by the switching unit, When the electronic device is connected to a connection means , a charging control means for charging the battery; an electronic device storage means for storing a recognizable electronic device among electronic devices connectable to the connection means ; And when the electronic device stored in the electronic device storage unit is connected to the connection unit and the operation mode is switched by the switching unit, the charging control unit charges the battery. Only do.
(3)バッテリを内蔵する電子機器が接続される接続手段を備える情報処理装置において、前記情報処理装置の動作モードを切り替える切替手段と、前記切替手段により前記動作モードが切り替えられた状態で、前記接続手段に前記電子機器が接続された場合に、前記バッテリの充電を行う充電制御手段と、前記接続手段に接続可能な電子機器のうち、認識可能な電子機器を記憶する電子機器記憶手段と、を有し、前記充電制御手段は、前記電子機器記憶手段に記憶されていない電子機器が前記接続手段に接続された場合に、前記切替手段の状態に基づいて充電を行うか否かを判断する。 (3) In an information processing apparatus including a connection unit to which an electronic device incorporating a battery is connected, a switching unit that switches an operation mode of the information processing apparatus , and the operation mode is switched by the switching unit, When the electronic device is connected to a connection means , a charging control means for charging the battery; an electronic device storage means for storing a recognizable electronic device among electronic devices connectable to the connection means ; And the charging control means determines whether or not to charge based on the state of the switching means when an electronic device not stored in the electronic device storage means is connected to the connection means. .
(4)(1)乃至(3)の何れか一つに記載の発明において、前記接続手段に接続された前記電子機器の充電電流値を取得する充電電流値取得手段を有し、前記充電制御手段は、前記充電電流値取得手段が取得した充電電流値に基づいて前記バッテリへの充電を行う。 (4) In the invention according to any one of (1) to (3), the charging control unit includes a charging current value acquisition unit configured to acquire a charging current value of the electronic device connected to the connection unit, The means charges the battery based on the charging current value acquired by the charging current value acquisition means.
(5)(1)乃至(4)の何れか一つに記載の発明において、前記切替手段は、前記情報処理装置を操作する操作部と兼用されるものである。 (5) In the invention according to any one of (1) to (4), the switching unit is also used as an operation unit for operating the information processing apparatus.
(6)(1)乃至(5)の何れか一つに記載の発明において、前記接続手段は、USBインターフェースである。 (6) In the invention according to any one of (1) to (5), the connection means is a USB interface.
本発明の情報処理装置は、情報処理装置の動作モードを切替手段により切り替えた状態で、接続手段に電子機器を接続すると、電子機器のバッテリに充電を行う。このとき、本発明の情報処理装置は、電子機器に何らアクセスしないため、電子機器から応答がないために異常検出して動作を停止することがない。よって、本発明の情報処理装置によれば、接続手段に接続される電子機器の種類が限定されない。 The information processing apparatus of the present invention charges the battery of the electronic device when the electronic device is connected to the connection unit in a state where the operation mode of the information processing device is switched by the switching unit. At this time, since the information processing apparatus of the present invention does not access the electronic device at all, there is no response from the electronic device, so that an abnormality is not detected and the operation is not stopped. Therefore, according to the information processing apparatus of the present invention, the type of electronic device connected to the connection unit is not limited.
また、本発明の情報処理装置は、接続手段に接続する電子機器が認識可能な電子機器である場合には、切替手段により動作モードが切り替えられていれば、バッテリの充電のみを行うので、電子機器自体を操作しなくても、切替手段による動作モードの切替状態によってバッテリの充電目的又は電子機器の利用目的の何れによって電子機器を接続手段に接続したかを認識することができる。 Further, when the information processing apparatus according to the present invention is an electronic device that can be recognized by the electronic device connected to the connection unit, the battery is only charged if the operation mode is switched by the switching unit. Even if the device itself is not operated, it is possible to recognize whether the electronic device is connected to the connection means according to the purpose of charging the battery or the purpose of using the electronic device according to the switching state of the operation mode by the switching means.
また、本発明の情報処理装置は、認識不可能な電子機器であっても、切替手段による動作モードの切替状態によって、バッテリへの充電を行うことができる。 In addition, the information processing apparatus of the present invention can charge the battery depending on the switching state of the operation mode by the switching unit even if the electronic device cannot be recognized.
また、本発明の情報処理装置は、接続手段に接続された電子機器の充電電流値を取得し、取得した充電電流値に基づいてバッテリに充電するので、電子機器への充電を過不足ない充電量で効率良く行うことができる。 Further, the information processing apparatus of the present invention acquires the charging current value of the electronic device connected to the connecting means, and charges the battery based on the acquired charging current value, so that charging to the electronic device is not excessive or insufficient. It can be done efficiently in quantity.
また、本発明の情報処理装置は、情報処理装置を操作する操作部を切替手段と兼用するので、切替手段を別途設ける必要がなく、構成が簡単である。 In addition, the information processing apparatus of the present invention also has a simple configuration because it is not necessary to separately provide a switching unit because an operation unit that operates the information processing apparatus is also used as the switching unit.
また、本発明の情報処理装置は、接続手段がUSBインターフェースであるので、広く普及している各種USBデバイスに適切に対応できる。 In addition, since the information processing apparatus of the present invention has a USB interface as a connection unit, it can appropriately cope with various USB devices that are widely used.
次に、本発明に係る情報処理装置の一実施形態について図面を参照して説明する。 Next, an embodiment of an information processing apparatus according to the present invention will be described with reference to the drawings.
<プリンタの全体構成>
図1は、パーソナルコンピュータ(以下「パソコン」という。)1に接続された「情報処理装置」の一例であるプリンタ11の外観斜視図である。
プリンタ11は、USBケーブル10を介してパソコン1の制御装置2に接続されている。パソコン1は、データを入力する「入力部」となるキーボード4及びマウス5と、データを表示する「表示部」となる液晶ディスプレイ3とが制御装置2に接続している。制御装置2には、CDやフロッピー(登録商標)からデータを読み取るための読取装置7,8や、「電子機器」の一例であるUSBデバイス40が接続されるUSBインターフェース6などが設けられている。
<Overall configuration of printer>
FIG. 1 is an external perspective view of a
The
一方、プリンタ11は、ケーシング12の底部に前面側から給紙トレイ13が着脱可能に装着されている。ケーシング12の上面には、印刷済みの記録用紙が排出される排紙トレイ14が設けられている。
On the other hand, in the
図2は、プリンタ11の内部構造を示す図である。
プリンタ11は、ケーシング12の内部に記録部15が設けられている。記録部15は、ケーシング12の略中央に搬送ベルト16が回転自在に配置されている。搬送ベルト16の下側には、給紙トレイ13が配置され、給紙部17が給紙トレイ13から記録用紙9を1枚ピックアップして搬送ベルト16に搬送する。
FIG. 2 is a diagram illustrating the internal structure of the
In the
搬送ベルト16の上側には、イエロー、マゼンタ、シアン、ブラックのトナーを収容する画像形成ユニット18Y,18M.18C.18Kが搬送ベルト16の搬送方向に沿って配置されている。画像形成ユニット18Y,18M,18C,18Kの下流側には、定着部19が配設されている。記録用紙9は、搬送ベルト16に搬送されながらイエロー、マゼンタ、シアン、ブラックのトナーを供給されて画像を形成され、その画像が定着部19によって熱定着される。定着部19の下流側には、排紙部20が設けられ、画像形成された記録用紙9を排紙トレイ14に排紙する。これらの動作は、制御部21に司られている。
On the upper side of the
図1に戻り、プリンタ11は、排紙トレイ14の側方に操作パネル22が設けられている。図3は、操作パネル22の平面図である。
操作パネル22は、液晶パネルからなる表示部23と、プリンタ11を操作するための操作部26とが設けられている。操作部26は、液晶パネル23の表示を切り替える操作ボタン24と、操作内容を決定させるENTERボタン25とを含んでいる。
Returning to FIG. 1, the
The
さらに、図1に示すように、プリンタ11の前面には、USBデバイス40(「電子機器」の一例)を接続するための「接続手段」の一例であるUSBインターフェース27が設けられている。
Further, as shown in FIG. 1, a
<プリンタの電気ブロック構成>
図4は、プリンタ11の電気ブロック構成を示す図である。
プリンタ11は、制御部21と、記録部15と、操作部26と、表示部23と、メモリ28と、ネットワークインターフェース(以下「ネットワークI/F」という。)29と、USBコントローラ部30とがバス31を介して電気接続されている。
<Electric block configuration of printer>
FIG. 4 is a diagram illustrating an electrical block configuration of the
The
メモリ28は、各種データやプログラムなどを記憶するものである。本実施形態では、プリンタ11のコントロールソフトウエア32や、USBクラスドライバ33、USBホストドライバ34、OS35などがメモリ28に格納されている。OS35とコントロールソフトウエア32とUSBクラスドライバ33は、プリンタ11に初期登録されるものであり、ユーザによる登録はすることができない。
The
制御部21は、USBインターフェース27に接続されたUSBデバイス40のうち、メモリ28に格納されているコントロールソフトウエア32とUSBクラスドライバ33に対応するUSBデバイスのみを認識できる。従って、メモリ28は、「電子機器記憶手段」の一例になり得る。
The
ネットワークI/F29は、他の情報処理装置(例えばパソコン1など)との間で行う通信を制御するものである。
USBコントローラ部30は、パソコン1やUSBインターフェース27(図1参照)に接続されたUSBデバイス40A,40Bをシーケンス制御するものである。
The network I /
The
<USBデバイスの概略構成>
図5は、バスパワータイプのUSBデバイス40Aの概略構成図である。図6は、セルフパワータイプのUSBデバイス40Bの概略構成図である。
USBデバイス40A,40Bは、マイクロプロセッサ41を中心に構成されている。マイクロプロセッサ41には、ROM42とHDD43とが接続し、データの記憶を行う。マイクロプロセッサ41には、USBインターフェース44が接続し、USBケーブル(図示せず)を介してプリンタ11などの情報処理装置に接続される。
<Schematic configuration of USB device>
FIG. 5 is a schematic configuration diagram of a bus power
The
USBデバイス40Aは、バッテリ45を備え、プリンタ11からUSBインターフェース44、マイクロプロセッサ41を介してバッテリ45に電源供給される。また、バッテリ45は、商用電源に接続されて充電することも可能である。
The USB device 40 </ b> A includes a
一方、USBデバイス40Bは、バッテリ45を備えず、電源46を内蔵する点がUSBデバイス40Aと相違する。マイクロプロセッサ41は、電源ON/OFFスイッチ47に接続し、電源ON/OFFスイッチ47の切替により電源46からの電源供給と電源供給停止とを制御する。従って、USBデバイス40Bは、プリンタ11からUSBインターフェース44を介して電源供給されない。
尚、以下の説明においてUSBデバイス40A,40Bを区別する必要がない場合には、添え字を省略してUSBデバイス40という。
On the other hand, the
In the following description, when it is not necessary to distinguish between the
<USBコントローラ部の動作説明>
図7は、USBコントローラ部30の動作手順を示したフローチャートである。図8は、USBコントローラ部30がUSBデバイス40との間で行うコマンド・シーケンスの一例を示す図である。
USBコントローラ部30は、プリンタ11に電源が投入されている間、USBデバイス40の接続を監視し、USBデバイス40の利用又は充電を制御する。尚、USBデバイス40の充電をしたいときは、ENTERボタン25を押下した状態でUSBデバイス40をUSBインターフェース27に接続する必要がある。
<Description of USB controller operation>
FIG. 7 is a flowchart showing an operation procedure of the
The
USBコントローラ部30は、先ずステップ1(以下「S1」と略記する。)において、USBデバイス40がUSBインターフェース27に接続されたか否かを判断する。USBデバイス40がUSBインターフェース27に接続されていないと判断した場合には(S1:NO)、そのまま待機する。
First, in step 1 (hereinafter abbreviated as “S1”), the
一方、USBデバイス40がUSBインターフェース27に接続されたと判断した場合には(S1:YES)、S2において、DESCRIPTER要求を行う。これに対して、USBデバイス40は、図8に示すようにUSBコントローラ部30にDESCRIPTER応答し、通信プロトコルや充電電流値(MaxPower情報)などの情報をUSBコントローラ30に提供する。これにより、USBコントローラ部30は、USBデバイス40の動作や機能を定義付ける。従って、S2の処理は、「充電電流値取得手段」の一例になり得る。
On the other hand, if it is determined that the USB device 40 is connected to the USB interface 27 (S1: YES), a DESCRIPTER request is made in S2. On the other hand, the USB device 40 makes a DESCRIPTER response to the
その後、図7のS3において、USBインターフェース27に接続されるUSBデバイス40がプリンタ11側から電源供給されて動作するバスパワータイプであるか否かを判断する。バスパワータイプか否かは、USBデバイス40をUSBインターフェース27に接続すると同時にUSBインターフェース27からUSBデバイス40に電源供給(例えば100mA以下の電流供給)が行われたか否かに基づいて判断される。
Thereafter, in S3 of FIG. 7, it is determined whether or not the USB device 40 connected to the
例えば、USBインターフェース27に図6に示すUSBデバイス40Bを接続した場合には、バッテリ45がないので、接続と同時に電源供給されず、バスパワーでないと判断する(図7のS3:NO)。この場合には、USBデバイス40Bは、自分用の電源46から電力を供給されるセルフパワータイプであるので、プリンタ11は、USBデバイス40Bに電源供給せずにS5へ進む。
For example, when the
一方、USBインターフェース27に図5に示すUSBデバイス40Aを接続した場合には、接続と同時に、USBインターフェース44からマイクロプロセッサ41を介してバッテリ45に電源供給されるので、バスパワーであると判断する(図7のS3:YES)。この場合には、S4において、DESCRIPTER応答に含まれるMaxPower情報に従い、電源の電流値を充電電流値に調整してUSBデバイス40に供給する。これにより、バッテリ45への充電が開始される。その後、S5へ進む。
On the other hand, when the
図7のS5においては、USBインターフェース27に接続されたUSBデバイス40にSET_ADDRESS要求を行う。すなわち、USBデバイス40に対して、プリンタ11に設けられたアドレスのうち、使われていないアドレスにセットアップすることを要求する。USBデバイス40は、図8に示すように、SET_ADDRESS要求に応答し、プリンタ11の使われていないアドレスにセットアップする。これにより、プリンタ11は、USBインターフェース27に接続されたUSBデバイス40に特定のアドレスを付与する。
In S5 of FIG. 7, a SET_ADDRESS request is made to the USB device 40 connected to the
そして、図7のS6において、USBデバイス40がサポートできるデバイスであるか否かを判断する。サポートできるデバイスであるか否かは、当該USBデバイス40に対応するコントロールソフトウエア32やUSBクラスドライバ33がメモリ28に格納されており、S1〜S5の処理において、USBデバイス40との間でソフト的なやりとりをできたか否かに基づいて判断する。
Then, in S6 of FIG. 7, it is determined whether or not the USB device 40 is a device that can be supported. Whether or not the device can be supported is determined by the
USBデバイス40がサポートデバイスであると判断した場合には(S6:YES)、S7において、デバイス無効指示が有るか否かを判断する。デバイス無効指示の有無は、例えば、USBデバイス40をUSBインターフェース27に接続するときに操作部22に設けられたENTERボタン25を操作しながら接続をしたか否かに基づいて判断する。より具体的には、ユーザがENTERボタン25を押しながらUSBデバイス40をUSBインターフェース27に接続した場合には、デバイス無効指示が有ると判断し、また、ユーザがENTERボタン25を押さずに、USBデバイス40をUSBインターフェース27に接続した場合には、デバイス無効指示が無いと判断する。従って、ENTERボタン25は、プリンタ11の動作モードを切り替える「切替手段」の一例になり得る。
If it is determined that the USB device 40 is a support device (S6: YES), it is determined in S7 whether there is a device invalidation instruction. The presence / absence of a device invalidation instruction is determined based on, for example, whether or not a connection is made while operating the
デバイス無効指示が有ると判断した場合には(S7:有り)、S8において、USBデバイス40がUSBインターフェース27から抜かれて、USBコントローラ部30との接続を切断したか否かを判断する。USBデバイス40との接続を切断していない場合には(S8:NO)、USBデバイス40に電源を供給したまま待機する。
If it is determined that there is a device invalidation instruction (S7: present), in S8, it is determined whether or not the USB device 40 is disconnected from the
従って、USBデバイス40がサポートデバイスであって、デバイス無効指示がある場合には、当該USBデバイス40を利用せずに、USBデバイス40がUSBインターフェース27から抜かれて切断されるまで、バッテリ45への充電のみを行う。
Therefore, if the USB device 40 is a support device and there is a device invalidation instruction, the USB device 40 is not used, and the USB device 40 is disconnected from the
USBデバイス40との接続を切断した場合には(S8:YES)、S9において、切断処理を行う。切断処理では、プリンタ11を通常モードに自動復帰させる。その後、処理を終了する。
When the connection with the USB device 40 is disconnected (S8: YES), a disconnection process is performed in S9. In the cutting process, the
これに対して、USBでバース40がサポートデバイスであって(S6:YES)、デバイス無効指示が無いと判断した場合には(S7:無し)、S10において、通信しているUSBデバイス40に対応するUSBクラスドライバ33(図4参照)をメモリ28から読み出す。そして、S11において、SET_CONFIGRATION要求をUSBデバイス40に行い、ディスクリプタの詳細情報を要求する。この場合、USBデバイス40は、図8に示すようにSET_CONFIGRATION要求に応答し、例えばデバイスのセットアップを完了する。
On the other hand, if the berth 40 is a support device in USB (S6: YES) and it is determined that there is no device invalidation instruction (S7: none), in S10, it corresponds to the communicating USB device 40. The USB class driver 33 (see FIG. 4) to be read is read from the
その後、S12において、USBデバイス40を利用する。例えば、USBデバイス40のHDD43に記憶されている印刷データをUSBコントローラ部30を介してメモリ28に読み込み、記録部15を動作させて印刷データを記録用紙9に印刷する。そして、S13において、USBデバイス40との接続が切断されたか否かを判断する。USBデバイス40との接続が維持されている間は(S13:NO)、S12に戻り、USBデバイス40を利用する。
Thereafter, in S12, the USB device 40 is used. For example, print data stored in the
一方、USBデバイス40との接続が切断されたら(S13:YES)、S9へ進む。S9以降の処理は上述したので説明を省略する。 On the other hand, if the connection with the USB device 40 is disconnected (S13: YES), the process proceeds to S9. Since the processing after S9 has been described above, the description thereof will be omitted.
従って、USBインターフェース27に接続されたUSBドライバ40が、サポートデバイスであって(S6:YES)、且つ、デバイス無効指示が無い場合には(S7:無し)、USBデバイス40を利用してプリンタ11を動作させる。
Therefore, if the USB driver 40 connected to the
ところで、例えば、USBインターフェース27に接続されているUSBデバイス40に対応するコントロールソフトウエア32やUSBクラスドライバ33がメモリ28に記憶されていない場合には、USBデバイス40がサポート可能なデバイスでないと判断する(S6:NO)。この場合には、S14において、デバイス無効指示が有るか否かを判断する。デバイス無効指示の有無は、S7と同様に判断する。
By the way, for example, when the
デバイス無効指示が有ると判断した場合には(S14:有り)、S8以降の処理を行う。簡単に説明すると、USBコントローラ部30は、サポートデバイスでないUSBデバイス40を認識できないものの、バッテリ45への充電のみを行う。バッテリ45への充電は、USBデバイス40がUSBインターフェース27から抜かれて切断されるまで続けられる。USBデバイス40が切断された後は、切断処理して、処理を終了する。
When it is determined that there is a device invalidation instruction (S14: present), the processing after S8 is performed. In brief, the
これに対して、デバイス無効指示が無いと判断した場合には(S14:無し)、S15において、表示部23にエラー表示する。例えば、図9に示すように、「サポート外の製品です。」とのエラーメッセージを表示部23に表示する。また、これと同時に、プリンタ11の動作を制限する。そして、S16において、USBデバイス40への電源供給を停止する。
On the other hand, when it is determined that there is no device invalidation instruction (S14: None), an error is displayed on the
それから、S17において、USBデバイス40との接続が切断されたか否かを判断する。USBデバイス40との接続が維持されている間は(S17:NO)、エラー表示と動作制限を行う。 Then, in S17, it is determined whether or not the connection with the USB device 40 has been disconnected. While the connection with the USB device 40 is maintained (S17: NO), error display and operation restriction are performed.
一方、USBデバイス40との接続が切断された場合には(S17:YES)、S18において、表示部23のエラー表示をクリアし、表示部23を初期画面に戻す。また、動作制限を解除する。その後、S9へ進む。S9以降の処理は、上述したので説明を省略する。
On the other hand, when the connection with the USB device 40 is disconnected (S17: YES), the error display on the
従って、USBインターフェース27に接続されたUSBデバイス40がサポートデバイスでなく(S6:NO)、且つ、デバイス無効指示が無い場合には(S14:NO)、USBデバイスの利用及び充電を行わない。
Therefore, when the USB device 40 connected to the
尚、S6〜S8、S14の処理は、ENTERボタン25により動作モードが切り替えられた状態で、USBインターフェース27にUSBデバイス40が接続された場合に、バッテリ45の充電を行うものであるから、「充電制御手段」の一例になり得る。
Note that the processing of S6 to S8 and S14 is for charging the
<作用効果>
以上説明したように、本実施形態のプリンタ11は、例えば、充電モードと通常動作モードとを切り換えるモード切換スイッチを備えないUSBデバイス40をUSBインターフェース27に接続して充電を行う場合であっても、ENTERボタン25を押してプリンタ11の動作モードを切り替えた状態で、USBインターフェース27にUSBデバイス40を接続すれば、USBデバイス40のバッテリ45に充電を行う(図7のS3:YES、S4、S5、S6:YES、S7:有り、S6:NO、S14:有り参照)。このとき、本実施形態のプリンタ11は、USBデバイス40に何らアクセスしないため、USBデバイス40から応答がないために異常検出して動作を停止させることがない。よって、本実施形態のプリンタ11によれば、USBインターフェース27に接続されるUSBデバイス40の種類が限定されない。
<Effect>
As described above, the
また、本実施形態のプリンタ11は、USBインターフェース27に接続するUSBデバイス40が認識可能なUSBデバイス(サポートデバイス)である場合には、USBインターフェース27にUSBデバイス40を接続する際にENTERボタン25により動作モードが切り替えられていれば、バッテリ45の充電のみを行う(図7のS6:YES、S7:無し参照)。そのため、プリンタ11は、USBデバイス40を操作しなくても、ENTERボタン25による動作モードの切替状態によってバッテリ45の充電目的又はUSBデバイス40の利用目的の何れによってUSBデバイス40をUSBインターフェース27に接続したかを認識することができる。
In the
また、本実施形態のプリンタ11は、USBインターフェース27に接続するUSBデバイス40が認識可能なUSBデバイス(サポートデバイス)でない場合であっても、ENTERボタン25を押しながらUSBデバイス40をUSBインターフェース27に接続することによりプリンタ11の動作モードを切り替えれば、バッテリ45への充電を行うことができる(図7のS6:NO、S14:有り参照)。
Further, in the
また、本実施形態のパソコン11は、USBデバイス40にDESCRIPTER要求を出して、USBインターフェース27に接続されたUSBデバイス40Aの充電電流値を取得し、取得した充電電流値に基づいてバッテリ45に充電するので(図7のS3、S4参照)、USBデバイス40への充電を過不足ない充電量で効率良く行うことができる。
In addition, the
また、本実施形態のプリンタ11は、プリンタ11を操作する操作部26のENTERボタン25を、プリンタ11の動作モード(USBデバイス40に充電する充電モードと、USBデバイス40を利用する利用モード)を切り替えるための「切替手段」と兼用するので、「切替手段」を操作部26に別途設ける必要がなく、構成が簡単である。
Further, the
また、本実施形態のプリンタ11は、USBインターフェース27に接続されるUSBデバイス40の利用と充電を制御するので、広く普及している各種USBデバイスに適切に対応できる。
In addition, since the
尚、本発明の実施の形態について説明したが、本発明は、上記実施の形態に限定されることなく、色々な応用が可能である。
例えば、上記実施の形態では、プリンタ11を「情報処理装置」の一例として説明した。これに対して、複合機やコピー機、ファクシミリ装置を情報処理装置としてもよい。また、USBインターフェース6を備えるパソコン1を情報処理装置としてもよい。パソコン1を情報処理装置として使用する場合、例えば、キーボード4のENTERキーを切替手段と兼用してもよい。
例えば、上記実施形態では、プリンタ11とパソコン1とをUSBケーブル10で接続したが、接続手段は、USBケーブル10に限らず、ネットワークやセントロケーブルであってもよい。
例えば、上記実施形態では、プリンタ11にパソコン1を接続した。これに対して、例えば、デジタルカメラをプリンタ11に接続して、デジタルカメラからプリンタ11に直接印刷データを送信して印刷を実行するダイレクトプリントのように、プリンタ11をパソコン1に接続せずに、プリンタ11(情報処理装置)単独のシステムにしても良い。
Although the embodiments of the present invention have been described, the present invention is not limited to the above-described embodiments, and various applications are possible.
For example, in the above embodiment, the
For example, in the above embodiment, the
For example, in the above embodiment, the
11 プリンタ(情報処理装置)
22 操作部
25 ENTERボタン(切替手段)
27 USBインターフェース(接続手段)
28 メモリ(電子機器記憶手段)
30 USBコントローラ部(充電制御手段、充電電流値取得手段)
40(40A,40B) USBデバイス(電子機器)
45 バッテリ
11 Printer (Information processing device)
22
27 USB interface (connection means)
28 Memory (electronic device storage means)
30 USB controller unit (charging control means, charging current value acquisition means)
40 (40A, 40B) USB device (electronic equipment)
45 battery
Claims (6)
前記情報処理装置と前記電子機器の前記バッテリとを接続する動作モードと、前記情報処理装置と前記電子機器の前記バッテリ及び前記記憶装置とを接続する動作モードを切り替える切替手段と、
前記切替手段により前記情報処理装置と前記電子機器の前記バッテリとを接続する動作モードに切り替えられた状態で、前記接続手段に前記電子機器が接続された場合に、前記バッテリの充電のみを行う充電制御手段と、
を有することを特徴とする情報処理装置。 In an information processing apparatus including a connection unit to which an electronic device including a battery and a storage device is connected,
Switching means for switching between an operation mode for connecting the information processing apparatus and the battery of the electronic device, and an operation mode for connecting the information processing apparatus and the battery and the storage device of the electronic device ;
Wherein in a state of being switched to the operation mode for connecting the battery of the information processing apparatus and the electronic apparatus by said switching means, when the electronic apparatus is connected to said connecting means, charge to perform only charging of the battery Control means;
An information processing apparatus comprising:
前記情報処理装置の動作モードを切り替える切替手段と、
前記切替手段により前記動作モードが切り替えられた状態で、前記接続手段に前記電子機器が接続された場合に、前記バッテリの充電を行う充電制御手段と、
前記接続手段に接続可能な電子機器のうち、認識可能な電子機器を記憶する電子機器記憶手段と、を有し、
前記充電制御手段は、前記電子機器記憶手段に記憶されている電子機器が前記接続手段に接続された場合に、前記切替手段により動作モードが切り替えられているときには、前記バッテリの充電のみを行う
ことを特徴とする情報処理装置。 In an information processing apparatus including a connection unit to which an electronic device including a battery is connected
Switching means for switching the operation mode of the information processing apparatus;
Charge control means for charging the battery when the electronic device is connected to the connection means in a state where the operation mode is switched by the switching means;
Among the electronic apparatus connectable to the connection means comprises an electronic device storage means for storing a recognizable electronic devices, and
The charging control means only charges the battery when the electronic device stored in the electronic device storage means is connected to the connection means and the operation mode is switched by the switching means. An information processing apparatus characterized by the above.
前記情報処理装置の動作モードを切り替える切替手段と、
前記切替手段により前記動作モードが切り替えられた状態で、前記接続手段に前記電子機器が接続された場合に、前記バッテリの充電を行う充電制御手段と、
前記接続手段に接続可能な電子機器のうち、認識可能な電子機器を記憶する電子機器記憶手段と、を有し、
前記充電制御手段は、前記電子機器記憶手段に記憶されていない電子機器が前記接続手段に接続された場合に、前記切替手段の状態に基づいて充電を行うか否かを判断する
ことを特徴とする情報処理装置。 In an information processing apparatus including a connection unit to which an electronic device including a battery is connected
Switching means for switching the operation mode of the information processing apparatus;
Charge control means for charging the battery when the electronic device is connected to the connection means in a state where the operation mode is switched by the switching means;
Among the electronic apparatus connectable to the connection means comprises an electronic device storage means for storing a recognizable electronic devices, and
The charging control unit determines whether or not to charge based on a state of the switching unit when an electronic device not stored in the electronic device storage unit is connected to the connection unit. Information processing apparatus.
前記接続手段に接続された前記電子機器の充電電流値を取得する充電電流値取得手段を有し、
前記充電制御手段は、前記充電電流値取得手段が取得した充電電流値に基づいて前記バッテリへの充電を行う
ことを特徴とする情報処理装置。 In the information processing apparatus according to any one of claims 1 to 3,
Charging current value acquisition means for acquiring a charging current value of the electronic device connected to the connection means;
The information processing apparatus, wherein the charging control unit charges the battery based on a charging current value acquired by the charging current value acquiring unit.
前記切替手段は、前記情報処理装置を操作する操作部と兼用されるものである
ことを特徴とする情報処理装置。 In the information processing apparatus according to any one of claims 1 to 4,
The information processing apparatus, wherein the switching unit is also used as an operation unit that operates the information processing apparatus.
前記接続手段は、USBインターフェースである
ことを特徴とする情報処理装置。 In the information processing apparatus according to any one of claims 1 to 5,
The information processing apparatus, wherein the connection means is a USB interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007043948A JP4483877B2 (en) | 2007-02-23 | 2007-02-23 | Information processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007043948A JP4483877B2 (en) | 2007-02-23 | 2007-02-23 | Information processing device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2008211327A JP2008211327A (en) | 2008-09-11 |
JP4483877B2 true JP4483877B2 (en) | 2010-06-16 |
Family
ID=39787293
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007043948A Expired - Fee Related JP4483877B2 (en) | 2007-02-23 | 2007-02-23 | Information processing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4483877B2 (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4533953B2 (en) * | 2008-12-19 | 2010-09-01 | 株式会社東芝 | Information processing device |
JP5221742B2 (en) * | 2011-11-24 | 2013-06-26 | シャープ株式会社 | Image forming apparatus |
JP2013140486A (en) * | 2012-01-04 | 2013-07-18 | Pioneer Electronic Corp | Information processing device, information processing method, information processing program, and recording medium |
JP5537677B2 (en) * | 2013-01-11 | 2014-07-02 | シャープ株式会社 | Image forming apparatus |
JP5986026B2 (en) * | 2013-03-21 | 2016-09-06 | ルネサスエレクトロニクス株式会社 | Host device, host device control method, and semiconductor device |
JP6046657B2 (en) * | 2014-04-25 | 2016-12-21 | シャープ株式会社 | Image forming apparatus |
US10127181B2 (en) * | 2014-04-30 | 2018-11-13 | Microchip Technology Incorporated | Port disconnect charging function for USB hub |
-
2007
- 2007-02-23 JP JP2007043948A patent/JP4483877B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2008211327A (en) | 2008-09-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4483877B2 (en) | Information processing device | |
JP4488987B2 (en) | Control system, electronic device, and image forming apparatus | |
JP7180413B2 (en) | Information processing device information processing device, information processing device information processing device control method, and program | |
JP6973053B2 (en) | Image processing device, control method of image processing device, and program | |
JP6915344B2 (en) | Image processing device | |
US8743381B2 (en) | Image forming apparatus and display method for a display portion of an image forming apparatus | |
JP4566101B2 (en) | Control system and image forming apparatus | |
JPH02136274A (en) | Image forming system | |
JP2020124035A (en) | Information processor, method for controlling information processor, and program | |
JP2020104453A (en) | Information processing device, method for controlling information processing device and program | |
JP6855876B2 (en) | Image processing device | |
WO2003076199A1 (en) | Printer and printer control method | |
JP7225850B2 (en) | Information processing device, control method for information processing device, and program | |
JP7131380B2 (en) | Information processing device, control method for information processing device, and program | |
JP5451338B2 (en) | Apparatus, apparatus control method, and program | |
JP2018134850A (en) | Composite machine, information display method, and computer program | |
JP5805507B2 (en) | Image processing apparatus and setup method | |
US9924059B2 (en) | Apparatus having power-saving function, method of processing information, and computer program product | |
JP2009278516A (en) | Processing apparatus and control method thereof, and program | |
US11762614B2 (en) | Image forming system including a plurality of image forming apparatuses where the power state is switchable | |
JP2003303083A (en) | Information processor and program which it executes | |
JP6745030B2 (en) | Program for responding to running out of battery while browsing | |
JP2014235705A (en) | Image formation apparatus | |
JP2019116067A (en) | Operating device and printing device | |
JP2013166285A (en) | Electronic apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20091112 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20091215 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100204 |
|
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: 20100302 |
|
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: 20100315 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4483877 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130402 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130402 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140402 Year of fee payment: 4 |
|
LAPS | Cancellation because of no payment of annual fees |