JP2004213421A - Image data transmitting/receiving system, computer, image data transmitting/receiving method, and program - Google Patents

Image data transmitting/receiving system, computer, image data transmitting/receiving method, and program Download PDF

Info

Publication number
JP2004213421A
JP2004213421A JP2003000499A JP2003000499A JP2004213421A JP 2004213421 A JP2004213421 A JP 2004213421A JP 2003000499 A JP2003000499 A JP 2003000499A JP 2003000499 A JP2003000499 A JP 2003000499A JP 2004213421 A JP2004213421 A JP 2004213421A
Authority
JP
Japan
Prior art keywords
image data
identification information
driver
data processing
twain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2003000499A
Other languages
Japanese (ja)
Other versions
JP3928557B2 (en
Inventor
Seiji Tsuya
誠司 津谷
Hajime Inada
肇 稲田
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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2003000499A priority Critical patent/JP3928557B2/en
Publication of JP2004213421A publication Critical patent/JP2004213421A/en
Application granted granted Critical
Publication of JP3928557B2 publication Critical patent/JP3928557B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To transmit/receive image data between an image data generating device intended by a user and a computer in an environment where a plurality of image data generating devices exist. <P>SOLUTION: When a second TWAIN data source 152 is installed with respect to a second scanner 102 by an install program 155, and it is determined that the identification information of an already installed first TWAIN data source 151 acquired by an acquiring part 155a is matched with the identification information of a second TWAIN data source 152 by a determining part 155b, the setting of the identification information of the second TWAIN data source 152 is operated by a setting part 155d based on the identification information of the second TWAIN data source 152 changed by a changing part 155c, and it is installed by an install part 155e. Then, a second scanner 102 is selected based on the identification information of the second TWAIN data source 152 by a selecting part 160a. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、画像データ送受信システム、コンピュータ、画像データ送受信方法、及びプログラムに関し、特に、複数の画像データ生成装置が存在する環境における画像データ送受信システム、コンピュータ、画像データ送受信方法、及びプログラムに関する。
【0002】
【従来の技術】
従来から、スキャナ等の画像データ生成装置が知られている。このような画像データ生成装置として、直接接続された、または、TCP/IP等を利用したLAN(Local Area Network)等のネットワーク上に接続されたコンピュータにて起動されているオペレーティングシステム(以下、「OS」と称する。)がサポートする画像データ生成機能(スキャナ機能)用の画像データ処理ドライバ(ドライバソフト)をインストールし、当該画像データ処理ドライバを介して、画像データ生成装置から送信された画像データを受信して、受信した画像データをコンピュータ上で動作するアプリケーションへ受け渡す技術(例えば、特許文献1参照)が開発されている。また、近年、画像データ生成装置に設けたボタンの押下をきっかけに、コンピュータから画像データ生成装置に指令が出力され、画像データ生成装置からコンピュータへ画像データの転送を行う技術も開発されている。
尚、コンピュータと直接接続された画像データ生成装置、及び、ネットワーク上に接続された画像データ生成装置が複数存在する場合には、コンピュータに各画像データ生成装置用の画像データ処理ドライバをインストールする必要がある(例えば、特許文献1参照)。
【0003】
ここで、画像データ生成装置用の画像データ処理ドライバをコンピュータにインストールする処理は、コンピュータにて起動されているOSを利用して行われる。OSを利用して行われる当該インストール処理は、インストール手順を半自動化するソフトウェアによって行われる。
【0004】
【特許文献1】
特開平11−110331号公報(図2、段落0002、0004、0018)
【0005】
【発明が解決しようとする課題】
しかしながら、従来のOSがサポートしている画像データ生成装置用の画像データ処理ドライバのインストール処理では、複数の画像データ生成装置が存在する環境において、既に画像データ処理ドライバがインストールされている画像データ生成装置と同一モデルの画像データ生成装置についての画像データ処理ドライバを新たにインストールする場合等、少なくとも一部が一致する識別情報(画像データ処理ドライバの名称等)を有する画像データ処理ドライバを新たにインストールする場合、画像データ処理ドライバが上書きインストールされたり、少なくとも一部が一致する識別情報(画像データ処理ドライバの名称等)を有する画像データ処理ドライバが複数存在したりすることとなり、ユーザが意図した画像データ生成装置とコンピュータとの間で画像データの送受信を行うことができないという問題があった。
【0006】
本発明は、上記問題点に鑑みてなされたものであり、複数の画像データ生成装置が存在する環境において、ユーザが意図した画像データ生成装置とコンピュータとの間で画像データの送受信を行うことができる、画像データ送受信システム、コンピュータ、画像データ送受信方法、及びプログラムを提供するものである。
【0007】
【課題を解決するための手段】
上記課題を解決するために、請求項1の画像データ送受信システムは、画像データ生成装置から送信された画像データを受信して、当該受信した画像データをコンピュータ上で動作するアプリケーションへ受け渡す処理を行う画像データ処理ドライバを、当該コンピュータにインストールして、前記画像データ生成装置とコンピュータとを通信可能に接続する画像データ送受信システムであって、前記コンピュータは、新たに画像データ処理ドライバをインストールする際に、既にインストールされている画像データ処理ドライバの識別情報を取得する取得手段と、前記取得手段によって取得した画像データ処理ドライバの識別情報の中に、新たにインストールする画像データ処理ドライバの識別情報と少なくとも一部が一致する識別情報を有する画像データ処理ドライバが存在するか否かを判断する判断手段と、前記判断手段によって少なくとも一部が一致する識別情報を有する画像データ処理ドライバが存在すると判断された場合に、前記新たにインストールする画像データ処理ドライバの識別情報を前記取得手段によって取得された識別情報とは異なる識別情報に変更する変更手段と、前記判断手段によって少なくとも一部が一致する識別情報を有する画像データ処理ドライバが存在すると判断された場合は、前記新たにインストールする画像データ処理ドライバの識別情報を、前記変更手段によって変更された識別情報に設定する設定手段と、各画像データ処理ドライバを互いに異なる画像データ処理ドライバ用記憶領域にインストールするインストール手段と、前記インストール手段によりインストールされた前記画像データ処理ドライバの識別情報に対して、当該画像データ処理ドライバを用いる1つの画像データ生成装置を関連付ける関連付け手段と、前記画像データ生成装置と通信する際に、前記関連付け手段により当該画像データ生成装置に関連付けられた識別情報を有する画像データ処理ドライバを選択する選択手段と、を備えることを特徴とする。
【0008】
請求項12のコンピュータは、画像データ生成装置から送信された画像データを受信して、当該受信した画像データをコンピュータ上で動作するアプリケーションへ受け渡す処理を行う画像データ処理ドライバを、当該コンピュータにインストールして、前記画像データ生成装置とコンピュータとを通信可能に接続する画像データ送受信システムを構成するコンピュータであって、新たに画像データ処理ドライバをインストールする際に、既にインストールされている画像データ処理ドライバの識別情報を取得する取得手段と、前記取得手段によって取得した画像データ処理ドライバの識別情報の中に、新たにインストールする画像データ処理ドライバの識別情報と少なくとも一部が一致する識別情報を有する画像データ処理ドライバが存在するか否かを判断する判断手段と、前記判断手段によって少なくとも一部が一致する識別情報を有する画像データ処理ドライバが存在すると判断された場合に、前記新たにインストールする画像データ処理ドライバの識別情報を前記取得手段によって取得された識別情報とは異なる識別情報に変更する変更手段と、前記判断手段によって少なくとも一部が一致する識別情報を有する画像データ処理ドライバが存在すると判断された場合は、前記新たにインストールする画像データ処理ドライバの識別情報を、前記変更手段によって変更された識別情報に設定する設定手段と、各画像データ処理ドライバを互いに異なる画像データ処理ドライバ用記憶領域にインストールするインストール手段と、前記インストール手段によりインストールされた前記画像データ処理ドライバの識別情報に対して、当該画像データ処理ドライバを用いる1つの画像データ生成装置を関連付ける関連付け手段と、前記画像データ生成装置と通信する際に、前記関連付け手段により当該画像データ生成装置に関連付けられた識別情報を有する画像データ処理ドライバを選択する選択手段と、を備えることを特徴とする。
【0009】
請求項13の画像データ送受信方法は、画像データ生成装置から送信された画像データを受信して、当該受信した画像データをコンピュータ上で動作するアプリケーションへ受け渡す処理を行う画像データ処理ドライバを、当該コンピュータにインストールして、前記画像データ生成装置とコンピュータとを通信可能に接続する画像データ送受信方法であって、新たに画像データ処理ドライバをインストールする際に、既にインストールされている画像データ処理ドライバの識別情報を取得する取得ステップと、前記取得ステップによって取得した画像データ処理ドライバの識別情報の中に、新たにインストールする画像データ処理ドライバの識別情報と少なくとも一部が一致する識別情報を有する画像データ処理ドライバが存在するか否かを判断する判断ステップと、前記判断ステップによって少なくとも一部が一致する識別情報を有する画像データ処理ドライバが存在すると判断された場合に、前記新たにインストールする画像データ処理ドライバの識別情報を前記取得手段によって取得された識別情報とは異なる識別情報に変更する変更ステップと、前記判断ステップによって少なくとも一部が一致する識別情報を有する画像データ処理ドライバが存在すると判断された場合は、前記新たにインストールする画像データ処理ドライバの識別情報を、前記変更ステップによって変更された識別情報に設定する設定ステップと、各画像データ処理ドライバを互いに異なる画像データ処理ドライバ用記憶領域にインストールするインストールステップと、前記インストールステップによりインストールされた前記画像データ処理ドライバの識別情報に対して、当該画像データ処理ドライバを用いる1つの画像データ生成装置を関連付ける関連付けステップと、前記画像データ生成装置と通信する際に、前記関連付けステップにより当該画像データ生成装置に関連付けられた識別情報を有する画像データ処理ドライバを選択する選択ステップと、を備えることを特徴とする。
【0010】
請求項14のプログラムは、画像データ生成装置から送信された画像データを受信して、当該受信した画像データをコンピュータ上で動作するアプリケーションへ受け渡す処理を行う画像データ処理ドライバを、当該コンピュータにインストールして、前記画像データ生成装置とコンピュータとを通信可能に接続する画像データ送受信システムを構成するコンピュータに、新たに画像データ処理ドライバをインストールする際に、既にインストールされている画像データ処理ドライバの識別情報を取得する取得ステップ、前記取得ステップによって取得した画像データ処理ドライバの識別情報の中に、新たにインストールする画像データ処理ドライバの識別情報と少なくとも一部が一致する識別情報を有する画像データ処理ドライバが存在するか否かを判断する判断ステップ、前記判断ステップによって少なくとも一部が一致する識別情報を有する画像データ処理ドライバが存在すると判断された場合に、前記新たにインストールする画像データ処理ドライバの識別情報を前記取得手段によって取得された識別情報とは異なる識別情報に変更する変更ステップ、前記判断ステップによって少なくとも一部が一致する識別情報を有する画像データ処理ドライバが存在すると判断された場合は、前記新たにインストールする画像データ処理ドライバの識別情報を、前記変更ステップによって変更された識別情報に設定する設定ステップ、各画像データ処理ドライバを互いに異なる画像データ処理ドライバ用記憶領域にインストールするインストールステップ、前記インストールステップによりインストールされた前記画像データ処理ドライバの識別情報に対して、当該画像データ処理ドライバを用いる1つの画像データ生成装置を関連付ける関連付けステップ、前記画像データ生成装置と通信する際に、前記関連付けステップにより当該画像データ生成装置に関連付けられた識別情報を有する画像データ処理ドライバを選択する選択ステップ、を実行させることを特徴とする。
【0011】
請求項1、12、13、14によると、少なくとも一部が一致する識別情報を有する画像データ処理ドライバが既にコンピュータにインストールされている場合、新たにインストールする画像データ処理ドライバの識別情報を変更した上で、画像データ処理ドライバ同士を異なる画像データ処理ドライバ用記憶領域にインストールし、インストールした画像データ処理ドライバの識別情報と1つの画像データ生成装置とを関連付けている。従って、同一モデルの画像データ生成装置に関する画像データ処理ドライバをインストールする場合等、少なくとも一部が一致する識別情報を有する画像データ処理ドライバをインストールする場合であっても、それぞれの識別情報に関連付けられた個別の画像データ生成装置として認識することができるため、少なくとも一部が一致する識別情報を有する画像データ処理ドライバを用いる画像データ生成装置が複数存在する環境においても、ユーザが使用しているコンピュータと画像データを送受信しようとする画像データ生成装置との間で確実に画像データを送受信することができる。
【0012】
請求項2の画像データ送受信システムは、請求項1に記載の画像データ送受信システムであって、前記インストール手段は、各画像データ処理ドライバを互いに異なる画像データ処理ドライバ用フォルダにインストールすることによって、各画像データ処理ドライバを互いに異なる画像データ処理ドライバ用記憶領域にインストールすることを特徴とする。
【0013】
請求項2によると、各画像データ処理ドライバを互いに異なる画像データ処理ドライバ用フォルダにインストールしている。従って、インストールする画像データ処理ドライバに関するデータに対して名称を変更する等インストールする画像データ処理ドライバを上書きしないための操作を行う必要がなくなる。
【0014】
請求項3の画像データ送受信システムは、請求項2に記載の画像データ送受信システムであって、前記画像データ処理ドライバの識別情報は、当該画像データ処理ドライバの前記画像データ処理ドライバ用フォルダに記憶されることを特徴とする。
【0015】
請求項3によると、画像データ処理ドライバ用フォルダに画像データ処理ドライバの識別情報を記憶している。従って、TWAINデータソースマネージャのように画像データ処理ドライバの画像データ処理ドライバ用フォルダに記憶されている識別情報を取得する技術に対応することができる。
【0016】
請求項4の画像データ送受信システムは、請求項1〜請求項3のいずれか1項に記載の画像データ送受信システムであって、前記インストール手段は、更に、インストールに関する情報を記載したINF(Information)ファイルに基づいてインストールを行い、前記設定手段は、前記判断手段によって少なくとも一部が一致する識別情報を有する画像データ処理ドライバが存在すると判断された場合に、前記インストール手段によりインストールが行われる前に、前記INFファイルに記載されている前記新たにインストールする画像データ処理ドライバの識別情報を前記変更手段によって変更された識別情報に書き換えることによって、前記画像データ処理ドライバの識別情報を設定することを特徴とする。
【0017】
請求項4によると、新たにインストールする画像データ処理ドライバの識別情報と少なくとも一部が一致する識別情報を有する画像データ処理ドライバが既にコンピュータにインストールされている場合、画像データ処理ドライバをコンピュータにインストールする前に、予めINFファイルに記載されている画像データ処理ドライバの識別情報を変更された識別情報に書き換えている。従って、画像データ処理ドライバのインストールの処理が簡便になる。
【0018】
請求項5の画像データ送受信システムは、請求項1〜請求項4のいずれか1項に記載の画像データ送受信システムであって、前記インストール手段は、前記新たにインストールする画像データ処理ドライバをインストールする際に、前記新たにインストールする画像データ処理ドライバと、前記既にインストールされている画像データ処理ドライバと、で共有できる内容の少なくとも一部については、互いに異なる画像データ処理ドライバ用記憶領域に記憶しないことを特徴とする。
【0019】
請求項5によると、新たに画像データ処理ドライバをインストールする際に、既にインストールされている画像データ処理ドライバと共有できる内容の少なくとも一部については、互いに異なる画像データ処理ドライバ用記憶領域に記憶していない。従って、画像データ処理ドライバを記憶するためにかかる負荷を軽減させることが可能となる。
【0020】
請求項6の画像データ送受信システムは、請求項1〜請求項5のいずれか1項に記載の画像データ送受信システムであって、前記関連付け手段は、更に、1つの画像データ生成装置に対して、唯一の画像データ処理ドライバの識別情報を関連付けていることを特徴とする。
【0021】
請求項6によると、画像データ生成装置と画像データ処理ドライバの識別情報とを1対1に関連付けている。従って、ユーザが画像データ生成装置からコンピュータに接続する場合(例えば、画像データ生成装置に設けたボタンの押下をきっかけに、コンピュータから画像データ生成装置に対する指令が出力され、画像データ生成装置からコンピュータへ画像データの転送を実現する機能を利用する場合)に、接続を行ってきた画像データ生成装置をコンピュータで特定することができ、正確に画像データ生成装置とコンピュータとの間で画像データの送受信を行うことができる。
【0022】
請求項7の画像データ送受信システムは、請求項1〜請求項5のいずれか1項に記載の画像データ送受信システムであって、前記関連付け手段は、1つの画像データ生成装置に対して、複数の画像データ処理ドライバの識別情報を関連付けており、更に、ユーザが、前記インストール手段によりインストールされた前記画像データ処理ドライバの識別情報に関連付ける画像データ生成装置の設定情報を各画像データ処理ドライバ毎に決定することを特徴とする。
【0023】
請求項7によると、1つの画像データ生成装置に対して複数の画像データ処理ドライバの識別情報を関連付け、それぞれの画像データ処理ドライバの識別情報に関連付ける画像データ生成装置のそれぞれの設定情報はユーザにより決定されている。従って、1つの画像データ生成装置であっても、それぞれの識別情報ごとに、ユーザが設定する画像データ生成装置についての設定情報が保存することができる。
【0024】
請求項8の画像データ送受信システムは、請求項1〜請求項7のいずれか1項に記載の画像データ送受信システムであって、前記関連付け手段は、前記画像データ処理ドライバと、前記画像データ生成装置が接続された通信ポートとの間の通信を行う通信ドライバであり、当該通信ドライバの通信ドライバ用記憶領域に、前記画像データ処理ドライバの識別情報と、前記通信ポートの識別情報とを記憶させることにより、関連付けを行うことを特徴とする。
【0025】
請求項8によると、通信ドライバの通信ドライバ用記憶領域に、画像データ処理ドライバの識別情報と通信ポートの識別情報とを記憶することにより関連付けが行われている。従って、通信ドライバの技術を用いることにより、容易に本発明を実現することができる。
【0026】
請求項9の画像データ送受信システムは、請求項8に記載の画像データ送受信システムであって、前記通信ドライバは、STI(Still Image Architecture) ドライバであることを特徴とする。
【0027】
請求項9によると、通信ドライバとしてSTIドライバを利用した環境に対して本発明を適用することができる。
【0028】
請求項10の画像データ送受信システムは、請求項1〜請求項9のいずれか1項に記載の画像データ送受信システムであって、前記画像データ処理ドライバは、TWAINデータソースであることを特徴とする。
【0029】
請求項10によると、画像データ処理ドライバとしてTWAINデータソースを利用した環境に対して本発明を適用することができる。
【0030】
請求項11の画像データ送受信システムは、請求項1〜請求項4のいずれか1項に記載の画像データ送受信システムであって、前記画像データ処理ドライバは、WIA(Windows Image Acquisition)ドライバであり、かつ、前記画像データ処理ドライバの識別情報は、当該WIAドライバをTWAINデータソースとして認識させるための識別情報であることを特徴とする。
【0031】
請求項11によると、画像データ処理ドライバとしてWIAドライバを利用し、画像データ処理ドライバの識別情報としてWIAドライバをTWAINデータソースとして認識させるための識別情報として利用した環境に対して本発明を適用することができる。
【0032】
尚、請求項14に記載されているプログラムは、CD−ROM(Compact DiscRead Only Memory)、FD(Floppy(登録商標) Disk)、MO(Magneto−Optic)などのリムーバブル型記録媒体やハードディスクなどの固定型記録媒体に記録して配布可能である他、有線又は無線の電気通信手段によってインターネットなどの通信ネットワークを介して配布可能である。
【0033】
【発明の実施の形態】
以下、図面を参照しつつ、本発明の好適な実施の形態を説明する。
【0034】
[第一の実施形態]
<画像データ送受信システムの全体構成>
まず、第一の実施形態に係る画像データ送受信システムについて図1〜図7に基づいて説明する。図1は、第一の実施形態に係る画像データ送受信システムの概略構成図である。図2及び図3は、レジストリの第2TWAINデータソース用記憶領域及び第2STI(Still Image Architecture) ドライバ用記憶領域を示す図である。図4は、第2TWAINデータソース用設定ファイルの一例を示す図である。図5は、第2TWAINデータソース用フォルダの一例を示す図である。図6は、第2TWAINデータソースのインストールに関する情報を記載したINF(Information)ファイルの一例(後述のインストールプログラム155の処理が行われた後の一例)を示す図である。図7は、第2TWAINデータソース用ユーザ設定ファイルの一例を示す図である。
尚、第一の実施形態では、画像データ処理ドライバとしてTWAINデータソースを利用し、通信ドライバとしてSTIドライバを利用している。
【0035】
図1に示す画像データ送受信システム100は、画像データ生成装置として第1スキャナ101及び第2スキャナ102と、コンピュータとしてコンピュータ103とを有している。第1スキャナ101、第2スキャナ102、コンピュータ103はLAN104により接続されている。尚、第1スキャナ101と第2スキャナ102とは、同一機種であるものとする。
ここで、第1スキャナ101については、既に、後述する第1スキャナ101の画像データ処理ドライバである第1TWAINデータソース151がコンピュータ103にインストールされているものとし、第2スキャナ102については、これから、後述する第2スキャナ102の画像データ処理ドライバである第2TWAINデータソース152をコンピュータ103にインストールするものとする。そして、ユーザは、コンピュータ103と、既にインストールされている第1TWAINデータソース151を介して第1スキャナ101と、新たにインストールする第2TWAINデータソース152を介して第2スキャナ102との間で画像データの送受信を意図するものとする。
【0036】
図1に示すように、第1スキャナ101は、CPU(Central Processing Unit)110と、ROM(Read Only Memory)111と、RAM(Random Access Memory)112と、NVRAM(Non Volatile RAM)113と、表示部114と、操作部115と、スキャナ部116と、LANインターフェース(LAN I/F)118とを有しており、これらは、システムバス119によって互いに結合されている。
【0037】
CPU110は、第1スキャナ101を制御するための中央演算処理装置である。CPU110は、コンピュータ103からの受信した指示を解析して、後述するスキャナ部116に対してスキャナの機能を提供させたりする。
【0038】
ROM111は、読み出し専用記憶装置であり、CPU110が使用する主記憶空間の一部を構成するものである。RAM112は、ROM111と同様にCPU110が使用する主記憶空間の一部を構成するもので、読み出し・書き込み可能な揮発性記憶装置である。NVRAM113は、書き換えの必要なデータを保存するための不揮発性RAMである。
【0039】
表示部114は、ディスプレイ等により情報を出力して表示する表示装置で、図示省略の入出力インターフェースを介してシステムバス119に接続される。この表示部114は、第1スキャナ101の各種機能に関する情報の表示に用いられる。表示部114は、例えば、液晶表示器等により構成される。
【0040】
操作部115は、外部からの入力操作を行うための、第1スキャナ101に設けられている入力装置であり、図示省略の入出力インターフェースを介してシステムバス119に接続される。この操作部115は、第1スキャナ101の各種機能に関する情報入力に用いられる。操作部115は、例えば、押圧式のスイッチを所定数並べた入力キーの構成をとるものである。
また、操作部115はスキャンボタン115aを有しており、スキャンボタン115aを押下する操作により、後述するLANインターフェース118を介して接続されたコンピュータ103に通知が行われ、この通知を受けたコンピュータ103から第1スキャナ101に対してスキャン指令が出力され、後述するスキャナ部116で生成した画像データを第1スキャナ101からコンピュータ103に対して転送する。
【0041】
スキャナ部116は、紙やフィルムに描画(印刷)された画像(イメージ)をコンピュータに取込むためのスキャナ機能を提供する装置で、図示省略の入出力インターフェースを介してシステムバス119に接続される。このスキャナ部116は、後述するコンピュータ103から送信された指令により、CPU110を介して、第1スキャナ101の所定箇所にセットされた原稿についてスキャンを実行する。そして、そのスキャンに基づいて生成された画像データ(ラスタデータ)は、後述する第1TWAINデータソース151を介してコンピュータ103のImaging Application156に転送される。
【0042】
LANインターフェース118は、LAN104を介して、後述するコンピュータ103のLANインターフェース138に接続するもので、第1スキャナ101とコンピュータ103とのデータ通信を可能にするものであり、ラスタデータ等の通信に用いられる。尚、第一の実施形態においては、第1スキャナ101とコンピュータ103とのデータ通信のプロトコルとして、TCP/IPが適用される。
【0043】
第2スキャナ102は、CPU120と、ROM121と、RAM122と、NVRAM123と、表示部124と、操作部125と、スキャナ部126と、LANインターフェース(LAN I/F)128とを有しており、これらは、システムバス129によって互いに結合されている。
尚、第2スキャナ102のCPU120、ROM121、RAM122、NVRAM123、表示部124、LANインターフェース128は、それぞれ、第1スキャナ101のCPU110、ROM111、RAM112、NVRAM113、表示部114、LANインターフェース118と同様の機能であり、その説明を省略する。
【0044】
操作部125は、外部からの入力操作を行うための、第2スキャナ102に設けられている入力装置であり、図示省略の入出力インターフェースを介してシステムバス129に接続される。この操作部125は、第2スキャナ102の各種機能に関する情報入力に用いられる。操作部125は、例えば、押圧式のスイッチを所定数並べた入力キーの構成をとるものである。
また、操作部125はスキャンボタン125aを有しており、スキャンボタン125aを押下する操作により、LANインターフェース128を介して接続されたコンピュータ103に通知が行われ、この通知を受けたコンピュータ103から第2スキャナ102に対してスキャン指令が出力され、後述するスキャナ部126で生成した画像データを第2スキャナ102からコンピュータ103に対して転送する。
【0045】
スキャナ部126は、紙やフィルムに描画(印刷)された画像(イメージ)をコンピュータに取込むためのスキャナ機能を提供する装置で、図示省略の入出力インターフェースを介してシステムバス129に接続される。このスキャナ部126は、後述するコンピュータ103から送信された指令により、CPU120を介して、第2スキャナ102の所定箇所にセットされた原稿についてスキャンを実行する。そして、そのスキャンに基づいて生成された画像データ(ラスタデータ)は、後述する第2TWAINデータソース152を介してコンピュータ103のImaging Application156に転送される。
【0046】
コンピュータ103は、CPU130と、ROM131と、RAM132と、HDD(Hard Disk Drive)133と、表示部134と、操作部135と、CD−ROMドライブ136と、LANインターフェース138とを有しており、これらはシステムバス139によって互いに結合されている。コンピュータ103は、OSとしてマイクロソフトウィンドウズ(登録商標)が起動するようになっている。
【0047】
CPU130は、コンピュータ103を制御するための中央演算処理装置である。CPU130は、第1スキャナ101または第2スキャナ102に対してスキャン開始等の指令を送信したり、後述するインストールプログラム155を適宜HDD133から選択/読み出して実行したり(図9〜図13参照)する。
【0048】
ROM131は、読み出し専用記憶装置であり、CPU130が使用する主記憶空間の一部を構成するものであり、コンピュータ103のOSを立ち上げるためのプログラム等が記憶されている。RAM132は、ROM131と同様にCPU130が使用する主記憶空間の一部を構成するもので、読み出し・書き込み可能な揮発性記憶装置である。
【0049】
HDD133は、読み出し・書き込み可能な記憶装置(ハードディスク)及びその読取装置であり、第1TWAINデータソース(第1スキャナ101の画像データ処理ドライバ)151、第1STIドライバ(第1スキャナ101の通信ドライバ)153、第2TWAINデータソース(第2スキャナ102の画像データ処理ドライバ)152、第2STIドライバ(第2スキャナ102の通信ドライバ)154、インストールプログラム155、TWAINデータソースマネージャ160、Imaging Application(アプリケーション)156、レジストリ157の他、第1スキャナ101または第2スキャナ102から転送されたラスタデータ等が格納される。
【0050】
第1TWAINデータソース151は、第1スキャナ101から送信されたラスタデータを受信して、受信したラスタデータを後述するImaging Application156へ受け渡す処理を行うためのものであり、後述する第1STIドライバ153と対となって第1スキャナ101のドライバソフトを構成する。また、第1TWAINデータソース151は識別情報を有しており、第1TWAINデータソース151用フォルダ(図5のwindows¥twain_32¥BrMfcScn¥BtMFP98LANフォルダ)内の第1TWAINデータソース151用設定ファイル(TWAIN DataSource Information File)で指定されたTWAINデータソース名の値及びSTIデバイス名の値として記憶されている。この第1TWAINデータソース151の識別情報は、第1TWAINデータソース151をインストールする際に利用するインストーラ用設定ファイル(INIファイル)において、モデル名として指定されている。尚、第一の実施形態においては、既に、第1TWAINデータソース151はコンピュータ103のHDD133内にインストールされている。
【0051】
第1STIドライバ153は、OSであるマイクロソフトウィンドウズ(登録商標)に対応して作成された、第1TWAINデータソース151と第1スキャナ101が接続された通信ポートとの間の通信を行うための通信ドライバであり、前述の第1TWAINデータソース151と対となって第1スキャナ101のドライバソフトを構成する。また、第1STIドライバ153は、後述するレジストリ157のSTIドライバ用記憶領域に、第1TWAINデータソース151の識別情報と、第1スキャナ101が接続された通信ポートの識別情報とを記憶させることにより、第1TWAINデータソース151と第1スキャナ101との関連付けを行う。尚、第一の実施形態においては、既に、第1STIドライバ153はコンピュータ103のHDD133内にインストールされ、OSにより決定されている後述するレジストリ157中のSTIドライバ用記憶領域の中の第1STIドライバ153用記憶領域に、第1TWAINデータソース151の識別情報がSTIデバイス名として記憶され、また、第1スキャナ101が接続された通信ポートの識別情報(例えば、IPアドレス)が記憶されて関連付けが行われており、第1TWAINデータソース151と第1スキャナ101が接続された通信ポートとが通信可能に接続されている。
【0052】
第2TWAINデータソース152は、第2スキャナ102から送信されたラスタデータを受信して、受信したラスタデータを後述するImaging Application156へ受け渡す処理を行うためのものであり、後述する第2STIドライバ154と対となって第2スキャナ102のドライバソフトを構成する。また、第2TWAINデータソース152は識別情報を有しており、第2TWAINデータソース152用フォルダ(図5のwindows¥twain_32¥BrMfcScn¥BtMFP98LAN#2フォルダ)内の第2TWAINデータソース152用設定ファイル(TWAIN DataSource Information File)で指定されたTWAINデータソース名の値(図4の「TwdsName」の値)及びSTIデバイス名の値(図4の「StiName」の値)として記憶される。この第2TWAINデータソース152の識別情報は、第2TWAINデータソース152をインストールする際に利用するインストーラ用設定ファイル(INIファイル)において、モデル名として指定されている。また、第2TWAINデータソース152は、後述するインストール部155eにより、コンピュータ103のHDD133にインストールされる。
【0053】
第2STIドライバ154は、OSであるマイクロソフトウィンドウズ(登録商標)に対応して作成された、第2TWAINデータソース152と第2スキャナ102が接続された通信ポートとの間の通信を行うための通信ドライバであり、前述の第2TWAINデータソース152と対となって第2スキャナ102のドライバソフトを構成するものであり、インストール部155eによりインストールされる。また、インストール部155eによりインストールされた第2TWAINデータソース152の識別情報に対して、第2TWAINデータソース152を用いる第2スキャナ102を関連付ける。具体的には、第2STIドライバ154は、OSにより決定されているレジストリ157の第2STIドライバ154用記憶領域のSTIデバイス名(図3の「My Computer¥HKEY_LOCAL_MACHINE¥SYSTEM¥CurrentControlSet¥Control¥Class¥[68DD1FC6−810F−11D0−BEC7−08002BE2092F]¥0001」の「DriverDesc」Key)の値として「基本識別情報+#2」(「BtMFP98LAN#2」)を記憶し、また、第2スキャナ102が接続された通信ポートの識別情報についての記憶領域である第2スキャナ102のIPアドレスの記憶領域(図2の「My Computer¥HKEY_LOCAL_MACHINE¥SYSTEM¥CurrentControlSet¥Control¥Class¥[68DD1FC6−810F−11D0−BEC7−08002BE2092F]¥0001¥DeviceData」の「IPAddress」Key)の値として、「11.22.33.44」を記憶することにより関連付けを行い、第2TWAINデータソース152と第2スキャナ102が接続された通信ポートとを通信可能に接続する。
また、ユーザが入力した第2スキャナ102の設定情報は、図7に示す第2TWAINデータソース152のユーザ設定用ファイル(図5のwindows¥twain_32¥BrMfcScn¥BtMFP98LAN#2フォルダ内に格納されているTWAIN DataSource User Setting Fileに相当)や、レジストリ157内の第2STIドライバ154の記憶領域に記憶され、第2STIドライバ154により当該第2スキャナ102の設定情報と第2TWAINデータソース152の識別情報とが関連付けられている。
【0054】
レジストリ157は、OSであるマイクロソフトウィンドウズ(登録商標)(例えば、Windows 2000(登録商標),Windows XP(登録商標),Windows Me(登録商標),Windows 98(登録商標)等)において、コンピュータ103に関するデバイスドライバ設定からアプリケーション設定まで、あらゆる設定情報を集中管理するデータベースである。また、レジストリ157は、STIドライバ用記憶領域等を有している。
【0055】
インストールプログラム155は、新たに接続しようとする第2スキャナ102の第2TWAINデータソース152をコンピュータ103にインストールして、新たに接続する第2スキャナ102とコンピュータ103とを通信可能に接続するプログラムである(図9〜図13参照)。また、インストールプログラム155は、取得部(取得手段)155a、判断部(判断手段)155b、変更部(変更手段)155c、設定部(設定手段)155d、インストール部(インストール手段)155eを備えている。
【0056】
取得部155aは、第2TWAINデータソース152をインストールする際に、既にインストールされている第1TWAINデータソース151の識別情報を取得する。具体的には、取得部155aは、例えば、レジストリ157中のSTIドライバ用記憶領域を検索し、TWAINデータソース名として記憶されている第1TWAINデータソース151の識別情報(例えば、「BtMFP98LAN」)を得る。
【0057】
判断部155bは、取得部155aによって取得した第1TWAINデータソース151の識別情報が、新たにインストールする第2TWAINデータソース152の識別情報と少なくとも一部が一致するかが判断される。具体的には、判断部155bは、取得部155aで得た第1TWAINデータソース151の識別情報と、第2TWAINデータソース152をインストールする際に利用するINIファイルにおいてモデル名として指定されている第2TWAINデータソース152の識別情報と、を比較し、少なくとも一部が一致するかが判断される。ここで、第一の実施形態では、第1スキャナ101と第2スキャナ102は同一機種であるため、第2TWAINデータソース152をインストールする際に利用するINIファイルでモデル名として指定されている第2TWAINデータソース152の識別情報は、第1TWAINデータソース151をインストールする際に利用するINIファイルでモデル名として指定されている第1TWAINデータソース151の識別情報と同一であり、取得部155aで得た第1TWAINデータソース151の識別情報と一致する。
【0058】
変更部155cは、判断部155bによって第1TWAINデータソース151の識別情報が新たにインストールする第2TWAINデータソース152の識別情報と少なくとも一部が一致すると判断された場合に、新たにインストールする第2TWAINデータソース152の識別情報を取得部155aによって取得された識別情報とは異なる識別情報に変更する。具体的には、変更部155cは、判断部155bによって第1TWAINデータソース151の識別情報が新たにインストールする第2TWAINデータソース152の識別情報と少なくとも一部が一致すると判断され、第2TWAINデータソース152の識別情報を「基本識別情報+#2」(例えば、「BtMFP98LAN#2」)と変更する。ここで、基本識別情報とは、第2TWAINデータソース152をインストールする際に利用するINIファイルでモデル名として指定されている第2TWAINデータソース152の識別情報のことを意味する。尚、第一の実施形態では、識別情報の変更規則を「基本識別情報+#番号」としているが、それに限られるものではない。
【0059】
設定部155dは、判断部155bによって第1TWAINデータソース151の識別情報が新たにインストールする第2TWAINデータソース152の識別情報と少なくとも一部が一致すると判断された場合は、新たにインストールする第2TWAINデータソース152の識別情報を、変更部155cによって変更された識別情報に設定する。具体的には、設定部155dは、判断部155bによって第1TWAINデータソース151の識別情報が新たにインストールする第2TWAINデータソース152の識別情報と少なくとも一部が一致すると判断され、以下の処理1(第2TWAINデータソース152がインストールされる際に参照される第2TWAINデータソース152のインストールに関する情報を記載したINFファイルを変更しない場合の処理)又は処理2(第2TWAINデータソース152がインストールされる際に参照される第2TWAINデータソース152のインストールに関する情報を記載したINFファイルを変更する場合の処理)のいずれかの処理を行う。
処理1:▲1▼図2及び図3に示すレジストリ157の第2TWAINデータソース152用記憶領域のTWAINデータソース名(図2の「My Computer¥HKEY_LOCAL_MACHINE¥SYSTEM¥CurrentControlSet¥Control¥Class¥[68DD1FC6−810F−11D0−BEC7−08002BE2092F]¥0001¥DeviceData」の「TwainDS」Key)の値を変更部155cによって変更された第2TWAINデータソース152の識別情報である「基本識別情報+#2」(「BtMFP98LAN#2」)に設定する。▲2▼図4に示す第2TWAINデータソース152用設定ファイル(図5のwindows¥twain_32¥BrMfcScn¥BtMFP98LAN#2フォルダ内に格納されているTWAIN DataSource Information Fileに相当)で指定されたTWAINデータソース名(図4の「TwdsName」)の値及びSTIデバイス名(図4の「StiName」)の値を変更部155cによって変更された第2TWAINデータソース152の識別情報である「基本識別情報+#2」(「BtMFP98LAN#2」)に設定する。▲3▼図5に示す第2TWAINデータソース152がインストールされるフォルダ名を「元のフォルダ名+#2」(windows¥twain_32¥BrMfcScn下の「BtMFP98LAN#2」)に変更する。
処理2:▲1▼図6に示す第2TWAINデータソース152がインストールされる際に参照される第2TWAINデータソース152のインストールに関する情報を記載したINFファイルで指定されたTWAINデータソース名(図6のIの部分)、STIデバイス名(図6のIIの部分)を変更部155cによって変更された第2TWAINデータソース152の識別情報である「基本識別情報+#2」(「BtMFP98LAN#2」)に設定し、第2TWAINデータソース152のインストール先のフォルダ名(図6のIIIの部分)を「元のフォルダ名+#2」(windows¥twain_32¥BrMfcScn下の「BtMFP98LAN#2」)に変更する。
【0060】
インストール部155eは、第2TWAINデータソース152を、第1TWAINデータソース151とは異なるTWAINデータソース用記憶領域にインストールする。具体的には、インストール部155eは、第2TWAINデータソース152のインストールに関する情報を記載したINFファイルをOSが参照しつつ、第2TWAINデータソース152を第2TWAINデータソース152用記憶領域にインストールする。ここで、インストール先である第2TWAINデータソース152用記憶領域とは、第1TWAINデータソース151がインストールされている第1TWAINデータソース用のフォルダ(図5に示すwindows¥twain_32¥BrMfcScn下の「BtMFP98LAN」フォルダ)とは異なる第2TWAINデータソース152用のフォルダ(図5に示すwindows¥twain_32¥BrMfcScn下の「BtMFP98LAN#2」フォルダ)であることが望ましい。
尚、インストール部155eは、新たに第2TWAINデータソース152をインストールする際に、第2TWAINデータソース152と、既にインストールされている第1TWAINデータソース151と、で共有できる内容の少なくとも一部については、互いに異なるTWAINデータソース用記憶領域に記憶しないのが好ましい。具体的には、後述する第1TWAINデータソース151のTWAIN DataSource Main Components151cと第2TWAINデータソース152のTWAIN DataSource Main Components152c(図8参照)とは共有できるため、互いに異なるTWAINデータソース用記憶領域に記憶せず、共通のTWAINデータソース用記憶領域(例えば、図5に示すwindows¥twain_32¥BrMfcScn下の「Common」フォルダ)に記憶して使用するのが好ましい。
【0061】
TWAINデータソースマネージャ160に設けられた選択部160aは、第2スキャナ102と通信する際に、第2スキャナ102と通信可能に接続された第2STIドライバ154に関連付けられた識別情報を有する第2TWAINデータソース152を選択する。具体的には、選択部160aは、ユーザがImaging Application156を使用して第2スキャナ102と通信しようとした際に、まず、後述する第1TWAINデータソース151及び第2TWAINデータソース152を管理するTWAINデータソースマネージャ160にアクセスして(図8参照)、第1TWAINデータソース151の識別名称であるデータソース名及び第2TWAINデータソース152の識別名称であるデータソース名を後述する表示部134に列挙して表示し、ユーザによって通信を行う第2スキャナ102と関連付けられた第2TWAINデータソース152の識別名称であるデータソース名(例えば、「BtMFP98LAN#2」)が選択される。
【0062】
Imaging Application156は、第1TWAINデータソース151及び第2TWAINデータソース152に対応したコンピュータ103上で動作するアプリケーションであり、ユーザによりコンピュータ103にインストールされる。また、Imaging Application156は、第1TWAINデータソース151または第2TWAINデータソース152からラスタデータを受け取る。
【0063】
表示部134は、ディスプレイ等により情報を出力して表示する表示装置で、図示省略の入出力インターフェースを介してシステムバス139に接続される。この表示部134は、コンピュータ103の各種機能に関する情報の表示に用いられる。表示部134は、例えば、CRT(Cathode Ray Tube)ディスプレイや液晶ディスプレイ等により構成される。
【0064】
操作部135は、外部からの入力操作を行うための、コンピュータ103に設けられている入力装置であり、図示省略の入出力インターフェースを介してシステムバス139に接続される。この操作部135は、コンピュータ103の各種機能に関する情報入力に用いられる。操作部135は、例えば、マウスやキーボード等により構成される。
【0065】
CD−ROMドライブ136は、CD(Compact Disc)に記録されたデータを読み出す装置で、図示省略の入出力インターフェースを介してシステムバス139に接続される。尚、CD−ROMドライブ136は、コンピュータ103の必須の構成要素ではなく、フロッピー(登録商標)ディスク(FD)ドライブや、MOドライブであっても良い。
【0066】
LANインターフェース138は、LAN104を介して、第1スキャナ101のLANインターフェース118または第2スキャナ102のLANインターフェース128に接続するもので、コンピュータ103と第1スキャナ101または第2スキャナ102とのデータ通信を可能にするものであり、ラスタデータ等の通信に用いられる。
【0067】
<TWAINデータソース及びSTIドライバの構成>
ここで、上述のTWAINデータソース(第1TWAINデータソース151及び第2TWAINデータソース152)及びSTIドライバ(第1STIドライバ153及び第2STIドライバ154)の構成について、図8に基づいて、以下で詳細に説明する。図8は、第一の実施形態に係るTWAINデータソースとSTIドライバの構成図である。
【0068】
第1TWAINデータソース151は、TWAIN DataSource FrontEnd151bと、TWAIN DataSource Main Components151cと、を備えている。また、第2TWAINデータソース152も同様に、TWAIN DataSource FrontEnd152bと、TWAIN DataSource Main Components152cと、を備えている。
【0069】
尚、TWAINデータソースはTWAINデータソースマネージャ160によって管理されている。このTWAINデータソースマネージャ160は、第1TWAINデータソース151及び第2TWAINデータソース152を管理するプログラム(twain_32.dll)であり、図5に示すwindowsフォルダにインストールされている。TWAINデータソースマネージャ160は、Imaging Application156と指令やデータのやり取りを行い、Imaging Application156のアクセスにより、TWAINデータソースの識別情報であるデータソース名を返し、TWAINデータソースを選択することができるように構成されている。
【0070】
TWAIN DataSource FrontEnd151bは、第1TWAINデータソース151の識別情報を有する第1TWAINデータソース151の入口にあたるプログラム(例えば、BrTwdFe.ds)であり、第1TWAINデータソース151用フォルダ(図5に示すwindows¥twain_32¥BrMfcScn下の「BtMFP98LAN」フォルダ)にインストールされている。TWAIN DataSource FrontEnd151bは、TWAINデータソースマネージャ160及び後述するTWAIN DataSource Main Components151cとの間で指令やデータのやり取りを行う。
また、TWAIN DataSource FrontEnd151bは、TWAIN DataSource Name Information151dとして第1TWAINデータソース151の識別名称であるTWAINデータソース名を、STI Device Name Information151eとして第1STIドライバ153のSTIデバイス名を、第1TWAINデータソース151用INIファイル(図5のwindows¥twain_32¥BrMfcScn¥BtMFP98LANフォルダ内に格納されているTWAIN DataSource Information Fileに相当)から読み出す。更に、TWAIN DataSource FrontEnd151bは、User Setting Data151fとして、ユーザが第1TWAINデータソース151のTWAINデータソース名に関連付けて決定した第1スキャナ101の設定情報をユーザ設定用INIファイル(図5のwindows¥twain_32¥BrMfcScn¥BtMFP98LANフォルダ内に格納されているTWAIN DataSource User Setting Fileに相当)に書き込んだり、読み出したりする。
【0071】
TWAIN DataSource FrontEnd152bも同様に、第2TWAINデータソース152の識別情報を有する第2TWAINデータソース152の入口にあたるプログラム(例えば、BrTwdFe.ds)であり、第2TWAINデータソース152用フォルダ(windows¥twain_32¥brMfcScn下の「BtMFP98LAN#2」フォルダ)にインストールされている。TWAIN DataSource FrontEnd152bは、TWAINデータソースマネージャ160及び後述するTWAIN DataSource Main Components152cとの間で指令やデータのやり取りを行う。
また、TWAIN DataSource FrontEnd152bは、TWAIN DataSource Name Information152dとして第2TWAINデータソース152の識別名称であるTWAINデータソース名を、STI Device Name Information152eとして第2STIドライバ154のSTIデバイス名を、第2TWAINデータソース152用INIファイル(図5のwindows¥twain_32¥BrMfcScn¥BtMFP98LAN#2フォルダ内に格納されているTWAIN DataSource Information Fileに相当)から読み出す。
更に、TWAIN DataSource FrontEnd152bは、User Setting Data152fとしてユーザが第2TWAINデータソース152のTWAINデータソース名に関連付けて決定した第2スキャナ102の設定情報をユーザ設定用INIファイル(図5のwindows¥twain_32¥BrMfcScn¥BtMFP98LAN#2フォルダ内に格納されているTWAIN DataSource User Setting Fileに相当)に書き込んだり、読み出したりする。
【0072】
TWAIN DataSource Main Components151cは、第1TWAINデータソース151の実作業を行うプログラムであり、TWAINデータソース用フォルダ(図5のwindows¥twain_32¥BrMfcScn下の「Common」フォルダ)にインストールされている。また、TWAIN DataSource Main Components151cは、TWAIN DataSource FrontEnd151b及び後述する第1STIドライバ153のSTI Interface153aとの間で指令やデータのやり取りを行う。
TWAIN DataSource Main Components152cも同様に、第2TWAINデータソース152の実作業を行うプログラムであり、TWAINデータソース用フォルダ(図5のwindows¥twain_32¥BrMfcScn下の「Common」フォルダ)にインストールされている。また、TWAIN DataSource Main Components152cは、TWAIN DataSource FrontEnd152b及び後述する第2STIドライバ154のSTI Interface154aとの間で指令やデータのやり取りを行う。
【0073】
第1STIドライバ153は、STI Interface153aと、STIドライバ153bと、を備えている。また、第2STIドライバ154も同様に、STI Interface154aと、STIドライバ154bと、を備えている。一方、OS側には、STI Event Monitor158が備えられている。
【0074】
STI Interface153aは、第1スキャナ101に対して問い合わせを行ったり、データの読み取りを行う指令を与えたり基本的な部分の窓口を行うAPI(Application Program Interface)である。STI Interface153aは、TWAIN DataSource Main Components151cと後述するSTIドライバ153bとの間で指令やデータのやり取りを行う。また、STI Interface153aは、Imaging Application156やSTI Event Monitor158の指令によっても起動する。STI Interface154aも同様に、第2スキャナ102に対して問い合わせを行ったり、データの読み取りを行う指令を与えたり基本的な部分の窓口を行うAPIである。STI Interface154aは、TWAIN DataSource Main Components152cと後述するSTIドライバ154bとの間で指令やデータのやり取りを行う。また、STI Interface154aは、Imaging Application156やSTI Event Monitor158の指令によっても起動する。
【0075】
STIドライバ153bは、後述するDevice Driver159aを介して第1スキャナ101とSTI Interface153aとの間の通信を行うドライバである。
STIドライバ154bも同様に、後述するDevice Driver159bを介して第2スキャナ102とSTI Interface154aとの間の通信を行うドライバである。
【0076】
Device Driver159aは、USB、パラレル、ネットワーク等により第1スキャナ101との実際の通信を行うドライバである。
Device Driver159bも同様に、USB、パラレル、ネットワーク等により第2スキャナ102との実際の通信を行うドライバである。
【0077】
<画像データ送受信システムの動作>
次に、第一の実施形態に係る画像データ送受信システム100の動作について、図9〜図13を参照して説明する。図9は、TWAINデータソース及びSTIドライバのインストールの処理の手順について説明したフローチャートである。図10は、TWAINデータソース及びSTIドライバのインストールの別の処理の手順について説明したフローチャートである。図11は、TWAINデータソースの選択の処理の手順について説明したフローチャートである。図12は、TWAINデータソースのオープンの処理の手順について説明したフローチャートである。図13は、スキャナのスキャンボタン動作の処理の手順について説明したフローチャートである。
【0078】
まず、第2TWAINデータソース152がインストールされる際に参照される第2TWAINデータソース152のインストールに関する情報を記載したINFファイルを変更しない場合の第一の実施形態に係る第2TWAINデータソース152及び第2STIドライバ154のインストールの処理の手順について、図9に基づいて説明する。尚、図9のTWAINデータソース及びSTIドライバのインストールの処理と後述する図10のTWAINデータソース及びSTIドライバのインストールの処理とはどちらか一方のみを行うものである。
【0079】
ユーザが第2スキャナ102について第2TWAINデータソース152のインストール操作を行うと、インストールプログラム155が起動され、まず、第2TWAINデータソース152及び第2STIドライバ154をインストールするためのインストーラのインストーラ用設定ファイルからインストールする第2TWAINデータソース152のモデル名「BtMFP98LAN」と第2TWAINデータソース152のインストール先フォルダwindows¥twain_32¥BrMfcScn下の「BtMFP98LAN」を取得する(ステップS101)。そして、取得したモデル名から、第2TWAINデータソース152の基本識別情報「BtMFP98LAN」を生成する(ステップS102)。
【0080】
次に、取得部155aが取得した既にインストールされているTWAINデータソースの識別情報に基づいて、判断部155bが第2TWAINデータソース152の基本識別情報と少なくとも一部が一致する識別情報を有するTWAINデータソースの数を数えて、この値に1を加算してScnCntに格納する(ステップS103)。ここでは、第1TWAINデータソース151の識別情報が第2TWAINデータソース152の基本識別情報と一致するため、ScnCntの値として2が格納される。そして、判断部155bで、ScnCntが1より大きいかどうかにより、第2TWAINデータソース152の基本識別情報と少なくとも一部が一致する識別情報を有するTWAINデータソースが存在するか否かが判断される(ステップS104)。
【0081】
ここでは、ScnCntが2であり1よりも大きいため、判断部155bにより第2TWAINデータソース152の基本識別情報と少なくとも一部が一致する識別情報を有するTWAINデータソースが存在すると判断され(ステップS104:YES)、変更部155cが第2TWAINデータソース152の基本識別情報「BtMFP98LAN」に「#ScnCnt」を付加した「BtMFP98LAN#2」を識別情報として決定する(ステップS105)。
尚、判断部155bにより第2TWAINデータソース152の基本識別情報と少なくとも一部が一致する識別情報を有するTWAINデータソースが存在しないと判断された場合は(ステップS104:NO)、第2TWAINデータソース152の基本識別情報が第2TWAINデータソース152の識別情報として決定される(ステップS106)。ここで、判断部155bにより第2TWAINデータソース152の基本識別情報と少なくとも一部が一致する識別情報を有するTWAINデータソースが存在しないと判断された場合(ステップS104:NO)であっても、ステップS106を行わず、ステップS105において、変更部155cが第2TWAINデータソース152の基本識別情報「BtMFP98LAN」に「#ScnCnt」を付加した「BtMFP98LAN#1」を識別情報として決定しても良い。
【0082】
次に、インストールプログラム155からOS側の処理に移行する。まず、インストール部155eがOS側のAddScannerインストーラを起動することにより、自動的に第2スキャナ102のインストールを開始する(ステップS107)。OSのAddScannerインストーラによるインストール処理の一部であるスキャナ名入力画面で、スキャナ名として、第2TWAINデータソース152の識別情報「BtMFP98LAN#2」を自動入力する(ステップS108)。続いてOS側のAddScannerインストーラによるその他の処理が行われ、OS側のAddScannerインストーラによる第2スキャナ102のインストールが完了し、第2TWAINデータソース152と第2STIドライバ154がHDD133内に記憶される(ステップS109)。
【0083】
そして、第2スキャナ102のインストール処理の終了により、OS側の処理からインストールプログラム155の処理に移行する。第2スキャナ102のインストール処理が終了すると、設定部155dが、第2STIドライバ154のSTIドライバ用レジストリ情報のSTIドライバ名(「DriverDesc」Keyの値)とTWAINデータソース名(「DeviceData¥TwainDS」Keyの値)を決定された識別情報「BtMFP98LAN#2」に変更する(図2及び図3参照)(ステップS110)。また、設定部155dが、TWAIN DataSource用設定ファイル(図4参照)のTWAINデータソース名(TwdsName)とSTIデバイス名(StiName)を決定された識別名称「BtMFP98LAN#2」に変更する(ステップS111)。更に、設定部155dが、TWAIN DataSourceをインストールしたフォルダ名Windows¥twain_32¥BrMfcScn下の「BtMFP98LAN」に「#ScnCnt」を付して、フォルダ名を「BtMFP98LAN#2」(図5参照)に変更する(ステップS112)。
【0084】
以上により、第2TWAINデータソース152及び第2STIドライバ154のインストールの処理が終了し、図11のTWAINデータソースの選択の処理、又は、図13のスキャナのスキャンボタンの動作の処理に進む。
【0085】
次に、第2TWAINデータソース152がインストールされる際に参照される第2TWAINデータソース152のインストールに関する情報を記載したINFファイルを変更する場合の第一の実施形態に係る第2TWAINデータソース152及び第2STIドライバ154のインストールの処理の手順について、図10に基づいて説明する。尚、図9のTWAINデータソース及びSTIドライバのインストールの処理と図10のTWAINデータソース及びSTIドライバのインストールの処理とはどちらか一方のみを行うものである。
【0086】
ユーザが第2スキャナ102について第2TWAINデータソース152のインストール操作を行うと、インストールプログラム155が起動され、まず、第2TWAINデータソース152及び第2STIドライバ154をインストールするためのインストーラのインストーラ用設定ファイルからインストールする第2TWAINデータソース152のモデル名「BtMFP98LAN」と第2TWAINデータソース152のインストール先フォルダwindows¥twain_32¥BrMfcScn下の「BtMFP98LAN」を取得する(ステップS201)。そして、取得したモデル名から、第2TWAINデータソース152の基本識別情報「BtMFP98LAN」を生成する(ステップS202)。
【0087】
次に、取得部155aが取得した既にインストールされているTWAINデータソースの識別情報に基づいて、判断部155bが第2TWAINデータソース152の基本識別情報と少なくとも一部が一致する識別情報を有するTWAINデータソースの数を数えて、この値に1を加算してScnCntに格納する(ステップS203)。ここでは、第1TWAINデータソース151が第2TWAINデータソース152の基本識別情報と一致するため、ScnCntの値として2が格納される。そして、判断部155bで、ScnCntが1より大きいかどうかにより、第2TWAINデータソース152の基本識別情報と少なくとも一部が一致する識別情報を有するTWAINデータソースが存在するか否かが判断される(ステップS204)。
【0088】
ここでは、ScnCntが2であり1よりも大きいため、判断部155bにより第2TWAINデータソース152の基本識別情報と少なくとも一部が一致する識別情報を有するTWAINデータソースが存在すると判断され(ステップS204:YES)、変更部155cが第2TWAINデータソース152の基本識別情報「BtMFP98LAN」に「#ScnCnt」を付加した「BtMFP98LAN#2」を識別情報として決定する(ステップS205)。
尚、判断部155bにより第2TWAINデータソース152の基本識別情報と少なくとも一部が一致する識別情報を有するTWAINデータソースが存在しないと判断された場合は(ステップS204:NO)、第2TWAINデータソース152の基本識別情報が第2TWAINデータソース152の識別情報として決定される(ステップS206)。ここで、判断部155bにより第2TWAINデータソース152の基本識別情報と少なくとも一部が一致する識別情報を有するTWAINデータソースが存在しないと判断された場合(ステップS204:NO)であっても、ステップS206を行わず、ステップS205において、変更部155cが第2TWAINデータソース152の基本識別情報「BtMFP98LAN」に「#ScnCnt」を付加した「BtMFP98LAN#1」を識別情報として決定しても良い。
【0089】
次に、第2TWAINデータソース152及びSTIドライバ154がインストールされる際に参照される第2TWAINデータソース152及びSTIドライバ154のインストールに関する情報を記載したINFファイルの必要箇所(図6のI及びIIの部分)を決定された第2TWAINデータソース152及びSTIドライバ154の識別情報「BtMFP98LAN#2」に変更する(ステップS207)。また、第2TWAINデータソース152及びSTIドライバ154がインストールされる際に参照される第2TWAINデータソース152及びSTIドライバ154のインストールに関する情報を記載したINFファイルに記述されている(図6のIIIの部分)第2TWAINデータソース152のインストール先フォルダ名Windows¥twain_32¥BrMfcScn下の「BtMFP98LAN」に”#ScnCnt”を付加してフォルダ名を「BtMFP98LAN#2」に変更する(ステップS208)。
【0090】
そして、インストールプログラム155からOS側の処理に移行する。即ち、OS側のPnPインストーラをOSが起動することにより、PnPインストーラがステップS207及びステップS208において変更された第2TWAINデータソース152及びSTIドライバ154がインストールされる際に参照される第2TWAINデータソース152及びSTIドライバ154のインストールに関する情報を記載したINFファイルを用いて自動的に第2スキャナ102のインストールを実行する(ステップS209)。
【0091】
以上により、第2TWAINデータソース152及び第2STIドライバ154のインストールの処理が終了し、図11のTWAINデータソースの選択の処理、又は、図13のスキャナのスキャンボタンの動作の処理に進む。
【0092】
尚、上述の通り図9のTWAINデータソース及びSTIドライバのインストールの処理と図10のTWAINデータソース及びSTIドライバのインストールの処理とはどちらか一方のみを行うものであるが、図10によるTWAINデータソース及びSTIドライバのインストールの処理は、TWAINデータソースのインストールに関する情報を記載したINFファイルを参照して自動的に設定が行われるため、インストール処理が簡便になり、図10によるTWAINデータソース及びSTIドライバのインストールの処理の方で行われるのが望ましい。
【0093】
次に、第2TWAINデータソース152の選択の処理について、図11に基づいて説明する。
【0094】
まず、第1TWAINデータソース151及び第2TWAINデータソース152を管理する共通のTWAINデータソースマネージャ160がwindows¥twain_32フォルダ下に存在する拡張子がDSのファイルを探す(ステップS301)。そして、発見したDSファイル(図5に示すBrMfcScn¥BtMFP98LANフォルダ内に格納されている図8のTWAIN DataSource FrontEnd151b又はBrMfcScn¥BtMFP98LAN#2フォルダ内に格納されている図8のTWAIN DataSource FrontEnd152bのいずれか)をロードする(ステップS302)。
【0095】
ロードされたDSファイルは、TWAINデータソース用INIファイル(図5に示すwindows¥twain_32¥BrMfcScn¥BtMFP98LANフォルダ内に格納されているTWAIN DataSource information file又はwindows¥twain_32¥BrMfcScn¥BtMFP98LAN#2フォルダ内に格納されているTWAIN DataSource information fileに相当)及びユーザ設定用INIファイル(図5に示すwindows¥twain_32¥BrMfcScn¥BtMFP98LANフォルダ内に格納されているTWAIN DataSource User Setting file又はBtMFP98LAN#2フォルダ内に格納されているTWAIN DataSource User Setting fileに相当)を参照し、初期化処理を開始する(ステップS303)。
次に、TWAINデータソース用INIファイルからTWAINデータソース名(図8に示すTWAIN DatSource Name Information151dである「BtMFP98LAN」又はTWAIN DatSource Name Information152dである「BtMFP98LAN#2」)とSTIデバイス名(図8に示すSTI Device Name Information151eである「BtMFP98LAN」又はSTI Device Name Information152eである「BtMFP98LAN」)を取得する(ステップS304)。
そして、取得したTWAINデータソース名をメモリ(例えば、RAM132)に格納し、DSファイルは初期化処理を終了する(ステップS305)。
【0096】
次に、TWAINデータソースマネージャ160は、ステップS302でロードしたDSファイル(図5に示すBrMfcScn¥BtMFP98LANフォルダ内に格納されている図8のTWAIN DataSource FrontEnd151b又はBrMfcScn¥BtMFP98LAN#2フォルダ内に格納されている図8のTWAIN DataSource FrontEnd152bのいずれか)から、メモリに格納されたTWAINデータソース名を取得し、リストに加える(ステップS306)。
続いて、TWAINデータソースマネージャ160が、windows¥twain_32フォルダ下の別のフォルダに存在するDSファイルを探す(ステップS307)。そして、新たなDSファイルが存在したか否かが判断される(ステップS308)。
【0097】
この場合は、windows¥twain_32フォルダ下に存在するDSファイルは図5に示すBrMfcScn¥BtMFP98LANフォルダ内に格納されているTWAIN DataSource FrontEnd151bのファイル及びBrMfcScn¥BtMFP98LAN#2フォルダ内に格納されているTWAIN DataSource FrontEnd152bのファイルの2つが存在するため、新たなDSファイル(図5に示すBrMfcScn¥BtMFP98LANフォルダ内に格納されているTWAINDataSource FrontEnd151b又はBrMfcScn¥BtMFP98LAN#2フォルダ内に格納されているTWAIN DataSource FrontEnd152bのロードされていないDSファイル)が存在すると判断され(ステップS308:YES)、ステップS2に戻る。
【0098】
そして、新たなDSファイルについてステップS2〜ステップS7の処理が終了し、新たなDSファイルが存在しないと判断されると(ステップS308:NO)、まず、TWAINデータソースマネージャ160は、ステップS306で作成したTWAINデータソース名のリスト(「BtMFP98LAN」及び「BtMFP98LAN#2」)を表示部134に表示する(ステップS309)。そして、ユーザは、表示されたTWAINデータソース名のリストから、ユーザが接続しようとする第2TWAINデータソース152のTWAINデータソース名「BtMFP98LAN#2」を選択する(ステップS310)。
選択が行われると、選択されたTWAINデータソース名「BtMFP98LAN#2」が、TWAINデータソースマネージャ160からImaging Application156に渡される(ステップS311)。
【0099】
以上により、第2TWAINデータソース152の選択の処理が終了し、図12のTWAINデータソースのオープンの処理に進む。
【0100】
次に、第2TWAINデータソース152のオープンの処理について、図12に基づいて説明する。
【0101】
まず、TWAINデータソースマネージャ160が、図11の第2TWAINデータソース152の選択の処理で指定したwindows¥twain_32フォルダ下に存在するTWAINデータソース名「BtMFP98LAN#2」に対応する第2TWAINデータソース152のDSファイルを探す(ステップS401)。そして、発見した指定DSファイル、即ち、第2TWAINデータソース152のDSファイル(図5に示すBtMFP98LAN#2フォルダに格納されている図8のTWAIN DataSource FrontEnd152b)をロードする(ステップS402)。
【0102】
ロードされた第2TWAINデータソース152のDSファイルは、TWAINデータソース用INIファイル(図5に示すwindows¥twain_32¥BrMfcScn¥BtMFP98LAN#2フォルダ内に格納されているTWAIN DataSource information fileに相当)及びユーザ設定用INIファイル(図5に示すwindows¥twain_32¥BrMfcScn¥BtMFP98LAN#2フォルダ内に格納されているTWAIN DataSource User Setting fileに相当)を参照し、初期化処理を開始する(ステップS403)。
次に、TWAINデータソース用INIファイルからTWAINデータソース名(図8のTWAIN DatSource Name Information152dである「BtMFP98LAN#2」)とSTIデバイス名(図8のSTI Device Name Information152eである「BtMFP98LAN」)を取得する(ステップS404)。
そして、取得したTWAINデータソース名をメモリ(例えば、RAM132)に格納し、DSファイルは初期化処理を終了する(ステップS405)。
【0103】
次に、TWAINデータソースマネージャ160が、第2TWAINデータソース152に対してオープン命令を出す(ステップS406)。
オープン命令を受け取った第2TWAINデータソース152は、各Main Component(図5に示すwindows¥twain_32¥BrMfcScn¥Commonフォルダに格納されている図8のTWAIN DataSource Main Components152cを構成する1つ又は複数のファイルに相当)を初期化する(ステップS407)。
そして、ステップS404で取得したSTIデバイス名を使用して第2スキャナ102と通信することができる経路を開くようにOSに対して指令することにより、ステップS404で取得したSTIデバイス名でSTIデバイスである第2STIドライバ154をCreateし、物理Deviceである第2スキャナ102との通信経路を確保する(ステップS408)。
最後に、第2TWAINデータソース152は、オープン処理を完了する(ステップS409)。
【0104】
以上により、第2TWAINデータソース152のオープンの処理が終了し、第2TWAINデータソースはImaging Application156からの命令を待つ。
【0105】
次に、第2スキャナ102のスキャンボタンの動作の処理について、図13に基づいて説明する。
【0106】
まず、ユーザが物理Deviceである第2スキャン102のスキャンボタン125aを押下する(ステップS501)と、コンピュータ103のOSの機能であるSTI Event Monitor158(図8参照)がイベント(スキャンボタン125aの押下)を検出する(ステップS502)。
【0107】
ステップS502でのイベントの検出により、STI Event Monitor158が発生したイベントに関連付けられているアプリケーションであるImaging Application156を起動する。この時、発生したイベントの種類(スキャンボタン125aの押下)とスキャナ102のSTIデバイス名(「BtMFP98LAN#2」)がImaging Application156の起動時の引数として渡される(ステップS503)。尚、イベントと関連付けるアプリケーションは、OSにより決定されている。
【0108】
そして、起動されたImaging Application156は、ユーザによる手動起動なのか、イベントによる自動起動なのかを、起動時の引数若しくはSTIデバイス名(「BtMFP98LAN#2」)に対応するSTIドライバ154のSTI Interface154aを使って調べ(ステップS504)、イベントによる起動かどうかが判断される(ステップS505)。
【0109】
イベントによる起動と判断された場合は(ステップS505:YES)、ステップS504で調べたイベントを発生させた物理Deviceである第2スキャナ102のSTIデバイス名(「BtMFP98LAN#2」)とイベントの種類(スキャンボタン125aの押下)を取得する(ステップS506)。
次に、STI Interface154aを用いて、レジストリ157から取得したSTIデバイス名(「BtMFP98LAN#2」)に関連付けられたTWAINデータソース名(「BtMFP98LAN#2」)を取得する(ステップS507)。
そして、取得したTWAINデータソース名(「BtMFP98LAN#2」)のTWAINデータソースである第2TWAINデータソース152をオープンし(ステップS508)、通常処理を行う(ステップS509)。
【0110】
一方、イベントによる起動でないと判断された場合は(ステップS505:NO)、通常処理を行う(ステップS509)。
【0111】
以上により、第2スキャナ102のスキャンボタンの動作の処理が終了する。
【0112】
このように、第一の実施形態の画像データ送受信システム100、コンピュータ103、画像データ送受信方法、及びインストールプログラム155によれば、取得部155a及び判断部155bにより少なくとも一部が一致する識別情報を有する第1TWAINデータソース151が既にコンピュータ103にインストールされていると判断された場合に、変更部155c及び設定部155dで新たにインストールする第2TWAINデータソース152の識別情報を変更した上で、インストール部155eで第2TWAINデータソース152を第1TWAINデータソース151とは異なる第2TWAINデータソース用記憶領域にインストールし、第2STIドライバ154でインストールした第2TWAINデータソースの識別情報152と第2スキャナ102とを関連付けている(図9又は図10参照)。
その結果、第1スキャナ101と同一モデルの第2スキャナ102に関する第2TWAINデータソース152をインストールする場合、即ち、第1TWAINデータソース151と少なくとも一部が一致する識別情報を有する第2TWAINデータソース152をインストールする場合であっても、それぞれの識別情報に関連付けられた個別のスキャナとして認識することができるため、少なくとも一部が一致する識別情報を有するTWAINデータソースを用いるスキャナが複数存在する環境においても、選択部160aでユーザが使用しているコンピュータ103と画像データを送受信しようとする第2スキャナ102との間で確実に画像データを送受信することができる(図11及び図12、又は、図13参照)。
【0113】
また、インストール部155eが、第2TWAINデータソース152を、第1TWAINデータソース151とは異なる第2TWAINデータソース用フォルダにインストールしている(図5参照)。
その結果、インストールする第2TWAINデータソース152に関するデータに対して名称を変更する等、インストールする第2TWAINデータソース152を上書きしないための操作を行う必要がなくなる。
【0114】
また、設定部155dが、第2TWAINデータソース152用フォルダ(図5のwindows¥twain_32¥BrMfcScn¥BtMFP98LAN#2フォルダ)内の第2TWAINデータソース152用設定ファイル(TWAIN DataSource Information File)で指定されたTWAINデータソース名「TwdsName」の値及びSTIデバイス名「StiName」の値として第2TWAINデータソース152の識別情報を記憶している(図4参照)。
その結果、TWAINデータソースマネージャ160のように第2TWAINデータソース152の第2TWAINデータソース152用フォルダに記憶されている識別情報を取得する技術(図11参照)に対応することができる。
【0115】
また、新たにインストールする第2TWAINデータソース152の識別情報との少なくとも一部が一致する識別情報を有する第1TWAINデータソース151が既にコンピュータ103にインストールされている場合に、設定部155dが、第2TWAINデータソース152をコンピュータ103にインストールする前に、予め第2TWAINデータソース152がインストールされる際に参照される第2TWAINデータソース152のインストールに関する情報を記載したINFファイルに記載されている第2TWAINデータソース152の識別情報を変更された識別情報に書き換えている(図10参照)。
その結果、インストール部155eによる第2TWAINデータソース152のインストールの処理が簡便になる。
【0116】
また、インストール部155eは、新たに第2TWAINデータソース152をインストールする際に、既にインストールされている第1TWAINデータソース151と共有できる内容の少なくとも一部(例えば、TWAIN DataSource Main Components151c及び152c)については、互いに異なる画像データ処理ドライバ用記憶領域に記憶していない(図5及び図8参照)。
その結果、TWAINデータソースを記憶するためにかかる負荷を軽減することができる。
【0117】
また、第2STIドライバ154が、第2スキャナ102と第2TWAINデータソース152の識別情報とを1対1に関連付けている(図2及び図3参照)。
その結果、ユーザが第2スキャナ102からコンピュータ103に接続する場合(例えば、第2スキャナ102に設けたスキャンボタン125aの押下に従って、コンピュータ103から第2スキャナ102に対する指令が出力され、第2スキャナ102からコンピュータ103へ画像データの転送を実現する機能を利用する場合)に、接続を行ってきた第2スキャナ102をコンピュータ103で特定することができ、正確に第2スキャナ102とコンピュータ103との間で画像データの送受信を行うことができる(図13参照)。
【0118】
更に、第2STIドライバ154では、レジストリ157内の第2STIドライバ154用記憶領域に、第2TWAINデータソース152の識別情報と第2スキャナ102が接続された通信ポートの識別情報(IPアドレス等)とを記憶することにより関連付けが行われている(図2及び図3参照)。
従って、通信ドライバである第2STIドライバ154の技術を用いることにより、容易に本発明を実現することができる。
【0119】
[第二の実施形態]
<画像データ送受信システムの全体構成>
まず、第二の実施形態に係る画像データ送受信システムについて図14及び図2〜図7に基づいて説明する。図14は、第二の実施形態に係る画像データ送受信システムの概略構成図である。
尚、第二の実施形態では、画像データ処理ドライバとしてTWAINデータソースを利用し、通信ドライバとしてSTIドライバを利用している。
【0120】
図14に示す画像データ送受信システム200は、画像データ生成装置として第1スキャナ201と、コンピュータとしてコンピュータ203とを有している。第1スキャナ201、コンピュータ203はLAN204により接続されている。
ここで、第1スキャナ201については、既に、後述する第1スキャナ201の画像データ処理ドライバである第1TWAINデータソース251がコンピュータ203にインストールされているものとし、更に、第1TWAINデータソース251と同じ第2TWAINデータソース252をコンピュータ203にインストールするものとする。そして、ユーザは、コンピュータ203と、既にインストールされている第1TWAINデータソース251及び新たにインストールする第2TWAINデータソース252を介して第1スキャナ201との間で画像データの送受信を意図するものとする。
【0121】
図14に示すように、第1スキャナ201は、CPU210と、ROM211と、RAM212と、NVRAM213と、表示部214と、操作部215と、スキャナ部216と、LANインターフェース(LAN I/F)218とを有しており、これらは、システムバス219によって互いに結合されている。
【0122】
第1スキャナ201のCPU210、ROM211、RAM212、NVRAM213、表示部214、操作部215、LANインターフェース218は、第一の実施形態の第1スキャナ101のCPU110、ROM111、RAM112、NVRAM113、表示部114、操作部115、LANインターフェース118と同一の部材であり、その説明を省略する。
【0123】
スキャナ部216は、紙やフィルムに描画(印刷)された画像(イメージ)をコンピュータに取込むためのスキャナ機能を提供する装置で、図示省略の入出力インターフェースを介してシステムバス219に接続される。このスキャナ部216は、後述するコンピュータ203から送信された指令により、CPU210を介して、第1スキャナ201の所定箇所にセットされた原稿についてスキャンを実行する。そして、そのスキャンに基づいて生成された画像データ(ラスタデータ)は、後述する第1TWAINデータソース251又は第2TWAINデータソース252を介してコンピュータ203のImaging Application256に転送される。
【0124】
コンピュータ203は、CPU230と、ROM231と、RAM232と、HDD233と、表示部234と、操作部235と、CD−ROMドライブ236と、LANインターフェース238とを有しており、これらはシステムバス239によって互いに結合されている。コンピュータ203は、OSとしてマイクロソフトウィンドウズ(登録商標)が起動するようになっている。
【0125】
CPU230は、コンピュータ203を制御するための中央演算処理装置である。CPU230は、第1スキャナ201に対してスキャン開始等の指令を送信したり、後述するインストールプログラム255を適宜HDD233から選択/読み出して実行したり(図9〜図13参照)する。
【0126】
ROM231及びRAM232は、第一の実施形態のROM131及びRAM132と同一の部材でありその説明を省略する。
【0127】
HDD233は、読み出し・書き込み可能な記憶装置(ハードディスク)及びその読取装置であり、第1TWAINデータソース(第1スキャナ201の画像データ処理ドライバ)251、第1STIドライバ(第1スキャナ201の通信ドライバ)253、第2TWAINデータソース(第2スキャナ202の画像データ処理ドライバ)252、第2STIドライバ(第2スキャナ202の通信ドライバ)254、インストールプログラム255、TWAINデータソースマネージャ260、Imaging Application(アプリケーション)256、レジストリ257の他、第1スキャナ201から転送されたラスタデータ等が格納される。
【0128】
第1TWAINデータソース251、第1STIドライバ253、Imaging Application256、レジストリ257は、第1実施形態の第1TWAINデータソース151、第1STIドライバ153、Imaging Application156、レジストリ157と同一の部材でありその説明を省略する。
【0129】
第2TWAINデータソース252は、第1スキャナ201から送信されたラスタデータを受信して、受信したラスタデータを後述するImaging Application256へ受け渡す処理を行うためのものであり、後述する第2STIドライバ254と対となって第1スキャナ201のドライバソフトを構成する。また、第2TWAINデータソース252は識別情報を有しており、第2TWAINデータソース252用フォルダ(図5のwindows¥twain_32¥BrMfcScn¥BtMFP98LAN#2フォルダ)内の第2TWAINデータソース252用設定ファイル(TWAIN DataSource Information File)で指定されたTWAINデータソース名の値(図4の「TwdsName」の値)及びSTIデバイス名の値(図4の「StiName」の値)として記憶される。この第2TWAINデータソース252の識別情報は、第2TWAINデータソース252をインストールする際に利用するインストーラ用設定ファイル(INIファイル)において、モデル名として指定されている。また、第2TWAINデータソース252は、後述するインストール部255eにより、コンピュータ203のHDD233にインストールされる。
【0130】
第2STIドライバ254は、OSであるマイクロソフトウィンドウズ(登録商標)に対応して作成された、第2TWAINデータソース252と第1スキャナ201が接続された通信ポートとの間の通信を行うための通信ドライバであり、前述の第2TWAINドライバ252と対となって第1スキャナ201のドライバソフトを構成するものであり、インストール部255eによりインストールされる。また、インストール部255eによりインストールされた第2TWAINデータソース252の識別情報に対して、第2TWAINデータソース252を用いる第1スキャナ201を関連付ける。具体的には、第2STIドライバ254は、OSにより決定されているレジストリ257の第2STIドライバ254用記憶領域のSTIデバイス名(図3の「My Computer¥HKEY_LOCAL_MACHINE¥SYSTEM¥CurrentControlSet¥Control¥Class¥[68DD1FC6−810F−11D0−BEC7−08002BE2092F]¥0001」の「DriverDesc」Key)の値として「基本識別情報+#2」(「BtMFP98LAN#2」)を記憶し、また、第1スキャナ201が接続された通信ポートの識別情報についての記憶領域である第1スキャナ201のIPアドレスの記憶領域(図2の「My Computer¥HKEY_LOCAL_MACHINE¥SYSTEM¥CurrentControlSet¥Control¥Class¥[68DD1FC6−810F−11D0−BEC7−08002BE2092F]¥0001¥DeviceData」の「IPAddress」Key)の値として、「11.22.33.44」を記憶することにより関連付けを行い、第2TWAINデータソース252と第1スキャナ201が接続された通信ポートとを通信可能に接続する。
また、ユーザが入力した第1スキャナ201の設定情報は、レジストリ257内の第2STIドライバ254の記憶領域や、図7に示す第2TWAINデータソース252のユーザ設定用ファイル(図5のwindows¥twain_32¥BtMFP98LAN#2フォルダ内に格納されているTWAIN DataSource User Setting Fileに相当)に記憶され、第2STIドライバ254により当該第1スキャナ201の設定情報と第2TWAINデータソース252の識別情報とが関連付けられている。
【0131】
インストールプログラム255は、新たに第2TWAINデータソース252をコンピュータ203にインストールして、第1スキャナ201とコンピュータ203とを通信可能に接続するプログラムである(図9〜図13参照)。また、インストールプログラム255は、取得部(取得手段)255a、判断部(判断手段)255b、変更部(変更手段)255c、設定部(設定手段)255d、インストール部(インストール手段)255eを備えている。
【0132】
取得部255aは、第一の実施形態の取得部155aと同一の部材でありその説明を省略する。
【0133】
判断部255bは、取得部255aによって取得した第1TWAINデータソース251の識別情報が、新たにインストールする第2TWAINデータソース252の識別情報と少なくとも一部が一致するかが判断される。具体的には、判断部255bは、取得部255aで得た第1TWAINデータソース251の識別情報と、第2TWAINデータソース252をインストールする際に利用するINIファイルにおいてモデル名として指定されている第2TWAINデータソース252の識別情報と、を比較し、少なくとも一部が一致するかが判断される。ここで、第二の実施形態では、第1TWAINデータソース251及び第2TWAINデータソース252は、共に第1スキャナ201の画像データ処理ドライバであるため、第2TWAINデータソース252をインストールする際に利用するINIファイルでモデル名として指定されている第2TWAINデータソース252の識別情報は、第1TWAINデータソース251をインストールする際に利用するINIファイルでモデル名として指定されている第1TWAINデータソース251の識別情報と同一であり、取得部255aで得た第1TWAINデータソース251の識別情報と一致する。
【0134】
変更部255c、設定部255d、インストール部255eは、第一の実施形態の変更部155c、設定部155d、インストール部155eと同一の部材でありその説明を省略する。
【0135】
TWAINデータソースマネージャ260に設けられた選択部260aは、第1スキャナ201と通信する際に、第1スキャナ201と通信可能に接続された第2STIドライバ254に関連付けられた識別情報を有する第2TWAINデータソース252を選択する。具体的には、選択部260aは、ユーザがImaging Application256を使用して第1スキャナ201と通信しようとした際に、まず、後述する第1TWAINデータソース251及び第2TWAINデータソース252を管理するTWAINデータソースマネージャ260(図15参照)にアクセスして、第1TWAINデータソース251の識別名称であるデータソース名及び第2TWAINデータソース252の識別名称であるデータソース名を後述する表示部234に列挙して表示し、ユーザによって通信を行う第1スキャナ201と関連付けられた第2TWAINデータソース252の識別名称であるデータソース名(例えば、「BtMFP98LAN#2」)が選択される。
【0136】
表示部234、操作部235、CD−ROMドライブ236は、第一の実施形態の表示部134、操作部135、CD−ROMドライブ136と同一の部材でありその説明を省略する。
【0137】
LANインターフェース238は、LAN204を介して、第1スキャナ201のLANインターフェース218に接続するもので、コンピュータ203と第1スキャナ201とのデータ通信を可能にするものであり、ラスタデータ等の通信に用いられる。
【0138】
<TWAINデータソース及びSTIドライバの構成>
ここで、上述のTWAINデータソース(第1TWAINデータソース251及び第2TWAINデータソース252)及びSTIドライバ(第1STIドライバ253及び第2STIドライバ254)の構成について、図15に基づいて、以下で詳細に説明する。図15は、第二の実施形態に係るTWAINデータソースとSTIドライバの構成図である。
【0139】
第1TWAINデータソース251は、TWAIN DataSource FrontEnd251bと、TWAIN DataSource Main Components251cと、を備えている。また、第2TWAINデータソース252も同様に、TWAIN DataSource FrontEnd252bと、TWAIN DataSource Main Components252cと、を備えている。
【0140】
尚、TWAINデータソースマネージャ260は、第一の実施形態のTWAINデータソースマネージャ160と同一の部材でありその説明を省略する。
【0141】
TWAIN DataSource FrontEnd251bは、第1TWAINデータソース251の識別情報を有する第1TWAINデータソース251の入口にあたるプログラム(例えば、BrTwdFe.ds)であり、第1TWAINデータソース251用フォルダ(図5に示すwindows¥twain_32¥BrMfcScn下の「BtMFP98LAN」フォルダ)にインストールされている。TWAIN DataSource FrontEnd251bは、TWAINデータソースマネージャ260及び後述するTWAIN DataSource Main Components251cとの間で指令やデータのやり取りを行う。
また、TWAIN DataSource FrontEnd251bは、TWAIN DataSource Name Information251dとして第1TWAINデータソース251の識別名称であるTWAINデータソース名を、STI Device Name Information251eとして第1STIドライバ253のSTIデバイス名を、第1TWAINデータソース251用INIファイル(図5のwindows¥twain_32¥BrMfcScn¥BtMFP98LANフォルダ内に格納されているTWAIN DataSource Information Fileに相当)から読み出す。更に、TWAIN DataSource FrontEnd251bは、User Setting Data251fとして、ユーザが第1TWAINデータソース251のTWAINデータソース名に関連付けて決定した第1スキャナ201の設定情報をユーザ設定用INIファイル(図5のwindows¥twain_32¥BrMfcScn¥BtMFP98LANフォルダ内に格納されているTWAIN DataSource User Setting Fileに相当)に書き込んだり、読み出したりする。
【0142】
TWAIN DataSource FrontEnd252bは、第2TWAINデータソース252の識別情報を有する第2TWAINデータソース252の入口にあたるプログラム(例えば、BrTwdFe.ds)であり、第2TWAINデータソース252用フォルダ(windows¥twain_32¥BrMfcScn下の「BtMFP98LAN#2」フォルダ)にインストールされている。TWAIN DataSource FrontEnd252bは、TWAINデータソースマネージャ260及び後述するTWAIN DataSource Main Components252cとの間で指令やデータのやり取りを行う。
また、TWAIN DataSource FrontEnd252bは、TWAIN DataSource Name Information252dとして第2TWAINデータソース252の識別名称であるTWAINデータソース名を、STI Device Name Information252eとして第2STIドライバ254のSTIデバイス名を、第2TWAINデータソース252用INIファイル(図5のwindows¥twain_32¥BrMfcScn¥BtMFP98LAN#2フォルダ内に格納されているTWAIN DataSource Information Fileに相当)から読み出す。
更に、TWAIN DataSource FrontEnd252bは、User Setting Data252fとしてユーザが第2TWAINデータソース252のTWAINデータソース名に関連付けて決定した第1スキャナ201の設定情報をユーザ設定用INIファイル(図5のwindows¥twain_32¥BrMfcScn¥BtMFP98LAN#2フォルダ内に格納されているTWAIN DataSource User Setting Fileに相当)に書き込んだり、読み出したりする。
【0143】
TWAIN DataSource Main Components251c、TWAIN DataSource Main Components252cは、第一の実施形態のTWAIN DataSource Main Components151c、TWAIN DataSource Main Components152cと同一の部材でありその説明を省略する。
【0144】
第1STIドライバ253は、STI Interface253aと、STIドライバ253bと、を備えている。また、第2STIドライバ254も同様に、STI Interface254aと、STIドライバ254bと、を備えている。一方、OS側には、STI Event Monitor258が備えられている。
【0145】
STI Interface253aは、第1スキャナ201に対して問い合わせを行ったり、データの読み取りを行う指令を与えたり基本的な部分の窓口を行うAPIである。STI Interface253aは、TWAIN DataSource Main Components251cと後述するSTIドライバ253bとの間で指令やデータのやり取りを行う。また、STI Interface253aは、Imaging Application256やSTI Event Monitor258の指令によっても起動する。
STI Interface254aも同様に、第1スキャナ201に対して問い合わせを行ったり、データの読み取りを行う指令を与えたり基本的な部分の窓口を行うAPIである。STI Interface254aは、TWAIN DataSource Main Components252cと後述するSTIドライバ254bとの間で指令やデータのやり取りを行う。また、STI Interface254aは、Imaging Application256やSTI Event Monitor258の指令によっても起動する。
【0146】
STIドライバ253bは、後述するDevice Driver259を介して第1スキャナ201とSTI Interface253aとの間の通信を行うドライバである。
STIドライバ254bも同様に、後述するDevice Driver259を介して第1スキャナ201とSTI Interface254aとの間の通信を行うドライバである。
【0147】
Device Driver259は、USB、パラレル、ネットワーク等により第1スキャナ201との実際の通信を行うドライバである。
【0148】
<画像データ送受信システムの動作>
第二の実施形態に係る画像データ送受信システム200の動作は、第一の実施形態に係る画像データ送受信システム100の動作と同様でありその説明を省略する(図9〜図13参照)。
【0149】
このように、第二の実施形態の画像データ送受信システム200、コンピュータ203、画像データ送受信方法、及びインストールプログラム255によれば、第1STIドライバ253及び第2STIドライバ254により、1つの第1スキャナ201に対して複数の画像データ処理ドライバ(第1TWAINデータソース251及び第2TWAINデータソース252)の識別情報を関連付け、それぞれの画像データ処理ドライバ(第1TWAINデータソース251及び第2TWAINデータソース252)の識別情報に関連付ける第1スキャナ201のそれぞれの設定情報はユーザにより決定されている。
その結果、1つの第1スキャナ201であっても、第1TWAINデータソース251及び第2TWAINデータソース252のそれぞれの識別情報ごとに、ユーザが設定する第1スキャナ201についての設定情報が保存することができる(図15参照)。
【0150】
[第三の実施形態]
<画像データ送受信システムの全体構成>
まず、第三の実施形態に係る画像データ送受信システムについて図16に基づいて説明する。図16は、第三の実施形態に係る画像データ送受信システムの概略構成図である。
尚、第三の実施形態では、画像データ処理ドライバとしてWIA(Windows Image Acquisition)ドライバを利用している。
【0151】
図16に示す画像データ送受信システム300は、画像データ生成装置として第1スキャナ301及び第2スキャナ302と、コンピュータ303とを有している。第1スキャナ301、第2スキャナ302、コンピュータ303はLAN304により接続されている。尚、第1スキャナ301と第2スキャナ302とは、同一機種であるものとする。
ここで、第1スキャナ301については、既に、後述する第1スキャナ301の画像データ処理ドライバである第1WIAドライバ351がコンピュータ303にインストールされているものとし、第2スキャナ302については、これから、後述する第2スキャナ302の画像データ処理ドライバである第2WIAドライバ352をコンピュータ303にインストールするものとする。そして、ユーザは、コンピュータ303と、既にインストールされている第1WIAドライバ351を介して第1スキャナ301と、新たにインストールする第2WIAドライバ352を介して第2スキャナ302との間で画像データの送受信を意図するものとする。
【0152】
図16に示すように、第1スキャナ301は、CPU310と、ROM311と、RAM312と、NVRAM313と、表示部314と、操作部315と、スキャナ部316と、LANインターフェース(LAN I/F)318とを有しており、これらは、システムバス319によって互いに結合されている。
【0153】
第1スキャナ301のCPU310、ROM311、RAM312、NVRAM313、表示部314、操作部315、LANインターフェース318は、第一の実施形態の第1スキャナ101のCPU110、ROM111、RAM112、NVRAM113、表示部114、操作部115、LANインターフェース118と同一の部材であり、その説明を省略する。
【0154】
スキャナ部316は、紙やフィルムに描画(印刷)された画像(イメージ)をコンピュータに取込むためのスキャナ機能を提供する装置で、図示省略の入出力インターフェースを介してシステムバス319に接続される。このスキャナ部316は、後述するコンピュータ303から送信された指令により、CPU310を介して、第1スキャナ301の所定箇所にセットされた原稿についてスキャンを実行する。そして、そのスキャンに基づいて生成された画像データ(ラスタデータ)は、後述する第1WIAドライバ351を介してコンピュータ303のImaging Application356に転送される。
【0155】
第2スキャナ302は、CPU320と、ROM321と、RAM322と、NVRAM323と、表示部324と、操作部325と、スキャナ部326と、LANインターフェース(LAN I/F)328とを有しており、これらは、システムバス329によって互いに結合されている。
【0156】
第2スキャナ302のCPU320、ROM321、RAM322、NVRAM323、表示部324、操作部325、LANインターフェース328は、それぞれ、第1スキャナ301のCPU110、ROM111、RAM112、NVRAM113、表示部114、操作部125、LANインターフェース118と同様の機能であり、その説明を省略する。
【0157】
スキャナ部316は、紙やフィルムに描画(印刷)された画像(イメージ)をコンピュータに取込むためのスキャナ機能を提供する装置で、図示省略の入出力インターフェースを介してシステムバス319に接続される。このスキャナ部316は、後述するコンピュータ303から送信された指令により、CPU310を介して、第1スキャナ301の所定箇所にセットされた原稿についてスキャンを実行する。そして、そのスキャンに基づいて生成された画像データ(ラスタデータ)は、後述する第1WIAドライバ351を介してコンピュータ303のImaging Application356に転送される。
【0158】
コンピュータ303は、CPU330と、ROM331と、RAM332と、HDD333と、表示部334と、操作部335と、CD−ROMドライブ336と、LANインターフェース338とを有しており、これらはシステムバス339によって互いに結合されている。コンピュータ303は、OSとしてマイクロソフトウィンドウズ(登録商標)が起動するようになっている。
【0159】
CPU330は、コンピュータ303を制御するための中央演算処理装置である。CPU330は、第1スキャナ301又は第2スキャナ302に対してスキャン開始等の指令を送信したり、後述するインストールプログラム355を適宜HDD333から選択/読み出して実行したり(図18及び図19参照)する。
【0160】
ROM331及びRAM332は、第一の実施形態のROM131及びRAM132と同一の部材でありその説明を省略する。
【0161】
HDD333は、読み出し・書き込み可能な記憶装置(ハードディスク)及びその読取装置であり、第1WIAドライバ(第1スキャナ301の画像データ処理ドライバ)351、第2WIAドライバ(第2スキャナ302の画像データ処理ドライバ)352、インストールプログラム355、TWAINデータソースマネージャ358、Imaging Application(アプリケーション)356、レジストリ357の他、第1スキャナ301又は第2スキャナ302から転送されたラスタデータ等が格納される。
【0162】
第1WIAドライバ351は、OSであるマイクロソフトウィンドウズ(登録商標)に対応して作成された、第1スキャナ301から送信されたラスタデータを受信して、受信したラスタデータを後述するImaging Application356へ受け渡す処理を行う画像データ処理ドライバであると共に、第1WIAドライバ351と第1スキャナ301が接続された通信ポートとの間の通信を行うための通信ドライバでもあり、第1スキャナ301のドライバソフトを構成する。また、第1WIAドライバ351はTWAINデータソースとして認識させるための識別情報を有しており、後述するレジストリ357中の第1WIAドライバ351の記憶領域にデバイス名及びTWAINデータソース名として記憶されている。この第1WIAドライバ351のTWAINデータソースとして認識させるための識別情報は、第1WIAドライバ351をインストールする際に利用するインストーラ用設定ファイル(INIファイル)において、モデル名として指定されている。尚、第三の実施形態においては、既に、第1WIAドライバ351はコンピュータ303のHDD333内にインストールされている。また、既に、後述するレジストリ357中のWIAドライバ用記憶領域の中の第1WIAドライバ351用記憶領域に、第1WIAドライバ351のTWAINデータソースとして認識させるための識別情報がデバイス名として記憶され、また、第1スキャナ301が接続された通信ポートの識別情報(例えば、IPアドレス)が記憶されて関連付けが行われており、第1WIAドライバ351と第1スキャナ301が接続された通信ポートとが通信可能に接続されている。
【0163】
又、第1WIAドライバ351は関連付け部351aを備えている。関連付け部351aは、第1WIAドライバ351と第1スキャナ301が接続された通信ポートとの間の通信を行うための第1WIAドライバ351の一部の機能である。また、インストール部355eによりインストールされた第1WIAドライバ351をTWAINデータソースとして関連付けるための識別情報に対して、第1WIAドライバ351を用いる第1スキャナ301を関連付ける。具体的には、関連付け部351aは、OSにより決定されているレジストリ357の第1WIAドライバ351用記憶領域のデバイス名(「DriverDesc」Key)の値として「基本識別情報+#2」(「BtMFP98LAN#2」)を記憶し、また、第1スキャナ301が接続された通信ポートの識別情報についての記憶領域である第1スキャナ301のIPアドレスの記憶領域(「IPAddress」Key)の値として、IPアドレスを記憶することにより関連付けを行い、第1WIAドライバ351と第1スキャナ301が接続された通信ポートとを通信可能に接続する。
また、ユーザが入力した第1スキャナ301の設定情報は、レジストリ357内の第1WIAドライバ351の記憶領域に記憶され、第1WIAドライバ351により当該第1スキャナ301の設定情報と、第1WIAドライバ351をTWAINデータソースとして認識させるための識別情報と、が関連付けられている。
【0164】
第2WIAドライバ352は、OSであるマイクロソフトウィンドウズ(登録商標)に対応して作成された、第2スキャナ302から送信されたラスタデータを受信して、受信したラスタデータを後述するImaging Application356へ受け渡す処理を行う画像データ処理ドライバであると共に、第2WIAドライバ352と第2スキャナ302が接続された通信ポートとの間の通信を行うための通信ドライバでもあり、第2スキャナ302のドライバソフトを構成する。また、第2WIAドライバ352はTWAINデータソースとして認識させるための識別情報を有しており、レジストリ357中の第2WIAドライバ352の記憶領域にデバイス名及びTWAINデータソース名として記憶されている。この第2WIAドライバ352のTWAINデータソースとして認識させるための識別情報は、第2WIAドライバ352をインストールする際に利用するインストーラ用設定ファイル(INIファイル)において、モデル名として指定されている。また、第2WIAドライバ352は、後述するインストール部355eにより、コンピュータ303のHDD333にインストールされる。
【0165】
又、第2WIAドライバ352は関連付け部352aを備えている。関連付け部352aは、第2WIAドライバ352と第2スキャナ302が接続された通信ポートとの間の通信を行うための第2WIAドライバ352の一部の機能である。また、インストール部355eによりインストールされた第2WIAドライバ352をTWAINデータソースとして関連付けるための識別情報に対して、第2WIAドライバ352を用いる第2スキャナ302を関連付ける。具体的には、関連付け部352aは、OSにより決定されているレジストリ357の第2WIAドライバ352用記憶領域のデバイス名(「DriverDesc」Key)の値として「基本識別情報+#2」(「BtMFP98LAN#2」)を記憶し、また、第2スキャナ302が接続された通信ポートの識別情報についての記憶領域である第2スキャナ302のIPアドレスの記憶領域(「IPAddress」Key)の値として、IPアドレスを記憶することにより関連付けを行い、第2WIAドライバ352と第2スキャナ302が接続された通信ポートとを通信可能に接続する。
また、ユーザが入力した第2スキャナ302の設定情報は、レジストリ357内の第2WIAドライバ352の記憶領域に記憶され、第2WIAドライバ352により当該第2スキャナ302の設定情報と、第2WIAドライバ352をTWAINデータソースとして認識させるための識別情報と、が関連付けられている。
【0166】
インストールプログラム355は、新たに接続しようとする第2スキャナ302の第2WIAドライバ352をコンピュータ303にインストールして、新たに接続する第2スキャナ302とコンピュータ303とを通信可能に接続するプログラムである(図18〜図19参照)。また、インストールプログラム355は、取得部(取得手段)355a、判断部(判断手段)355b、変更部(変更手段)355c、設定部(設定手段)355d、インストール部(インストール手段)355eを備えている。
【0167】
取得部355aは、第2WIAドライバ352をインストールする際に、既にインストールされている第1WIAドライバ351をTWAINデータソースとして認識させるための識別情報を取得する。具体的には、取得部355aは、例えば、レジストリ357中のWIAドライバ用記憶領域を検索し、デバイス名及びTWAINデータソース名として記憶されている第1WIAドライバ351をTWAINデータソースとして認識させるための識別情報(例えば、「BtMFP98LAN」)を得る。
【0168】
判断部355bは、取得部355aによって取得した第1WIAドライバ351をTWAINデータソースとして認識させるための識別情報が、新たにインストールする第2WIAドライバ352をTWAINデータソースとして認識させるための識別情報と少なくとも一部が一致するかが判断される。具体的には、判断部355bは、取得部355aで得た第1WIAドライバ351をTWAINデータソースとして認識させるための識別情報と、第2WIAドライバ352をインストールする際に利用するINIファイルにおいてモデル名として指定されている第2WIAドライバ352をTWAINデータソースとして認識させるための識別情報と、を比較し、少なくとも一部が一致するかが判断される。ここで、第三の実施形態では、第1スキャナ301と第2スキャナ302は同一機種であるため、第2WIAドライバ352をインストールする際に利用するINIファイルでモデル名として指定されている第2WIAドライバ352をTWAINデータソースとして認識させるための識別情報は、第1WIAドライバ351をインストールする際に利用するINIファイルでモデル名として指定されている第1WIAドライバ351をTWAINデータソースとして認識させるための識別情報と同一であり、取得部355aで得た第1WIAドライバ351をTWAINデータソースとして認識させるための識別情報と一致する。
【0169】
変更部355cは、判断部355bによって第1WIAドライバ351をTWAINデータソースとして認識させるための識別情報が新たにインストールする第2WIAドライバ352をTWAINデータソースとして認識させるための識別情報と少なくとも一部が一致すると判断された場合に、新たにインストールする第2WIAドライバ352をTWAINデータソースとして認識させるための識別情報を取得部355aによって取得された識別情報とは異なる識別情報に変更する。具体的には、変更部355cは、判断部355bによって第1WIAドライバ351をTWAINデータソースとして認識させるための識別情報が新たにインストールする第2WIAドライバ352をTWAINデータソースとして認識させるための識別情報と少なくとも一部が一致すると判断され、第2WIAドライバ352をTWAINデータソースとして認識させるための識別情報を「基本識別情報+#2」(例えば、「BtMFP98LAN#2」)と変更する。ここで、基本識別情報とは、第2WIAドライバ352をインストールする際に利用するINIファイルでモデル名として指定されている第2WIAドライバ352をTWAINデータソースとして認識させるための識別情報のことを意味する。尚、第三の実施形態では、識別情報の変更規則を「基本識別情報+#番号」としているが、それに限られるものではない。
【0170】
設定部355dは、判断部355bによって第1WIAドライバ351をTWAINデータソースとして認識させるための識別情報が新たにインストールする第2WIAドライバ352をTWAINデータソースとして認識させるための識別情報の識別情報と少なくとも一部が一致すると判断された場合は、新たにインストールする第2WIAドライバ352をTWAINデータソースとして認識させるための識別情報を、変更部333cによって変更された識別情報に設定する。具体的には、設定部355dは、判断部355bによって第1WIAドライバ351をTWAINデータソースとして認識させるための識別情報が新たにインストールする第2WIAドライバ352をTWAINデータソースとして認識させるための識別情報と少なくとも一部が一致すると判断され、以下の処理1(第2WIAドライバ352がインストールされる際に参照される第2WIAドライバ352のインストールに関する情報を記載したINFファイルを変更しない場合の処理)又は処理2(第2WIAドライバ352がインストールされる際に参照される第2WIAドライバ352のインストールに関する情報を記載したINFファイルを変更する場合の処理)のいずれかの処理を行う。
処理1:レジストリ157の第2WIAドライバ352用記憶領域のドライバ名(「DeviceDesc」Key)の値及びTWAINデータソース名(「TwainDS」Key)の値を変更部155cによって変更された第2WIAドライバ352をTWAINデータソースとして認識させるための識別情報である「基本識別情報+#2」(「BtMFP98LAN#2」)に設定する。
処理2:第2WIAドライバ352がインストールされる際に参照される第2WIAドライバ352のインストールに関する情報を記載したINFファイルで指定されたデバイス名及びTWAINデータソース名を変更部355cによって変更された第2WIAドライバ352をTWAINデータソースとして認識させるための識別情報である「基本識別情報+#2」(「BtMFP98LAN#2」)に変更する。
【0171】
インストール部355eは、第2WIAドライバ352を、第1WIAドライバ351とは異なるWIAドライバ用記憶領域にインストールする。具体的には、インストール部355eは、第2WIAドライバ352のインストールに関する情報を記載したINFファイルをOSが参照しつつ、第2WIAドライバ352を第2WIAドライバ352用記憶領域にインストールする。
【0172】
TWAINデータソースマネージャ370に設けられた選択部370aは、第2スキャナ302と通信する際に、第2スキャナ302と通信可能に接続された第2WIAドライバの関連付け部352aにより第2スキャナ302に関連付けられたTWAINデータソースとして認識させるための識別情報を有する第2WIAドライバ352を選択する。具体的には、選択部370aは、ユーザがImaging Application356を使用して第2スキャナ302と通信しようとした際に、まず、後述するTWAINデータソースマネージャ370(図17参照)にアクセスして、レジストリ357内から得た第1WIAドライバ351をTWAINデータソースとして認識させるための識別名称であるTWAINデータソース名及び第2WIAドライバ352をTWAINデータソースとして認識させるための識別名称であるTAINデータソース名を後述する表示部334に列挙して表示し、ユーザによって通信を行う第2スキャナ302と関連付けられた第2WIAドライバ352をTWAINデータソースとして認識させるための識別名称であるTWAINデータソース名(例えば、「WIA−BtMFP98LAN#2」)が選択される。
【0173】
Imaging Application356は、TWAINデータソースに対応したコンピュータ303上で動作するアプリケーションであり、ユーザによりコンピュータ303にインストールされる。また、Imaging Application356は、第1WIAドライバ351または第2WIAドライバ352からラスタデータを受け取る。
【0174】
レジストリ357は、OSであるマイクロソフトウィンドウズ(登録商標)(例えば、Windows 2000(登録商標),Windows XP(登録商標),Windows Me(登録商標),Windows 98(登録商標)等)において、コンピュータ303に関するデバイスドライバ設定からアプリケーション設定まで、あらゆる設定情報を集中管理するデータベースである。また、レジストリ357は、WIAドライバ用記憶領域等を有している。
【0175】
表示部334、操作部335、CD−ROMドライブ336、LANインターフェース338は、第一の実施形態の表示部134、操作部135、CD−ROMドライブ136、LANインターフェース118と同一の部材でありその説明を省略する。
【0176】
<WIAドライバの構成>
ここで、上述のWIAドライバ(第1WIAドライバ351及び第2WIAドライバ352)の構成について、図17に基づいて、以下で詳細に説明する。図17は、第三の実施形態に係るWIAドライバの構成図である。
【0177】
TWAINデータソースマネージャ370は、後述するWIA Service360と通信可能であり、Image Application356からWIAドライバ351,352を介してスキャナ301,302にアクセスすることを実現するプログラムであり、第1WIAドライバ351及び第2WIAドライバ352をTWAINデータソースとして認識するプログラム(twain_32.dll)である。Imaging Application356は、このTWAINデータソースマネージャ370のみと指令やデータのやり取りを行う。また、TWAINデータソースマネージャ370は、Imaging Application356のアクセスにより、WIAドライバをTWAINデータソースとして認識させるための識別情報であるTWAINデータソース名を返し、TWAINデータソースを選択することができるように構成されている(選択部370a)。
【0178】
WIA Service360は、第1スキャナ301及び第2スキャナ302に対する全ての操作を、WIAドライバ351,352を介して行うプログラムであり、TWAINデータソースマネージャ370で管理することができる。また、WIA Service360は、後述するWIAドライバ351及び352との間で指令やデータのやり取りを行うと共に、第1WIAドライバ351をTWAINデータソースとして認識させるための識別情報及び第2WIAドライバ352をTWAINデータソースとして認識させるための識別情報をレジストリ357のそれぞれのWIAドライバ用記憶領域のドライバ名(「DeviceDesc」Key)の値及びTWAINデータソース名(「TwainDS」Key)の値として入力する。
【0179】
WIAドライバ351は、後述するDevice Driver359aを介して第1スキャナ301とWIA Serivce351a(352a)との間の通信を行うドライバである。
WIAドライバ352も同様に、後述するDevice Driver359bを介して第2スキャナ302とWIA Serive351a(352a)との間の通信を行うドライバである。
【0180】
Device Driver359aは、USB、パラレル、ネットワーク等により第1スキャナ301との実際の通信を行うドライバである。
Device Driver359bも同様に、USB、パラレル、ネットワーク等により第2スキャナ302との実際の通信を行うドライバである。
【0181】
<画像データ送受信システムの動作>
次に、第三の実施形態に係る画像データ送受信システム300の動作について、図18〜図19を参照して説明する。図18は、WIAドライバのインストールの処理の手順について説明したフローチャートである。図19は、WIAドライバのインストールの別の処理の手順について説明したフローチャートである。
【0182】
まず、第2WIAドライバ352がインストールされる際に参照される第2WIAドライバ352のインストールに関する情報を記載したINFファイルを変更しない場合の第三の実施形態に係る第2WIAドライバ352のインストールの処理の手順について、図18に基づいて説明する。尚、図18のWIAドライバのインストールの処理と後述する図19のWIAドライバのインストールの処理とはどちらか一方のみを行うものである。
【0183】
ユーザが第2スキャナ302について第2WIAドライバ352のインストール操作を行うと、インストールプログラム355が起動され、まず、第2WIAドライバ352をインストールするためのインストーラのインストーラ用設定ファイルからインストールする第2WIAドライバ352のモデル名「BtMFP98LAN」を取得する(ステップS601)。そして、取得したモデル名から、第2WIAドライバ352をTWAINデータソースとして認識させるための基本識別情報「BtMFP98LAN」を生成する(ステップ602)。
【0184】
次に、取得部355aが取得した既にインストールされているWIAドライバをTWAINデータソースとして認識させるための識別情報に基づいて、判断部355bが第2WIAドライバ352をTWAINデータソースとして認識させるための基本識別情報と少なくとも一部が一致する識別情報を有するWIAドライバの数を数えて、この値に1を加算してScnCntに格納する(ステップS603)。ここでは、第1WIAドライバ351をTWAINデータソースとして認識させるための識別情報が第2WIAドライバ352をTWAINデータソースとして認識させるための基本識別情報と一致するため、ScnCntの値として2が格納される。そして、判断部355bで、ScnCntが1より大きいかどうかにより、第2WIAドライバ352をTWAINデータソースとして認識させるための基本識別情報と少なくとも一部が一致するTWAINデータソースとして認識させるための識別情報を有するWIAドライバが存在するか否かが判断される(ステップS604)。
【0185】
ここでは、ScnCntが2であり1よりも大きいため、判断部355bにより第2WIAドライバ352をTWAINデータソースとして認識させるための識別情報と少なくとも一部が一致するTWAINデータソースとして認識させるための識別情報を有するWIAドライバが存在すると判断され(ステップS604:YES)、変更部355cが第2WIAドライバ352をTWAINデータソースとして認識させるための基本識別情報「BtMFP98LAN」に「#ScnCnt」を付加した「BtMFP98LAN#2」を識別情報として決定する(ステップS605)。
尚、判断部355bにより第2WIAドライバ352をTWAINデータソースとして認識させるための基本識別情報と少なくとも一部が一致するTWAINデータソースとして認識させるための識別情報を有するWIAドライバが存在しないと判断された場合は(ステップS604:NO)、第2WIAドライバ352をTWAINデータソースとして認識させるための基本識別情報が第2WIAドライバ352をTWAINデータソースとして認識させるための識別情報として決定される(ステップS606)。ここで、判断部355bにより第2WIAドライバ352をTWAINデータソースとして認識させるための基本識別情報と少なくとも一部が一致するTWAINデータソースとして認識させるための識別情報を有するWIAドライバが存在しないと判断された場合(ステップS604:NO)であっても、ステップS606を行わず、ステップS605において、変更部155cが第2WIAドライバ352をTWAINデータソースとして認識させるための基本識別情報「BtMFP98LAN」に「#ScnCnt」を付加した「BtMFP98LAN#1」を識別情報として決定しても良い。
【0186】
次に、インストールプログラム355からOS側の処理に移行する。まず、OS側のAddScannerインストーラをOSが起動することにより、自動的に第2スキャナ302のインストールを開始する(ステップS607)。続いてOS側のAddScannerインストーラによるその他の処理が行われ、OS側のAddScannerインストーラによる第2スキャナ302のインストールが完了し、第2WIAドライバ352がHDD333内に記憶される(ステップS608)。
【0187】
そして、第2スキャナ302のインストール処理の終了により、OS側の処理からインストールプログラム355の処理に移行する。第2スキャナ302のインストール処理の終了通知を受け取ると、設定部355dが、第2STIドライバ354のWIAドライバ用レジストリ情報のDriver名(「DriverDesc」Keyの値)とTwainDS(「DeviceData¥TwainDS」Keyの値)を決定された識別情報「BtMFP98LAN#2」に変更する(ステップS609)。
【0188】
以上により、第2WIAドライバ352のインストールの処理が終了し、ユーザによるWIAドライバに関連付けられたスキャナの選択の処理、又は、スキャナのスキャンボタンの動作の処理に進む。
【0189】
次に、第2WIAドライバ352がインストールされる際に参照される第2WIAドライバ352のインストールに関する情報を記載したINFファイルを変更する場合の第三の実施形態に係る第2WIAドライバ352のインストールの処理の手順について、図19に基づいて説明する。尚、図18のWIAドライバのインストールの処理と図19のWIAドライバのインストールの処理とはどちらか一方のみを行うものである。
【0190】
ユーザ第2スキャナ302について第2WIAドライバ352のインストール操作を行うと、インストールプログラム355が起動され、まず、第2WIAドライバ352をインストールするためのインストーラのインストーラ用設定ファイルからインストールする第2WIAドライバ352のモデル名「BtMFP98LAN」を取得する(ステップS701)。そして、取得したモデル名から、第2WIAドライバ352をTWAINデータソースとして認識させるための基本識別情報「BtMFP98LAN」を生成する(ステップS702)。
【0191】
次に、取得部355aが取得した既にインストールされているWIAドライバをTWAINデータソースとして認識させるための識別情報に基づいて、判断部355bが第2WIAドライバ352をTWAINデータソースとして認識させるための基本識別情報と少なくとも一部が一致するTWAINデータソースとして認識させるための識別情報を有するWIAドライバの数を数えて、この値に1を加算してScnCntに格納する(ステップS703)。ここでは、第1WIAドライバ151をTWAINデータソースとして認識させるための識別情報が第2WIAドライバ352をTWAINデータソースとして認識させるための基本識別情報と一致するため、ScnCntの値として2が格納される。そして、判断部355bで、ScnCntが1より大きいかどうかにより、第2WIAドライバ352をTWAINデータソースとして認識させるための基本識別情報と少なくとも一部が一致するTWAINデータソースとして認識させるための識別情報を有するWIAドライバが存在するか否かが判断される(ステップS704)。
【0192】
ここでは、ScnCntが2であり1よりも大きいため、判断部355bにより第2WIAドライバ352をTWAINデータソースとして認識させるための基本識別情報と少なくとも一部が一致するTWAINデータソースとして認識させるための識別情報を有するWIAドライバが存在すると判断され(ステップS704:YES)、変更部355cが第2WIAドライバ352をTWAINデータソースとして認識させるための基本識別情報「BtMFP98LAN」に「#ScnCnt」を付加した「BtMFP98LAN#2」を識別情報として決定する(ステップS705)。
尚、判断部355bにより第2WIAドライバ352をTWAINデータソースとして認識させるための基本識別情報と少なくとも一部が一致するTWAINデータソースとして認識させるための識別情報を有するWIAドライバが存在しないと判断された場合は(ステップS704:NO)、第2WIAドライバ352をTWAINデータソースとして認識させるための基本識別情報が第2TWAINデータソース152の識別情報として決定される(ステップS706)。ここで、判断部355bにより第2WIAドライバ352をTWAINデータソースとして認識させるための基本識別情報と少なくとも一部が一致するTWAINデータソースとして認識させるための識別情報を有するWIAドライバが存在しないと判断された場合(ステップS704:NO)であっても、ステップS706を行わず、ステップS705において、変更部155cが第2WIAドライバ352をTWAINデータソースとして認識させるための基本識別情報「BtMFP98LAN」に「#ScnCnt」を付加した「BtMFP98LAN#1」を識別情報として決定しても良い。
【0193】
次に、第2WIAドライバ352がインストールされる際に参照される第2WIAドライバ352のインストールに関する情報を記載したINFファイルの必要箇所を決定された第2WIAドライバ352の識別情報「BtMFP98LAN#2」に変更する(ステップS707)。
【0194】
そして、インストールプログラム355からOS側の処理に移行する。即ち、OS側のPnPインストーラをOSが起動することにより、PnPインストーラがステップS707において変更された第2WIAドライバ352がインストールされる際に参照される第2WIAドライバ352のインストールに関する情報を記載したINFファイルを用いて自動的に第2スキャナ302のインストールを実行する(ステップS708)。
【0195】
以上により、第2WIAドライバ352のインストールの処理が終了し、ユーザによるWIAドライバに関連付けられたスキャナの選択の処理、又は、スキャナのスキャンボタンの動作の処理に進む。
【0196】
尚、上述の通り図18のWIAドライバのインストールの処理と図19のWIAドライバのインストールの処理とはどちらか一方のみを行うものであるが、図19によるWIAドライバのインストールの処理は、WIAドライバのインストールに関する情報を記載したINFファイルを参照して自動的に設定が行われるため、インストール処理が簡便になり、図19によるWIAドライバのインストールの処理の方で行われるのが望ましい。
【0197】
このように、第三の実施形態の画像データ送受信システム300、コンピュータ303、画像データ送受信方法、及びインストールプログラム355によれば、取得部355a及び判断部355bにより少なくとも一部が一致するTWAINデータソースとして認識させるための識別情報を有する第1WIAドライバ351が既にコンピュータ303にインストールされていると判断された場合に、変更部355c及び設定部355dで新たにインストールする第2WIAドライバ352のTWAINデータソースとして認識させるための識別情報を変更した上で、インストール部355eで第2WIAドライバ352を第1WIAドライバ351とは異なる第2WIAドライバ用記憶領域にインストールし、関連付け部354でインストールした第2WIAドライバ352をTWAINデータソースとして認識させるための識別情報と第2スキャナ302とを関連付けている(図18又は図19参照)。
その結果、第1スキャナ301と同一モデルの第2スキャナ302に関する第2WIAドライバ352をインストールする場合、即ち、第1WIAドライバ351をTWAINデータソースとして認識させるための識別情報と少なくとも一部が一致するTWAINデータソースとして認識させるための識別情報を有する第2WIAドライバ352をインストールする場合であっても、それぞれの識別情報に関連付けられた個別のスキャナとして認識することができるため、少なくとも一部が一致する識別情報を有するTWAINデータソースを用いるスキャナが複数存在する環境においても、選択部370aでユーザが使用しているコンピュータ303と画像データを送受信しようとする第2スキャナ302との間で確実に画像データを送受信することができる。
【0198】
また、新たにインストールする第2WIAドライバ352のTWAINデータソースとして認識させるための識別情報と少なくとも一部が一致するTWAINデータソースとして認識させるための識別情報を有する第1WIAドライバ351が既にコンピュータ303にインストールされている場合に、設定部355dが、第2WIAドライバ352をコンピュータ303にインストールする前に、予めINFファイルに記載されている第2WIAドライバ352のTWAINデータソースとして認識させるための識別情報を変更された識別情報に書き換えている。
その結果、インストール部355eによる第2WIAドライバ352のインストールの処理が簡便になる。
【0199】
また、関連付け部354が、第2スキャナ302と第2WIAドライバ352のTWAINデータソースとして認識させるための識別情報とを1対1に関連付けている。
その結果、ユーザが第2スキャナ302からコンピュータ303に接続する場合(例えば、第2スキャナ302に設けたスキャンボタン325aの押下に従って、コンピュータ303から第2スキャナ302に対する指令が出力され、第2スキャナ302からコンピュータ303へ画像データの転送を実現する機能を利用する場合)に、接続を行ってきた第2スキャナ302をコンピュータ303で特定することができ、正確に第2スキャナ302とコンピュータ303との間で画像データの送受信を行うことができる。
【0200】
更に、関連付け部354では、レジストリ357内の第2WIAドライバ352用記憶領域に、第2WIAドライバ352のTWAINデータソースとして認識させるための識別情報と第2スキャナ302が接続された通信ポートの識別情報(IPアドレス等)とを記憶することにより関連付けが行われている。
従って、通信ドライバでもある第2WIAドライバ352の技術を用いることにより、容易に本発明を実現することができる。
【0201】
以上、本発明の好適な実施の形態について説明したが、本発明は、前記実施の形態に限定されるものではなく、特許請求の範囲に記載した限りにおいてさまざまな変更が可能なものである。
【0202】
上述の実施形態の画像データ送受信システム100、200、300では、予め接続されている画像データ生成装置が第1スキャナ101、201、301の1台であるが、それに限られない。例えば、本発明は、予め接続されている画像データ生成装置が複数台存在する場合にも適用される。尚、画像データ生成装置が複数台存在する場合は、インストールプログラム155、255、355の取得部155a、255a、355aでは、予め接続されている複数台の画像データ生成装置についての識別情報を取得する。
【0203】
また、上述の実施形態の画像データ送受信システム100、200では、画像データ処理ドライバとしてTWAINデータソースを利用し、通信ドライバとしてSTIドライバを利用しているが、それに限られない。例えば、本発明は、画像データ処理ドライバ及び通信ドライバとしてTWAINデータソースを利用する場合にも適用することができる。
【0204】
また、上述の実施形態の画像データ送受信システム100、200、300では、ユーザが行うスキャナの選択の対象が第2TWAINデータソース152に関連付けられた第2スキャナ102、第2TWAINデータソース252に関連付けられた第1スキャナ201、第2WIAドライバ352に関連付けられた第2スキャナ302であるが、それに限られない。例えば、本発明は、ユーザが、予めインストールされている第1TWAINデータソース151に関連付けられた第1スキャナ101、第1TWAINデータソース251に関連付けられた第1スキャナ201、第1WIAドライバ351に関連付けられた第1スキャナ301を選択する場合にも適用することができる。
【0205】
また、上述の実施形態の画像データ送受信システム100、200、300では、コンピュータ103、203、303のOSとして、マイクロソフトウィンドウズをインストールしているが、それに限らない。例えば、MAC(登録商標)OSをインストールしても良い。尚、MAC(登録商標)OSの場合は、レジストリの代わりにリソースが適用される。
【0206】
また、上述の実施形態の画像データ送受信システム100、200における取得部155a、255aは、レジストリ中のSTIドライバ用記憶領域を検索することによってTWAINデータソースの識別情報を取得したが、これに限らず、例えば、図5のwindows¥twain_32¥BrMfcScn以下のフォルダに格納されているINIファイル(図4参照)からTWAINデータソースの識別情報を取得するようにしても良い。
【0207】
更に、上述の実施形態の画像データ送受信システム100、200、300では、画像生成装置としてスキャナを適用しているが、それに限らない。例えば、デジタルカメラであってもよい。
【0208】
【発明の効果】
以上に説明したように、請求項1、12、13、14によると、少なくとも一部が一致する識別情報を有する画像データ処理ドライバが既にコンピュータにインストールされている場合、新たにインストールする画像データ処理ドライバの識別情報を変更した上で、画像データ処理ドライバ同士を異なる画像データ処理ドライバ用記憶領域にインストールし、インストールした画像データ処理ドライバの識別情報と1つの画像データ生成装置とを関連付けている。従って、同一モデルの画像データ生成装置に関する画像データ処理ドライバをインストールする場合等、少なくとも一部が一致する識別情報を有する画像データ処理ドライバをインストールする場合であっても、それぞれの識別情報に関連付けられた個別の画像データ生成装置として認識することができるため、少なくとも一部が一致する識別情報を有するインターフェースドライバを用いる画像データ生成装置が複数存在する環境においても、ユーザが使用しているコンピュータと画像データを送受信しようとする画像データ生成装置との間で確実に画像データを送受信することができる。
【0209】
請求項2によると、各画像データ処理ドライバを互いに異なる画像データ処理ドライバ用フォルダにインストールしている。従って、インストールする画像データ処理ドライバに関するデータに対して名称を変更する等インストールする画像データ処理ドライバを上書きしないための操作を行う必要がなくなる。
【0210】
請求項3によると、画像データ処理ドライバ用フォルダに画像データ処理ドライバの識別情報を記憶している。従って、TWAINデータソースマネージャのように画像データ処理ドライバの画像データ処理ドライバ用フォルダに記憶されている識別情報を取得する技術に対応することができる。
【0211】
請求項4によると、新たにインストールする画像データ処理ドライバの識別情報と少なくとも一部が一致する識別情報を有する画像データ処理ドライバが既にコンピュータにインストールされている場合、画像データ処理ドライバをコンピュータにインストールする前に、予めINFファイルに記載されている画像データ処理ドライバの識別情報を変更された識別情報に書き換えている。従って、画像データ処理ドライバのインストールの処理が簡便になる。
【0212】
請求項5によると、新たに画像データ処理ドライバをインストールする際に、既にインストールされている画像データ処理ドライバと共有できる内容の少なくとも一部については、互いに異なる画像データ処理ドライバ用記憶領域に記憶していない。従って、画像データ処理ドライバを記憶するためにかかる負荷を軽減させることができる。
【0213】
請求項6によると、画像データ生成装置と画像データ処理ドライバの識別情報とを1対1に関連付けている。従って、ユーザが画像データ生成装置からコンピュータに接続する場合(例えば、画像データ生成装置に設けたボタンの押下をきっかけに、コンピュータから画像データ生成装置に対する指令が出力され、画像データ生成装置からコンピュータへ画像データの転送を実現する機能を利用する場合)に、接続を行ってきた画像データ生成装置をコンピュータで特定することができ、正確に画像データ生成装置とコンピュータとの間で画像データの送受信を行うことができる。
【0214】
請求項7によると、1つの画像データ生成装置に対して複数の画像データ処理ドライバの識別情報を関連付け、それぞれの画像データ処理ドライバの識別情報に関連付ける画像データ生成装置のそれぞれの設定情報はユーザにより決定されている。従って、1つの画像データ生成装置であっても、それぞれの識別情報ごとに、ユーザが設定する画像データ生成装置についての設定情報が保存することができる。
【0215】
請求項8によると、通信ドライバの通信ドライバ用記憶領域に、画像データ処理ドライバの識別情報と通信ポートの識別情報とを記憶することにより関連付けが行われている。従って、通信ドライバの技術を用いることにより、容易に本発明を実現することができる。
【0216】
請求項9によると、通信ドライバとしてSTIドライバを利用した環境に対して本発明を適用することができる。
【0217】
請求項10によると、画像データ処理ドライバとしてTWAINデータソースを利用した環境に対して本発明を適用することができる。
【0218】
請求項11によると、画像データ処理ドライバとしてWIAドライバを利用し、画像データ処理ドライバの識別情報としてWIAドライバをTWAINデータソースとして認識させるための識別情報として利用した環境に対して本発明を適用することができる。
【図面の簡単な説明】
【図1】第一の実施形態に係る画像データ送受信システムの概略構成図である。
【図2】レジストリの第2TWAINデータソース用記憶領域及び第2STIドライバ用記憶領域を示す図である。
【図3】レジストリの第2TWAINデータソース用記憶領域及び第2STIドライバ用記憶領域を示す図である。
【図4】第2TWAINデータソース用設定ファイルの一例を示す図である。
【図5】第2TWAINデータソース用フォルダの一例を示す図である。
【図6】第2TWAINデータソースのインストールに関する情報を記載したINFファイルの一例を示す図である。
【図7】第2TWAINデータソース用ユーザ設定ファイルの一例を示す図である。
【図8】第一の実施形態に係るTWAINデータソースとSTIドライバの構成図である。
【図9】TWAINデータソース及びSTIドライバのインストールの処理の手順について説明したフローチャートである。
【図10】TWAINデータソース及びSTIドライバのインストールの別の処理の手順について説明したフローチャートである。
【図11】TWAINデータソースの選択の処理の手順について説明したフローチャートである。
【図12】TWAINデータソースのオープンの処理の手順について説明したフローチャートである。
【図13】スキャナのスキャンボタン動作の処理の手順について説明したフローチャートである。
【図14】第二の実施形態に係る画像データ送受信システムの概略構成図である。
【図15】第二の実施形態に係るTWAINデータソースとSTIドライバの構成図である。
【図16】第三の実施形態に係る画像データ送受信システムの概略構成図である。
【図17】第三の実施形態に係るWIAドライバの構成図である。
【図18】WIAドライバのインストールの処理の手順について説明したフローチャートである。
【図19】WIAドライバのインストールの別の処理の手順について説明したフローチャートである。
【符号の説明】
100 画像データ送受信システム
101 第1スキャナ(画像データ生成装置)
102 第2スキャナ(画像データ生成装置)
103 コンピュータ
151 第1TWAINデータソース(画像データ処理ドライバ)
152 第2TWAINデータソース(画像データ処理ドライバ)
153 第1STIドライバ(通信ドライバ)
154 第2STIドライバ(関連付け手段、通信ドライバ)
155 インストールプログラム
155a 取得部(取得手段)
155b 判断部(判断手段)
155c 変更部(変更手段)
155d 設定部(設定手段)
155e インストール部(インストール手段)
156 Imaging Application(アプリケーション)
157 レジストリ
160 TWAINデータソースマネージャ
160a 選択部(選択手段)
200 画像データ送受信システム
201 第1スキャナ(画像データ生成装置)
203 コンピュータ
251 第1TWAINデータソース(画像データ処理ドライバ)
252 第2TWAINデータソース(画像データ処理ドライバ)
253 第1STIドライバ(通信ドライバ)
254 第2STIドライバ(関連付け手段、通信ドライバ)
255 インストールプログラム
255a 取得部(取得手段)
255b 判断部(判断手段)
255c 変更部(変更手段)
255d 設定部(設定手段)
255e インストール部(インストール手段)
256 Imaging Application(アプリケーション)
257 レジストリ
260 TWAINデータソースマネージャ
260a 選択部(選択手段)
300 画像データ送受信システム
301 第1スキャナ(画像データ生成装置)
302 第2スキャナ(画像データ生成装置)
303 コンピュータ
351 第1WIAドライバ(画像データ処理ドライバ、通信ドライバ)
351a 関連付け部(関連付け手段)
352 第2WIAドライバ(画像データ処理ドライバ、通信ドライバ)
352a 関連付け部(関連付け手段)
355 インストールプログラム
355a 取得部(取得手段)
355b 判断部(判断手段)
355c 変更部(変更手段)
355d 設定部(設定手段)
355e インストール部(インストール手段)
356 Imaging Application(アプリケーション)
357 レジストリ
370 TWAINデータソースマネージャ
370a 選択部(選択手段)
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an image data transmission / reception system, a computer, an image data transmission / reception method, and a program, and more particularly to an image data transmission / reception system, a computer, an image data transmission / reception method, and a program in an environment where a plurality of image data generation devices exist.
[0002]
[Prior art]
Conventionally, an image data generating device such as a scanner has been known. As such an image data generating apparatus, an operating system (hereinafter, referred to as “hereinafter, referred to as“ local area network ”) which is directly connected to or connected to a network such as a LAN (Local Area Network) using TCP / IP or the like. An image data processing driver (driver software) for an image data generating function (scanner function) supported by the OS is installed, and the image data transmitted from the image data generating apparatus via the image data processing driver is installed. (See, for example, Patent Document 1). In recent years, a technique has been developed in which a command is output from the computer to the image data generation device in response to pressing of a button provided on the image data generation device, and the image data generation device transfers the image data to the computer.
If there are a plurality of image data generating devices directly connected to the computer and a plurality of image data generating devices connected to the network, it is necessary to install an image data processing driver for each image data generating device in the computer. (For example, see Patent Document 1).
[0003]
Here, the process of installing the image data processing driver for the image data generating device in the computer is performed using the OS activated by the computer. The installation process performed using the OS is performed by software that semi-automates the installation procedure.
[0004]
[Patent Document 1]
JP-A-11-110331 (FIG. 2, paragraphs 0002, 0004, 0018)
[0005]
[Problems to be solved by the invention]
However, in the installation process of the image data processing driver for the image data generation device supported by the conventional OS, in an environment where a plurality of image data generation devices exist, the image data generation driver in which the image data processing driver is already installed is used. When newly installing an image data processing driver for an image data generating apparatus of the same model as the apparatus, newly install an image data processing driver having identification information (name of the image data processing driver, etc.) at least partially matching. In this case, the image data processing driver is overwritten and installed, or a plurality of image data processing drivers having identification information (name of the image data processing driver or the like) at least partially matching exist, and the image intended by the user is Data generator and co There is a problem that it is impossible to transmit and receive image data to and from the computer.
[0006]
The present invention has been made in view of the above problems, and can transmit and receive image data between an image data generation device intended by a user and a computer in an environment where a plurality of image data generation devices exist. An image data transmitting / receiving system, a computer, an image data transmitting / receiving method, and a program are provided.
[0007]
[Means for Solving the Problems]
In order to solve the above problem, an image data transmission / reception system according to claim 1 performs a process of receiving image data transmitted from an image data generation device and transferring the received image data to an application operating on a computer. An image data processing driver for installing the image data processing driver in the computer, and connecting the image data generation device and the computer so that the image data processing device can communicate with the computer. Acquiring means for acquiring identification information of an already installed image data processing driver; and identifying information of an image data processing driver to be newly installed in the identification information of the image data processing driver acquired by the acquiring means. Identification information that at least partially matches Determining means for determining whether or not there is an image data processing driver to be installed; and if the determining means determines that there is an image data processing driver having identification information that at least partially matches, the new installation is performed. A change unit that changes the identification information of the image data processing driver to identification information different from the identification information acquired by the acquisition unit, and an image data processing driver having identification information that at least partially matches the identification information by the determination unit is present. If it is determined, the setting unit sets the identification information of the newly installed image data processing driver to the identification information changed by the changing unit, and stores each image data processing driver in a different image data processing driver. Installation means for installing in the area, Association means for associating one image data generation device using the image data processing driver with the identification information of the image data processing driver installed by the installation means; Means for selecting an image data processing driver having identification information associated with the image data generating device by the means.
[0008]
A computer according to claim 12, further comprising: an image data processing driver for receiving the image data transmitted from the image data generating apparatus and transferring the received image data to an application operating on the computer. A computer that constitutes an image data transmission / reception system that communicably connects the image data generation device and the computer, wherein when an image data processing driver is newly installed, the already installed image data processing driver Acquisition means for acquiring the identification information of the image data, and an image having identification information at least partially identical to the identification information of the newly installed image data processing driver in the identification information of the image data processing driver acquired by the acquisition means. Data processing driver exists Determining means for determining whether or not there is an image data processing driver having identification information at least partially matching the identification information of the newly installed image data processing driver A changing unit that changes the identification information obtained by the obtaining unit to identification information different from the identification information obtained by the obtaining unit; and if the determination unit determines that there is an image data processing driver having the identification information that at least partially matches, Setting means for setting the identification information of the image data processing driver to be newly installed to the identification information changed by the changing means; and installation means for installing each image data processing driver in a different image data processing driver storage area. Installed by the installation means Associating means for associating one image data generating device using the image data processing driver with the identification information of the image data processing driver, and generating the image data by the associating means when communicating with the image data generating device. Selecting means for selecting an image data processing driver having identification information associated with the device.
[0009]
An image data transmission / reception method according to claim 13, further comprising: an image data processing driver for receiving image data transmitted from the image data generation device and transferring the received image data to an application operating on a computer. An image data transmission / reception method that is installed in a computer and communicably connects the image data generation device and a computer. When a new image data processing driver is installed, the image data processing driver of the already installed image data processing driver is installed. An acquisition step of acquiring identification information, and image data having identification information that at least partially matches identification information of a newly installed image data processing driver in the identification information of the image data processing driver acquired by the acquisition step Whether a processing driver exists A determining step of determining, and when it is determined by the determining step that there is an image data processing driver having identification information that at least partially coincides, the identification information of the newly installed image data processing driver is obtained by the obtaining unit. A change step of changing to identification information different from the acquired identification information, and if the determination step determines that there is an image data processing driver having identification information that at least partially matches, the newly installed image A setting step of setting the identification information of the data processing driver to the identification information changed by the changing step, an installation step of installing each image data processing driver in a different image data processing driver storage area, and the installation step An associating step of associating one image data generating apparatus using the image data processing driver with the identification information of the installed image data processing driver, and the associating step when communicating with the image data generating apparatus. And selecting an image data processing driver having identification information associated with the image data generating device.
[0010]
An image data processing driver for receiving image data transmitted from an image data generating device and transferring the received image data to an application running on the computer is installed in the computer. When a new image data processing driver is installed in a computer constituting an image data transmission / reception system that communicably connects the image data generating apparatus and the computer, identification of the already installed image data processing driver is performed. An acquiring step of acquiring information; an image data processing driver having, in the identification information of the image data processing driver acquired by the acquiring step, identification information at least partially matching the identification information of the newly installed image data processing driver; Exists A determining step of determining whether or not there is an image data processing driver having identification information that at least partially matches the identification data of the newly installed image data processing driver. A change step of changing to identification information different from the identification information obtained by the obtaining means; if the determination step determines that there is an image data processing driver having identification information that at least partially matches, the newly installed A setting step of setting the identification information of the image data processing driver to be changed to the identification information changed by the changing step, an installation step of installing each image data processing driver in a different storage area for the image data processing driver, and the installation step An associating step of associating one image data generating apparatus using the image data processing driver with the identification information of the installed image data processing driver, and performing the associating step when communicating with the image data generating apparatus. A selecting step of selecting an image data processing driver having identification information associated with the image data generating apparatus.
[0011]
According to claims 1, 12, 13, and 14, when an image data processing driver having at least a part of matching identification information is already installed in a computer, the identification information of a newly installed image data processing driver is changed. Above, the image data processing drivers are installed in different image data processing driver storage areas, and the identification information of the installed image data processing driver is associated with one image data generation device. Therefore, even if an image data processing driver having at least a part of matching identification information is installed, such as when an image data processing driver for an image data generation device of the same model is installed, the image data processing driver is associated with each identification information. Computer that is used by a user even in an environment in which there are a plurality of image data generation devices that use image data processing drivers having identification information that at least partially coincides with each other. The image data can be reliably transmitted and received between the image data generating apparatus and the image data generating apparatus that is to transmit and receive the image data.
[0012]
The image data transmission / reception system according to claim 2 is the image data transmission / reception system according to claim 1, wherein the installation unit installs each image data processing driver in a different image data processing driver folder. The image data processing driver is installed in different image data processing driver storage areas.
[0013]
According to claim 2, each image data processing driver is installed in a different image data processing driver folder. Therefore, it is not necessary to perform an operation for changing the name of the image data processing driver to be installed, such as changing the name, so as not to overwrite the image data processing driver to be installed.
[0014]
The image data transmitting / receiving system according to claim 3 is the image data transmitting / receiving system according to claim 2, wherein the identification information of the image data processing driver is stored in the image data processing driver folder of the image data processing driver. It is characterized by that.
[0015]
According to the third aspect, the identification information of the image data processing driver is stored in the image data processing driver folder. Therefore, it is possible to cope with a technique for acquiring the identification information stored in the image data processing driver folder of the image data processing driver like the TWAIN data source manager.
[0016]
An image data transmission / reception system according to a fourth aspect is the image data transmission / reception system according to any one of the first to third aspects, wherein the installation unit further includes an INF (Information) in which information on installation is described. The installation is performed based on the file, and when the setting unit determines that the image data processing driver having the identification information that at least partially coincides exists by the determination unit, the setting unit performs the installation before the installation unit performs the installation. Rewriting the identification information of the newly installed image data processing driver described in the INF file with the identification information changed by the changing unit, thereby setting the identification information of the image data processing driver. And
[0017]
According to the fourth aspect, when the image data processing driver having the identification information at least partially matching the identification information of the image data processing driver to be newly installed is already installed in the computer, the image data processing driver is installed in the computer. Before this, the identification information of the image data processing driver described in advance in the INF file is rewritten with the changed identification information. Therefore, the process of installing the image data processing driver is simplified.
[0018]
An image data transmission / reception system according to a fifth aspect is the image data transmission / reception system according to any one of the first to fourth aspects, wherein the installation unit installs the newly installed image data processing driver. At this time, at least part of the contents that can be shared by the newly installed image data processing driver and the already installed image data processing driver is not stored in different image data processing driver storage areas. It is characterized by.
[0019]
According to the fifth aspect, when a new image data processing driver is installed, at least a part of the contents that can be shared with the already installed image data processing driver is stored in different image data processing driver storage areas. Not. Therefore, it is possible to reduce the load for storing the image data processing driver.
[0020]
The image data transmission / reception system according to claim 6 is the image data transmission / reception system according to any one of claims 1 to 5, wherein the associating unit further includes: It is characterized in that identification information of only one image data processing driver is associated.
[0021]
According to the sixth aspect, the image data generating apparatus and the identification information of the image data processing driver are associated one-to-one. Therefore, when the user connects to the computer from the image data generation device (for example, when a button provided on the image data generation device is pressed, a command to the image data generation device is output from the computer, and the image data generation device sends the command to the computer. In the case of using the function of realizing the transfer of image data), the computer can identify the connected image data generating device, and can accurately transmit and receive the image data between the image data generating device and the computer. It can be carried out.
[0022]
An image data transmission / reception system according to claim 7 is the image data transmission / reception system according to any one of claims 1 to 5, wherein the associating unit includes a plurality of image data generation apparatuses. The identification information of the image data processing driver is associated, and further, the user determines the setting information of the image data generation device to be associated with the identification information of the image data processing driver installed by the installation unit for each image data processing driver. It is characterized by doing.
[0023]
According to claim 7, identification information of a plurality of image data processing drivers is associated with one image data generation device, and each setting information of the image data generation device associated with identification information of each image data processing driver is set by a user. Has been determined. Therefore, even with one image data generation device, setting information on the image data generation device set by the user can be stored for each piece of identification information.
[0024]
The image data transmission / reception system according to claim 8, wherein the image data transmission / reception system according to any one of claims 1 to 7, wherein the association unit includes the image data processing driver and the image data generation device. Is a communication driver that performs communication with a connected communication port, and stores identification information of the image data processing driver and identification information of the communication port in a communication driver storage area of the communication driver. Are associated with each other.
[0025]
According to the eighth aspect, the association is performed by storing the identification information of the image data processing driver and the identification information of the communication port in the communication driver storage area of the communication driver. Therefore, the present invention can be easily realized by using the technology of the communication driver.
[0026]
An image data transmission / reception system according to a ninth aspect is the image data transmission / reception system according to the eighth aspect, wherein the communication driver is a STI (Still Image Architecture) driver.
[0027]
According to the ninth aspect, the present invention can be applied to an environment using an STI driver as a communication driver.
[0028]
An image data transmitting / receiving system according to a tenth aspect is the image data transmitting / receiving system according to any one of the first to ninth aspects, wherein the image data processing driver is a TWAIN data source. .
[0029]
According to the tenth aspect, the present invention can be applied to an environment using a TWAIN data source as an image data processing driver.
[0030]
An image data transmission / reception system according to claim 11 is the image data transmission / reception system according to any one of claims 1 to 4, wherein the image data processing driver is a WIA (Windows Image Acquisition) driver, Further, the identification information of the image data processing driver is identification information for causing the WIA driver to be recognized as a TWAIN data source.
[0031]
According to claim 11, the present invention is applied to an environment in which a WIA driver is used as an image data processing driver, and the WIA driver is used as identification information for recognizing the WIA driver as a TWAIN data source as identification information of the image data processing driver. be able to.
[0032]
The program described in claim 14 is a removable type recording medium such as a CD-ROM (Compact Disc Only Memory), an FD (Floppy (registered trademark) Disk), an MO (Magneto-Optic), or a fixed medium such as a hard disk. In addition to being able to be recorded on a type recording medium and distributed, it can be distributed via a communication network such as the Internet by wired or wireless electric communication means.
[0033]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, preferred embodiments of the present invention will be described with reference to the drawings.
[0034]
[First embodiment]
<Overall configuration of image data transmission / reception system>
First, an image data transmission / reception system according to a first embodiment will be described with reference to FIGS. FIG. 1 is a schematic configuration diagram of an image data transmission / reception system according to the first embodiment. 2 and 3 are diagrams showing a storage area for a second TWAIN data source and a storage area for a second STI (Still Image Architecture) driver of the registry. FIG. 4 is a diagram illustrating an example of a setting file for the second TWAIN data source. FIG. 5 is a diagram illustrating an example of the second TWAIN data source folder. FIG. 6 is a diagram illustrating an example of an INF (Information) file in which information on installation of the second TWAIN data source is described (an example after processing of an installation program 155 described later). FIG. 7 is a diagram illustrating an example of the user setting file for the second TWAIN data source.
In the first embodiment, a TWAIN data source is used as an image data processing driver, and an STI driver is used as a communication driver.
[0035]
The image data transmission / reception system 100 shown in FIG. 1 includes a first scanner 101 and a second scanner 102 as image data generation devices, and a computer 103 as a computer. The first scanner 101, the second scanner 102, and the computer 103 are connected by a LAN 104. It is assumed that the first scanner 101 and the second scanner 102 are of the same model.
Here, it is assumed that the first scanner 101 has a first TWAIN data source 151, which is an image data processing driver of the first scanner 101 described later, installed in the computer 103, and the second scanner 102 has a It is assumed that a second TWAIN data source 152, which is an image data processing driver of the second scanner 102 described later, is installed in the computer 103. Then, the user transmits image data between the computer 103, the first scanner 101 via the already installed first TWAIN data source 151, and the second scanner 102 via the newly installed second TWAIN data source 152. Is intended to be transmitted and received.
[0036]
As shown in FIG. 1, the first scanner 101 includes a CPU (Central Processing Unit) 110, a ROM (Read Only Memory) 111, a RAM (Random Access Memory) 112, an NVRAM (Non Volatile RAM) 113, and a display. It has a unit 114, an operation unit 115, a scanner unit 116, and a LAN interface (LAN I / F) 118, which are connected to each other by a system bus 119.
[0037]
The CPU 110 is a central processing unit for controlling the first scanner 101. The CPU 110 analyzes an instruction received from the computer 103 and causes a scanner unit 116 described later to provide a scanner function.
[0038]
The ROM 111 is a read-only storage device and constitutes a part of a main storage space used by the CPU 110. The RAM 112 forms a part of a main storage space used by the CPU 110 like the ROM 111, and is a readable / writable volatile storage device. The NVRAM 113 is a non-volatile RAM for storing data that needs to be rewritten.
[0039]
The display unit 114 is a display device that outputs and displays information on a display or the like, and is connected to the system bus 119 via an input / output interface (not shown). The display unit 114 is used to display information regarding various functions of the first scanner 101. The display unit 114 is configured by, for example, a liquid crystal display or the like.
[0040]
The operation unit 115 is an input device provided in the first scanner 101 for performing an input operation from the outside, and is connected to the system bus 119 via an input / output interface (not shown). The operation unit 115 is used to input information regarding various functions of the first scanner 101. The operation unit 115 has, for example, a configuration of an input key in which a predetermined number of push switches are arranged.
The operation unit 115 has a scan button 115a, and when the scan button 115a is pressed, a notification is sent to a computer 103 connected via a LAN interface 118, which will be described later. , A scan command is output to the first scanner 101, and image data generated by the scanner unit 116 described below is transferred from the first scanner 101 to the computer 103.
[0041]
The scanner unit 116 is a device that provides a scanner function for taking an image (image) drawn (printed) on paper or film into a computer, and is connected to the system bus 119 via an input / output interface (not shown). . The scanner unit 116 scans a document set at a predetermined position of the first scanner 101 via the CPU 110 in response to a command transmitted from the computer 103 described later. Then, the image data (raster data) generated based on the scan is transferred to an Imaging Application 156 of the computer 103 via a first TWAIN data source 151 described later.
[0042]
The LAN interface 118 connects to a LAN interface 138 of the computer 103 described later via the LAN 104, and enables data communication between the first scanner 101 and the computer 103, and is used for communication of raster data and the like. Can be In the first embodiment, TCP / IP is applied as a protocol for data communication between the first scanner 101 and the computer 103.
[0043]
The second scanner 102 has a CPU 120, a ROM 121, a RAM 122, an NVRAM 123, a display unit 124, an operation unit 125, a scanner unit 126, and a LAN interface (LAN I / F) 128. Are connected to each other by a system bus 129.
The CPU 120, ROM 121, RAM 122, NVRAM 123, display unit 124, and LAN interface 128 of the second scanner 102 have the same functions as the CPU 110, ROM 111, RAM 112, NVRAM 113, display unit 114, and LAN interface 118 of the first scanner 101, respectively. And the description is omitted.
[0044]
The operation unit 125 is an input device provided in the second scanner 102 for performing an external input operation, and is connected to the system bus 129 via an input / output interface (not shown). The operation unit 125 is used for inputting information regarding various functions of the second scanner 102. The operation unit 125 has, for example, a configuration of an input key in which a predetermined number of push switches are arranged.
The operation unit 125 has a scan button 125a, and by operating the scan button 125a, a notification is sent to the computer 103 connected via the LAN interface 128. A scan command is output to the second scanner 102, and image data generated by the scanner unit 126 described later is transferred from the second scanner 102 to the computer 103.
[0045]
The scanner unit 126 is a device that provides a scanner function for capturing an image (image) drawn (printed) on paper or film into a computer, and is connected to the system bus 129 via an input / output interface (not shown). . The scanner unit 126 scans a document set at a predetermined position of the second scanner 102 via the CPU 120 in response to a command transmitted from the computer 103 described later. Then, the image data (raster data) generated based on the scan is transferred to the Imaging Application 156 of the computer 103 via a second TWAIN data source 152 described later.
[0046]
The computer 103 has a CPU 130, a ROM 131, a RAM 132, an HDD (Hard Disk Drive) 133, a display unit 134, an operation unit 135, a CD-ROM drive 136, and a LAN interface 138. Are connected to each other by a system bus 139. In the computer 103, Microsoft Windows (registered trademark) is activated as an OS.
[0047]
The CPU 130 is a central processing unit for controlling the computer 103. The CPU 130 transmits a command to start scanning or the like to the first scanner 101 or the second scanner 102, or selects / reads an installation program 155 described later from the HDD 133 as appropriate and executes it (see FIGS. 9 to 13). .
[0048]
The ROM 131 is a read-only storage device and forms a part of a main storage space used by the CPU 130, and stores a program for starting up the OS of the computer 103, and the like. The RAM 132 constitutes a part of the main storage space used by the CPU 130 like the ROM 131, and is a readable / writable volatile storage device.
[0049]
The HDD 133 is a readable / writable storage device (hard disk) and its reading device, and includes a first TWAIN data source (image data processing driver of the first scanner 101) 151 and a first STI driver (communication driver of the first scanner 101) 153. , Second TWAIN data source (image data processing driver of second scanner 102) 152, second STI driver (communication driver of second scanner 102) 154, installation program 155, TWAIN data source manager 160, Imaging Application (application) 156, registry In addition to 157, raster data and the like transferred from the first scanner 101 or the second scanner 102 are stored.
[0050]
The first TWAIN data source 151 performs a process of receiving raster data transmitted from the first scanner 101 and transferring the received raster data to an Imaging Application 156 described later. The first TWAIN data source 151 includes a first STI driver 153 described later. The driver software of the first scanner 101 is configured as a pair. Also, the first TWAIN data source 151 has identification information, and the first TWAIN data source 151 setting file (TWAIN DataSourceInformation) in the first TWAIN data source 151 folder (windows \ twain_32 \ BrMfcScn \ BtMFP98LAN folder in FIG. 5). File), and stored as the value of the TWAIN data source name and the value of the STI device name specified in File. The identification information of the first TWAIN data source 151 is specified as a model name in an installer setting file (INI file) used when installing the first TWAIN data source 151. In the first embodiment, the first TWAIN data source 151 is already installed in the HDD 133 of the computer 103.
[0051]
The first STI driver 153 is a communication driver for communication between the first TWAIN data source 151 and a communication port to which the first scanner 101 is connected, which is created in correspondence with Microsoft Windows (registered trademark) as an OS. The driver software of the first scanner 101 is configured in combination with the first TWAIN data source 151 described above. Further, the first STI driver 153 stores the identification information of the first TWAIN data source 151 and the identification information of the communication port to which the first scanner 101 is connected in the STI driver storage area of the registry 157 described later, The association between the first TWAIN data source 151 and the first scanner 101 is performed. In the first embodiment, the first STI driver 153 is already installed in the HDD 133 of the computer 103, and the first STI driver 153 in the storage area for the STI driver in the registry 157 to be described later determined by the OS. The identification information of the first TWAIN data source 151 is stored as an STI device name in the storage area for communication, and the identification information (for example, an IP address) of the communication port to which the first scanner 101 is connected is stored and associated. The first TWAIN data source 151 is communicably connected to a communication port to which the first scanner 101 is connected.
[0052]
The second TWAIN data source 152 is for performing processing of receiving raster data transmitted from the second scanner 102 and transferring the received raster data to an Imaging Application 156 described later, and a second STI driver 154 described later. The driver software of the second scanner 102 is configured as a pair. In addition, the second TWAIN data source 152 has identification information, and a setting file (TWAIN) for the second TWAIN data source 152 in the folder for the second TWAIN data source 152 (windows \ twain_32 \ BrMfcScn \ BtMFP98LAN # 2 folder in FIG. 5). It is stored as the value of the TWAIN data source name (the value of “TwdsName” in FIG. 4) and the value of the STI device name (the value of “StiName” in FIG. 4) specified in the DataSource Information File. The identification information of the second TWAIN data source 152 is specified as a model name in an installer setting file (INI file) used when installing the second TWAIN data source 152. The second TWAIN data source 152 is installed on the HDD 133 of the computer 103 by an installation unit 155e described below.
[0053]
The second STI driver 154 is a communication driver for communication between the second TWAIN data source 152 and a communication port to which the second scanner 102 is connected, which is created in correspondence with Microsoft Windows (registered trademark) which is an OS. The driver software of the second scanner 102 is configured in combination with the above-described second TWAIN data source 152, and is installed by the installation unit 155e. Further, the second scanner 102 using the second TWAIN data source 152 is associated with the identification information of the second TWAIN data source 152 installed by the installation unit 155e. Specifically, the second STI driver 154 determines the STI device name of the storage area for the second STI driver 154 of the registry 157 determined by the OS (“My Computer \ HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Class \ [ 68DD1FC6-810F-11D0-BEC7-80002BE2092F] stores “Basic identification information + # 2” (“BtMFP98LAN # 2”) as the value of “DriverDesc” Key) of “0001”, and is connected to the second scanner 102. A storage area for the IP address of the second scanner 102 which is a storage area for the identification information of the communication port ("My Computer @ HKEY_LOCAL_MACHI" in FIG. 2). E. Store "11.2.33.44" as the value of "IPAddress" Key of "SYSTEM \ CurrentControlSet \ Control \ Class \ [68DD1FC6-810F-11D0-BEC7-08002BE2092F] \ 0001 \ DeviceData". The association is performed, and the second TWAIN data source 152 and the communication port to which the second scanner 102 is connected are communicably connected.
The setting information of the second scanner 102 input by the user is stored in a user setting file (windows \ twain_32 \ BrMfcScn \ BtMFP98LAN # 2 folder of FIG. 5) of the second TWAIN data source 152 shown in FIG. Data source User Setting File) or the storage area of the second STI driver 154 in the registry 157, and the second STI driver 154 associates the setting information of the second scanner 102 with the identification information of the second TWAIN data source 152. ing.
[0054]
The registry 157 is related to the computer 103 in Microsoft Windows (registered trademark) which is an OS (for example, Windows 2000 (registered trademark), Windows XP (registered trademark), Windows Me (registered trademark), Windows 98 (registered trademark), or the like). It is a database that centrally manages all setting information from device driver settings to application settings. The registry 157 has an STI driver storage area and the like.
[0055]
The installation program 155 is a program that installs the second TWAIN data source 152 of the second scanner 102 to be newly connected to the computer 103 and communicably connects the newly connected second scanner 102 and the computer 103. (See FIGS. 9 to 13). The installation program 155 includes an acquisition unit (acquisition unit) 155a, a determination unit (judgment unit) 155b, a change unit (change unit) 155c, a setting unit (setting unit) 155d, and an installation unit (installation unit) 155e. .
[0056]
When installing the second TWAIN data source 152, the acquisition unit 155a acquires the identification information of the first TWAIN data source 151 that has already been installed. Specifically, the acquisition unit 155a searches, for example, the storage area for the STI driver in the registry 157, and identifies the identification information of the first TWAIN data source 151 (for example, “BtMFP98LAN”) stored as the TWAIN data source name. obtain.
[0057]
The determination unit 155b determines whether the identification information of the first TWAIN data source 151 acquired by the acquisition unit 155a at least partially matches the identification information of the second TWAIN data source 152 to be newly installed. Specifically, the determination unit 155b determines the identification information of the first TWAIN data source 151 obtained by the acquisition unit 155a and the second TWAIN specified as the model name in the INI file used when installing the second TWAIN data source 152. The identification information of the data source 152 is compared with the identification information to determine whether at least a part of the information matches. Here, in the first embodiment, since the first scanner 101 and the second scanner 102 are the same model, the second TWAIN specified as the model name in the INI file used when installing the second TWAIN data source 152 is used. The identification information of the data source 152 is the same as the identification information of the first TWAIN data source 151 specified as a model name in the INI file used when installing the first TWAIN data source 151, and the identification information obtained by the acquisition unit 155a. This matches the identification information of the 1TWAIN data source 151.
[0058]
When the determining unit 155b determines that the identification information of the first TWAIN data source 151 at least partially coincides with the identification information of the second TWAIN data source 152 to be newly installed, the changing unit 155c provides the second TWAIN data to be newly installed. The identification information of the source 152 is changed to identification information different from the identification information acquired by the acquisition unit 155a. Specifically, the change unit 155c determines that the identification information of the first TWAIN data source 151 at least partially matches the identification information of the second TWAIN data source 152 to be newly installed by the determination unit 155b, and the second TWAIN data source 152 Is changed to “basic identification information + # 2” (for example, “BtMFP98LAN # 2”). Here, the basic identification information means identification information of the second TWAIN data source 152 specified as a model name in the INI file used when installing the second TWAIN data source 152. In the first embodiment, the rule for changing the identification information is “basic identification information + # number”, but the present invention is not limited to this.
[0059]
When the determining unit 155b determines that the identification information of the first TWAIN data source 151 at least partially coincides with the identification information of the second TWAIN data source 152 to be newly installed, the setting unit 155d sets the second TWAIN data to be newly installed. The identification information of the source 152 is set to the identification information changed by the changing unit 155c. Specifically, the setting unit 155d determines that the identification information of the first TWAIN data source 151 at least partially coincides with the identification information of the second TWAIN data source 152 to be newly installed by the determination unit 155b. The process when the INF file describing the information on the installation of the second TWAIN data source 152 referred to when the second TWAIN data source 152 is installed is not changed, or the process 2 (when the second TWAIN data source 152 is installed). (A process of changing an INF file in which information on installation of the referenced second TWAIN data source 152 is described).
Process 1: (1) TWAIN data source name of the storage area for the second TWAIN data source 152 in the registry 157 shown in FIGS. 2 and 3 (“My Computer \ HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Class \ [68DD1FC6- 810F-11D0-BEC7-08002BE2092F] "Basic identification information + # 2"("BtMFP98LAN") which is the identification information of the second TWAIN data source 152 in which the value of "TwainDS" Key of "0001 @ DeviceData" has been changed by the changing unit 155c. # 2 ”). (2) The TWAIN data source name specified in the setting file for the second TWAIN data source 152 shown in FIG. 4 (corresponding to the TWAIN DataSource Information File stored in the windows \ twain_32 \ BrMfcScn \ BtMFP98LAN # 2 folder in FIG. 5) “Basic identification information + # 2” which is identification information of the second TWAIN data source 152 in which the value of “TwdsName” in FIG. 4 and the value of the STI device name (“StiName” in FIG. 4) have been changed by the changing unit 155c. ("BtMFP98LAN # 2"). (3) Change the folder name where the second TWAIN data source 152 shown in FIG. 5 is installed to "original folder name + # 2"("BtMFP98LAN#2" under windows \ twain_32 \ BrMfcScn).
Process 2: {circle around (1)} TWAIN data source name specified in the INF file that describes information on installation of second TWAIN data source 152 referred to when second TWAIN data source 152 shown in FIG. 6 is installed (see FIG. 6) I) and the STI device name (II in FIG. 6) to “basic identification information + # 2” (“BtMFP98LAN # 2”), which is the identification information of the second TWAIN data source 152 changed by the changing unit 155c. Then, the folder name (part III in FIG. 6) of the installation destination of the second TWAIN data source 152 is changed to “original folder name + # 2” (“BtMFP98LAN # 2” under windows \ twain_32 \ BrMfcScn).
[0060]
The installation unit 155e installs the second TWAIN data source 152 in a TWAIN data source storage area different from the first TWAIN data source 151. Specifically, the installation unit 155e installs the second TWAIN data source 152 in the storage area for the second TWAIN data source 152 while the OS refers to an INF file in which information on installation of the second TWAIN data source 152 is described. Here, the storage area for the second TWAIN data source 152 as the installation destination is a folder for the first TWAIN data source in which the first TWAIN data source 151 is installed ("BtMFP98LAN" under windows \ twain_32 \ BrMfcScn shown in FIG. 5). It is preferable that the folder is a folder for the second TWAIN data source 152 (“BtMFP98LAN # 2” folder under windows \ twain_32 \ BrMfcScn shown in FIG. 5) different from the folder.
When newly installing the second TWAIN data source 152, the installation unit 155e determines at least a part of the contents that can be shared between the second TWAIN data source 152 and the already installed first TWAIN data source 151. It is preferable not to store in different TWAIN data source storage areas. More specifically, the TWAIN DataSource Components 151c of the first TWAIN data source 151 and the TWAIN DataSource Main Components 152c of the second TWAIN data source 152 (see FIG. 8), which will be described later, can be shared. Instead, it is preferable to store and use it in a common TWAIN data source storage area (for example, “Common” folder under windows \ twain_32 \ BrMfcScn shown in FIG. 5).
[0061]
When communicating with the second scanner 102, the selection unit 160a provided in the TWAIN data source manager 160 is configured to transmit the second TWAIN data having identification information associated with the second STI driver 154 communicably connected to the second scanner 102. Select source 152. Specifically, when the user attempts to communicate with the second scanner 102 using the Imaging Application 156, the selection unit 160a firstly sets TWAIN data for managing a first TWAIN data source 151 and a second TWAIN data source 152, which will be described later. By accessing the source manager 160 (see FIG. 8), the data source name, which is the identification name of the first TWAIN data source 151, and the data source name, which is the identification name of the second TWAIN data source 152, are listed on a display unit 134 described later. A data source name (for example, “BtMFP98LAN # 2”) which is an identification name of the second TWAIN data source 152 associated with the second scanner 102 to be displayed and communicated by the user is selected.
[0062]
The Imaging Application 156 is an application that operates on the computer 103 corresponding to the first TWAIN data source 151 and the second TWAIN data source 152, and is installed on the computer 103 by a user. In addition, the Imaging Application 156 receives raster data from the first TWAIN data source 151 or the second TWAIN data source 152.
[0063]
The display unit 134 is a display device that outputs and displays information on a display or the like, and is connected to the system bus 139 via an input / output interface (not shown). The display unit 134 is used to display information on various functions of the computer 103. The display unit 134 includes, for example, a CRT (Cathode Ray Tube) display, a liquid crystal display, or the like.
[0064]
The operation unit 135 is an input device provided in the computer 103 for performing an external input operation, and is connected to the system bus 139 via an input / output interface (not shown). The operation unit 135 is used to input information on various functions of the computer 103. The operation unit 135 includes, for example, a mouse, a keyboard, and the like.
[0065]
The CD-ROM drive 136 is a device for reading data recorded on a CD (Compact Disc), and is connected to the system bus 139 via an input / output interface (not shown). Note that the CD-ROM drive 136 is not an essential component of the computer 103 but may be a floppy (registered trademark) disk (FD) drive or an MO drive.
[0066]
The LAN interface 138 connects to the LAN interface 118 of the first scanner 101 or the LAN interface 128 of the second scanner 102 via the LAN 104, and performs data communication between the computer 103 and the first scanner 101 or the second scanner 102. This is used for communication of raster data and the like.
[0067]
<Configuration of TWAIN data source and STI driver>
Here, the configurations of the above-described TWAIN data source (first TWAIN data source 151 and second TWAIN data source 152) and STI driver (first STI driver 153 and second STI driver 154) will be described in detail below with reference to FIG. I do. FIG. 8 is a configuration diagram of the TWAIN data source and the STI driver according to the first embodiment.
[0068]
The first TWAIN data source 151 includes a TWAIN DataSource FrontEnd 151b and a TWAIN DataSource Main Components 151c. Similarly, the second TWAIN data source 152 also includes a TWAIN DataSource FrontEnd 152b and a TWAIN DataSource Main Components 152c.
[0069]
The TWAIN data source is managed by the TWAIN data source manager 160. The TWAIN data source manager 160 is a program (twain_32.dll) for managing the first TWAIN data source 151 and the second TWAIN data source 152, and is installed in the windows folder shown in FIG. The TWAIN data source manager 160 exchanges commands and data with the Imaging Application 156, and returns a data source name that is identification information of the TWAIN data source by accessing the Imaging Application 156, so that the TWAIN data source can be selected. Have been.
[0070]
The TWAIN DataSource FrontEnd 151b is a program (for example, BrTwdFe.ds) at the entrance of the first TWAIN data source 151 having the identification information of the first TWAIN data source 151, and a folder for the first TWAIN data source 151 (windows_windows \ windows \ windows \ windows \ windows \ windows \ windows \ windows \ windows \ windows \ windows \ windows \ windows \ windows \ windows \ windows \ windows \ windows \ windows \ windows \ windows \ windows \ windows \ windows \ windows \ windows \ windows \ windows \ windows \ windows \ windows \ windows \ windows \ windows \ windows \ windows \ windows \ windows \ windows \ windows32) It is installed in the “BtMFP98LAN” folder under BrMfcScn. The TWAIN DataSource FrontEnd 151b exchanges commands and data with the TWAIN data source manager 160 and the TWAIN DataSource Main Components 151c described later.
The TWAIN DataSource FrontEnd 151b includes a TWAIN data source name, which is an identification name of the first TWAIN data source 151, as a TWAIN DataSource Name Information 151d, an STI Device Name, a STI Device Name Information 151e, a STI Device Name Information 151e, a STI Device Name STIN Information 151e, a TWAIN DataSource Name, which is an identification name of the first TWAIN data source 151. Read from a file (corresponding to TWAIN DataSource Information File stored in the windows \ twain_32 \ BrMfcScn \ BtMFP98LAN folder in FIG. 5). Further, the TWAIN DataSource FrontEnd 151b uses the setting information of the first scanner 101 determined by the user in association with the TWAIN data source name of the first TWAIN data source 151 as a User Setting Data 151f as an INI file for user setting (windows @ twin_twin_twin_twin_twin FIG. 5). BrMfcScn (corresponding to TWAIN DataSource User Setting File) stored in the BtMFP98LAN folder (corresponding to TWAIN DataSource Setting File).
[0071]
Similarly, the TWAIN DataSource FrontEnd 152b is a program (for example, BrTwdFe.ds) at the entrance of the second TWAIN data source 152 having the identification information of the second TWAIN data source 152, and the folder for the second TWAIN data source 152 (windows @ twin @ stwntwn @ twin @ swinMin) "BtMFP98LAN # 2" folder). The TWAIN DataSource FrontEnd 152b exchanges commands and data with the TWAIN DataSource Manager 160 and a TWAIN DataSource Main Components 152c described later.
The TWAIN DataSource FrontEnd 152b includes a TWAIN data source name, which is an identification name of the second TWAIN data source 152, as a TWAIN DataSource Name Information 152d, a STI Device Name information, a STI Device Name, a 152IIN information, and a STI Device Name, a 152IIN information, and a STI device, a 152IIN, a 152I, a 152I, a 152I, a 152I, and a 152I, a 152I, a 152I, a 152I, a 152I, a 152I, a 152I, a 152I, a 152I, a 152I, a 152I, a 152I, and a 152I, a 152I, and a 152A, and a 152C, and a 152I, a 152, and a 152C, respectively. Read from a file (corresponding to TWAIN DataSource Information File stored in the windows \ twain_32 \ BrMfcScn \ BtMFP98LAN # 2 folder in FIG. 5).
Further, the TWAIN DataSource FrontEnd 152b stores the setting information of the second scanner 102 determined by the user as the User Setting Data 152f in association with the TWAIN data source name of the second TWAIN data source 152, in the INI file for user setting (windows \ tWain_32_twain_32_twain_twain_32). Write to or read from a TWAIN DataSource User Setting File stored in the \ BtMFP98LAN # 2 folder.
[0072]
The TWAIN DataSource Main Components 151c is a program for performing the actual work of the first TWAIN data source 151, and is installed in a TWAIN data source folder ("Common" folder under windows \ twain_32 \ BrMfcScn in FIG. 5). The TWAIN DataSource Main Components 151c exchanges commands and data with the TWAIN DataSource FrontEnd 151b and an STI Interface 153a of the first STI driver 153 described later.
Similarly, the TWAIN DataSource Main Components 152c is a program for performing the actual work of the second TWAIN data source 152, and is installed in the TWAIN data source folder (the “Common” folder under windows \ twain_32 \ BrMfcScn in FIG. 5). The TWAIN DataSource Main Components 152c exchanges commands and data with the TWAIN DataSource FrontEnd 152b and an STI Interface 154a of the second STI driver 154 described later.
[0073]
The first STI driver 153 includes an STI interface 153a and an STI driver 153b. Similarly, the second STI driver 154 includes an STI interface 154a and an STI driver 154b. On the OS side, an STI Event Monitor 158 is provided.
[0074]
The STI Interface 153a is an API (Application Program Interface) for making an inquiry to the first scanner 101, giving a command to read data, and serving as a window for a basic part. The STI Interface 153a exchanges commands and data between the TWAIN DataSource Main Components 151c and an STI driver 153b described later. The STI Interface 153a is also activated by an instruction from the Imaging Application 156 or the STI Event Monitor 158. Similarly, the STI interface 154a is an API for making an inquiry to the second scanner 102, giving a command to read data, and providing a window for a basic part. The STI Interface 154a exchanges commands and data between the TWAIN DataSource Main Components 152c and an STI driver 154b described later. The STI interface 154a is also activated by an instruction from the Imaging Application 156 or the STI Event Monitor 158.
[0075]
The STI driver 153b is a driver that performs communication between the first scanner 101 and the STI interface 153a via a device driver 159a described later.
Similarly, the STI driver 154b is a driver that performs communication between the second scanner 102 and the STI interface 154a via a device driver 159b described later.
[0076]
The device driver 159a is a driver that performs actual communication with the first scanner 101 via USB, parallel, network, or the like.
Similarly, the Device Driver 159b is a driver that performs actual communication with the second scanner 102 via USB, parallel, network, or the like.
[0077]
<Operation of image data transmission / reception system>
Next, the operation of the image data transmission / reception system 100 according to the first embodiment will be described with reference to FIGS. FIG. 9 is a flowchart illustrating a procedure of a process of installing a TWAIN data source and an STI driver. FIG. 10 is a flowchart illustrating another procedure for installing the TWAIN data source and the STI driver. FIG. 11 is a flowchart illustrating a procedure of a process of selecting a TWAIN data source. FIG. 12 is a flowchart illustrating the procedure of the process of opening the TWAIN data source. FIG. 13 is a flowchart illustrating the procedure of the scan button operation of the scanner.
[0078]
First, the second TWAIN data source 152 and the second STI according to the first embodiment in the case where the INF file describing the information on the installation of the second TWAIN data source 152 referred to when the second TWAIN data source 152 is installed is not changed. The procedure of the process of installing the driver 154 will be described with reference to FIG. It should be noted that only one of the processing of installing the TWAIN data source and the STI driver shown in FIG. 9 and the processing of installing the TWAIN data source and the STI driver shown in FIG. 10 described later are performed.
[0079]
When the user performs an installation operation of the second TWAIN data source 152 on the second scanner 102, an installation program 155 is started, and first, an installation setting file for the installer for installing the second TWAIN data source 152 and the second STI driver 154 is obtained. The model name “BtMFP98LAN” of the second TWAIN data source 152 to be installed and “BtMFP98LAN” under the installation folder windows \ twain_32 \ BrMfcScn of the second TWAIN data source 152 are acquired (step S101). Then, the basic identification information “BtMFP98LAN” of the second TWAIN data source 152 is generated from the obtained model name (step S102).
[0080]
Next, based on the identification information of the already installed TWAIN data source acquired by the acquisition unit 155a, the determination unit 155b determines that the TWAIN data having identification information that at least partially matches the basic identification information of the second TWAIN data source 152. The number of sources is counted, and 1 is added to this value and stored in ScnCnt (step S103). Here, since the identification information of the first TWAIN data source 151 matches the basic identification information of the second TWAIN data source 152, 2 is stored as the value of ScnCnt. Then, the determination unit 155b determines whether or not there is a TWAIN data source having identification information that at least partially matches the basic identification information of the second TWAIN data source 152, based on whether ScnCnt is greater than 1 ( Step S104).
[0081]
Here, since ScnCnt is 2 and is larger than 1, the determination unit 155b determines that there is a TWAIN data source having identification information that at least partially matches the basic identification information of the second TWAIN data source 152 (step S104: (YES), the changing unit 155c determines, as the identification information, “BtMFP98LAN # 2” obtained by adding “#ScnCnt” to the basic identification information “BtMFP98LAN” of the second TWAIN data source 152 (step S105).
If the determination unit 155b determines that there is no TWAIN data source having identification information that at least partially matches the basic identification information of the second TWAIN data source 152 (step S104: NO), the second TWAIN data source 152 Is determined as the identification information of the second TWAIN data source 152 (step S106). Here, even if the determination unit 155b determines that there is no TWAIN data source having identification information at least partially matching the basic identification information of the second TWAIN data source 152 (step S104: NO), Instead of performing S106, in step S105, the changing unit 155c may determine, as the identification information, “BtMFP98LAN # 1” in which “#ScnCnt” is added to the basic identification information “BtMFP98LAN” of the second TWAIN data source 152.
[0082]
Next, the process shifts from the installation program 155 to processing on the OS side. First, the installation unit 155e automatically starts installation of the second scanner 102 by activating the AddScanner installer on the OS side (step S107). On the scanner name input screen which is a part of the installation process by the AddScanner installer of the OS, the identification information “BtMFP98LAN # 2” of the second TWAIN data source 152 is automatically input as the scanner name (step S108). Subsequently, other processes are performed by the AddScanner installer on the OS side, the installation of the second scanner 102 by the AddScanner installer on the OS side is completed, and the second TWAIN data source 152 and the second STI driver 154 are stored in the HDD 133 (step). S109).
[0083]
When the installation process of the second scanner 102 ends, the process shifts from the process on the OS side to the process of the installation program 155. When the installation process of the second scanner 102 is completed, the setting unit 155d sets the STI driver name (the value of “DriverDesc” Key) and the TWAIN data source name (“DeviceData @ TweinDS” Key) of the STI driver registry information of the second STI driver 154. Is changed to the determined identification information “BtMFP98LAN # 2” (see FIGS. 2 and 3) (step S110). Also, the setting unit 155d changes the TWAIN data source name (TwdsName) and the STI device name (StiName) of the TWAIN DataSource setting file (see FIG. 4) to the determined identification name “BtMFP98LAN # 2” (step S111). . Further, the setting unit 155d adds “#ScnCnt” to “BtMFP98LAN” under the folder name Windows \ twain_32 \ BrMfcScn in which the TWAIN DataSource is installed, and changes the folder name to “BtMFP98LAN # 2” (see FIG. 5). (Step S112).
[0084]
As described above, the process of installing the second TWAIN data source 152 and the second STI driver 154 is completed, and the process proceeds to the process of selecting the TWAIN data source in FIG. 11 or the process of operating the scan button of the scanner in FIG.
[0085]
Next, the second TWAIN data source 152 and the second TWAIN data source 152 according to the first embodiment in the case of changing an INF file describing information on installation of the second TWAIN data source 152 referred to when the second TWAIN data source 152 is installed are described. The procedure of the process of installing the 2STI driver 154 will be described with reference to FIG. Note that only one of the processing of installing the TWAIN data source and the STI driver in FIG. 9 and the processing of installing the TWAIN data source and the STI driver in FIG. 10 are performed.
[0086]
When the user performs an installation operation of the second TWAIN data source 152 on the second scanner 102, an installation program 155 is started, and first, an installation setting file for the installer for installing the second TWAIN data source 152 and the second STI driver 154 is obtained. The model name “BtMFP98LAN” of the second TWAIN data source 152 to be installed and “BtMFP98LAN” under the installation destination folder windows \ twain_32 \ BrMfcScn of the second TWAIN data source 152 are acquired (step S201). Then, the basic identification information “BtMFP98LAN” of the second TWAIN data source 152 is generated from the obtained model name (step S202).
[0087]
Next, based on the identification information of the already installed TWAIN data source acquired by the acquisition unit 155a, the determination unit 155b determines that the TWAIN data having identification information that at least partially matches the basic identification information of the second TWAIN data source 152. The number of sources is counted, and 1 is added to this value and stored in ScnCnt (step S203). Here, since the first TWAIN data source 151 matches the basic identification information of the second TWAIN data source 152, 2 is stored as the value of ScnCnt. Then, the determination unit 155b determines whether or not there is a TWAIN data source having identification information that at least partially matches the basic identification information of the second TWAIN data source 152, based on whether ScnCnt is greater than 1 ( Step S204).
[0088]
Here, since ScnCnt is 2 and is greater than 1, the determination unit 155b determines that there is a TWAIN data source having identification information at least partially matching the basic identification information of the second TWAIN data source 152 (step S204: (YES), the changing unit 155c determines, as the identification information, “BtMFP98LAN # 2” obtained by adding “#ScnCnt” to the basic identification information “BtMFP98LAN” of the second TWAIN data source 152 (step S205).
If the determining unit 155b determines that there is no TWAIN data source having identification information at least partially matching the basic identification information of the second TWAIN data source 152 (step S204: NO), the second TWAIN data source 152 Is determined as the identification information of the second TWAIN data source 152 (step S206). Here, even if the determination unit 155b determines that there is no TWAIN data source having identification information that at least partially matches the basic identification information of the second TWAIN data source 152 (step S204: NO), Instead of performing S206, in step S205, the changing unit 155c may determine, as the identification information, “BtMFP98LAN # 1” in which “#ScnCnt” is added to the basic identification information “BtMFP98LAN” of the second TWAIN data source 152.
[0089]
Next, a necessary portion of the INF file that describes information on the installation of the second TWAIN data source 152 and the STI driver 154, which is referred to when the second TWAIN data source 152 and the STI driver 154 are installed (I and II in FIG. 6). ) Is changed to the identification information “BtMFP98LAN # 2” of the determined second TWAIN data source 152 and STI driver 154 (step S207). 6 is described in an INF file that describes information related to the installation of the second TWAIN data source 152 and the STI driver 154, which is referred to when the second TWAIN data source 152 and the STI driver 154 are installed (part III in FIG. 6). ) Add “#ScnCnt” to “BtMFP98LAN” under the installation folder name Windows \ twain_32 \ BrMfcScn of the second TWAIN data source 152 and change the folder name to “BtMFP98LAN # 2” (step S208).
[0090]
Then, the processing shifts from the installation program 155 to processing on the OS side. In other words, when the OS starts the PnP installer on the OS side, the PnP installer refers to the second TWAIN data source 152 and the second TWAIN data source 152 that are referred to when the STI driver 154 changed in steps S207 and S208 is installed. Then, the installation of the second scanner 102 is automatically executed using an INF file in which information on the installation of the STI driver 154 is described (step S209).
[0091]
As described above, the process of installing the second TWAIN data source 152 and the second STI driver 154 is completed, and the process proceeds to the process of selecting the TWAIN data source in FIG. 11 or the process of operating the scan button of the scanner in FIG.
[0092]
As described above, only one of the process of installing the TWAIN data source and the STI driver in FIG. 9 and the process of installing the TWAIN data source and the STI driver in FIG. 10 are performed. The source and STI driver installation processing is automatically set with reference to an INF file that describes information on the installation of the TWAIN data source, so that the installation processing is simplified, and the TWAIN data source and STI driver shown in FIG. It is desirable that this is performed during the driver installation process.
[0093]
Next, a process of selecting the second TWAIN data source 152 will be described with reference to FIG.
[0094]
First, the common TWAIN data source manager 160 that manages the first TWAIN data source 151 and the second TWAIN data source 152 searches for a file with the extension DS under the windows \ twain_32 folder (step S301). Then, the found DS file (TWAIN DataSource FrontEnd 151b in FIG. 8 stored in the BrMfcScn @ BtMFP98LAN folder shown in FIG. 5 or TWAIN DataSource15 in the TWAIN DataSourceFront in FIG. 8 stored in the BrMfcScn @ BtMFP98LAN # 2 folder) Is loaded (step S302).
[0095]
The loaded DS file is stored in the TWAIN data source INI file (windows \ twain_32 \ BrMfcScn \ BtMFP98LAN folder shown in FIG. 5 in the TWAIN DataSource information file or in the window \ twin_32 \ BmFn in the folder BtwMn. The TWAIN DataSourceUserSetting # in the TWAIN DataSourceUserSettingMFP or in the TWAIN DataSourceUserFileSetting2 in the TWAIN DataSourceUser folder stored in the TWAIN DataSource information file and the user setting INI file (windows \ twain_32 \ BrMfcScn \ BtMFP98LAN folder shown in FIG. 5). The initialization process is started with reference to the existing TWAIN DataSource User Setting file (step S303).
Next, from the INI file for the TWAIN data source, the TWAIN data source name ("BtMFP98LAN" which is a TWAIN DatSource Name Information 151d shown in FIG. 8 or "BtMFP98LAN # 2" shown in the "BtMFP98LAN # 2" shown in FIG. "BtMFP98LAN" which is STI Device Name Information 151e or "BtMFP98LAN" which is STI Device Name Information 152e is acquired (step S304).
Then, the acquired TWAIN data source name is stored in a memory (for example, RAM 132), and the DS file ends the initialization processing (step S305).
[0096]
Next, the TWAIN data source manager 160 stores the DS file loaded in step S302 (TWAIN DataSource FrontEnd 151b or BrMfcScn @ BtMFP98LAN # 2 folder in FIG. 8 stored in the BrMfcScn @ BtMFP98LAN folder shown in FIG. 5). The TWAIN data source name stored in the memory is acquired from the TWAIN DataSource FrontEnd 152b shown in FIG. 8 and added to the list (step S306).
Subsequently, the TWAIN data source manager 160 searches for a DS file existing in another folder under the windows \ twain_32 folder (step S307). Then, it is determined whether a new DS file exists (step S308).
[0097]
In this case, the DS file under the windows \ twain_32 folder is the TWAIN DataSource FrontEnd 151b file stored in the BrMfcScn \ BtMFP98LAN folder shown in FIG. 5 and the DS file is stored in the BrMfcScn \ BtMFP98LAN # 2EntFronTb. Are present, a new DS file (TWINDDataSource FrontEnd 151b stored in the BrMfcScn @ BtMFP98LAN folder shown in FIG. 5 or TWAINDataFront of the TWAINDataFront stored in the BrMfcScn @ BtMFP98LAN # 2 folder shown in FIG. 5). (Step S308: YES), and the process returns to Step S2.
[0098]
When the processing of steps S2 to S7 is completed for the new DS file and it is determined that there is no new DS file (step S308: NO), first, the TWAIN data source manager 160 creates the new DS file in step S306. The list of TWAIN data source names (“BtMFP98LAN” and “BtMFP98LAN # 2”) is displayed on the display unit 134 (step S309). Then, the user selects the TWAIN data source name “BtMFP98LAN # 2” of the second TWAIN data source 152 to be connected from the displayed list of TWAIN data source names (Step S310).
When the selection is made, the selected TWAIN data source name “BtMFP98LAN # 2” is passed from the TWAIN data source manager 160 to the Imaging Application 156 (step S311).
[0099]
Thus, the process of selecting the second TWAIN data source 152 ends, and the process proceeds to the process of opening the TWAIN data source in FIG.
[0100]
Next, an open process of the second TWAIN data source 152 will be described with reference to FIG.
[0101]
First, the TWAIN data source manager 160 generates the second TWAIN data source 152 corresponding to the TWAIN data source name “BtMFP98LAN # 2” existing under the windows \ twain_32 folder specified in the process of selecting the second TWAIN data source 152 in FIG. A DS file is searched (step S401). Then, the found designated DS file, that is, the DS file of the second TWAIN data source 152 (TWAIN DataSource FrontEnd 152b of FIG. 8 stored in the BtMFP98LAN # 2 folder shown in FIG. 5) is loaded (step S402).
[0102]
The loaded DS file of the second TWAIN data source 152 is a TWAIN data source INI file (corresponding to the TWAIN DataSource information file stored in the windows \ twain_32 \ BrMfcScn \ BtMFP98LAN # 2 folder shown in FIG. 5) and user settings. The initialization process is started by referring to the INI file for Windows (corresponding to TWAIN DataSource User Setting file stored in the windows \ twain_32 \ BrMfcScn \ BtMFP98LAN # 2 folder shown in FIG. 5) (step S403).
Next, from the TWAIN data source INI file, the TWAIN data source name (“BtMFP98LAN # 2”, which is the TWAIN DatSource Name Information 152d in FIG. 8) and the STI device name (the “BTMFP98 which is the STI Device Name Information 152e in FIG. (Step S404).
Then, the acquired TWAIN data source name is stored in the memory (for example, the RAM 132), and the initialization processing of the DS file ends (step S405).
[0103]
Next, the TWAIN data source manager 160 issues an open command to the second TWAIN data source 152 (Step S406).
The second TWAIN data source 152 that has received the open instruction includes one or a plurality of files that constitute the TWAIN DataSource Main Components 152c in FIG. ) Is initialized (step S407).
Then, by instructing the OS to open a path capable of communicating with the second scanner 102 using the STI device name acquired in step S404, the STI device uses the STI device name acquired in step S404. A certain second STI driver 154 is created, and a communication path with the second scanner 102 which is a physical device is secured (step S408).
Finally, the second TWAIN data source 152 completes the open processing (Step S409).
[0104]
As described above, the process of opening the second TWAIN data source 152 is completed, and the second TWAIN data source waits for an instruction from the Imaging Application 156.
[0105]
Next, processing of the operation of the scan button of the second scanner 102 will be described with reference to FIG.
[0106]
First, when the user presses the scan button 125a of the second scan 102, which is a physical device (step S501), an event (presses the scan button 125a) of the STI Event Monitor 158 (see FIG. 8) which is a function of the OS of the computer 103 is performed. Is detected (step S502).
[0107]
Upon detection of the event in step S502, the Imaging Application 156, which is an application associated with the event in which the STI Event Monitor 158 has occurred, is activated. At this time, the type of event that has occurred (pressing the scan button 125a) and the STI device name of the scanner 102 (“BtMFP98LAN # 2”) are passed as arguments when the Imaging Application 156 is started (step S503). The application to be associated with the event is determined by the OS.
[0108]
The activated Imaging Application 156 uses the STI interface 154a of the STI driver 154 corresponding to the argument at the time of activation or the STI device name (“BtMFP98LAN # 2”) to determine whether the activation is manual activation by the user or automatic activation by an event. (Step S504), and it is determined whether the activation is due to an event (step S505).
[0109]
If it is determined that the event is activated (step S505: YES), the STI device name (“BtMFP98LAN # 2”) of the second scanner 102, which is the physical device that generated the event checked in step S504, and the type of event (“BtMFP98LAN # 2”) The scan button 125a is pressed (step S506).
Next, the TWAIN data source name (“BtMFP98LAN # 2”) associated with the STI device name (“BtMFP98LAN # 2”) acquired from the registry 157 is acquired using the STI Interface 154a (step S507).
Then, the second TWAIN data source 152, which is the TWAIN data source with the acquired TWAIN data source name ("BtMFP98LAN # 2"), is opened (step S508), and normal processing is performed (step S509).
[0110]
On the other hand, when it is determined that the activation is not due to the event (step S505: NO), the normal processing is performed (step S509).
[0111]
Thus, the processing of the operation of the scan button of the second scanner 102 ends.
[0112]
As described above, according to the image data transmission / reception system 100, the computer 103, the image data transmission / reception method, and the installation program 155 of the first embodiment, the acquisition unit 155a and the determination unit 155b have identification information that at least partially matches. If it is determined that the first TWAIN data source 151 is already installed in the computer 103, the changing unit 155c and the setting unit 155d change the identification information of the second TWAIN data source 152 to be newly installed, and then install the new TWAIN data source 152. Then, the second TWAIN data source 152 is installed in a storage area for the second TWAIN data source different from the first TWAIN data source 151, and the identification information of the second TWAIN data source installed by the second STI driver 154 is installed. 152 that associates the second scanner 102 (see FIG. 9 or FIG. 10).
As a result, when the second TWAIN data source 152 relating to the second scanner 102 having the same model as the first scanner 101 is installed, that is, the second TWAIN data source 152 having identification information at least partially matching the first TWAIN data source 151 is installed. Even in the case of installation, since it can be recognized as an individual scanner associated with each identification information, even in an environment where there are a plurality of scanners using a TWAIN data source having identification information at least partially matching. The image data can be surely transmitted and received between the computer 103 used by the user and the second scanner 102 that wants to transmit and receive the image data by the selection unit 160a (FIGS. 11 and 12 or FIG. 13). reference).
[0113]
Also, the installation unit 155e installs the second TWAIN data source 152 in a second TWAIN data source folder different from the first TWAIN data source 151 (see FIG. 5).
As a result, it is not necessary to perform an operation for not overwriting the second TWAIN data source 152 to be installed, such as changing the name of the data relating to the second TWAIN data source 152 to be installed.
[0114]
Also, the setting unit 155d sets the setting file for the second TWAIN data source 152 (TWAIN DataSource File specified in TWAIN DataSource Information) in the folder for the second TWAIN data source 152 (windows \ twain_32 \ BrMfcScn \ BtMFP98LAN # 2 folder in FIG. 5). The identification information of the second TWAIN data source 152 is stored as the value of the data source name “TwdsName” and the value of the STI device name “StiName” (see FIG. 4).
As a result, it is possible to support a technique (see FIG. 11) for acquiring the identification information stored in the second TWAIN data source 152 folder of the second TWAIN data source 152 like the TWAIN data source manager 160.
[0115]
If the first TWAIN data source 151 having the identification information that at least partially matches the identification information of the newly installed second TWAIN data source 152 is already installed in the computer 103, the setting unit 155d sets the second TWAIN Before installing the data source 152 on the computer 103, the second TWAIN data source described in the INF file that describes information related to the installation of the second TWAIN data source 152 that is referred to when the second TWAIN data source 152 is installed in advance The identification information 152 is rewritten with the changed identification information (see FIG. 10).
As a result, the process of installing the second TWAIN data source 152 by the installation unit 155e is simplified.
[0116]
In addition, when newly installing the second TWAIN data source 152, the installation unit 155e performs at least a part of the contents that can be shared with the already installed first TWAIN data source 151 (for example, TWAIN DataSource Main Components 151c and 152c). Are not stored in different image data processing driver storage areas (see FIGS. 5 and 8).
As a result, the load for storing the TWAIN data source can be reduced.
[0117]
The second STI driver 154 associates the second scanner 102 with the identification information of the second TWAIN data source 152 on a one-to-one basis (see FIGS. 2 and 3).
As a result, when the user connects to the computer 103 from the second scanner 102 (for example, when the scan button 125a provided on the second scanner 102 is pressed, a command for the second scanner 102 is output from the computer 103 and the second scanner 102 When the function of realizing the transfer of the image data from the computer 103 to the computer 103 is used), the computer 103 can identify the connected second scanner 102, and can accurately specify the connection between the second scanner 102 and the computer 103. Can transmit and receive image data (see FIG. 13).
[0118]
Further, the second STI driver 154 stores, in the storage area for the second STI driver 154 in the registry 157, the identification information of the second TWAIN data source 152 and the identification information (such as an IP address) of the communication port to which the second scanner 102 is connected. The association is performed by storing (see FIGS. 2 and 3).
Therefore, the present invention can be easily realized by using the technology of the second STI driver 154 which is a communication driver.
[0119]
[Second embodiment]
<Overall configuration of image data transmission / reception system>
First, an image data transmission / reception system according to the second embodiment will be described with reference to FIG. 14 and FIGS. FIG. 14 is a schematic configuration diagram of an image data transmission / reception system according to the second embodiment.
In the second embodiment, a TWAIN data source is used as an image data processing driver, and an STI driver is used as a communication driver.
[0120]
The image data transmission / reception system 200 shown in FIG. 14 includes a first scanner 201 as an image data generation device and a computer 203 as a computer. The first scanner 201 and the computer 203 are connected by a LAN 204.
Here, as for the first scanner 201, it is assumed that a first TWAIN data source 251 which is an image data processing driver of the first scanner 201, which will be described later, is already installed in the computer 203, and the same as the first TWAIN data source 251. It is assumed that the second TWAIN data source 252 is installed on the computer 203. The user intends to transmit and receive image data between the computer 203 and the first scanner 201 via the first TWAIN data source 251 already installed and the second TWAIN data source 252 newly installed. .
[0121]
As shown in FIG. 14, the first scanner 201 includes a CPU 210, a ROM 211, a RAM 212, an NVRAM 213, a display unit 214, an operation unit 215, a scanner unit 216, a LAN interface (LAN I / F) 218, Which are connected to each other by a system bus 219.
[0122]
The CPU 210, ROM 211, RAM 212, NVRAM 213, display unit 214, operation unit 215, and LAN interface 218 of the first scanner 201 are the CPU 110, ROM 111, RAM 112, NVRAM 113, display unit 114 of the first scanner 101 of the first embodiment. This is the same member as the unit 115 and the LAN interface 118, and a description thereof will be omitted.
[0123]
The scanner unit 216 is a device that provides a scanner function for taking in an image (image) drawn (printed) on paper or film into a computer, and is connected to the system bus 219 via an input / output interface (not shown). . The scanner unit 216 scans a document set at a predetermined position of the first scanner 201 via the CPU 210 according to a command transmitted from the computer 203 described later. Then, the image data (raster data) generated based on the scan is transferred to the Imaging Application 256 of the computer 203 via a first TWAIN data source 251 or a second TWAIN data source 252 described later.
[0124]
The computer 203 includes a CPU 230, a ROM 231, a RAM 232, an HDD 233, a display unit 234, an operation unit 235, a CD-ROM drive 236, and a LAN interface 238, which are mutually connected by a system bus 239. Are combined. In the computer 203, Microsoft Windows (registered trademark) is started as an OS.
[0125]
The CPU 230 is a central processing unit for controlling the computer 203. The CPU 230 transmits a command such as a scan start command to the first scanner 201, and selects / reads an installation program 255, which will be described later, from the HDD 233 as appropriate and executes it (see FIGS. 9 to 13).
[0126]
The ROM 231 and the RAM 232 are the same members as the ROM 131 and the RAM 132 of the first embodiment, and a description thereof will be omitted.
[0127]
The HDD 233 is a readable / writable storage device (hard disk) and its reading device, and includes a first TWAIN data source (image data processing driver of the first scanner 201) 251 and a first STI driver (communication driver of the first scanner 201) 253. , Second TWAIN data source (image data processing driver of second scanner 202) 252, second STI driver (communication driver of second scanner 202) 254, installation program 255, TWAIN data source manager 260, Imaging Application (application) 256, registry In addition to 257, raster data and the like transferred from the first scanner 201 are stored.
[0128]
The first TWAIN data source 251, the first STI driver 253, the Imaging Application 256, and the registry 257 are the same members as the first TWAIN data source 151, the first STI driver 153, the Imaging Application 156, and the registry 157 of the first embodiment, and a description thereof will be omitted. .
[0129]
The second TWAIN data source 252 receives the raster data transmitted from the first scanner 201, and performs a process of passing the received raster data to an Imaging Application 256 described later. The driver software of the first scanner 201 is configured as a pair. Also, the second TWAIN data source 252 has identification information, and is a setting file (TWAIN) for the second TWAIN data source 252 in a folder for the second TWAIN data source 252 (windows \ twain_32 \ BrMfcScn \ BtMFP98LAN # 2 folder in FIG. 5). It is stored as the value of the TWAIN data source name (the value of “TwdsName” in FIG. 4) and the value of the STI device name (the value of “StiName” in FIG. 4) specified in the DataSource Information File. The identification information of the second TWAIN data source 252 is specified as a model name in an installer setting file (INI file) used when installing the second TWAIN data source 252. The second TWAIN data source 252 is installed on the HDD 233 of the computer 203 by an installation unit 255e described later.
[0130]
The second STI driver 254 is a communication driver for communication between the second TWAIN data source 252 and the communication port to which the first scanner 201 is connected, which is created in correspondence with Microsoft Windows (registered trademark) which is an OS. The driver software of the first scanner 201 is configured in combination with the above-described second TWAIN driver 252, and is installed by the installation unit 255e. Further, the first scanner 201 using the second TWAIN data source 252 is associated with the identification information of the second TWAIN data source 252 installed by the installation unit 255e. Specifically, the second STI driver 254 determines the STI device name of the storage area for the second STI driver 254 in the registry 257 determined by the OS (“My Computer \ HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Class \ [ 68DD1FC6-810F-11D0-BEC7-08002BE2092F] stores “Basic identification information + # 2” (“BtMFP98LAN # 2”) as the value of “DriverDesc” Key of “0001”, and the first scanner 201 is connected. A storage area for the IP address of the first scanner 201, which is a storage area for the identification information of the communication port ("My Computer @ HKEY_LOCAL_MACHI" in FIG. 2). E. Store "11.2.33.44" as the value of "IPAddress" Key of "SYSTEM \ CurrentControlSet \ Control \ Class \ [68DD1FC6-810F-11D0-BEC7-08002BE2092F] \ 0001 \ DeviceData". The association is performed, and the second TWAIN data source 252 and the communication port to which the first scanner 201 is connected are communicably connected.
The setting information of the first scanner 201 input by the user is stored in a storage area of the second STI driver 254 in the registry 257 or a user setting file (windows {twain_32} in FIG. 5) of the second TWAIN data source 252 shown in FIG. The setting information of the first scanner 201 and the identification information of the second TWAIN data source 252 are stored in the TWAIN DataSource User Setting File (corresponding to the TWAIN DataSource Setting File) stored in the BtMFP98LAN # 2 folder. .
[0131]
The installation program 255 is a program that newly installs the second TWAIN data source 252 in the computer 203 and connects the first scanner 201 and the computer 203 so that they can communicate with each other (see FIGS. 9 to 13). The installation program 255 includes an acquisition unit (acquisition unit) 255a, a determination unit (judgment unit) 255b, a change unit (change unit) 255c, a setting unit (setting unit) 255d, and an installation unit (installation unit) 255e. .
[0132]
The acquisition unit 255a is the same member as the acquisition unit 155a of the first embodiment, and a description thereof will be omitted.
[0133]
The determination unit 255b determines whether the identification information of the first TWAIN data source 251 acquired by the acquisition unit 255a at least partially matches the identification information of the second TWAIN data source 252 to be newly installed. Specifically, the determination unit 255b determines the identification information of the first TWAIN data source 251 obtained by the acquisition unit 255a and the second TWAIN specified as the model name in the INI file used when installing the second TWAIN data source 252. By comparing with the identification information of the data source 252, it is determined whether or not at least a part matches. Here, in the second embodiment, since the first TWAIN data source 251 and the second TWAIN data source 252 are both image data processing drivers of the first scanner 201, the INI used when installing the second TWAIN data source 252 is used. The identification information of the second TWAIN data source 252 specified as the model name in the file includes the identification information of the first TWAIN data source 251 specified as the model name in the INI file used when installing the first TWAIN data source 251. It is the same, and matches the identification information of the first TWAIN data source 251 obtained by the acquisition unit 255a.
[0134]
The changing unit 255c, the setting unit 255d, and the installing unit 255e are the same members as the changing unit 155c, the setting unit 155d, and the installing unit 155e of the first embodiment, and a description thereof will be omitted.
[0135]
When communicating with the first scanner 201, the selecting unit 260a provided in the TWAIN data source manager 260, when communicating with the first scanner 201, transmits the second TWAIN data having identification information associated with the second STI driver 254 communicably connected to the first scanner 201. Select source 252. Specifically, when the user attempts to communicate with the first scanner 201 using the Imaging Application 256, the selecting unit 260a firstly sets TWAIN data for managing a first TWAIN data source 251 and a second TWAIN data source 252 described later. By accessing the source manager 260 (see FIG. 15), a data source name as an identification name of the first TWAIN data source 251 and a data source name as an identification name of the second TWAIN data source 252 are listed on a display unit 234 described later. The data source name (for example, “BtMFP98LAN # 2”), which is the identification name of the second TWAIN data source 252 associated with the first scanner 201 to be displayed and communicated by the user, is selected.
[0136]
The display unit 234, the operation unit 235, and the CD-ROM drive 236 are the same members as the display unit 134, the operation unit 135, and the CD-ROM drive 136 of the first embodiment, and a description thereof will be omitted.
[0137]
The LAN interface 238 connects to the LAN interface 218 of the first scanner 201 via the LAN 204, and enables data communication between the computer 203 and the first scanner 201, and is used for communication of raster data and the like. Can be
[0138]
<Configuration of TWAIN data source and STI driver>
Here, the configurations of the above-described TWAIN data source (first TWAIN data source 251 and second TWAIN data source 252) and STI driver (first STI driver 253 and second STI driver 254) will be described in detail below with reference to FIG. I do. FIG. 15 is a configuration diagram of the TWAIN data source and the STI driver according to the second embodiment.
[0139]
The first TWAIN data source 251 includes a TWAIN DataSource FrontEnd 251b and a TWAIN DataSource Main Components 251c. Similarly, the second TWAIN data source 252 includes a TWAIN DataSource FrontEnd 252b and a TWAIN DataSource Main Components 252c.
[0140]
Note that the TWAIN data source manager 260 is the same member as the TWAIN data source manager 160 of the first embodiment, and a description thereof will be omitted.
[0141]
The TWAIN DataSource FrontEnd 251b is a program (for example, BrTwdFe.ds) at the entrance of the first TWAIN data source 251 having the identification information of the first TWAIN data source 251, and a folder for the first TWAIN data source 251 (windows32 windows shown in FIG. 5). It is installed in the “BtMFP98LAN” folder under BrMfcScn. The TWAIN DataSource FrontEnd 251b exchanges commands and data with the TWAIN DataSource Manager 260 and a TWAIN DataSource Main Components 251c described later.
Also, the TWAIN DataSource FrontEnd 251b uses the TWAIN data source name, which is the identification name of the first TWAIN data source 251, as the TWAIN DataSource Name Information 251d, the STI Device Name, the STI Device Name Information 251e, and the STI Device Name Information 251e as the TWAIN DataInformation 251e. Read from a file (corresponding to TWAIN DataSource Information File stored in the windows \ twain_32 \ BrMfcScn \ BtMFP98LAN folder in FIG. 5). Further, the TWAIN DataSource FrontEnd 251b uses the setting information of the first scanner 201 determined by the user in association with the TWAIN data source name of the first TWAIN data source 251 as a User Setting Data 251f as an INI file for user setting (windows @ twin_twin in FIG. 5). BrMfcScn (corresponding to TWAIN DataSource User Setting File) stored in the BtMFP98LAN folder (corresponding to TWAIN DataSource Setting File).
[0142]
The TWAIN DataSource FrontEnd 252b is a program (for example, BrTwdFe.ds) at the entrance of the second TWAIN data source 252 having the identification information of the second TWAIN data source 252, and the folder for the second TWAIN data source 252 (“windows \ tWain32” of the second TWAIN_tWain BtMFP98LAN # 2 ”folder). The TWAIN DataSource FrontEnd 252b exchanges commands and data with the TWAIN DataSource Manager 260 and a TWAIN DataSource Main Components 252c described later.
Also, the TWAIN DataSource FrontEnd 252b uses the TWAIN data source name, which is the identification name of the second TWAIN data source 252, as the TWAIN DataSource Name Information 252d, the STI Device Name information, the STI Device Name Information 252E2, the I2STAIN information 252E, the I2STAIN information 252e, and the STI DeviceName2I2TIN2A, and the second data I2I2TAINI2A, the I2I2T2A, the I2I2T1 Read from a file (corresponding to TWAIN DataSource Information File stored in the windows \ twain_32 \ BrMfcScn \ BtMFP98LAN # 2 folder in FIG. 5).
Further, the TWAIN DataSource FrontEnd 252b stores the setting information of the first scanner 201 determined by the user as the User Setting Data 252f in association with the TWAIN data source name of the second TWAIN data source 252, in the INI file for user setting (windows \ tWain_32_tWain_32_tWain_32). Write to or read from a TWAIN DataSource User Setting File stored in the \ BtMFP98LAN # 2 folder.
[0143]
The TWAIN DataSource Main Components 251c and the TWAIN DataSource Main Components 252c are the TWAIN DataSource Main Components 151c and the TWAIN DataSource component of the TWAIN DataSource Main Components 151c and TWAIN DataSource Components of the first embodiment.
[0144]
The first STI driver 253 includes an STI interface 253a and an STI driver 253b. Similarly, the second STI driver 254 includes an STI interface 254a and an STI driver 254b. On the OS side, an STI Event Monitor 258 is provided.
[0145]
The STI Interface 253a is an API for making an inquiry to the first scanner 201, giving a command to read data, and providing a window for a basic part. The STI Interface 253a exchanges commands and data between the TWAIN DataSource Main Components 251c and an STI driver 253b described later. Further, the STI Interface 253a is also activated by an instruction from the Imaging Application 256 or the STI Event Monitor 258.
Similarly, the STI Interface 254a is an API for making an inquiry to the first scanner 201, giving a command to read data, and providing a window for a basic part. The STI Interface 254a exchanges commands and data between the TWAIN DataSource Main Components 252c and an STI driver 254b described later. The STI Interface 254a is also activated by an instruction from the Imaging Application 256 or the STI Event Monitor 258.
[0146]
The STI driver 253b is a driver that performs communication between the first scanner 201 and the STI interface 253a via a device driver 259 described later.
Similarly, the STI driver 254b is a driver that performs communication between the first scanner 201 and the STI Interface 254a via a Device Driver 259 described later.
[0147]
The device driver 259 is a driver that performs actual communication with the first scanner 201 via USB, parallel, network, or the like.
[0148]
<Operation of image data transmission / reception system>
The operation of the image data transmission / reception system 200 according to the second embodiment is the same as the operation of the image data transmission / reception system 100 according to the first embodiment, and a description thereof will be omitted (see FIGS. 9 to 13).
[0149]
As described above, according to the image data transmission / reception system 200, the computer 203, the image data transmission / reception method, and the installation program 255 of the second embodiment, the first STI driver 253 and the second STI driver 254 allow the one first scanner 201 to be connected to the first scanner 201. The identification information of a plurality of image data processing drivers (first TWAIN data source 251 and second TWAIN data source 252) is associated with the identification information of each image data processing driver (first TWAIN data source 251 and second TWAIN data source 252). Each setting information of the first scanner 201 to be associated is determined by the user.
As a result, even for one first scanner 201, setting information about the first scanner 201 set by the user can be stored for each identification information of the first TWAIN data source 251 and the second TWAIN data source 252. (See FIG. 15).
[0150]
[Third embodiment]
<Overall configuration of image data transmission / reception system>
First, an image data transmission / reception system according to the third embodiment will be described with reference to FIG. FIG. 16 is a schematic configuration diagram of an image data transmission / reception system according to the third embodiment.
In the third embodiment, a WIA (Windows Image Acquisition) driver is used as an image data processing driver.
[0151]
The image data transmission / reception system 300 shown in FIG. 16 includes a first scanner 301 and a second scanner 302 as an image data generation device, and a computer 303. The first scanner 301, the second scanner 302, and the computer 303 are connected by a LAN 304. It is assumed that the first scanner 301 and the second scanner 302 are of the same model.
Here, as for the first scanner 301, it is assumed that a first WIA driver 351 which is an image data processing driver of the first scanner 301 described later is already installed in the computer 303, and the second scanner 302 will be described later. The second WIA driver 352 which is an image data processing driver of the second scanner 302 to be installed is installed in the computer 303. Then, the user transmits / receives image data between the computer 303, the first scanner 301 via the already installed first WIA driver 351 and the second scanner 302 via the newly installed second WIA driver 352. Shall be intended.
[0152]
As shown in FIG. 16, the first scanner 301 includes a CPU 310, a ROM 311, a RAM 312, an NVRAM 313, a display unit 314, an operation unit 315, a scanner unit 316, a LAN interface (LAN I / F) 318, and the like. Which are connected to each other by a system bus 319.
[0153]
The CPU 310, the ROM 311, the RAM 312, the NVRAM 313, the display unit 314, the operation unit 315, and the LAN interface 318 of the first scanner 301 are the CPU 110, the ROM 111, the RAM 112, the NVRAM 113, the display unit 114 of the first scanner 101 of the first embodiment. This is the same member as the unit 115 and the LAN interface 118, and a description thereof will be omitted.
[0154]
The scanner unit 316 is a device that provides a scanner function for taking an image (image) drawn (printed) on paper or film into a computer, and is connected to the system bus 319 via an input / output interface (not shown). . The scanner unit 316 scans a document set at a predetermined position of the first scanner 301 via the CPU 310 according to a command transmitted from a computer 303 described later. Then, the image data (raster data) generated based on the scan is transferred to the Imaging Application 356 of the computer 303 via a first WIA driver 351 described later.
[0155]
The second scanner 302 includes a CPU 320, a ROM 321, a RAM 322, an NVRAM 323, a display unit 324, an operation unit 325, a scanner unit 326, and a LAN interface (LAN I / F) 328. Are connected to each other by a system bus 329.
[0156]
The CPU 320 of the second scanner 302, the ROM 321, the RAM 322, the NVRAM 323, the display unit 324, the operation unit 325, and the LAN interface 328 are respectively the CPU 110, the ROM 111, the RAM 112, the NVRAM 113, the display unit 114, the operation unit 125, and the LAN of the first scanner 301. The function is the same as that of the interface 118, and a description thereof will be omitted.
[0157]
The scanner unit 316 is a device that provides a scanner function for taking an image (image) drawn (printed) on paper or film into a computer, and is connected to the system bus 319 via an input / output interface (not shown). . The scanner unit 316 scans a document set at a predetermined position of the first scanner 301 via the CPU 310 according to a command transmitted from a computer 303 described later. Then, the image data (raster data) generated based on the scan is transferred to the Imaging Application 356 of the computer 303 via a first WIA driver 351 described later.
[0158]
The computer 303 has a CPU 330, a ROM 331, a RAM 332, an HDD 333, a display unit 334, an operation unit 335, a CD-ROM drive 336, and a LAN interface 338, and these are mutually connected by a system bus 339. Are combined. In the computer 303, Microsoft Windows (registered trademark) is started as an OS.
[0159]
The CPU 330 is a central processing unit for controlling the computer 303. The CPU 330 transmits a command to start scanning or the like to the first scanner 301 or the second scanner 302, or selects / reads an installation program 355, which will be described later, from the HDD 333 as appropriate and executes the program (see FIGS. 18 and 19). .
[0160]
The ROM 331 and the RAM 332 are the same members as the ROM 131 and the RAM 132 of the first embodiment, and a description thereof will be omitted.
[0161]
The HDD 333 is a readable / writable storage device (hard disk) and its reading device, and includes a first WIA driver (image data processing driver of the first scanner 301) 351 and a second WIA driver (image data processing driver of the second scanner 302). 352, an installation program 355, a TWAIN data source manager 358, an Imaging Application (application) 356, a registry 357, raster data transferred from the first scanner 301 or the second scanner 302, and the like.
[0162]
The first WIA driver 351 receives raster data transmitted from the first scanner 301 and created in correspondence with Microsoft Windows (registered trademark) as an OS, and transfers the received raster data to an Imaging Application 356 described later. The driver is an image data processing driver that performs processing, and is a communication driver that performs communication between the first WIA driver 351 and a communication port to which the first scanner 301 is connected, and forms driver software of the first scanner 301. . The first WIA driver 351 has identification information for recognizing it as a TWAIN data source, and is stored as a device name and a TWAIN data source name in a storage area of the first WIA driver 351 in a registry 357 described later. The identification information for recognizing the first WIA driver 351 as a TWAIN data source is specified as a model name in an installer setting file (INI file) used when installing the first WIA driver 351. In the third embodiment, the first WIA driver 351 is already installed in the HDD 333 of the computer 303. Also, identification information for recognizing the first WIA driver 351 as a TWAIN data source is already stored as a device name in a storage area for the first WIA driver 351 in a storage area for a WIA driver in a registry 357 described later, and The identification information (for example, an IP address) of the communication port to which the first scanner 301 is connected is stored and associated, and the first WIA driver 351 can communicate with the communication port to which the first scanner 301 is connected. It is connected to the.
[0163]
The first WIA driver 351 includes an association unit 351a. The associating unit 351a is a part of the function of the first WIA driver 351 for performing communication between the first WIA driver 351 and the communication port to which the first scanner 301 is connected. Also, the first scanner 301 using the first WIA driver 351 is associated with the identification information for associating the first WIA driver 351 installed by the installation unit 355e as a TWAIN data source. Specifically, the associating unit 351a sets “basic identification information + # 2” (“BtMFP98LAN #”) as the value of the device name (“DriverDesc” Key) of the storage area for the first WIA driver 351 in the registry 357 determined by the OS. 2 ”), and the IP address of the first scanner 301 (“ IPAddress ”Key), which is the storage area for the identification information of the communication port to which the first scanner 301 is connected, is set as the IP address. The first WIA driver 351 and the communication port to which the first scanner 301 is connected are communicably connected.
The setting information of the first scanner 301 input by the user is stored in the storage area of the first WIA driver 351 in the registry 357, and the setting information of the first scanner 301 and the first WIA driver 351 are stored by the first WIA driver 351. And identification information for recognition as a TWAIN data source.
[0164]
The second WIA driver 352 receives raster data transmitted from the second scanner 302 and created in correspondence with Microsoft Windows (registered trademark), which is an OS, and passes the received raster data to an Imaging Application 356 described later. The driver is an image data processing driver for performing processing, and is a communication driver for performing communication between the second WIA driver 352 and a communication port to which the second scanner 302 is connected, and forms driver software for the second scanner 302. . Also, the second WIA driver 352 has identification information for recognizing it as a TWAIN data source, and is stored in the storage area of the second WIA driver 352 in the registry 357 as a device name and a TWAIN data source name. The identification information for recognizing the second WIA driver 352 as a TWAIN data source is specified as a model name in an installer setting file (INI file) used when installing the second WIA driver 352. The second WIA driver 352 is installed on the HDD 333 of the computer 303 by an installation unit 355e described later.
[0165]
Further, the second WIA driver 352 includes an association unit 352a. The associating unit 352a is a part of the function of the second WIA driver 352 for performing communication between the second WIA driver 352 and the communication port to which the second scanner 302 is connected. Also, the second scanner 302 using the second WIA driver 352 is associated with the identification information for associating the second WIA driver 352 installed by the installation unit 355e as the TWAIN data source. Specifically, the associating unit 352a sets “basic identification information + # 2” (“BtMFP98LAN #”) as the value of the device name (“DriverDesc” Key) of the storage area for the second WIA driver 352 in the registry 357 determined by the OS. 2 ”), and the IP address of the second scanner 302 (“ IPAddress ”Key), which is the storage area for the identification information of the communication port to which the second scanner 302 is connected, is set as the IP address. Is stored, and the second WIA driver 352 and the communication port to which the second scanner 302 is connected are communicably connected.
The setting information of the second scanner 302 input by the user is stored in the storage area of the second WIA driver 352 in the registry 357, and the setting information of the second scanner 302 and the second WIA driver 352 are stored by the second WIA driver 352. And identification information for recognition as a TWAIN data source.
[0166]
The installation program 355 is a program that installs the second WIA driver 352 of the second scanner 302 to be newly connected to the computer 303 and connects the newly connected second scanner 302 and the computer 303 so that they can communicate with each other ( 18 to 19). The installation program 355 includes an acquisition unit (acquisition unit) 355a, a determination unit (judgment unit) 355b, a change unit (change unit) 355c, a setting unit (setting unit) 355d, and an installation unit (installation unit) 355e. .
[0167]
When installing the second WIA driver 352, the obtaining unit 355a obtains identification information for causing the already installed first WIA driver 351 to be recognized as a TWAIN data source. Specifically, the acquisition unit 355a searches, for example, the storage area for the WIA driver in the registry 357, and recognizes the first WIA driver 351 stored as the device name and the TWAIN data source name as the TWAIN data source. The identification information (for example, “BtMFP98LAN”) is obtained.
[0168]
The determining unit 355b determines that the identification information for causing the first WIA driver 351 acquired by the acquiring unit 355a to be recognized as the TWAIN data source is at least one of the identification information for causing the newly installed second WIA driver 352 to be recognized as the TWAIN data source. It is determined whether the parts match. Specifically, the determination unit 355b determines the identification information for recognizing the first WIA driver 351 obtained by the acquisition unit 355a as a TWAIN data source, and the model name in the INI file used when installing the second WIA driver 352. By comparing the specified second WIA driver 352 with identification information for recognizing the second WIA driver 352 as a TWAIN data source, it is determined whether at least a part of them matches. Here, in the third embodiment, since the first scanner 301 and the second scanner 302 are of the same model, the second WIA driver specified as the model name in the INI file used when installing the second WIA driver 352 is used. The identification information for recognizing 352 as a TWAIN data source is the identification information for recognizing the first WIA driver 351 specified as a model name in the INI file used when installing the first WIA driver 351 as a TWAIN data source. This is the same as the identification information for causing the first WIA driver 351 obtained by the acquisition unit 355a to be recognized as a TWAIN data source.
[0169]
The changing unit 355c determines that the identification information for recognizing the first WIA driver 351 as a TWAIN data source is at least partially identical to the identification information for recognizing the second WIA driver 352 to be newly installed as a TWAIN data source by the determination unit 355b. If it is determined, the identification information for causing the newly installed second WIA driver 352 to be recognized as a TWAIN data source is changed to identification information different from the identification information acquired by the acquisition unit 355a. Specifically, the changing unit 355c includes, by the determining unit 355b, the identification information for causing the first WIA driver 351 to be recognized as the TWAIN data source, and the identification information for causing the newly installed second WIA driver 352 to be recognized as the TWAIN data source. It is determined that at least a part matches, and the identification information for recognizing the second WIA driver 352 as a TWAIN data source is changed to “basic identification information + # 2” (for example, “BtMFP98LAN # 2”). Here, the basic identification information means identification information for recognizing the second WIA driver 352 specified as a model name in the INI file used when installing the second WIA driver 352 as a TWAIN data source. . In the third embodiment, the rule for changing the identification information is “basic identification information + # number”, but the present invention is not limited to this.
[0170]
The setting unit 355d determines that the identification information for causing the determination unit 355b to recognize the first WIA driver 351 as a TWAIN data source is at least one of the identification information for causing the newly installed second WIA driver 352 to be recognized as a TWAIN data source. If it is determined that the units match, the identification information for causing the newly installed second WIA driver 352 to be recognized as the TWAIN data source is set to the identification information changed by the changing unit 333c. Specifically, the setting unit 355d sets the identification information for causing the determination unit 355b to recognize the first WIA driver 351 as a TWAIN data source, and the identification information for causing the newly installed second WIA driver 352 to recognize as a TWAIN data source. It is determined that at least a part matches, and the following processing 1 (processing in the case where the INF file describing the information on the installation of the second WIA driver 352 referred to when the second WIA driver 352 is installed is not changed) or processing 2 (Processing for changing an INF file describing information related to the installation of the second WIA driver 352 referred to when the second WIA driver 352 is installed).
Process 1: The value of the driver name (“DeviceDesc” Key) and the value of the TWAIN data source name (“TwainDS” Key) in the storage area for the second WIA driver 352 in the registry 157 are changed by the changing unit 155c to the second WIA driver 352. It is set to “basic identification information + # 2” (“BtMFP98LAN # 2”), which is identification information for recognition as a TWAIN data source.
Process 2: the second WIA in which the device name and the TWAIN data source name specified in the INF file describing the information on the installation of the second WIA driver 352 referred to when the second WIA driver 352 is installed are changed by the changing unit 355c. The driver 352 is changed to “basic identification information + # 2” (“BtMFP98LAN # 2”), which is identification information for causing the driver 352 to be recognized as a TWAIN data source.
[0171]
The installation unit 355e installs the second WIA driver 352 in a WIA driver storage area different from the first WIA driver 351. Specifically, the installation unit 355e installs the second WIA driver 352 in the storage area for the second WIA driver 352 while the OS refers to an INF file in which information on installation of the second WIA driver 352 is described.
[0172]
When communicating with the second scanner 302, the selecting unit 370a provided in the TWAIN data source manager 370 is associated with the second scanner 302 by the associating unit 352a of the second WIA driver communicably connected to the second scanner 302. Then, the second WIA driver 352 having the identification information to be recognized as the TWAIN data source is selected. Specifically, when the user attempts to communicate with the second scanner 302 using the Imaging Application 356, the selection unit 370a first accesses the TWAIN data source manager 370 (see FIG. 17) described later and A TWAIN data source name, which is an identification name for recognizing the first WIA driver 351 obtained from the inside of the first WIA driver 351 as a TWAIN data source, and a TAIN data source name, an identification name for recognizing the second WIA driver 352 as a TWAIN data source, will be described later. A TWAIN data source name (which is an identification name for recognizing the second WIA driver 352 associated with the second scanner 302 with which the user performs communication by the user as a TWAIN data source. For example, “WIA-BtMFP98LAN # 2” is selected.
[0173]
The Imaging Application 356 is an application that operates on the computer 303 corresponding to the TWAIN data source, and is installed on the computer 303 by the user. Further, the Imaging Application 356 receives raster data from the first WIA driver 351 or the second WIA driver 352.
[0174]
The registry 357 is related to the computer 303 in Microsoft Windows (registered trademark) which is an OS (for example, Windows 2000 (registered trademark), Windows XP (registered trademark), Windows Me (registered trademark), Windows 98 (registered trademark), or the like). It is a database that centrally manages all setting information from device driver settings to application settings. The registry 357 has a storage area for a WIA driver and the like.
[0175]
The display unit 334, the operation unit 335, the CD-ROM drive 336, and the LAN interface 338 are the same members as the display unit 134, the operation unit 135, the CD-ROM drive 136, and the LAN interface 118 of the first embodiment, and the description thereof will be omitted. Is omitted.
[0176]
<Configuration of WIA driver>
Here, the configuration of the WIA driver (the first WIA driver 351 and the second WIA driver 352) will be described in detail below with reference to FIG. FIG. 17 is a configuration diagram of a WIA driver according to the third embodiment.
[0177]
The TWAIN data source manager 370 is a program that can communicate with a WIA Service 360, which will be described later, and realizes access from the Image Application 356 to the scanners 301 and 302 via the WIA drivers 351 and 352, and includes a first WIA driver 351 and a second WIA. This is a program (twain_32.dll) for recognizing the driver 352 as a TWAIN data source. The Imaging Application 356 exchanges commands and data only with the TWAIN data source manager 370. Further, the TWAIN data source manager 370 is configured to return a TWAIN data source name, which is identification information for causing the WIA driver to be recognized as a TWAIN data source, by accessing the Imaging Application 356, and to select a TWAIN data source. (Selection unit 370a).
[0178]
The WIA Service 360 is a program that performs all operations on the first scanner 301 and the second scanner 302 via the WIA drivers 351 and 352, and can be managed by the TWAIN data source manager 370. The WIA Service 360 exchanges commands and data with WIA drivers 351 and 352 described later, identifies the first WIA driver 351 as a TWAIN data source, and identifies the second WIA driver 352 with a TWAIN data source. Is input as the value of the driver name ("DeviceDesc" Key) and the value of the TWAIN data source name ("TwainDS" Key) of the respective WIA driver storage areas of the registry 357.
[0179]
The WIA driver 351 is a driver that performs communication between the first scanner 301 and the WIA Service 351a (352a) via a Device Driver 359a described later.
Similarly, the WIA driver 352 performs communication between the second scanner 302 and the WIA Service 351a (352a) via a Device Driver 359b described later.
[0180]
The Device Driver 359a is a driver that performs actual communication with the first scanner 301 via USB, parallel, network, or the like.
Similarly, the Device Driver 359b is a driver that performs actual communication with the second scanner 302 via USB, parallel, network, or the like.
[0181]
<Operation of image data transmission / reception system>
Next, an operation of the image data transmission / reception system 300 according to the third embodiment will be described with reference to FIGS. FIG. 18 is a flowchart illustrating a procedure of a process of installing a WIA driver. FIG. 19 is a flowchart illustrating a procedure of another process of installing the WIA driver.
[0182]
First, the procedure of the process of installing the second WIA driver 352 according to the third embodiment in the case where the INF file describing the information on the installation of the second WIA driver 352 referred to when the second WIA driver 352 is installed is not changed. Will be described with reference to FIG. Note that only one of the WIA driver installation process of FIG. 18 and the WIA driver installation process of FIG. 19 described below is performed.
[0183]
When the user performs the installation operation of the second WIA driver 352 on the second scanner 302, the installation program 355 is started, and first, the second WIA driver 352 to be installed is installed from the installer setting file of the installer for installing the second WIA driver 352. The model name “BtMFP98LAN” is acquired (step S601). Then, from the obtained model name, the basic identification information “BtMFP98LAN” for recognizing the second WIA driver 352 as a TWAIN data source is generated (step 602).
[0184]
Next, based on the identification information for recognizing the installed WIA driver as the TWAIN data source acquired by the acquisition unit 355a, the basic identification for the determination unit 355b to recognize the second WIA driver 352 as the TWAIN data source. The number of WIA drivers having identification information that at least partially matches the information is counted, 1 is added to this value, and the value is stored in ScnCnt (step S603). Here, since the identification information for recognizing the first WIA driver 351 as a TWAIN data source matches the basic identification information for recognizing the second WIA driver 352 as a TWAIN data source, 2 is stored as the value of ScnCnt. Then, the determination unit 355b determines, based on whether ScnCnt is greater than 1 or not, identification information for causing the second WIA driver 352 to be recognized as a TWAIN data source that at least partially coincides with basic identification information for making it recognized as a TWAIN data source. It is determined whether or not there is a WIA driver having the same (step S604).
[0185]
Here, since ScnCnt is 2 and is larger than 1, identification information for causing the determination unit 355b to recognize the second WIA driver 352 as a TWAIN data source that at least partially coincides with identification information for causing the second WIA driver 352 to be recognized as a TWAIN data source. Is determined to exist (step S604: YES), and "BtMFP98LAN #" is obtained by adding "#ScnCnt" to the basic identification information "BtMFP98LAN" for causing the changing unit 355c to recognize the second WIA driver 352 as a TWAIN data source. "2" is determined as the identification information (step S605).
The determining unit 355b has determined that there is no WIA driver having identification information for recognizing the second WIA driver 352 as a TWAIN data source that at least partially matches basic identification information for recognizing the second WIA driver 352 as a TWAIN data source. In this case (step S604: NO), the basic identification information for recognizing the second WIA driver 352 as a TWAIN data source is determined as the identification information for recognizing the second WIA driver 352 as a TWAIN data source (step S606). Here, the determination unit 355b determines that there is no WIA driver having identification information for recognizing the second WIA driver 352 as a TWAIN data source that at least partially matches basic identification information for recognizing the second WIA driver 352 as a TWAIN data source. In this case (step S604: NO), step S606 is not performed. In step S605, the changing unit 155c adds “#ScnCnt” to the basic identification information “BtMFP98LAN” for causing the second WIA driver 352 to recognize the TWAIN data source. "" May be determined as the identification information.
[0186]
Next, the processing shifts from the installation program 355 to processing on the OS side. First, when the OS starts the AddScanner installer on the OS side, the installation of the second scanner 302 is automatically started (step S607). Subsequently, other processing is performed by the AddScanner installer on the OS side, the installation of the second scanner 302 by the AddScanner installer on the OS side is completed, and the second WIA driver 352 is stored in the HDD 333 (step S608).
[0187]
When the installation process of the second scanner 302 ends, the process shifts from the process on the OS side to the process of the installation program 355. Upon receiving the notification of the end of the installation processing of the second scanner 302, the setting unit 355d sets the driver name (the value of “DriverDesc” Key) of the registry information for the WIA driver of the second STI driver 354 and the TwainDS (“DeviceData @ TweenDS” Key). ) Is changed to the determined identification information “BtMFP98LAN # 2” (step S609).
[0188]
As described above, the process of installing the second WIA driver 352 is completed, and the process proceeds to the process of selecting a scanner associated with the WIA driver by the user or the process of operating the scan button of the scanner.
[0189]
Next, the process of installing the second WIA driver 352 according to the third embodiment in the case of changing the INF file describing the information on the installation of the second WIA driver 352 referred to when the second WIA driver 352 is installed is changed. The procedure will be described with reference to FIG. Note that only one of the process of installing the WIA driver in FIG. 18 and the process of installing the WIA driver in FIG. 19 is performed.
[0190]
When the user installs the second WIA driver 352 for the user second scanner 302, the installation program 355 is started. First, a model of the second WIA driver 352 to be installed from the installer setting file of the installer for installing the second WIA driver 352. The name “BtMFP98LAN” is acquired (step S701). Then, based on the acquired model name, basic identification information “BtMFP98LAN” for causing the second WIA driver 352 to be recognized as a TWAIN data source is generated (step S702).
[0191]
Next, based on the identification information for recognizing the installed WIA driver as the TWAIN data source acquired by the acquisition unit 355a, the basic identification for the determination unit 355b to recognize the second WIA driver 352 as the TWAIN data source. The number of WIA drivers having identification information for causing the information to be recognized as a TWAIN data source that at least partially matches the information is counted, 1 is added to this value, and the value is stored in ScnCnt (step S703). Here, since the identification information for recognizing the first WIA driver 151 as a TWAIN data source matches the basic identification information for recognizing the second WIA driver 352 as a TWAIN data source, 2 is stored as the value of ScnCnt. Then, the determination unit 355b determines, based on whether ScnCnt is greater than 1 or not, identification information for causing the second WIA driver 352 to be recognized as a TWAIN data source that at least partially coincides with basic identification information for making it recognized as a TWAIN data source. It is determined whether or not there is a WIA driver having the same (step S704).
[0192]
Here, since ScnCnt is 2 and is larger than 1, the identification unit 355b identifies the second WIA driver 352 as a TWAIN data source that at least partially coincides with the basic identification information for identifying the second WIA driver 352 as a TWAIN data source. It is determined that there is a WIA driver having information (step S704: YES), and "BtMFP98LAN" is obtained by adding "#ScnCnt" to basic identification information "BtMFP98LAN" for causing the changing unit 355c to recognize the second WIA driver 352 as a TWAIN data source. "# 2" is determined as the identification information (step S705).
The determining unit 355b has determined that there is no WIA driver having identification information for recognizing the second WIA driver 352 as a TWAIN data source that at least partially matches basic identification information for recognizing the second WIA driver 352 as a TWAIN data source. In this case (step S704: NO), the basic identification information for causing the second WIA driver 352 to be recognized as the TWAIN data source is determined as the identification information of the second TWAIN data source 152 (step S706). Here, the determination unit 355b determines that there is no WIA driver having identification information for recognizing the second WIA driver 352 as a TWAIN data source that at least partially matches basic identification information for recognizing the second WIA driver 352 as a TWAIN data source. In this case (step S704: NO), step S706 is not performed, and in step S705, the changing unit 155c includes “#ScnCnt” in the basic identification information “BtMFP98LAN” for causing the second WIA driver 352 to recognize the TWAIN data source. "" May be determined as the identification information.
[0193]
Next, the necessary portion of the INF file describing the information on the installation of the second WIA driver 352 referred to when the second WIA driver 352 is installed is changed to the identification information “BtMFP98LAN # 2” of the determined second WIA driver 352. (Step S707).
[0194]
Then, the processing shifts from the installation program 355 to processing on the OS side. That is, when the OS starts the PnP installer on the OS side, the PnP installer describes the information related to the installation of the second WIA driver 352 that is referred to when the second WIA driver 352 changed in step S707 is installed. The installation of the second scanner 302 is automatically executed by using (step S708).
[0195]
As described above, the process of installing the second WIA driver 352 is completed, and the process proceeds to the process of selecting a scanner associated with the WIA driver by the user or the process of operating the scan button of the scanner.
[0196]
As described above, only one of the process of installing the WIA driver in FIG. 18 and the process of installing the WIA driver in FIG. 19 is performed. However, the process of installing the WIA driver in FIG. Since the setting is performed automatically with reference to the INF file in which the information on the installation of the WIA driver is described, the installation process is simplified, and it is desirable that the installation process is performed in the WIA driver installation process shown in FIG.
[0197]
As described above, according to the image data transmission / reception system 300, the computer 303, the image data transmission / reception method, and the installation program 355 of the third embodiment, the acquisition unit 355a and the determination unit 355b serve as a TWAIN data source that at least partially matches. If it is determined that the first WIA driver 351 having the identification information for recognition is already installed in the computer 303, the change unit 355c and the setting unit 355d recognize the first WIA driver 351 as the TWAIN data source of the newly installed second WIA driver 352. The second WIA driver 352 is installed in the second WIA driver storage area different from the first WIA driver 351 by the installation unit 355e after the identification information for causing the Associates identification information for recognizing the first 2WIA driver 352 as TWAIN data source and the second scanner 302 (see FIG. 18 or FIG. 19).
As a result, when the second WIA driver 352 for the second scanner 302 having the same model as the first scanner 301 is installed, that is, TWAIN at least partially matching the identification information for causing the first WIA driver 351 to be recognized as a TWAIN data source. Even when the second WIA driver 352 having the identification information for making it recognized as the data source is installed, it can be recognized as an individual scanner associated with each identification information. Even in an environment where there are a plurality of scanners using a TWAIN data source having information, the image data can be reliably transmitted between the computer 303 used by the user and the second scanner 302 trying to transmit and receive the image data by the selection unit 370a. Sending and receiving It can be.
[0198]
Also, the first WIA driver 351 having the identification information for recognizing the newly installed second WIA driver 352 as a TWAIN data source that at least partially matches the identification information for recognizing the TWAIN data source is already installed in the computer 303. In this case, the setting unit 355d changes the identification information for recognizing the second WIA driver 352 as the TWAIN data source described in the INF file before installing the second WIA driver 352 in the computer 303. Has been rewritten to the identification information.
As a result, the process of installing the second WIA driver 352 by the installation unit 355e is simplified.
[0199]
In addition, the associating unit 354 associates the second scanner 302 with identification information for causing the second WIA driver 352 to recognize the second scanner 302 as a TWAIN data source, on a one-to-one basis.
As a result, when the user connects to the computer 303 from the second scanner 302 (for example, when the scan button 325a provided on the second scanner 302 is pressed, a command to the second scanner 302 is output from the computer 303, and the second scanner 302 In the case where the function of realizing the transfer of the image data from the computer 303 to the computer 303 is used, the connected second scanner 302 can be specified by the computer 303, and the communication between the second scanner 302 and the computer 303 can be accurately performed. Can transmit and receive image data.
[0200]
Further, the associating unit 354 stores, in the storage area for the second WIA driver 352 in the registry 357, identification information for making the second WIA driver 352 recognize as a TWAIN data source and identification information for the communication port to which the second scanner 302 is connected ( (An IP address, etc.).
Therefore, the present invention can be easily realized by using the technology of the second WIA driver 352 which is also a communication driver.
[0201]
The preferred embodiment of the present invention has been described above. However, the present invention is not limited to the above-described embodiment, and various changes can be made within the scope of the claims.
[0202]
In the image data transmission / reception systems 100, 200, and 300 of the above-described embodiment, the image data generation device connected in advance is one of the first scanners 101, 201, and 301, but is not limited thereto. For example, the present invention is also applied to a case where there are a plurality of image data generation devices connected in advance. If there are a plurality of image data generating apparatuses, the acquiring units 155a, 255a, and 355a of the installation programs 155, 255, and 355 obtain identification information of the plurality of image data generating apparatuses connected in advance. .
[0203]
In the image data transmission / reception systems 100 and 200 of the above-described embodiments, the TWAIN data source is used as the image data processing driver, and the STI driver is used as the communication driver. However, the present invention is not limited to this. For example, the present invention can be applied to a case where a TWAIN data source is used as an image data processing driver and a communication driver.
[0204]
Further, in the image data transmission / reception systems 100, 200, and 300 of the above-described embodiment, the object of the scanner selection performed by the user is associated with the second scanner 102 and the second TWAIN data source 252 associated with the second TWAIN data source 152. The first scanner 201 is the second scanner 302 associated with the second WIA driver 352, but is not limited thereto. For example, in the present invention, the user is associated with the first scanner 101 associated with the pre-installed first TWAIN data source 151, the first scanner 201 associated with the first TWAIN data source 251, and the first WIA driver 351. The present invention can be applied to a case where the first scanner 301 is selected.
[0205]
Further, in the image data transmission / reception systems 100, 200, and 300 of the above-described embodiment, Microsoft Windows is installed as the OS of the computers 103, 203, and 303, but is not limited thereto. For example, a MAC (registered trademark) OS may be installed. In the case of the MAC (registered trademark) OS, resources are applied instead of the registry.
[0206]
In addition, the acquisition units 155a and 255a in the image data transmission / reception systems 100 and 200 of the above-described embodiments acquire the identification information of the TWAIN data source by searching the storage area for the STI driver in the registry, but are not limited thereto. For example, the identification information of the TWAIN data source may be acquired from an INI file (see FIG. 4) stored in a folder under windows \ twain_32 \ BrMfcScn in FIG.
[0207]
Furthermore, in the image data transmission / reception systems 100, 200, and 300 of the above-described embodiments, a scanner is applied as an image generation device, but the invention is not limited thereto. For example, a digital camera may be used.
[0208]
【The invention's effect】
As described above, according to claims 1, 12, 13, and 14, when an image data processing driver having identification information that at least partially matches is already installed in a computer, newly installed image data processing driver After changing the identification information of the driver, the image data processing drivers are installed in different image data processing driver storage areas, and the identification information of the installed image data processing driver is associated with one image data generation device. Therefore, even when an image data processing driver having at least a part of matching identification information is installed, such as when an image data processing driver for an image data generating apparatus of the same model is installed, the image data processing driver is associated with each identification information. The computer and the image used by the user can be recognized even in an environment where there are a plurality of image data generation devices that use the interface driver having the identification information that at least partially coincides with each other. Image data can be reliably transmitted and received to and from the image data generation device that wants to transmit and receive data.
[0209]
According to claim 2, each image data processing driver is installed in a different image data processing driver folder. Therefore, it is not necessary to perform an operation for changing the name of the image data processing driver to be installed, such as changing the name, so as not to overwrite the image data processing driver to be installed.
[0210]
According to the third aspect, the identification information of the image data processing driver is stored in the image data processing driver folder. Therefore, it is possible to cope with a technique for acquiring the identification information stored in the image data processing driver folder of the image data processing driver like the TWAIN data source manager.
[0211]
According to the fourth aspect, when the image data processing driver having the identification information at least partially matching the identification information of the image data processing driver to be newly installed is already installed in the computer, the image data processing driver is installed in the computer. Before this, the identification information of the image data processing driver described in advance in the INF file is rewritten with the changed identification information. Therefore, the process of installing the image data processing driver is simplified.
[0212]
According to the fifth aspect, when a new image data processing driver is installed, at least a part of the contents that can be shared with the already installed image data processing driver is stored in different image data processing driver storage areas. Not. Therefore, the load for storing the image data processing driver can be reduced.
[0213]
According to the sixth aspect, the image data generating apparatus and the identification information of the image data processing driver are associated one-to-one. Therefore, when the user connects to the computer from the image data generation device (for example, when a button provided on the image data generation device is pressed, a command to the image data generation device is output from the computer, and the image data generation device sends the command to the computer. In the case of using the function of realizing the transfer of image data), the computer can identify the connected image data generating device, and can accurately transmit and receive the image data between the image data generating device and the computer. It can be carried out.
[0214]
According to claim 7, identification information of a plurality of image data processing drivers is associated with one image data generation device, and each setting information of the image data generation device associated with identification information of each image data processing driver is set by a user. Has been determined. Therefore, even with one image data generation device, setting information on the image data generation device set by the user can be stored for each piece of identification information.
[0215]
According to the eighth aspect, the association is performed by storing the identification information of the image data processing driver and the identification information of the communication port in the communication driver storage area of the communication driver. Therefore, the present invention can be easily realized by using the technology of the communication driver.
[0216]
According to the ninth aspect, the present invention can be applied to an environment using an STI driver as a communication driver.
[0219]
According to the tenth aspect, the present invention can be applied to an environment using a TWAIN data source as an image data processing driver.
[0218]
According to claim 11, the present invention is applied to an environment in which a WIA driver is used as an image data processing driver, and the WIA driver is used as identification information for recognizing the WIA driver as a TWAIN data source as identification information of the image data processing driver. be able to.
[Brief description of the drawings]
FIG. 1 is a schematic configuration diagram of an image data transmission / reception system according to a first embodiment.
FIG. 2 is a diagram showing a storage area for a second TWAIN data source and a storage area for a second STI driver in a registry.
FIG. 3 is a diagram showing a storage area for a second TWAIN data source and a storage area for a second STI driver in the registry.
FIG. 4 is a diagram showing an example of a setting file for a second TWAIN data source.
FIG. 5 is a diagram showing an example of a second TWAIN data source folder.
FIG. 6 is a diagram illustrating an example of an INF file in which information on installation of a second TWAIN data source is described.
FIG. 7 is a diagram showing an example of a user setting file for a second TWAIN data source.
FIG. 8 is a configuration diagram of a TWAIN data source and an STI driver according to the first embodiment.
FIG. 9 is a flowchart illustrating a procedure of a process of installing a TWAIN data source and an STI driver.
FIG. 10 is a flowchart illustrating another procedure for installing a TWAIN data source and an STI driver.
FIG. 11 is a flowchart illustrating a procedure of a process of selecting a TWAIN data source.
FIG. 12 is a flowchart illustrating a procedure of processing for opening a TWAIN data source.
FIG. 13 is a flowchart illustrating a procedure of a scan button operation of the scanner.
FIG. 14 is a schematic configuration diagram of an image data transmission / reception system according to a second embodiment.
FIG. 15 is a configuration diagram of a TWAIN data source and an STI driver according to the second embodiment.
FIG. 16 is a schematic configuration diagram of an image data transmission / reception system according to a third embodiment.
FIG. 17 is a configuration diagram of a WIA driver according to a third embodiment.
FIG. 18 is a flowchart illustrating a procedure of a process of installing a WIA driver.
FIG. 19 is a flowchart illustrating a procedure of another process of installing a WIA driver.
[Explanation of symbols]
100 Image data transmission / reception system
101 first scanner (image data generation device)
102 second scanner (image data generation device)
103 Computer
151 First TWAIN Data Source (Image Data Processing Driver)
152 Second TWAIN Data Source (Image Data Processing Driver)
153 1st STI driver (communication driver)
154 second STI driver (association means, communication driver)
155 installation program
155a acquisition unit (acquisition means)
155b Judgment unit (judgment means)
155c Change unit (change means)
155d setting section (setting means)
155e Installation unit (installation means)
156 Imaging Application
157 Registry
160 TWAIN Data Source Manager
160a Selection unit (selection means)
200 Image data transmission / reception system
201 first scanner (image data generation device)
203 Computer
251 First TWAIN Data Source (Image Data Processing Driver)
252 Second TWAIN Data Source (Image Data Processing Driver)
253 First STI Driver (Communication Driver)
254 second STI driver (association means, communication driver)
255 installation program
255a acquisition unit (acquisition means)
255b Judgment unit (judgment means)
255c change unit (change means)
255d setting section (setting means)
255e Installation part (installation means)
256 Imaging Application (Application)
257 Registry
260 TWAIN Data Source Manager
260a selection section (selection means)
300 Image data transmission / reception system
301 first scanner (image data generation device)
302 Second scanner (image data generation device)
303 Computer
351 First WIA Driver (Image Data Processing Driver, Communication Driver)
351a Associating unit (associating means)
352 2nd WIA driver (image data processing driver, communication driver)
352a associating unit (associating means)
355 installation program
355a acquisition unit (acquisition means)
355b Judgment unit (judgment means)
355c change unit (change means)
355d setting section (setting means)
355e Installation part (installation means)
356 Imaging Application (Application)
357 Registry
370 TWAIN Data Source Manager
370a Selector (selector)

Claims (14)

画像データ生成装置から送信された画像データを受信して、当該受信した画像データをコンピュータ上で動作するアプリケーションへ受け渡す処理を行う画像データ処理ドライバを、当該コンピュータにインストールして、前記画像データ生成装置とコンピュータとを通信可能に接続する画像データ送受信システムであって、
前記コンピュータは、
新たに画像データ処理ドライバをインストールする際に、既にインストールされている画像データ処理ドライバの識別情報を取得する取得手段と、
前記取得手段によって取得した画像データ処理ドライバの識別情報の中に、新たにインストールする画像データ処理ドライバの識別情報と少なくとも一部が一致する識別情報を有する画像データ処理ドライバが存在するか否かを判断する判断手段と、
前記判断手段によって少なくとも一部が一致する識別情報を有する画像データ処理ドライバが存在すると判断された場合に、前記新たにインストールする画像データ処理ドライバの識別情報を前記取得手段によって取得された識別情報とは異なる識別情報に変更する変更手段と、
前記判断手段によって少なくとも一部が一致する識別情報を有する画像データ処理ドライバが存在すると判断された場合は、前記新たにインストールする画像データ処理ドライバの識別情報を、前記変更手段によって変更された識別情報に設定する設定手段と、
各画像データ処理ドライバを互いに異なる画像データ処理ドライバ用記憶領域にインストールするインストール手段と、
前記インストール手段によりインストールされた前記画像データ処理ドライバの識別情報に対して、当該画像データ処理ドライバを用いる1つの画像データ生成装置を関連付ける関連付け手段と、
前記画像データ生成装置と通信する際に、前記関連付け手段により当該画像データ生成装置に関連付けられた識別情報を有する画像データ処理ドライバを選択する選択手段と、
を備えることを特徴とする画像データ送受信システム。
An image data processing driver for receiving image data transmitted from the image data generation device and transferring the received image data to an application running on the computer is installed on the computer, and the image data generation driver is installed. An image data transmitting and receiving system for communicably connecting the device and a computer,
The computer is
Acquiring means for acquiring identification information of an already installed image data processing driver when newly installing an image data processing driver;
In the identification information of the image data processing driver acquired by the acquiring means, it is determined whether or not there is an image data processing driver having identification information at least partially matching the identification information of the newly installed image data processing driver. Determining means for determining;
When it is determined by the determination unit that there is an image data processing driver having identification information that at least partially matches, the identification information of the newly installed image data processing driver and the identification information acquired by the acquisition unit Means for changing to different identification information,
If the determining means determines that there is an image data processing driver having identification information that at least partially matches, the identification information of the newly installed image data processing driver is changed to the identification information changed by the changing means. Setting means for setting the
Installation means for installing each image data processing driver in a different image data processing driver storage area,
Association means for associating one image data generation device using the image data processing driver with the identification information of the image data processing driver installed by the installation means;
Selecting means for selecting an image data processing driver having identification information associated with the image data generating device by the associating means when communicating with the image data generating device;
An image data transmission / reception system comprising:
前記インストール手段は、各画像データ処理ドライバを互いに異なる画像データ処理ドライバ用フォルダにインストールすることによって、各画像データ処理ドライバを互いに異なる画像データ処理ドライバ用記憶領域にインストールすることを特徴とする請求項1に記載の画像データ送受信システム。2. The image processing apparatus according to claim 1, wherein the installing unit installs each image data processing driver in a different image data processing driver storage area by installing each image data processing driver in a different image data processing driver folder. 2. The image data transmission / reception system according to 1. 前記画像データ処理ドライバの識別情報は、当該画像データ処理ドライバの前記画像データ処理ドライバ用フォルダに記憶されることを特徴とする請求項2に記載の画像データ送受信システム。The image data transmission / reception system according to claim 2, wherein the identification information of the image data processing driver is stored in the image data processing driver folder of the image data processing driver. 前記インストール手段は、更に、インストールに関する情報を記載したINF(Information)ファイルに基づいてインストールを行い、前記設定手段は、前記判断手段によって少なくとも一部が一致する識別情報を有する画像データ処理ドライバが存在すると判断された場合に、前記インストール手段によりインストールが行われる前に、前記INFファイルに記載されている前記新たにインストールする画像データ処理ドライバの識別情報を前記変更手段によって変更された識別情報に書き換えることによって、前記画像データ処理ドライバの識別情報を設定することを特徴とする請求項1〜請求項3のいずれか1項に記載の画像データ送受信システム。The installation unit further performs an installation based on an INF (Information) file in which information relating to the installation is described, and the setting unit includes an image data processing driver having identification information that at least partially matches the determination unit. When it is determined that the image data processing driver is newly installed, the identification information described in the INF file is rewritten to the identification information changed by the changing unit before the installation is performed by the installation unit. 4. The image data transmission / reception system according to claim 1, wherein identification information of the image data processing driver is set. 前記インストール手段は、前記新たにインストールする画像データ処理ドライバをインストールする際に、前記新たにインストールする画像データ処理ドライバと、前記既にインストールされている画像データ処理ドライバと、で共有できる内容の少なくとも一部については、互いに異なる画像データ処理ドライバ用記憶領域に記憶しないことを特徴とする請求項1〜請求項4のいずれか1項に記載の画像データ送受信システム。The installing means, when installing the newly installed image data processing driver, includes at least one of contents that can be shared by the newly installed image data processing driver and the already installed image data processing driver. The image data transmission / reception system according to any one of claims 1 to 4, wherein the units are not stored in different image data processing driver storage areas. 前記関連付け手段は、更に、1つの画像データ生成装置に対して、唯一の画像データ処理ドライバの識別情報を関連付けていることを特徴とする請求項1〜請求項5のいずれか1項に記載の画像データ送受信システム。6. The image processing apparatus according to claim 1, wherein the associating unit further associates identification information of a unique image data processing driver with one image data generation device. Image data transmission / reception system. 前記関連付け手段は、1つの画像データ生成装置に対して、複数の画像データ処理ドライバの識別情報を関連付けており、更に、ユーザが、前記インストール手段によりインストールされた前記画像データ処理ドライバの識別情報に関連付ける画像データ生成装置の設定情報を各画像データ処理ドライバ毎に決定することを特徴とする請求項1〜請求項5のいずれか1項に記載の画像データ送受信システム。The associating unit associates identification information of a plurality of image data processing drivers with one image data generation device, and further, a user may associate identification information of the image data processing driver installed by the installation unit with the identification information of the image data processing driver. The image data transmission / reception system according to any one of claims 1 to 5, wherein setting information of an image data generation device to be associated is determined for each image data processing driver. 前記関連付け手段は、前記画像データ処理ドライバと、前記画像データ生成装置が接続された通信ポートとの間の通信を行う通信ドライバであり、当該通信ドライバの通信ドライバ用記憶領域に、前記画像データ処理ドライバの識別情報と、前記通信ポートの識別情報とを記憶させることにより、関連付けを行うことを特徴とする請求項1〜請求項7のいずれか1項に記載の画像データ送受信システム。The associating means is a communication driver that performs communication between the image data processing driver and a communication port to which the image data generating device is connected, and stores the image data processing data in a communication driver storage area of the communication driver. The image data transmission / reception system according to any one of claims 1 to 7, wherein the identification is performed by storing identification information of a driver and identification information of the communication port. 前記通信ドライバは、STI(Still Image Architecture)ドライバであることを特徴とする請求項8に記載の画像データ送受信システム。9. The image data transmission / reception system according to claim 8, wherein the communication driver is an STI (Still Image Architecture) driver. 前記画像データ処理ドライバは、TWAINデータソースであることを特徴とする請求項1〜請求項9のいずれか1項に記載の画像データ送受信システム。The image data transmission / reception system according to claim 1, wherein the image data processing driver is a TWAIN data source. 前記画像データ処理ドライバは、WIA(Windows Image Acquisition)ドライバであり、かつ、前記画像データ処理ドライバの識別情報は、当該WIAドライバをTWAINデータソースとして認識させるための識別情報であることを特徴とする請求項1〜請求項4のいずれか1項に記載の画像データ送受信システム。The image data processing driver is a WIA (Windows Image Acquisition) driver, and the identification information of the image data processing driver is identification information for recognizing the WIA driver as a TWAIN data source. The image data transmission / reception system according to claim 1. 画像データ生成装置から送信された画像データを受信して、当該受信した画像データをコンピュータ上で動作するアプリケーションへ受け渡す処理を行う画像データ処理ドライバを、当該コンピュータにインストールして、前記画像データ生成装置とコンピュータとを通信可能に接続する画像データ送受信システムを構成するコンピュータであって、
新たに画像データ処理ドライバをインストールする際に、既にインストールされている画像データ処理ドライバの識別情報を取得する取得手段と、
前記取得手段によって取得した画像データ処理ドライバの識別情報の中に、新たにインストールする画像データ処理ドライバの識別情報と少なくとも一部が一致する識別情報を有する画像データ処理ドライバが存在するか否かを判断する判断手段と、
前記判断手段によって少なくとも一部が一致する識別情報を有する画像データ処理ドライバが存在すると判断された場合に、前記新たにインストールする画像データ処理ドライバの識別情報を前記取得手段によって取得された識別情報とは異なる識別情報に変更する変更手段と、
前記判断手段によって少なくとも一部が一致する識別情報を有する画像データ処理ドライバが存在すると判断された場合は、前記新たにインストールする画像データ処理ドライバの識別情報を、前記変更手段によって変更された識別情報に設定する設定手段と、
各画像データ処理ドライバを互いに異なる画像データ処理ドライバ用記憶領域にインストールするインストール手段と、
前記インストール手段によりインストールされた前記画像データ処理ドライバの識別情報に対して、当該画像データ処理ドライバを用いる1つの画像データ生成装置を関連付ける関連付け手段と、
前記画像データ生成装置と通信する際に、前記関連付け手段により当該画像データ生成装置に関連付けられた識別情報を有する画像データ処理ドライバを選択する選択手段と、
を備えることを特徴とするコンピュータ。
An image data processing driver for receiving image data transmitted from the image data generation device and transferring the received image data to an application running on the computer is installed on the computer, and the image data generation driver is installed. A computer constituting an image data transmission / reception system that communicably connects the device and the computer,
Acquiring means for acquiring identification information of an already installed image data processing driver when newly installing an image data processing driver;
In the identification information of the image data processing driver acquired by the acquiring means, it is determined whether or not there is an image data processing driver having identification information at least partially matching the identification information of the newly installed image data processing driver. Determining means for determining;
If it is determined by the determination unit that there is an image data processing driver having identification information that at least partially matches, the identification information of the newly installed image data processing driver and the identification information acquired by the acquisition unit Means for changing to different identification information,
If the determining unit determines that there is an image data processing driver having identification information that at least partially matches, the identification information of the newly installed image data processing driver is changed to the identification information changed by the changing unit. Setting means for setting the
Installation means for installing each image data processing driver in a different image data processing driver storage area,
Association means for associating one image data generation device using the image data processing driver with the identification information of the image data processing driver installed by the installation means;
Selecting means for selecting an image data processing driver having identification information associated with the image data generating device by the associating means when communicating with the image data generating device;
A computer comprising:
画像データ生成装置から送信された画像データを受信して、当該受信した画像データをコンピュータ上で動作するアプリケーションへ受け渡す処理を行う画像データ処理ドライバを、当該コンピュータにインストールして、前記画像データ生成装置とコンピュータとを通信可能に接続する画像データ送受信方法であって、
新たに画像データ処理ドライバをインストールする際に、既にインストールされている画像データ処理ドライバの識別情報を取得する取得ステップと、
前記取得ステップによって取得した画像データ処理ドライバの識別情報の中に、新たにインストールする画像データ処理ドライバの識別情報と少なくとも一部が一致する識別情報を有する画像データ処理ドライバが存在するか否かを判断する判断ステップと、
前記判断ステップによって少なくとも一部が一致する識別情報を有する画像データ処理ドライバが存在すると判断された場合に、前記新たにインストールする画像データ処理ドライバの識別情報を前記取得手段によって取得された識別情報とは異なる識別情報に変更する変更ステップと、
前記判断ステップによって少なくとも一部が一致する識別情報を有する画像データ処理ドライバが存在すると判断された場合は、前記新たにインストールする画像データ処理ドライバの識別情報を、前記変更ステップによって変更された識別情報に設定する設定ステップと、
各画像データ処理ドライバを互いに異なる画像データ処理ドライバ用記憶領域にインストールするインストールステップと、
前記インストールステップによりインストールされた前記画像データ処理ドライバの識別情報に対して、当該画像データ処理ドライバを用いる1つの画像データ生成装置を関連付ける関連付けステップと、
前記画像データ生成装置と通信する際に、前記関連付けステップにより当該画像データ生成装置に関連付けられた識別情報を有する画像データ処理ドライバを選択する選択ステップと、
を備えることを特徴とする画像データ送受信方法。
An image data processing driver for receiving image data transmitted from the image data generation device and transferring the received image data to an application running on the computer is installed on the computer, and the image data generation driver is installed. An image data transmission / reception method for communicably connecting an apparatus and a computer,
When newly installing an image data processing driver, an acquisition step of acquiring identification information of an already installed image data processing driver;
In the identification information of the image data processing driver acquired by the acquiring step, it is determined whether or not there is an image data processing driver having identification information at least partially matching the identification information of the newly installed image data processing driver. A determining step of determining;
If it is determined by the determining step that there is an image data processing driver having identification information that at least partially matches, the identification information of the newly installed image data processing driver and the identification information obtained by the obtaining unit A changing step for changing to different identification information;
If the determining step determines that there is an image data processing driver having identification information that at least partially matches, the identification information of the newly installed image data processing driver is changed to the identification information changed by the changing step. A setting step to set
An installation step of installing each image data processing driver in a different image data processing driver storage area,
Associating one image data generating device using the image data processing driver with the identification information of the image data processing driver installed by the installation step;
A selecting step of selecting an image data processing driver having identification information associated with the image data generating device by the associating step when communicating with the image data generating device;
A method for transmitting and receiving image data, comprising:
画像データ生成装置から送信された画像データを受信して、当該受信した画像データをコンピュータ上で動作するアプリケーションへ受け渡す処理を行う画像データ処理ドライバを、当該コンピュータにインストールして、前記画像データ生成装置とコンピュータとを通信可能に接続する画像データ送受信システムを構成するコンピュータに、
新たに画像データ処理ドライバをインストールする際に、既にインストールされている画像データ処理ドライバの識別情報を取得する取得ステップ、
前記取得ステップによって取得した画像データ処理ドライバの識別情報の中に、新たにインストールする画像データ処理ドライバの識別情報と少なくとも一部が一致する識別情報を有する画像データ処理ドライバが存在するか否かを判断する判断ステップ、
前記判断ステップによって少なくとも一部が一致する識別情報を有する画像データ処理ドライバが存在すると判断された場合に、前記新たにインストールする画像データ処理ドライバの識別情報を前記取得手段によって取得された識別情報とは異なる識別情報に変更する変更ステップ、
前記判断ステップによって少なくとも一部が一致する識別情報を有する画像データ処理ドライバが存在すると判断された場合は、前記新たにインストールする画像データ処理ドライバの識別情報を、前記変更ステップによって変更された識別情報に設定する設定ステップ、
各画像データ処理ドライバを互いに異なる画像データ処理ドライバ用記憶領域にインストールするインストールステップ、
前記インストールステップによりインストールされた前記画像データ処理ドライバの識別情報に対して、当該画像データ処理ドライバを用いる1つの画像データ生成装置を関連付ける関連付けステップ、
前記画像データ生成装置と通信する際に、前記関連付けステップにより当該画像データ生成装置に関連付けられた識別情報を有する画像データ処理ドライバを選択する選択ステップ、
を実行させることを特徴とするプログラム。
An image data processing driver for receiving image data transmitted from the image data generation device and transferring the received image data to an application running on the computer is installed on the computer, and the image data generation driver is installed. A computer that constitutes an image data transmission / reception system that communicably connects the device and the computer,
An acquisition step of acquiring identification information of an already installed image data processing driver when newly installing an image data processing driver;
In the identification information of the image data processing driver acquired by the acquiring step, it is determined whether or not there is an image data processing driver having identification information at least partially matching the identification information of the newly installed image data processing driver. Judgment step to judge,
If it is determined by the determining step that there is an image data processing driver having identification information that at least partially matches, the identification information of the newly installed image data processing driver and the identification information obtained by the obtaining unit Is a change step of changing to different identification information,
If the determining step determines that there is an image data processing driver having identification information that at least partially matches, the identification information of the newly installed image data processing driver is changed to the identification information changed by the changing step. Setting step to set,
An installation step of installing each image data processing driver in a different image data processing driver storage area,
An associating step of associating one image data generating device using the image data processing driver with the identification information of the image data processing driver installed by the installing step;
A selecting step of selecting an image data processing driver having identification information associated with the image data generating device by the associating step when communicating with the image data generating device;
A program characterized by executing
JP2003000499A 2003-01-06 2003-01-06 Image data transmission / reception system, computer, image data transmission / reception method, and program Expired - Fee Related JP3928557B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003000499A JP3928557B2 (en) 2003-01-06 2003-01-06 Image data transmission / reception system, computer, image data transmission / reception method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003000499A JP3928557B2 (en) 2003-01-06 2003-01-06 Image data transmission / reception system, computer, image data transmission / reception method, and program

Publications (2)

Publication Number Publication Date
JP2004213421A true JP2004213421A (en) 2004-07-29
JP3928557B2 JP3928557B2 (en) 2007-06-13

Family

ID=32818793

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003000499A Expired - Fee Related JP3928557B2 (en) 2003-01-06 2003-01-06 Image data transmission / reception system, computer, image data transmission / reception method, and program

Country Status (1)

Country Link
JP (1) JP3928557B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007257124A (en) * 2006-03-22 2007-10-04 Seiko Epson Corp Composite machine unit and its control method
JP2010176597A (en) * 2009-01-31 2010-08-12 Ricoh Co Ltd Information processing apparatus, program and recording medium
US8358428B2 (en) 2007-03-28 2013-01-22 Brother Kogyo Kabushiki Kaisha Image processing method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007257124A (en) * 2006-03-22 2007-10-04 Seiko Epson Corp Composite machine unit and its control method
US8358428B2 (en) 2007-03-28 2013-01-22 Brother Kogyo Kabushiki Kaisha Image processing method
JP2010176597A (en) * 2009-01-31 2010-08-12 Ricoh Co Ltd Information processing apparatus, program and recording medium

Also Published As

Publication number Publication date
JP3928557B2 (en) 2007-06-13

Similar Documents

Publication Publication Date Title
JP4870621B2 (en) Information processing apparatus, method, system, program, and recording medium thereof
US8397277B2 (en) Multi-functional peripheral, authentication server and system
JP6390708B2 (en) System and information processing method
US7644320B2 (en) Log collecting apparatus, image forming apparatus and computer-readable storage medium
JP6816781B2 (en) Print control program, information processing device and information processing system
US20080259390A1 (en) Information processing apparatus, and control method therefor, as well as program
US7743364B2 (en) Work flow management system, work flow management apparatus and method
WO2011001658A1 (en) Information processing apparatus, control method, and storage medium
US20100118334A1 (en) Image forming apparatus with print server function, print server activating method in a network, and computer program product
JP2002251366A (en) Network system, information processor, information processing method and control program
JP2001117834A (en) System and method for setting network communication environment, and computer-readable recording medium recorded with network communication environment setting program
JP5278921B2 (en) Scan management system, scan management apparatus, control method thereof, and program
JP2006248217A (en) Information processing apparatus, information processing method, and program
US8422040B2 (en) Image forming system and method, management apparatus, and recording medium
JP2013145483A (en) Image processing system, image processing method and program
US8045193B2 (en) Automatic detection of user preference for copy or scan setting
JP2005269326A (en) Image forming apparatus and information processing method
JP3928557B2 (en) Image data transmission / reception system, computer, image data transmission / reception method, and program
JP5428816B2 (en) Image forming apparatus, data control method, and program
JP2000285039A (en) Device retrieving device, its method and recording medium recording computer program for realizing the method
JP2006115222A (en) Image processing apparatus, control method thereof, and computer program
JP6743546B2 (en) Information processing apparatus, information processing system, information processing method, and program
JP4859241B2 (en) Composite apparatus, information processing method, and program
JP5573998B2 (en) Management system, management apparatus, control method thereof, and program
EP3820120A2 (en) Information processing device, information processing system, and information processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050330

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060424

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060509

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060705

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070213

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070226

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 3928557

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100316

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110316

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120316

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120316

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130316

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130316

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140316

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees