JP6946943B2 - Image reader, image data transmission method and program - Google Patents

Image reader, image data transmission method and program Download PDF

Info

Publication number
JP6946943B2
JP6946943B2 JP2017211480A JP2017211480A JP6946943B2 JP 6946943 B2 JP6946943 B2 JP 6946943B2 JP 2017211480 A JP2017211480 A JP 2017211480A JP 2017211480 A JP2017211480 A JP 2017211480A JP 6946943 B2 JP6946943 B2 JP 6946943B2
Authority
JP
Japan
Prior art keywords
document
image
reading
scanning
external terminal
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.)
Active
Application number
JP2017211480A
Other languages
Japanese (ja)
Other versions
JP2019083496A (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.)
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 JP2017211480A priority Critical patent/JP6946943B2/en
Publication of JP2019083496A publication Critical patent/JP2019083496A/en
Application granted granted Critical
Publication of JP6946943B2 publication Critical patent/JP6946943B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Facsimiles In General (AREA)

Description

本発明は、画像読取装置、画像データ送信方法およびプログラムに関する。 The present invention relates to an image reader, an image data transmission method and a program.

近年、ネットワーク対応型の画像読取装置が普及している。 In recent years, network-compatible image readers have become widespread.

ネットワーク対応型の画像読取装置は、装置自体に設けられた操作パネルの操作によるスキャンジョブの実行指令はもちろん、LAN(Local Area Network)などのネットワークに接続されていれば、PC(Personal Computer)などの外部端末からネットワーク経由でスキャンジョブの実行指令を受け付けることができる。また、画像読取装置は、スキャンジョブの実行により読み取られた画像データをネットワーク経由で外部端末に送信することができる。 A network-compatible image reader can be used not only to command the execution of a scan job by operating the operation panel provided on the device itself, but also to a PC (Personal Computer) if it is connected to a network such as a LAN (Local Area Network). It is possible to receive scan job execution commands from the external terminal of the computer via the network. Further, the image reading device can transmit the image data read by executing the scan job to the external terminal via the network.

特開2006−304368号公報Japanese Unexamined Patent Publication No. 2006-304368

ところが、例えば、外部端末の種類または方式によっては、画像読取装置が所定のデータを所定時間内に外部端末に送信できない場合に、画像読取装置が正常に読取動作中であるにもかかわらず、外部端末と画像読取装置との間の通信がタイムアウトにより切断されることがある。 However, depending on the type or method of the external terminal, for example, when the image reading device cannot transmit the predetermined data to the external terminal within the predetermined time, the external terminal is operating normally even though the image reading device is normally reading. Communication between the terminal and the image reader may be disconnected due to a timeout.

本発明の目的は、正常な読取動作中に外部端末と画像読取装置との間の通信の接続がタイムアウトされることを抑制できる、画像読取装置、画像データ送信方法およびプログラムを提供することである。 An object of the present invention is to provide an image reading device, an image data transmission method and a program capable of suppressing a time-out of a communication connection between an external terminal and an image reading device during a normal reading operation. ..

前記の目的を達成するため、本発明の一の局面に係る画像読取装置は、原稿を読み取る読取部と、外部端末と通信する通信部と、制御部とを備える画像読取装置であって、制御部は、外部端末からのスキャン指令を通信部に受信したことに応じて、読取部を制御して、読取部に原稿を読み取らせる読取処理と、読取処理で記読取部による原稿の1ページ目の読み取りが完了する前に、当該原稿の1ページ目に係る画像データのヘッダの一部を、通信部からスキャン指令の送信元の外部端末へ送信する第1送信処理と、読取処理で読取部による原稿の1ページ目の読み取りが完了した後に、当該原稿の1ページ目に係る画像データのうち、第1送信処理で送信したヘッダの一部以外の残りの画像データを、通信部からスキャン指令の送信元の外部端末へ送信する第2送信処理とを実行する。 In order to achieve the above object, the image reading device according to one aspect of the present invention is an image reading device including a reading unit for reading a document, a communication unit for communicating with an external terminal, and a control unit for control. In response to receiving a scan command from an external terminal to the communication unit, the unit controls the reading unit to cause the reading unit to read the document, and the first page of the document by the reading unit in the scanning process. The first transmission process of transmitting a part of the header of the image data related to the first page of the manuscript from the communication unit to the external terminal of the transmission source of the scan command and the reading unit in the scanning process before the scanning of the original is completed. After the reading of the first page of the manuscript is completed, the communication unit scans the remaining image data other than a part of the header transmitted in the first transmission process among the image data related to the first page of the manuscript. The second transmission process of transmitting to the external terminal of the transmission source of is executed.

この構成によれば、スキャン指令を通信部に受信したことに応じて、読取部による原稿の読み取りが開始される。原稿の読み取りの開始後、読取部による原稿の1ページ目の読み取りが完了する前に、その1ページ目に係る画像データのヘッダの一部が通信部からスキャン指令の送信先の外部端末に送信される。そのため、たとえ読取部による原稿の読取速度が遅くても、外部端末がスキャン指令を送信してから画像データの受信を開始するまでの時間が短いので、外部端末の種類または方式にかかわらず、外部端末と画像読取装置との間の通信の接続がタイムアウトされることを抑制できる。 According to this configuration, the scanning unit starts scanning the document in response to the scan command being received by the communication unit. After the start of scanning the document and before the scanning of the first page of the document by the scanning unit is completed, a part of the header of the image data related to the first page is transmitted from the communication unit to the external terminal to which the scan command is transmitted. Will be done. Therefore, even if the reading speed of the document by the scanning unit is slow, the time from the transmission of the scan command by the external terminal to the start of receiving the image data is short. Therefore, regardless of the type or method of the external terminal, the external terminal is external. It is possible to prevent the communication connection between the terminal and the image reader from timing out.

そして、読取部による原稿の1ページ目の読み取りが完了すると、その読み取りにより得られた画像データのうちの未送信の画像データが通信部からスキャン指令の送信元の外部端末に送信される。その結果、外部端末において、原稿の1ページ目の画像データを得ることができる。 Then, when the scanning of the first page of the original by the scanning unit is completed, the untransmitted image data among the image data obtained by the scanning is transmitted from the communication unit to the external terminal of the transmission source of the scan command. As a result, the image data of the first page of the manuscript can be obtained on the external terminal.

なお、本発明は、画像読取装置の形態で実現することができるだけでなく、たとえば、画像読取装置で実行される画像データ送信方法および画像読取装置のコンピュータにインストールされるプログラムの形態で実現することもできる。 The present invention can be realized not only in the form of an image reader, but also in the form of an image data transmission method executed by the image reader and a program installed in the computer of the image reader, for example. You can also.

本発明によれば、正常な読取動作中に外部端末と画像読取装置との間の通信の接続がタイムアウトされることを抑制できる。 According to the present invention, it is possible to prevent the communication connection between the external terminal and the image reading device from being timed out during a normal reading operation.

本発明の一実施形態に係る画像読取装置の断面図である。It is sectional drawing of the image reading apparatus which concerns on one Embodiment of this invention. 画像読取装置を含むシステムの構成を示す図である。It is a figure which shows the structure of the system including the image reader. 画像データの構造の一例を図解的に示す図である。It is a figure which shows an example of the structure of image data graphically. 送信処理の流れを示すフローチャート(その1)である。It is a flowchart (the 1) which shows the flow of a transmission process. 送信処理の流れを示すフローチャート(その2)である。It is a flowchart (2) which shows the flow of a transmission process.

以下では、本発明の実施の形態について、添付図面を参照しつつ詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

<画像読取装置>
図1に示される画像読取装置1は、スキャナ筐体2と、ADF(Auto Document Feeder:自動原稿搬送装置)3とを備えている。スキャナ筐体2の上面には、第1コンタクトガラス11および第2コンタクトガラス12が幅方向に並べて設けられている。ADF3は、開位置と閉位置とに開閉可能に設けられている。ADF3が閉位置に位置する状態では、ADF3により、第1コンタクトガラス11および第2コンタクトガラス12が一括して被覆される。ADF3が開位置に位置する状態では、第1コンタクトガラス11および第2コンタクトガラス12が露出する。
<Image reader>
The image reading device 1 shown in FIG. 1 includes a scanner housing 2 and an ADF (Auto Document Feeder) 3. The first contact glass 11 and the second contact glass 12 are provided side by side in the width direction on the upper surface of the scanner housing 2. The ADF3 is provided so as to be openable and closable at an open position and a closed position. When the ADF3 is in the closed position, the first contact glass 11 and the second contact glass 12 are collectively covered with the ADF3. When the ADF3 is in the open position, the first contact glass 11 and the second contact glass 12 are exposed.

スキャナ筐体2内には、第1読取ヘッド13(読取部の一例)が第1コンタクトガラス11および第2コンタクトガラス12の下方で幅方向(副走査方向)に移動可能に設けられている。第1読取ヘッド13には、光源14(図2参照)およびイメージセンサ15(図2参照)が内蔵されている。第1読取ヘッド13は、幅方向と直交かつ第1コンタクトガラス11および第2コンタクトガラス12の上面と平行をなす主走査方向に延びている。イメージセンサ15は、たとえば、複数の受光素子が主走査方向である前後方向に配列されたリニアイメージセンサからなる。第1読取ヘッド13では、光源14の光が原稿シートに照射されて、原稿シートでの反射光がイメージセンサ15で受けられることにより、原稿シートの画像の主走査方向の1ライン分の読み取りが達成される。イメージセンサ15は、その読み取った1ライン分のアナログ画像信号を出力する。 A first reading head 13 (an example of a reading unit) is provided in the scanner housing 2 so as to be movable in the width direction (secondary scanning direction) below the first contact glass 11 and the second contact glass 12. The first reading head 13 includes a light source 14 (see FIG. 2) and an image sensor 15 (see FIG. 2). The first reading head 13 extends in the main scanning direction orthogonal to the width direction and parallel to the upper surfaces of the first contact glass 11 and the second contact glass 12. The image sensor 15 includes, for example, a linear image sensor in which a plurality of light receiving elements are arranged in the front-rear direction, which is the main scanning direction. In the first scanning head 13, the light from the light source 14 is applied to the document sheet, and the reflected light from the document sheet is received by the image sensor 15, so that the image of the document sheet can be read for one line in the main scanning direction. Achieved. The image sensor 15 outputs the read analog image signal for one line.

ADF3は、供給トレイ21および排出トレイ22を備えている。供給トレイ21および排出トレイ22は、上下に間隔を空けて重なった状態に設けられている。ADF3内には、搬送経路23が形成されている、搬送経路23は、その一端が供給トレイ21における副走査方向の一方側の端部上で開放され、U字状に湾曲しつつ折り返されて、第1コンタクトガラス11上を経由し、他端が供給トレイ21と排出トレイ22との間で開放されている。また、ADF3内には、搬送経路23に沿って、供給ローラ24、分離ローラ25、搬送ローラ26、反転ローラ27および排出ローラ28が供給トレイ21側からこの順に設けられている。 The ADF3 includes a supply tray 21 and an discharge tray 22. The supply tray 21 and the discharge tray 22 are provided so as to be overlapped with each other at intervals above and below. A transport path 23 is formed in the ADF3. One end of the transport path 23 is opened on one end of the supply tray 21 in the sub-scanning direction, and the transport path 23 is folded back while being curved in a U shape. The other end is opened between the supply tray 21 and the discharge tray 22 via the first contact glass 11. Further, in the ADF3, a supply roller 24, a separation roller 25, a transfer roller 26, a reversing roller 27, and a discharge roller 28 are provided in this order from the supply tray 21 side along the transfer path 23.

そして、搬送ローラ26と反転ローラ27との間において、搬送経路23の下側には、第2読取ヘッド31(読取部の一例)が固定的に配置されている。第2読取ヘッド31には、光源32(図2参照)およびイメージセンサ33(図2参照)が内蔵されている。第2読取ヘッド31は、主走査方向に延びている。イメージセンサ33は、たとえば、複数の受光素子が主走査方向である前後方向に配列されたリニアイメージセンサからなる。第2読取ヘッド31では、光源32の光が原稿シートに照射されて、原稿シートでの反射光がイメージセンサ33で受けられることにより、原稿シートの画像の主走査方向の1ライン分の読み取りが達成される。イメージセンサ33は、その読み取った1ライン分のアナログ画像信号を出力する。 A second reading head 31 (an example of a reading unit) is fixedly arranged below the transport path 23 between the transport roller 26 and the reversing roller 27. The second reading head 31 has a built-in light source 32 (see FIG. 2) and an image sensor 33 (see FIG. 2). The second reading head 31 extends in the main scanning direction. The image sensor 33 includes, for example, a linear image sensor in which a plurality of light receiving elements are arranged in the front-rear direction, which is the main scanning direction. In the second scanning head 31, the light from the light source 32 is applied to the document sheet, and the reflected light from the document sheet is received by the image sensor 33, so that the image of the document sheet can be read for one line in the main scanning direction. Achieved. The image sensor 33 outputs the read analog image signal for one line.

画像読取装置1では、FB(フラットベッド)方式およびADF方式の両方式による原稿(原稿シートの画像)の読み取りが可能である。FB方式による原稿の読み取りの際には、ADF3が開位置に開かれて、原稿シートが第2コンタクトガラス12の上面に載置される。その後、ADF3が閉位置に閉じられて、原稿シートがADF3によって上側から覆われた状態にされる。そして、スキャンの実行の指令に応じて、第1読取ヘッド13の副走査方向への移動が開始され、第1読取ヘッド13が副走査方向に移動されつつ、第1読取ヘッド13により原稿が読み取られる。 The image reading device 1 can read a document (image of a document sheet) by both the FB (flat bed) method and the ADF method. When reading a document by the FB method, the ADF3 is opened in the open position and the document sheet is placed on the upper surface of the second contact glass 12. After that, the ADF3 is closed in the closed position, and the original sheet is covered by the ADF3 from above. Then, in response to the scan execution command, the first scanning head 13 starts moving in the sub-scanning direction, and while the first scanning head 13 is moved in the sub-scanning direction, the document is read by the first scanning head 13. Be done.

一方、ADF方式による原稿の読み取りの際には、ADF3の供給トレイ21上に原稿が載置される。また、第1読取ヘッド13が第1コンタクトガラス11の下側で停止される。その後、スキャンの実行の指令に応じて、供給ローラ24による原稿シートの搬送が開始される。原稿シートは、分離ローラ25により1枚ずつに分離されて、搬送ローラ26および反転ローラ27により搬送経路23を搬送される。原稿シートが搬送されながら、その原稿シートの裏面の原稿が第2読取ヘッド31により読み取られ、また、原稿シートの表面の原稿が第1読取ヘッド13により読み取られる。 On the other hand, when reading a document by the ADF method, the document is placed on the supply tray 21 of the ADF3. Further, the first reading head 13 is stopped below the first contact glass 11. After that, the transfer of the document sheet by the supply roller 24 is started in response to the instruction to execute the scan. The original sheets are separated one by one by the separation roller 25, and are conveyed along the transfer path 23 by the transfer roller 26 and the reversing roller 27. While the document sheet is being conveyed, the document on the back surface of the document sheet is read by the second scanning head 31, and the document on the front surface of the document sheet is scanned by the first scanning head 13.

<システム構成>
画像読取装置1は、図2に示されるように、LAN(Local Area Network)41に接続されて、スキャナドライバがインストールされたPC(Personal Computer)42などの外部端末からLAN41経由でスキャンジョブの実行を指令可能なネットワーク対応型の装置である。スキャナドライバには、画像読取装置1を含む様々な種類の画像読取装置に対応した汎用ドライバ(ユニバーサルドライバ)と、画像読取装置1に対応して作製された専用ドライバとの2種類がある。
<System configuration>
As shown in FIG. 2, the image reading device 1 is connected to a LAN (Local Area Network) 41 and executes a scan job from an external terminal such as a PC (Personal Computer) 42 in which a scanner driver is installed via the LAN 41. It is a network-compatible device that can command. There are two types of scanner drivers: a general-purpose driver (universal driver) corresponding to various types of image reading devices including the image reading device 1, and a dedicated driver manufactured corresponding to the image reading device 1.

画像読取装置1は、ASIC(Application Specific Integrated Circuit)51、ROM(Read Only Memory)52、RAM(Random Access Memory)53およびネットワークインタフェース(I/F)54を備えている。 The image reading device 1 includes an ASIC (Application Specific Integrated Circuit) 51, a ROM (Read Only Memory) 52, a RAM (Random Access Memory) 53, and a network interface (I / F) 54.

ASIC51は、CPU55(制御部の一例)を内蔵している。CPU55は、ASIC51に入力される情報に基づいて、各種の処理のためのプログラムを実行することにより、第1読取ヘッド13、第2読取ヘッド31、ならびに供給ローラ24、分離ローラ25、搬送ローラ26、反転ローラ27および排出ローラ28を駆動する駆動機構など、画像読取装置1の各部を制御する。 The ASIC 51 has a built-in CPU 55 (an example of a control unit). The CPU 55 executes programs for various processes based on the information input to the ASIC 51, thereby causing the first read head 13, the second read head 31, and the supply roller 24, the separation roller 25, and the transfer roller 26. Controls each part of the image reading device 1, such as a drive mechanism for driving the reversing roller 27 and the discharging roller 28.

ROM52は、フラッシュメモリなどの書き換え可能な不揮発性メモリからなる。ROM52には、CPU55によって実行されるプログラムおよび各種のデータなどが記憶されている。 The ROM 52 includes a rewritable non-volatile memory such as a flash memory. The ROM 52 stores a program executed by the CPU 55, various data, and the like.

RAM53は、DRAM(Dynamic Random Access Memory)などの揮発性メモリであり、CPU55がプログラムを実行する際のワークエリアとして使用される。 The RAM 53 is a volatile memory such as a DRAM (Dynamic Random Access Memory), and is used as a work area when the CPU 55 executes a program.

ネットワークインタフェース54(通信部の一例)は、LAN41との接続のためのインタフェースである。LAN41を介したデータ通信の方式は、無線通信方式および有線通信方式を問わず、ネットワークインタフェース54は、無線LANとの接続のためのインタフェースであってもよいし、有線LANとの接続のためのインタフェースであってもよい。 The network interface 54 (an example of a communication unit) is an interface for connecting to the LAN 41. The data communication method via the LAN 41 may be the wireless communication method or the wired communication method, and the network interface 54 may be an interface for connecting to the wireless LAN or for connecting to the wired LAN. It may be an interface.

また、ASIC51には、切替スイッチ56およびA/Dコンバータ57が内蔵されている。 Further, the ASIC 51 has a built-in changeover switch 56 and an A / D converter 57.

切替スイッチ56は、第1読取ヘッド13のイメージセンサ15からのアナログ画像信号の入力と、第2読取ヘッド31のイメージセンサ33からのアナログ画像信号の入力とを切り替える。これにより、ASIC51には、第1読取ヘッド13のイメージセンサ15からのアナログ画像信号と第2読取ヘッド31のイメージセンサ33からのアナログ画像信号とがシリアルに入力される。 The changeover switch 56 switches between the input of the analog image signal from the image sensor 15 of the first reading head 13 and the input of the analog image signal from the image sensor 33 of the second reading head 31. As a result, the analog image signal from the image sensor 15 of the first reading head 13 and the analog image signal from the image sensor 33 of the second reading head 31 are serially input to the ASIC 51.

A/Dコンバータ57は、切替スイッチ56を介して入力されるアナログ画像信号をデジタル画像信号に変換する。 The A / D converter 57 converts the analog image signal input via the changeover switch 56 into a digital image signal.

<データ構造>
ASIC51がPC42からスキャンジョブの実行の指令(以下、単に「スキャン指令」という。)を受けて、ASIC51のCPU55は、画像読取装置1の各部を制御して、原稿の画像を読み取るスキャンジョブを実行する。このスキャンジョブの実行により、原稿シートの画像に係るアナログ画像信号が生成されて、そのアナログ画像信号がA/Dコンバータ57でデジタル画像信号に変換されると、CPU55は、そのデジタル画像信号を用いて、PC42などの外部端末に送信されるスキャンデータを作成する。
<Data structure>
When the ASIC 51 receives a command to execute a scan job from the PC 42 (hereinafter, simply referred to as a "scan command"), the CPU 55 of the ASIC 51 controls each part of the image reading device 1 to execute a scan job for reading an image of a document. do. By executing this scan job, an analog image signal related to the image of the original sheet is generated, and when the analog image signal is converted into a digital image signal by the A / D converter 57, the CPU 55 uses the digital image signal. To create scan data to be transmitted to an external terminal such as a PC 42.

具体的な一例では、ASIC51のCPU55は、図3に示されるように、HTTP(Hypertext Transfer Protocol)などのインターネット標準技術を用いて情報を交換するための通信プロトコルの仕様の1つであるSOAP(Simple Object Access Protocol:ソープ)に従ってスキャンデータを作成する。 As a specific example, as shown in FIG. 3, the CPU 55 of the ASIC 51 is SOAP (SP), which is one of the specifications of a communication protocol for exchanging information using an Internet standard technology such as HTTP (Hypertext Transfer Protocol). Create scan data according to Simple Object Access Protocol (Soap).

スキャンデータの先頭部分は、画像データの送信先のアドレスなどを含むHTTPヘッダである。スキャンデータでは、HTTPヘッダにHTTPボディが続き、そのHTTPボディ内に、SOAPヘッダおよびSOAPボディからなるSOAPエンベロープが含まれる。そして、SOAPボディには、A/Dコンバータ57から出力されるデジタル画像信号を含む画像データが含まれる。画像データは、画像ヘッダおよび画像ボディからなる。A/Dコンバータ57から出力されるデジタル画像信号が画像ボディに含まれ、そのデジタル画像信号に係る原稿のサイズ情報、つまり1ラインの画素数および副走査方向のライン数(1ラインの読み取りにより得られるラインデータの数)を表す情報や画像データのファイル種別情報(JPEG、PDFなど)が画像ヘッダに含まれる。 The first part of the scan data is an HTTP header including an address of a destination of image data and the like. In the scan data, the HTTP header is followed by an HTTP body, and within the HTTP body, a SOAP envelope consisting of a SOAP header and a SOAP body is included. The SOAP body contains image data including a digital image signal output from the A / D converter 57. The image data consists of an image header and an image body. The digital image signal output from the A / D converter 57 is included in the image body, and the size information of the document related to the digital image signal, that is, the number of pixels in one line and the number of lines in the sub-scanning direction (obtained by reading one line). The image header includes information indicating (the number of line data to be generated) and file type information (JPEG, PDF, etc.) of the image data.

<送信処理>
使用者がPC42を操作して、PC42から送信されたスキャンジョブの実行指令であるスキャン指令をLAN41経由でネットワークインタフェース54に受信すると、ASIC51のCPU55は、図4Aおよび図4Bに示される送信処理を進行させる(S11:YES)。
<Transmission processing>
When the user operates the PC 42 and receives the scan command, which is the execution command of the scan job transmitted from the PC 42, to the network interface 54 via the LAN 41, the CPU 55 of the ASIC 51 performs the transmission process shown in FIGS. 4A and 4B. Proceed (S11: YES).

送信処理において、CPU55は、その受信したスキャン指令のデータ構造から、スキャン指令の送信に使用されたスキャナドライバの種類を判別する。 In the transmission process, the CPU 55 determines the type of scanner driver used to transmit the scan command from the received scan command data structure.

スキャナドライバが汎用ドライバである場合(S12:YES)、CPU55は、スキャン指令に係るスキャンジョブが低速読取モードで実行されるスキャンジョブであるか否かを判別する(S13)。低速読取モードで実行されるスキャンジョブは、たとえば、原稿シートの表面および裏面の画像を高解像度で読み取るジョブであり、そのジョブの開始から1枚の原稿シートの表面および裏面の画像の読み取りが完了するまでに、所定のタイムアウト時間以上の時間を要する。また、低速読取モードで実行されるスキャンジョブにより画像が読み取られる原稿シートは、ADF3の供給トレイ21上にセットされる。 When the scanner driver is a general-purpose driver (S12: YES), the CPU 55 determines whether or not the scan job related to the scan command is a scan job executed in the low-speed read mode (S13). The scan job executed in the low-speed scanning mode is, for example, a job of scanning the front and back images of the original sheet with high resolution, and the scanning of the front and back images of one original sheet is completed from the start of the job. It takes more than a predetermined time-out time to do so. Further, the document sheet whose image is read by the scan job executed in the low-speed scanning mode is set on the supply tray 21 of the ADF3.

スキャン指令に係るスキャンジョブが低速読取モードで実行されるスキャンジョブである場合(S13:YES)、CPU55は、スキャンジョブを開始して、ADF3における原稿シートの搬送ならびに第1読取ヘッド13および第2読取ヘッド31による画像の読み取りを開始させる(S14:スキャン開始)。 When the scan job related to the scan command is a scan job executed in the low-speed scanning mode (S13: YES), the CPU 55 starts the scanning job to convey the document sheet in the ADF3 and the first scanning heads 13 and the second. The reading of the image by the reading head 31 is started (S14: start of scanning).

その後、CPU55は、1枚の原稿シートの表面および裏面の画像の読み取りが完了する前にスキャンデータの作成を開始する。そして、原稿シートの表面の画像の読み取りにより得られたデジタル画像信号を含む表面画像データの作成中に、HTTPヘッダから表面画像データの画像ヘッダの一部、つまり画像ヘッダにおけるサイズ情報(副走査方向のライン数を表す情報)よりも先頭側の部分であって、たとえば、画像ヘッダの先頭から2バイト(byte)の部分をPC42に送信する(S15)。PC42に送信される画像ヘッダの一部には、画像データのファイル種別情報が含まれる。 After that, the CPU 55 starts creating scan data before the scanning of the front and back images of one original sheet is completed. Then, during the creation of the surface image data including the digital image signal obtained by reading the image of the surface of the original sheet, a part of the image header of the surface image data from the HTTP header, that is, the size information in the image header (secondary scanning direction). A portion on the first side of the image (information indicating the number of lines), for example, a portion of 2 bytes from the beginning of the image header is transmitted to the PC 42 (S15). A part of the image header transmitted to the PC 42 includes the file type information of the image data.

CPU55は、1枚の原稿シートの表面および裏面の画像の読み取り(スキャン)が完了するまで待機する。1枚の原稿シートの表面および裏面の画像の読み取りが完了すると(S16:YES)、CPU55は、原稿シートの表面(1ページ目)の画像の読み取りにより得られたデジタル画像信号を含む表面画像データおよび原稿シートの裏面(2ページ目)の画像の読み取りにより得られたデジタル画像信号を含む裏面画像データを完成させる。そして、表面画像データの未送信の部分および原稿シートの裏面の画像の読み取りにより得られたデジタル画像信号を含む裏面画像データをPC42に送信する(S17)。 The CPU 55 waits until the scanning of the front and back images of one original sheet is completed. When the scanning of the front and back images of one original sheet is completed (S16: YES), the CPU 55 is the surface image data including the digital image signal obtained by scanning the image of the front surface (first page) of the original sheet. And the back side image data including the digital image signal obtained by reading the image on the back side (second page) of the manuscript sheet is completed. Then, the back surface image data including the untransmitted portion of the front surface image data and the digital image signal obtained by reading the image on the back surface of the original sheet is transmitted to the PC 42 (S17).

その後、CPU55は、次の原稿の有無を判別する(S18)。 After that, the CPU 55 determines the presence or absence of the next document (S18).

次の原稿がある場合(S18:YES)、CPU55は、ADF3における次の原稿シートの搬送ならびに第1読取ヘッド13および第2読取ヘッド31による画像の読み取りを開始させる。そして、次の1枚の原稿シートの表面および裏面の画像の読み取りが完了すると(S16:YES)、CPU55は、表面画像データおよび裏面画像データを作成して、その作成した表面画像データおよび裏面画像データをPC54に送信する(S17)。 When there is a next document (S18: YES), the CPU 55 starts the transfer of the next document sheet in the ADF 3 and the reading of the image by the first reading head 13 and the second reading head 31. Then, when the reading of the front and back images of the next one original sheet is completed (S16: YES), the CPU 55 creates the front image data and the back image data, and the created front image data and the back image. The data is transmitted to the PC 54 (S17).

次の原稿がない場合(S18:NO)、CPU55は、スキャンジョブを終了し(S19)、このスキャン処理を終了する。 If there is no next document (S18: NO), the CPU 55 ends the scan job (S19) and ends this scanning process.

一方、スキャン指令の送信に使用されたスキャナドライバが汎用ドライバであるが、スキャン指令に係るスキャンジョブが低速読取モード以外のモードで実行されるスキャンジョブである場合(S13:NO)、CPU55は、スキャンジョブを開始する(S20)。 On the other hand, when the scanner driver used to transmit the scan command is a general-purpose driver, but the scan job related to the scan command is a scan job executed in a mode other than the low-speed read mode (S13: NO), the CPU 55 determines. The scan job is started (S20).

低速読取モード以外のモードで実行されるスキャンジョブは、たとえば、原稿シートの表面および裏面の画像を低解像度で読み取るジョブ、または、原稿シートの表面の画像を高解像度もしくは低解像度で読み取るジョブである。いずれにしても、低速読取モード以外のモードで実行されるスキャンジョブでは、そのジョブの開始から1枚の原稿シートの画像の読み取りが完了するまでに、所定のタイムアウト時間以上の時間を要しない。 The scan job executed in a mode other than the low-speed scanning mode is, for example, a job of scanning the front and back images of the document sheet at low resolution, or a job of scanning the image of the front surface of the document sheet at high resolution or low resolution. .. In any case, in the scan job executed in a mode other than the low-speed scanning mode, it does not take more than a predetermined timeout time from the start of the job to the completion of scanning the image of one original sheet.

以下では、スキャン指令に係るスキャンジョブが原稿シートの表面の画像を高解像度もしくは低解像度で読み取るジョブである場合を例にとる。 In the following, an example will be taken in which the scan job related to the scan command is a job of reading an image on the surface of a document sheet at a high resolution or a low resolution.

スキャンジョブの開始後、1枚の原稿シートの表面の画像(1ページ目の原稿)の読み取りが完了すると(S21:YES)、CPU55は、表面画像データを作成して、その作成が完了した表面画像データをPC54に送信する(S22)。 After the start of the scan job, when the scanning of the surface image of one original sheet (the original on the first page) is completed (S21: YES), the CPU 55 creates the surface image data and the created surface is completed. The image data is transmitted to the PC 54 (S22).

その後、CPU55は、次の原稿の有無を判別する(S23)。 After that, the CPU 55 determines the presence or absence of the next document (S23).

次の原稿がある場合(S23:YES)、CPU55は、ADF3における次の原稿シートの搬送ならびに第1読取ヘッド13による画像の読み取りを開始させる。そして、次の1ページの原稿の読み取りが完了すると(S21:YES)、CPU55は、CPU55は、表面画像データを作成して、その作成が完了した表面画像データをPC54に送信する(S22)。 When there is a next document (S23: YES), the CPU 55 starts the transfer of the next document sheet in the ADF 3 and the reading of the image by the first scanning head 13. Then, when the reading of the next one-page document is completed (S21: YES), the CPU 55 creates the surface image data, and transmits the created surface image data to the PC 54 (S22).

一方、次の原稿がない場合(S23:NO)、CPU55は、スキャンジョブを終了し(S19)、このスキャン処理を終了する。 On the other hand, when there is no next document (S23: NO), the CPU 55 ends the scan job (S19) and ends this scanning process.

スキャン指令の送信に使用されたスキャナドライバが汎用ドライバではない場合、つまりスキャン指令の送信に使用されたスキャナドライバが専用ドライバである場合(S12:NO)、スキャン指令に係るスキャンジョブが低速読取モードで実行されるスキャンジョブであるか否かにかかわらず、図4Bに示されるように、そのスキャンジョブを開始し(S24)、1ページ目の原稿の読み取りが完了する前にスキャンデータの作成を開始する。 If the scanner driver used to send the scan command is not a general-purpose driver, that is, if the scanner driver used to send the scan command is a dedicated driver (S12: NO), the scan job related to the scan command is in low-speed read mode. Regardless of whether the scan job is executed in, the scan job is started (S24) as shown in FIG. 4B, and the scan data is created before the scanning of the document on the first page is completed. Start.

そして、CPU55は、所定バイトの表面画像データが得られると(S25:YES)、作成途中のスキャンデータにおけるHTTPヘッダから最初の表面画像データの画像ヘッダまでの部分と所定バイトの表面画像データとをPC42に送信する(S26)。1ページ目の原稿の読み取りが完了していないので、その原稿のサイズ情報が不明である。そのため、表面画像データの画像ヘッダには、仮のサイズ情報が含められる。仮のサイズ情報とは、たとえば、ランダムな値が配列された情報であってもよいし、“0”などの特定の値が配列された情報であってもよい。 Then, when the surface image data of a predetermined byte is obtained (S25: YES), the CPU 55 sets the portion from the HTTP header to the image header of the first surface image data in the scan data being created and the surface image data of the predetermined byte. It is transmitted to the PC 42 (S26). Since the reading of the manuscript on the first page has not been completed, the size information of the manuscript is unknown. Therefore, temporary size information is included in the image header of the surface image data. The tentative size information may be, for example, information in which random values are arranged, or information in which specific values such as "0" are arranged.

その後は、所定バイトの表面画像データが得られるごとに(S25:YES)、CPU55は、その所定バイトの表面画像データをPC42に送信する(S26)。 After that, every time a predetermined byte of surface image data is obtained (S25: YES), the CPU 55 transmits the predetermined byte of surface image data to the PC 42 (S26).

1ページ目の原稿の読み取りが完了すると(S27:YES)、CPU55は、1ページ目の原稿に係る表面画像データにおける未送信の部分および原稿のサイズ情報をPC54に送信する(S28)。1ページ目の原稿に係る表面画像データ未送信の部分とは、1ページ目の原稿に係る表面画像データのうち、ステップS15でPC42に送信されたヘッダの一部(たとえば、画像ヘッダの先頭から2バイトの部分)以外の部分を指す。 When the reading of the original on the first page is completed (S27: YES), the CPU 55 transmits the untransmitted portion of the surface image data related to the original on the first page and the size information of the original to the PC 54 (S28). The portion where the surface image data of the first page manuscript has not been transmitted is a part of the header transmitted to the PC 42 in step S15 of the surface image data related to the manuscript of the first page (for example, from the beginning of the image header). Refers to the part other than the 2-byte part).

その後、CPU55は、次の原稿の有無を判別する(S29)。 After that, the CPU 55 determines the presence or absence of the next document (S29).

次の原稿がある場合(S29:YES)、CPU55は、ADF3における次の原稿シートの搬送ならびに第1読取ヘッド13による画像の読み取りを開始させ、次の原稿の読み取りが完了する前にスキャンデータの作成を開始する。そして、所定バイトの表面画像データが得られると(S25:YES)、作成途中のスキャンデータにおけるHTTPヘッダから最初の表面画像データの画像ヘッダまでの部分と所定バイトの表面画像データとをPC42に送信する(S26)。 When there is the next document (S29: YES), the CPU 55 starts the transfer of the next document sheet in the ADF3 and the reading of the image by the first scanning head 13, and the scan data of the scan data is started before the scanning of the next document is completed. Start creating. Then, when the surface image data of a predetermined byte is obtained (S25: YES), the portion from the HTTP header to the image header of the first surface image data in the scan data being created and the surface image data of the predetermined byte are transmitted to the PC 42. (S26).

以下、1ページ目の原稿の場合と同様の処理が行われて、次の原稿がなくなると(S29:NO)、CPU55は、スキャンジョブを終了し(S19)、このスキャン処理を終了する。 Hereinafter, the same processing as in the case of the original on the first page is performed, and when the next original is exhausted (S29: NO), the CPU 55 ends the scan job (S19) and ends this scanning process.

<作用効果>
以上のように、画像読取装置1では、スキャン指令をネットワークインタフェース54に受信したことに応じて、原稿の読み取りが開始される。PC42からのスキャン指令の送信に使用されたスキャナドライバが汎用ドライバである場合、原稿の読み取りの開始後、原稿の1ページ目の読み取りが完了する前に、その1ページ目に係る画像データの画像ヘッダの一部がネットワークインタフェース54からスキャン指令の送信先のPC42に送信される。そのため、原稿の読取速度が遅くても、PC42がスキャン指令を送信してから画像データの受信を開始するまでの時間が短いので、PC42でスキャン指令の送信に使用されたスキャナドライバが汎用ドライバであっても、PC42と画像読取装置1との間の通信の接続が汎用ドライバの仕様によりタイムアウトされることを抑制できる。
<Effect>
As described above, the image reading device 1 starts reading the original in response to the scan command being received by the network interface 54. When the scanner driver used to transmit the scan command from the PC 42 is a general-purpose driver, the image of the image data related to the first page after the start of scanning the document and before the scanning of the first page of the document is completed. A part of the header is transmitted from the network interface 54 to the PC 42 to which the scan command is transmitted. Therefore, even if the scanning speed of the document is slow, the time from the transmission of the scan command by the PC 42 to the start of receiving the image data is short. Therefore, the scanner driver used to transmit the scan command by the PC 42 is a general-purpose driver. Even if there is, it is possible to prevent the communication connection between the PC 42 and the image reading device 1 from being timed out due to the specifications of the general-purpose driver.

そして、原稿の1ページ目の読み取りが完了すると、その読み取りにより得られた画像データのうちの未送信の画像データがネットワークインタフェース54からスキャン指令の送信元のPC42に送信される。その結果、PC42において、原稿の1ページ目の画像データを得ることができる。 Then, when the scanning of the first page of the original is completed, the untransmitted image data among the image data obtained by the scanning is transmitted from the network interface 54 to the PC 42 which is the transmission source of the scan command. As a result, the image data of the first page of the manuscript can be obtained on the PC 42.

PC42に送信される画像ヘッダの一部には、画像データのファイル種別情報が含まれる。そのため、画像ヘッダの一部を受信したPC42の制御部は、その後に受信する画像データの種別を予め認識することができる。 A part of the image header transmitted to the PC 42 includes the file type information of the image data. Therefore, the control unit of the PC 42 that has received a part of the image header can recognize in advance the type of image data that is received thereafter.

また、PC42からのスキャン指令の送信に使用されたスキャナドライバが専用ドライバである場合には、スキャン指令に係るスキャンジョブが低速読取モードで実行されるスキャンジョブであるか否かにかかわらず、1ページ目の原稿の読み取りが完了する前にスキャンデータの作成が開始される。そして、作成途中のスキャンデータにおけるHTTPヘッダから最初の表面画像データの画像ヘッダまでの部分がPC42に送信される。そのため、PC42がスキャン指令を送信してから画像データの受信を開始するまでの時間が短いので、PC42と画像読取装置1との間の通信の接続がタイムアウトされることを抑制できる。 Further, when the scanner driver used for transmitting the scan command from the PC 42 is a dedicated driver, regardless of whether the scan job related to the scan command is a scan job executed in the low-speed read mode, 1 The creation of scan data is started before the scanning of the document on the page is completed. Then, the portion from the HTTP header of the scan data being created to the image header of the first surface image data is transmitted to the PC 42. Therefore, since the time from the transmission of the scan command by the PC 42 to the start of receiving the image data is short, it is possible to suppress the time-out of the communication connection between the PC 42 and the image reading device 1.

また、その場合、表面画像データの画像ヘッダには、仮のサイズ情報が含められる。そして、1枚の原稿シートの表面の画像の読み取りが完了すると、表面画像データにおける未送信の部分および原稿の実際のサイズ情報がPC42に送信される。PC42がサイズ情報を受信することにより、PC42では、専用ドライバの仕様により、先に受信した仮のサイズ情報が実際のサイズ情報に置き換えられる。したがって、PC42において、原稿の1ページ目の画像データを得ることができる。 Further, in that case, provisional size information is included in the image header of the surface image data. Then, when the reading of the image on the surface of one original sheet is completed, the untransmitted portion in the surface image data and the actual size information of the original are transmitted to the PC 42. When the PC 42 receives the size information, the PC 42 replaces the previously received temporary size information with the actual size information according to the specifications of the dedicated driver. Therefore, the image data of the first page of the manuscript can be obtained on the PC 42.

A/Dコンバータ57は、第1読取ヘッド13のイメージセンサ15からASIC51に入力されるアナログ画像信号のデジタル画像信号への変換と、第2読取ヘッド31のイメージセンサ33からASIC51に入力されるアナログ画像信号のデジタル画像信号への変換とに共用される。そのため、低速読取モードで実行されるスキャンジョブでは、そのジョブの開始から1枚の原稿シートの表面および裏面の画像の読み取りが完了するまでに、所定のタイムアウト時間以上の時間を要する。したがって、低速読取モードで実行されるスキャンジョブでは、1枚の原稿シートの表面および裏面の画像の読み取りが完了した後にスキャンデータの送信を開始した場合、PC42がスキャンデータを受信し始めるまでに、PC42からのスキャン指令の送信からの経過時間がタイムアウト時間を越え、PC42と画像読取装置1との間の通信の接続がタイムアウトされる。 The A / D converter 57 converts the analog image signal input to the ASIC 51 from the image sensor 15 of the first reading head 13 into a digital image signal, and the analog input from the image sensor 33 of the second reading head 31 to the ASIC 51. It is shared with the conversion of image signals to digital image signals. Therefore, in a scan job executed in the low-speed scanning mode, it takes a predetermined time-out time or more from the start of the job to the completion of scanning the images on the front surface and the back surface of one original sheet. Therefore, in the scan job executed in the low-speed scanning mode, if the transmission of the scan data is started after the scanning of the front and back images of one original sheet is completed, the PC 42 starts to receive the scan data before the PC 42 starts receiving the scan data. The elapsed time from the transmission of the scan command from the PC 42 exceeds the timeout time, and the communication connection between the PC 42 and the image reading device 1 is timed out.

原稿の1ページ目の読み取りが完了する前に、その1ページ目に係る画像データの画像ヘッダの一部がネットワークインタフェース54からスキャン指令の送信先のPC42に送信される構成では、A/Dコンバータ57が第1読取ヘッド13のイメージセンサ15および第2読取ヘッド31のイメージセンサ33に共通に接続されていても、PC42と画像読取装置1との間の通信の接続がタイムアウトされることを抑制できる。 In a configuration in which a part of the image header of the image data related to the first page is transmitted from the network interface 54 to the PC 42 to which the scan command is transmitted before the scanning of the first page of the original is completed, the A / D converter is used. Even if 57 is commonly connected to the image sensor 15 of the first reading head 13 and the image sensor 33 of the second reading head 31, it is possible to prevent the communication connection between the PC 42 and the image reading device 1 from being timed out. can.

<変形例>
以上、本発明の一実施形態について説明したが、本発明は、他の形態で実施することもできる。
<Modification example>
Although one embodiment of the present invention has been described above, the present invention can also be implemented in other embodiments.

たとえば、前述の実施形態では、FB方式およびADF方式の両方式による原稿の読み取りが可能な画像読取装置1を取り上げたが、むろん、本発明をADF方式のみにより原稿を読み取り可能な画像読取装置に適用することができる。 For example, in the above-described embodiment, the image reading device 1 capable of reading a document by both the FB method and the ADF method has been taken up, but of course, the present invention is an image reading device capable of reading a document only by the ADF method. Can be applied.

その他、前述の構成には、特許請求の範囲に記載された事項の範囲で種々の設計変更を施すことが可能である。 In addition, various design changes can be made to the above-mentioned configuration within the scope of the matters described in the claims.

1:画像読取装置
13:第1読取ヘッド
31:第2読取ヘッド
54:ネットワークインタフェース
55:CPU
57:A/Dコンバータ
1: Image reader 13: First read head 31: Second read head 54: Network interface 55: CPU
57: A / D converter

Claims (8)

原稿を読み取る読取部と、
外部端末と通信する通信部と、
制御部と
を備える画像読取装置であって、
前記制御部は、
前記外部端末からのスキャン指令を前記通信部に受信したことに応じて、前記読取部を制御して、前記読取部に原稿を読み取らせる読取処理と、
前記読取処理が原稿の表面および裏面の画像の読み取りの開始から完了までに前記外部端末との間の通信の接続がタイムアウトにより切断されるタイムアウト時間以上の時間を要する低速読取モードで実行される場合には、前記読取処理で前記読取部による1枚の原稿の読み取りが完了する前に、当該原稿の画像データのヘッダの一部を、前記通信部から前記スキャン指令の送信元の前記外部端末へ送信する第1送信処理と、
前記読取処理で前記読取部による1枚の原稿の読み取りが完了した後に、当該原稿の画像データのうち、前記第1送信処理で送信した前記ヘッダの一部以外の残りの画像データを、前記通信部から前記スキャン指令の送信元の前記外部端末へ送信する第2送信処理と
を実行する、
画像読取装置。
A reader that reads the document,
A communication unit that communicates with an external terminal,
An image reader equipped with a control unit,
The control unit
In response to receiving a scan command from the external terminal to the communication unit, the reading unit is controlled to cause the reading unit to read the document.
When the scanning process is executed in a low-speed scanning mode in which the connection of communication with the external terminal is disconnected due to a timeout from the start to the completion of scanning the images on the front and back surfaces of the document, which requires a time longer than the timeout time. the prior to the take-up reads the one document by the reading unit in the reading process is completed, a part of the header of the images data of the document, said from the communication unit of the transmission source of the scan command The first transmission process to send to an external terminal and
After read-in one document by the reading section is completed by the reading process, among the image picture data of the document, the remaining image data other than a portion of the header that is transmitted at the first transmission process The second transmission process of transmitting the scan command from the communication unit to the external terminal of the transmission source of the scan command is executed.
Image reader.
請求項1に記載の画像読取装置であって、
前記ヘッダの一部は、前記ヘッダが含まれる画像データのファイル種別情報を含む、
画像読取装置。
The image reading device according to claim 1.
A part of the header includes file type information of the image data including the header.
Image reader.
請求項1または2に記載の画像読取装置であって、
前記読取部は、主走査方向に直線状に延びる読取位置で原稿を読み取ることにより、ラインデータを生成し、
前記画像読取装置は、原稿が前記読取位置を前記主走査方向と直交する副走査方向に通過するよう、原稿を搬送する原稿搬送部をさらに備え、
前記ヘッダは、その途中部に、前記ラインデータの数を表す副走査ライン数情報を含み、
前記制御部は、前記第1送信処理において、前記ヘッダの一部として、前記副走査ライン数情報よりも先頭側の部分のデータを、前記通信部から前記スキャン指令の送信元の前記外部端末へ送信する、
画像読取装置。
The image reading device according to claim 1 or 2.
The scanning unit generates line data by scanning the document at a scanning position extending linearly in the main scanning direction.
The image reading device further includes a document transporting unit that transports the document so that the document passes through the scanning position in the sub-scanning direction orthogonal to the main scanning direction.
The header includes information on the number of sub-scanning lines representing the number of line data in the middle thereof.
In the first transmission process, the control unit transmits data from the communication unit to the external terminal of the transmission source of the scan command as a part of the header by transmitting the data of the portion heading from the information on the number of sub-scan lines to the external terminal. Send,
Image reader.
請求項3に記載の画像読取装置であって、
前記読取部は、
原稿の一方面に光を照射する光源および前記一方面からの反射光に応じたアナログ信号を出力するイメージセンサを含む第1読取ヘッドと、
原稿の他方面に光を照射する光源および前記他方面からの反射光に応じたアナログ信号を出力するイメージセンサを含む第2読取ヘッドと、
前記第1読取ヘッドおよび前記第2読取ヘッドに共通に接続され、前記第1読取ヘッドおよび前記第2読取ヘッドから入力されるアナログ信号をデジタルデータに変換するA/Dコンバータと
を含む、
画像読取装置。
The image reading device according to claim 3.
The reading unit
A first reading head including a light source that irradiates one side of the document with light and an image sensor that outputs an analog signal corresponding to the reflected light from the one side.
A second reading head including a light source that irradiates the other side of the document with light and an image sensor that outputs an analog signal corresponding to the reflected light from the other side.
A / D converter that is commonly connected to the first reading head and the second reading head and converts an analog signal input from the first reading head and the second reading head into digital data is included.
Image reader.
請求項3または4に記載の画像読取装置であって、
前記制御部は、
前記スキャン指令の送信元の前記外部端末のドライバが特定のドライバであるかを判別し、
前記スキャン指令の送信元の前記外部端末のドライバが前記特定のドライバではないと判別した場合、前記第1送信処理及び前記第2送信処理を実行する、画像読取装置。
The image reading device according to claim 3 or 4.
The control unit
Determining whether the driver of the external terminal that is the source of the scan command is a specific driver,
An image reading device that executes the first transmission process and the second transmission process when it is determined that the driver of the external terminal that is the source of the scan command is not the specific driver.
請求項5に記載の画像読取装置であって、
前記制御部は、
前記スキャン指令の送信元の前記外部端末のドライバが前記特定のドライバであるかを判別し、
前記ドライバが前記特定のドライバである場合、前記第1送信処理および前記第2送信処理を実行せず、前記読取処理で前記読取部による原稿の1ページ目の読み取りが完了する前に、当該原稿の1ページ目に係る画像データのヘッダに仮の副走査ライン数情報を含めて、当該ヘッダを前記通信部から前記スキャン指令の送信元の前記外部端末へ送信した後、前記1ページ目に係る画像データのボディを分割して各分割部分を順次に、前記通信部から前記スキャン指令の送信元の前記外部端末へ送信し、
前記ドライバが前記特定のドライバではない場合、前記第1送信処理および前記第2送信処理を実行する、
画像読取装置。
The image reading device according to claim 5.
The control unit
It is determined whether the driver of the external terminal that is the source of the scan command is the specific driver.
When the driver is the specific driver, the document is not executed in the first transmission process and the second transmission process, and the document is read before the scanning unit completes scanning the first page of the document in the scanning process. The header of the image data related to the first page of the above includes temporary sub-scanning line number information, and the header is transmitted from the communication unit to the external terminal of the transmission source of the scan command, and then the first page is concerned. The body of the image data is divided, and each divided portion is sequentially transmitted from the communication unit to the external terminal of the transmission source of the scan command.
When the driver is not the specific driver, the first transmission process and the second transmission process are executed.
Image reader.
原稿を読み取る読取部と、
外部端末と通信する通信部と、
制御部と
を備える画像読取装置において、原稿の画像データを送信する方法であって、
前記制御部が、
前記外部端末からのスキャン指令を前記通信部に受信したことに応じて、前記読取部を制御して、前記読取部に原稿を読み取らせる読取処理と、
前記読取処理が原稿の表面および裏面の画像の読み取りの開始から完了までに前記外部端末との間の通信の接続がタイムアウトにより切断されるタイムアウト時間以上の時間を要する低速読取モードで実行される場合には、前記読取処理で前記読取部による1枚の原稿の読み取りが完了する前に、当該原稿の画像データのヘッダの一部を、前記通信部から前記スキャン指令の送信元の前記外部端末へ送信する第1送信処理と、
前記読取処理で前記読取部による1枚の原稿の読み取りが完了した後に、当該原稿の画像データのうち、前記第1送信処理で送信した前記ヘッダの一部以外の残りの画像データを、前記通信部から前記スキャン指令の送信元の前記外部端末へ送信する第2送信処理と
を実行する、
画像データ送信方法。
A reader that reads the document,
A communication unit that communicates with an external terminal,
A method of transmitting image data of a document in an image reading device including a control unit.
The control unit
In response to receiving a scan command from the external terminal to the communication unit, the reading unit is controlled to cause the reading unit to read the document.
When the scanning process is executed in a low-speed scanning mode in which the connection of communication with the external terminal is disconnected due to a timeout from the start to the completion of scanning the images on the front and back surfaces of the document, which requires a time longer than the timeout time. the prior to the take-up reads the one document by the reading unit in the reading process is completed, a part of the header of the images data of the document, said from the communication unit of the transmission source of the scan command The first transmission process to send to an external terminal and
After read-in one document by the reading section is completed by the reading process, among the image picture data of the document, the remaining image data other than a portion of the header that is transmitted at the first transmission process , The second transmission process of transmitting from the communication unit to the external terminal of the transmission source of the scan command is executed.
Image data transmission method.
原稿を読み取る読取部と、
外部端末と通信する通信部と、
制御部と
を備える画像読取装置のコンピュータにインストールされるプログラムであって、
前記コンピュータに、
前記外部端末からのスキャン指令を前記通信部に受信したことに応じて、前記読取部を制御して、前記読取部に原稿を読み取らせる読取処理と、
前記読取処理が原稿の表面および裏面の画像の読み取りの開始から完了までに前記外部端末との間の通信の接続がタイムアウトにより切断されるタイムアウト時間以上の時間を要する低速読取モードで実行される場合には、前記読取処理で前記読取部による1枚の原稿の読み取りが完了する前に、当該原稿の画像データのヘッダの一部を、前記通信部から前記スキャン指令の送信元の前記外部端末へ送信する第1送信処理と、
前記読取処理で前記読取部による1枚の原稿の読み取りが完了した後に、当該原稿の画像データのうち、前記第1送信処理で送信した前記ヘッダの一部以外の残りの画像データを、前記通信部から前記スキャン指令の送信元の前記外部端末へ送信する第2送信処理と
を実行させる、
プログラム。
A reader that reads the document,
A communication unit that communicates with an external terminal,
A program installed on the computer of an image reader equipped with a control unit.
On the computer
In response to receiving a scan command from the external terminal to the communication unit, the reading unit is controlled to cause the reading unit to read the document.
When the scanning process is executed in a low-speed scanning mode in which the connection of communication with the external terminal is disconnected due to a timeout from the start to the completion of scanning the images on the front and back surfaces of the document, which requires a time longer than the timeout time. the prior to the take-up reads the one document by the reading unit in the reading process is completed, a part of the header of the images data of the document, said from the communication unit of the transmission source of the scan command The first transmission process to send to an external terminal and
After read-in one document by the reading section is completed by the reading process, among the image picture data of the document, the remaining image data other than a portion of the header that is transmitted at the first transmission process , The second transmission process of transmitting the scan command from the communication unit to the external terminal of the transmission source of the scan command is executed.
program.
JP2017211480A 2017-11-01 2017-11-01 Image reader, image data transmission method and program Active JP6946943B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017211480A JP6946943B2 (en) 2017-11-01 2017-11-01 Image reader, image data transmission method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017211480A JP6946943B2 (en) 2017-11-01 2017-11-01 Image reader, image data transmission method and program

Publications (2)

Publication Number Publication Date
JP2019083496A JP2019083496A (en) 2019-05-30
JP6946943B2 true JP6946943B2 (en) 2021-10-13

Family

ID=66670660

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017211480A Active JP6946943B2 (en) 2017-11-01 2017-11-01 Image reader, image data transmission method and program

Country Status (1)

Country Link
JP (1) JP6946943B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011077875A (en) * 2009-09-30 2011-04-14 Brother Industries Ltd Image reading apparatus and program

Also Published As

Publication number Publication date
JP2019083496A (en) 2019-05-30

Similar Documents

Publication Publication Date Title
JP5247508B2 (en) Image processing apparatus, image processing apparatus control method, and program
US8477383B2 (en) Processing based on command and register
US8605319B2 (en) Image reading apparatus capable of reading images of both sides of a document
US8284464B2 (en) Image processing method and apparatus to scan on both sides of a document
JP2007306046A (en) Composite machine
JP6946943B2 (en) Image reader, image data transmission method and program
JP7073634B2 (en) Electronic devices and programs
JP2007144648A (en) Printer, its controlling method, and printing system
US5303070A (en) Method and apparatus for selection of data packets in double sided scanning
JP2013066072A (en) Image reading device, image forming apparatus, image reading method and image reading program
JP6827780B2 (en) Image reading method, image reading device and program
US8345330B2 (en) Document reading apparatus
JP7002830B2 (en) Image processing equipment, its control method, and programs
JP2007068012A (en) Image processing method, image processor and image formation apparatus
JP2016012761A (en) Reading system, reading control device, and method for controlling reading control device
JP5460907B2 (en) Image processing apparatus, image processing apparatus control method, and program
JP2013055411A (en) Image processing device, image processing method, and program
JP6926969B2 (en) Image reader
JP5245803B2 (en) Image processing apparatus and image processing module
JP4901781B2 (en) Image forming apparatus
JP2009027328A (en) Image forming apparatus
JP6627612B2 (en) Image forming device
JP2007266832A (en) Facsimile machine
JP5058023B2 (en) Image processing apparatus, image processing system, and image processing method
JP2022049520A (en) Data transfer device, compound machine, method for controlling data transfer device, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200911

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210514

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210601

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210730

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210830

R150 Certificate of patent or registration of utility model

Ref document number: 6946943

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150