【0001】
【発明の属する技術分野】
本発明は、画像読み取りおよび転送機能を持つデジタル複合機から転送されたドキュメントの画像を、クライアントPCにおいて加工、保存するための、画像読み取り、転送システムに関するものである。
【0002】
具体的にはデジタル複合機でドキュメントをスキャンし、クライアントPCにFTPでそのドキュメントの画像を転送し、データベースに保存する。その際にインデックスも一緒に保存するといった利用方法が考えられる。
【0003】
【従来の技術】
従来の画像読み取り、転送システムでは、例えば特開平10−308840号公報にあるように、スキャナから画像データを転送するタイミングと量を調整することによりシステム全体の負荷を軽減する、あるいは特開平11−053527号公報あるいは特開2000−224357公報にあるようにシステム内の資源の有効利用あるいは読み取りから転送までの自動化による操作性の向上を図るようになっていた。
【0004】
【発明が解決しようとする課題】
上記従来例では、機能の異なるスキャナが複数ある場合、例えばあるスキャナは読み取ったドキュメントの画像を1ページ1ファイルで転送し、別のスキャナはドキュメントの画像全体を1ファイルで転送する、あるいは読み取った画像ファイルにテキストファイルを添付するというように、機種により画像の転送方法がことなっていたために、機種が増えるたびにその転送方法に対応しなければドキュメントの画像データを保証することが出来ないといった、開発上の負荷が大きく、事実上機種ごとに違ったシステムを開発することになってしまっていた。
【0005】
本発明は以上の点に着目して成されたもので、機種依存の転送方法を吸収し転送先のPCでのデータを保証する画像読み取り、転送システムを提供することを目的とする。
【0006】
【課題を解決するための手段】
上記課題を解決するために、複数のクライアントPCと、複数の機能の異なるスキャナがネットワークにより接続された画像読み取り、転送システムにおいて、クライアントPCとスキャナが相互に通信する手段(プロトコル)と、相互に通信する手段の中で一つの単位の転送の開始、終了を認識する手段と、相互に通信する手段の中で複数のファイルを転送する手段を設け、スキャナにおいて読み取ったドキュメントの画像の特徴を示す属性を格納したファイルを作成する手段を設け、さらにクライアントPCにおいて、スキャナから転送された属性ファイルをもとに、転送されたドキュメントの画像ファイルの属性を解析し、複数ファイルに分割されている場合には1個のファイルにまとめる手段と、複数の違ったドキュメントの画像ファイルあるいはそれに付随するテキストファイルが送られた場合には、それを認識する手段を設ける。
【0007】
以上、本発明を整理して要約すれば以下の構成に集約できる。
【0008】
(1)複数のクライアントPCと、複数の機能の異なるスキャナがネットワークにより接続された画像読み取り、転送システムにおいて、クライアントPCとスキャナが相互に通信する手段(プロトコル)と、相互に通信する手段の中で一つの単位の転送の開始、終了を認識する手段と、相互に通信する手段の中で複数のファイルを転送する手段を設けることを特徴とする画像読み取り、転送システム。
【0009】
(2)前記(1)の画像読み取り、転送システムにおいて、スキャナにおいて読み取ったドキュメントの画像の特徴を示す属性を格納したファイルを作成する手段を設け、その属性の中にはドキュメントの画像をファイル化したときの、ファイル名、ファイルの数などを含むことを特徴とする画像読み取り、転送システム。
【0010】
(3)前記(1)の画像読み取り、転送システムにおいて、クライアントPCにおいて、スキャナから転送された属性ファイルをもとに、転送されたドキュメントの画像ファイルの属性を解析し、複数ファイルに分割されている場合には1個のファイルにまとめる手段と、複数の違ったドキュメントの画像ファイルあるいはそれに付随するテキストファイルが送られた場合には、それを認識する手段を設けることを特徴とする画像読み取り、転送システム。
【0011】
【発明の実施の形態】
以下、図面を参照して本発明の実施例を説明する。本実施例ではネットワークの一例としてLANを使い、転送手段としてはFTPを使うものとする。また説明を簡単にするために、スキャナから転送されたドキュメントの画像は、同じクライアントPC上で加工、保存するものとする。
【0012】
図1は本実施例のハードウェア構成を示すブロック図であり、図中1はスキャナから転送されたドキュメントの画像を加工、保存するためのクライアントPC1である。11は図2に示すようなソフトウェアを使って図4に示す手順をプログラムとして実行するためのCPU、12は図2のBIOSなどの基本ソフトウェアを格納してあるROM、13は図2に示すソフトウェアをROM12あるいはHD14から一時ロードしCPU11が実行できるようにするためのRAM、14は図2のOS、FTPサーバ、ゲートウェイ、アプリケーションを格納してあるHD、15は図2に示すソフトウェアを実行する際にUIを操作するための入力装置、16は図2に示すソフトウェアのUI、実行状態などを表示するためのモニタ、17はクライアントPC1をLANに接続するためのI/Fである。2はLANに接続されているスキャナ1、3はLANに接続されているスキャナ2である。
【0013】
図2は本実施例のクライアントPC1上で動作するソフトウェアの構成図である。クライアントPC1のそれぞれの構成要素のハードウェアの動作制御はBIOSおよびOSにより行われる。またLAN上の通信は、例えばTCP/IPを使って行われ、OSによってそのプロトコルのハンドリングが行われる。FTPはTCP/IP上で実現される。さらにゲートウェイはFTPサーバが受け取った画像データをデータベースなどのアプリケーションに渡すソフトウェアである。
【0014】
図3は本実施例のスキャナ1あるいはスキャナ2からクライアントPC1に画像データとともに送られる、属性ファイルのフォーマットである。
【0015】
なお、本実施例では、機能の違う複数台のスキャナの例として、スキャナ1はドキュメントの画像データを1ファイルで転送し、その画像データを連続して複数個、さらに付随したテキストファイルも転送する。またスキャナ2は1ページを1ファイルというように分割して転送するものとする。この場合ファイルフォーマットはTiffあるいはPDFなどが考えられる。
【0016】
図4は本実施例における、クライアントPC1上で属性ファイルを解析し、画像データの確認、および分割されている場合は1ファイルにまとめる手順を示したフローチャートである。
【0017】
以下に図4に基づいて、本実施例の転送されたファイルのデータを保証する手順について説明する。
【0018】
FTPサーバが起動されると、まずステップS41において属性ファイルを受信するのを待つ状態となる。実際には確実にFTPでファイル転送が行われるのを保証するために、FTPサーバで1回のファイル転送の開始と終了を検知し、終了時に転送先のフォルダに属性ファイルがあるかどうかを確認する。また複数ファイルを転送する際に転送先のフォルダにスキャナがサブフォルダを作成し、その中にまとめてファイルを転送するといった方法も考えられる。
【0019】
次にステップS42において、ファイル名の解析を行う。ファイル名は重複しないように、例えばYYYYMMDDHHMMSS(年月日時分秒)にファイルフォーマットを表す拡張子を付けるといった方法をとる。さらに複数ページのドキュメントを1ページ、1ファイルで転送する場合、YYYYMMDDHHMMSS_PPPPPP(Pはページ数)に拡張を付ける。このようなファイル名から、ドキュメントのファイルが1個だけなのか複数個あるのかを見分ける。1個だけの場合はステップS45に進み、転送されてきたドキュメントのファイルを利用するアプリケーションに、ドキュメントファイルのパス名とその属性ファイルのパス名を通知し、ステップS41に戻って属性ファイルの受信待ちの状態となる。またステップS43で複数ファイルだった場合、ステップS44に進み複数ページを1ファイルで格納できるファイルフォーマットにより、ファイルを1個に結合し、ステップS45に進む。
【0020】
なおアプリケーションが複数ファイルを同時に扱える場合は、ステップS44は必要ない。
【0021】
【発明の効果】
スキャナがドキュメントを転送する際のファイル名をユニークなものにすることにより、ドキュメントのデータを区別することが出来るという効果がある。さらに、属性ファイルに書かれたファイル名から、ドキュメントのファイル名を確認し、複数ファイルに分かれている場合にも、確実に一つのドキュメントとして保証できるようになるという効果がある。
【図面の簡単な説明】
【図1】本実施例のハードウェアの構成を示すブロック図
【図2】本実施例のクライアントPC上で動作するソフトウェアの構成図
【図3】本実施例の機器情報データのフォーマットを示す図
【図4】本実施例のスキャナ選択ツールを使い、機器情報データをもとにユーザがスキャナを選択する手順を示すフローチャート
【符号の説明】
1 クライアントPC1
2 スキャナ1
3 スキャナ2
11 CPU
12 ROM
13 RAM
14 HD
15 入力装置
16 モニタ
17 I/F[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an image reading and transferring system for processing and storing in a client PC an image of a document transferred from a digital multifunction peripheral having image reading and transferring functions.
[0002]
Specifically, the document is scanned by the digital multi-function peripheral, the image of the document is transferred to the client PC by FTP, and stored in the database. At that time, a usage method such as storing the index together is also conceivable.
[0003]
[Prior art]
In a conventional image reading / transferring system, for example, as disclosed in JP-A-10-308840, the timing and amount of image data transferred from a scanner are adjusted to reduce the load on the entire system. As disclosed in Japanese Patent Application Publication No. 053527 or Japanese Patent Application Laid-Open No. 2000-224357, operability has been improved by effectively utilizing resources in the system or by automation from reading to transfer.
[0004]
[Problems to be solved by the invention]
In the above conventional example, when there are a plurality of scanners having different functions, for example, one scanner transfers an image of a read document in one file per page, and another scanner transfers or reads an entire image of a document in one file. Since the image transfer method differs depending on the model, such as attaching a text file to the image file, the image data of the document can not be guaranteed unless it corresponds to the transfer method every time the model increases. The development load was heavy, and different systems had to be developed.
[0005]
SUMMARY OF THE INVENTION The present invention has been made in view of the above points, and has as its object to provide an image reading and transfer system which absorbs a model-dependent transfer method and guarantees data on a transfer destination PC.
[0006]
[Means for Solving the Problems]
In order to solve the above problem, in an image reading and transfer system in which a plurality of client PCs and a plurality of scanners having different functions are connected by a network, a means (protocol) for the client PC and the scanner to communicate with each other is provided. A means for recognizing the start and end of transfer of one unit among the means for communicating, and a means for transferring a plurality of files among the means for communicating with each other, showing characteristics of the image of the document read by the scanner. If a means for creating a file storing attributes is provided, and the client PC analyzes the attribute of the image file of the transferred document based on the attribute file transferred from the scanner, and is divided into a plurality of files. Provides a way to combine them into a single file, and image files from several different documents. If yl or text file associated therewith is transmitted, it is provided with means for recognizing it.
[0007]
As described above, the present invention can be summarized into the following configuration by organizing and summarizing the present invention.
[0008]
(1) In an image reading / transferring system in which a plurality of client PCs and a plurality of scanners having different functions are connected via a network, a means (protocol) for communicating between the client PC and the scanner and a means for communicating with each other And a means for recognizing the start and end of transfer of one unit and a means for transferring a plurality of files among the means for communicating with each other.
[0009]
(2) In the image reading / transferring system of (1), there is provided means for creating a file storing an attribute indicating the characteristics of the image of the document read by the scanner, and the image of the document is filed in the attribute. An image reading and transfer system, which includes a file name, the number of files, and the like when the image is read.
[0010]
(3) In the image reading / transferring system of (1), the client PC analyzes the attribute of the image file of the transferred document based on the attribute file transferred from the scanner, and divides the document into a plurality of files. Image reading means for combining a single file in the case where the image file is provided, and a means for recognizing the image file of a plurality of different documents or a text file attached thereto when the image file is sent, Transfer system.
[0011]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings. In this embodiment, a LAN is used as an example of a network, and FTP is used as a transfer unit. For the sake of simplicity, the document image transferred from the scanner is processed and stored on the same client PC.
[0012]
FIG. 1 is a block diagram showing a hardware configuration of the present embodiment. In FIG. 1, reference numeral 1 denotes a client PC 1 for processing and storing an image of a document transferred from a scanner. 11 is a CPU for executing the procedure shown in FIG. 4 as a program using the software shown in FIG. 2, 12 is a ROM storing basic software such as the BIOS of FIG. 2, and 13 is the software shown in FIG. RAM is temporarily loaded from the ROM 12 or the HD 14 so that the CPU 11 can execute it. The HD 14 stores the OS, the FTP server, the gateway, and the application in FIG. 2, and the HD 15 executes the software shown in FIG. 2, an input device for operating the UI, a monitor 16 for displaying a UI and an execution state of the software shown in FIG. 2, and an interface 17 for connecting the client PC 1 to the LAN. Reference numeral 2 denotes a scanner connected to the LAN, and reference numeral 3 denotes a scanner 2 connected to the LAN.
[0013]
FIG. 2 is a configuration diagram of software operating on the client PC 1 of the present embodiment. The operation control of the hardware of each component of the client PC 1 is performed by the BIOS and the OS. Communication on the LAN is performed using, for example, TCP / IP, and handling of the protocol is performed by the OS. FTP is implemented on TCP / IP. Further, the gateway is software that transfers image data received by the FTP server to an application such as a database.
[0014]
FIG. 3 shows a format of an attribute file sent together with image data from the scanner 1 or the scanner 2 of the present embodiment to the client PC 1.
[0015]
In the present embodiment, as an example of a plurality of scanners having different functions, the scanner 1 transfers image data of a document as one file, continuously transfers the image data, and also transfers a plurality of accompanying text files. . The scanner 2 divides one page into one file and transfers it. In this case, the file format may be Tiff or PDF.
[0016]
FIG. 4 is a flowchart showing a procedure of analyzing the attribute file on the client PC 1, confirming the image data, and combining the file into one file if the file is divided in the present embodiment.
[0017]
The procedure for guaranteeing the data of the transferred file according to the present embodiment will be described below with reference to FIG.
[0018]
When the FTP server is started, first, in step S41, it waits for reception of an attribute file. To ensure that file transfer is actually performed by FTP, the FTP server detects the start and end of one file transfer, and checks whether there is an attribute file in the transfer destination folder at the end. I do. In addition, when transferring a plurality of files, a method is also conceivable in which the scanner creates a subfolder in a transfer destination folder, and transfers the files in the subfolder.
[0019]
Next, in step S42, the file name is analyzed. In order to avoid duplication of the file name, for example, a method of attaching an extension indicating a file format to YYYYMMDHMHMMSS (year / month / day / hour / minute / second) is adopted. Further, when transferring a document of a plurality of pages in one page and one file, an extension is added to YYYYMMDHMHMMSS_PPPPPP (P is the number of pages). From such a file name, it is determined whether there is only one document file or a plurality of document files. If there is only one, the process proceeds to step S45, where the application using the transferred document file is notified of the path name of the document file and the attribute file, and the process returns to step S41 to wait for the reception of the attribute file. State. If there are a plurality of files in step S43, the process proceeds to step S44, where the files are combined into one using a file format capable of storing a plurality of pages as one file, and the process proceeds to step S45.
[0020]
If the application can handle a plurality of files at the same time, step S44 is not necessary.
[0021]
【The invention's effect】
By making the file name unique when the scanner transfers the document, the document data can be distinguished. Further, the document file name is confirmed from the file name written in the attribute file, and even if the file is divided into a plurality of files, it is possible to reliably guarantee one document.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a hardware configuration of the embodiment. FIG. 2 is a configuration diagram of software operating on a client PC of the embodiment. FIG. 3 is a diagram showing a format of device information data of the embodiment. FIG. 4 is a flowchart showing a procedure in which a user selects a scanner based on device information data using the scanner selection tool of the present embodiment.
1 Client PC1
2 Scanner 1
3 Scanner 2
11 CPU
12 ROM
13 RAM
14 HD
15 Input device 16 Monitor 17 I / F