JP2015115900A - Image reading apparatus, control method of the same, and program - Google Patents

Image reading apparatus, control method of the same, and program Download PDF

Info

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
Application number
JP2013258696A
Other languages
Japanese (ja)
Inventor
清人 松井
Kiyoto Matsui
清人 松井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2013258696A priority Critical patent/JP2015115900A/en
Publication of JP2015115900A publication Critical patent/JP2015115900A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Facsimiles In General (AREA)

Abstract

PROBLEM TO BE SOLVED: To adaptively read an image without depending on a driver of a request source.SOLUTION: On the basis of a command received from an information processing apparatus in accordance with a predetermined communication protocol, it is determined which of a first image reading sequence based on a command based on the predetermined communication protocol or a second image reading sequence based on a command not based on the predetermined communication protocol to use as an image reading sequence to use for image reading. Image reading is executed in accordance with the determined image reading sequence.

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).

特開2009−187533号公報JP 2009-187533 A

一般的に、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.

代表的な実施形態であるMFPの概略構成を示すブロック図である。1 is a block diagram illustrating a schematic configuration of an MFP according to a representative embodiment. 代表的な実施形態であるPCの概略構成を示すブロック図である。It is a block diagram which shows schematic structure of PC which is typical embodiment. MFPとPCとを含むネットワークシステムの概略構成を示す図である。1 is a diagram illustrating a schematic configuration of a network system including an MFP and a PC. 従来のネットワークスキャン時におけるPC内のモジュールの概念図である。It is a conceptual diagram of the module in PC at the time of the conventional network scan. ネットワークスキャン時におけるPC内のモジュールの概念図である。It is a conceptual diagram of the module in PC at the time of a network scan. 実施形態1のMFPとPCがネットワークを介して通信し、OS標準のWIAドライバからスキャンを行う際のシーケンスチャートである。6 is a sequence chart when the MFP and the PC according to the first embodiment communicate via a network and perform scanning from an OS standard WIA driver. 実施形態1のMFPとPCがネットワークを介して通信し、OS標準のWIAドライバと周辺機器メーカー製のTWAINドライバからスキャンを行う際のシーケンスチャートである。6 is a sequence chart when the MFP and the PC according to the first embodiment communicate via a network and perform scanning from an OS standard WIA driver and a TWAIN driver manufactured by a peripheral device manufacturer. 実施形態1のMFPがOS標準のWIAドライバと周辺機器メーカー製のTWAINドライバを判定する処理を示すフローチャートである。4 is a flowchart illustrating processing in which the MFP according to the first embodiment determines an OS standard WIA driver and a TWAIN driver manufactured by a peripheral device manufacturer. 実施形態2のMFPとPCがネットワークを介して通信し、OS標準のWIAドライバと周辺機器メーカー製のTWAINドライバからスキャンを行う際のシーケンスチャートである。10 is a sequence chart when the MFP and the PC of the second embodiment communicate via a network and perform scanning from an OS standard WIA driver and a TWAIN driver manufactured by a peripheral device manufacturer. 実施形態2のMFPがOS標準のWIAドライバと周辺機器メーカー製のTWAINドライバを判定する処理を示すフローチャートである。10 is a flowchart illustrating processing in which the MFP according to the second exemplary embodiment determines an OS standard WIA driver and a peripheral device manufacturer TWAIN driver. 実施形態3のMFPとPCがネットワークを介して通信し、OS標準のWIAドライバと周辺機器メーカー製のTWAINドライバからスキャンを行う際のシーケンスチャートである。10 is a sequence chart when an MFP and a PC according to the third embodiment communicate via a network and perform scanning from an OS standard WIA driver and a TWAIN driver manufactured by a peripheral device manufacturer. 実施形態3のMFPがOS標準のWIAドライバと周辺機器メーカー製のTWAINドライバを判定する処理を示すフローチャートである。15 is a flowchart illustrating processing in which the MFP according to the third embodiment determines an OS standard WIA driver and a peripheral device manufacturer TWAIN driver. 実施形態4のMFPとPCがネットワークを介して通信し、周辺機器メーカー製のTWAINドライバからスキャンを行う際のシーケンスチャートである。10 is a sequence chart when an MFP and a PC according to a fourth embodiment communicate via a network and perform scanning from a TWAIN driver manufactured by a peripheral device manufacturer. 実施形態5のMFPとPCがネットワークを介して通信し、周辺機器メーカー製のTWAINドライバからスキャンを行う際のシーケンスチャートである。FIG. 16 is a sequence chart when the MFP and the PC according to the fifth embodiment communicate via a network and perform scanning from a TWAIN driver manufactured by a peripheral device manufacturer.

以下、本発明の実施の形態について図面を用いて詳細に説明する。   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 MFP 100, the printer function is realized by the printer unit 101, the scanner function is realized by the scanner unit 102, and the storage function is realized by the memory card mounting unit 103 and the memory card 104. Also, a copy function can be realized by combining a printer function and a scanner function.

プリンタ部101は、外部から受信した印刷データやメモリカード104に格納されている画像データ等のデータを、インクジェット方式や電子写真方式等の印刷方式によって印刷用紙に印刷する。スキャナ部102は、原稿台にセットされた原稿を光学式に読み取って電子データに変換し、さらに指定されたファイル形式に変換してネットワーク経由で外部装置に送信する。コピーサービスは、原稿台に置かれた原稿をスキャナ部102で読み取って生成した画像データをプリンタ部101へ転送してプリンタ部101が印刷用紙にその原稿データを印刷する。また、メモリカード104に格納されているファイルを、ネットワークを経由して接続された外部装置が読み出し、編集し、外部装置からメモリカード104内にファイルを格納することが可能である。   The printer unit 101 prints data such as print data received from the outside or image data stored in the memory card 104 on a print sheet by a printing method such as an inkjet method or an electrophotographic method. The scanner unit 102 optically reads a document set on a document table, converts it into electronic data, converts it into a specified file format, and transmits it to an external device via a network. In the copy service, image data generated by reading a document placed on a document table by the scanner unit 102 is transferred to the printer unit 101, and the printer unit 101 prints the document data on printing paper. In addition, a file stored in the memory card 104 can be read and edited by an external device connected via a network, and the file can be stored in the memory card 104 from the external device.

さらに、MFP100は、MFP100の各種構成要素を制御するための中央演算装置(CPU)105、CPU105が読み出すプログラム等のデータを格納するROM等のプログラムメモリ106を備える。また、MFP100は、各サービス実行時に画像データ等のデータを一時格納したり、バッファリングしたりするためのRAM等のワークメモリ107、LCD等の表示部108、各スイッチからなる操作部109を備える。   The MFP 100 further includes a central processing unit (CPU) 105 for controlling various components of the MFP 100 and a program memory 106 such as a ROM for storing data such as programs read by the CPU 105. The MFP 100 also includes a work memory 107 such as a RAM for temporarily storing and buffering data such as image data when executing each service, a display unit 108 such as an LCD, and an operation unit 109 including switches. .

また、MFP100は、MFP100をネットワークに接続して各種通信を行うためのネットワーク通信部110と、ネットワーク通信部110をネットワーク媒体に接続するためのネットワーク接続部111を備える。ネットワーク通信部110は、有線ネットワークと無線ネットワークの内、少なくともいずれかに対応する。有線ネットワーク対応の場合、ネットワーク接続部111は有線ネットワークのケーブルをMFP100に接続するためのコネクタとなる。また、無線ネットワーク対応の場合、ネットワーク接続部111はアンテナとなる。   In addition, MFP 100 includes a network communication unit 110 for connecting MFP 100 to a network to perform various communications, and a network connection unit 111 for connecting network communication unit 110 to a network medium. The network communication unit 110 corresponds to at least one of a wired network and a wireless network. In the case of a wired network, the network connection unit 111 is a connector for connecting a wired network cable to the MFP 100. In the case of wireless network compatibility, the network connection unit 111 is an antenna.

また、さらに、MFP100は、ネットワーク通信部110が受信したパケットの送信元情報を格納するために、不揮発性メモリであるフラッシュメモリ112を備える。また、さらに、MFP100は、USB(Universal Serial Bus)インタフェースを介して情報処理装置(PC)と通信するためのUSB通信部114を備え、情報処理装置とはUSBコネクタ等のコネクタによるUSB接続部115により接続する。   The MFP 100 further includes a flash memory 112 that is a nonvolatile memory in order to store transmission source information of packets received by the network communication unit 110. The MFP 100 further includes a USB communication unit 114 for communicating with an information processing apparatus (PC) via a USB (Universal Serial Bus) interface, and the information processing apparatus is connected to a USB connection unit 115 using a connector such as a USB connector. Connect with.

これらのMFP100の各種構成要素は、信号線113により相互に接続される。   Various components of the MFP 100 are connected to each other through a signal line 113.

図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 PC 200. Reference numeral 202 denotes a disk device that installs application programs read by the CPU 201, an OS (Operation System), and the like, and stores data such as various files. Reference numeral 203 denotes an external disk reader for reading the contents of an external storage medium such as a CD-ROM. A memory 204 is used for the CPU 201 to perform processing such as temporary storage of data and buffering as necessary.

PC200からMFP100を利用するためのソフトウェアのセットアッププログラムを実行することにより、各種プログラムがPC200にインストールされる。各種プログラムには、スキャン機能を利用するためのスキャナドライバ、プリンタ機能を利用するためのプリンタドライバが含まれる。また、さらにMFP100の状態(イベントの有無等)を問い合わせるためのポーリングアプリケーション、MFP100の状態(ステータス)を管理する管理ソフトウェア(ステータスモニター)等の各種アプリケーションが含まれる。また、API(Application Programming Interface)としてTWAINに対応した画像処理アプリケーション、APIとしてWIAに対応した画像処理アプリケーションが含まれる。   Various programs are installed in the PC 200 by executing a software setup program for using the MFP 100 from the PC 200. The various programs include a scanner driver for using the scan function and a printer driver for using the printer function. Further, various applications such as a polling application for inquiring the state of MFP 100 (the presence or absence of an event, etc.) and management software (status monitor) for managing the state (status) of MFP 100 are included. Further, an image processing application corresponding to TWAIN as an API (Application Programming Interface) and an image processing application corresponding to WIA as an API are included.

205は、LCD等からなる表示部である。206は、キーボードやマウス等による操作部である。207は、PC200をネットワークに接続して各種通信を行うためのネットワーク通信部である。208は、ネットワーク通信部207をネットワーク媒体に接続するためのネットワーク接続部である。   Reference numeral 205 denotes a display unit composed of an LCD or the like. Reference numeral 206 denotes an operation unit such as a keyboard or a mouse. Reference numeral 207 denotes a network communication unit for connecting the PC 200 to the network to perform various communications. Reference numeral 208 denotes a network connection unit for connecting the network communication unit 207 to a network medium.

MFP100と同様に、ネットワーク通信部207とネットワーク接続部208は、有線ネットワークと無線ネットワークの内、少なくともいずれかに対応する。具体的な形態は、MFP100に内蔵のネットワーク通信部110及びネットワーク接続部111と同様に、対応するネットワークに応じて必要な機能及び形態をとる。209は、PC200の各種構成要素を相互に接続するための信号線である。210は、各種周辺装置とUSBインタフェースを介して通信するためのUSB通信部である。211は、USBコネクタ等のUSB接続部である。   Similar to MFP 100, network communication unit 207 and network connection unit 208 correspond to at least one of a wired network and a wireless network. A specific form, like the network communication unit 110 and the network connection unit 111 built in the MFP 100, takes necessary functions and forms according to the corresponding network. Reference numeral 209 denotes a signal line for connecting various components of the PC 200 to each other. Reference numeral 210 denotes a USB communication unit for communicating with various peripheral devices via a USB interface. Reference numeral 211 denotes a USB connection unit such as a USB connector.

図3は図1のMFP100と図2のPC200とを含むネットワークシステムの概略構成を示すブロック図である。   FIG. 3 is a block diagram showing a schematic configuration of a network system including MFP 100 of FIG. 1 and PC 200 of FIG.

図3では、ネットワーク300に、画像読取装置であるMFP100、情報処理装置であるPC200が接続されている。このネットワーク300は、例えば、Local Area Network(LAN)である。   In FIG. 3, an MFP 100 that is an image reading apparatus and a PC 200 that is an information processing apparatus are connected to a network 300. The network 300 is, for example, a local area network (LAN).

図3および以降の説明では、有線ネットワークケーブルであるネットワーク300から構成されるネットワークについて扱うが、これに限定されず、ネットワークの態様は、無線ネットワークであっても、有線ネットワークと無線ネットワークが混在するネットワークであっても同様である。また、画像読取装置は必ずしもMFP100である必要はなく、単機能のイメージスキャナやデジタルカメラでもよい。   In FIG. 3 and the following description, a network composed of the network 300 that is a wired network cable is treated. However, the present invention is not limited to this, and the wired network and the wireless network are mixed even if the network mode is a wireless network. The same applies to the network. The image reading apparatus is not necessarily the MFP 100, and may be a single-function image scanner or digital camera.

尚、図3では、1台のPC200、1台のMFP100のみを図示しているが、複数のPC200および複数のMFP100が同一ネットワーク300上に接続可能である。   In FIG. 3, only one PC 200 and one MFP 100 are shown, but a plurality of PCs 200 and a plurality of MFPs 100 can be connected to the same network 300.

図4は従来のネットワークスキャン時のPC200内のモジュールの概念図である。   FIG. 4 is a conceptual diagram of modules in the PC 200 during a conventional network scan.

PC200内のTWAIN対応アプリケーション401は、TWAINドライバ402を起動し、スキャナ制御ドライバ403を経由して、MFP100にアクセスする。   The TWAIN compatible application 401 in the PC 200 activates the TWAIN driver 402 and accesses the MFP 100 via the scanner control driver 403.

ここで、ネットワーク上で通信を行うために、周辺機器メーカー独自(ベンダー独自)のネットワークプロトコル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) network protocol 404 is used, and commands are transmitted / received to / from the MFP 100 through WINSOCK (Windows (registered trademark) Sockets API) 405. Get the data.

次に、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-compatible application 406, the OS standard Microsoft WSD Scan Driver (WSD ScDrv.dll) 408 is activated via the OS STI / WIA Service 407. The WSD Scan Driver 408 communicates with the MFP 100 through the WINSOCK (Windows (registered trademark) Sockets API) 405 using the WSD service (WSD API) 409 to acquire image data.

図5は図4に対して実施形態1のPC200内のモジュールの概念図である。   FIG. 5 is a conceptual diagram of modules in the PC 200 according to the first embodiment with respect to FIG.

PC200内のTWAIN対応アプリケーション401は、TWAINドライバ402を起動し、スキャナ制御ドライバ403を経由して、MFP100にアクセスする。   The TWAIN compatible application 401 in the PC 200 activates the TWAIN driver 402 and accesses the MFP 100 via the scanner control driver 403.

ここで、WSD Scan Driver408と同様に、スキャナ制御ドライバ403がWSDサービス(WSD API)409を使用して、WINSOCK(Windows(登録商標) Sockets API)405を通じてMFP100とコマンドの送受信を行い、画像データを取得する。これにより、周辺機器メーカー独自のネットワークプロトコル404(図4)を使用せずに、TWAINドライバ402からネットワークスキャンを実現することができる。   Here, similarly to the WSD Scan Driver 408, the scanner control driver 403 uses the WSD service (WSD API) 409 to transmit / receive commands to / from the MFP 100 through the WINSOCK (Windows (registered trademark) Sockets API) 405. get. Thereby, the network scan can be realized from the TWAIN driver 402 without using the network protocol 404 (FIG. 4) unique to the peripheral device manufacturer.

PC200とMFP100は、これらのコマンドを利用して、ネットワークスキャンにかかる処理を実現することができる。   The PC 200 and the MFP 100 can use these commands to implement processing related to network scanning.

図6はMFP100とPC200がネットワーク300を介して通信し、OS標準のWIAドライバからネットワークスキャン(WSDスキャン)を行う際のシーケンスチャートである。   FIG. 6 is a sequence chart when the MFP 100 and the PC 200 communicate via the network 300 and perform a network scan (WSD scan) from the OS standard WIA driver.

PC200には、WSDのスキャンサービスに対応したWindows(登録商標) VistaやWindows(登録商標) 7等のOSがインストールされている環境とする。MFP100をWSDのスキャンサービスに対応した画像読取装置としてOSに認識させるためには、PC200上に表示されているネットワーク上のMFP100を選択して、インストールを実施すればよい。この手順により、OS標準のWSDスキャナドライバがインストールされる。   The PC 200 is assumed to have an environment in which an OS such as Windows (registered trademark) Vista or Windows (registered trademark) 7 corresponding to the WSD scan service is installed. In order for the OS to recognize the MFP 100 as an image reading apparatus compatible with the WSD scan service, the MFP 100 on the network displayed on the PC 200 may be selected and installed. With this procedure, the OS standard WSD scanner driver is installed.

PC200は、OS標準のWIAドライバからスキャンする場合、スキャン開始時にスキャン設定(スキャンパラメータ)を含むWSDのスキャン要求コマンド(CreateScanJob Request)をMFP100に送信する(S601)。   When scanning from the OS standard WIA driver, the PC 200 transmits a WSD scan request command (CreateScanJob Request) including scan settings (scan parameters) to the MFP 100 at the start of scanning (S601).

MFP100は、スキャン要求コマンドを含むスキャンパラメータに従って、スキャン可能であれば、スキャン応答コマンド(CreateScanJob Response)をPC200へ返信する(S602)。   If the MFP 100 can scan according to the scan parameters including the scan request command, the MFP 100 returns a scan response command (CreateScanJob Response) to the PC 200 (S602).

これを受けて、PC200は、WIAドライバによってWSDの画像取得要求コマンド(RetrieveImage Request)をMFP100へ送信する(S603)。   In response to this, the PC 200 transmits a WSD image acquisition request command (RetrieveImage Request) to the MFP 100 using the WIA driver (S603).

MFP100は、画像取得要求コマンドを受信すると、画像取得応答コマンド(RetrieveImage Response)をPC200へ返信する(S604)。続けて、MFP100は、指定されたスキャン設定に従ってスキャナ部102による画像の読み取り(スキャン)を実行し、これによって得たスキャンデータ(例えば、JPEG画像)をMTOM(Message Transmission Optimization Mechanism)でPC200へ送信する(S605)。   Upon receiving the image acquisition request command, the MFP 100 returns an image acquisition response command (RetrieveImage Response) to the PC 200 (S604). Subsequently, the MFP 100 executes reading (scanning) of an image by the scanner unit 102 in accordance with the designated scan setting, and transmits scan data (for example, a JPEG image) obtained thereby to the PC 200 by a message transmission optimization mechanism (MTOM). (S605).

図7はMFP100とPC200がネットワーク300を介して通信し、本実施形態であるOS標準のWIAドライバ、周辺機器メーカー製のTWAINドライバのそれぞれからWSDを使用したネットワークスキャンを行う際のシーケンスチャートである。尚、図7において、図6と同一のシーケンスについては、同一の参照番号を付加している。   FIG. 7 is a sequence chart when the MFP 100 and the PC 200 communicate with each other via the network 300 and perform a network scan using WSD from the OS standard WIA driver and the TWAIN driver manufactured by the peripheral device manufacturer according to this embodiment. . In FIG. 7, the same reference numerals are added to the same sequences as those in FIG.

PC200は、TWAINドライバからスキャンする場合、スキャン開始時にスキャン設定(スキャンパラメータ)を含むスキャン要求コマンド(CreateScanJob Request)をMFP100に送信する(S701)。   When scanning from the TWAIN driver, the PC 200 transmits a scan request command (CreateScanJob Request) including scan settings (scan parameters) to the MFP 100 at the start of scanning (S701).

MFP100は、スキャン可能な状態であれば、スキャン応答コマンド(CreateScanJob Response)をPC200へ返信する(S702)。   If the MFP 100 is in a scannable state, the MFP 100 returns a scan response command (CreateScanJob Response) to the PC 200 (S702).

次に、PC200は、TWAINドライバによってベンダー(周辺機器メーカー)独自のコマンド(ベンダーコマンド)を送信するため、WSDの標準コマンドであるスキャナ要素取得要求コマンド(GetScannerElements Request)をベンダーコマンドを内包した形式でMFP100へ送信する(S703)。   Next, since the PC 200 transmits a command (vendor command) unique to the vendor (peripheral device manufacturer) using the TWAIN driver, the scanner element acquisition request command (GetScannerElements Request), which is a WSD standard command, is included in the format including the vendor command. It is transmitted to the MFP 100 (S703).

ここで、MFP100は、PC200のWIAドライバからのスキャン時は、画像取得要求コマンド(RetrieveImage Request)をPC200から受信する(S603)。この場合、MFP100は、画像取得応答コマンド(RetrieveImage Response)をPC200へ返信する(S604)。   Here, when scanning from the WIA driver of the PC 200, the MFP 100 receives an image acquisition request command (RetrieveImage Request) from the PC 200 (S603). In this case, the MFP 100 returns an image acquisition response command (RetrieveImage Response) to the PC 200 (S604).

これに対し、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 PC 200, the MFP 100 determines that the scan is from the TWAIN driver of the PC 200. In that case, the MFP 100 interprets the vendor command in the scanner element acquisition request command (GetScannerElements Request). Then, the MFP 100 incorporates a WSD scanner element acquisition response command (GetScannerElements Response) so as to include response information of the vendor command, and returns it to the PC 200 (S704). Thereafter, S703 and S704 are repeated in accordance with a vendor-specific command sequence, and command transmission / reception and image data transmission / reception are performed using WSD commands.

図8はMFP100が図7のOS標準のWIAドライバからのWSDスキャンとTWAINドライバからのWSDスキャンを判定して切り替える処理を示すフローチャートである。このフローチャートは、CPU105がプログラムをワークメモリ107にロードし、それを実行することによって行われる。   FIG. 8 is a flowchart illustrating processing in which the MFP 100 determines and switches between the WSD scan from the OS standard WIA driver of FIG. 7 and the WSD scan from the TWAIN driver. This flowchart is performed by the CPU 105 loading a program into the work memory 107 and executing it.

S1001にて、MFP100は、スキャン要求コマンド(CreateScanJob Request)をPC200から受信する。S1002にて、MFP100は、スキャンが可能な状態であれば、スキャン応答コマンド(CreateScanJob Response)をPC200へ送信する。S1003にて、MFP100は、次のコマンドとして画像取得要求コマンド(RetrieveImage Request)をPC200から受信した否かを判定する。図6のように、OS標準のWIAドライバからのスキャン時には、スキャン要求コマンドの次に画像取得要求コマンドが送信されるシーケンスとなる。   In step S <b> 1001, the MFP 100 receives a scan request command (CreateScanJob Request) from the PC 200. In S1002, MFP 100 transmits a scan response command (CreateScanJob Response) to PC 200 if scanning is possible. In step S1003, the MFP 100 determines whether an image acquisition request command (RetrieveImage Request) is received from the PC 200 as the next command. As shown in FIG. 6, at the time of scanning from the OS standard WIA driver, an image acquisition request command is transmitted after the scan request command.

画像取得要求コマンドを受信した場合(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 MFP 100 determines that the scan is from the OS standard WIA driver. In step S1005, the MFP 100 reads an image using a scan sequence from the OS standard WIA driver in FIG.

一方、画像取得要求コマンド(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 MFP 100 determines whether or not a vendor command is included in the received command. If a vendor command is included (YES in step S1006), in step S1007, the MFP 100 determines that the scan is from a TWAIN driver manufactured by a peripheral device manufacturer (vendor specific). In step S1008, the MFP 100 reads an image using a scan sequence from a TWAIN driver manufactured by a peripheral device manufacturer (vendor unique) in FIG.

一方、ベンダーコマンドが含まれていない場合(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 MFP 100 and the PC 200 used in the second embodiment, the configuration outline, the conceptual diagram of the modules in the PC 200, and the scan sequence chart can use the same configurations as those described with reference to FIGS. Omitted.

実施形態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 MFP 100 determines a scan from the OS standard WIA driver and a scan from the TWAIN driver manufactured by the peripheral device manufacturer. .

図9はMFP100とPC200がネットワーク300を介して通信し、本実施形態であるOS標準のWIAドライバ、周辺機器メーカー製のTWAINドライバのそれぞれからWSDを使用したネットワークスキャンを行う際のシーケンスチャートである。尚、図9において、図6と同一のシーケンスについては、同一の参照番号を付加している。   FIG. 9 is a sequence chart when the MFP 100 and the PC 200 communicate with each other via the network 300 and perform a network scan using WSD from the OS standard WIA driver and the TWAIN driver manufactured by the peripheral device manufacturer according to this embodiment. . In FIG. 9, the same reference numerals are added to the same sequences as those in FIG.

PC200は、TWAINドライバからスキャンする場合、スキャン開始時にスキャン設定(スキャンパラメータ)とともにTWAINドライバからのスキャンであることを明示的に設定するためのカスタムフラグ(XML形式のコマンドにベンダー独自のネームスペースで定義したタグを追加し、ベンダー固有の情報(識別子)を付加する)を含むスキャン要求コマンド(CreateScanJob Request)をMFP100に送信する(S801)。   When scanning from the TWAIN driver, the PC 200 uses a custom flag for explicitly setting that scanning is from the TWAIN driver together with the scan setting (scan parameter) at the start of scanning (in the vendor-specific namespace in the XML format command). A scan request command (CreateScanJob Request) including a defined tag is added and vendor-specific information (identifier) is added) to MFP 100 (S801).

MFP100は、スキャン可能な状態であれば、スキャン応答コマンド(CreateScanJob Response)をPC200へ返信する(S802)。また、MFP100は、S801にてカスタムフラグがあるか否かを検出し、カスタムフラグがある場合は、TWAINドライバからのスキャンであることを判定し、カスタムフラグがない場合はWIAドライバからのスキャンであると判定する。   If the MFP 100 is in a scannable state, the MFP 100 returns a scan response command (CreateScanJob Response) to the PC 200 (S802). In step S801, the MFP 100 detects whether there is a custom flag. If there is a custom flag, the MFP 100 determines that the scan is from the TWAIN driver. If there is no custom flag, the MFP 100 scans from the WIA driver. Judge that there is.

ここで、MFP100は、PC200のWIAドライバからのスキャン時は、画像取得要求コマンド(RetrieveImage Request)をPC200から受信する(S603)。この場合、MFP100は、画像取得応答コマンド(RetrieveImage Response)をPC200へ返信する(S604)。   Here, when scanning from the WIA driver of the PC 200, the MFP 100 receives an image acquisition request command (RetrieveImage Request) from the PC 200 (S603). In this case, the MFP 100 returns an image acquisition response command (RetrieveImage Response) to the PC 200 (S604).

これに対し、PC200のTWAINドライバからのスキャン時は、ベンダー独自のコマンド(ベンダーコマンド)を送信するため、PC200は、WSDの標準コマンドであるスキャナ要素取得要求コマンド(GetScannerElements Request)をベンダーコマンドを内包した形式でMFP100へ送信する(S803)。   On the other hand, when scanning from the TWAIN driver of the PC 200, since a vendor-specific command (vendor command) is transmitted, the PC 200 includes a vendor element including a scanner element acquisition request command (GetScannerElements Request) which is a standard command of WSD. Then, it is transmitted to the MFP 100 in the format (S803).

MFP100は、PC200のTWAINドライバからのスキャン時は、ベンダーコマンドが組み込まれていると判定し、スキャナ要素取得要求コマンド(GetScannerElements Request)内のベンダーコマンドを解釈する。そして、MFP100は、WSDのスキャナ要素取得応答コマンド(GetScannerElements Response)をベンダーコマンドのレスポンス情報を内包するように組み込んでPC200へ返信する(S804)。その後、ベンダー独自のコマンドシーケンスに応じて、S803、S804を繰り返し、コマンドの送受信や画像データの送受信をWSDのコマンドを使用して行う。   When scanning from the TWAIN driver of the PC 200, the MFP 100 determines that the vendor command is incorporated, and interprets the vendor command in the scanner element acquisition request command (GetScannerElements Request). Then, the MFP 100 incorporates the WSD scanner element acquisition response command (GetScannerElements Response) so as to include the response information of the vendor command, and returns it to the PC 200 (S804). Thereafter, S803 and S804 are repeated according to the vendor-specific command sequence, and command transmission / reception and image data transmission / reception are performed using WSD commands.

図10はMFP100が図9のOS標準のWIAドライバからのWSDスキャンとTWAINドライバからのWSDスキャンを判定して切り替える処理を示すフローチャートである。このフローチャートは、CPU105がプログラムをワークメモリ107にロードし、それを実行することによって行われる。   FIG. 10 is a flowchart illustrating processing in which the MFP 100 determines and switches between the WSD scan from the OS standard WIA driver of FIG. 9 and the WSD scan from the TWAIN driver. This flowchart is performed by the CPU 105 loading a program into the work memory 107 and executing it.

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 MFP 100 receives a scan request command (CreateScanJob Request) from the PC 200. In step S1102, the MFP 100 determines whether a custom flag has been added to the scan request command. If the custom flag has not been added (NO in S1102), in S1103, the MFP 100 determines that the scan is from the OS standard WIA driver. In S1104, MFP 100 transmits a scan response command (CreateScanJob Response) to PC 200. In step S1105, the MFP 100 reads an image using a scan sequence from the OS standard WIA driver in FIG.

一方、カスタムフラグが追加されている場合(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 MFP 100 determines that the scan is from a TWAIN driver manufactured by a peripheral device manufacturer (vendor specific). In step S <b> 1107, the MFP 100 transmits a scan response command (CreateScanJob Response) to the PC 200. In step S1108, the MFP 100 reads an image using the scan sequence from the TWAIN driver manufactured by the peripheral device manufacturer in FIG.

以上説明したように、実施形態2によれば、MFP100は、スキャンシーケンスの最初のコマンドであるスキャン要求コマンド(CreateScanJob Request)にカスタムフラグが含まれているかを判定する。これにより、OS標準のWIAドライバからのスキャンと周辺機器メーカー製のTWAINドライバからのスキャンを判定することができる。また、スキャン開始の最初のコマンドであるスキャン要求コマンド(CreateScanJob Request)にカスタムフラグを含めることで、スキャンシーケンスを解析することなく、WIA・TWAINスキャンを素早く切り替えることができる。   As described above, according to the second embodiment, the MFP 100 determines whether the custom flag is included in the scan request command (CreateScanJob Request) that is the first command in the scan sequence. 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. Also, by including a custom flag in the scan request command (CreateScanJob Request) that is the first command to start scanning, WIA / TWAIN scanning can be quickly switched without analyzing the scan sequence.

<実施形態3>
実施形態3で用いるMFP100とPC200、構成概略、PC200内のモジュールの概念図、スキャンのシーケンスチャートは図1〜図7で説明したものと同様の構成を用いることができるので、それらについての説明は省略する。
<Embodiment 3>
The MFP 100 and the PC 200 used in the third embodiment, a schematic configuration, a conceptual diagram of modules in the PC 200, and a scan sequence chart can use the same configurations as those described with reference to FIGS. Omitted.

実施形態3では、MFP100がOS標準のWIAドライバからのスキャンと周辺機器メーカー製のTWAINドライバからのスキャンを判定する方法として、スキャン要求コマンドにベンダーコマンドを組み込む場合についての方法を説明する。   In the third embodiment, a method in which the MFP 100 incorporates a vendor command into a scan request command will be described as a method for the MFP 100 to determine a scan from an OS standard WIA driver and a scan from a TWAIN driver manufactured by a peripheral device manufacturer.

図11はMFP100とPC200がネットワーク300を介して通信し、本実施形態であるOS標準のWIAドライバ、周辺機器メーカー製のTWAINドライバのそれぞれからWSDを使用したネットワークスキャンを行う際のシーケンスチャートである。尚、図11において、図6と同一のシーケンスについては、同一の参照番号を付加している。   FIG. 11 is a sequence chart when the MFP 100 and the PC 200 communicate via the network 300 and perform a network scan using WSD from the OS standard WIA driver and the TWAIN driver manufactured by the peripheral device maker according to this embodiment. . In FIG. 11, the same reference numerals are added to the same sequences as those in FIG.

PC200は、TWAINドライバからスキャンする場合、スキャン開始時に発行するスキャン要求コマンド(CreateScanJob Request)をベンダーコマンド(周辺機器メーカー独自のコマンド)を内包した形式でMFP100に送信する(S901)。   When scanning from the TWAIN driver, the PC 200 transmits a scan request command (CreateScanJob Request) issued at the start of scanning to the MFP 100 in a format including a vendor command (peripheral device manufacturer's unique command) (S901).

MFP100は、ベンダーコマンドが組み込まれていれば、TWAINドライバからのスキャンであると判定し、スキャン可能な状態であれば、スキャン応答コマンド(CreateScanJob Response)をベンダーコマンドのレスポンス情報を内包するように組み込んでPC200へ返信する(S902)。   If the vendor command is incorporated, the MFP 100 determines that the scan is from the TWAIN driver. If the scan is possible, the MFP 100 incorporates the scan response command (CreateScanJob Response) so that the response information of the vendor command is included. Is returned to the PC 200 (S902).

その後、PC200は、ベンダー独自のコマンドシーケンスに応じて、WSDの標準コマンドであるスキャナ要素取得要求コマンド(GetScannerElements Request)をベンダーコマンドを内包するように組み込んだ形式でMFP100へ送信する(S903)。   After that, the PC 200 transmits a scanner element acquisition request command (GetScannerElements Request), which is a WSD standard command, to the MFP 100 in a form incorporating the vendor command in accordance with the vendor-specific command sequence (S903).

MFP100は、スキャナ要素取得要求コマンド(GetScannerElements Request)内のベンダーコマンドを解釈し、WSDのスキャナ要素取得応答コマンド(GetScannerElements Response)をベンダーコマンドのレスポンス情報を内包するように組み込んでPC200へ返信する(S904)。その後、ベンダー独自のコマンドシーケンスに応じて、S903、S904を繰り返し、コマンドの送受信や画像データの送受信をWSDのコマンドを使用して行う。   The MFP 100 interprets the vendor command in the scanner element acquisition request command (GetScannerElements Request), embeds the WSD scanner element acquisition response command (GetScannerElements Response) so as to include the response information of the vendor command, and returns it to the PC 200 (S904). ). Thereafter, S903 and S904 are repeated in accordance with a vendor-specific command sequence, and command transmission / reception and image data transmission / reception are performed using WSD commands.

図12はMFP100が図11のOS標準のWIAドライバからのWSDスキャンとTWAINドライバからのWSDスキャンを判定して切り替える処理を示すフローチャートである。このフローチャートは、CPU105がプログラムをワークメモリ107にロードし、それを実行することによって行われる。   FIG. 12 is a flowchart illustrating a process in which the MFP 100 determines and switches between the WSD scan from the OS standard WIA driver of FIG. 11 and the WSD scan from the TWAIN driver. This flowchart is performed by the CPU 105 loading a program into the work memory 107 and executing it.

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 MFP 100 receives a scan request command (CreateScanJob Request) from the PC 200. In step S1202, the MFP 100 determines whether a vendor-specific command (vendor command) is included in the scan request command. If the vendor command is not incorporated (NO in S1202), the MFP 100 determines that the scan is from the OS standard WIA driver (S1203). In S1204, MFP 100 returns a scan response command (CreateScanJob Response) to PC 200. In step S1205, the MFP 100 reads an image using the scan sequence from the OS standard WIA driver in FIG.

一方、ベンダーコマンドが組み込まれている場合(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 MFP 100 determines that the scan is from a TWAIN driver manufactured by a peripheral device manufacturer. In step S <b> 1207, the MFP 100 transmits a scan response command (CreateScanJob Response) incorporating a response of the vendor command to the PC 200. In step S1208, the MFP 100 reads an image using the scan sequence from the TWAIN driver manufactured by the peripheral device manufacturer in FIG.

以上説明したように、実施形態3によれば、MFP100は、スキャンシーケンスの最初のコマンドであるスキャン要求コマンド(CreateScanJob Request)にベンダー独自のコマンド(ベンダーコマンド)が含まれているかを判定する。これにより、OS標準のWIAドライバからのスキャンと周辺機器メーカー製のTWAINドライバからのスキャンを判定することができる。スキャン開始の最初のコマンドであるスキャン要求コマンド(CreateScanJob Request)にベンダーコマンドを含めることで、スキャンシーケンスを解析することなく、WIA・TWAINスキャンを素早く切り替えることができる。   As described above, according to the third embodiment, the MFP 100 determines whether a vendor-specific command (vendor command) is included in the scan request command (CreateScanJob Request) that is the first command in the scan sequence. 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. By including the vendor command in the scan request command (CreateScanJob Request) that is the first command to start scanning, the WIA / TWAIN scan can be quickly switched without analyzing the scan sequence.

<実施形態4>
実施形態4で用いるMFP100とPC200、構成概略、PC200内のモジュールの概念図、スキャンのシーケンスチャートは図1〜図6で説明したものと同様の構成を用いることができるので、それらについての説明は省略する。
<Embodiment 4>
The MFP 100 and the PC 200 used in the fourth embodiment, the configuration outline, the conceptual diagram of the modules in the PC 200, and the scan sequence chart can use the same configurations as those described with reference to FIGS. Omitted.

実施形態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 MFP 100 performs a scan from a TWAIN driver manufactured by a peripheral device manufacturer that is not OS standard will be described.

図13はMFP100とPC200がネットワーク300を介して通信し、本実施形態であるOS標準ではない周辺機器メーカー製のTWAINドライバからWSDを使用したネットワークスキャンを行う際のシーケンスチャートである。   FIG. 13 is a sequence chart when the MFP 100 and the PC 200 communicate via the network 300 and perform a network scan using WSD from a TWAIN driver manufactured by a peripheral device manufacturer that is not an OS standard according to the present embodiment.

PC200は、TWAINドライバからスキャンする場合、スキャン開始時にスキャン設定(スキャンパラメータ)とともにTWAINドライバからのスキャンであることを明示的に設定するためのカスタムフラグ(XML形式のコマンドにベンダー独自のネームスペースで定義したタグを追加し、ベンダー固有の情報を付加する)を含むスキャン要求コマンド(CreateScanJob Request)をMFP100に送信する(S1301)。   When scanning from the TWAIN driver, the PC 200 uses a custom flag for explicitly setting that scanning is from the TWAIN driver together with the scan setting (scan parameter) at the start of scanning (in the vendor-specific namespace in the XML format command). A scan request command (CreateScanJob Request) including a defined tag (adding vendor-specific information) is transmitted to the MFP 100 (S1301).

MFP100は、スキャン可能な状態であれば、スキャン応答コマンド(CreateScanJob Response)をPC200へ返信する(S1302)。また、MFP100は、S1301にてカスタムフラグがあるか否かを検出し、カスタムフラグがある場合は、TWAINドライバからのスキャンであることを判定する。   If the MFP 100 is in a scannable state, the MFP 100 returns a scan response command (CreateScanJob Response) to the PC 200 (S1302). In step S1301, the MFP 100 detects whether there is a custom flag. If there is a custom flag, the MFP 100 determines that the scan is from the TWAIN driver.

次に、PC200は、TWAINドライバでベンダー独自のコマンド(ベンダーコマンド)を送信するため、WSDの標準コマンドであるスキャナ要素取得要求コマンド(GetScannerElements Request)をベンダーコマンドを内包した形式でMFP100へ送信する(S1303)。   Next, in order to transmit a vendor-specific command (vendor command) using the TWAIN driver, the PC 200 transmits a scanner element acquisition request command (GetScannerElements Request), which is a WSD standard command, to the MFP 100 in a form including the vendor command ( S1303).

MFP100は、スキャナ要素取得要求コマンドにベンダーコマンドが組み込まれていると、TWAINドライバからのスキャンであると判定し、そのベンダーコマンドを解釈する。そして、MFP100は、WSDのスキャナ要素取得応答コマンド(GetScannerElements Response)をベンダーコマンドのレスポンス情報を内包するように組み込んでPC200へ返信する(S1304)。   If the vendor command is included in the scanner element acquisition request command, the MFP 100 determines that the scan is from the TWAIN driver, and interprets the vendor command. Then, the MFP 100 incorporates a WSD scanner element acquisition response command (GetScannerElements Response) so as to include response information of the vendor command, and returns it to the PC 200 (S1304).

ここで、ベンダー独自のコマンドシーケンスの内、画像データを含まない設定系のコマンドシーケンスについては、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 PC 200 transmits a WSD image acquisition request command (RetrieveImage Request) to the MFP 100 (S1305).

MFP100は、画像取得応答コマンド(RetrieveImage Response)をPC200へ返信する(S1306)。続けて、MFP100は、スキャンデータ(例えば、JPEG画像)をMTOM(Message Transmission Optimization Mechanism)でPC200へ送信する(S1307)。   The MFP 100 returns an image acquisition response command (RetrieveImage Response) to the PC 200 (S1306). Subsequently, the MFP 100 transmits scan data (for example, a JPEG image) to the PC 200 by MTOM (Message Transmission Optimization Mechanism) (S1307).

ここで、スキャンデータは、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 MFP 100 and the PC 200 used in the fifth embodiment, the configuration outline, the conceptual diagram of the modules in the PC 200, and the scan sequence chart can use the same configurations as those described in FIG. 1 to FIG. Omitted.

実施形態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 MFP 100 performs a scan from a TWAIN driver manufactured by a peripheral device manufacturer that is not OS standard will be described.

図14はMFP100とPC200がネットワーク300を介して通信し、本実施形態であるOS標準ではない周辺機器メーカー製のTWAINドライバからWSDを使用したネットワークスキャンを行う際のシーケンスチャートである。   FIG. 14 is a sequence chart when the MFP 100 and the PC 200 communicate via the network 300 to perform a network scan using WSD from a TWAIN driver manufactured by a peripheral device manufacturer that is not an OS standard according to this embodiment.

PC200は、TWAINドライバからスキャンする場合、スキャン開始時にスキャン設定(スキャンパラメータ)とともにTWAINドライバからのスキャンであることを明示的に設定するためのカスタムフラグ(XML形式のコマンドにベンダー独自のネームスペースで定義したタグを追加し、ベンダー固有の情報を付加する)を含んだスキャン要求コマンド(CreateScanJob Request)をMFP100に送信する(S1401)。   When scanning from the TWAIN driver, the PC 200 uses a custom flag for explicitly setting that scanning is from the TWAIN driver together with the scan setting (scan parameter) at the start of scanning (in the vendor-specific namespace in the XML format command). A scan request command (CreateScanJob Request) including a defined tag is added and vendor-specific information is added (S1401).

MFP100は、スキャン可能な状態であれば、スキャン応答コマンド(CreateScanJob Response)を返信する(S1402)。また、MFP100は、S1401にてカスタムフラグがあるかを検出し、カスタムフラグがある場合は、TWAINドライバからのスキャンであることを判定する。   If the MFP 100 is in a scannable state, the MFP 100 returns a scan response command (CreateScanJob Response) (S1402). In step S1401, the MFP 100 detects whether there is a custom flag. If there is a custom flag, the MFP 100 determines that the scan is from the TWAIN driver.

次に、PC200は、TWAINドライバで周辺機器メーカー独自のコマンド(ベンダーコマンド)を送信するため、WSDの標準コマンドであるスキャナ要素取得要求コマンド(GetScannerElements Request)にベンダーコマンドを内包した形式で送信する(S1403)。   Next, since the PC 200 transmits a peripheral device manufacturer's original command (vendor command) using the TWAIN driver, the PC 200 transmits the scanner element acquisition request command (GetScannerElements Request), which is a WSD standard command, in a format including the vendor command ( S1403).

MFP100は、スキャナ要素取得要求コマンドにベンダーコマンドが組み込まれていると、TWAINドライバからのスキャンであると判定し、そのベンダーコマンドを解釈して、それに対する応答を用意する。但し、ここでは、MFP100は、WSDのスキャナ要素取得応答コマンド(GetScannerElements Response)にはベンダーコマンドのレスポンス情報を組み込まずに返信する(S1404)。   If the vendor command is incorporated in the scanner element acquisition request command, the MFP 100 determines that the scan is from the TWAIN driver, interprets the vendor command, and prepares a response thereto. However, in this case, the MFP 100 returns a WSD scanner element acquisition response command (GetScannerElements Response) without incorporating the response information of the vendor command (S1404).

そして、PC200は、WSDの画像取得要求コマンド(RetrieveImage Request)をMFP100へ送信する。   Then, the PC 200 transmits a WSD image acquisition request command (RetrieveImage Request) to the MFP 100.

MFP100は、これを受けて、画像取得応答コマンド(RetrieveImage Response)をPC200へ送信する(S1406)。ここで、MFP100は、S1403にて解釈したベンダーコマンドのレスポンス情報をMTOM(Message Transmission Optimization Mechanism)に組み込んで送信する(S1407)。これは、すべてのベンダーコマンドの応答を、S1407で共通に1つのメッセージで返信することにより、スキャンシーケンスを統一することができ、MFP100とPC200の開発負荷を抑えることができるからである。また、画像取得要求コマンド・画像取得応答コマンドを使用することで画像データのようにデータサイズが大きくなった場合でも、パフォーマンスが低下する懸念がなくなる。   In response to this, the MFP 100 transmits an image acquisition response command (RetrieveImage Response) to the PC 200 (S1406). Here, the MFP 100 incorporates the response information of the vendor command interpreted in S1403 into a message transmission optimization mechanism (MTOM) and transmits it (S1407). This is because the response of all the vendor commands is returned as one message in common in S1407, so that the scan sequence can be unified and the development load of the MFP 100 and the PC 200 can be suppressed. Further, even when the data size is increased as in the case of image data by using the image acquisition request command / image acquisition response command, there is no concern that the performance deteriorates.

そして、周辺機器メーカー独自のコマンドシーケンスに応じて、設定系のコマンドから画像データ転送までのすべてのコマンド送受信を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のコマンドと、前記所定の通信プロトコルに準拠しない第2のコマンドとを前記通信手段が受信する順番に基づいて、前記第1の画像読取シーケンスあるいは前記第2の画像読取シーケンスを判定する
ことを特徴とする請求項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のコマンドに含まれる識別子に基づいて、前記第1の画像読取シーケンスあるいは前記第2の画像読取シーケンスを判定する
ことを特徴とする請求項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のコマンドに前記所定の通信プロトコルに準拠しない第2のコマンドが組み込まれているか否かに基づいて、前記第1の画像読取シーケンスあるいは前記第2の画像読取シーケンスを判定する
ことを特徴とする請求項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のコマンドに、前記所定の通信プロトコルに準拠しない第2のコマンドを内包した形式のコマンドを、前記情報処理装置との間で送受信する
ことを特徴とする請求項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:
前記所定の通信プロトコルは、WSD(Web Service on Device)のプロトコルである
ことを特徴とする請求項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.
前記通信手段は、前記WSDのプロトコルに準拠したコマンドの内、
スキャナ要素取得要求コマンド(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.
前記通信手段は、前記WSDのプロトコルに準拠したコマンドの内、
画像取得要求コマンド(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.
前記通信手段は、前記WSDのプロトコルに準拠したコマンドに、前記所定の通信プロトコルに準拠しない第2のコマンドを内包した形式のコマンドのすべてに対応する応答を、1つのメッセージを用いて行う
ことを特徴とする請求項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.
JP2013258696A 2013-12-13 2013-12-13 Image reading apparatus, control method of the same, and program Pending JP2015115900A (en)

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)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7415636B2 (en) 2020-02-12 2024-01-17 ブラザー工業株式会社 Program and scan system

Cited By (1)

* Cited by examiner, † Cited by third party
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