JP4835323B2 - Information processing apparatus, printing apparatus, information processing method, and program - Google Patents
Information processing apparatus, printing apparatus, information processing method, and program Download PDFInfo
- Publication number
- JP4835323B2 JP4835323B2 JP2006226815A JP2006226815A JP4835323B2 JP 4835323 B2 JP4835323 B2 JP 4835323B2 JP 2006226815 A JP2006226815 A JP 2006226815A JP 2006226815 A JP2006226815 A JP 2006226815A JP 4835323 B2 JP4835323 B2 JP 4835323B2
- Authority
- JP
- Japan
- Prior art keywords
- signal
- connection
- information processing
- connection device
- power supply
- 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 46
- 238000003672 processing method Methods 0.000 title claims description 14
- 238000012546 transfer Methods 0.000 claims description 126
- 238000012545 processing Methods 0.000 claims description 17
- 239000003086 colorant Substances 0.000 claims description 5
- 238000000034 method Methods 0.000 description 19
- 238000004891 communication Methods 0.000 description 14
- 230000008569 process Effects 0.000 description 13
- 238000001514 detection method Methods 0.000 description 10
- 230000007246 mechanism Effects 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 230000032258 transport Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 239000003795 chemical substances by application Substances 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000010438 heat treatment Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Information Transfer Systems (AREA)
Description
本発明は、情報処理装置、印刷装置、情報処理方法及びプログラムに関する。 The present invention relates to an information processing apparatus, a printing apparatus, an information processing method, and a program.
従来、情報処理装置としては、USBデバイスが接続されこのデバイスの電源がオンとなると、接続されたUSBデバイスの転送速度を把握すると共にバスリセット信号を発しこのUSBデバイスとの間の通信を開始するものが提案されている(例えば、特許文献1参照)。この特許文献1に記載された装置では、USBデバイスが情報処理装置に接続されたあと、USBデバイスの備えるコントローラの初期化が終了してから、USBデバイスが、電源オン及び転送速度を伝えるD+の信号をプルアップするため、情報処理装置が電源オンを検知してバスリセット信号を発しても、USBデバイス側では既に通信準備が整っており、USBデバイスと情報処理装置との間で正常に通信を開始することができる。
ところで、この特許文献1に記載された情報処理装置では、例えば情報処理装置から電力の供給を受けるUSBデバイスなどが接続されこのUSBデバイスが電源オンとなったときに、何らかの原因で信号の出力が不安定になり、実際はD+側をプルアップした信号を出力しなければならないところ、D−側をプルアップした信号が一瞬だけ先に出力されてしまうことがあった。このような場合は、情報処理装置側では、USBデバイスの対応する転送速度を誤って設定してしまい、その後の通信を正常に行えない場合があった。
By the way, in the information processing apparatus described in
本発明は、このような課題に鑑みなされたものであり、接続された機器に対応する転送速度をより確実に設定することができる情報処理装置、印刷装置、情報処理方法及びプログラムを提供することを目的とする。 The present invention has been made in view of such problems, and provides an information processing apparatus, a printing apparatus, an information processing method, and a program capable of more reliably setting a transfer speed corresponding to a connected device. With the goal.
本発明は、上述の目的を達成するために以下の手段を採った。 The present invention adopts the following means in order to achieve the above-mentioned object.
本発明の情報処理装置は、
接続機器への電力供給線が接続され前記接続機器との間で情報をやりとり可能に接続する接続手段と、
前記接続手段に接続機器が接続されたとき又は前記接続手段に接続されている接続機器のオフ信号を入力したときに前記接続されている接続機器が対応する転送速度に関する第1信号及び第2信号のうちいずれかの信号を前記接続手段を介して前記接続機器から取得する信号取得手段と、
前記オフ信号を入力したときには前記接続手段を介した前記接続機器への電力供給を停止する供給制御手段と、
前記信号取得手段によって取得された信号が前記第1信号であるときには前記接続機器が第1転送速度に対応しているものと判定し、前記信号取得手段によって取得された信号が前記第2信号であるときには前記接続機器が前記第1転送速度と異なる第2転送速度に対応しているものと判定する転送速度判定手段と、
前記信号取得手段によって取得された信号が前記第1信号であるときには、前記供給制御手段が前記オフ信号の入力により前記接続機器への電力供給を停止したとしても前記接続機器の動作可能な状態が維持されるよう又は該状態で前記接続機器のオフ信号を前記信号取得手段及び前記供給制御手段へ出力し、その後前記信号取得手段によって取得された信号を用いて前記転送速度判定手段が判定した判定結果に基づいて前記接続された接続機器との間の転送速度を設定する転送速度設定手段と、
を備えたものである。
The information processing apparatus of the present invention
A connection means for connecting a power supply line to a connected device and connecting the connected device so that information can be exchanged;
When a connection device is connected to the connection means, or when an off signal of the connection device connected to the connection means is input, a first signal and a second signal relating to a transfer rate corresponding to the connection device connected Signal acquisition means for acquiring any of the signals from the connection device via the connection means,
Supply control means for stopping power supply to the connection device via the connection means when the off signal is input;
When the signal acquired by the signal acquisition means is the first signal, it is determined that the connected device is compatible with the first transfer rate, and the signal acquired by the signal acquisition means is the second signal. Transfer speed determination means for determining that the connected device is compatible with a second transfer speed different from the first transfer speed;
When the signal acquired by the signal acquisition unit is the first signal, even if the supply control unit stops the power supply to the connection device due to the input of the off signal, the connected device is operable. The determination that the transfer speed determination means determines using the signal acquired by the signal acquisition means after that the connected device off signal is output to the signal acquisition means and the supply control means so as to be maintained or in this state A transfer rate setting means for setting a transfer rate between the connected devices based on the result; and
It is equipped with.
この情報処理装置では、接続手段に接続機器が接続されたとき又は接続手段に接続されている接続機器のオフ信号を入力したときに、この接続されている接続機器の対応する転送速度に関する第1信号及び第2信号のうちいずれかの信号を接続手段を介して取得し、オフ信号を入力したときには接続機器への電力の供給を停止し、取得した信号が第1信号であるときには接続機器が第1転送速度に対応しているものと判定し、取得した信号が第2信号であるときには接続機器が前記第1転送速度と異なる第2転送速度に対応しているものと判定し、取得した信号が第1信号であるときには接続機器への電力供給を停止したとしても接続機器の動作可能な状態が維持されるよう又はそのような状態で接続機器へのオフ信号を出力し、その後、取得した信号を用いて判定した判定結果に基づいて接続された接続機器との間の転送速度を設定する。即ち、第1信号を取得したときには、接続機器の動作可能な状態が維持されるよう又はそのような状態でオフ信号を出力し、接続機器から転送速度に関する信号を再取得し、再取得した信号に基づいて接続された接続機器との間の転送速度を設定するのである。このように、接続機器の動作可能な状態が維持される状態でオフ信号を出力することにより再度同じ信号が出力されるのを抑制し、接続機器から出力された信号を再確認するため、接続された機器に対応する転送速度をより確実に設定することができる。ここで、「接続機器が対応する転送速度に関する第1信号」は、第2信号よりも取得する頻度の低い信号であるものとしてもよいし、取得する予定のない信号であるものとしてもよい。こうすれば、取得する可能性の低い第1信号が正しいものか否かを確認することができる。 In this information processing apparatus, when a connection device is connected to the connection unit or when an off signal of the connection device connected to the connection unit is input, the first transfer rate corresponding to the connection device connected is first. One of the signal and the second signal is acquired via the connection means, and when the off signal is input, the supply of power to the connected device is stopped, and when the acquired signal is the first signal, the connected device It is determined that it corresponds to the first transfer rate, and when the acquired signal is the second signal, it is determined that the connected device is compatible with a second transfer rate different from the first transfer rate, and acquired. When the signal is the first signal, even if the power supply to the connected device is stopped, the operable state of the connected device is maintained or the off signal is output to the connected device in such a state. Setting the transfer speed between the connected connection device based on the determined determination result using the signal. That is, when the first signal is acquired, an off signal is output so that the operable state of the connected device is maintained, or in such a state, a signal related to the transfer speed is reacquired from the connected device, and the reacquired signal is acquired. The transfer speed between the connected devices is set based on the above. In this way, it is possible to suppress the output of the same signal again by outputting the off signal while the operable state of the connected device is maintained, and to reconfirm the signal output from the connected device. The transfer rate corresponding to the selected device can be set more reliably. Here, the “first signal related to the transfer rate supported by the connected device” may be a signal that is acquired less frequently than the second signal, or may be a signal that is not scheduled to be acquired. In this way, it is possible to confirm whether or not the first signal that is unlikely to be acquired is correct.
本発明の情報処理装置において、前記転送速度設定手段は、前記接続機器の動作可能な状態が維持されるよう前記接続機器へのオフ信号を出力するに際して、前記供給制御手段が前記オフ信号の入力により前記接続機器への電力供給を停止したとしても前記接続機器が動作可能である所定時間だけ前記接続手段に接続された接続機器へのオフ信号を前記信号取得手段及び前記供給制御手段へ出力するものとしてもよい。こうすれば、比較的簡単に接続機器の動作可能な状態が維持される状態で接続機器から転送速度に関する信号を再取得することができる。 In the information processing apparatus of the present invention, when the transfer rate setting unit outputs an off signal to the connected device so that the operable state of the connected device is maintained, the supply control unit inputs the off signal. Even if the power supply to the connection device is stopped by the above, an off signal to the connection device connected to the connection means is output to the signal acquisition means and the supply control means for a predetermined time during which the connection device is operable. It may be a thing. By so doing, it is possible to reacquire a signal relating to the transfer rate from the connected device while maintaining the operable state of the connected device relatively easily.
本発明の情報処理装置において、前記接続手段は、前記供給制御手段が前記オフ信号を入力し前記接続機器への電力の供給を停止しようとしても前記接続機器への電力供給が停止しないよう前記供給制御手段が制御する電力供給線とは別の電力供給線により電力が供給されているものとしてもよい。こうすれば、確実に接続機器の動作可能な状態が維持される状態で接続機器から転送速度に関する信号を再取得することができる。 In the information processing apparatus according to the aspect of the invention, the connection unit may prevent the supply of power to the connection device from being stopped even if the supply control unit inputs the off signal and stops supply of power to the connection device. The power may be supplied by a power supply line different from the power supply line controlled by the control means. In this way, it is possible to re-acquire a signal related to the transfer rate from the connected device in a state where the operable state of the connected device is reliably maintained.
本発明の情報処理装置において、前記接続手段は、前記接続機器としてのUSB機器と接続可能であり、前記転送速度判定手段は、前記信号取得手段が前記接続された接続機器から前記第2信号を取得したときには前記USB機器が前記第1転送速度よりも高速である第2転送速度に対応しているものと判定するものとしてもよい。USB機器は、情報処理装置に接続され、情報処理装置から電力供給を受けると共に情報の入出力を行うことが多いため、本発明を適用する意義が高い。また、より確実に第1転送速度よりも高速な第2転送速度に設定することができる。 In the information processing apparatus according to the aspect of the invention, the connection unit may be connected to a USB device as the connection device, and the transfer speed determination unit may receive the second signal from the connection device to which the signal acquisition unit is connected. When acquired, the USB device may be determined to be compatible with a second transfer speed that is higher than the first transfer speed. A USB device is connected to an information processing apparatus, receives power supply from the information processing apparatus, and frequently inputs and outputs information, and therefore, the significance of applying the present invention is high. In addition, it is possible to set the second transfer speed higher than the first transfer speed more reliably.
本発明の情報処理装置において、前記転送速度設定手段は、前記接続手段を介して供給された電力によって動作する前記接続機器が該接続手段へ接続されたあと、前記信号取得手段によって取得された信号が前記第1信号であるときには、前記供給制御手段が前記オフ信号の入力により前記接続機器への電力供給を停止したとしても前記接続機器の動作可能な状態が維持されるよう又は該状態で前記接続機器へのオフ信号を前記信号取得手段及び前記供給制御手段へ出力するものとしてもよい。接続手段から供給された電力で動作する接続機器の接続時には、この接続機器の電力状態などが安定せずノイズなどの信号が出力されることが多い。ここでは、接続手段から供給された電力で動作する接続機器が接続されたときに接続機器から転送速度に関する信号を再取得するため、接続された機器に対応する転送速度を効率よくより確実に設定することができる。 In the information processing apparatus of the present invention, the transfer rate setting means may be configured such that the signal acquired by the signal acquisition means after the connection device that operates with the power supplied via the connection means is connected to the connection means. Is the first signal, the supply control means maintains the operable state of the connected device even if the supply control means stops the power supply to the connected device due to the input of the off signal. An off signal to the connected device may be output to the signal acquisition unit and the supply control unit. When connecting a connection device that operates with the power supplied from the connection means, the power state of the connection device is not stable and a signal such as noise is often output. Here, when a connected device that operates with the power supplied from the connection means is connected, a transfer speed signal is re-acquired from the connected device, so the transfer rate corresponding to the connected device is set more efficiently and reliably. can do.
本発明の印刷装置は、上述したいずれかに記載の情報処理装置と、着色剤を用いて印刷媒体へ画像を印刷可能な印刷処理手段と、前記情報処理装置から取得した情報に基づいて画像を印刷媒体へ印刷するよう前記印刷処理手段を制御する印刷制御手段と、を備えたものである。印刷装置は、外部記憶装置(例えばUSBメモリやメモリカード)などの接続機器と接続し情報を取得して印刷することが多いため、本発明を適用する意義が高い。 The printing apparatus of the present invention includes an information processing apparatus according to any one of the above, a print processing unit capable of printing an image on a print medium using a colorant, and an image based on information acquired from the information processing apparatus. Print control means for controlling the print processing means to print on a print medium. Since a printing apparatus is often connected to a connected device such as an external storage device (for example, a USB memory or a memory card) to acquire information for printing, it is highly meaningful to apply the present invention.
本発明の情報処理方法は、
接続機器への電力供給線が接続され前記接続機器との間で情報をやりとり可能に接続する接続手段、を備えた情報処理装置を利用した情報処理方法であって、
(a)前記接続手段に接続機器が接続されたとき又は前記接続手段に接続されている接続機器のオフ信号を入力したときに前記接続されている接続機器の対応する転送速度に関する第1信号及び第2信号のうちいずれかの信号を前記接続手段を介して前記接続機器から取得するステップと、
(b)前記オフ信号を入力したときには前記接続手段を介した前記接続機器への電力供給を停止するステップと、
(c)前記ステップ(a)で取得した信号が前記第1信号であるときには前記接続機器が第1転送速度に対応しているものと判定し、前記ステップ(b)で取得した信号が前記第2信号であるときには前記接続機器が前記第1転送速度と異なる第2転送速度に対応しているものと判定するステップと、
(d)前記ステップ(a)で取得した信号が前記第1信号であるときには、前記ステップ(b)で前記オフ信号の入力により前記接続機器への電力供給を停止したとしても前記接続機器の動作可能な状態が維持されるよう又は該状態で前記接続機器のオフ信号を出力し、その後前記ステップ(a)で取得した信号を用いて前記ステップ(c)で判定した判定結果に基づいて前記接続された接続機器との間の転送速度を設定するステップと、
を含むものである。
The information processing method of the present invention includes:
An information processing method using an information processing apparatus including a connection unit that is connected to a power supply line to a connection device and is capable of exchanging information with the connection device,
(A) when a connection device is connected to the connection means or when an off signal of the connection device connected to the connection means is input, a first signal relating to a transfer rate corresponding to the connected connection device; Acquiring any one of the second signals from the connection device via the connection means;
(B) stopping the power supply to the connection device via the connection means when the off signal is input;
(C) When the signal acquired in step (a) is the first signal, it is determined that the connected device is compatible with the first transfer rate, and the signal acquired in step (b) is the first signal. Determining that the connected device is compatible with a second transfer rate different from the first transfer rate when there are two signals;
(D) When the signal acquired in the step (a) is the first signal, the operation of the connected device is performed even if the power supply to the connected device is stopped by the input of the off signal in the step (b). Based on the determination result determined in the step (c) using the signal acquired in the step (a) after the off signal of the connected device is output so that the possible state is maintained or in the state Setting a transfer speed with the connected device,
Is included.
この情報処理方法では、接続手段に接続機器が接続されたとき又は接続手段に接続されている接続機器のオフ信号を入力したときに、この接続されている接続機器の対応する転送速度に関する第1信号及び第2信号のうちいずれかの信号を接続手段を介して取得し、オフ信号を入力したときには接続機器への電力の供給を停止し、取得した信号が第1信号であるときには接続機器が第1転送速度に対応しているものと判定し、取得した信号が第2信号であるときには接続機器が前記第1転送速度と異なる第2転送速度に対応しているものと判定し、取得した信号が第1信号であるときには接続機器への電力供給を停止したとしても接続機器の動作可能な状態が維持されるよう又はそのような状態で接続機器へのオフ信号を出力し、その後、取得した信号を用いて判定した判定結果に基づいて接続された接続機器との間の転送速度を設定する。即ち、第1信号を取得したときには、接続機器の動作可能な状態が維持されるよう又はそのような状態でオフ信号を出力し、接続機器から転送速度に関する信号を再取得し、再取得した信号に基づいて接続された接続機器との間の転送速度を設定するのである。このように、接続機器の動作可能な状態が維持される状態でオフ信号を出力することにより再度同じ信号が出力されるのを抑制し、接続機器から出力された信号を再確認するため、接続された機器に対応する転送速度をより確実に設定することができる。なお、この情報処理方法において、上述した情報処理装置の種々の態様を採用してもよいし、また、上述した情報処理装置の各機能を実現するようなステップを追加してもよい。 In this information processing method, when the connection device is connected to the connection means or when an off signal of the connection device connected to the connection means is input, the first transfer rate corresponding to the connection device connected is first. One of the signal and the second signal is acquired via the connection means, and when the off signal is input, the supply of power to the connected device is stopped, and when the acquired signal is the first signal, the connected device It is determined that it corresponds to the first transfer rate, and when the acquired signal is the second signal, it is determined that the connected device is compatible with a second transfer rate different from the first transfer rate, and acquired. When the signal is the first signal, even if the power supply to the connected device is stopped, the operable state of the connected device is maintained or the off signal is output to the connected device in such a state. Setting the transfer speed between the connected connection device based on the determined determination result using the signal. That is, when the first signal is acquired, an off signal is output so that the operable state of the connected device is maintained, or in such a state, a signal related to the transfer speed is reacquired from the connected device, and the reacquired signal is acquired. The transfer speed between the connected devices is set based on the above. In this way, it is possible to suppress the output of the same signal again by outputting the off signal while the operable state of the connected device is maintained, and to reconfirm the signal output from the connected device. The transfer rate corresponding to the selected device can be set more reliably. In this information processing method, various aspects of the information processing apparatus described above may be adopted, and steps for realizing each function of the information processing apparatus described above may be added.
本発明のプログラムは、上述した情報処理方法の各ステップを1又は複数のコンピュータに実現させるためのものである。このプログラムは、コンピュータが読み取り可能な記録媒体(例えばハードディスク、ROM、FD、CD、DVDなど)に記録されていてもよいし、伝送媒体(インターネットやLANなどの通信網)を介してあるコンピュータから別のコンピュータへ配信されてもよいし、その他どのような形で授受されてもよい。このプログラムを一つのコンピュータに実行させるか又は複数のコンピュータに各ステップを分担して実行させれば、上述した情報処理方法の各ステップが実行されるため、情報処理方法と同様の作用効果が得られる。 The program of the present invention is for causing one or more computers to realize each step of the information processing method described above. This program may be recorded on a computer-readable recording medium (for example, hard disk, ROM, FD, CD, DVD, etc.), or from a computer via a transmission medium (communication network such as the Internet or LAN). It may be distributed to another computer, or may be exchanged in any other form. If this program is executed by a single computer or if each step is shared and executed by a plurality of computers, each step of the information processing method described above is executed, so that the same effect as the information processing method can be obtained. It is done.
次に本発明を具現化した一実施形態について図面を用いて説明する。図1は、本発明の一例を表すプリンタ20の構成の概略を示す構成図である。本実施形態のプリンタ20は、装置全体の制御を司るメインコントローラ21と、例えば電気通信回線としてのLANに接続された外部機器との間で情報の送受信が可能なネットワークインターフェース(I/F)26と、記録紙Sへ画像を印刷するプリンタ部30と、周辺機器としてのUSBデバイスとの接続及び接続解除可能であると共に装着されたメモリカード50や光ディスク(DVD−RWやDVD−RAMなど)と情報のやりとりを行うUSB装置40と、を備えている。メインコントローラ21は、CPU22を中心とするマイクロプロセッサとして構成されており、各種処理プログラムを記憶したROM23と、一時的にデータを記憶したりデータを保存したりするRAM24と、を備えている。このメインコントローラ21は、バス28を介してプリンタASIC32などと接続されている。RAM24には、印刷データを格納する図示しない印刷バッファ領域などが設けられている。
Next, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a configuration diagram showing an outline of the configuration of a printer 20 representing an example of the present invention. The printer 20 of the present embodiment includes a network interface (I / F) 26 that can transmit and receive information between a
プリンタ部30は、プリンタ機構31と、プリンタASIC(Application Specific Integrated Circuit)32とを備えている。プリンタ機構31は、ブラック・シアン・マゼンタ・イエローなど各色のインクを個別に収容したインクカートリッジ34と、インクカートリッジ34から供給された各インクに圧力をかける圧力発生部35と、圧力発生部35で加圧されたインクを記録紙Sに吐出するインク吐出口36と、記録紙Sを搬送する搬送ローラ38とを備えている。圧力発生部35は、圧電素子に電圧をかけることによりこの圧電素子を変形させてインクを加圧する方式を採用している。なお、この圧力発生部35は、発熱抵抗体(例えばヒータなど)に電圧をかけインクを加熱して発生した気泡によりインクを加圧する方式を採用してもよい。プリンタASIC32は、プリンタ機構31を制御する機能を備えたICチップであり、RAM24に設けられた印刷バッファ内の印刷データをラスタデータに展開し該展開した展開データを記録紙Sに印刷するようにプリンタ機構31を制御するものである。
The
USB装置40は、ポート1〜4を有するHUB41と、携帯用の記憶媒体であるメモリカード50を装着部としてのスロット42aへ装着・取外し可能であるカードリーダ42と、例えばUSBメモリ47や外部記憶装置(例えば外付けHDD)などのUSBデバイスが接続可能な外部接続端子46と、DVD−RWなどの光ディスクにデータを書き込み消去可能なドライブである内蔵ドライブ48と、USB装置40の全体を制御するUSBホストコントローラ40aと、USBホストコントローラ40aとCPU22とがアクセス可能であり一時的に情報を記憶可能な共有メモリ49と、を備えている。HUB41は、HUB41を制御するHUBコントローラ41aを備えており、ポート1にカードリーダ42が接続され、ポート2に外部接続端子46が接続され、ポート3に内蔵ドライブ48が接続され、ポート4は空きポートとなっており、これら接続された機器とUSBホストコントローラ40aとの間の情報のやりとりを仲介する機器である。HUBコントローラ41aは、外部接続端子46へUSBデバイスが新たに接続されたときには、このUSBデバイスの対応する転送速度に関する信号を取得し、USBホストコントローラ40aからUSBデバイスが接続されているポートへ電力供給停止の指令を受けると、そのポートへの電力供給を停止し、そのポートの転送速度の情報(スピード情報)をリセットすると共にそのポートに接続されたUSBデバイスの対応する転送速度に関する信号を取得する機能を有している。また、HUBコントローラ41aは、取得した信号に基づいて、HUB41に接続されたUSBデバイスがフルスピードに対応しているか、ロースピードに対応しているかを検出したり、HUB41へのUSBデバイスの接続やHUB41からのUSBデバイスの接続解除を監視したりする機能を有している。このHUB41とUSBホストコントローラ40aとの間には、HUB41の各ポートに接続された機器へUSBホストコントローラ40aから電力を供給する電力供給ライン(VBUS)や「D+」信号を送信する「D+」信号ライン,「D−」信号を送信する「D−」信号ライン,グランド電位に接続されたGNDラインの4本のラインが接続されている。また、HUB41のポート1とカードリーダ42と、HUB41のポート3と内蔵ドライブ48との間にも同様に各ポートごとに電力供給ラインや「D+」信号ライン,「D−」信号ライン,GNDラインの4本のラインが接続されている。外部接続端子46には、HUB41のポート2からの「D+」信号ライン,「D−」信号ライン,GNDラインの3本のラインが接続されていると共に、HUB41のポート4からの電力供給ラインが接続されている。したがって、USBホストコントローラ40aからの指令を受けてHUBコントローラ41aがポート2への電力供給の停止を実行したとしても、外部接続端子46に接続されたUSBデバイスへポート4から電力が供給されるようになっている。なお、実際にポート2へ接続されたUSBデバイスへの電力供給を停止したい場合、USBホストコントローラ40aは、ポート4に対して電力供給を停止する指令をHUBコントローラ41aへ出力させればよい。
The
次に、こうして構成された本実施形態のプリンタ20の動作、まず、外部接続端子46に新たにUSBデバイスが接続されたときの動作について説明する。図2は、USBホストコントローラ40aによって実行される転送速度設定処理ルーチンの一例を示すフローチャートであり、図3がHUBコントローラ41aによって実行される転送速度検出処理ルーチンの一例を示すフローチャートである。USB装置40では、外部接続端子46へ接続されたUSBデバイスの対応する転送速度をHUBコントローラ41aが検出し、この検出結果をもとにこのUSBデバイスとの間の通信速度をUSBホストコントローラ40aが設定する。まず、USBホストコントローラ40aにより実行される転送速度設定処理ルーチンから説明する。このルーチンは、USBホストコントローラ40aに記憶され、プリンタ20の電源がオンされたあと繰り返し実行される。
Next, the operation of the printer 20 of this embodiment configured as described above, first, the operation when a USB device is newly connected to the
このルーチンを実行すると、まず、USBホストコントローラ40aは、新たにUSBデバイスが外部接続端子46へ接続されたか否かを判定する(ステップS100)。この新たにUSBデバイスが外部接続端子46へ接続されたか否かの判定は、HUBコントローラ41aの図示しないメモリに記憶された接続情報をポーリングすることにより入力して行うものとした。新たにUSBデバイスが外部接続端子46へ接続されていないと判定されたときには、そのままこのルーチンを終了し、新たにUSBデバイスが外部接続端子46へ接続されたと判定されたときには、ポートリセット実行指令をHUB41へ出力する(ステップS110)。このポートリセット実行指令は、USBデバイスが接続されたポート(ここではポート2)の初期化を行う指令である。なお、このポートリセット実行指令を受けたHUBコントローラ41aは、指定されたポート(ここではポート2)のリセットを実行する。次に、HUBコントローラ41aのメモリに記憶されたスピード情報を取得し(ステップS120)、取得したスピード情報を用いて、接続されたUSBデバイスの対応する転送速度を判定する(ステップS130)。このスピード情報は、後述する図3の転送速度検出処理ルーチンでHUBコントローラ41aが検出して記憶する、ポートに接続されたUSBデバイスの転送速度に関する情報であり、上記ポートリセットによってもリセットされずポートリセット前の値が保持されるものとした。また、USBホストコントローラ40aからHUBコントローラ41aへの新たなUSBデバイスの接続検出のポーリングには比較的長い間隔(例えば数秒など)があるため、新たに接続されたUSBデバイスのスピード情報は、ステップS110でのポートリセット実行指令の出力時には、後述する転送速度検出処理ルーチンで既にHUBコントローラ41aに記憶されているものとした。さて、接続されたUSBデバイスの対応する転送速度がフルスピードであると判定されたときには、このUSBデバイスとの間の通信速度をフルスピード通信に設定し(ステップS140)、このルーチンを終了する。
When this routine is executed, the
一方、接続されたUSBデバイスの対応する転送速度がロースピードであると判定されたときには、接続されたポート2の電力供給のオフ・オン指令をHUBコントローラ41aへ出力する(ステップS150)。この電力供給のオフ・オン指令については後述する。続いて、ポートリセット実行指令をHUBコントローラ41aへ出力し(ステップS160)、ポートリセット前にHUBコントローラ41aのメモリに記憶されたスピード情報を取得し(ステップS170)、接続されたUSBデバイスの対応する転送速度を再度調べる(ステップS180)。接続されたUSBデバイスの対応する転送速度がフルスピードであると判定されたときには、このUSBデバイスとの間の通信速度をフルスピード通信に設定し(ステップS140)、このルーチンを終了する。一方、接続されたUSBデバイスの対応する転送速度がロースピードであると判定されたときには、検出結果が正しいものとして、このUSBデバイスとの間の通信速度をロースピード通信に設定し(ステップS190)、このルーチンを終了する。
On the other hand, when it is determined that the corresponding transfer speed of the connected USB device is low speed, the power supply off / on command of the
ここで、ステップS120〜S190の処理について説明する。USB装置40では、ロースピードのみに対応するUSBデバイス(例えばマウスやキーボードなど)の接続についてもサポートされているが、このような機器が外部接続端子46へ接続されることは予定されていない。このように、ロースピードデバイスが外部接続端子46へ接続されたと判定されたときには、外部接続端子46を介して電力供給を得て動作するフルスピードデバイスであるUSBメモリ47などがUSBデバイスとして外部接続端子46へ接続されたときに、ノイズなどが出力されて誤判定した可能性がある。また、HUBコントローラ41aは、指定されたポートのオフ指令を受けるとそのポートのスピード情報をリセットしこのスピード情報を再取得する機能を有している。このため、ポート2に対して電力供給を停止する指令を出力し、HUBコントローラ41aにUSBデバイスの対応する転送速度を再度検出させるのである。
Here, the processing of steps S120 to S190 will be described. Although the
次に、HUBコントローラ41aにより実行される転送速度検出処理ルーチンについて説明する。このルーチンは、HUBコントローラ41aに記憶され、プリンタ20の電源がオンされたあと繰り返し実行される。このルーチンを開始すると、HUBコントローラ41aは、新たにUSBデバイスが外部接続端子46へ接続されたか否かを判定する(ステップS200)。この新たにUSBデバイスが外部接続端子46へ接続されたか否かの判定は、所定間隔でポート2をポーリングにより確認して検出するものとした。新たにUSBデバイスが外部接続端子46へ接続されたと判定されたときには、接続されたUSBデバイスの対応する転送速度に関する信号(「D+」がオン又は「D−」がオン)を取得し(ステップS210)、取得した信号を調べる(ステップS220)。ここでは、「D+」信号ラインの「D+」信号がオンであるときにフルスピード信号を取得したものと判定し、「D−」信号ラインの「D−」信号がオンであるときにロースピード信号を取得したものと判定する。続いて、フルスピード信号を取得したと判定されたときには、USBデバイスが対応する転送速度がフルスピードであると検出し(ステップS230)、ロースピード信号を取得したと判定されたときには、USBデバイスが対応する転送速度がロースピードであると検出する(ステップS240)。ステップS240のあと、又は、ステップS230のあと、USBデバイスのスピード情報を図示しないHUBコントローラ41aのメモリに記憶させる(ステップS250)。
Next, a transfer rate detection processing routine executed by the
ステップS250のあと、または、ステップS200で新たにUSBデバイスが外部接続端子46へ接続されていないと判定されたあと、上述の転送速度設定処理ルーチンのステップS150で出力されたポート2の電力供給のオフ・オン指令をUSBホストコントローラ40aから入力したか否かを判定し(ステップS260)、ポート2の電力供給のオフ・オン指令をUSBホストコントローラ40aから入力していないと判定されたときには、そのままこのルーチンを終了する。
After step S250, or after it is determined in step S200 that a new USB device is not connected to the
一方、ポート2の電力供給のオフ・オン指令をUSBホストコントローラ40aから入力したと判定されたときには、指令されたポート2への電力供給のオフ・オンを実行し(ステップS270)、指令されたポートのスピード情報をHUBコントローラ41aのメモリからクリアし(ステップS280)、接続されたUSBデバイスの対応する転送速度に関する信号を再度取得し(ステップS210)、接続されたUSBデバイスからロースピード信号を取得したか、フルスピード信号を取得したかを再度判定する(ステップS220)。ステップS270では、HUBコントローラ41aはポート2に対する電力供給をオフするが、外部接続端子46への電力供給ラインがポート4に接続されているため、このステップS210での処理は、外部接続端子46に接続されたUSBメモリ47には電力が供給されている状態で、このUSBメモリ47の対応する転送速度に関する信号をUSBメモリ47から取得する処理となる。ここで、外部接続端子46に接続されたUSBメモリ47に電力が供給されている状態が維持されるため、電力供給のオフ・オンによりUSBデバイスの接続時と同様にノイズなどが出力されてしまうのを抑制可能である。このように、USBホストコントローラ40aからポート2の電力供給のオフ・オン指令を入力したときには、形式的にポート2の電力供給をオフし、HUBコントローラ41aが外部接続端子46に接続されたUSBデバイスから転送速度に関する信号を再取得し、このデバイスがサポートする転送速度を検出し直すのである。
On the other hand, when it is determined that the power supply off / on command for the
最後に、図4に示す、USBホストコントローラ40aとUSBメモリ47との間の転送速度を設定する処理をタイミングチャートを用いて説明する。図4は、転送速度を設定する処理のタイミングチャートである。なお、図2の転送速度設定処理ルーチン及び図3の転送速度検出処理ルーチンに示したステップ番号と同一のステップ番号を以下の説明で用いる。ここでは、外部接続端子46からの電力供給を得て動作するフルスピードデバイスであるUSBメモリ47がUSBデバイスとして外部接続端子46へ接続された場合について説明する。外部接続端子46へUSBメモリ47が接続されると、HUBコントローラ41aは、それを検知し、USBメモリ47が対応する転送速度に関する信号(「D+」がオン又は「D−」がオン)をUSBメモリ47から取得する(時刻t1)。ここで、USBメモリ47が接続されたときに、実際は「D+」のオン信号をUSBメモリ47が出力するはずが、ノイズなどにより「D−」のオン信号が先に出力されてしまうことがある(時刻t1〜t2)。この場合、HUBコントローラ41aは、USBメモリ47がロースピードデバイスであると誤検出してしまう(ステップS240)。この直後にUSBホストコントローラ40aがポートリセット実行指令を出力し(ステップS110)、これを受けたHUBコントローラ41aがポートリセットを実行する(時刻t3)。続いて、USBホストコントローラ40aが、接続の予定されていないロースピードデバイスが接続されたものと判定し(ステップS130)、ポート2へ電力供給のオフ・オン指令を出力し(ステップS150,時刻t4)、USBメモリ47の対応する転送速度の検出を再度促す。これを受けたHUBコントローラ41aがポート2へ電力供給のオフ・オンを実行する(ステップS270,時刻t4)。このとき、実際にはポート4からの電力供給があり電力供給がオフされないため、USBメモリ47でのノイズの発生などが抑えられた状態で再度転送速度の検出が行われる。したがって、HUBコントローラ41aは、USBメモリ47がフルスピードデバイスであると正しく検出可能である(ステップS230)。そして、USBホストコントローラ40aがポートリセット実行指令を行い(ステップS160)、これを受けたHUBコントローラ41aがポートリセットを実行し(時刻t5)、USBホストコントローラ40aがフルスピードデバイスが接続されたものと判定し(ステップS170)、バス状態をフルスピード通信に設定し(ステップS140,時刻t6)、この処理を終了する。なお、再度の転送速度の検出によってもロースピードデバイスが接続されたものと判定されたときには、バス状態をロースピード通信に設定する(ステップS180)。このように、接続が予定されていないロースピードデバイスの接続が検出されたときには、形式的にポート2の電力供給をオフし、接続されたデバイスの転送速度を再検出するのである。
Finally, the process of setting the transfer speed between the
その後、このように設定された転送速度により、ユーザの指示に基づいて、USBメモリ47から外部接続端子46やHUB41、共有メモリ49を介して画像ファイルを取得すると、CPU22は、取得した画像ファイルを印刷データに変換し変換した印刷データをRAM24に設けられた印刷バッファ内に格納し、この印刷データに基づいて記録紙Sへ画像を印刷する。ここで、印刷処理は、CPU22がプリンタASIC32に画像ファイルの印刷を指令し、指令されたプリンタASIC32がプリンタ機構31を制御することにより実行される。印刷が指令されると、プリンタASIC32は、RAM24に記憶されている印刷データをラスタデータに展開し、図示しない駆動モータを駆動して搬送ローラ38を回転させて記録紙Sを搬送し、圧力発生部35への電圧を制御することにより、展開したラスタデータに基づいて記録紙Sに画像を印刷する。
Thereafter, when the image file is acquired from the
ここで、本実施形態の構成要素と本発明の構成要素との対応関係を明らかにする。本実施形態の外部接続端子46が本発明の接続手段に相当し、HUBコントローラ41aが信号取得手段,供給制御手段及び転送速度判定手段に相当し、USBホストコントローラ40aが転送速度設定手段に相当し、プリンタ部30が印刷処理手段に相当し、CPU22及びプリンタASIC32が印刷制御手段に相当する。また、USBデバイス(USBメモリ47)が接続機器に相当し、「D−」信号が第1信号に相当し、「D+」信号が第2信号に相当し、USB転送のロースピードが第1転送速度に相当し、USB転送のフルスピードが第2転送速度に相当し、記録紙Sが印刷媒体に相当する。なお、本実施形態では、プリンタ20の動作を説明することにより本発明の情報処理方法の一例も明らかにしている。
Here, the correspondence between the components of the present embodiment and the components of the present invention will be clarified. The
以上詳述した本実施形態のプリンタ20によれば、外部接続端子46にUSBデバイスとしてのUSBメモリ47が接続されたとき又は外部接続端子46に接続されているUSBメモリ47への電力供給のオフ信号を入力したときに、この接続されているUSBメモリ47の対応する転送速度に関する「D+」信号及び「D−」信号のうちいずれかの信号を外部接続端子46を介して取得し、オフ信号を入力したときにはUSBメモリ47への電力の供給を停止し、取得した信号が「D−」信号であるときにはUSBメモリ47がロースピードに対応しているものと判定し、取得した信号が「D+」信号であるときにはUSBメモリ47がロースピードよりも高速なフルスピードに対応しているものと判定し、取得した信号が「D−」信号であるときにはUSBメモリ47への電力供給を停止したとしてもUSBメモリ47の動作可能な状態が維持される状態でUSBメモリ47へのオフ信号を出力し、その後、取得した信号を用いて判定した判定結果に基づいて接続されたUSBメモリ47との間の転送速度を設定する。即ち、USBデバイスの接続時に、取得する予定のない「D−」信号を取得したときには、USBメモリ47の動作可能な状態が維持される状態でオフ信号を出力し、USBメモリ47から転送速度に関する信号を再取得し、再取得した信号に基づいてUSBメモリ47との間の転送速度を設定するのである。このように、USBメモリ47の動作可能な状態が維持される状態でオフ信号を出力することにより再度同じ信号が出力されるのを抑制し、USBメモリ47から出力された信号を再確認するため、接続されたUSBデバイスに対応する転送速度をより確実に設定することができる。
According to the printer 20 of the present embodiment described in detail above, the power supply to the
また、外部接続端子46は、HUBコントローラ41aが制御するポート2の電力供給ラインとは別のポート4の電力ラインにより電力が供給されているため、確実にUSBメモリ47の動作可能な状態が維持される状態でUSBメモリ47から転送速度に関する信号を再取得することができる。更に、USBデバイスは、プリンタ20から電力供給を受けると共に情報の入出力を行うことが多いため、本発明を適用する意義が高い。更にまた、プリンタ20など、印刷装置は、外部記憶装置(例えばUSBメモリ47やメモリカード、HDD)などのUSBデバイスと接続し情報を取得して印刷することが多いため、本発明を適用する意義が高い。
Further, since the
なお、本発明は上述した実施形態に何ら限定されることはなく、本発明の技術的範囲に属する限り種々の態様で実施し得ることはいうまでもない。 It should be noted that the present invention is not limited to the above-described embodiment, and it goes without saying that the present invention can be implemented in various modes as long as it belongs to the technical scope of the present invention.
例えば、上述した実施形態では、外部接続端子46は、HUBコントローラ41aが制御するポート2の電力供給ラインとは別のポート4の電力供給ラインにより電力が供給されているものとしたが、ポート4とは別の場所、例えば、USBホストコントローラ40aやHUBコントローラ41a,メインコントローラ21などから電力供給を受けるものとしてもよい。こうしても、接続されたUSBデバイスに対応する転送速度をより確実に設定することができる。
For example, in the above-described embodiment, the
上述した実施形態では、外部接続端子46は、HUBコントローラ41aが制御するポート2の電力供給ラインとは別のポート4の電力供給ラインにより電力が供給されているものとしたが、図5に示すプリンタ20Bのように、外部接続端子46は、HUBコントローラ41aが制御するポート2の電力供給ラインにより電力が供給されているものとし、USBホストコントローラ40aは、HUBコントローラ41aがオフ信号の入力によりUSBメモリ47への電力供給を停止したとしてもUSBメモリ47が動作可能である所定時間だけ外部接続端子46に接続されたUSBメモリ47へのオフ信号をHUBコントローラ41aへ出力するものとしてもよい。具体的には、HUBコントローラ41aが電力供給をオフしたとしてもUSBメモリ47の動作が停止しないように、高速で電力供給のオフ・オンを実行する。図6は、転送速度を設定する処理の別のタイミングチャートである。図6に示すように、USBホストコントローラ40aが、接続の予定されていないロースピードデバイスが接続されたものと判定したあと、ポート2へ電力供給のオフ・オン指令を出力し(時刻t4)、USBメモリ47の対応する転送速度の検出を再度促す。これを受けたHUBコントローラ41aがポート2へ電力供給のオフ・オンを実行する(時刻t4)。このとき、USBメモリ47が動作可能な状態を保持可能なように、高速でオフ・オンが実行されるため、USBメモリ47での電力オフ・オンによるノイズの発生などが抑えられた状態で再度転送速度の検出が行われる。したがって、HUBコントローラ41aは、USBメモリ47がフルスピードデバイスであると正しく検出可能である。こうすれば、比較的簡単にUSBデバイスとしてのUSBメモリ47の動作可能な状態が維持される状態でUSBメモリ47から転送速度に関する信号を再取得することができる。
In the embodiment described above, the
上述した実施形態では、外部接続端子46に接続されたUSBデバイスが電力供給を必要とするしないにかかわらず「D−」信号を取得したときには、電力供給のオフ・オンを実行するものとしたが、外部接続端子46から供給された電力によって動作するUSBデバイスが外部接続端子46へ接続されたか否かを判定し、外部接続端子46からの供給電力により動作するデバイスが接続され、且つHUBコントローラ41aが「D−」信号を取得したときには、USBホストコントローラ40aがUSBデバイスへの電力供給のオフ信号をHUBコントローラ41aへ出力するものとしてもよい。外部接続端子46から供給された電力で動作するUSBデバイスの接続時には、このUSBメモリ47の電力状態などが安定せずノイズなどの信号が出力されることが多い。ここでは、外部接続端子46から供給された電力で動作するUSBメモリ47が接続されたときにUSBメモリ47から転送速度に関する信号を再取得するため、効率よく、接続されたUSBデバイスに対応する転送速度をより確実に設定することができる。
In the above-described embodiment, the power supply is turned off / on when the USB device connected to the
上述した実施形態では、「D−」信号は、取得する予定のない信号であるものとしたが、「D−」信号」は、「D+」信号よりも取得する頻度の低い信号であるものとしてもよい。また、上述した実施形態では、「D−」信号を取得したときに(即ちローデバイスの接続を検出したとき)、電力供給のオフ信号を出力してUSBデバイスの転送速度を再検出するものとしたが、「D+」信号を取得したときに(即ちフルスピードデバイスの接続を検出したとき)、電力供給のオフ信号を出力してUSBデバイスの転送速度を再検出するものとしてもよい。また、上述した実施形態では、ロースピードデバイスと、フルスピードデバイスとを検出するものとしたが、フルスピードデバイスの検出後に、ハイスピードデバイスの検出を行ってもよい。 In the embodiment described above, the “D−” signal is a signal that is not scheduled to be acquired, but the “D−” signal is a signal that is acquired less frequently than the “D +” signal. Also good. In the above-described embodiment, when the “D−” signal is acquired (that is, when the connection of the raw device is detected), the power supply off signal is output to detect the transfer speed of the USB device again. However, when the “D +” signal is acquired (that is, when connection of a full-speed device is detected), a power supply off signal may be output to redetect the transfer speed of the USB device. In the above-described embodiment, the low speed device and the full speed device are detected. However, the high speed device may be detected after the full speed device is detected.
上述した実施形態では、USBホストコントローラ40aが転送速度設定処理ルーチンを実行し、HUBコントローラ41aが転送速度検出処理ルーチンを実行するものとしたが、2つのコントローラを用いて行うものとすれば、これらのルーチンは、どのコントローラ(例えばメインコントローラ21など)で実行しても構わない。
In the above-described embodiment, the
上述した実施形態では、インクジェット方式を採用し着色剤としてインクを利用するフルカラーのプリンタ20としたが、電子写真方式を採用し着色剤としてトナーを利用するカラーレーザプリンタや、熱転写方式を採用し着色剤としてインクリボンを利用するカラープリンタや、ドットインパクト方式を採用し着色剤としてインクリボンを利用するプリンタとしてもよいし、これらのモノクロプリンタとしてもよい。また、FAX機やコピー機などの印刷装置としてもよい。また、USB装置40を用いて本発明を説明したが、同様の構成を有するものであれば、特にUSB装置に限定されずに本発明を適用することができる。
In the above-described embodiment, the full-color printer 20 that employs an ink jet method and uses ink as a colorant is used. However, a color laser printer that employs an electrophotographic method and uses toner as a colorant, or a thermal transfer method that employs color A color printer that uses an ink ribbon as an agent, a printer that employs a dot impact method and uses an ink ribbon as a colorant, or a monochrome printer of these may be used. Also, a printing apparatus such as a FAX machine or a copier may be used. Although the present invention has been described using the
20,20B プリンタ、21 メインコントローラ、22 CPU、23 ROM、24 RAM、26 I/F、28 バス、30 プリンタ部、31 プリンタ機構、32 プリンタASIC、34 インクカートリッジ、35 圧力発生部、36 インク吐出口、38 搬送ローラ、40 USB装置、40a USBホストコントローラ、41 HUB、41a HUBコントローラ、42 カードリーダ、42a スロット、46 外部接続端子、47 USBメモリ、48 内蔵ドライブ、49 共有メモリ、50 メモリカード、S 記録紙。 20, 20B Printer, 21 Main controller, 22 CPU, 23 ROM, 24 RAM, 26 I / F, 28 Bus, 30 Printer unit, 31 Printer mechanism, 32 Printer ASIC, 34 Ink cartridge, 35 Pressure generating unit, 36 Ink discharge Exit, 38 transport roller, 40 USB device, 40a USB host controller, 41 HUB, 41a HUB controller, 42 card reader, 42a slot, 46 external connection terminal, 47 USB memory, 48 built-in drive, 49 shared memory, 50 memory card, S Recording paper.
Claims (8)
前記接続手段に接続機器が接続されたとき又は前記接続手段に接続されている接続機器のオフ信号を入力したときに前記接続されている接続機器が対応する転送速度に関する第1信号及び第2信号のうちいずれかの信号を前記接続手段を介して前記接続機器から取得する信号取得手段と、
前記オフ信号を入力したときには前記接続手段を介した前記接続機器への電力供給を停止する供給制御手段と、
前記信号取得手段によって取得された信号が前記第1信号であるときには前記接続機器が第1転送速度に対応しているものと判定し、前記信号取得手段によって取得された信号が前記第2信号であるときには前記接続機器が前記第1転送速度と異なる第2転送速度に対応しているものと判定する転送速度判定手段と、
前記信号取得手段によって取得された信号が前記第1信号であるときには、前記供給制御手段が前記オフ信号の入力により前記接続機器への電力供給を停止したとしても前記接続機器の動作可能な状態が維持されるよう又は該状態で前記接続機器のオフ信号を前記信号取得手段及び前記供給制御手段へ出力し、その後前記信号取得手段によって取得された信号を用いて前記転送速度判定手段が判定した判定結果に基づいて前記接続された接続機器との間の転送速度を設定する転送速度設定手段と、
を備えた情報処理装置。 A connection means for connecting a power supply line to a connected device and connecting the connected device so that information can be exchanged;
When a connection device is connected to the connection means, or when an off signal of the connection device connected to the connection means is input, a first signal and a second signal relating to a transfer rate corresponding to the connection device connected Signal acquisition means for acquiring any of the signals from the connection device via the connection means,
Supply control means for stopping power supply to the connection device via the connection means when the off signal is input;
When the signal acquired by the signal acquisition means is the first signal, it is determined that the connected device is compatible with the first transfer rate, and the signal acquired by the signal acquisition means is the second signal. Transfer speed determination means for determining that the connected device is compatible with a second transfer speed different from the first transfer speed;
When the signal acquired by the signal acquisition unit is the first signal, even if the supply control unit stops the power supply to the connection device due to the input of the off signal, the connected device is operable. The determination that the transfer speed determination means determines using the signal acquired by the signal acquisition means after that the connected device off signal is output to the signal acquisition means and the supply control means so as to be maintained or in this state A transfer rate setting means for setting a transfer rate between the connected devices based on the result; and
An information processing apparatus comprising:
前記転送速度判定手段は、前記信号取得手段が前記接続された接続機器から前記第2信号を取得したときには前記USB機器が前記第1転送速度よりも高速である第2転送速度に対応しているものと判定する、請求項1〜3のいずれかに記載の情報処理装置。 The connection means is connectable with a USB device as the connection device,
The transfer speed determination means corresponds to a second transfer speed at which the USB device is faster than the first transfer speed when the signal acquisition means acquires the second signal from the connected device. The information processing apparatus according to claim 1, wherein the information processing apparatus is determined to be a thing.
着色剤を用いて印刷媒体へ画像を印刷可能な印刷処理手段と、
前記情報処理装置から取得した情報に基づいて画像を印刷媒体へ印刷するよう前記印刷処理手段を制御する印刷制御手段と、
を備えた印刷装置。 An information processing apparatus according to any one of claims 1 to 5,
Print processing means capable of printing an image on a print medium using a colorant;
Print control means for controlling the print processing means to print an image on a print medium based on information acquired from the information processing apparatus;
Printing device with
(a)前記接続手段に接続機器が接続されたとき又は前記接続手段に接続されている接続機器のオフ信号を入力したときに前記接続されている接続機器の対応する転送速度に関する第1信号及び第2信号のうちいずれかの信号を前記接続手段を介して前記接続機器から取得するステップと、
(b)前記オフ信号を入力したときには前記接続手段を介した前記接続機器への電力供給を停止するステップと、
(c)前記ステップ(a)で取得した信号が前記第1信号であるときには前記接続機器が第1転送速度に対応しているものと判定し、前記ステップ(b)で取得した信号が前記第2信号であるときには前記接続機器が前記第1転送速度と異なる第2転送速度に対応しているものと判定するステップと、
(d)前記ステップ(a)で取得した信号が前記第1信号であるときには、前記ステップ(b)で前記オフ信号の入力により前記接続機器への電力供給を停止したとしても前記接続機器の動作可能な状態が維持されるよう又は該状態で前記接続機器のオフ信号を出力し、その後前記ステップ(a)で取得した信号を用いて前記ステップ(c)で判定した判定結果に基づいて前記接続された接続機器との間の転送速度を設定するステップと、
を含む情報処理方法。 An information processing method using an information processing apparatus including a connection unit that is connected to a power supply line to a connection device and is capable of exchanging information with the connection device,
(A) when a connection device is connected to the connection means or when an off signal of the connection device connected to the connection means is input, a first signal relating to a transfer rate corresponding to the connected connection device; Acquiring any one of the second signals from the connection device via the connection means;
(B) stopping the power supply to the connection device via the connection means when the off signal is input;
(C) When the signal acquired in step (a) is the first signal, it is determined that the connected device is compatible with the first transfer rate, and the signal acquired in step (b) is the first signal. Determining that the connected device is compatible with a second transfer rate different from the first transfer rate when there are two signals;
(D) When the signal acquired in the step (a) is the first signal, the operation of the connected device is performed even if the power supply to the connected device is stopped by the input of the off signal in the step (b). Based on the determination result determined in the step (c) using the signal acquired in the step (a) after the off signal of the connected device is output so that the possible state is maintained or in the state Setting a transfer speed with the connected device,
An information processing method including:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2006226815A JP4835323B2 (en) | 2006-08-23 | 2006-08-23 | Information processing apparatus, printing apparatus, information processing method, and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2006226815A JP4835323B2 (en) | 2006-08-23 | 2006-08-23 | Information processing apparatus, printing apparatus, information processing method, and program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2008052438A JP2008052438A (en) | 2008-03-06 |
| JP4835323B2 true JP4835323B2 (en) | 2011-12-14 |
Family
ID=39236445
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2006226815A Expired - Fee Related JP4835323B2 (en) | 2006-08-23 | 2006-08-23 | Information processing apparatus, printing apparatus, information processing method, and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4835323B2 (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5700514B2 (en) * | 2010-10-27 | 2015-04-15 | アルパイン株式会社 | Communication speed control device and communication speed control method |
| JP5819678B2 (en) * | 2011-08-30 | 2015-11-24 | ルネサスエレクトロニクス株式会社 | USB hub and control method of USB hub |
| JP5738779B2 (en) | 2012-01-30 | 2015-06-24 | 株式会社日立製作所 | Supply capability estimation system, method, and program |
| JP5477456B2 (en) * | 2012-12-04 | 2014-04-23 | 株式会社バッファロー | Peripheral device and method for connecting host device and peripheral device |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001177543A (en) * | 1999-12-16 | 2001-06-29 | Onkyo Corp | Bus connection equipment and equipment connection system |
| JP2002041441A (en) * | 2000-07-27 | 2002-02-08 | Canon Inc | Communication device connection device and peripheral device having connection function |
| JP4450692B2 (en) * | 2004-08-06 | 2010-04-14 | 日立オムロンターミナルソリューションズ株式会社 | USB connection system, USB device, and host |
-
2006
- 2006-08-23 JP JP2006226815A patent/JP4835323B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2008052438A (en) | 2008-03-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5310715B2 (en) | Image recording apparatus and program | |
| US20040184081A1 (en) | Printing system involving print preparing operation | |
| WO2004097621A1 (en) | Device and method for guiding maintenance for pc peripheral apparatus | |
| US7113294B2 (en) | Ink jet recording apparatus and controlling method with selective clock signal supply | |
| JP4420053B2 (en) | Information management apparatus, information management method and program thereof | |
| JP4835323B2 (en) | Information processing apparatus, printing apparatus, information processing method, and program | |
| KR100636190B1 (en) | An image forming apparatus and method for automatically recognizing the type of thermal transfer head and printing an image | |
| US20100146305A1 (en) | Electronic Apparatus and Method of Controlling the Same | |
| US20090009800A1 (en) | Image forming apparatus and image forming method | |
| JP2008046857A (en) | Information processing apparatus, information processing method, and program thereof | |
| JP2005208811A (en) | Data transfer device, data transfer method, and recording system | |
| JP5772872B2 (en) | Image recording apparatus and program | |
| JP4018514B2 (en) | Recording apparatus, power supply control method, storage medium storing computer-readable program, and program | |
| JP4350404B2 (en) | Recording apparatus and control method thereof | |
| JP4747982B2 (en) | Information processing apparatus, information providing apparatus, method and program thereof | |
| JP2008046858A (en) | USB device, printing device, USB device control method and program | |
| JP5434419B2 (en) | Printing device | |
| JP4447861B2 (en) | RECORDING SYSTEM, RECORDING SYSTEM CONTROL METHOD, PROGRAM | |
| JP2005149211A (en) | Data recording apparatus and data rewriting method | |
| JP2008044223A (en) | Information processing apparatus, printing apparatus, information processing method, and program | |
| JP2006347025A (en) | Image forming apparatus, printing method, and program | |
| JP4545415B2 (en) | Printer | |
| JP2011118597A (en) | Printing control device, printing control method, storage medium storing computer readable program, and program | |
| JP5434497B2 (en) | Printer, printer control method, and program | |
| JP2003330687A (en) | Image forming device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20090714 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090721 |
|
| RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20090721 |
|
| RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20090722 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110826 |
|
| 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: 20110830 |
|
| 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: 20110912 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20141007 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 4835323 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| LAPS | Cancellation because of no payment of annual fees |