JP5277073B2 - Image reading apparatus and timeout time management program - Google Patents

Image reading apparatus and timeout time management program Download PDF

Info

Publication number
JP5277073B2
JP5277073B2 JP2009128196A JP2009128196A JP5277073B2 JP 5277073 B2 JP5277073 B2 JP 5277073B2 JP 2009128196 A JP2009128196 A JP 2009128196A JP 2009128196 A JP2009128196 A JP 2009128196A JP 5277073 B2 JP5277073 B2 JP 5277073B2
Authority
JP
Japan
Prior art keywords
request
time
received
host device
image reading
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.)
Expired - Fee Related
Application number
JP2009128196A
Other languages
Japanese (ja)
Other versions
JP2010278679A (en
Inventor
武史 新谷
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.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Document Solutions Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kyocera Document Solutions Inc filed Critical Kyocera Document Solutions Inc
Priority to JP2009128196A priority Critical patent/JP5277073B2/en
Publication of JP2010278679A publication Critical patent/JP2010278679A/en
Application granted granted Critical
Publication of JP5277073B2 publication Critical patent/JP5277073B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Facsimiles In General (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To adjust time-out time without interrupting image reading processing. <P>SOLUTION: A request processor 31 receives a request issued from a host device 2.When receiving a first request from the host device 2, the request processor 31 starts image reading processing. Before the lapse of time-out time after receiving the first request, when receiving a second request from the host device 2, the request processor 31 transmits image data acquired through image reading processing to the host device 2. After the lapse of a specified time from the receipt of the first request, if the request processor receives a request other than the second request before the lapse of the time-out time, a time-out time management part 32 extends the time-out time. <P>COPYRIGHT: (C)2011,JPO&amp;INPIT

Description

本発明は、画像読取装置およびタイムアウト時間管理プログラムに関するものである。   The present invention relates to an image reading apparatus and a timeout time management program.

画像読取装置で読み取られた画像データをサーバPCに保存するシステムがある。そのサーバPCでは、画像データファイルの格納が完了する前にタイムアウトが発生するとタイムアウト時間が再計算され、画像データファイルの格納が再開される(例えば特許文献1)。   There is a system for storing image data read by an image reading apparatus in a server PC. In the server PC, if a timeout occurs before the storage of the image data file is completed, the timeout time is recalculated and the storage of the image data file is resumed (for example, Patent Document 1).

特開2003−274095号公報JP 2003-274095 A

しかしながら、上述のように、タイムアウトが発生した後に、タイムアウト時間が再計算される場合、処理が中断された後に再開されるため、処理が遅延してしまう。   However, as described above, when the timeout time is recalculated after the timeout occurs, the process is resumed after the process is interrupted, so that the process is delayed.

本発明は、上記問題に鑑みてなされたものであり、処理を中断することなくタイムアウト時間を調節することができる画像読取装置およびタイムアウト時間管理プログラムを得ることを目的とする。   The present invention has been made in view of the above problems, and an object of the present invention is to obtain an image reading apparatus and a timeout time management program capable of adjusting a timeout time without interrupting processing.

上記の課題を解決するために、本発明では以下のようにした。   In order to solve the above problems, the present invention is configured as follows.

本発明に係る画像読取装置は、ホスト装置により発行される要求を受け付け、ホスト装置から第1要求を受け付けると画像読取処理を開始し、第1要求を受け付けてからタイムアウト時間が経過する前にホスト装置から第2要求を受け付けると画像読取処理により得られた画像データをホスト装置へ送信する要求処理部と、第1要求を受け付けてから所定の時間が経過した後、タイムアウト時間が経過する前に第2要求以外の要求を要求処理部が受け付けた場合、タイムアウト時間を延長するタイムアウト時間管理部とを備える。そして、タイムアウト時間管理部は、要求の履歴データに基づいて、要求のあった回数の多い時間帯においてはタイムアウト時間を長く設定し、要求のあった回数の少ない時間帯においてはタイムアウト時間を短く設定する。 An image reading apparatus according to the present invention receives a request issued by a host device, starts an image reading process when a first request is received from the host device, and before the time-out period elapses after the first request is received. When a second request is received from the apparatus, a request processing unit that transmits the image data obtained by the image reading process to the host apparatus, and after a predetermined time has elapsed since the first request was received, before a timeout period elapses When the request processing unit receives a request other than the second request, the request processing unit includes a timeout time management unit that extends the timeout time. Based on the request history data, the time-out time management unit sets the time-out time longer in the time zone where the number of requests is high, and sets the time-out time short in the time zone where the number of requests is low. To do.

これにより、タイムアウト時間の延長が望ましい場合に、画像読取処理を中断することなくタイムアウト時間を調節することができる。   Thereby, when it is desirable to extend the timeout time, the timeout time can be adjusted without interrupting the image reading process.

また、本発明に係る画像読取装置は、上記の画像読取装置に加え、次のようにしてもよい。この場合、履歴データは、要求に含まれていたユーザIDまたは要求を送信したホスト装置のアドレス情報を含む。そして、タイムアウト時間管理部は、第1要求に含まれるユーザIDまたは第1要求を送信したホスト装置のアドレス情報について要求のあった回数の多い時間帯においてはタイムアウト時間を長く設定し、第1要求に含まれるユーザIDまたは第1要求を送信したホスト装置のアドレス情報について要求のあった回数の少ない時間帯においてはタイムアウト時間を短く設定する。 The image reading apparatus according to the present invention is, in addition to the image reading equipment described above may be as follows. In this case, the history data includes the user ID included in the request or the address information of the host device that transmitted the request. Then, the timeout time management unit sets a longer timeout time in the time zone in which the number of requests for the user ID included in the first request or the address information of the host device that transmitted the first request is large, and the first request The time-out time is set short in a time zone in which the number of requests for the address information of the host device that has transmitted the user ID or the first request included in is small.

また、本発明に係る画像読取装置は、ホスト装置により発行される要求を受け付け、ホスト装置から第1要求を受け付けると画像読取処理を開始し、第1要求を受け付けてからタイムアウト時間が経過する前にホスト装置から第2要求を受け付けると画像読取処理により得られた画像データをホスト装置へ送信する要求処理部と、第1要求を受け付けてから所定の時間が経過した後、タイムアウト時間が経過する前に第2要求以外の要求を要求処理部が受け付けた場合、タイムアウト時間を延長するタイムアウト時間管理部とを備える。そして、タイムアウト時間管理部は、所定の昼間の時間帯においてはタイムアウト時間を長く設定し、所定の夜間の時間帯においてはタイムアウト時間を短く設定する。 In addition, the image reading apparatus according to the present invention receives a request issued by the host apparatus, starts the image reading process when receiving the first request from the host apparatus, and before the time-out period elapses after receiving the first request. When a second request is received from the host device, a request processing unit that transmits image data obtained by the image reading process to the host device, and a time-out period elapses after a predetermined time has elapsed since the first request was received. When the request processing unit has previously received a request other than the second request, the request processing unit includes a timeout time management unit that extends the timeout time. The timeout time management unit sets a longer timeout time in a predetermined daytime period, and sets a shorter timeout time in a predetermined nighttime period.

また、本発明に係る画像読取装置は、ホスト装置により発行される要求を受け付け、ホスト装置から第1要求を受け付けると画像読取処理を開始し、第1要求を受け付けてからタイムアウト時間が経過する前にホスト装置から第2要求を受け付けると画像読取処理により得られた画像データをホスト装置へ送信する要求処理部と、第1要求を受け付けてから所定の時間が経過した後、タイムアウト時間が経過する前に第2要求以外の要求を要求処理部が受け付けた場合、タイムアウト時間を延長するタイムアウト時間管理部とを備える。そして、要求処理部は、連続読み込み処理の場合、ホスト装置から第1要求を受け付けるごとに画像読取処理を開始し、1または複数の原稿に対する画像読取処理の後にホスト装置から第2要求を受け付けると画像読取処理により得られた1または複数の原稿の画像データをホスト装置へ送信する。そして、タイムアウト時間管理部は、連続読み込み処理の場合、通常のタイムアウト時間より長く、第1要求と次の第1要求または第2要求との間のタイムアウト時間を設定する。 In addition, the image reading apparatus according to the present invention receives a request issued by the host apparatus, starts the image reading process when receiving the first request from the host apparatus, and before the time-out period elapses after receiving the first request. When a second request is received from the host device, a request processing unit that transmits image data obtained by the image reading process to the host device, and a time-out period elapses after a predetermined time has elapsed since the first request was received. When the request processing unit has previously received a request other than the second request, the request processing unit includes a timeout time management unit that extends the timeout time. In the case of the continuous reading process , the request processing unit starts the image reading process every time the first request is received from the host apparatus, and receives the second request from the host apparatus after the image reading process for one or a plurality of documents. Image data of one or more originals obtained by the image reading process is transmitted to the host device. Then, in the case of continuous reading processing, the timeout time management unit sets a timeout time between the first request and the next first request or second request that is longer than the normal timeout time.

また、本発明に係る画像読取装置は、ホスト装置により発行される要求を受け付け、ホスト装置から第1要求を受け付けると画像読取処理を開始し、第1要求を受け付けてからタイムアウト時間が経過する前にホスト装置から第2要求を受け付けると画像読取処理により得られた画像データをホスト装置へ送信する要求処理部と、第1要求を受け付けてから所定の時間が経過した後、タイムアウト時間が経過する前に第2要求以外の要求を要求処理部が受け付けた場合、タイムアウト時間を延長するタイムアウト時間管理部とを備える。そして、タイムアウト時間管理部は、自動給紙装置に原稿が置かれている場合にはタイムアウト時間を長く設定する。 In addition, the image reading apparatus according to the present invention receives a request issued by the host apparatus, starts the image reading process when receiving the first request from the host apparatus, and before the time-out period elapses after receiving the first request. When a second request is received from the host device, a request processing unit that transmits image data obtained by the image reading process to the host device, and a time-out period elapses after a predetermined time has elapsed since the first request was received. When the request processing unit has previously received a request other than the second request, the request processing unit includes a timeout time management unit that extends the timeout time. The time-out time management unit sets the time-out time longer when a document is placed on the automatic paper feeder.

また、本発明に係る画像読取装置は、ホスト装置により発行される要求を受け付け、ホスト装置から第1要求を受け付けると画像読取処理を開始し、第1要求を受け付けてからタイムアウト時間が経過する前にホスト装置から第2要求を受け付けると画像読取処理により得られた画像データをホスト装置へ送信する要求処理部と、第1要求を受け付けてから所定の時間が経過した後、タイムアウト時間が経過する前に第2要求以外の要求を要求処理部が受け付けた場合、タイムアウト時間を延長するタイムアウト時間管理部とを備える。そして、タイムアウト時間管理部は、第1要求に含まれるユーザIDに設定されているユーザ権限に応じた長さにタイムアウト時間を設定する。 In addition, the image reading apparatus according to the present invention receives a request issued by the host apparatus, starts the image reading process when receiving the first request from the host apparatus, and before the time-out period elapses after receiving the first request. When a second request is received from the host device, a request processing unit that transmits image data obtained by the image reading process to the host device, and a time-out period elapses after a predetermined time has elapsed since the first request was received. When the request processing unit has previously received a request other than the second request, the request processing unit includes a timeout time management unit that extends the timeout time. Then, the timeout time management unit sets the timeout time to a length corresponding to the user authority set for the user ID included in the first request.

また、本発明に係る画像読取装置は、ホスト装置により発行される要求を受け付け、ホスト装置から第1要求を受け付けると画像読取処理を開始し、第1要求を受け付けてからタイムアウト時間が経過する前にホスト装置から第2要求を受け付けると画像読取処理により得られた画像データをホスト装置へ送信する要求処理部と、第1要求を受け付けてから所定の時間が経過した後、タイムアウト時間が経過する前に第2要求以外の要求を要求処理部が受け付けた場合、タイムアウト時間を延長するタイムアウト時間管理部とを備える。そして、タイムアウト時間管理部は、第1要求に含まれるユーザIDのユーザが属する部門に応じた長さにタイムアウト時間を設定する。 In addition, the image reading apparatus according to the present invention receives a request issued by the host apparatus, starts the image reading process when receiving the first request from the host apparatus, and before the time-out period elapses after receiving the first request. When a second request is received from the host device, a request processing unit that transmits image data obtained by the image reading process to the host device, and a time-out period elapses after a predetermined time has elapsed since the first request was received. When the request processing unit has previously received a request other than the second request, the request processing unit includes a timeout time management unit that extends the timeout time. Then, the timeout time management unit sets the timeout time to a length corresponding to the department to which the user with the user ID included in the first request belongs.

また、本発明に係る画像読取装置は、上記の画像読取装置のいずれかに加え、次のようにしてもよい。この場合、タイムアウト時間管理部は、1度だけタイムアウト時間を延長する。さらに、本発明に係る画像読取装置は、上記の画像読取装置のいずれかに加え、次のようにしてもよい。この場合、要求処理部は、タイムアウト時間が経過するまでに第2要求を受け付けなかった場合、画像読取処理を中止し終了させる。 The image reading apparatus according to the present invention may be as follows in addition to any of the image reading apparatuses described above. In this case, the timeout time management unit extends the timeout time only once. Furthermore , the image reading apparatus according to the present invention may be configured as follows in addition to any of the image reading apparatuses described above. In this case, when the second request is not received before the timeout time elapses, the request processing unit stops and ends the image reading process.

本発明に係るタイムアウト時間管理プログラムは、コンピュータを、上述の要求処理部、および上述のタイムアウト時間管理部として機能させる。 Timeout management program according to the present invention, the computer, the request processing unit described above, and to function as the above-described timeout time management section.

これにより、タイムアウト時間の延長が望ましい場合に、画像読取処理を中断することなくタイムアウト時間を調節することができる。   Thereby, when it is desirable to extend the timeout time, the timeout time can be adjusted without interrupting the image reading process.

本発明によれば、画像読取処理を中断することなくタイムアウト時間を調節することができる画像読取装置およびタイムアウト時間管理プログラムを得ることができる。   According to the present invention, it is possible to obtain an image reading apparatus and a timeout time management program that can adjust the timeout time without interrupting the image reading process.

図1は、本発明の実施の形態1に係る画像読取装置を含む通信システムの構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of a communication system including an image reading apparatus according to Embodiment 1 of the present invention. 図2は、図1における画像読取装置の構成を示すブロック図である。FIG. 2 is a block diagram showing the configuration of the image reading apparatus in FIG. 図3は、図2におけるタイムアウト時間管理部の動作を説明するフローチャートである。FIG. 3 is a flowchart for explaining the operation of the timeout time management unit in FIG. 図4は、図2におけるタイムアウト時間管理部の動作を説明するタイミングチャートである。FIG. 4 is a timing chart for explaining the operation of the timeout time management unit in FIG. 図5は、本発明の実施の形態2に係る制御プログラムをインストールされたサーバ装置を含む通信システムの構成を示すブロック図である。FIG. 5 is a block diagram showing a configuration of a communication system including a server device in which a control program according to Embodiment 2 of the present invention is installed. 図6は、図5におけるサーバ装置の構成を示すブロック図である。FIG. 6 is a block diagram showing a configuration of the server apparatus in FIG.

以下、図に基づいて本発明の実施の形態を説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

実施の形態1.
図1は、本発明の実施の形態1に係る画像読取装置1を含む通信システムの構成を示すブロック図である。図1に示す通信システムでは、画像形成装置1、および1または複数のホスト装置2が、ネットワーク3に接続されている。
Embodiment 1 FIG.
FIG. 1 is a block diagram showing a configuration of a communication system including an image reading apparatus 1 according to Embodiment 1 of the present invention. In the communication system shown in FIG. 1, an image forming apparatus 1 and one or a plurality of host devices 2 are connected to a network 3.

ホスト装置2は、ネットワーク3を介して画像読取装置1へ要求を供給し、その要求に従って画像読取装置1を動作させる装置である。ホスト装置2としては、例えばパーソナルコンピュータが使用される。ホスト装置2は、画像読取装置1に対する要求を生成し、図示せぬネットワークインタフェースを使用して送信するドライバ2aを有する。   The host device 2 is a device that supplies a request to the image reading device 1 via the network 3 and operates the image reading device 1 in accordance with the request. For example, a personal computer is used as the host device 2. The host device 2 includes a driver 2a that generates a request for the image reading device 1 and transmits the request using a network interface (not shown).

ネットワーク3は、LAN(Local Area Network)などのコンピュータネットワークである。   The network 3 is a computer network such as a LAN (Local Area Network).

図2は、図1における画像読取装置1の構成を示すブロック図である。図2に示す画像読取装置1は、スキャナ11、ネットワークインタフェース12、記憶装置13およびコンピュータ14を有する。   FIG. 2 is a block diagram showing a configuration of the image reading apparatus 1 in FIG. The image reading apparatus 1 illustrated in FIG. 2 includes a scanner 11, a network interface 12, a storage device 13, and a computer 14.

スキャナ11は、文書から文書画像を光学的に読み取り、文書画像の画像データを生成する内部処理装置である。   The scanner 11 is an internal processing device that optically reads a document image from a document and generates image data of the document image.

ネットワークインタフェース12は、ネットワーク3に接続され、ネットワーク3に接続された他の装置(ここでは、ホスト装置2)との間でデータ通信を行う電気回路である。   The network interface 12 is an electric circuit that is connected to the network 3 and performs data communication with other devices (here, the host device 2) connected to the network 3.

記憶装置13は、データおよびコンピュータプログラムを記憶するための装置である。記憶装置13としては、ハードディスクドライブ、不揮発性メモリなどが使用される。記憶装置13には、制御プログラム21、ユーザデータ22、および履歴データ23が記憶されている。   The storage device 13 is a device for storing data and computer programs. As the storage device 13, a hard disk drive, a nonvolatile memory, or the like is used. The storage device 13 stores a control program 21, user data 22, and history data 23.

制御プログラム21は、後述の要求処理部31およびタイムアウト時間管理部32を実現するためのコンピュータプログラムである。   The control program 21 is a computer program for realizing a request processing unit 31 and a timeout time management unit 32 described later.

ユーザデータ22は、登録ユーザについて、ユーザID、そのユーザの権限(管理者ユーザ、一般ユーザなど)および所属する部門の部門IDを含むデータである。   The user data 22 is data including, for a registered user, a user ID, authority of the user (administrator user, general user, etc.) and a department ID of a department to which the user belongs.

履歴データ23は、スキャナ11を動作させるための要求の受信履歴を含むデータである。   The history data 23 is data including a reception history of a request for operating the scanner 11.

コンピュータ14は、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)などを有し、プログラムをRAMにロードし、CPUにより実行する。これにより、各種処理部が実現される。この実施の形態1では、要求処理部31およびタイムアウト時間管理部32が実現される。   The computer 14 includes a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), etc., loads a program into the RAM, and executes it by the CPU. Thereby, various processing units are realized. In the first embodiment, a request processing unit 31 and a timeout time management unit 32 are realized.

要求処理部31は、ネットワークインタフェース12を介して、スキャナ11に対する要求を受け付け、その要求に従ってスキャナ11を動作させる処理部である。特に、要求処理部31は、ホスト装置2から第1要求を受け付けると画像読取処理を開始し、第1要求を受け付けてからタイムアウト時間が経過する前にホスト装置2から第2要求を受け付けると画像読取処理により得られた画像データをホスト装置2へ送信する。   The request processing unit 31 is a processing unit that receives a request for the scanner 11 via the network interface 12 and operates the scanner 11 in accordance with the request. In particular, when the request processing unit 31 receives a first request from the host device 2, the request processing unit 31 starts an image reading process. When the request processing unit 31 receives a second request from the host device 2 before the timeout time elapses after the first request is received, the image is processed. The image data obtained by the reading process is transmitted to the host device 2.

また、要求処理部31は、要求を受信すると、履歴データ23に、その要求についてのレコードを追加する。レコードには、要求種別、受信日時、要求に含まれていたユーザID、要求を送信したホスト装置2のアドレス情報(IPアドレス、MACアドレスなど)が含められる。   Further, when receiving the request, the request processing unit 31 adds a record regarding the request to the history data 23. The record includes a request type, a reception date and time, a user ID included in the request, and address information (IP address, MAC address, etc.) of the host device 2 that transmitted the request.

タイムアウト時間管理部32は、上述のタイムアウト時間を管理する処理部である。タイムアウト時間管理部32は、第1要求を受け付けてから所定の時間が経過した後でタイムアウト時間が経過する前に第2要求以外の要求(スキャナ11の機械的な状態またはジョブの実行状況の問い合わせ、別の第1要求など)を要求処理部31が受け付けた場合、タイムアウト時間を延長する。そのとき、タイムアウト時間は、所定の割合または所定の時間だけ延長される。   The timeout time management unit 32 is a processing unit that manages the above-described timeout time. The time-out time management unit 32 receives a request other than the second request (inquiry about the mechanical state of the scanner 11 or the job execution status) after the predetermined time has elapsed since the first request was received and before the time-out time elapses. When the request processing unit 31 receives another first request or the like, the timeout time is extended. At that time, the timeout time is extended by a predetermined ratio or a predetermined time.

なお、この実施の形態1では、タイムアウト時間管理部32は、1つの第2要求に対して1度だけタイムアウト時間を延長する。   In the first embodiment, the timeout time management unit 32 extends the timeout time only once for one second request.

次に、画像読取装置1の動作について説明する。   Next, the operation of the image reading apparatus 1 will be described.

ホスト装置2のドライバ2aは、SOAP(Simple Object Access Protocol)などのプロトコルを使用して、要求を画像読取装置1へ送信する。ホスト装置2のドライバ2aは、画像読取処理を開始させるための第1要求を送信し、その後、その画像読取処理で得られた画像データを送信させるための第2要求を送信し、その画像データを受信する。   The driver 2a of the host apparatus 2 transmits a request to the image reading apparatus 1 using a protocol such as SOAP (Simple Object Access Protocol). The driver 2a of the host device 2 transmits a first request for starting the image reading process, and then transmits a second request for transmitting the image data obtained by the image reading process. Receive.

一方、画像読取装置1では、要求処理部31は、ネットワークインタフェース12を介して、第1要求を受け付けるとスキャナ11に画像読取処理を開始させ、第1要求を受け付けてからタイムアウト時間が経過する前にホスト装置2から第2要求を受け付けると画像読取処理により得られた画像データをホスト装置2へ送信する。   On the other hand, in the image reading apparatus 1, the request processing unit 31 causes the scanner 11 to start the image reading process when receiving the first request via the network interface 12, and before the timeout time elapses after receiving the first request. When the second request is received from the host device 2, the image data obtained by the image reading process is transmitted to the host device 2.

ここで、タイムアウト時間の管理について説明する。図3は、図2におけるタイムアウト時間管理部32の動作を説明するフローチャートである。図4は、図2におけるタイムアウト時間管理部32の動作を説明するタイミングチャートである。   Here, the management of the timeout time will be described. FIG. 3 is a flowchart for explaining the operation of the timeout time management unit 32 in FIG. FIG. 4 is a timing chart for explaining the operation of the timeout time management unit 32 in FIG.

タイムアウト時間管理部32は、要求処理部31により第1要求が受信されると(ステップS1)、図示せぬタイマを使用して、計時を開始する(ステップS2)。   When the first request is received by the request processing unit 31 (step S1), the timeout time management unit 32 starts timing using a timer (not shown) (step S2).

その後、タイムアウト時間管理部32は、第2要求以外の要求をホスト装置2から受信したか否か(ステップS3)、ステップS2の計時開始時刻からタイムアウト時間Toが経過したか否か(ステップS4)、および第2要求をホスト装置2から受信したか否か(ステップS5)について監視する。   Thereafter, the timeout time management unit 32 determines whether or not a request other than the second request has been received from the host device 2 (step S3), and whether or not the timeout time To has elapsed from the time measurement start time in step S2 (step S4). And whether the second request is received from the host device 2 (step S5).

そして、タイムアウト時間の経過前でかつ第2要求の受信前に、第2要求以外の要求がホスト装置2から受信されると、タイムアウト時間管理部32は、ステップS2の計時開始時刻からマスク時間Tmが経過しているか否かを判定する(ステップS6)。マスク時間Tmは、タイムアウト時間Toより短い所定の時間である。例えば、タイムアウト時間Toが60秒に、マスク時間Tmは30秒に設定される。   When a request other than the second request is received from the host device 2 before the timeout time elapses and before the second request is received, the timeout time management unit 32 starts the mask time Tm from the time measurement start time in step S2. It is determined whether or not elapses (step S6). The mask time Tm is a predetermined time shorter than the timeout time To. For example, the timeout time To is set to 60 seconds, and the mask time Tm is set to 30 seconds.

このとき、タイムアウト時間管理部32は、ステップS2の計時開始時刻からマスク時間Tmが経過していると判定した場合、タイムアウト時間が延長済みか否かを判定する(ステップS7)。   At this time, if the timeout time management unit 32 determines that the mask time Tm has elapsed from the time measurement start time in step S2, it determines whether or not the timeout time has been extended (step S7).

タイムアウト時間が延長済みではない場合、タイムアウト時間管理部32は、タイムアウト時間Toを延長する(ステップS8)。延長後のタイムアウト時間Toexは、初期のタイムアウト時間Toに延長時間Teを加算した時間である。タイムアウト時間を延長した後、タイムアウト時間管理部32は、上述の監視(ステップS3〜S5)を引き続き行う。   If the timeout time has not been extended, the timeout time management unit 32 extends the timeout time To (step S8). The extended timeout time Toex is a time obtained by adding the extended time Te to the initial timeout time To. After extending the timeout time, the timeout time management unit 32 continues to perform the above-described monitoring (steps S3 to S5).

一方、タイムアウト時間管理部32は、ステップS2の計時開始時刻からマスク時間Tmが経過していないと判定した場合(ステップS6)、およびタイムアウト時間を既に延長している場合(ステップS7)、上述の監視(ステップS3〜S5)を引き続き行う。   On the other hand, when the time-out time management unit 32 determines that the mask time Tm has not elapsed from the time measurement start time at step S2 (step S6), and when the time-out time has already been extended (step S7), Monitoring (steps S3 to S5) is continued.

そして、タイムアウト時間(ToまたはToex)の経過前に第2要求が受信されると(ステップS5)、タイムアウト時間管理部32は、タイムアウト時間が延長されているか否かを判定し(ステップS10)、タイムアウト時間が延長されている場合には、タイムアウト時間を延長前の値Toにリセットする(ステップS11)。また、タイムアウト時間管理部32は、計時を終了する(ステップS12)。   When the second request is received before the timeout time (To or Toex) elapses (step S5), the timeout time management unit 32 determines whether or not the timeout time is extended (step S10). If the timeout time has been extended, the timeout time is reset to the value To before extension (step S11). Further, the timeout time management unit 32 ends the time measurement (step S12).

また、ネットワーク3の通信障害、ホスト装置2内での障害などに起因してタイムアウト時間が経過した場合(ステップS4)、タイムアウト時間管理部32は、タイムアウトが発生したことを要求処理部31に通知する(ステップS9)。要求処理部31は、そのタイムアウト通知を受け付けると、第1要求により開始された画像読取処理を中止し終了させる。したがって、要求処理部31は、第1要求に従って取得した画像データを破棄し、その画像データのために確保したリソースを解放する。そして、タイムアウト時間管理部32は、タイムアウト時間が延長されているか否かを判定し(ステップS10)、タイムアウト時間が延長されている場合には、タイムアウト時間を延長前の値Toにリセットする(ステップS11)。また、タイムアウト時間管理部32は、計時を終了する(ステップS12)。   When the timeout time has elapsed due to a communication failure in the network 3 or a failure in the host device 2 (step S4), the timeout time management unit 32 notifies the request processing unit 31 that a timeout has occurred. (Step S9). Upon receiving the timeout notification, the request processing unit 31 stops and terminates the image reading process started by the first request. Therefore, the request processing unit 31 discards the image data acquired according to the first request, and releases resources reserved for the image data. Then, the timeout time management unit 32 determines whether or not the timeout time is extended (step S10). If the timeout time is extended, the timeout time is reset to the value To before extension (step S10). S11). Further, the timeout time management unit 32 ends the time measurement (step S12).

以上のように、上記実施の形態1によれば、タイムアウト時間の終わりに近づいて、第2要求とは別の要求がホスト装置2から受信された場合、ホスト装置2から第2要求が受信される可能性が高いため、タイムアウト時間が経過してしまう前にタイムアウト時間を一度だけ延長する。これにより、必要に応じて、画像読取処理を中断することなくタイムアウト時間を調節することができるとともに、タイムアウト後に第2要求が受信される可能性を低くすることができる。   As described above, according to the first embodiment, when a request different from the second request is received from the host device 2 near the end of the timeout period, the second request is received from the host device 2. The timeout period is extended only once before the timeout period elapses. As a result, the time-out period can be adjusted without interrupting the image reading process as required, and the possibility that the second request is received after the time-out can be reduced.

実施の形態2.
実施の形態2では、画像読取装置ではなくサーバ装置が、要求およびタイムアウト時間の管理を行う。
Embodiment 2. FIG.
In the second embodiment, the server device, not the image reading device, manages the request and timeout time.

図5は、本発明の実施の形態2に係る制御プログラムをインストールされたサーバ装置103を含む通信システムの構成を示すブロック図である。図5に示す通信システムでは、画像読取装置101、1または複数のホスト装置102、およびサーバ装置103が、ネットワーク104に接続されている。   FIG. 5 is a block diagram showing a configuration of a communication system including the server apparatus 103 in which the control program according to Embodiment 2 of the present invention is installed. In the communication system shown in FIG. 5, an image reading device 101, one or a plurality of host devices 102, and a server device 103 are connected to a network 104.

この実施の形態2では、画像読取装置101は、スキャナといった内部処理装置、ネットワークインタフェース、およびネットワークインタフェースを介して受信した要求に基づいてスキャナを動作させる制御装置を有する。   In the second embodiment, the image reading apparatus 101 includes an internal processing device such as a scanner, a network interface, and a control device that operates the scanner based on a request received via the network interface.

ホスト装置102は、サーバ装置103を介して画像読取装置101へ要求を供給し、その要求に従って画像読取装置101を動作させる装置である。実施の形態2では、ホスト装置102は、サーバ装置103へ要求を送信し、サーバ装置103からその要求が画像読取装置101へ送信される。ホスト装置102としては、例えばパーソナルコンピュータが使用される。ホスト装置102は、要求を生成し、図示せぬネットワークインタフェースを使用して送信するドライバ102aを有する。   The host device 102 is a device that supplies a request to the image reading device 101 via the server device 103 and operates the image reading device 101 in accordance with the request. In the second embodiment, the host apparatus 102 transmits a request to the server apparatus 103, and the request is transmitted from the server apparatus 103 to the image reading apparatus 101. As the host device 102, for example, a personal computer is used. The host device 102 has a driver 102a that generates a request and transmits it using a network interface (not shown).

ネットワーク104は、LANなどのコンピュータネットワークである。   The network 104 is a computer network such as a LAN.

図6は、図5におけるサーバ装置103の構成を示すブロック図である。図6に示すサーバ装置103は、ネットワークインタフェース111、記憶装置112およびコンピュータ113を有する。   FIG. 6 is a block diagram showing the configuration of the server apparatus 103 in FIG. The server device 103 illustrated in FIG. 6 includes a network interface 111, a storage device 112, and a computer 113.

ネットワークインタフェース111は、ネットワーク104に接続され、ネットワーク104に接続された他の装置(ここでは、画像読取装置101およびホスト装置102)との間でデータ通信を行う電気回路である。   The network interface 111 is an electric circuit that is connected to the network 104 and performs data communication with other devices (here, the image reading device 101 and the host device 102) connected to the network 104.

記憶装置112は、データおよびコンピュータプログラムを記憶するための装置である。記憶装置112としては、ハードディスクドライブ、不揮発性メモリなどが使用される。記憶装置112には、制御プログラム121、ユーザデータ122、および履歴データ123が記憶されている。   The storage device 112 is a device for storing data and computer programs. As the storage device 112, a hard disk drive, a nonvolatile memory, or the like is used. The storage device 112 stores a control program 121, user data 122, and history data 123.

制御プログラム121は、後述の要求処理部131およびタイムアウト時間管理部132を実現するためのコンピュータプログラムである。ユーザデータ122は、上述のユーザデータ22と同様のデータである。履歴データ123は、上述の履歴データ23と同様のデータである。   The control program 121 is a computer program for realizing a request processing unit 131 and a timeout time management unit 132 described later. The user data 122 is the same data as the user data 22 described above. The history data 123 is the same data as the history data 23 described above.

コンピュータ113は、CPU、ROM、RAMなどを有し、プログラムをRAMにロードし、CPUにより実行する。これにより、各種処理部が実現される。この実施の形態2では、要求処理部131およびタイムアウト時間管理部132が実現される。   The computer 113 has a CPU, a ROM, a RAM, and the like, loads a program into the RAM, and executes it by the CPU. Thereby, various processing units are realized. In the second embodiment, a request processing unit 131 and a timeout time management unit 132 are realized.

要求処理部131は、ネットワークインタフェース111を介して、画像読取装置101のスキャナに対する要求を受け付け、その要求を画像読取装置101へ送信し、その要求に従ってスキャナを動作させる処理部である。特に、要求処理部131は、ホスト装置2から第1要求を受け付けると画像読取装置に画像読取処理を開始させ、第1要求を受け付けてからタイムアウト時間が経過する前にホスト装置2から第2要求を受け付けると画像読取処理により得られた画像データをホスト装置2へ送信する。   The request processing unit 131 is a processing unit that receives a request for the scanner of the image reading apparatus 101 via the network interface 111, transmits the request to the image reading apparatus 101, and operates the scanner according to the request. In particular, the request processing unit 131 causes the image reading apparatus to start image reading processing when receiving a first request from the host apparatus 2, and receives a second request from the host apparatus 2 before the timeout time elapses after receiving the first request. Is received, the image data obtained by the image reading process is transmitted to the host device 2.

また、要求処理部131は、要求を受信すると、履歴データ123に、その要求についてのレコードを追加する。レコードには、要求種別、受信日時、要求に含まれていたユーザID、要求を送信したホスト装置2のアドレス情報(IPアドレス、MACアドレスなど)が含められる。   When receiving the request, the request processing unit 131 adds a record for the request to the history data 123. The record includes a request type, a reception date and time, a user ID included in the request, and address information (IP address, MAC address, etc.) of the host device 2 that transmitted the request.

タイムアウト時間管理部132は、上述のタイムアウト時間を管理する処理部である。タイムアウト時間管理部132は、第1要求を受け付けてから所定の時間が経過した後、タイムアウト時間が経過する前に第2要求以外の要求を要求処理部131が受け付けた場合、タイムアウト時間を延長する。タイムアウト時間は、所定の割合または所定の時間だけ延長される。   The timeout time management unit 132 is a processing unit that manages the above-described timeout time. The timeout time management unit 132 extends the timeout time when the request processing unit 131 receives a request other than the second request after the predetermined time has elapsed since the first request was received and before the timeout time has elapsed. . The timeout time is extended by a predetermined rate or a predetermined time.

なお、この実施の形態2では、タイムアウト時間管理部132は、1つの第2要求に対して1度だけタイムアウト時間を延長する。   In the second embodiment, the timeout time management unit 132 extends the timeout time only once for one second request.

次に、上記サーバ装置103の動作について説明する。   Next, the operation of the server device 103 will be described.

ホスト装置102のドライバ102aは、SOAPなどのプロトコルを使用して、要求を、サーバ装置103を介して画像読取装置101へ送信する。ホスト装置102のドライバ102aは、画像読取処理を開始させるための第1要求を送信し、その後、その画像読取処理で得られた画像データを送信させるための第2要求を送信し、その画像データを受信する。   The driver 102 a of the host apparatus 102 transmits a request to the image reading apparatus 101 via the server apparatus 103 using a protocol such as SOAP. The driver 102a of the host apparatus 102 transmits a first request for starting the image reading process, and then transmits a second request for transmitting the image data obtained by the image reading process. Receive.

一方、サーバ装置103では、要求処理部131は、第1要求を受け付けると画像読取装置101のスキャナに画像読取処理を開始させ、第1要求を受け付けてからタイムアウト時間が経過する前にホスト装置2から第2要求を受け付けると画像読取処理により得られた画像データを画像読取装置101から取得しホスト装置2へ送信する。   On the other hand, in the server apparatus 103, when the request processing unit 131 receives the first request, the request processing unit 131 causes the scanner of the image reading apparatus 101 to start image reading processing, and before the timeout period elapses after the first request is received. When the second request is received from the image reading apparatus, the image data obtained by the image reading process is acquired from the image reading apparatus 101 and transmitted to the host apparatus 2.

なお、実施の形態2では、タイムアウト時間管理部132が、実施の形態1のタイムアウト時間管理部32と同様に、タイムアウト時間の管理を行う。   In the second embodiment, the timeout time management unit 132 manages the timeout time in the same manner as the timeout time management unit 32 of the first embodiment.

以上のように、上記実施の形態2によれば、タイムアウト時間の管理が、実施の形態1と同様の方法で、サーバ装置103により行われる。これにより、必要に応じて、画像読取処理を中断することなくタイムアウト時間を調節することができるとともに、タイムアウト後に第2要求が受信される可能性を低くすることができる。   As described above, according to the second embodiment, the timeout period is managed by the server apparatus 103 in the same manner as in the first embodiment. As a result, the time-out period can be adjusted without interrupting the image reading process as required, and the possibility that the second request is received after the time-out can be reduced.

なお、上述の各実施の形態は、本発明の好適な例であるが、本発明は、これらに限定されるものではなく、本発明の要旨を逸脱しない範囲において、種々の変形、変更が可能である。   Each embodiment described above is a preferred example of the present invention, but the present invention is not limited to these, and various modifications and changes can be made without departing from the scope of the present invention. It is.

例えば、上記実施の形態1,2において、タイムアウト時間管理部32,132は、要求の履歴データに基づいて、要求のあった回数の多い時間帯においてはタイムアウト時間Toを長く(例えば70秒)設定し、要求のあった回数の少ない時間帯においてはタイムアウト時間Toを短く(例えば50秒)設定するようにしてもよい。   For example, in the first and second embodiments, the time-out time management units 32 and 132 set the time-out time To long (for example, 70 seconds) in the time zone where the number of requests is large, based on the request history data. However, the time-out time To may be set short (for example, 50 seconds) in the time zone in which the number of requests is small.

例えば、2つの閾値を設け、要求のあった回数が一方の閾値より多い場合にタイムアウト時間を長くし、要求のあった回数が他方の閾値より少ない場合にタイムアウト時間を短くする。   For example, two thresholds are provided, and the timeout time is increased when the number of requests is greater than one threshold, and the timeout time is shortened when the number of requests is less than the other threshold.

なお、要求のあった回数は、履歴データ23,123における第1要求の回数としてもよいし、全要求の回数としてもよい(以下、同様)。また、時間帯は、24時間を所定の時間(例えば4時間)ずつ分割したものである。   The number of requests may be the number of first requests in the history data 23 and 123 or the number of all requests (the same applies hereinafter). The time zone is obtained by dividing 24 hours by a predetermined time (for example, 4 hours).

また、上記実施の形態1,2において、タイムアウト時間管理部32,132は、第1要求に含まれるユーザIDまたは第1要求を送信したホスト装置2,102のアドレス情報について要求のあった回数の多い時間帯においてはタイムアウト時間を長く設定し、第1要求に含まれるユーザIDまたは第1要求を送信したホスト装置2,102のアドレス情報について要求のあった回数の少ない時間帯においてはタイムアウト時間を短く設定するようにしてもよい。これにより、それぞれのユーザまたはホスト装置に適したタイムアウト時間が設定される。   In the first and second embodiments, the timeout time management units 32 and 132 determine the number of requests for the user ID included in the first request or the address information of the host devices 2 and 102 that transmitted the first request. In a large time zone, a long timeout time is set, and in a time zone in which the number of requests for the user ID included in the first request or the address information of the host device 2 102 that transmitted the first request is small, the timeout time is set. You may make it set short. Thus, a timeout time suitable for each user or host device is set.

また、上記実施の形態1,2において、タイムアウト時間管理部32,132は、所定の昼間の時間帯(例えば、6時から18時まで)においてはタイムアウト時間を長く設定し、所定の夜間の時間帯(例えば、18時から6時まで)においてはタイムアウト時間を短く設定するようにしてもよい。   In the first and second embodiments, the timeout time management units 32 and 132 set a longer timeout time in a predetermined daytime period (for example, from 6 o'clock to 18 o'clock), and the predetermined night time In the band (for example, from 18:00 to 6:00), the timeout time may be set short.

また、上記実施の形態1,2において、要求処理部31,131は、第1要求において連続読み込み処理が指定されている場合、ホスト装置から第1要求を受け付けるごとに画像読取処理を開始させ、1または複数の原稿に対する画像読取処理の後にホスト装置から第2要求を受け付けると画像読取処理により得られた1または複数の原稿の画像データをホスト装置2,102へ送信する。そして、タイムアウト時間管理部32,132は、連続読み込み処理の場合、連続読み込みではない場合のタイムアウト時間Toより所定の延長時間だけ長く、第1要求と次の第1要求との間のタイムアウト時間、および最後の第1要求と第2要求との間のタイムアウト時間を設定するようにしてもよい。   In the first and second embodiments, when the continuous reading process is specified in the first request, the request processing units 31 and 131 start the image reading process every time the first request is received from the host device. When a second request is received from the host apparatus after the image reading process for one or a plurality of documents, the image data of one or a plurality of documents obtained by the image reading process is transmitted to the host devices 2 and 102. In the case of continuous reading processing, the timeout time management units 32 and 132 are longer than the timeout time To in the case of non-continuous reading by a predetermined extension time, and the timeout time between the first request and the next first request, A timeout time between the last first request and the second request may be set.

また、上記実施の形態1,2において、画像読取装置1,101が自動給紙装置を備える場合、タイムアウト時間管理部32,132は、自動給紙装置のトレイに設置されたセンサの出力信号に基づいて、その自動給紙装置に原稿が置かれているか否かを特定し、その自動給紙装置に原稿が置かれている場合にはタイムアウト時間を所定の延長時間だけ長く設定するようにしてもよい。   In the first and second embodiments, when the image reading device 1 or 101 includes an automatic paper feeding device, the timeout time management units 32 and 132 use the output signals of the sensors installed on the tray of the automatic paper feeding device. Based on this, it is determined whether or not a document is placed on the automatic paper feeder, and when a document is placed on the automatic paper feeder, the timeout time is set longer by a predetermined extension time. Also good.

また、上記実施の形態1,2において、タイムアウト時間管理部32,132は、ユーザデータ22,122を参照し、第1要求に含まれるユーザIDに設定されているユーザ権限に応じた長さにタイムアウト時間Toを設定するようにしてもよい。例えば、管理者ユーザの場合、タイムアウト時間が、一般ユーザの場合に比べ長く設定される。   In the first and second embodiments, the timeout time management units 32 and 132 refer to the user data 22 and 122 and set the length according to the user authority set in the user ID included in the first request. The timeout time To may be set. For example, in the case of an administrator user, the timeout time is set longer than in the case of a general user.

また、上記実施の形態1,2において、タイムアウト時間管理部32,132は、第1要求に含まれるユーザIDのユーザが属する部門に応じた長さにタイムアウト時間を設定するようにしてもよい。例えば、ネットワーク3,104上で通信障害が発生しやすい場所や遠方に存在する部門については、他の部門より長くタイムアウト時間が設定される。   In the first and second embodiments, the timeout time management units 32 and 132 may set the timeout time to a length corresponding to the department to which the user with the user ID included in the first request belongs. For example, a time-out time is set longer for other departments than the other departments in places where communication failures are likely to occur on the networks 3 and 104 or in remote departments.

なお、タイムアウト時間を長くする場合、上述の各条件に応じた所定の時間がタイムアウト時間に加算され、タイムアウト時間を短くする場合、上述の各条件に応じた所定の時間がタイムアウト時間から減算される。   In addition, when extending the timeout time, a predetermined time according to each of the above conditions is added to the timeout time, and when reducing the timeout time, the predetermined time according to each of the above conditions is subtracted from the timeout time. .

本発明は、例えば、ネットワークに接続されたスキャナに適用可能である。   The present invention is applicable to, for example, a scanner connected to a network.

1 画像読取装置
2,102 ホスト装置
14,113 コンピュータ
21,121 制御プログラム(タイムアウト時間管理プログラムの一例)
23,123 履歴データ
31,131 要求処理部
32,132 タイムアウト時間管理部
DESCRIPTION OF SYMBOLS 1 Image reading device 2,102 Host device 14,113 Computer 21,121 Control program (an example of a timeout time management program)
23, 123 History data 31, 131 Request processing unit 32, 132 Timeout time management unit

Claims (15)

ホスト装置により発行される要求を受け付け、前記ホスト装置から第1要求を受け付けると画像読取処理を開始し、前記第1要求を受け付けてからタイムアウト時間が経過する前に前記ホスト装置から第2要求を受け付けると前記画像読取処理により得られた画像データを前記ホスト装置へ送信する要求処理部と、
前記第1要求を受け付けてから所定の時間が経過した後、前記タイムアウト時間が経過する前に前記第2要求以外の要求を前記要求処理部が受け付けた場合、前記タイムアウト時間を延長するタイムアウト時間管理部と、
を備え、
前記タイムアウト時間管理部は、前記要求の履歴データに基づいて、前記要求のあった回数の多い時間帯においては前記タイムアウト時間を長く設定し、前記要求のあった回数の少ない時間帯においては前記タイムアウト時間を短く設定すること、
を特徴とする画像読取装置。
When a request issued by the host device is received and a first request is received from the host device, an image reading process is started, and a second request is received from the host device before a time-out period elapses after the first request is received. A request processing unit that transmits image data obtained by the image reading process to the host device upon receipt;
Time-out time management for extending the time-out time when the request processing unit accepts a request other than the second request before the time-out time elapses after a predetermined time elapses after the first request is received. And
With
The time-out time management unit sets the time-out time to be longer in a time zone where the number of requests is high, and sets the time-out time in a time zone where the number of requests is low, based on the history data of the request. Set the time short,
An image reading apparatus.
前記履歴データは、前記要求に含まれていたユーザIDまたは前記要求を送信した前記ホスト装置のアドレス情報を含み、
前記タイムアウト時間管理部は、前記第1要求に含まれるユーザIDまたは前記第1要求を送信した前記ホスト装置のアドレス情報について前記要求のあった回数の多い時間帯においては前記タイムアウト時間を長く設定し、前記第1要求に含まれるユーザIDまたは前記第1要求を送信した前記ホスト装置のアドレス情報について前記要求のあった回数の少ない時間帯においては前記タイムアウト時間を短く設定すること、
を特徴とする請求項記載の画像読取装置。
The history data includes a user ID included in the request or address information of the host device that transmitted the request,
The time-out time management unit sets the time-out time to be longer in a time zone in which the number of times the request has been made with respect to the user ID included in the first request or the address information of the host device that has transmitted the first request. The time-out time is set short in a time zone in which the number of requests is small for the user ID included in the first request or the address information of the host device that has transmitted the first request;
The image reading apparatus according to claim 1 .
ホスト装置により発行される要求を受け付け、前記ホスト装置から第1要求を受け付けると画像読取処理を開始し、前記第1要求を受け付けてからタイムアウト時間が経過する前に前記ホスト装置から第2要求を受け付けると前記画像読取処理により得られた画像データを前記ホスト装置へ送信する要求処理部と、
前記第1要求を受け付けてから所定の時間が経過した後、前記タイムアウト時間が経過する前に前記第2要求以外の要求を前記要求処理部が受け付けた場合、前記タイムアウト時間を延長するタイムアウト時間管理部と、
を備え、
前記タイムアウト時間管理部は、所定の昼間の時間帯においては前記タイムアウト時間を長く設定し、所定の夜間の時間帯においては前記タイムアウト時間を短く設定することを特徴とする画像読取装置。
When a request issued by the host device is received and a first request is received from the host device, an image reading process is started, and a second request is received from the host device before a time-out period elapses after the first request is received. A request processing unit that transmits image data obtained by the image reading process to the host device upon receipt;
Time-out time management for extending the time-out time when the request processing unit accepts a request other than the second request before the time-out time elapses after a predetermined time elapses after the first request is received. And
With
The timeout time management section, in the time period of a given day is set longer the time-out period, the predetermined nighttime images reader you and sets shorter the timeout period in the time period.
ホスト装置により発行される要求を受け付け、前記ホスト装置から第1要求を受け付けると画像読取処理を開始し、前記第1要求を受け付けてからタイムアウト時間が経過する前に前記ホスト装置から第2要求を受け付けると前記画像読取処理により得られた画像データを前記ホスト装置へ送信する要求処理部と、
前記第1要求を受け付けてから所定の時間が経過した後、前記タイムアウト時間が経過する前に前記第2要求以外の要求を前記要求処理部が受け付けた場合、前記タイムアウト時間を延長するタイムアウト時間管理部と、
を備え、
前記要求処理部は、連続読み込み処理の場合、前記ホスト装置から第1要求を受け付けるごとに画像読取処理を開始し、1または複数の原稿に対する画像読取処理の後に前記ホスト装置から第2要求を受け付けると前記画像読取処理により得られた前記1または複数の原稿の画像データを前記ホスト装置へ送信し、
前記タイムアウト時間管理部は、連続読み込み処理の場合、前記タイムアウト時間より長く、前記第1要求と次の前記第1要求または前記第2要求との間のタイムアウト時間を設定すること、
を特徴とする画像読取装置。
When a request issued by the host device is received and a first request is received from the host device, an image reading process is started, and a second request is received from the host device before a time-out period elapses after the first request is received. A request processing unit that transmits image data obtained by the image reading process to the host device upon receipt;
Time-out time management for extending the time-out time when the request processing unit accepts a request other than the second request before the time-out time elapses after a predetermined time elapses after the first request is received. And
With
In the case of continuous reading processing, the request processing unit starts image reading processing every time a first request is received from the host device, and receives a second request from the host device after image reading processing for one or a plurality of documents. And the image data of the one or more documents obtained by the image reading process to the host device,
The time-out time management unit sets a time-out time between the first request and the next first request or the second request longer than the time-out time in the case of continuous reading processing;
Images reader said.
ホスト装置により発行される要求を受け付け、前記ホスト装置から第1要求を受け付けると画像読取処理を開始し、前記第1要求を受け付けてからタイムアウト時間が経過する前に前記ホスト装置から第2要求を受け付けると前記画像読取処理により得られた画像データを前記ホスト装置へ送信する要求処理部と、
前記第1要求を受け付けてから所定の時間が経過した後、前記タイムアウト時間が経過する前に前記第2要求以外の要求を前記要求処理部が受け付けた場合、前記タイムアウト時間を延長するタイムアウト時間管理部と、
自動給紙装置を備え、
前記タイムアウト時間管理部は、前記自動給紙装置に原稿が置かれている場合には前記タイムアウト時間を長く設定すること、
を特徴とする画像読取装置。
When a request issued by the host device is received and a first request is received from the host device, an image reading process is started, and a second request is received from the host device before a time-out period elapses after the first request is received. A request processing unit that transmits image data obtained by the image reading process to the host device upon receipt;
Time-out time management for extending the time-out time when the request processing unit accepts a request other than the second request before the time-out time elapses after a predetermined time elapses after the first request is received. And
And an automatic sheet feeder,
The time-out time management unit sets the time-out time long when a document is placed on the automatic paper feeder;
Images reader said.
ホスト装置により発行される要求を受け付け、前記ホスト装置から第1要求を受け付けると画像読取処理を開始し、前記第1要求を受け付けてからタイムアウト時間が経過する前に前記ホスト装置から第2要求を受け付けると前記画像読取処理により得られた画像データを前記ホスト装置へ送信する要求処理部と、
前記第1要求を受け付けてから所定の時間が経過した後、前記タイムアウト時間が経過する前に前記第2要求以外の要求を前記要求処理部が受け付けた場合、前記タイムアウト時間を延長するタイムアウト時間管理部と、
を備え、
前記タイムアウト時間管理部は、前記第1要求に含まれるユーザIDに設定されているユーザ権限に応じた長さに前記タイムアウト時間を設定することを特徴とする画像読取装置。
When a request issued by the host device is received and a first request is received from the host device, an image reading process is started, and a second request is received from the host device before a time-out period elapses after the first request is received. A request processing unit that transmits image data obtained by the image reading process to the host device upon receipt;
Time-out time management for extending the time-out time when the request processing unit accepts a request other than the second request before the time-out time elapses after a predetermined time elapses after the first request is received. And
With
The timeout time management section, the first request was to length according to the user authority is set to the user ID setting the timeout time reading images shall be the features contained device.
ホスト装置により発行される要求を受け付け、前記ホスト装置から第1要求を受け付けると画像読取処理を開始し、前記第1要求を受け付けてからタイムアウト時間が経過する前に前記ホスト装置から第2要求を受け付けると前記画像読取処理により得られた画像データを前記ホスト装置へ送信する要求処理部と、
前記第1要求を受け付けてから所定の時間が経過した後、前記タイムアウト時間が経過する前に前記第2要求以外の要求を前記要求処理部が受け付けた場合、前記タイムアウト時間を延長するタイムアウト時間管理部と、
を備え、
前記タイムアウト時間管理部は、前記第1要求に含まれるユーザIDのユーザが属する部門に応じた長さに前記タイムアウト時間を設定することを特徴とする画像読取装置。
When a request issued by the host device is received and a first request is received from the host device, an image reading process is started, and a second request is received from the host device before a time-out period elapses after the first request is received. A request processing unit that transmits image data obtained by the image reading process to the host device upon receipt;
Time-out time management for extending the time-out time when the request processing unit accepts a request other than the second request before the time-out time elapses after a predetermined time elapses after the first request is received. And
With
The timeout time management section, the first request to read images characterized in that the user of the user ID to set the timeout time length corresponding to the sectors belonging contained device.
前記タイムアウト時間管理部は、1度だけ前記タイムアウト時間を延長することを特徴とする請求項1から請求項7のいずれか1項記載の画像読取装置。 The image reading apparatus according to claim 1 , wherein the timeout time management unit extends the timeout time only once. 前記要求処理部は、前記タイムアウト時間が経過するまでに前記第2要求を受け付けなかった場合、前記画像読取処理を中止し終了させることを特徴とする請求項1から請求項のいずれか1項記載の画像読取装置。 The request processing unit, when said time-out period has not received the second request until after, any one of claims 1 to 8, characterized in that to terminate stops the image reading processing The image reading apparatus described. コンピュータを、
ホスト装置により発行される要求を受け付け、前記ホスト装置から第1要求を受け付けると画像読取装置に画像読取処理を開始させ、前記第1要求を受け付けてからタイムアウト時間が経過する前に前記ホスト装置から第2要求を受け付けると前記画像読取処理により得られた画像データを前記画像読取装置から前記ホスト装置へ送信する要求処理部、および
前記第1要求を受け付けてから所定の時間が経過した後、前記タイムアウト時間が経過する前に前記第2要求以外の要求を前記要求処理部が受け付けた場合、前記タイムアウト時間を延長するタイムアウト時間管理部、
として機能させ
前記タイムアウト時間管理部は、前記要求の履歴データに基づいて、前記要求のあった回数の多い時間帯においては前記タイムアウト時間を長く設定し、前記要求のあった回数の少ない時間帯においては前記タイムアウト時間を短く設定すること、
を特徴とするタイムアウト時間管理プログラム。
Computer
When a request issued by the host device is received and the first request is received from the host device, the image reading device starts image reading processing, and from the host device before the timeout time elapses after the first request is received. When a second request is received, a request processing unit that transmits image data obtained by the image reading process from the image reading device to the host device, and after a predetermined time has passed since the first request was received, If the request processing unit accepts a request other than the second request before the time-out time elapses, a time-out time management unit that extends the time-out time;
To function as,
The time-out time management unit sets the time-out time to be longer in a time zone where the number of requests is high, and sets the time-out time in a time zone where the number of requests is low, based on the history data of the request. Set the time short,
A time-out time management program.
コンピュータを、Computer
ホスト装置により発行される要求を受け付け、前記ホスト装置から第1要求を受け付けると画像読取装置に画像読取処理を開始させ、前記第1要求を受け付けてからタイムアウト時間が経過する前に前記ホスト装置から第2要求を受け付けると前記画像読取処理により得られた画像データを前記画像読取装置から前記ホスト装置へ送信する要求処理部、およびWhen a request issued by the host device is received and the first request is received from the host device, the image reading device starts image reading processing, and from the host device before the timeout time elapses after the first request is received. A request processing unit that transmits image data obtained by the image reading process from the image reading device to the host device when receiving a second request; and
前記第1要求を受け付けてから所定の時間が経過した後、前記タイムアウト時間が経過する前に前記第2要求以外の要求を前記要求処理部が受け付けた場合、前記タイムアウト時間を延長するタイムアウト時間管理部、Time-out time management for extending the time-out time when the request processing unit accepts a request other than the second request before the time-out time elapses after a predetermined time elapses after the first request is received. Part,
として機能させ、Function as
前記タイムアウト時間管理部は、所定の昼間の時間帯においては前記タイムアウト時間を長く設定し、所定の夜間の時間帯においては前記タイムアウト時間を短く設定すること、The timeout time management unit sets the timeout time long in a predetermined daytime period, and sets the timeout time short in a predetermined nighttime period,
を特徴とするタイムアウト時間管理プログラム。A time-out time management program.
コンピュータを、Computer
ホスト装置により発行される要求を受け付け、前記ホスト装置から第1要求を受け付けると画像読取装置に画像読取処理を開始させ、前記第1要求を受け付けてからタイムアウト時間が経過する前に前記ホスト装置から第2要求を受け付けると前記画像読取処理により得られた画像データを前記画像読取装置から前記ホスト装置へ送信する要求処理部、およびWhen a request issued by the host device is received and the first request is received from the host device, the image reading device starts image reading processing, and from the host device before the timeout time elapses after the first request is received. A request processing unit that transmits image data obtained by the image reading process from the image reading device to the host device when receiving a second request; and
前記第1要求を受け付けてから所定の時間が経過した後、前記タイムアウト時間が経過する前に前記第2要求以外の要求を前記要求処理部が受け付けた場合、前記タイムアウト時間を延長するタイムアウト時間管理部、Time-out time management for extending the time-out time when the request processing unit accepts a request other than the second request before the time-out time elapses after a predetermined time elapses after the first request is received. Part,
として機能させ、Function as
前記要求処理部は、連続読み込み処理の場合、前記ホスト装置から第1要求を受け付けるごとに画像読取処理を開始し、1または複数の原稿に対する画像読取処理の後に前記ホスト装置から第2要求を受け付けると前記画像読取処理により得られた前記1または複数の原稿の画像データを前記ホスト装置へ送信し、In the case of continuous reading processing, the request processing unit starts image reading processing every time a first request is received from the host device, and receives a second request from the host device after image reading processing for one or a plurality of documents. And the image data of the one or more documents obtained by the image reading process to the host device,
前記タイムアウト時間管理部は、連続読み込み処理の場合、前記タイムアウト時間より長く、前記第1要求と次の前記第1要求または前記第2要求との間のタイムアウト時間を設定すること、The time-out time management unit sets a time-out time between the first request and the next first request or the second request longer than the time-out time in the case of continuous reading processing;
を特徴とするタイムアウト時間管理プログラム。A time-out time management program.
コンピュータを、Computer
ホスト装置により発行される要求を受け付け、前記ホスト装置から第1要求を受け付けると画像読取装置に画像読取処理を開始させ、前記第1要求を受け付けてからタイムアウト時間が経過する前に前記ホスト装置から第2要求を受け付けると前記画像読取処理により得られた画像データを前記画像読取装置から前記ホスト装置へ送信する要求処理部、およびWhen a request issued by the host device is received and the first request is received from the host device, the image reading device starts image reading processing, and from the host device before the timeout time elapses after the first request is received. A request processing unit that transmits image data obtained by the image reading process from the image reading device to the host device when receiving a second request; and
前記第1要求を受け付けてから所定の時間が経過した後、前記タイムアウト時間が経過する前に前記第2要求以外の要求を前記要求処理部が受け付けた場合、前記タイムアウト時間を延長するタイムアウト時間管理部、Time-out time management for extending the time-out time when the request processing unit accepts a request other than the second request before the time-out time elapses after a predetermined time elapses after the first request is received. Part,
として機能させ、Function as
前記タイムアウト時間管理部は、前記画像読取装置の自動給紙装置に原稿が置かれている場合には前記タイムアウト時間を長く設定すること、The time-out time management unit sets the time-out time long when an original is placed on the automatic paper feeder of the image reading device;
を特徴とするタイムアウト時間管理プログラム。A time-out time management program.
コンピュータを、Computer
ホスト装置により発行される要求を受け付け、前記ホスト装置から第1要求を受け付けると画像読取装置に画像読取処理を開始させ、前記第1要求を受け付けてからタイムアウト時間が経過する前に前記ホスト装置から第2要求を受け付けると前記画像読取処理により得られた画像データを前記画像読取装置から前記ホスト装置へ送信する要求処理部、およびWhen a request issued by the host device is received and the first request is received from the host device, the image reading device starts image reading processing, and from the host device before the timeout time elapses after the first request is received. A request processing unit that transmits image data obtained by the image reading process from the image reading device to the host device when receiving a second request; and
前記第1要求を受け付けてから所定の時間が経過した後、前記タイムアウト時間が経過する前に前記第2要求以外の要求を前記要求処理部が受け付けた場合、前記タイムアウト時間を延長するタイムアウト時間管理部、Time-out time management for extending the time-out time when the request processing unit accepts a request other than the second request before the time-out time elapses after a predetermined time elapses after the first request is received. Part,
として機能させ、Function as
前記タイムアウト時間管理部は、前記第1要求に含まれるユーザIDに設定されているユーザ権限に応じた長さに前記タイムアウト時間を設定すること、The time-out time management unit sets the time-out time to a length according to the user authority set in the user ID included in the first request;
を特徴とするタイムアウト時間管理プログラム。A time-out time management program.
コンピュータを、Computer
ホスト装置により発行される要求を受け付け、前記ホスト装置から第1要求を受け付けると画像読取装置に画像読取処理を開始させ、前記第1要求を受け付けてからタイムアウト時間が経過する前に前記ホスト装置から第2要求を受け付けると前記画像読取処理により得られた画像データを前記画像読取装置から前記ホスト装置へ送信する要求処理部、およびWhen a request issued by the host device is received and the first request is received from the host device, the image reading device starts image reading processing, and from the host device before the timeout time elapses after the first request is received. A request processing unit that transmits image data obtained by the image reading process from the image reading device to the host device when receiving a second request; and
前記第1要求を受け付けてから所定の時間が経過した後、前記タイムアウト時間が経過する前に前記第2要求以外の要求を前記要求処理部が受け付けた場合、前記タイムアウト時間を延長するタイムアウト時間管理部、Time-out time management for extending the time-out time when the request processing unit accepts a request other than the second request before the time-out time elapses after a predetermined time elapses after the first request is received. Part,
として機能させ、Function as
前記タイムアウト時間管理部は、前記第1要求に含まれるユーザIDのユーザが属する部門に応じた長さに前記タイムアウト時間を設定すること、The timeout time management unit sets the timeout time to a length according to a department to which a user of the user ID included in the first request belongs;
を特徴とするタイムアウト時間管理プログラム。A time-out time management program.
JP2009128196A 2009-05-27 2009-05-27 Image reading apparatus and timeout time management program Expired - Fee Related JP5277073B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009128196A JP5277073B2 (en) 2009-05-27 2009-05-27 Image reading apparatus and timeout time management program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009128196A JP5277073B2 (en) 2009-05-27 2009-05-27 Image reading apparatus and timeout time management program

Publications (2)

Publication Number Publication Date
JP2010278679A JP2010278679A (en) 2010-12-09
JP5277073B2 true JP5277073B2 (en) 2013-08-28

Family

ID=43425238

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009128196A Expired - Fee Related JP5277073B2 (en) 2009-05-27 2009-05-27 Image reading apparatus and timeout time management program

Country Status (1)

Country Link
JP (1) JP5277073B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5862283B2 (en) * 2011-12-27 2016-02-16 ブラザー工業株式会社 Image processing device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11341173A (en) * 1998-05-25 1999-12-10 Mita Ind Co Ltd Management system for image forming device
JP2003274095A (en) * 2002-03-18 2003-09-26 Canon Inc Information processing apparatus, image reading method, image reading system, and storage medium

Also Published As

Publication number Publication date
JP2010278679A (en) 2010-12-09

Similar Documents

Publication Publication Date Title
CN110058670B (en) Image forming apparatus and control method
US8180934B2 (en) Device monitoring apparatus, control method therefor, device monitoring system, and recording medium
US20070124440A1 (en) Network device, network system, and its power saving control method
JP2009146403A (en) Server device and method for updating software of multiple network nodes
US9542131B2 (en) Image forming apparatus for retrieving print data using an address of the stored print data
JP4618358B2 (en) Peripheral device management program and peripheral device management system
US9658673B2 (en) Information processing apparatus, control method for rewriting a setting value for the information processing apparatus in power saving mode, and storage medium
US8769325B2 (en) Method and apparatus for controlling power mode shifting of an image processing apparatus by monitoring online status of a plurality of client devices extracted to be monitored based on its position information and its usage history
JP4978388B2 (en) Management system, management method, and management program
JP2009098908A (en) Time-out control system, client device, server device, and time-out control method
US9134785B2 (en) Information processing apparatus with power saving mode, and control method and communication apparatus therefor
JP5277073B2 (en) Image reading apparatus and timeout time management program
US9116649B2 (en) Image forming apparatus with unit determining whether operation information is transmitted to log storage server
JP2012227730A (en) Communication device
JP2011142577A (en) Power saving control method, and image forming apparatus
JP6848729B2 (en) Information processing equipment, information processing system and information processing program
JP2012160086A (en) Data processing device, client device, and data processing system
JP2016035649A (en) Information processing system and information processing program
JP2006155505A (en) State monitoring system, network device used therefor, and state monitor
JP2007028062A (en) Image forming apparatus
JP2006235788A (en) Monitoring control of device connected to network
US20110296010A1 (en) File transfer apparatus and control method thereof
JP7225967B2 (en) Management device, load reduction system, control method for management device, and control program
US10104256B2 (en) Electronic device that ensures reduced power consumption, electric power control method, and recording medium
US9483106B2 (en) Electronic apparatus, power management system, and non-transitory computer readable medium storing program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110822

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121228

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130206

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130402

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: 20130424

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130520

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5277073

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees