JP2015115900A - Image reading apparatus, control method of the same, and program - Google Patents
Image reading apparatus, control method of the same, and program Download PDFInfo
- Publication number
- JP2015115900A JP2015115900A JP2013258696A JP2013258696A JP2015115900A JP 2015115900 A JP2015115900 A JP 2015115900A JP 2013258696 A JP2013258696 A JP 2013258696A JP 2013258696 A JP2013258696 A JP 2013258696A JP 2015115900 A JP2015115900 A JP 2015115900A
- Authority
- JP
- Japan
- Prior art keywords
- command
- image reading
- mfp
- scan
- communication protocol
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Facsimiles In General (AREA)
Abstract
Description
本発明は、情報処理装置からの要求に応じて画像の読取を実行する画像読取技術に関するものである。 The present invention relates to an image reading technique for reading an image in response to a request from an information processing apparatus.
近年、ネットワークの基盤が整備されるに従い、ネットワーク対応型のプリンタ、複写機、ファクシミリ、スキャナ、デジタルカメラ、及びこれらの複合機能を備える装置(周辺装置)が急速に普及しつつある。例えば、ネットワーク上に接続されるスキャナ(画像読取装置)は、原稿を読み取って生成した画像データをPC等の情報処理装置へ送信する機能を有している。このようなネットワーク上のスキャン機能を実現するために、画像読取装置はいくつかのネットワークプロトコルをサポートし、情報処理装置との間で通信を行っている。 In recent years, as the network infrastructure is improved, network-compatible printers, copiers, facsimiles, scanners, digital cameras, and devices (peripheral devices) having these combined functions are rapidly spreading. For example, a scanner (image reading apparatus) connected to a network has a function of transmitting image data generated by reading a document to an information processing apparatus such as a PC. In order to realize such a scanning function on the network, the image reading apparatus supports several network protocols and communicates with the information processing apparatus.
ここで、OS(Operating System)としてマイクロソフト(登録商標)社のWindows(登録商標)Vistaが情報処理装置にインストールされている場合を考える。Windows(登録商標) Vista(またはそれ以降のOS)では、WSD(Web Services on Devices)という技術がサポートされるようになっている。WSDはデバイスを用いた様々なサービスの要求に答えるために定義された標準仕様である。基本的にWEBサービスのアーキテクチャを使用し、標準化されたネットワーク上の標準通信プロトコル群、印刷サービス、及びスキャンサービスを提供している。 Here, consider a case where Windows (registered trademark) Vista of Microsoft (registered trademark) is installed in the information processing apparatus as an OS (Operating System). In Windows (registered trademark) Vista (or later OS), a technology called WSD (Web Services on Devices) is supported. WSD is a standard specification defined to answer various service requests using devices. Basically, a web service architecture is used, and a standard communication protocol group on a standardized network, a print service, and a scan service are provided.
また、WSDを使用したOS標準のスキャナドライバ(WIA:マイクロソフトがWindows(登録商標)Me以降に採用しているOS標準の画像入力API)がOSにプレインストールされている。そして、画像読取装置がWSDの標準スキャンサービスをサポートすることにより、OS標準のWIAドライバを使用したネットワークスキャンが可能となっている。WSDの標準スキャンサービスには、そのスキャンサービスを利用するための各種コマンドや各種イベントがWSDに準拠した形式に基づく言語によって定義されている。さらに、画像読取装置がWSDの標準スキャンサービスに対応することが、WHQL(Windows Hardware Quality Labs)のロゴ要件にもなっている。 An OS standard scanner driver using WSD (WIA: an OS standard image input API adopted by Microsoft after Windows (registered trademark) Me) is preinstalled in the OS. Since the image reading apparatus supports the WSD standard scan service, a network scan using an OS standard WIA driver is possible. In the standard scan service of WSD, various commands and various events for using the scan service are defined by a language based on a format compliant with WSD. Furthermore, it is also a logo requirement of WHQL (Windows Hardware Quality Labs) that the image reading apparatus supports the WSD standard scan service.
WSDとそれ以外のネットワークプロトコルをサポートする先行技術としては、複数のプロトコルでデバイスを検出し表示を1つにまとめる方法がある(特許文献1参照)。 As a prior art that supports WSD and other network protocols, there is a method of detecting devices using a plurality of protocols and combining the displays into one (see Patent Document 1).
一般的に、Windows(登録商標)のスキャナドライバは、OS標準のWIAドライバとTWAIN(TWAINワーキンググループが定める画像処理ソフトウェアとスキャナ間のインタフェース)を使用した周辺機器メーカー製のTWAINドライバが存在する。WIAドライバは、スキャン設定や画像補正等の機能が少ないため、画像読取装置の能力に応じたより詳細な設定でスキャンを行うには、TWAINドライバが必要となることがある。 Generally, as a scanner driver of Windows (registered trademark), there is a TWAIN driver manufactured by a peripheral manufacturer using an OS standard WIA driver and TWAIN (an interface between the image processing software and the scanner defined by the TWAIN working group). Since the WIA driver has few functions such as scan setting and image correction, the TWAIN driver may be required to perform scanning with more detailed settings according to the capabilities of the image reading apparatus.
しかし、WSDを使用したネットワークスキャンにおいては、WSDの標準スキャンサービスに対応した画像読取装置と情報処理装置にインストールされたWIAドライバの組み合わせのみが現状サポートされている。WSDを使ってTWAINドライバからネットワークスキャンする方法は確立していないため、周辺機器メーカーは独自のネットワークプロトコルを使用して、画像読取装置と情報処理装置間で通信しなければならないという問題がある。 However, in the network scan using WSD, only a combination of an image reading apparatus compatible with the WSD standard scan service and a WIA driver installed in the information processing apparatus is currently supported. Since a method for performing network scanning from a TWAIN driver using WSD has not been established, there is a problem that a peripheral device manufacturer has to communicate between the image reading apparatus and the information processing apparatus using a unique network protocol.
また、WSDと周辺機器メーカー独自のネットワークプロトコルの2つを実装することは、画像読取装置内のメモリ容量多く使う必要がある。Windows(登録商標) Vista以降、WSDの標準スキャンサービスに対応することがWHQLの必須要件となっていることから、周辺機器メーカー独自のネットワークプロトコルから、WSDに一本化する方向が考えられる。WSDを使ってOS標準のWIAドライバ、周辺機器メーカー製のTWAINドライバの両方からスキャンできるようになった場合、画像読取装置と情報処理装置間で通信する画像読取コマンドはそれぞれのドライバで異なるため、画像読取装置はWIAドライバとTWAINドライバのどちらのドライバから画像読取コマンドが発行されているか区別する必要がある。 In addition, it is necessary to use a large memory capacity in the image reading apparatus to implement two network protocols unique to WSD and peripheral device manufacturers. Since Windows (registered trademark) Vista and later, it has become an essential requirement of WHQL to support the WSD standard scan service, and there is a direction to unify the WSD from the network protocol unique to the peripheral device manufacturer. When scanning can be performed from both the OS standard WIA driver and the peripheral device manufacturer's TWAIN driver using WSD, the image reading commands communicated between the image reading device and the information processing device are different for each driver. The image reading apparatus needs to distinguish whether the WIA driver or the TWAIN driver has issued the image reading command.
本発明は上記の課題を解決するためになされたものであり、要求元のドライバに依存することなく、適応的に画像読取を行うことができる画像読取技術を提供することを目的とする。 SUMMARY An advantage of some aspects of the invention is that it provides an image reading technique capable of adaptively reading an image without depending on a driver of a request source.
上記の目的を達成するための本発明による画像読取装置は以下の構成を備える。即ち、
情報処理装置からの要求に応じて画像の読取を実行する画像読取装置であって、
所定の通信プロトコルに従って、前記情報処理装置と通信する通信手段と、
前記通信手段で受信するコマンドに基づいて、画像読取に使用する画像読取シーケンスとして、前記所定の通信プロトコルに準拠するコマンドに基づく第1の画像読取シーケンス、あるいは前記所定の通信プロトコルに準拠していないコマンドに基づく第2の画像読取シーケンスのどちらかを使用するかを判定する判定手段と、
前記判定手段によって判定された画像読取シーケンスに従って、画像読取を実行する実行手段と
を備える。
In order to achieve the above object, an image reading apparatus according to the present invention comprises the following arrangement. That is,
An image reading device that reads an image in response to a request from an information processing device,
Communication means for communicating with the information processing device according to a predetermined communication protocol;
Based on the command received by the communication means, the image reading sequence used for image reading is not based on the first image reading sequence based on the command complying with the predetermined communication protocol or the predetermined communication protocol. Determination means for determining whether to use one of the second image reading sequences based on the command;
Execution means for executing image reading in accordance with the image reading sequence determined by the determining means.
本発明によれば、要求元のドライバに依存することなく、適応的に画像読取を行うことができる。 According to the present invention, it is possible to adaptively read an image without depending on the driver of the request source.
以下、本発明の実施の形態について図面を用いて詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
<実施形態1>
実施形態1として、ネットワーク上の通信プロトコルの1つであるWSD(Web Services on Devices)を用いたネットワークスキャン(ネットワーク経由のスキャン)を行う情報処理方法について説明する。
<Embodiment 1>
As Embodiment 1, an information processing method for performing a network scan (scan via a network) using WSD (Web Services on Devices) which is one of communication protocols on a network will be described.
図1は画像読取装置の実施形態の一例であるMFP(Multi Function Peripheral)の概略構成を示すブロック図である。MFP100は、プリンタ機能、スキャナ機能及びストレージ機能を備えており、ネットワークを経由してそれぞれの機能サービスを提供することができる。 FIG. 1 is a block diagram showing a schematic configuration of an MFP (Multi Function Peripheral) which is an example of an embodiment of an image reading apparatus. The MFP 100 has a printer function, a scanner function, and a storage function, and can provide each function service via a network.
MFP100において、プリンタ機能はプリンタ部101で、スキャナ機能はスキャナ部102で、ストレージ機能はメモリカード装着部103及びメモリカード104で実現する。また、プリンタ機能とスキャナ機能を組み合わせてコピー機能を実現することもできる。
In the
プリンタ部101は、外部から受信した印刷データやメモリカード104に格納されている画像データ等のデータを、インクジェット方式や電子写真方式等の印刷方式によって印刷用紙に印刷する。スキャナ部102は、原稿台にセットされた原稿を光学式に読み取って電子データに変換し、さらに指定されたファイル形式に変換してネットワーク経由で外部装置に送信する。コピーサービスは、原稿台に置かれた原稿をスキャナ部102で読み取って生成した画像データをプリンタ部101へ転送してプリンタ部101が印刷用紙にその原稿データを印刷する。また、メモリカード104に格納されているファイルを、ネットワークを経由して接続された外部装置が読み出し、編集し、外部装置からメモリカード104内にファイルを格納することが可能である。
The
さらに、MFP100は、MFP100の各種構成要素を制御するための中央演算装置(CPU)105、CPU105が読み出すプログラム等のデータを格納するROM等のプログラムメモリ106を備える。また、MFP100は、各サービス実行時に画像データ等のデータを一時格納したり、バッファリングしたりするためのRAM等のワークメモリ107、LCD等の表示部108、各スイッチからなる操作部109を備える。
The
また、MFP100は、MFP100をネットワークに接続して各種通信を行うためのネットワーク通信部110と、ネットワーク通信部110をネットワーク媒体に接続するためのネットワーク接続部111を備える。ネットワーク通信部110は、有線ネットワークと無線ネットワークの内、少なくともいずれかに対応する。有線ネットワーク対応の場合、ネットワーク接続部111は有線ネットワークのケーブルをMFP100に接続するためのコネクタとなる。また、無線ネットワーク対応の場合、ネットワーク接続部111はアンテナとなる。
In addition, MFP 100 includes a
また、さらに、MFP100は、ネットワーク通信部110が受信したパケットの送信元情報を格納するために、不揮発性メモリであるフラッシュメモリ112を備える。また、さらに、MFP100は、USB(Universal Serial Bus)インタフェースを介して情報処理装置(PC)と通信するためのUSB通信部114を備え、情報処理装置とはUSBコネクタ等のコネクタによるUSB接続部115により接続する。
The MFP 100 further includes a
これらのMFP100の各種構成要素は、信号線113により相互に接続される。
Various components of the
図2は情報処理装置の実施形態の一例であるPCの概略構成を示すブロック図である。情報処理装置は、例えば、汎用的なPCに所定のソフトウェアをインストールすることによって実現可能である。 FIG. 2 is a block diagram illustrating a schematic configuration of a PC that is an example of an embodiment of an information processing apparatus. The information processing apparatus can be realized, for example, by installing predetermined software on a general-purpose PC.
図2において、201は、PC200の各種構成要素を制御するためのCPUである。202は、CPU201が読み出すアプリケーションプログラムやOS(Operation System)等をインストールし、また、各種ファイル等のデータを格納するディスク装置である。203は、CD−ROM等の外部記憶媒体の内容を読み出すための外部ディスク読取装置である。204は、CPU201が必要に応じてデータの一時的格納、バッファリング等の処理を行うためのメモリである。
In FIG. 2, 201 is a CPU for controlling various components of the
PC200からMFP100を利用するためのソフトウェアのセットアッププログラムを実行することにより、各種プログラムがPC200にインストールされる。各種プログラムには、スキャン機能を利用するためのスキャナドライバ、プリンタ機能を利用するためのプリンタドライバが含まれる。また、さらにMFP100の状態(イベントの有無等)を問い合わせるためのポーリングアプリケーション、MFP100の状態(ステータス)を管理する管理ソフトウェア(ステータスモニター)等の各種アプリケーションが含まれる。また、API(Application Programming Interface)としてTWAINに対応した画像処理アプリケーション、APIとしてWIAに対応した画像処理アプリケーションが含まれる。
Various programs are installed in the
205は、LCD等からなる表示部である。206は、キーボードやマウス等による操作部である。207は、PC200をネットワークに接続して各種通信を行うためのネットワーク通信部である。208は、ネットワーク通信部207をネットワーク媒体に接続するためのネットワーク接続部である。
MFP100と同様に、ネットワーク通信部207とネットワーク接続部208は、有線ネットワークと無線ネットワークの内、少なくともいずれかに対応する。具体的な形態は、MFP100に内蔵のネットワーク通信部110及びネットワーク接続部111と同様に、対応するネットワークに応じて必要な機能及び形態をとる。209は、PC200の各種構成要素を相互に接続するための信号線である。210は、各種周辺装置とUSBインタフェースを介して通信するためのUSB通信部である。211は、USBコネクタ等のUSB接続部である。
Similar to
図3は図1のMFP100と図2のPC200とを含むネットワークシステムの概略構成を示すブロック図である。
FIG. 3 is a block diagram showing a schematic configuration of a network
図3では、ネットワーク300に、画像読取装置であるMFP100、情報処理装置であるPC200が接続されている。このネットワーク300は、例えば、Local Area Network(LAN)である。
In FIG. 3, an
図3および以降の説明では、有線ネットワークケーブルであるネットワーク300から構成されるネットワークについて扱うが、これに限定されず、ネットワークの態様は、無線ネットワークであっても、有線ネットワークと無線ネットワークが混在するネットワークであっても同様である。また、画像読取装置は必ずしもMFP100である必要はなく、単機能のイメージスキャナやデジタルカメラでもよい。
In FIG. 3 and the following description, a network composed of the
尚、図3では、1台のPC200、1台のMFP100のみを図示しているが、複数のPC200および複数のMFP100が同一ネットワーク300上に接続可能である。
In FIG. 3, only one
図4は従来のネットワークスキャン時のPC200内のモジュールの概念図である。
FIG. 4 is a conceptual diagram of modules in the
PC200内のTWAIN対応アプリケーション401は、TWAINドライバ402を起動し、スキャナ制御ドライバ403を経由して、MFP100にアクセスする。
The TWAIN
ここで、ネットワーク上で通信を行うために、周辺機器メーカー独自(ベンダー独自)のネットワークプロトコル404を使用して、WINSOCK(Windows(登録商標) Sockets API)405を通じてMFP100とコマンドの送受信を行い、画像データを取得する。
Here, in order to perform communication on the network, a peripheral device manufacturer's original (vendor's original)
次に、WIA対応アプリケーション406からのスキャンを実行する場合、OSのSTI/WIA Service407を経由して、OS標準のMicrosoft製WSD Scan Driver(WSDScDrv.dll)408を起動する。このWSD Scan Driver408が、WSDサービス(WSD API)409を使用して、WINSOCK(Windows(登録商標) Sockets API)405を通じてMFP100と通信を行い、画像データを取得する。
Next, when executing a scan from the WIA-
図5は図4に対して実施形態1のPC200内のモジュールの概念図である。
FIG. 5 is a conceptual diagram of modules in the
PC200内のTWAIN対応アプリケーション401は、TWAINドライバ402を起動し、スキャナ制御ドライバ403を経由して、MFP100にアクセスする。
The TWAIN
ここで、WSD Scan Driver408と同様に、スキャナ制御ドライバ403がWSDサービス(WSD API)409を使用して、WINSOCK(Windows(登録商標) Sockets API)405を通じてMFP100とコマンドの送受信を行い、画像データを取得する。これにより、周辺機器メーカー独自のネットワークプロトコル404(図4)を使用せずに、TWAINドライバ402からネットワークスキャンを実現することができる。
Here, similarly to the
PC200とMFP100は、これらのコマンドを利用して、ネットワークスキャンにかかる処理を実現することができる。
The
図6はMFP100とPC200がネットワーク300を介して通信し、OS標準のWIAドライバからネットワークスキャン(WSDスキャン)を行う際のシーケンスチャートである。
FIG. 6 is a sequence chart when the
PC200には、WSDのスキャンサービスに対応したWindows(登録商標) VistaやWindows(登録商標) 7等のOSがインストールされている環境とする。MFP100をWSDのスキャンサービスに対応した画像読取装置としてOSに認識させるためには、PC200上に表示されているネットワーク上のMFP100を選択して、インストールを実施すればよい。この手順により、OS標準のWSDスキャナドライバがインストールされる。
The
PC200は、OS標準のWIAドライバからスキャンする場合、スキャン開始時にスキャン設定(スキャンパラメータ)を含むWSDのスキャン要求コマンド(CreateScanJob Request)をMFP100に送信する(S601)。
When scanning from the OS standard WIA driver, the
MFP100は、スキャン要求コマンドを含むスキャンパラメータに従って、スキャン可能であれば、スキャン応答コマンド(CreateScanJob Response)をPC200へ返信する(S602)。
If the
これを受けて、PC200は、WIAドライバによってWSDの画像取得要求コマンド(RetrieveImage Request)をMFP100へ送信する(S603)。
In response to this, the
MFP100は、画像取得要求コマンドを受信すると、画像取得応答コマンド(RetrieveImage Response)をPC200へ返信する(S604)。続けて、MFP100は、指定されたスキャン設定に従ってスキャナ部102による画像の読み取り(スキャン)を実行し、これによって得たスキャンデータ(例えば、JPEG画像)をMTOM(Message Transmission Optimization Mechanism)でPC200へ送信する(S605)。
Upon receiving the image acquisition request command, the
図7はMFP100とPC200がネットワーク300を介して通信し、本実施形態であるOS標準のWIAドライバ、周辺機器メーカー製のTWAINドライバのそれぞれからWSDを使用したネットワークスキャンを行う際のシーケンスチャートである。尚、図7において、図6と同一のシーケンスについては、同一の参照番号を付加している。
FIG. 7 is a sequence chart when the
PC200は、TWAINドライバからスキャンする場合、スキャン開始時にスキャン設定(スキャンパラメータ)を含むスキャン要求コマンド(CreateScanJob Request)をMFP100に送信する(S701)。
When scanning from the TWAIN driver, the
MFP100は、スキャン可能な状態であれば、スキャン応答コマンド(CreateScanJob Response)をPC200へ返信する(S702)。
If the
次に、PC200は、TWAINドライバによってベンダー(周辺機器メーカー)独自のコマンド(ベンダーコマンド)を送信するため、WSDの標準コマンドであるスキャナ要素取得要求コマンド(GetScannerElements Request)をベンダーコマンドを内包した形式でMFP100へ送信する(S703)。
Next, since the
ここで、MFP100は、PC200のWIAドライバからのスキャン時は、画像取得要求コマンド(RetrieveImage Request)をPC200から受信する(S603)。この場合、MFP100は、画像取得応答コマンド(RetrieveImage Response)をPC200へ返信する(S604)。
Here, when scanning from the WIA driver of the
これに対し、PC200からスキャナ要素取得要求コマンド(GetScannerElements Request)を受信する場合は、MFP100は、PC200のTWAINドライバからのスキャンであると判定する。その場合、MFP100は、スキャナ要素取得要求コマンド(GetScannerElements Request)内のベンダーコマンドを解釈する。そして、MFP100は、WSDのスキャナ要素取得応答コマンド(GetScannerElements Response)をベンダーコマンドのレスポンス情報を内包するように組み込んでPC200へ返信する(S704)。その後、ベンダー独自のコマンドシーケンスに応じて、S703、S704を繰り返し、コマンドの送受信や画像データの送受信をWSDのコマンドを使用して行う。
On the other hand, when the scanner element acquisition request command (GetScannerElements Request) is received from the
図8はMFP100が図7のOS標準のWIAドライバからのWSDスキャンとTWAINドライバからのWSDスキャンを判定して切り替える処理を示すフローチャートである。このフローチャートは、CPU105がプログラムをワークメモリ107にロードし、それを実行することによって行われる。
FIG. 8 is a flowchart illustrating processing in which the
S1001にて、MFP100は、スキャン要求コマンド(CreateScanJob Request)をPC200から受信する。S1002にて、MFP100は、スキャンが可能な状態であれば、スキャン応答コマンド(CreateScanJob Response)をPC200へ送信する。S1003にて、MFP100は、次のコマンドとして画像取得要求コマンド(RetrieveImage Request)をPC200から受信した否かを判定する。図6のように、OS標準のWIAドライバからのスキャン時には、スキャン要求コマンドの次に画像取得要求コマンドが送信されるシーケンスとなる。
In step S <b> 1001, the
画像取得要求コマンドを受信した場合(S1003でYES)、S1004にて、MFP100は、OS標準のWIAドライバからのスキャンであると判定する。そして、S1005にて、MFP100は、図6のOS標準のWIAドライバからのスキャンシーケンスにて画像を読み取る。
When the image acquisition request command is received (YES in S1003), in S1004, the
一方、画像取得要求コマンド(RetrieveImage Request)を受信しなかった場合(S1003でNO)、S1006にて、MFP100は、受信したコマンド内にベンダーコマンドが含まれているか否かを判定する。ベンダーコマンドが含まれている場合(S1006でYES)、S1007にて、MFP100は、周辺機器メーカー製(ベンダー固有)のTWAINドライバからのスキャンであると判定する。そして、S1008にて、MFP100は、図7の周辺機器メーカー製(ベンダー独自)のTWAINドライバからのスキャンシーケンスにて画像を読み取る。
On the other hand, when an image acquisition request command (RetrieveImage Request) has not been received (NO in S1003), in S1006, the
一方、ベンダーコマンドが含まれていない場合(S1006でNO)、S1003に戻る。 On the other hand, if the vendor command is not included (NO in S1006), the process returns to S1003.
以上説明したように、実施形態1によれば、スキャンシーケンスの違いやスキャン要求コマンド(CreateScanJob Request)の次のコマンドにベンダーコマンドが含まれているか否かを判定する。これにより、OS標準のWIAドライバからのスキャンと周辺機器メーカー製のTWAINドライバからのスキャンを判定することができる。 As described above, according to the first embodiment, it is determined whether the vendor command is included in the next command after the difference in the scan sequence or the scan request command (CreateScanJob Request). Thereby, it is possible to determine a scan from the OS standard WIA driver and a scan from the TWAIN driver manufactured by the peripheral device manufacturer.
これにより、WSDを使用してOS標準のWIAドライバと周辺機器メーカー製のTWAINドライバのどちらのドライバからでもネットワークスキャンを実施することができる。 As a result, network scanning can be performed from either the OS standard WIA driver or the peripheral device manufacturer's TWAIN driver using WSD.
また、WIAドライバとTWAINドライバのどちらのドライバから画像読取コマンドが送信されているかを区別する構成を備えることにより、画像読取装置はどちらのドライバからスキャン要求されているかを判定し、それぞれのドライバに応じた画像読取コマンドの送受信、画像データ転送方法でネットワークスキャンを行うことができる。 Further, by providing a configuration for distinguishing from which driver of the WIA driver and the TWAIN driver the image reading command is transmitted, the image reading apparatus determines which driver is requested to scan, and sends to each driver. The network scan can be performed by the transmission / reception of the corresponding image reading command and the image data transfer method.
つまり、ネットワークプロトコルとしてWSDのみをサポートした場合でも、OS標準のWIAドライバと周辺機器メーカー製のTWAINドライバの両方からネットワークスキャンが可能となる。そして、WSDを使用したTWAINドライバからのスキャンに対応することにより、OS標準のWIAドライバにはない多くのスキャン設定、画像補正機能をサポートすることができ、画像読取装置の性能をフルに引き出すことができる。また、通信プロトコルをWSDの1つのみとすることで、画像読取装置のコストアップを防ぐことができる。 That is, even when only WSD is supported as a network protocol, network scanning is possible from both the OS standard WIA driver and the TWAIN driver manufactured by the peripheral device manufacturer. By supporting scanning from the TWAIN driver using WSD, it is possible to support many scan settings and image correction functions not found in the OS standard WIA driver, and to fully draw out the performance of the image reading apparatus. Can do. Further, the cost of the image reading apparatus can be prevented by using only one communication protocol, WSD.
<実施形態2>
実施形態2で用いるMFP100とPC200、構成概略、PC200内のモジュールの概念図、スキャンのシーケンスチャートは図1〜図7で説明したものと同様の構成を用いることができるので、それらについての説明は省略する。
<Embodiment 2>
The
実施形態2では、MFP100がOS標準のWIAドライバからのスキャンと周辺機器メーカー製のTWAINドライバからのスキャンを判定する方法として、スキャン要求コマンドにカスタムフラグが付加されている場合についての方法を説明する。
In the second embodiment, a method in which the custom flag is added to the scan request command will be described as a method in which the
図9はMFP100とPC200がネットワーク300を介して通信し、本実施形態であるOS標準のWIAドライバ、周辺機器メーカー製のTWAINドライバのそれぞれからWSDを使用したネットワークスキャンを行う際のシーケンスチャートである。尚、図9において、図6と同一のシーケンスについては、同一の参照番号を付加している。
FIG. 9 is a sequence chart when the
PC200は、TWAINドライバからスキャンする場合、スキャン開始時にスキャン設定(スキャンパラメータ)とともにTWAINドライバからのスキャンであることを明示的に設定するためのカスタムフラグ(XML形式のコマンドにベンダー独自のネームスペースで定義したタグを追加し、ベンダー固有の情報(識別子)を付加する)を含むスキャン要求コマンド(CreateScanJob Request)をMFP100に送信する(S801)。
When scanning from the TWAIN driver, the
MFP100は、スキャン可能な状態であれば、スキャン応答コマンド(CreateScanJob Response)をPC200へ返信する(S802)。また、MFP100は、S801にてカスタムフラグがあるか否かを検出し、カスタムフラグがある場合は、TWAINドライバからのスキャンであることを判定し、カスタムフラグがない場合はWIAドライバからのスキャンであると判定する。
If the
ここで、MFP100は、PC200のWIAドライバからのスキャン時は、画像取得要求コマンド(RetrieveImage Request)をPC200から受信する(S603)。この場合、MFP100は、画像取得応答コマンド(RetrieveImage Response)をPC200へ返信する(S604)。
Here, when scanning from the WIA driver of the
これに対し、PC200のTWAINドライバからのスキャン時は、ベンダー独自のコマンド(ベンダーコマンド)を送信するため、PC200は、WSDの標準コマンドであるスキャナ要素取得要求コマンド(GetScannerElements Request)をベンダーコマンドを内包した形式でMFP100へ送信する(S803)。
On the other hand, when scanning from the TWAIN driver of the
MFP100は、PC200のTWAINドライバからのスキャン時は、ベンダーコマンドが組み込まれていると判定し、スキャナ要素取得要求コマンド(GetScannerElements Request)内のベンダーコマンドを解釈する。そして、MFP100は、WSDのスキャナ要素取得応答コマンド(GetScannerElements Response)をベンダーコマンドのレスポンス情報を内包するように組み込んでPC200へ返信する(S804)。その後、ベンダー独自のコマンドシーケンスに応じて、S803、S804を繰り返し、コマンドの送受信や画像データの送受信をWSDのコマンドを使用して行う。
When scanning from the TWAIN driver of the
図10はMFP100が図9のOS標準のWIAドライバからのWSDスキャンとTWAINドライバからのWSDスキャンを判定して切り替える処理を示すフローチャートである。このフローチャートは、CPU105がプログラムをワークメモリ107にロードし、それを実行することによって行われる。
FIG. 10 is a flowchart illustrating processing in which the
S1101にて、MFP100は、スキャン要求コマンド(CreateScanJob Request)をPC200から受信する。S1102にて、MFP100は、スキャン要求コマンドの中にカスタムフラグが追加されているか否かを判定する。カスタムフラグが追加されていない場合(S1102でNO)、S1103にて、MFP100は、OS標準のWIAドライバからのスキャンであると判定する。S1104にて、MFP100は、スキャン応答コマンド(CreateScanJob Response)をPC200へ送信する。そして、S1105にて、MFP100は、図6のOS標準のWIAドライバからのスキャンシーケンスにて画像を読み取る。
In step S <b> 1101, the
一方、カスタムフラグが追加されている場合(S1102でYES)、S1106にて、MFP100は、周辺機器メーカー製(ベンダー固有)のTWAINドライバからのスキャンであると判定する。S1107にて、MFP100は、スキャン応答コマンド(CreateScanJob Response)をPC200へ送信する。そして、S1108にて、MFP100は、図9の周辺機器メーカー製のTWAINドライバからのスキャンシーケンスにて画像を読み取る。
On the other hand, if a custom flag has been added (YES in S1102), in S1106, the
以上説明したように、実施形態2によれば、MFP100は、スキャンシーケンスの最初のコマンドであるスキャン要求コマンド(CreateScanJob Request)にカスタムフラグが含まれているかを判定する。これにより、OS標準のWIAドライバからのスキャンと周辺機器メーカー製のTWAINドライバからのスキャンを判定することができる。また、スキャン開始の最初のコマンドであるスキャン要求コマンド(CreateScanJob Request)にカスタムフラグを含めることで、スキャンシーケンスを解析することなく、WIA・TWAINスキャンを素早く切り替えることができる。
As described above, according to the second embodiment, the
<実施形態3>
実施形態3で用いるMFP100とPC200、構成概略、PC200内のモジュールの概念図、スキャンのシーケンスチャートは図1〜図7で説明したものと同様の構成を用いることができるので、それらについての説明は省略する。
<Embodiment 3>
The
実施形態3では、MFP100がOS標準のWIAドライバからのスキャンと周辺機器メーカー製のTWAINドライバからのスキャンを判定する方法として、スキャン要求コマンドにベンダーコマンドを組み込む場合についての方法を説明する。
In the third embodiment, a method in which the
図11はMFP100とPC200がネットワーク300を介して通信し、本実施形態であるOS標準のWIAドライバ、周辺機器メーカー製のTWAINドライバのそれぞれからWSDを使用したネットワークスキャンを行う際のシーケンスチャートである。尚、図11において、図6と同一のシーケンスについては、同一の参照番号を付加している。
FIG. 11 is a sequence chart when the
PC200は、TWAINドライバからスキャンする場合、スキャン開始時に発行するスキャン要求コマンド(CreateScanJob Request)をベンダーコマンド(周辺機器メーカー独自のコマンド)を内包した形式でMFP100に送信する(S901)。
When scanning from the TWAIN driver, the
MFP100は、ベンダーコマンドが組み込まれていれば、TWAINドライバからのスキャンであると判定し、スキャン可能な状態であれば、スキャン応答コマンド(CreateScanJob Response)をベンダーコマンドのレスポンス情報を内包するように組み込んでPC200へ返信する(S902)。
If the vendor command is incorporated, the
その後、PC200は、ベンダー独自のコマンドシーケンスに応じて、WSDの標準コマンドであるスキャナ要素取得要求コマンド(GetScannerElements Request)をベンダーコマンドを内包するように組み込んだ形式でMFP100へ送信する(S903)。
After that, the
MFP100は、スキャナ要素取得要求コマンド(GetScannerElements Request)内のベンダーコマンドを解釈し、WSDのスキャナ要素取得応答コマンド(GetScannerElements Response)をベンダーコマンドのレスポンス情報を内包するように組み込んでPC200へ返信する(S904)。その後、ベンダー独自のコマンドシーケンスに応じて、S903、S904を繰り返し、コマンドの送受信や画像データの送受信をWSDのコマンドを使用して行う。
The
図12はMFP100が図11のOS標準のWIAドライバからのWSDスキャンとTWAINドライバからのWSDスキャンを判定して切り替える処理を示すフローチャートである。このフローチャートは、CPU105がプログラムをワークメモリ107にロードし、それを実行することによって行われる。
FIG. 12 is a flowchart illustrating a process in which the
S1201にて、MFP100は、スキャン要求コマンド(CreateScanJob Request)をPC200から受信する。S1202にて、MFP100は、スキャン要求コマンドの中にベンダー独自のコマンド(ベンダーコマンド)が組み込まれているか否かを判定する。ベンダーコマンドが組み込まれていない場合(S1202でNO)、MFP100は、OS標準のWIAドライバからのスキャンであると判定する(S1203)。S1204にて、MFP100は、スキャン応答コマンド(CreateScanJob Response)をPC200へ返信する。そして、S1205にて、MFP100は、図6のOS標準のWIAドライバからのスキャンシーケンスにて画像を読み取る。
In step S <b> 1201, the
一方、ベンダーコマンドが組み込まれている場合(S1202でYES)、S1206にて、MFP100は、周辺機器メーカー製のTWAINドライバからのスキャンであると判定する。S1207にて、MFP100は、ベンダーコマンドの応答を組み込んだスキャン応答コマンド(CreateScanJob Response)をPC200へ送信する。そして、S1208にて、MFP100は、図11の周辺機器メーカー製のTWAINドライバからのスキャンシーケンスにて画像を読み取る。
On the other hand, if the vendor command is incorporated (YES in S1202), in S1206, the
以上説明したように、実施形態3によれば、MFP100は、スキャンシーケンスの最初のコマンドであるスキャン要求コマンド(CreateScanJob Request)にベンダー独自のコマンド(ベンダーコマンド)が含まれているかを判定する。これにより、OS標準のWIAドライバからのスキャンと周辺機器メーカー製のTWAINドライバからのスキャンを判定することができる。スキャン開始の最初のコマンドであるスキャン要求コマンド(CreateScanJob Request)にベンダーコマンドを含めることで、スキャンシーケンスを解析することなく、WIA・TWAINスキャンを素早く切り替えることができる。
As described above, according to the third embodiment, the
<実施形態4>
実施形態4で用いるMFP100とPC200、構成概略、PC200内のモジュールの概念図、スキャンのシーケンスチャートは図1〜図6で説明したものと同様の構成を用いることができるので、それらについての説明は省略する。
<Embodiment 4>
The
実施形態4では、MFP100がOS標準ではない周辺機器メーカー製のTWAINドライバからのスキャンを行うスキャンシーケンスについて、コマンドの内容に応じてWSDの標準コマンドを使い分ける方法を説明する。
In the fourth embodiment, a method for selectively using WSD standard commands according to the contents of commands in a scan sequence in which the
図13はMFP100とPC200がネットワーク300を介して通信し、本実施形態であるOS標準ではない周辺機器メーカー製のTWAINドライバからWSDを使用したネットワークスキャンを行う際のシーケンスチャートである。
FIG. 13 is a sequence chart when the
PC200は、TWAINドライバからスキャンする場合、スキャン開始時にスキャン設定(スキャンパラメータ)とともにTWAINドライバからのスキャンであることを明示的に設定するためのカスタムフラグ(XML形式のコマンドにベンダー独自のネームスペースで定義したタグを追加し、ベンダー固有の情報を付加する)を含むスキャン要求コマンド(CreateScanJob Request)をMFP100に送信する(S1301)。
When scanning from the TWAIN driver, the
MFP100は、スキャン可能な状態であれば、スキャン応答コマンド(CreateScanJob Response)をPC200へ返信する(S1302)。また、MFP100は、S1301にてカスタムフラグがあるか否かを検出し、カスタムフラグがある場合は、TWAINドライバからのスキャンであることを判定する。
If the
次に、PC200は、TWAINドライバでベンダー独自のコマンド(ベンダーコマンド)を送信するため、WSDの標準コマンドであるスキャナ要素取得要求コマンド(GetScannerElements Request)をベンダーコマンドを内包した形式でMFP100へ送信する(S1303)。
Next, in order to transmit a vendor-specific command (vendor command) using the TWAIN driver, the
MFP100は、スキャナ要素取得要求コマンドにベンダーコマンドが組み込まれていると、TWAINドライバからのスキャンであると判定し、そのベンダーコマンドを解釈する。そして、MFP100は、WSDのスキャナ要素取得応答コマンド(GetScannerElements Response)をベンダーコマンドのレスポンス情報を内包するように組み込んでPC200へ返信する(S1304)。
If the vendor command is included in the scanner element acquisition request command, the
ここで、ベンダー独自のコマンドシーケンスの内、画像データを含まない設定系のコマンドシーケンスについては、S1303、S1304を繰り返すことで行う。画像データのようにデータサイズが大きくなるコマンドをスキャナ要素取得要求コマンド・スキャナ要素取得応答コマンドで送受信すると、パフォーマンスが低下する懸念があるためである。 Here, a setting-type command sequence that does not include image data in a vendor-specific command sequence is performed by repeating S1303 and S1304. This is because there is a concern that the performance may be deteriorated when a command for increasing the data size such as image data is transmitted / received by a scanner element acquisition request command / scanner element acquisition response command.
また、画像データの取得については、PC200は、WSDの画像取得要求コマンド(RetrieveImage Request)をMFP100へ送信する(S1305)。
Further, regarding the acquisition of image data, the
MFP100は、画像取得応答コマンド(RetrieveImage Response)をPC200へ返信する(S1306)。続けて、MFP100は、スキャンデータ(例えば、JPEG画像)をMTOM(Message Transmission Optimization Mechanism)でPC200へ送信する(S1307)。
The
ここで、スキャンデータは、JPEG形式に限定する必要はなく、BMP形式やRAW形式等様々なファイルフォーマットに対応した画像データであってもよい。そして、ベンダー独自のコマンドシーケンスに応じて、S1305〜S1307を繰り返すことで画像データの転送を行う。図13で説明したスキャンシーケンスは、実施形態1、実施形態2、実施形態3のTWAINドライバからのスキャンシーケンスに置き換えて適用することも可能である。 Here, the scan data need not be limited to the JPEG format, and may be image data corresponding to various file formats such as the BMP format and the RAW format. Then, the image data is transferred by repeating S1305 to S1307 in accordance with the vendor-specific command sequence. The scan sequence described with reference to FIG. 13 can be applied in place of the scan sequence from the TWAIN driver of the first, second, and third embodiments.
以上説明したように、実施形態4によれば、ベンダー独自のコマンドシーケンスを実行する場合には、そのコマンドの種類に応じて、コマンドの処理体系を異ならせる(切り替える)ことで、パフォーマンスの低下を防止することができる。 As described above, according to the fourth embodiment, when a command sequence unique to a vendor is executed, the performance is reduced by changing (switching) the command processing system according to the type of the command. Can be prevented.
<実施形態5>
実施形態5で用いるMFP100とPC200、構成概略、PC200内のモジュールの概念図、スキャンのシーケンスチャートは図1〜図6で説明したものと同様の構成を用いることができるので、それらについての説明は省略する。
<Embodiment 5>
The
実施形態4では、MFP100がOS標準ではない周辺機器メーカー製のTWAINドライバからのスキャンを行うスキャンシーケンスについて、コマンドの内容に応じてWSDの標準コマンドを使い分ける方法を説明する。
In the fourth embodiment, a method for selectively using WSD standard commands according to the contents of commands in a scan sequence in which the
図14はMFP100とPC200がネットワーク300を介して通信し、本実施形態であるOS標準ではない周辺機器メーカー製のTWAINドライバからWSDを使用したネットワークスキャンを行う際のシーケンスチャートである。
FIG. 14 is a sequence chart when the
PC200は、TWAINドライバからスキャンする場合、スキャン開始時にスキャン設定(スキャンパラメータ)とともにTWAINドライバからのスキャンであることを明示的に設定するためのカスタムフラグ(XML形式のコマンドにベンダー独自のネームスペースで定義したタグを追加し、ベンダー固有の情報を付加する)を含んだスキャン要求コマンド(CreateScanJob Request)をMFP100に送信する(S1401)。
When scanning from the TWAIN driver, the
MFP100は、スキャン可能な状態であれば、スキャン応答コマンド(CreateScanJob Response)を返信する(S1402)。また、MFP100は、S1401にてカスタムフラグがあるかを検出し、カスタムフラグがある場合は、TWAINドライバからのスキャンであることを判定する。
If the
次に、PC200は、TWAINドライバで周辺機器メーカー独自のコマンド(ベンダーコマンド)を送信するため、WSDの標準コマンドであるスキャナ要素取得要求コマンド(GetScannerElements Request)にベンダーコマンドを内包した形式で送信する(S1403)。
Next, since the
MFP100は、スキャナ要素取得要求コマンドにベンダーコマンドが組み込まれていると、TWAINドライバからのスキャンであると判定し、そのベンダーコマンドを解釈して、それに対する応答を用意する。但し、ここでは、MFP100は、WSDのスキャナ要素取得応答コマンド(GetScannerElements Response)にはベンダーコマンドのレスポンス情報を組み込まずに返信する(S1404)。
If the vendor command is incorporated in the scanner element acquisition request command, the
そして、PC200は、WSDの画像取得要求コマンド(RetrieveImage Request)をMFP100へ送信する。
Then, the
MFP100は、これを受けて、画像取得応答コマンド(RetrieveImage Response)をPC200へ送信する(S1406)。ここで、MFP100は、S1403にて解釈したベンダーコマンドのレスポンス情報をMTOM(Message Transmission Optimization Mechanism)に組み込んで送信する(S1407)。これは、すべてのベンダーコマンドの応答を、S1407で共通に1つのメッセージで返信することにより、スキャンシーケンスを統一することができ、MFP100とPC200の開発負荷を抑えることができるからである。また、画像取得要求コマンド・画像取得応答コマンドを使用することで画像データのようにデータサイズが大きくなった場合でも、パフォーマンスが低下する懸念がなくなる。
In response to this, the
そして、周辺機器メーカー独自のコマンドシーケンスに応じて、設定系のコマンドから画像データ転送までのすべてのコマンド送受信をS1403〜S1407の繰り返しで実現する。 Then, in accordance with the command sequence unique to the peripheral device manufacturer, all command transmission / reception from setting commands to image data transfer is realized by repeating S1403 to S1407.
ここで、図14で説明したスキャンシーケンスは、実施形態1、実施形態2、実施形態3のTWAINドライバからのスキャンシーケンスに置き換えて適用することも可能である。 Here, the scan sequence described with reference to FIG. 14 can be applied in place of the scan sequence from the TWAIN driver of the first, second, and third embodiments.
<実施形態6>
上記実施形態において、スキャンデータは、JPEG形式に限定する必要はなく、BMP形式やRAW形式等様々なファイルフォーマットに対応した画像データであってもよい。
<Embodiment 6>
In the above embodiment, the scan data need not be limited to the JPEG format, but may be image data corresponding to various file formats such as the BMP format and the RAW format.
上記実施形態で説明したように、WSDサービスを実現する所定の通信プロトコルは、その通信プロトコルに準拠するコマンド群として、スキャン要求コマンド(CreateScanJob Request)、スキャン応答コマンド(CreateScanJob Response)、画像取得要求コマンド(RetrieveImage Request)、画像取得応答コマンド(RetrieveImage Response)等の第1のコマンドを有する。 As described in the above embodiment, the predetermined communication protocol for realizing the WSD service includes a scan request command (CreateScanJob Request), a scan response command (CreateScanJob Response), and an image acquisition request command as a command group conforming to the communication protocol. (RetrieveImage Request), a first command such as an image acquisition response command (RetrieveImage Response).
ここで、第1のコマンドでは、必要に応じて、ベンダー(周辺機器メーカー)独自のコマンド(第2のコマンド)、つまり、所定の通信プロトコルに準拠していないコマンドを内包させることができる。ここで、第2のコマンドとは、実施形態1及び3におけるベンダーコマンド、実施形態2におけるTWAINドライバからのスキャンであることを明示的に設定するためのカスタムフラグ等がある。 Here, in the first command, a command unique to the vendor (peripheral device manufacturer) (second command), that is, a command that does not comply with a predetermined communication protocol can be included as necessary. Here, the second command includes a vendor command in the first and third embodiments, a custom flag for explicitly setting the scan from the TWAIN driver in the second embodiment, and the like.
そして、上記実施形態では、この第1のコマンドと第2のコマンドの受信内容(受信する順番、包含の有無)に応じて、使用すべき画像読取シーケンス(スキャンシーケンス)として、所定の通信プロトコルに準拠するコマンドに基づく第1の画像読取シーケンス、所定の通信プロトコルに準拠していないコマンドに基づく第2の画像読取シーケンスのいずれかを選択する。また、APIはTWAIN、WIA以外のものとしてもよい。 In the above-described embodiment, a predetermined communication protocol is used as an image reading sequence (scan sequence) to be used in accordance with the received contents of the first command and the second command (the order of reception and the presence / absence of inclusion). Either a first image reading sequence based on a compliant command or a second image reading sequence based on a command not compliant with a predetermined communication protocol is selected. The API may be other than TWAIN and WIA.
尚、以上の実施形態の処理は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステムまたは装置に供給し、そのシステムまたは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。このとき、1つのコンピュータで処理させてもよいし、複数のコンピュータを連携させながら処理させてもよい。また、この処理の一部または全部をASIC(Application Specific Integrated Circuit)等のハードウェアで実現させてもよい。 Note that the processing of the above embodiment is also realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, or the like) of the system or apparatus reads the program. It is a process to be executed. At this time, processing may be performed by one computer, or processing may be performed while linking a plurality of computers. Also, part or all of this processing may be realized by hardware such as ASIC (Application Specific Integrated Circuit).
Claims (11)
所定の通信プロトコルに従って、前記情報処理装置と通信する通信手段と、
前記通信手段で受信するコマンドに基づいて、画像読取に使用する画像読取シーケンスとして、前記所定の通信プロトコルに準拠するコマンドに基づく第1の画像読取シーケンス、あるいは前記所定の通信プロトコルに準拠していないコマンドに基づく第2の画像読取シーケンスのどちらかを使用するかを判定する判定手段と、
前記判定手段によって判定された画像読取シーケンスに従って、画像読取を実行する実行手段と
を備えることを特徴とする画像読取装置。 An image reading device that reads an image in response to a request from an information processing device,
Communication means for communicating with the information processing device according to a predetermined communication protocol;
Based on the command received by the communication means, the image reading sequence used for image reading is not based on the first image reading sequence based on the command complying with the predetermined communication protocol or the predetermined communication protocol. Determination means for determining whether to use one of the second image reading sequences based on the command;
An image reading apparatus comprising: execution means for executing image reading in accordance with the image reading sequence determined by the determining means.
ことを特徴とする請求項1に記載の画像読取装置。 The determination unit is configured to read the first image reading based on an order in which the communication unit receives a first command that conforms to the predetermined communication protocol and a second command that does not conform to the predetermined communication protocol. The image reading apparatus according to claim 1, wherein the sequence or the second image reading sequence is determined.
ことを特徴とする請求項1に記載の画像読取装置。 The determination unit determines the first image reading sequence or the second image reading sequence based on an identifier included in a first command that conforms to the predetermined communication protocol received by the communication unit. The image reading apparatus according to claim 1.
ことを特徴とする請求項1に記載の画像読取装置。 The determination unit is configured to determine whether the first command that conforms to the predetermined communication protocol received by the communication unit includes a second command that does not conform to the predetermined communication protocol. The image reading apparatus according to claim 1, wherein the image reading sequence or the second image reading sequence is determined.
ことを特徴とする請求項1乃至4のいずれか1項に記載の画像読取装置。 The communication means transmits and receives a command in a format including a second command not conforming to the predetermined communication protocol to the information processing apparatus in a first command conforming to the predetermined communication protocol. The image reading apparatus according to claim 1, wherein:
ことを特徴とする請求項1乃至5のいずれか1項に記載の画像読取装置。 The image reading apparatus according to any one of claims 1 to 5, wherein the predetermined communication protocol is a WSD (Web Service on Device) protocol.
スキャナ要素取得要求コマンド(GetScannerElements Request)と
スキャナ要素取得応答コマンド(GetScannerElements Response)と
の中に、前記WSDのプロトコルに準拠しない第2のコマンドを内包した形式のコマンドを、前記情報処理装置との間で送受信する
ことを特徴とする請求項6に記載の画像読取装置。 The communication means includes a command conforming to the WSD protocol,
A command including a second command that does not comply with the WSD protocol in the scanner element acquisition request command (GetScannerElements Request) and the scanner element acquisition response command (GetScannerElements Response). The image reading device according to claim 6, wherein the image reading device transmits and receives the image.
画像取得要求コマンド(RetrieveImage Request)と、
画像取得応答コマンド(RetrieveImage Response)と
の中に、前記WSDのプロトコルに準拠しない第2のコマンドを内包した形式のコマンドを、前記情報処理装置との間で送受信する
ことを特徴とする請求項6または7に記載の画像読取装置。 The communication means includes a command conforming to the WSD protocol,
Image acquisition request command (RetrieveImage Request)
A command in a format including a second command that does not conform to the WSD protocol in an image acquisition response command (RetrieveImage Response) is transmitted / received to / from the information processing apparatus. Or the image reading device according to 7.
ことを特徴とする請求項6乃至8のいずれか1項に記載の画像読取装置。 The communication means performs a response corresponding to all commands in a format including a second command that does not conform to the predetermined communication protocol in a command conforming to the WSD protocol using one message. The image reading apparatus according to claim 6, wherein the image reading apparatus is an image reading apparatus.
所定の通信プロトコルに従って、前記情報処理装置から受信するコマンドに基づいて、画像読取に使用する画像読取シーケンスとして、前記所定の通信プロトコルに準拠するコマンドに基づく第1の画像読取シーケンス、あるいは前記所定の通信プロトコルに準拠していないコマンドに基づく第2の画像読取シーケンスのどちらを使用するかを判定する判定工程と、
前記判定工程によって判定された画像読取シーケンスに従って、画像読取を実行する実行工程と
を備えることを特徴とする画像読取装置の制御方法。 A method for controlling an image reading apparatus for reading an image in response to a request from an information processing apparatus,
In accordance with a command received from the information processing apparatus according to a predetermined communication protocol, an image reading sequence used for image reading is a first image reading sequence based on a command conforming to the predetermined communication protocol, or the predetermined A determination step of determining which of the second image reading sequences based on a command that does not comply with the communication protocol is used;
An image reading apparatus control method comprising: an execution step of executing image reading according to the image reading sequence determined by the determination step.
前記コンピュータを、
所定の通信プロトコルに従って、前記情報処理装置から受信するコマンドに基づいて、画像読取に使用する画像読取シーケンスとして、前記所定の通信プロトコルに準拠するコマンドに基づく第1の画像読取シーケンス、あるいは前記所定の通信プロトコルに準拠していないコマンドに基づく第2の画像読取シーケンスのどちらを使用するかを判定する判定手段と、
前記判定手段によって判定された画像読取シーケンスに従って、画像読取を実行する実行手段と
して機能させることを特徴とするプログラム。 A program for causing a computer to control the control of an image reading device that executes image reading in response to a request from an information processing device,
The computer,
In accordance with a command received from the information processing apparatus according to a predetermined communication protocol, an image reading sequence used for image reading is a first image reading sequence based on a command conforming to the predetermined communication protocol, or the predetermined A determination unit that determines which of the second image reading sequences based on a command that does not comply with the communication protocol is used;
A program that functions as an execution unit that executes image reading in accordance with an image reading sequence determined by the determination unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013258696A JP2015115900A (en) | 2013-12-13 | 2013-12-13 | Image reading apparatus, control method of the same, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013258696A JP2015115900A (en) | 2013-12-13 | 2013-12-13 | Image reading apparatus, control method of the same, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2015115900A true JP2015115900A (en) | 2015-06-22 |
Family
ID=53529291
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013258696A Pending JP2015115900A (en) | 2013-12-13 | 2013-12-13 | Image reading apparatus, control method of the same, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2015115900A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7415636B2 (en) | 2020-02-12 | 2024-01-17 | ブラザー工業株式会社 | Program and scan system |
-
2013
- 2013-12-13 JP JP2013258696A patent/JP2015115900A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7415636B2 (en) | 2020-02-12 | 2024-01-17 | ブラザー工業株式会社 | Program and scan system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11907597B2 (en) | System including operation device and information storing apparatus, method performed by the system, and the information storing apparatus | |
KR101268336B1 (en) | Image processing apparatus, information processing system, method of controlling the same, and storage medium | |
KR100915583B1 (en) | Image supply device, recording system, and recording control method | |
EP3128770A1 (en) | System and method of mobile facsimile using near field communication | |
JP6255749B2 (en) | Service providing system, service providing method, information storage device, operation terminal, and program | |
US9916117B2 (en) | Remote data access for image output apparatus via a control device | |
JP5704800B2 (en) | Data processing apparatus, data processing method, and program | |
US8922816B2 (en) | Information processing apparatus, control method thereof, and storage medium storing program | |
US20080094650A1 (en) | Print processing apparatus and method of controlling print processing apparatus | |
JP2014033437A (en) | Output system, operation terminal, and program | |
US20150116778A1 (en) | Information processing apparatus and storage medium | |
US8144343B2 (en) | Printing apparatus and an image supply device using picture transfer protocol having a function which checks attribute information of a file object managed in the image supply device | |
JP2015061141A (en) | Information processing system, information acquisition device, server, program, and information processing method | |
US9473649B2 (en) | Image reading apparatus with push scanning, method of controlling the same, and storage medium | |
JP6044143B2 (en) | Service providing system and service providing method | |
JP2014016897A (en) | Service providing system, information storage device, and information processing apparatus, method, and program | |
US20090002757A1 (en) | Converter and control method of converter | |
US9473650B2 (en) | Image reading apparatus, image reading method, image processing system, and storage medium | |
JP5500883B2 (en) | Image reading apparatus, control method therefor, and program therefor | |
JP2017062835A (en) | Output system, application, and information processing device | |
JP2008134770A (en) | Image forming device and image forming system | |
JP6318469B2 (en) | Service providing system and service providing method | |
JP2015115900A (en) | Image reading apparatus, control method of the same, and program | |
JP2012080519A (en) | Image processing device | |
JP2014179014A (en) | Input output system, input output method, portable terminal, and program |