JP2005339524A - Peripheral of computer - Google Patents
Peripheral of computer Download PDFInfo
- Publication number
- JP2005339524A JP2005339524A JP2005127924A JP2005127924A JP2005339524A JP 2005339524 A JP2005339524 A JP 2005339524A JP 2005127924 A JP2005127924 A JP 2005127924A JP 2005127924 A JP2005127924 A JP 2005127924A JP 2005339524 A JP2005339524 A JP 2005339524A
- Authority
- JP
- Japan
- Prior art keywords
- descriptor
- function information
- function
- peripheral device
- unit
- 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.)
- Granted
Links
Images
Landscapes
- Information Transfer Systems (AREA)
Abstract
Description
本発明は、上位装置にUSB(Universal Serial Bus)インタフェースを介して接続する周辺装置、特に多機能を実現するための周辺装置に関する。 The present invention relates to a peripheral device connected to a host device via a USB (Universal Serial Bus) interface, and more particularly to a peripheral device for realizing multiple functions.
USB接続機能を搭載した上位装置(以後、PCと記述する)は、当該PCが動作している状態(電源ONの状態)のままで、周辺装置との接続および非接続を行うことができ、更に、PCは複数の周辺装置と並列的に接続することがでる。従って、USB接続は、着脱が簡便で比較的自由にシステム構築できるので広く普及している。USB接続で追加される周辺装置は、物理的にPCへ接続された瞬間にPCで認識される。周辺装置を認識したPCは、予め保持しているドライバから、認識した周辺装置のドライバを検索し、検索したドライバにより周辺装置の制御を行うためにデバイス定義を行う。 A host device equipped with a USB connection function (hereinafter referred to as a PC) can be connected to and disconnected from a peripheral device while the PC is operating (powered on). Furthermore, the PC can be connected to a plurality of peripheral devices in parallel. Therefore, USB connection is widely used because it is easy to attach and detach and allows a relatively free system construction. A peripheral device added by USB connection is recognized by the PC at the moment when it is physically connected to the PC. The PC that has recognized the peripheral device searches for the driver of the recognized peripheral device from the drivers held in advance, and performs device definition to control the peripheral device by the searched driver.
ところで、前述した周辺装置の接続制御機能として、周辺機器の活線挿抜機能が「プラグ&プレイ機能」と称されて知られている。このプラグ&プレイ機能は、以下に記述するように実現される。周辺装置がPCにUSB接続された時点で、PCがUSB接続された周辺装置(デバイス)を認識し、自動的に必要なデバイスドライバを探して、対応するドライバを起動し、追加された周辺装置を使用できるようにする。具体的には、PCで周辺装置のUSB接続を検出すると、該PCと周辺装置とがUSB接続するバスにリセットが行われ、バスリセット後にPCと周辺装置とがコントロール転送と称され通信を開始する。 By the way, as a connection control function of the peripheral device described above, a hot-swap function of a peripheral device is known as a “plug and play function”. This plug and play function is implemented as described below. When the peripheral device is USB-connected to the PC, the PC recognizes the peripheral device (device) connected to the USB, automatically searches for a necessary device driver, activates the corresponding driver, and the added peripheral device Can be used. Specifically, when the USB connection of the peripheral device is detected by the PC, the bus connected to the PC and the peripheral device is reset, and after the bus reset, the PC and the peripheral device are referred to as control transfer and start communication. To do.
コントロール転送では、デバイス定義に必要なデバイスディスクリプタと称される情報が周辺装置からPCへ通知される。デバイスディスクリプタには、周辺機器の機能を示す機能情報が示されており、PCは、デバイスディスクリプタに示されている周辺装置の機能を示す機能情報に基づいて、通信相手先としての周辺装置を特定し、特定した周辺装置にエンドポイントと称されるアドレスを付与するデバイス定義を行って、該周辺装置とUSB通信を開始する。 In the control transfer, information called a device descriptor necessary for device definition is notified from the peripheral device to the PC. The device descriptor indicates function information indicating the function of the peripheral device, and the PC specifies the peripheral device as a communication partner based on the function information indicating the function of the peripheral device indicated in the device descriptor. Then, a device definition for giving an address called an endpoint to the identified peripheral device is performed, and USB communication with the peripheral device is started.
ところで、周辺装置として、スキャナ機能、プリンタ機能およびFAX機能など複数の機能を有した多機能周辺装置(Multi−Function Peripherals 以後、MFPと記述する)が普及している。該MFPをPCにUSB接続してUSB通信する場合でも、当該MFPが有する複数の機能が示されたデバイスディスクリプタがコントロール転送でPCに通知される。
通知を受けたPCは、例えば特許文献1に示されているように、デバイスディスクリプタに示された複数の機能から、所望の機能を選択すべく、コンフィグレーションと称される接続構成の切替え命令(ベンダリクエスト)を発行し、デバイス定義を行っていた。
The PC that has received the notification, for example, as shown in
しかしながら、従来のシステムでは、前記したように、複数の機能から所望の機能を選択し、接続構成の切替え命令を発行する専用ドライバが必要であり、該専用ドライバの開発や、該専用ドライバをPCにインストールする必要があるため、これらが問題となっていた。
従って、本発明の目的は、専用ドライバを開発し、該専用ドライバをPCにインストールしなくとも、多機能を実現可能の周辺装置を提供することにある。
However, in the conventional system, as described above, a dedicated driver that selects a desired function from a plurality of functions and issues a connection configuration switching command is necessary. These were problems because they need to be installed on.
Accordingly, an object of the present invention is to provide a peripheral device capable of realizing a multi-function without developing a dedicated driver and installing the dedicated driver in a PC.
本発明は、以上の点を解決するために、次の構成を採用する。
〈構成1〉
USB接続する上位装置にデバイスディスクリプタを通知し、該デバイスディスクリプタに示された機能情報に基づいて通信相手先を前記上位装置に特定させる周辺装置において、当該周辺装置の機能を示す機能情報を保持する周辺装置機能情報保持部と、USB接続される従属周辺装置の機能を示す機能情報を保持する従属周辺装置機能情報保持部と、選択指示に基づいて周辺機能情報保持部で保持する機能情報または従属周辺装置機能情報保持部で保持する機能情報の何れか一方を読出し、読出した機能情報が示されたデバイスディスクリプタを上位装置に通知するUSB制御部と、を備えることを特徴とする。
The present invention adopts the following configuration in order to solve the above points.
<
The peripheral device that notifies the device descriptor to the host device connected via USB and causes the host device to identify the communication partner based on the function information indicated in the device descriptor holds function information indicating the function of the peripheral device. Peripheral device function information holding unit, subordinate peripheral device function information holding unit holding function information indicating the function of a subordinate peripheral device connected via USB, and function information or subordinate held by the peripheral function information holding unit based on a selection instruction A USB control unit that reads out any one of the function information held in the peripheral device function information holding unit and notifies the higher-level device of the device descriptor indicating the read function information.
〈構成2〉
周辺装置が画像読取装置であり、従属周辺装置が画像形成装置であるとき、周辺装置機能情報保持部は画像読取機能を示す機能情報を保持し、従属周辺装置機能情報保持部は画像形成機能を示す機能情報を保持することを特徴とする。
〈構成3〉
周辺装置が画像形成装置であり、従属周辺装置が画像読取装置であるとき、周辺装置機能情報保持部は画像形成機能を示す機能情報を保持し、従属周辺装置機能情報保持部は画像読取機能を示す機能情報を保持することを特徴とする。
<
When the peripheral device is an image reading device and the subordinate peripheral device is an image forming device, the peripheral device function information holding unit holds function information indicating an image reading function, and the subordinate peripheral device function information holding unit has an image forming function. The function information shown is retained.
<Configuration 3>
When the peripheral device is an image forming device and the subordinate peripheral device is an image reading device, the peripheral device function information holding unit holds function information indicating an image forming function, and the subordinate peripheral device function information holding unit has an image reading function. The function information shown is retained.
〈構成4〉
選択指示をオペレータから受けるためのオペレーションパネルを備えており、USB制御部は、オペレーションパネルで選択指示を受けると、デバイスディスクリプタの通知に先立ち、上位装置とのUSB接続におけるバスリセットを行うことを特徴とする。
〈構成5〉
USB制御部は、選択指示で読出す機能情報が示されるデバイスディスクリプタを生成するマルチデバイスディスクリプタ作成部を備えることを特徴とする。
<Configuration 4>
An operation panel for receiving a selection instruction from an operator is provided, and when the USB control unit receives a selection instruction on the operation panel, it performs a bus reset in USB connection with a host device prior to notification of a device descriptor. And
<Configuration 5>
The USB control unit includes a multi-device descriptor generation unit that generates a device descriptor indicating function information read by a selection instruction.
〈構成6〉
原稿を読取るための原稿読取部を備えており、原稿読取部は、原稿が配置されたことを検出すると、選択指示として原稿検出信号を前記USB制御部に通知し、USB制御部は、原稿検出信号を受けると、画像読取機能を示す機能情報を読み出すことを特徴とする。
〈構成7〉
原稿が配置されて放置されたことを検出すると、選択指示として放置原稿検出信号をUSB制御部に通知するタイマーを備えており、USB制御部は、原稿放置検出信号を受けると、画像形成機能を示す機能情報を読み出すことを特徴とする。
<Configuration 6>
A document reading unit for reading a document is provided. When the document reading unit detects that a document is placed, it notifies the USB control unit of a document detection signal as a selection instruction, and the USB control unit detects the document detection. When the signal is received, the function information indicating the image reading function is read out.
<Configuration 7>
When it is detected that a document is placed and left, a timer for notifying the USB control unit of a left document detection signal as a selection instruction is provided. When the USB control unit receives the document leave detection signal, the USB control unit performs an image forming function. The function information shown is read out.
〈構成8〉
原稿読取部は、配置された原稿の読取を行って、読取るべき原稿が無くなったことを検出すると、選択指示として終了検出信号をUSB制御部に通知し、USB制御部は、終了検出信号を受けると、画像形成機能を示す機能情報を読み出すことを特徴とする。
〈構成9〉
上位装置からの制御命令を解析して特定情報を抽出する特定情報抽出部を備えており、USB制御部は、抽出する特定情報に上位装置とのUSB接続におけるバスリセットを行う指示が示されているとき、該バスリセットを行うことを特徴とする。
<Configuration 8>
When the document reading unit reads the placed document and detects that there is no document to be read, the document reading unit notifies the USB control unit of an end detection signal as a selection instruction, and the USB control unit receives the end detection signal. And functional information indicating an image forming function is read out.
<Configuration 9>
It includes a specific information extraction unit that analyzes the control command from the host device and extracts the specific information. The USB control unit indicates an instruction to perform a bus reset in the USB connection with the host device in the specific information to be extracted. In this case, the bus reset is performed.
〈構成10〉
上位装置からの制御命令を解析して特定情報を抽出する特定情報抽出部を備えており、特定情報抽出部は、特定情報が画像読取装置の制御言語で記述された命令であるとき、該命令を選択指示としてUSB制御部に通知し、USB制御部は、命令を受けると、画像読取機能を示す機能情報を読み出すことを特徴とする。
<
A specific information extraction unit that analyzes the control command from the host device and extracts specific information is provided, and the specific information extraction unit is configured to execute the command when the specific information is a command described in the control language of the image reading device. Is selected as a selection instruction, and the USB control unit reads function information indicating an image reading function when receiving a command.
〈構成11〉
上位装置からの制御命令を解析して特定情報を抽出する特定情報抽出部を備えており、特定情報抽出部は、特定情報が画像形成装置の制御言語で記述された命令であるとき、該命令を前記選択指示としてUSB制御部に通知し、USB制御部は、命令を受けると、画像形成機能を示す機能情報を読み出すことを特徴とする請求項5記載の周辺装置。
<
A specific information extraction unit that analyzes the control command from the host device and extracts the specific information is provided, and the specific information extraction unit is configured to execute the command when the specific information is a command described in the control language of the image forming apparatus. 6. The peripheral device according to claim 5, wherein the USB control unit is notified as a selection instruction, and the USB control unit reads function information indicating an image forming function when receiving a command.
〈構成12〉
USB制御部は、命令に基づく処理が終了したことを選択指示として受けると、命令に基づいて読み出されなかった他方の機能情報を読出すことを特徴とする。
〈構成13〉
上位装置とのUSB接続がホットプラグイン接続であるとき、ホットプラグイン接続により当該USB接続におけるバスリセットが行われることを特徴とする。
<
The USB control unit is characterized in that, when receiving a selection instruction indicating that the process based on the command is completed, the USB control unit reads the other function information that has not been read based on the command.
<
When the USB connection with the host device is a hot plug-in connection, a bus reset in the USB connection is performed by the hot plug-in connection.
〈構成14〉
USB接続する上位装置にデバイスディスクリプタを通知し、該デバイスディスクリプタに示された機能情報に基づいて通信相手先を前記上位装置に特定させる周辺装置において、当該周辺装置の機能を示す機能情報を保持する周辺装置機能情報保持部と、USB接続される従属周辺装置の機能を示す機能情報を保持する従属周辺装置機能情報保持部と、選択指示に基づいて前記周辺機能情報保持部で保持する機能情報または前記従属周辺装置機能情報保持部で保持する機能情報の何れか一方を読出し、読出した機能情報が示されたデバイスディスクリプタを前記上位装置に通知するUSB制御部とを備え、前記USB制御部は、従属周辺装置機能情報が示されたデバイスディスクリプタを前記上位装置に通知し、該上位装置で前記従属周辺装置が通信相手先として特定されると、前記上位装置および前記従属周辺装置との間でUSB通信するための中継を行うUSBホスト制御部を有することを特徴とする。
<
The peripheral device that notifies the device descriptor to the host device connected via USB and causes the host device to identify the communication partner based on the function information indicated in the device descriptor holds function information indicating the function of the peripheral device. Peripheral device function information holding unit, subordinate peripheral device function information holding unit holding function information indicating functions of subordinate peripheral devices connected by USB, and function information held by the peripheral function information holding unit based on a selection instruction A USB control unit that reads out any one of the function information held in the subordinate peripheral device function information holding unit and notifies the host device of a device descriptor in which the read function information is indicated; The device descriptor indicating the dependent peripheral device function information is notified to the host device, and the slave device If location is identified as the communication partner, characterized by having a USB host controller for relaying for USB communication with the host device and the slave peripheral device.
〈構成15〉
周辺装置はスキャナ装置であり、従属周辺装置はプリンタ装置であることを特徴とを特徴とする。
<Configuration 15>
The peripheral device is a scanner device, and the subordinate peripheral device is a printer device.
本発明によれば、選択指示に基づいて、周辺装置の機能を示す機能情報または周辺装置にUSB接続される従属周辺装置の機能を示す機能情報の何れか一方の機能情報が示されたデバイスディスクリプタを上位装置に通知することにより、上位装置は、デバイスディスクリプタに一つの機能情報しか示されていないことから、唯一の機能情報に基づいて、通信相手先を特定する。これにより、上位装置で接続構成の切替え命令を発行するための専用ドライバが不要となり、かつ該専用ドライバのPCへのインストールを行う手間も省くことができる。 According to the present invention, based on the selection instruction, a device descriptor in which one of functional information indicating a function of a peripheral device or functional information indicating a function of a subordinate peripheral device connected to the peripheral device by USB is indicated. By notifying the higher-level device, the higher-level device identifies the communication partner on the basis of only one function information because only one function information is indicated in the device descriptor. This eliminates the need for a dedicated driver for issuing a connection configuration switching command in the host device, and eliminates the need to install the dedicated driver on the PC.
本発明の実施形態について、図を用いて詳細に説明する。以下の説明では、各実施の形態に用いる図面について同一の構成要素は同一の符号を付し、かつ重複する説明は可能な限り省略する。 Embodiments of the present invention will be described in detail with reference to the drawings. In the following description, the same constituent elements in the drawings used in each embodiment will be given the same reference numerals, and redundant description will be omitted as much as possible.
本発明の周辺装置としての画像読取装置はスキャナ装置10であり、該スキャナ装置10は、図1に示すように、USBケーブル41を介して上位装置としてのPC30と接続しており、更にUSBケーブル42を介して従属周辺装置としての画像形成装置(プリンタ装置20)に接続している。
The image reading device as a peripheral device of the present invention is a
ここで、本発明の本発明の要旨を説明する。
本発明のスキャナ装置10は、図2に示すように、当該スキャナ装置10の機能を示す機能情報と、当該スキャナ装置にUSB接続されるプリンタ装置20の機能を示す機能情報とを機能情報保持部150で予め保持しており、選択指示に基づいて機能情報保持部150で保持する機能情報を一つだけ読み出し、USB制御部113で、読み出した機能情報が示されたデバイスディスクリプタを生成し、該デバイスディスクリプタをPC30に通知する。これにより、PC30は、デバイスディスクリプタに示される一つの機能情報に基づいて通信相手先を特定することができ、機能を選択して接続構成の切替え命令(ベンダリクエスト)を発行するための専用ドライバが不要である。
Here, the gist of the present invention will be described.
As shown in FIG. 2, the
尚、以降の実施例では、各機能情報を予め保持しておき、読み出した機能情報が示されたデバイスディスクリプタを生成してPC30に通知する例で説明を行うが、スキャナ装置10の機能を示すスキャナ機能情報が示されたデバイスディスクリプタおよびプリンタ装置20の機能を示すプリンタ機能情報が示されたデバイスディスクリプタを予め保持しておき、選択指示に基づいて保持するデバイスディスクリプタを選択してPC30に通知するようにしてもよい。
In the following embodiments, each function information is stored in advance, and a device descriptor indicating the read function information is generated and notified to the
スキャナ装置10は、図2に示されるように、原稿を読取るための読取り部111と、読取った画像に対して画像処理を行うための画処理部112と、PC30に対してはUSBデバイスの1つとして機能し、プリンタ装置20に対してはハブ(HUB)として機能し、USBプロトコルに則ってUSB通信するためのUSB制御部113と、オペレータによるスキャナ装置10の動作設定を行うためなどの複数のキーが設けられているオペレーションパネル114と、原稿を読取って生成したデータを圧縮するための圧縮部115と、原稿読取を行って得たデータに基づいてプリンタ装置20を動作させて原稿の複写を行うコピー制御部116と、PC30からの制御命令に基づいて、スキャナとし動作制御するためのPCスキャナ制御部117と、PC30からの印刷データおよび制御命令を受信し、受信したデータおよび制御命令をプリンタ装置20へ転送して、プリンタ装置20に印刷を実行させるPCプリントとして制御を行うPCプリント制御部118と、原稿を読取って得たデータの保持、画処理および圧縮処理を行うための作業領域として用いる画メモリ119と、初期化時にスキャナ用デバイスディスクリプタあるいはプリンタ用デバイスディスクリプタのいずれか一方のデバイスディスクリプタを作成してPC30へ送信する初期化部121と、オペレーションパネル114のキーが押下されたことをUSB制御部113の後述するDevice制御部1131に通知するためのキーイベント配送部122と、後述するスキャナ機能情報およびプリンタ機能情報を保持する機能情報保持部150とを備える。
As shown in FIG. 2, the
尚、前記各部は図示しないROMに保持されているプログラムに基づいてCPU120が実質的な制御を行うが、説明を簡便に行うために、前記した各機能ブロックでスキャナ装置10の説明を行う。
The respective units are substantially controlled by the
ところで、スキャナ装置10にUSBケーブル42で接続するプリンタ装置20は、図3に示されているように、プリンタ言語を解析するエミュレーション部201と、スキャナ装置10とプリンタ装置20との間においてUSB通信で印刷データおよび制御命令の送受信を行うUSB制御部202と、印刷データを記憶する画メモリ203と、印刷処理のため印刷エンジンを制御する印刷部204と、圧縮されて送られてくる印刷データを解凍するための解凍部205とを備える。
尚、前記各部は図示しないROMに保持されているプログラムに基づいて制御するCPU206が実質的な制を行うが、説明を簡便に行うために、前記した各機能ブロックでプリンタ装置20の説明を行う。
By the way, the
Note that the
スキャナ装置10の機能情報保持部150は、スキャナ装置10の機能を示す機能情報を保持するスキャナ機能情報保持部151と、プリンタ装置20の機能を示す機能情報を保持するプリンタ機能情報保持部152とを備えている。スキャナ機能情報保持部151で保持する機能情報またはプリンタ機能情報保持部152で保持する機能情報の何れか一方が、後述するデバイスディスクリプタ作成時に読み出される。
The function information holding unit 150 of the
スキャナ装置10のUSB制御部113は、図4に示されているように、USBデバイスの1つとして機能するためのDevice制御部1131と、ハブとして機能するためのHost制御部1132から構成されている。
As shown in FIG. 4, the
Host制御部1132は、プリンタ装置20へデータを送信するためのTxBuff11321とプリンタ装置20からのデータを受信するためのRxBuff11322とを備える。
The
Device制御部1131は、PC30からのデータを受信するためのRxBuff11311と、PC30へデータを送信するためのTxBuff11312と、後述するデバイスディスクリプタを作成するディスクリプタ作成部(図示せず)を複数有するマルチディスクリプタ作成部11313から構成されており、PC30とプリンタ装置20とがUSB通信を行うとき、RxBuff11311で保持するデータがTxBuff11321へ転送され、またRxBuff11322で保持するデータがTxBuff11312へ転送される。
The
尚、オペレータがオペレーションパネル114におけるPC30とプリンタ装置20との間のUSB通信を指示するキーを押下することにより、後述するプリンタ機能情報が示されたデバイスディスクリプタが生成されて、該デバイスディスクリプタがPC10に通知された後、前記した転送制御が行われる。
When the operator presses a key for instructing USB communication between the
ここで、マルチディスクリプタ作成部11313を説明する。マルチディスクリプタ作成部11313は、図5に示されるように、USB接続におけるバスリセットを行うリセット部11314と、スキャナ用デバイスディスクリプタを作成するスキャナ用ディスクリプタ作成部11315と、プリンタ用デバイスディスクリプタを作成するプリンタ用ディスクリプタ作成部11316とから構成されている。
Here, the
スキャナ用ディスクリプタ作成部11315は、当該装置10をスキャナ機能でPC30に制御させるべく、機能情報保持部150のスキャナ機能情報保持部151からスキャナ機能情報を読出し、該スキャナ機能情報が示されたデバイスディスクリプタを生成する。
The scanner
一方、プリンタ用ディスクリプタ作成部11316は、当該装置10を介してプリンタ装置20をプリンタ機能でPC30に制御させるべく、機能情報保持部150のプリンタ機能情報保持部152からプリンタ機能情報を読出し、該プリンタ機能情報が示されたデバイスディスクリプタを作成する。このように、ディバイスディスクリプタは、PC10で制御させたい機能に応じて作成される。尚、作成されたデバイスディスクリプタはUSB接続におけるバスリセット後にPCに通知される。通知を受けたPCは、デバイスディスクリプタに示されている機能情報に基づいて通信相手先を特定する(デバイス定義を行う)。
On the other hand, the printer
ところで、オペレーションパネル114は、オペレータからの選択指示を受けると、指示に応じた選択信号をUSB制御部113に出力する。選択信号を受けたUSB制御部113のマルチディスクリプタ作成部11313は、選択信号に基づいて、スキャナ用ディスクリプタ作成部11315又はプリンタ用ディスクリプタ作成部11316の何れか一方を起動する。換言すると、オペレータがオペレーションパネル114でスキャナ装置10の利用ボタンを押下すると、スキャナ用ディスクリプタ作成部11315が起動し、プリンタ装置20の利用ボタンを押下すると、プリンタ用ディスクリプタ作成部11316が起動する。
By the way, when the
次に、選択信号を出力するオペレーションパネル114を説明する。
スキャナ装置10のオペレーションパネル114は、図6に示されるように、オペレータが操作設定を行うためのLCDディスプレイ141と、複数の押下キー142と、PC−Scanerキー143とを備える。
Next, the
As shown in FIG. 6, the
オペレーションパネル114は、複数のキー142の押下に対応して、押下されたキーによる選択信号(選択情報)をUSB制御部113へ出力する。USB制御部113のマルチディスクリプタ作成部11313は、受信した選択信号に基づいて、スキャナ用ディスクリプタ作成部11315またはプリンタ用ディスクリプタ作成部11316の何れか一方を選択して起動する。
In response to pressing of the plurality of keys 142, the
ところで、PC−Scanerキー143が押下されると、オペレーションパネル114は、USB制御部113へPCスキャン選択を示す信号を出力する。USB制御部113はPCスキャン機能の選択信号を受けると、マルチディスクリプタ作成部11313でスキャナ用ディスクリプタ作成部11315を選択し、該スキャナ用ディスクリプタ作成部11315を起動する。
By the way, when the PC-Scanner key 143 is pressed, the
ところで、オペレーションパネル114の各種キー1142による選択指示又はPC―Scanerキー1143が押下されたときには、キー押下を示す情報(選択信号およびリセット信号)がオペレーションパネル114からキーイベント配送部122へ送信される。該情報を受信したキーイベント配送部122はUSB制御部113のDevice制御部1131へ情報を転送する。情報を受信したDevice制御部1131は、リセット部11314でUSB接続におけるバスリセットを実行すると共に、マルチディスクリプタ作成部11313でデバイスディスクリプタを作成する。バスリセットが実行されると、コントロール転送によりPC30とスキャナ装置10との通信が開始され、作成したデバイスディスクリプタがPC30へ通知される。
By the way, when the selection instruction by the various keys 1142 on the
コントロール転送では、PC30からスキャナ装置10へデバイスディスクリプタの取得命令が行われると、スキャナ装置10で生成したデバイスディスクリプタがスキャナ装置10からPC30へ送られる。PC30は、取得するデバイスディスクリプタに基づいてスキャナ装置10にアクセスを行うためのアドレスをスキャナに付与して、デバイス定義を行う。尚、これ以降、PC30は、セットされたアドレスを用いてスキャナ装置10と通信を行う。
In the control transfer, when a device descriptor acquisition command is issued from the
ところで、デバイスディスクリプタは、複数に分割されてスキャナ装置10からPC30へ送信されており、初めにデバイスディスクリプタの主要な情報をスキャナ装置10からPC30へ送信した後、PC30はデバイスディスクリプタの詳細情報の取得要求をスキャナ装置10に対し行い、要求を受けたスキャナ装置10は、必要な詳細情報をPC30へ出力する。この中には、スキャナ装置10のリソースに関する情報、例えば、パイプの使い方やID(識別)コードなどの情報が含まれている。例えば、PC30は、IDコードを参照してデバイスドライバを探し、対応するドライバを起動する。この様にして、スキャナ装置10のセットアップが完了すると、スキャナ装置10は、デバイスディスクリプタに記述された機能を提供することができる。
By the way, the device descriptor is divided into a plurality of parts and transmitted from the
ところで、PC30にスキャナ装置10がホットプラグイン接続されると、PC30はスキャナ装置10の接続を検出した後、バスリセットを実行する。尚、バスリセット以降の動作は前述した内容と同様であることから、その説明を割愛する。
By the way, when the
スキャナ装置10の初期化部121は、初期化時にPC30へ通知するデバイスディスクリプタを任意に通知するための機能であり、具体的には、図7に示すように、テーブル番号にデバイスディスクリプタの作成部(スキャナ用ディスクリプタ作成部11315又はプリンタ用ディスクリプタ作成部11316)がテーブル形式で対応付けられたデフォルトデバイスディスクリプタテーブル1211と、該テーブルを初期化時に参照するためのテーブル番号を格納するデフォルトデバイスディスクリプタテーブル値格納エリア1212とを備える。
The
デフォルトデバイスディスクリプタテーブル1211には、テーブル番号「1」にスキャナ用ディスクリプタ作成部11315が対応付けられた対応テーブル1213と、テーブル番号「2」にプリンタ用ディスクリプタ作成部11316が対応付けられた対応テーブル1214とが示されている。
尚、デフォルトデバイスディスクリプタテーブル値格納エリア1212には、任意のテーブル番号が設定されており、当該デフォルトデバイスディスクリプタテーブル値格納エリア1212に示されているテーブル番号に応じて初期化時にPC30に通知するデバイスディスクリプタの作成部が選択される。
The default device descriptor table 1211 includes a correspondence table 1213 in which the scanner
An arbitrary table number is set in the default device descriptor table
ここで、スキャナ装置10の初期化動作を図8のフローチャートを用いて説明する。
まず、初期化部121によりスキャナ装置の初期化処理が開始されると(S0801)、デフォルトデバイスディスクリプタテーブル値格納エリア1212の値がチェックされ(S0802)、「1」の場合、デフォルトデバイスディスクリプタテーブル1211よりスキャナ用ディスクリプタ作成部11315の起動が選択される。これにより、スキャナ用ディスクリプタ作成部11315でスキャナ機能情報が示されたデバイスディスクリプタが生成される。その後、USB制御部113のDevice制御部1131によりPC30へスキャナ用ディスクリプタが送信される(S0805)。
Here, the initialization operation of the
First, when the initialization process of the scanner device is started by the initialization unit 121 (S0801), the value of the default device descriptor table
また、デフォルトデバイスディスクリプタテーブル値格納エリア1212の値が「2」の場合(S0803)、デフォルトデバイスディスクリプタテーブル1211よりプリンタ用ディスクリプタ作成部11316の起動が選択され、プリンタ用ディスクリプタ作成部11316でプリンタ機能情報が示されたデバイスディスクリプタが生成される。その後、USB制御部113のDevice制御部1131によりPC30へプリンタ用ディスクリプタが送信される(S0804)。
If the value of the default device descriptor table
尚、デフォルトデバイスディスクリプタテーブル値格納エリア1212の値が「2」でない場合、デフォルトデバイスディスクリプタテーブル値格納エリア1212の値を不正とみなして、メモリ格納データが壊れた旨の表示をオペレーションパネル114のLCDディスプレイに行う(S0806)。
If the value in the default device descriptor table
次に、プリンタ装置20が接続しているスキャナ装置10が、PC30へホットプラグインで接続された時の動作を図9のフローチャートを用いて説明する。
PC30へホットプラグインで接続されると(S0901)、PC30は新しいデバイスが接続されたことを認識してUSBのバスリセットを行う。スキャナ装置10は、PC30からのリセットを検出すると(S0902)、プリンタ用ディスクリプタ作成部11316を起動し、該プリンタ用ディスクリプタ作成部11316でプリンタ用ディスクリプタを作成する。
Next, the operation when the
When connected to the
作成されたプリンタ用ディスクリプタはスキャナ装置10からPC30へ送信される(S0903)。プリンタ用ディスクリプタを取得したPC30は、USBプロトコルに則って、アドレス指定やコンフィグレーションディスクリプタやインタフェースディスクリプタなどの設定を行い(S0904)、Bulk転送あるいはアイソクロナス転送用のパイプが確立されて、該パイプにより、スキャナ装置10は、スキャナデバイスとしてPC30とUSB通信を開始する(S0905)。
The created printer descriptor is transmitted from the
次に、PC30で作成したデータに基づいてプリンタ装置20で印刷する動作を図10のフローチャートを用いて説明する。尚、オペレータがPC30でプリンタ装置20を制御するための指示をオペレーションパネル114で行い、プリンタ機能情報が示されたデバイスディスクリプタが生成されて、該デバイスディスクリプタがPC10に通知され、PC10でデバイス定義が行われていることを前提に説明を行う。
Next, an operation of printing with the
PC30にインストールされているプリンタドライバにより、作成したデータに対して画処理を施して圧縮処理を行い、プリンタ言語変換を行って印刷データを生成する。該印刷データは、USBケーブル41を介してPC30からスキャナ装置10へ送信されると、スキャナ装置10のUSB制御部113は印刷データを受信すると(S1001)、該印刷データをDevice制御部1131のRxBuff11311に格納する(S1002)。
The printer driver installed in the
Device制御部1131のRxBuff11311に格納されたデータをHost制御部1132のTxBuff11321へCPU転送あるいはハードウエア転送する(S1003)。次に、USB制御部113のHost制御部1132のTxBuff11321に格納されている印刷データをPC30のHostコントローラの制御でプリンタ装置20へ送信する(S1004)。プリンタ装置20は受信した印刷データに基づいて印刷処理を行う(S1005)。
Data stored in the
次に、スキャナ装置10をPCスキャナ機能で使用する動作を図11のフローチャートを用いて説明する。オペレータがオペレーションパネル114のPC−Scanerキー143を押すと(S1101)、キーイベント配送部122により、PC−Scanerキー143が押下されたことを示す情報がUSB制御部113へ配送されると、該USB制御部113でスキャナ用ディスクリプタ作成部11315が選択される。選択されたスキャナ用ディスクリプタ作成部11315はスキャナ用ディスクリプタを作成する。
Next, the operation of using the
その後、USB制御部113のリセット部11314でバスリセットが実行されると(S1102)、スキャナ装置10は、コントロール転送によりPC30と通信を開始する。すなわちUSB制御部113はスキャナ用ディスクリプタをPC30へ送信する(S1103)。PC30は、スキャナ用ディスクリプタに基づいて、アドレス指定やコンフィグレーションディスクリプタおよびインタフェースディスクリプタと称される情報を取得して各種設定を行い(S1104)、この設定によりBulk転送あるいはアイソクロナス転送のためのパイプと称される伝送路を定め、スキャナ装置10とUSB通信を開始する(S1105)。
Thereafter, when a bus reset is executed by the
実施例1のスキャナ装置10によれば、オペレーションパネル114でオペレータが選択指示した機能でUSB通信を行うべく、選択指示された機能情報を一つだけ読出し、該機能情報だけが示されたデバイスディスクリプタを作成すると、該デバイスディスクリプタをバスリセット後にPC30に通知する。これにより、PC30は、通知されたデバイスディスクリプタに唯一示された機能情報に基づいて通信相手先を特定することができ、特定した通信相手先のデバイス定義を行ってUSB通信を行うことができる。
According to the
従って、実施例1のスキャナ装置10によれば、一つの機能情報しか示されていないデバイスディスクリプタをPC30に通知することにより、デバイスディスクリプタに示される唯一の機能情報に基づいて通信相手先を特定することができ、機能を選択して接続構成の切替え命令(ベンダリクエスト)を発行するための専用ドライバを必要としない。これにより、専用ドライバの開発を行う必要が無く、当然専用ドライバをPC30にインストールする手間を省くことができる。
Therefore, according to the
また、実施例1のスキャナ装置10によれば、スキャナ装置10およびプリンタ装置20のそれぞれに、エンドポイントを設定するための特別なICチップを設ける必要がなく、スキャナ装置10およびプリンタ装置20の製造コストの増大を抑制することができる。
Further, according to the
更に、初期化時に、常にプリンタ用(あるいはスキャナ用)のデバイスディスクリプタを選択するように固定し、PC30へプリンタ用(あるいはスキャナ用)のデバイスディスクリプタを送信するように設定する初期化部121により、電源投入時にスキャナ装置10をPCプリント機能(あるいはPCスキャナ機能)に固定し使用することができ、利用者がスキャナ装置10の使用設定を意識することなく、デフォルトに設定された機能を利用することができる。
Further, the
PC30へホットプラグインでスキャナ装置10を接続した時、常にプリンタ用(あるいはスキャナ用)ディスクリプタを作成するように固定し、PC30へプリンタ用(あるいはスキャナ用)のデバイスディスクリプタを送信するようにすることにより、ホットプラグイン時にスキャナ装置をPCプリント機能(あるいはPCスキャナ機能)に固定し使用することができるので、オペレータが混乱することなくスキャナ装置10を使用することができる。
When the
初期化時、電源投入時またはホットプラグイン接続時に、スキャナ装置をPCプリント機能で動作するように設定していても、オペレーションパネル114のPC−Scanerキー1143を押下することにより、PCプリント機能からPCスキャナ機能へ切替えて使用することができ、オペレータの使い勝手を向上させることができる。
Even if the scanner device is set to operate with the PC print function at the time of initialization, power-on or hot plug-in connection, the PC print function can be started by pressing the PC-
実施例2のシステム構成は、図1に示す実施例1と同様であることから、その説明を割愛する。
実施例2のスキャナ装置11は、図12に示されるように、実施例1のスキャナ装置10の構成の機能変更が行われ、新規な機能が追加されている。具体的に実施例2のスキャナ装置11は、原稿を読取るための読取り部111´と、USB制御部113Aと、原稿が読取り部に配置かれたことを検出すると、該検出を示す情報をUSB制御部113AのDevice制御部1131へ送信する原稿検出イベント配送部123と、原稿が読取り部に置かれた状態が所定時間以上継続したことを検出する放置原稿検出タイマー124と、該放置原稿検出タイマー124よりタイムアウト信号を受けると、放置原稿の検出を示す情報をUSB制御部113AのDevice制御部1131へ送信するタイムアウトイベント配送部125とが実施例1の構成と異なる。
The system configuration of the second embodiment is the same as that of the first embodiment shown in FIG.
As shown in FIG. 12, the
読取り部111´は、原稿が配置されたことを検出する原稿検出部1111を備えており、該原稿検出部1111は、原稿が配置されたことを示す原稿検出信号を原稿検出イベント配送部123および放置原稿検出タイマー124へ送信する。
The
原稿検出信号を受けた原稿検出イベント配送部123は、原稿を検出したことを示す情報をUSB制御部113Aへ送信する。USB制御部113Aは、原稿を検出したことを示す情報を受けると、スキャナ用ディスクリプタ作成部11315を選択し、該スキャナ用ディスクリプタ作成部11315で作成されたスキャナ用ディスクリプタをPC30へ送信する。
Upon receiving the document detection signal, the document detection
放置原稿検出タイマーは、原稿検出信号を受けると計時を開始し、原稿が読取り部に配置された状態が所定時間以上継続したことを検出すると、タイムアウト信号をタイムアウトイベント配送部125へ送信する。タイムアウト信号を受けたタイムアウトイベント配送部125は、放置原稿の検出を示す情報をUSB制御部113AのDevice制御部1131へ送信する。USB制御部113AのDevice制御部1131は、放置原稿の検出を示す情報を受けると、プリンタ用ディスクリプタ作成部11316を選択し、該プリンタ用ディスクリプタ作成部11316で作成されたプリンタ用ディスクリプタをPC30へ送信する。
The abandoned document detection timer starts timing when it receives a document detection signal, and transmits a timeout signal to the timeout
次に、実施例2のスキャナ装置11の動作を図13のフローチャートを用いて説明する。
オペレータが、スキャナ機能を使用するために、スキャナ装置11の読取り部111´に原稿が配置されると、原稿検出部1111が原稿の配置を検出し(S1302)、原稿検出信号を原稿検出イベント配送部123および放置原稿検出タイマー124へ出力する。原稿検出信号を受けた放置原稿検出タイマー124は計時を開始する(S1303)。
Next, the operation of the
When an operator places a document on the
原稿検出信号を受けた原稿検出イベント配送部123は、原稿を検出したことを示す情報をUSB制御部113AのDevice制御部1131へ送信する(S1304)。
原稿を検出したことを示す情報を受けたDevice制御部1131は、スキャナ用ディスクリプタ作成部11315を選択し、該スキャナ用ディスクリプタ作成部11315で作成されたスキャナ用ディスクリプタをPC30へ送信すべく、バスリセットを実行する。バスリセット後のコントロール転送により、スキャナ装置11からPC30へスキャナ用ディスクリプタが送られる(ステップS1305)。
Upon receiving the document detection signal, the document detection
Upon receiving information indicating that the document has been detected, the
PC30は、取得するスキャナ用ディスクリプタに基づいてデバイス定義を行う。これにより、PC30はスキャナ装置11がスキャナ機能で動作することを認識することができる(S1306)。
The
ところで、読取り部111´に原稿が配置されたにも拘わらず、オペレータの指示でPCスキャナが行われなかったとき、原稿の放置検出時間に例えば5分が設定されている場合、放置原稿検出タイマー124は、5分経過でタイムアウトし、タイムアウト信号をタイムアウトイベント配送部125へ出力する(S1307)。
By the way, when the PC scanner is not performed in response to the operator's instruction even though the document is placed on the
タイムアウト信号を受けたタイムアウトイベント配送部125は、放置原稿を検出したことを示す情報を、USB制御部113Aへ出力する(S1308)。放置原稿を検出したことを示す情報を受けたUSB制御部113AのDevice制御部1131は、マルチディスクリプタ作成部11313でプリンタ用ディスクリプタ作成部11316を選択し、該プリンタ用ディスクリプタ作成部11316で作成したプリンタ用ディスクリプタを、バスリセット後にコントロール転送でPC30へ送信する(S1309)。
PC30は、取得するプリンタ用ディスクリプタに基づいてデバイス定義を行う。これにより、PC30はスキャナ装置11を介してプリンタ20を動作させることができる。
Upon receiving the time-out signal, the time-out
The
実施例2のスキャナ装置11によれば、読取り部111´に原稿検出部1111を設け、原稿が放置されたことを検出すると、USB制御部113Aがスキャナ用ディスクリプタ作成部11315を選択して、該スキャナ用ディスクリプタ作成部11315で作成されるスキャナ用ディスクリプタをPC30へスキャナ用ディスクリプタを送信することにより、PC30はスキャナ用ディスクリプタに基づいてデバイス定義を行うことができる。これにより、スキャナ装置11に原稿を載せるだけでPCスキャナ機能を使うことが可能となり、オペレータの使い勝手を向上することができる。
According to the
また、放置原稿検出タイマー124で放置原稿を検出すると、スキャナ装置11の機能をPCプリント機能へ切替えることから、オペレータが読取り部111´で原稿を読取らせずに置き忘れたとき、スキャナ装置11をPCプリント機能として利用することができる。
Further, when a left document is detected by the left
実施例3のシステム構成は、図1に示す実施例1と同様であることから、その説明を割愛する。
実施例3のスキャナ装置12は、図14に示されるように、実施例2のスキャナ装置11の構成において、USB制御部113Aに代わるUSB制御部113Bと、PCプリントのための制御を行うPCプリント制御部118´と、デバイスディスクリプタをプリンタ用からスキャナ用へ切替える命令を検出した旨の情報をUSB制御部113Bへ送信するプリンタ簡易エミュレーションイベント配送部126とが追加されている。
Since the system configuration of the third embodiment is the same as that of the first embodiment shown in FIG. 1, the description thereof is omitted.
As shown in FIG. 14, the
PCプリント制御部118´は、PC30から送られてきたプリンタ言語を解析して「デバイスディスクリプタをプリンタ用からスキャナ用へ切替える命令」(特定情報)を検出するプリンタ簡易エミュレーション部(特定情報抽出部)1181を備えている。尚、プリンタ簡易エミュレーション部(特定情報抽出部)1181で「デバイスディスクリプタをプリンタ用からスキャナ用へ切替える命令」を検出できないとき、通常のPCプリントの機能が実行される。
The PC
プリンタ簡易エミュレーションイベント配送部126は、プリンタ簡易エミュレーション部1181から「デバイスディスクリプタをプリンタ用からスキャナ用へ切替える命令」を検出したことを示す検出信号を受けると、「デバイスディスクリプタを切替える命令」を示す情報をUSB制御部113Bへ送信する。
When the printer simple emulation
次に、実施例3のスキャナ装置12の動作を図15のフローチャートを用いて説明する。
PC30のオペレータが、スキャナ機能を使用すべく、PC30からPCプリント機能を停止する指示を出すと、プリンタドライバは、デバイスディスクリプタをプリンタ用からスキャナ用へ切替えるための命令をスキャナ装置12へ送信する(S1501)。命令を受けたスキャナ装置は、PCプリント制御部118´のプリンタ簡易エミュレーション部1181で、「デバイスディスクリプタをプリンタ用からスキャナ用へ切替える命令」を検出すると(S1502)、該検出がプリンタ簡易エミュレーションイベント配送部126に通知される。
Next, the operation of the
When the operator of the
通知を受けたプリンタ簡易エミュレーションイベント配送部126は、「デバイスディスクリプタをプリンタ用からスキャナ用へ切替える命令」を検出したことを示す情報をUSB制御部113Bへ出力する(S1503)。情報を受けたUSB制御部113BのDevice制御部1131は、マルチディスクリプタ作成部11313でスキャナ用ディスクリプタ作成部11315を選択し、該スキャナ用ディスクリプタ作成部11315で作成したスキャナ用ディスクリプタを、バスリセット後にコントロール転送でPC30へ送信する(S1504)。PC30は、取得するスキャナ用ディスクリプタに基づいてデバイス定義を行う。これにより、PC30はスキャナ装置12をスキャナ機能として認識して、PCスキャナ機能が有効となる。
Upon receiving the notification, the simple printer emulation
実施例3のスキャナ装置12によれば、プリンタ簡易エミュレーション部1181でプリンタ言語を解析して「デバイスディスクリプタをプリンタ用からスキャナ用へ切替える命令」を検出すると、プリンタ用ディスクリプタに切替えてスキャナ用ディスクリプタをPC30に通知することにより、PC30はスキャナ用ディスクリプタに基づいてデバイス定義を行って、接続構成切替えを行う。これにより、PC30からの操作によりPCプリンタ機能からPCスキャナ機能に切替えて使用することが可能となり、オペレータの利便性を向上することができる。
According to the
実施例4のシステム構成は、図1に示す実施例1と同様であることから、その説明を割愛する。
実施例3のスキャナ装置12では、「デバイスディスクリプタをプリンタ用からスキャナ用へ切替える命令」を検出したが、実施例4のスキャナ装置では、「デバイスディスクリプタをスキャナ用からプリンタ用へ切替える命令」を検出することが異なる。
実施例4のスキャナ装置13は、図16に示されるように、実施例3のスキャナ装置11の構成において、USB制御部113Bに代わるUSB制御部113Cと、PCプリンタのための制御を行うPCスキャナ制御部117´と、デバイスディスクリプタをスキャナ用からプリンタ用へ切替える命令を検出したことを示す情報をUSB制御部113Cへ送信するスキャナ簡易エミュレーションイベント配送部127とが追加されている。
Since the system configuration of the fourth embodiment is the same as that of the first embodiment shown in FIG. 1, the description thereof is omitted.
In the
As shown in FIG. 16, the
PCスキャナ制御部117´は、PC30から送られてきたスキャナ言語を解析して「デバイスディスクリプタをスキャナ用からプリンタ用へ切替える命令」(特定情報)を検出するスキャナ簡易エミュレーション部(特定情報抽出部)1171を備えている。尚、スキャナ簡易エミュレーション部(特定情報抽出部)1171で「デバイスディスクリプタをスキャナ用からプリンタ用へ切替える命令」を検出できないとき、通常のPCスキャナの機能が実行される。
The PC
スキャナ簡易エミュレーションイベント配送部126は、プリンタ簡易エミュレーション部1181から「デバイスディスクリプタをスキャナ用からプリンタ用へ切替える命令」を検出したことを示す検出信号を受けると、「デバイスディスクリプタを切替える命令」を示す情報をUSB制御部113Cへ送信する。
When the scanner simple emulation
次に、実施例4のスキャナ装置13の動作を図17のフローチャートを用いて説明する。
オペレータが、スキャナ機能を使用すべく、PC30からPCスキャン機能を停止する指示を出すと、スキャナドライバは、デバイスディスクリプタをスキャナ用からプリンタ用へ切替えるための命令をスキャナ装置13へ送信する(S1701)。スキャナ装置13のPCプリント制御部117´のスキャナ簡易エミュレーション部1171で、「デバイスディスクリプタをスキャナ用からプリンタ用へ切替える命令」を検出すると(S1702)、該検出がスキャナ簡易エミュレーションイベント配送部127に通知される。
Next, the operation of the
When the operator issues an instruction to stop the PC scan function from the
通知を受けたスキャナ簡易エミュレーションイベント配送部127は、「デバイスディスクリプタをスキャナ用からプリンタ用へ切替える命令」を検出したことを示す情報をUSB制御部113Cへ出力する(S1703)。情報を受けたUSB制御部113CのDevice制御部1131は、マルチディスクリプタ作成部11313でプリンタ用ディスクリプタ作成部11316を選択し、該プリンタ用ディスクリプタ作成部11316で作成したプリンタ用ディスクリプタを、バスリセット後にコントロール転送でPC30へ送信する(S1704)。PC30は、取得するプリンタ用ディスクリプタに基づいてデバイス定義を行う。これにより、PC30はスキャナ装置12を介してプリンタ装置20とUSB通信を行うことができる。
Upon receiving the notification, the scanner simple emulation
実施例4のスキャナ装置13によれば、スキャナ簡易エミュレーション部1171でスキャナ言語を解析して「デバイスディスクリプタをスキャナ用からプリンタ用へ切替える命令」を検出すると、スキャナ用ディスクリプタに切替えてプリンタ用ディスクリプタをPC30に通知することにより、PC30はプリンタ用ディスクリプタに基づいてデバイス定義を行って、接続構成切替えを行う。これにより、PC30からの操作によりPCスキャナ機能からPCプリンタ機能に切替えて使用することが可能となり、オペレータの利便性を向上することができる。
According to the
実施例5のシステム構成は、図1に示す実施例1と同様であることから、その説明を割愛する。
実施例5のスキャナ装置14は、前記した実施例4の構成において、USB制御部113Cに代わるUSB制御部113Dと、PCスキャナ機能の終了情報をUSB制御部113Dへ送信するPCスキャン動作終了イベント配送部128と、PCプリント機能の終了情報をUSB制御部113Dへ送信するPCプリント動作終了イベント配送部129とが追加されている。
Since the system configuration of the fifth embodiment is the same as that of the first embodiment shown in FIG. 1, the description thereof is omitted.
In the
PCスキャン動作終了イベント配送部128は、読取り部111´でPCスキャン動作が終了したことを検出すると、PCスキャン終了情報をUSB制御部113DのDevice制御部1131に送信する。
PCプリント動作終了イベント配送部129は、スキャナ装置14のHost制御部1132のTxBuff11321に格納されている印刷データの全てがプリンタ装置20へ送信されたことを検出すると、PCプリント終了情報をUSB制御部113DのDevice制御部1131に送信する。
When the PC scan operation end
When the PC print operation end
USB制御部113DのDevice制御部1131は、PCスキャン終了情報を受けると、マルチディスクリプタ作成部11313でプリンタ用ディスクリプタ作成部11316を選択し、該プリンタ用ディスクリプタ作成部11316で作成されたプリンタ用ディスクリプタをPC30へ送信する。一方、PCプリント終了情報を受けたDevice制御部1131は、マルチディスクリプタ作成部11313でスキャナ用ディスクリプタ作成部11315を選択し、該スキャン用ディスクリプタ作成部11315で作成されたスキャン用ディスクリプタをPC30へ送信する。
Upon receiving the PC scan end information, the
次に、スキャナ装置14の動作を説明する。
尚、PCスキャナ機能が選択されているときの動作を、図19のフローチャートを用いて説明する。
Next, the operation of the
The operation when the PC scanner function is selected will be described with reference to the flowchart of FIG.
読取り部111´でPCスキャン動作の終了監視が行われており(S1902)、読取り部111´でPCスキャナ動作の終了を検出すると、PCスキャン終了情報がPCスキャン動作終了イベント配送部128へ通知される。PCスキャン動作終了イベント配送部128は、PCスキャナ動作の終了を示す情報をUSB制御部113Dへ送信する(S1903)。
The end of the PC scan operation is monitored by the
PCスキャナ動作終了情報を受けたUSB制御部113DのDevice制御部1131は、マルチディスクリプタ作成部11313で2つのディスクリプタ作成部の中からプリンタ用ディスクリプタ作成部11316を選択し、選択したプリンタ用ディスクリプタ作成部11316で生成されるプリンタ用ディスクリプタを、バスリセットを実行した後、コントロール転送でPC30へ通知する(S1904)。これ以降の動作は、前記実施例で説明した内容と同様であることから、説明を割愛するが、同様の処理過程を経た後、PCプリント機能が有効となる。
Upon receiving the PC scanner operation end information, the
次に、PCプリンタ機能が選択されているときの動作を、図20のフローチャートを用いて説明する。 Next, the operation when the PC printer function is selected will be described using the flowchart of FIG.
PCプリンタ動作の終了監視が行われており(S2002)、PCプリンタ動作の終了を検出したPCプリント動作終了イベント配送部129は、PCプリント動作の終了を示す情報をUSB制御部113Dへ送信する(S2003)。
PC printer operation end monitoring is performed (S2002), and the PC print operation end
PCプリント動作終了情報を受けたUSB制御部113DのDevice制御部1131は、マルチディスクリプタ作成部11313で2つのディスクリプタ作成部の中からスキャナ用ディスクリプタ作成部11315を選択し、選択したスキャナ用ディスクリプタ作成部11315で生成されるスキャナ用ディスクリプタを、バスリセットを実行した後、コントロール転送でPC30へ通知する(S2004)。これ以降の動作は、前記実施例で説明した内容と同様であることから、説明を割愛するが、同様の処理過程を経た後、PCスキャナ機能が有効となる。
Upon receiving the PC print operation end information, the
実施例5のスキャナ装置14によれば、PCスキャン動作終了を検出すると、PCスキャン動作終了イベント配送部128からの情報に基づいてUSB制御部113DのDevice制御部1131がPCプリント動作として機能させるためのデバイスディスクリプタを作成してPC30に通知し、PCプリント動作終了を検出すると、PCプリント動作終了イベント配送部129からの情報に基づいてUSB制御部113DのDevice制御部1131がPCスキャナ動作として機能させるためのデバイスディスクリプタを作成してPC30に通知する。この機能を用いて、例えばオペレータが主に使用する機能を機能修了後に動作させる機能として予め設定することにより、所望の機能が終了すると、オペレータが主に使用する機能に自動的に切替えることができ、オペレータの利便性の向上を図ることができる。
According to the
前記した実施例では、周辺装置としてスキャナ装置を、従属周辺装置としてプリンタ装置がUSB接続されたシステムを例に説明したが、実施例6では、図21に示すように、PC80にUSBケーブル91を介して接続するプリンタ装置60を周辺装置として、該プリンタ60にUSBケーブル91を介して接続するスキャナ装置70を従属周辺装置として構築されたシステムを説明する。
In the above-described embodiment, a system in which a scanner device is used as a peripheral device and a printer device is connected as a peripheral device by USB is described as an example. However, in Embodiment 6, a USB cable 91 is connected to a
プリンタ装置60は、図22に示されるように、用紙に印刷する印刷部601と、圧縮された印刷データを解凍する解凍部602と、PC80に対してはUSBデバイスの1つとして機能し、スキャナ装置70に対してはハブ(HUB)として機能し、USBプロトコルに則ってUSB通信するためのUSB制御部603と、オペレータによるプリンタ装置60の動作設定を行うためなどの複数のキーが設けられているオペレーションパネル604と、プリンタコントロール言語を解読するためのエミュレーション部605と、プリンタ装置60でPCスキャナ用の制御命令を一旦受信し、受信した制御命令をスキャナ装置70へ転送してPCスキャナとして機能するように制御するためのPCスキャナ制御部606と、当該装置をPCプリンタとして機能させるように制御するためのPCプリント制御部607と、印刷画データの保持、画処理および圧縮処理を行うための作業領域として用いる画メモリ609と、初期化時にスキャナ用デバイスディスクリプタあるいはプリンタ用デバイスディスクリプタのいずれか一方のデバイスディスクリプタを作成してPC80へ送信する初期化部610と、オペレーションパネル114のキーが押下されたことをUSB制御部603の後述するDevice制御部6031に通知するためのキーイベント配送部608と、プリンタ機能情報およびスキャナ機能情報を保持する機能情報保持部650とを備える。
As shown in FIG. 22, the
尚、前記各部は図示しないROMに保持されているプログラムに基づいてCPU611が実質的な制御を行うが、説明を簡便に行うために、前記した各機能ブロックでプリンタ装置60の説明を行う。
Note that the
ところで、プリンタ装置60の機能情報保持部650は、スキャナ装置70の機能を示す機能情報を保持するスキャナ機能情報保持部651と、当該プリンタ装置60の機能を示す機能情報を保持するプリンタ機能情報保持部652とを備えている。スキャナ機能情報保持部651で保持する機能情報またはプリンタ機能情報保持部652で保持する機能情報の何れか一方が、後述するデバイスディスクリプタ作成時に読み出される。
Incidentally, the function information holding unit 650 of the
プリンタ装置60のUSB制御部603は、図23に示されているように、USBデバイスの1つとして機能するためのDevice制御部6031と、ハブとして機能するためのHost制御部6032から構成されている。
As shown in FIG. 23, the
Host制御部6032は、スキャナ装置70へデータを送信するためのTxBuff60321と、スキャナ装置70からのデータを受信するためのRxBuff60322とを備える。
The
Device制御部6031は、PC80からのデータを受信するためのRxBuff60311と、PC80へデータを送信するためのTxBuff60312と、後述するデバイスディスクリプタを作成するディスクリプタ作成部(図示せず)を複数有するマルチディスクリプタ作成部60313から構成されており、PC80とスキャナ装置70とがUSB通信を行うとき、RxBuff60311で保持するデータがTxBuff60321へ転送され、またRxBuff60322で保持するデータがTxBuff60312へ転送される。
The
尚、オペレータがオペレーションパネル604におけるPC80とスキャナ装置70との間のUSB通信を指示するキーを押下することにより、後述するスキャナ機能情報が示されたデバイスディスクリプタが生成されて、該デバイスディスクリプタがPC10に通知された後、前記した転送制御が行われる。
When an operator presses a key for instructing USB communication between the
ここで、マルチディスクリプタ作成部60313を説明する。マルチディスクリプタ作成部60313は、図24に示されるように、USB接続におけるバスリセットを行うリセット部60314と、スキャナ用デバイスディスクリプタを作成するスキャナ用ディスクリプタ作成部60315と、プリンタ用デバイスディスクリプタを作成するプリンタ用ディスクリプタ作成部60316とから構成されている。
Here, the
当該装置60を介してスキャナ装置70をスキャナ機能でPC80に制御させるべく、スキャナ用ディスクリプタ作成部60315は、機能情報保持部650のスキャナ機能情報保持部651からスキャナ機能情報を読出し、該スキャナ機能情報が示されたデバイスディスクリプタを生成する。
The scanner
一方、プリンタ用ディスクリプタ作成部60316は、当該装置60をプリンタ機能でPC80に制御させるべく、機能情報保持部650のプリンタ機能情報保持部652からプリンタ機能情報を読出し、該プリンタ機能情報が示されたデバイスディスクリプタを作成する。このように、ディバイスディスクリプタは、PC80で制御させたい機能に応じて作成される。尚、作成されたデバイスディスクリプタはUSB接続におけるバスリセット後にPCに通知される。通知を受けたPCは、デバイスディスクリプタに示されている機能情報に基づいて通信相手先を特定する(デバイス定義を行う)。
On the other hand, the printer
プリンタ装置60のオペレーションパネル604は、図25に示されるように、オペレータが操作設定を行うためのLCDディスプレイ6041と、複数の押下キー6042と、PC−Scanerキー6043とを備える。
As shown in FIG. 25, the
オペレーションパネル604は、複数のキー6042の押下に対応して、押下されたキーによる選択信号(選択情報)をUSB制御部603へ出力する。USB制御部603のマルチディスクリプタ作成部60313は、受信した選択信号に基づいて、スキャナ用ディスクリプタ作成部60315又はプリンタ用ディスクリプタ作成部60316の何れか一方を起動する。換言すると、オペレータがオペレーションパネル604でスキャナ装置70の利用ボタンを押下すると、スキャナ用ディスクリプタ作成部60315が起動し、プリンタ装置60の利用ボタンを押下すると、プリンタ用ディスクリプタ作成部60316が起動する。
In response to pressing of a plurality of keys 6042, the
ところで、PC−Scanerキー3043が押下されると、オペレーションパネル604は、USB制御部603へPCSキャン選択を示す信号を出力する。PCスキャン機能の選択を示す選択信号を受けたUSB制御部603は、マルチディスクリプタ作成部60313でスキャナ用ディスクリプタ作成部60315を選択し、該スキャナ用ディスクリプタ作成部60315を起動してデバイスディスクリプタを生成する。生成したデバイスディスクリプタは、リセット部60314でUSB接続におけるバスリセットが実行された後、コントロール転送でPC80へ通知される。尚、バスリセット以降の動作は前述した実施例と同様であることから、その説明を割愛する。
When the PC-Scanner key 3043 is pressed, the
プリンタ装置60の初期化部610は、初期化時にPC80へ通知するデバイスディスクリプタを任意に通知するための機能であり、図26に示すように、テーブル番号にデバイスディスクリプタの作成部(スキャナ用ディスクリプタ作成部60315又はプリンタ用ディスクリプタ作成部60316)がテーブル形式で対応付けられたデフォルトデバイスディスクリプタテーブル6101と、該テーブルを初期化時に参照するためのテーブル番号を格納するデフォルトデバイスディスクリプタテーブル値格納エリア6102とを備える。
The
デフォルトデバイスディスクリプタテーブル1211には、テーブル番号「1」にスキャナ用ディスクリプタ作成部60315が対応付けられた対応テーブル6103と、テーブル番号「2」にプリンタ用ディスクリプタ作成部60316が対応付けられた対応テーブル6104とが示されている。
尚、デフォルトデバイスディスクリプタテーブル値格納エリア6102には、任意のテーブル番号が設定されており、当該デフォルトデバイスディスクリプタテーブル値格納エリア6102に示されているテーブル番号に応じて初期化時にPC80に通知するデバイスディスクリプタの作成部が選択される。
The default device descriptor table 1211 includes a correspondence table 6103 in which the scanner
An arbitrary table number is set in the default device descriptor table
ここで、実施例6のプリンタ装置60の初期化部610の初期化動作を図27のフローチャートを用いて説明する。
まず、初期化部610によりスキャナ装置の初期化処理が開始されると(S2701)、デフォルトデバイスディスクリプタテーブル値格納エリア6102の値がチェックされ(S2702)、「1」の場合、デフォルトデバイスディスクリプタテーブル6101よりスキャナ用ディスクリプタ作成部60315の起動が選択される。これにより、スキャナ用ディスクリプタ作成部60315でスキャナ機能情報が示されたデバイスディスクリプタが生成される。その後、USB制御部603のDevice制御部6031によりPC80へスキャナ用ディスクリプタが送信される(S2705)。
Here, the initialization operation of the
First, when initialization processing of the scanner device is started by the initialization unit 610 (S2701), the value of the default device descriptor table
また、デフォルトデバイスディスクリプタテーブル値格納エリア6102の値が「2」の場合(S2703)、デフォルトデバイスディスクリプタテーブル6101よりプリンタ用ディスクリプタ作成部60316の起動が選択され、プリンタ用ディスクリプタ作成部60316でプリンタ機能情報が示されたデバイスディスクリプタが生成される。その後、USB制御部603のDevice制御部6031によりPC80へプリンタ用ディスクリプタが送信される(S2704)。
If the value in the default device descriptor table
尚、デフォルトデバイスディスクリプタテーブル値格納エリア6102の値が「2」でない場合、デフォルトデバイスディスクリプタテーブル値格納エリア6102の値を不正とみなして、メモリ格納データが壊れた旨の表示をオペレーションパネル604のLCDディスプレイ6041に行う(S2706)。
If the value in the default device descriptor table
次に、スキャナ装置70が接続しているプリンタ装置60が、PC80へホットプラグインで接続された時の動作を図28のフローチャートを用いて説明する。
PC80へホットプラグインで接続されると(S2801)、PC80は新しいデバイスが接続されたことを認識してUSBのバスリセットをリセット部60314で行う。プリンタ装置60は、PC80からのリセットを検出すると(S2802)、プリンタ用ディスクリプタ作成部60316を起動し、該プリンタ用ディスクリプタ作成部60316でプリンタ用ディスクリプタを作成する。
Next, the operation when the
When connected to the
作成されたプリンタ用ディスクリプタは、コントロール転送でプリンタ装置60からPC80へ送信される(S2803)。プリンタ用ディスクリプタを取得したPC80は、USBプロトコルに則って、アドレス指定やコンフィグレーションディスクリプタやインタフェースディスクリプタなどの設定を行い(S2804)、Bulk転送あるいはアイソクロナス転送用のパイプが確立されて、該パイプにより、プリンタ装置60は、プリンタデバイスとしてPC80とUSB通信を開始する(S2805)。
The created printer descriptor is transmitted from the
次に、オペレータがプリンタ装置60をスキャナ機能で使用するときの動作を図29のフローチャートを用いて説明する。
オペレータにより、オペレーションパネル604のPC−Scanerキー6043が押下されると(S2901)、キーイベント配送部608により、PC−Scanerキー6043が押下されたことを示す情報がUSB制御部603へ通知される。情報を受けたUSB制御部603は、スキャナ用ディスクリプタ作成部60315を選択する。選択されたスキャナ用ディスクリプタ作成部60315は、スキャナ用ディスクリプタを作成する。
Next, the operation when the operator uses the
When the operator presses the PC-
その後、USB制御部603のリセット部60314でバスリセットが実行されると(S2902)、プリンタ装置60は、コントロール転送によりPC80と通信を開始する。すなわち、プリンタ装置60のUSB制御部603は、スキャナ用ディスクリプタをPC80へ送信する(S2903)。PC80は、スキャナ用ディスクリプタに基づいて、アドレス指定やコンフィグレーションディスクリプタおよびインタフェースディスクリプタと称される情報を取得して各種設定を行い(S2904)、この設定によりBulk転送あるいはアイソクロナス転送のためのパイプと称される伝送路を定め、該パイプにより、プリンタ60は、プリンタデバイスとしてPC80とUSB通信を開始する(S2905)。
Thereafter, when a bus reset is executed by the
実施例6のプリンタ装置60によれば、オペレーションパネル604でオペレータが選択指示した機能でUSB通信を行うべく、選択指示された機能情報を一つだけ読出し、該機能情報だけが示されたデバイスディスクリプタを作成すると、該デバイスディスクリプタをバスリセット後にPC80に通知する。これにより、PC80は、通知されたデバイスディスクリプタに唯一示された機能情報に基づいて通信相手先を特定することができ、特定した通信相手先のデバイス定義を行ってUSB通信を行うことができる。
According to the
従って、実施例6のプリンタ装置60によれば、一つの機能情報しか示されていないデバイスディスクリプタをPC80に通知することにより、デバイスディスクリプタに示される唯一の機能情報に基づいて通信相手先を特定することができ、機能を選択して接続構成の切替え命令(ベンダリクエスト)を発行するための専用ドライバを必要としない。これにより、専用ドライバの開発を行う必要が無く、当然専用ドライバをPC80にインストールする手間を省くことができる。
Therefore, according to the
以上の実施例では、周辺装置としてプリンタ装置およびスキャナ装置に限定して説明したが、本発明はこれに限定されるものでない。
周辺装置として、例えばモニタ装置、キーボード、マウス、FAX装置、記憶装置、イメージサーバ装置などに本発明を適用することが可能である。
In the above embodiment, the description has been made by limiting the peripheral device to the printer device and the scanner device, but the present invention is not limited to this.
As the peripheral device, for example, the present invention can be applied to a monitor device, a keyboard, a mouse, a FAX device, a storage device, an image server device, and the like.
以上の実施例では、周辺装置の機能情報保持部150で保持する機能情報の更新について説明を行わなかったが、例えば周辺装置に従属周辺装置を接続する際、該従属周辺装置から機能情報を取得して機能情報保持部150で保持する機能情報を更新したり、上位装置との通信で機能情報を取得して機能情報保持部150で保持する機能情報を更新するようにしてもよいし、周辺装置のROM交換により、機能情報保持部150で保持する機能情報を更新するようにしてもよい。 In the above embodiment, the update of the function information held in the function information holding unit 150 of the peripheral device has not been described. However, for example, when a subordinate peripheral device is connected to the peripheral device, the function information is acquired from the subordinate peripheral device. Then, the function information held in the function information holding unit 150 may be updated, or the function information acquired by communication with the higher-level device and updated in the function information holding unit 150 may be updated. The function information held in the function information holding unit 150 may be updated by exchanging the ROM of the apparatus.
また、前記した実施例では、周辺装置の機能情報保持部150で周辺装置の機能情報および従属周辺装置の機能情報を予め保持し、必要に応じて何れか一方の機能情報を読出してデバイスディスクリプタを生成し、該デバイスディスクリプタを上位装置に通知する例で説明したが、これに限る必要はなく、例えば予め周辺装置用のデバイスディスクリプタおよび従属周辺装置用のデバイスディスクリプタを保持しておき、選択指示に応じて保持する何れか一方のデバイスクリプタを上位装置に通知するようにしてもよい。 Further, in the above-described embodiment, the peripheral device function information holding unit 150 holds the peripheral device function information and the subordinate peripheral device function information in advance, and reads out one of the function information as necessary to obtain the device descriptor. However, the present invention is not limited to this. For example, a device descriptor for a peripheral device and a device descriptor for a subordinate peripheral device are held in advance, and a selection instruction is issued. In response, any one of the device crypters held may be notified to the host device.
前記した実施例では、テーブル番号に基づいてデバイスディスクリプタの作成部を選択する例で初期化部を説明したが、これに限る必要はなく、例えばテーブル番号に予めデバイスディスクリプタを対応付けるようにしてもよい。これにより、デバイスディスクリプタを作成しなくても、テーブル番号に対応付けられたデバイスディスクリプタを直接上位装置に通知することができる。 In the above-described embodiment, the initialization unit has been described as an example in which a device descriptor creation unit is selected based on a table number. However, the present invention is not limited to this. For example, a device descriptor may be associated with a table number in advance. . As a result, the device descriptor associated with the table number can be directly notified to the host device without creating a device descriptor.
10、11、12、13、14、70 スキャナ装置
111、111´ 読取り部
1111 原稿検出器
112 画処理部
113、113A、113B USB制御部
113C、113D USB制御部
150 機能情報保持部
151 スキャン機能情報保持部
152 プリンタ機能情報保持部
1131 Device制御部
11311、11322 RxBuff
11312、11321 TxBuff
11313 マルチディスクリプタ作成部
11314 リセット部
11315 スキャナ用ディスクリプタ作成部
11316 プリンタ用ディスクリプタ作成部
1132 Host制御部
114 オペレーションパネル
1141 LCDディスプレイ
1142 各種キー
1143 PC−Scanerキー
115 圧縮部
116 コピー制御部
117、117´ PCスキャナ制御部
1171 スキャナ簡易エミュレータ部
118、118´ PCプリント制御部
1181 プリンタ簡易エミュレータ部
119 画メモリ
120 CPU
121 初期化部
1211 デフォルトデバイスディスクリプタテーブル
1212 デフォルトデバイスディスクリプタテーブル値
格納エリア
1213 スキャナ用ディスクリプタ作成部
1214 プリンタ用ディスクリプタ作成部
122 キーイベント配送部
123 原稿検出イベント配送部
124 放置原稿検出タイマー
125 タイムアウトイベント配送部
126 プリンタ簡易エミュレーションイベント配送部
127 スキャナ簡易エミュレーションイベント配送部
128 PCスキャン動作終了イベント配送部
129 PCプリント動作終了イベント配送部
20、60 プリンタ装置
30、80 PC
41、42、91、92 USBケーブル
601 印刷部
602 解凍部
603 USB制御部
650 機能情報保持部
651 スキャン機能情報保持部
652 プリンタ機能情報保持部
6031 Device制御部
60311、60322 RxBuff
60312、60321 TxBuff
60313 マルチディスクリプタ作成部
60314 リセット部
60315 スキャナ用ディスクリプタ作成部
60316 プリンタ用ディスクリプタ作成部
6032 Host制御部
604 オペレーションパネル
6041 LCDディスプレイ
6042 各種キー
6043 PC−Scanerキー
605 エミュレーション部
606 PCスキャナ部
607 PCプリント部
608 キーイベント配送部
609 画メモリ
610 初期化部
6101 デフォルトデバイスディスクリプタテーブル
6102 デフォルトデバイスディスクリプタテーブル値格納エリア
6103 スキャナ用ディスクリプタ
6104 プリンタ用ディスクリプタ
611 CPU
10, 11, 12, 13, 14, 70
11312, 11321 TxBuff
11313
121
41, 42, 91, 92
60312, 60321 TxBuff
60313
Claims (15)
当該周辺装置の機能を示す機能情報を保持する周辺装置機能情報保持部と、
USB接続される従属周辺装置の機能を示す機能情報を保持する従属周辺装置機能情報保持部と、
選択指示に基づいて前記周辺機能情報保持部で保持する機能情報または前記従属周辺装置機能情報保持部で保持する機能情報の何れか一方を読出し、読出した機能情報が示されたデバイスディスクリプタを前記上位装置に通知するUSB制御部と、を備えることを特徴とする周辺装置。 In a peripheral device that notifies a device descriptor to a host device connected via USB and causes the host device to identify a communication partner based on the function information indicated in the device descriptor.
A peripheral device function information holding unit for holding function information indicating the function of the peripheral device;
A subordinate peripheral device function information holding unit for holding function information indicating a function of a subordinate peripheral device connected via USB;
Based on the selection instruction, either the function information held in the peripheral function information holding unit or the function information held in the subordinate peripheral device function information holding unit is read, and the device descriptor in which the read function information is indicated A peripheral device comprising: a USB control unit that notifies the device.
前記周辺装置機能情報保持部は画像読取機能を示す機能情報を保持し、
前記従属周辺装置機能情報保持部は画像形成機能を示す機能情報を保持することを特徴とする請求項1記載の周辺装置。 When the peripheral device is an image reading device and the subordinate peripheral device is an image forming device,
The peripheral device function information holding unit holds function information indicating an image reading function,
The peripheral device according to claim 1, wherein the subordinate peripheral device function information holding unit holds function information indicating an image forming function.
前記周辺装置機能情報保持部は画像形成機能を示す機能情報を保持し、
前記従属周辺装置機能情報保持部は画像読取機能を示す機能情報を保持することを特徴とする請求項1記載の周辺装置。 When the peripheral device is an image forming device and the dependent peripheral device is an image reading device,
The peripheral device function information holding unit holds function information indicating an image forming function,
The peripheral device according to claim 1, wherein the subordinate peripheral device function information holding unit holds function information indicating an image reading function.
前記USB制御部は、前記オペレーションパネルで前記選択指示を受けると、前記デバイスディスクリプタの通知に先立ち、前記上位装置とのUSB接続におけるバスリセットを行うことを特徴とする請求項1記載の周辺装置。 An operation panel for receiving the selection instruction from an operator;
2. The peripheral device according to claim 1, wherein the USB control unit, when receiving the selection instruction on the operation panel, performs a bus reset in USB connection with the host device prior to notification of the device descriptor.
前記原稿読取部は、原稿が配置されたことを検出すると、前記選択指示として原稿検出信号を前記USB制御部に通知し、
前記USB制御部は、前記原稿検出信号を受けると、画像読取機能を示す機能情報を読み出すことを特徴とする請求項5記載の周辺装置。 A document reading unit for reading a document;
When the document reading unit detects that a document is placed, it notifies the USB control unit of a document detection signal as the selection instruction.
The peripheral device according to claim 5, wherein the USB control unit reads function information indicating an image reading function when receiving the document detection signal.
前記USB制御部は、前記原稿放置検出信号を受けると、画像形成機能を示す機能情報を読み出すことを特徴とする請求項6記載の周辺装置。 A timer for notifying the USB control unit of a neglected document detection signal as the selection instruction when it is detected that the document is placed and left;
The peripheral device according to claim 6, wherein the USB control unit reads function information indicating an image forming function when receiving the document leaving detection signal.
前記USB制御部は、前記終了検出信号を受けると、前記画像形成機能を示す機能情報を読み出すことを特徴とする請求項6記載の周辺装置。 When the original reading unit reads the placed original and detects that there are no more originals to be read, the original reading unit notifies the USB control unit of an end detection signal as the selection instruction.
The peripheral device according to claim 6, wherein the USB control unit reads function information indicating the image forming function when receiving the end detection signal.
前記USB制御部は、抽出する前記特定情報に前記上位装置とのUSB接続におけるバスリセットを行う指示が示されているとき、該バスリセットを行うことを特徴とする請求項1記載の周辺装置。 A specific information extraction unit that analyzes the control command from the host device and extracts specific information;
The peripheral device according to claim 1, wherein the USB control unit performs the bus reset when an instruction to perform a bus reset in a USB connection with the host device is indicated in the specific information to be extracted.
前記特定情報抽出部は、前記特定情報が画像読取装置の制御言語で記述された命令であるとき、該命令を前記選択指示として前記USB制御部に通知し、
前記USB制御部は、前記命令を受けると、前記画像読取機能を示す機能情報を読み出すことを特徴とする請求項5記載の周辺装置。 A specific information extraction unit that analyzes the control command from the host device and extracts specific information;
When the specific information is a command described in the control language of the image reading device, the specific information extraction unit notifies the USB control unit of the command as the selection instruction.
The peripheral device according to claim 5, wherein the USB control unit reads function information indicating the image reading function when receiving the command.
前記特定情報抽出部は、前記特定情報が画像形成装置の制御言語で記述された命令であるとき、該命令を前記選択指示として前記USB制御部に通知し、
前記USB制御部は、前記命令を受けると、前記画像形成機能を示す機能情報を読み出すことを特徴とする請求項5記載の周辺装置。 A specific information extraction unit that analyzes the control command from the host device and extracts specific information;
When the specific information is a command described in the control language of the image forming apparatus, the specific information extraction unit notifies the USB control unit of the command as the selection instruction.
The peripheral device according to claim 5, wherein the USB control unit reads out function information indicating the image forming function when receiving the command.
当該周辺装置の機能を示す機能情報を保持する周辺装置機能情報保持部と、
USB接続される従属周辺装置の機能を示す機能情報を保持する従属周辺装置機能情報保持部と、
選択指示に基づいて前記周辺機能情報保持部で保持する機能情報または前記従属周辺装置機能情報保持部で保持する機能情報の何れか一方を読出し、読出した機能情報が示されたデバイスディスクリプタを前記上位装置に通知するUSB制御部とを備え、
前記USB制御部は、前記上位装置で前記従属周辺装置が通信相手先として特定されると、前記上位装置および前記従属周辺装置との間でUSB通信するための中継を行うUSBホスト制御部を有することを特徴とする周辺装置。 In a peripheral device that notifies a device descriptor to a host device connected via USB and causes the host device to identify a communication partner based on the function information indicated in the device descriptor.
A peripheral device function information holding unit for holding function information indicating the function of the peripheral device;
A subordinate peripheral device function information holding unit for holding function information indicating a function of a subordinate peripheral device connected via USB;
Based on the selection instruction, either the function information held in the peripheral function information holding unit or the function information held in the subordinate peripheral device function information holding unit is read, and the device descriptor in which the read function information is indicated A USB control unit for notifying the device,
The USB control unit includes a USB host control unit that performs relay for USB communication between the host device and the slave peripheral device when the slave peripheral device is specified as a communication partner in the host device. A peripheral device characterized by that.
15. The peripheral device according to claim 14, wherein the peripheral device is a scanner device, and the subordinate peripheral device is a printer device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005127924A JP4676241B2 (en) | 2004-04-27 | 2005-04-26 | Computer peripherals |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004132008 | 2004-04-27 | ||
JP2005127924A JP4676241B2 (en) | 2004-04-27 | 2005-04-26 | Computer peripherals |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2005339524A true JP2005339524A (en) | 2005-12-08 |
JP4676241B2 JP4676241B2 (en) | 2011-04-27 |
Family
ID=35492975
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005127924A Expired - Fee Related JP4676241B2 (en) | 2004-04-27 | 2005-04-26 | Computer peripherals |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4676241B2 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008299525A (en) * | 2007-05-30 | 2008-12-11 | Kyocera Mita Corp | Image forming system and image forming apparatus |
JP2009220291A (en) * | 2008-03-13 | 2009-10-01 | Seiko Epson Corp | Electronic device system and method for controlling in electronic device system |
KR101025420B1 (en) * | 2010-10-14 | 2011-03-28 | 송지호 | Computing apparatus and method for cognizing external apparatus of the computing apparatus |
JP7484235B2 (en) | 2020-03-06 | 2024-05-16 | セイコーエプソン株式会社 | Printing device and method for controlling printing device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001222503A (en) * | 2000-02-08 | 2001-08-17 | Ricoh Co Ltd | Peripheral equipment control system |
JP2004102716A (en) * | 2002-09-10 | 2004-04-02 | Seiko Epson Corp | Electronic equipment having serial interface |
JP2004112078A (en) * | 2002-09-13 | 2004-04-08 | Seiko Epson Corp | Image input output system |
-
2005
- 2005-04-26 JP JP2005127924A patent/JP4676241B2/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001222503A (en) * | 2000-02-08 | 2001-08-17 | Ricoh Co Ltd | Peripheral equipment control system |
JP2004102716A (en) * | 2002-09-10 | 2004-04-02 | Seiko Epson Corp | Electronic equipment having serial interface |
JP2004112078A (en) * | 2002-09-13 | 2004-04-08 | Seiko Epson Corp | Image input output system |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008299525A (en) * | 2007-05-30 | 2008-12-11 | Kyocera Mita Corp | Image forming system and image forming apparatus |
JP2009220291A (en) * | 2008-03-13 | 2009-10-01 | Seiko Epson Corp | Electronic device system and method for controlling in electronic device system |
KR101025420B1 (en) * | 2010-10-14 | 2011-03-28 | 송지호 | Computing apparatus and method for cognizing external apparatus of the computing apparatus |
JP7484235B2 (en) | 2020-03-06 | 2024-05-16 | セイコーエプソン株式会社 | Printing device and method for controlling printing device |
Also Published As
Publication number | Publication date |
---|---|
JP4676241B2 (en) | 2011-04-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1592221B1 (en) | Peripherals of computer | |
JP4182116B2 (en) | PRINT CONTROL DEVICE, ITS CONTROL METHOD, AND COMPUTER PROGRAM | |
KR101337160B1 (en) | Information processing apparatus, information processing method and storage medium | |
JP2011103572A (en) | User interface of image processor | |
JP2010039684A (en) | Image forming apparatus, information processing apparatus, data processing method, and program | |
JP4676241B2 (en) | Computer peripherals | |
JP6141007B2 (en) | PRINT CONTROL DEVICE, ITS CONTROL METHOD, AND PROGRAM | |
JP2007068154A (en) | Image forming apparatus, information processing method, information processing program, and recording medium | |
JP4876837B2 (en) | Scanner driver and scanner driver cooperation device | |
JP4512565B2 (en) | Image forming apparatus and application installation method | |
JP2004259153A (en) | Information processor, method of controlling the same, and control program | |
JP2006293638A (en) | Information processor and peripheral equipment | |
KR100282938B1 (en) | Host data transmission method and MFP data reception method | |
JP7242296B2 (en) | PRINTING SYSTEM, INFORMATION PROCESSING DEVICE, CONTROL METHOD, AND PROGRAM | |
JP6635157B2 (en) | Image forming apparatus, its processing method, and program | |
JP2012080519A (en) | Image processing device | |
JP4859241B2 (en) | Composite apparatus, information processing method, and program | |
JP2010271824A (en) | Print control system, image forming apparatus, print management server, print control method, processing method of image forming apparatus, processing method of print management server, and program | |
JP4536439B2 (en) | Image processing device | |
JP2004062828A (en) | Image forming device and customization program testing method | |
JP2023048280A (en) | Image control device receiving shutdown instruction, and method for controlling the same | |
JP4944227B2 (en) | Image processing device | |
JP2017154319A (en) | Control system, method for processing the same and program | |
JP2004318818A (en) | Image output system, image output apparatus, image supply apparatus and control program | |
JP6175925B2 (en) | Image forming apparatus, processing method thereof, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080220 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20101008 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20101019 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20101217 |
|
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: 20110125 |
|
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: 20110127 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140204 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4676241 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |