JP6340943B2 - Electronic document generation system, image forming apparatus, and program - Google Patents

Electronic document generation system, image forming apparatus, and program Download PDF

Info

Publication number
JP6340943B2
JP6340943B2 JP2014126222A JP2014126222A JP6340943B2 JP 6340943 B2 JP6340943 B2 JP 6340943B2 JP 2014126222 A JP2014126222 A JP 2014126222A JP 2014126222 A JP2014126222 A JP 2014126222A JP 6340943 B2 JP6340943 B2 JP 6340943B2
Authority
JP
Japan
Prior art keywords
processing
divided data
external terminal
communication
image forming
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
JP2014126222A
Other languages
Japanese (ja)
Other versions
JP2016005232A (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.)
Konica Minolta Inc
Original Assignee
Konica Minolta 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 Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP2014126222A priority Critical patent/JP6340943B2/en
Publication of JP2016005232A publication Critical patent/JP2016005232A/en
Application granted granted Critical
Publication of JP6340943B2 publication Critical patent/JP6340943B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Facsimiles In General (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)

Description

本発明は、電子文書を生成する電子文書生成システムおよびそれに関連する技術に関する。   The present invention relates to an electronic document generation system that generates an electronic document and a technology related thereto.

電子文書を生成する技術においては、圧縮率を高めつつ文字の視認性を高める技術が存在する。たとえば、スキャン画像に基づいて高圧縮PDF(Portable Document Format)ファイルを電子文書(「コンパクトPDFファイル」とも称される)として生成する技術が存在する(特許文献1等参照)。   As a technique for generating an electronic document, there is a technique for improving the visibility of characters while increasing the compression rate. For example, there is a technique for generating a highly compressed PDF (Portable Document Format) file as an electronic document (also referred to as “compact PDF file”) based on a scanned image (see Patent Document 1, etc.).

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

ところで、電子文書の生成処理においては、画像形成装置によるスキャン画像を画像形成装置とは別の外部端末に送信し、当該外部端末にてスキャン画像に基づく電子文書を生成することが考えられる。   By the way, in the electronic document generation processing, it is conceivable that a scan image by the image forming apparatus is transmitted to an external terminal different from the image forming apparatus, and the external document generates an electronic document based on the scan image.

たとえば、上記特許文献1に係る技術においてこのような動作が適用される場合には、スキャン画像が画像形成装置から外部端末へと送信され、外部端末は、画像形成装置から受信したスキャン画像に対して関連処理(高圧縮PDFファイルの生成に関連する処理(圧縮処理等))を実行する。そして、外部端末は、当該関連処理の処理結果に基づき電子文書(高圧縮PDFファイル)を生成する。   For example, when such an operation is applied in the technique according to Patent Document 1, a scan image is transmitted from the image forming apparatus to an external terminal, and the external terminal performs an operation on the scan image received from the image forming apparatus. Related processing (processing related to the generation of a highly compressed PDF file (such as compression processing)). Then, the external terminal generates an electronic document (highly compressed PDF file) based on the processing result of the related processing.

しかしながら、たとえば、外部端末は、当該スキャン画像の受信完了前に画像形成装置と外部端末との通信が中断された場合には、当該スキャン画像に対して関連処理を実行することができない。そして、画像形成装置と外部端末との通信の再開後に、当該スキャン画像が画像形成装置から外部端末へと送信(再送信)されて、当該スキャン画像に対する関連処理が外部端末において実行(再実行)される。すなわち、画像形成装置と外部端末との通信が中断すると、外部端末は関連処理を当該通信の再開後まで実行することができず、電子文書の生成処理に遅延が生じ得る。   However, for example, when the communication between the image forming apparatus and the external terminal is interrupted before the reception of the scan image is completed, the external terminal cannot execute the related process on the scan image. Then, after the communication between the image forming apparatus and the external terminal is resumed, the scanned image is transmitted (retransmitted) from the image forming apparatus to the external terminal, and the related processing for the scanned image is executed (reexecuted) in the external terminal. Is done. In other words, when communication between the image forming apparatus and the external terminal is interrupted, the external terminal cannot execute the related process until after the communication is resumed, and the electronic document generation process may be delayed.

そこで、この発明は、画像形成装置と外部端末との通信が中断した場合であっても、電子文書の生成処理の遅延を抑制することが可能な技術を提供することを課題とする。   Accordingly, an object of the present invention is to provide a technique capable of suppressing a delay in electronic document generation processing even when communication between an image forming apparatus and an external terminal is interrupted.

上記課題を解決すべく、請求項1の発明は、電子文書生成システムであって、原稿のスキャン画像を生成する画像形成装置と、前記スキャン画像に基づく電子文書を生成する外部端末と、を備え、前記画像形成装置は、前記スキャン画像を複数の領域に分割して複数の分割データを生成する分割データ生成手段と、前記複数の分割データを前記外部端末に送信する送信手段と、を有し、前記外部端末は、前記電子文書の生成に関連する関連処理が未だ完了していない分割データに関して、前記関連処理を実行する第1の処理実行手段と、前記複数の分割データに関する前記関連処理の処理結果に基づいて前記電子文書を生成する文書生成手段と、を有し、前記画像形成装置は、前記複数の分割データの送信完了前に前記画像形成装置と前記外部端末との通信が中断すると、前記複数の分割データのうち前記外部端末への送信が未だ完了していない分割データの少なくとも1つに関して、前記関連処理を前記外部端末に代わって実行する第2の処理実行手段、をさらに有し、前記画像形成装置の前記送信手段は、前記第2の処理実行手段により前記関連処理が実行された分割データに関する処理結果を前記通信の再開後に前記外部端末に送信し、前記外部端末の前記文書生成手段は、前記複数の分割データのうち前記外部端末の前記第1の処理実行手段により前記関連処理が実行された分割データに関する処理結果である第1の処理結果と、前記複数の分割データのうち前記画像形成装置の前記第2の処理実行手段により前記関連処理が実行された分割データに関する処理結果である第2の処理結果とに基づいて、前記電子文書を生成し、前記画像形成装置は、前記通信の再開時点において前記画像形成装置の前記第2の処理実行手段による前記関連処理が未だ実行されている特定の分割データに関する処理時間を算出する算出手段、をさらに有し、前記算出手段は、前記第1の処理実行手段による前記特定の分割データに関する前記関連処理の所要時間である第1の所要処理時間を前記外部端末の処理能力に基づいて算出するとともに、前記第2の処理実行手段による前記特定の分割データに関する前記関連処理の前記再開時点からの残余の所要処理時間である第2の所要処理時間を前記画像形成装置の処理能力に基づいて算出し、前記画像形成装置の前記第2の処理実行手段は、前記通信が再開されると、前記第1の所要処理時間と前記第2の所要処理時間とを比較し、前記第1の所要処理時間が前記第2の所要処理時間よりも長い旨が判定される場合には、前記特定の分割データに関する前記関連処理の実行を継続するとともに、前記特定の分割データに関する前記関連処理の完了後に、前記特定の分割データに関する前記関連処理の処理結果を前記送信手段によって前記外部端末に送信させ、前記第1の所要処理時間が前記第2の所要処理時間よりも短い旨が判定される場合には、前記特定の分割データに関する前記関連処理を中止するとともに、前記特定の分割データを前記送信手段によって前記外部端末に送信させることを特徴とする。 In order to solve the above problems, the invention of claim 1 is an electronic document generation system, comprising an image forming apparatus that generates a scanned image of an original, and an external terminal that generates an electronic document based on the scanned image. The image forming apparatus includes: a divided data generation unit that divides the scan image into a plurality of regions to generate a plurality of divided data; and a transmission unit that transmits the plurality of divided data to the external terminal. The external terminal includes: a first process executing unit that executes the related process with respect to the divided data that has not yet been completed related processing related to the generation of the electronic document; and the related process that is related to the plurality of divided data. Document generating means for generating the electronic document based on a processing result, and the image forming apparatus and the image forming apparatus before the transmission of the plurality of divided data is completed. When communication with the terminal is interrupted, with respect to at least one of the divided data transmission is not completed to the external terminal of the plurality of divided data, a second executing on behalf of the associated process to the external terminal A processing execution unit, wherein the transmission unit of the image forming apparatus transmits a processing result relating to the divided data on which the related processing has been performed by the second processing execution unit to the external terminal after the communication is resumed. The document generation unit of the external terminal is a first processing result that is a processing result related to the divided data for which the related processing has been executed by the first processing execution unit of the external terminal among the plurality of divided data. And among the plurality of pieces of divided data, a processing result related to the divided data for which the related processing has been executed by the second processing execution unit of the image forming apparatus. Based on the second processing result, the generated electronic document, wherein the image forming apparatus, the related processing by the second process execution means of the image forming apparatus in resuming point of the communication is executed yet Calculating means for calculating a processing time relating to the specific divided data, wherein the calculating means is a first required process which is a time required for the related process relating to the specific divided data by the first process executing means; A second required process that calculates a time based on the processing capability of the external terminal and is a remaining required process time from the restart point of the related process related to the specific divided data by the second process execution unit; The time is calculated based on the processing capability of the image forming apparatus, and the second processing execution unit of the image forming apparatus is configured to execute the first requirement when the communication is resumed. When the processing time is compared with the second required processing time and it is determined that the first required processing time is longer than the second required processing time, the relation relating to the specific divided data The execution of the process is continued, and after the related process related to the specific divided data is completed, the processing result of the related process related to the specific divided data is transmitted to the external terminal by the transmission unit, and the first required When it is determined that the processing time is shorter than the second required processing time, the related processing relating to the specific divided data is stopped, and the specific divided data is transmitted to the external terminal by the transmission unit. It is characterized by transmitting.

請求項2の発明は、請求項1の発明に係る電子文書生成システムにおいて、前記画像形成装置の前記送信手段は、前記複数の分割データのうち前記通信の再開時点において前記外部端末への送信が未だ完了していない分割データであって前記通信の再開時点において前記画像形成装置の前記第2の処理実行手段による前記関連処理が未だ開始されていない分割データである一部の分割データを前記通信の再開後に前記外部端末に送信し、前記外部端末の前記第1の処理実行手段は、前記通信の再開後に受信された前記一部の分割データに関して前記関連処理を実行し、前記外部端末の前記文書生成手段は、前記通信の中断前と前記通信の再開後との双方における前記第1の処理実行手段による前記関連処理の処理結果を含む前記第1の処理結果と、前記第2の処理実行手段による前記関連処理の処理結果である前記第2の処理結果とに基づいて、前記電子文書を生成することを特徴とする。 According to a second aspect of the present invention, in the electronic document generation system according to the first aspect of the invention, the transmission unit of the image forming apparatus transmits the plurality of divided data to the external terminal when the communication is resumed. A portion of the divided data that has not been completed yet and that has not yet been started by the second processing execution unit of the image forming apparatus at the time when the communication is resumed. The first process execution means of the external terminal executes the related process with respect to the partial data received after the communication is resumed, and the external terminal document generation means, said first processing sintering including the relevant treatment process result by the first process execution means in both the after the previous communication interruption with the communication resumption If, based on the said associated processing of the processing result is that the second processing result of the second process execution means, and generates the electronic document.

請求項3の発明は、請求項1または請求項2の発明に係る電子文書生成システムにおいて、前記関連処理は、前記スキャン画像内の互いに異なる種別の領域を互いに異なる圧縮率で圧縮する圧縮処理を含み、前記外部端末の前記文書生成手段は、前記第1の処理実行手段により前記圧縮処理が施された分割データである前記第1の処理結果と、前記第2の処理実行手段により前記圧縮処理が施された分割データである前記第2の処理結果とに基づいて、前記電子文書を生成することを特徴とする。 According to a third aspect of the present invention, in the electronic document generation system according to the first or second aspect of the invention, the related processing includes compression processing for compressing different types of regions in the scanned image at different compression rates. The document generation means of the external terminal includes the first processing result which is the divided data subjected to the compression processing by the first processing execution means, and the compression processing by the second processing execution means. The electronic document is generated on the basis of the second processing result that is the divided data subjected to.

請求項4の発明は、請求項1または請求項2の発明に係る電子文書生成システムにおいて、前記関連処理は、光学文字認識処理を含み、前記第1の処理実行手段は、その処理対象の分割データに関して前記光学文字認識処理を施して得られる第1のテキストデータを前記第1の処理結果として生成し、前記第2の処理実行手段は、その処理対象の分割データに関して前記光学文字認識処理を施して得られる第2のテキストデータを前記第2の処理結果として生成し、前記外部端末の前記文書生成手段は、前記複数の分割データと、前記第1の処理結果として生成された前記第1のテキストデータと、前記第2の処理結果として生成された前記第2のテキストデータとに基づいて、前記電子文書を生成することを特徴とする。 According to a fourth aspect of the present invention, in the electronic document generation system according to the first or second aspect of the invention, the related process includes an optical character recognition process, and the first process execution means divides the process target. First text data obtained by performing the optical character recognition processing on the data is generated as the first processing result, and the second processing execution means performs the optical character recognition processing on the divided data to be processed. Second text data obtained as a result of the processing is generated as the second processing result, and the document generation means of the external terminal generates the plurality of divided data and the first processing result generated as the first processing result. The electronic document is generated on the basis of the text data and the second text data generated as a result of the second processing.

請求項5の発明は、請求項1ないし請求項4のいずれかの発明に係る電子文書生成システムにおいて、前記画像形成装置の前記第2の処理実行手段は、前記通信の中断時点において、前記画像形成装置において前記関連処理とは異なる処理が実行中である場合には、当該実行中の処理である実行中処理の優先順位と前記関連処理の優先順位とを、前記画像形成装置における各処理の優先順位が規定された優先テーブルに基づいて比較し、前記関連処理の優先順位が前記実行中処理の優先順位よりも高い場合には、前記関連処理を直ちに開始し、前記関連処理の優先順位が前記実行中処理の優先順位よりも低い場合には、前記実行中処理の完了後に前記関連処理を開始することを特徴とする。 According to a fifth aspect of the present invention, in the electronic document generation system according to any one of the first to fourth aspects of the present invention, the second processing execution unit of the image forming apparatus includes the image at the time when the communication is interrupted. When a process different from the related process is being executed in the forming apparatus, the priority of the process being executed, which is the process being executed, and the priority of the related process are assigned to each process in the image forming apparatus. If the priority order of the related process is higher than the priority order of the executing process, the related process is immediately started, and the priority order of the related process is In the case where the priority is lower than the priority of the process being executed, the related process is started after the completion of the process being executed.

請求項6の発明は、電子文書を生成する外部端末と通信可能な画像形成装置であって、原稿のスキャン画像を複数の領域に分割して複数の分割データを生成する分割データ生成手段と、前記複数の分割データを前記外部端末に送信し、前記電子文書の生成に関連する関連処理が未だ完了していない分割データに関する前記関連処理を前記外部端末に実行させる送信手段と、前記複数の分割データの送信完了前に前記画像形成装置と前記外部端末との通信が中断すると、前記複数の分割データのうち前記外部端末への送信が未だ完了していない分割データの少なくとも1つに関して、前記関連処理を前記外部端末に代わって実行する処理実行手段と、を備え、前記送信手段は、前記処理実行手段により前記関連処理が実行された分割データに関する処理結果を前記通信の再開後に前記外部端末に送信し、前記画像形成装置は、前記通信の再開時点において前記画像形成装置の前記処理実行手段による前記関連処理が未だ実行されている特定の分割データに関する処理時間を算出する算出手段、をさらに備え、前記算出手段は、前記外部端末による前記特定の分割データに関する前記関連処理の所要時間である第1の所要処理時間を前記外部端末の処理能力に基づいて算出するとともに、前記画像形成装置の前記処理実行手段による前記特定の分割データに関する前記関連処理の前記再開時点からの残余の所要処理時間である第2の所要処理時間を前記画像形成装置の処理能力に基づいて算出し、前記処理実行手段は、前記通信が再開されると、前記第1の所要処理時間と前記第2の所要処理時間とを比較し、前記第1の所要処理時間が前記第2の所要処理時間よりも長い旨が判定される場合には、前記特定の分割データに関する前記関連処理の実行を継続するとともに、前記特定の分割データに関する前記関連処理の完了後に、前記特定の分割データに関する前記関連処理の処理結果を前記送信手段によって前記外部端末に送信させ、前記第1の所要処理時間が前記第2の所要処理時間よりも短い旨が判定される場合には、前記特定の分割データに関する前記関連処理を中止するとともに、前記特定の分割データを前記送信手段によって前記外部端末に送信させることを特徴とする。 The invention according to claim 6 is an image forming apparatus capable of communicating with an external terminal that generates an electronic document, and a divided data generating unit that generates a plurality of divided data by dividing a scanned image of a document into a plurality of regions; Transmitting means for transmitting the plurality of divided data to the external terminal, and causing the external terminal to execute the related processing related to the divided data for which the related processing related to generation of the electronic document has not yet been completed; When communication between the image forming apparatus and the external terminal is interrupted before data transmission is completed, the related data is related to at least one of the plurality of divided data that has not yet been transmitted to the external terminal. Processing execution means for executing processing on behalf of the external terminal, and the transmission means relates to the divided data on which the related processing has been executed by the processing execution means. Processing result to the transmission to the external terminal after the resumption of the communication that the image forming apparatus, divided specific of the relevant process by the process execution unit of the image forming apparatus in resuming point of the communication is executed yet Calculation means for calculating a processing time relating to data, wherein the calculating means determines a first required processing time, which is a time required for the related processing relating to the specific divided data by the external terminal, as a processing capability of the external terminal. And a second required processing time that is a remaining required processing time from the restart point of the related processing related to the specific divided data by the processing execution unit of the image forming device. The processing execution means calculates the first required processing time and the second place when the communication is resumed. When the processing time is compared and it is determined that the first required processing time is longer than the second required processing time, the execution of the related processing relating to the specific divided data is continued, After the related process relating to the specific divided data is completed, a processing result of the related process relating to the specific divided data is transmitted to the external terminal by the transmission unit, and the first required processing time is the second required time. When it is determined that the processing time is shorter than the processing time, the related processing relating to the specific divided data is stopped, and the specific divided data is transmitted to the external terminal by the transmission unit.

請求項7の発明は、電子文書を生成する外部端末と通信可能な画像形成装置に内蔵されたコンピュータに、a)原稿のスキャン画像を複数の領域に分割して複数の分割データを生成するステップと、b)前記電子文書の生成に関連する関連処理を実行することが可能な前記外部端末に対して、前記複数の分割データを送信するステップと、c)前記ステップb)における前記複数の分割データの送信が完了する前に前記画像形成装置と前記外部端末との通信が中断する場合に、前記複数の分割データのうち前記外部端末への送信が未だ完了していない分割データの少なくとも1つに関して、前記関連処理を前記外部端末に代わって実行するステップと、d)前記ステップc)において前記関連処理が実行された分割データに関する処理結果を前記通信の再開後に前記外部端末に送信するステップと、を実行させるためのプログラムであって、前記ステップc)は、c−1)前記通信の再開時点において前記画像形成装置による前記関連処理が未だ実行されている特定の分割データが存在する場合、前記外部端末による前記特定の分割データに関する前記関連処理の所要時間である第1の所要処理時間を前記外部端末の処理能力に基づいて算出するとともに、前記画像形成装置による前記特定の分割データに関する前記関連処理の前記再開時点からの残余の所要処理時間である第2の所要処理時間を前記画像形成装置の処理能力に基づいて算出するステップと、c−2)前記通信が再開されると、前記第1の所要処理時間と前記第2の所要処理時間とを比較するステップと、c−3)前記第1の所要処理時間が前記第2の所要処理時間よりも長い旨が前記ステップc−2)にて判定される場合には、前記特定の分割データに関する前記関連処理の実行を継続するステップと、c−4)前記第1の所要処理時間が前記第2の所要処理時間よりも短い旨が前記ステップc−2)にて判定される場合には、前記特定の分割データに関する前記関連処理を中止するステップと、を有し、前記ステップd)においては、前記第1の所要処理時間が前記第2の所要処理時間よりも長い旨が前記ステップc−2)にて判定される場合には、前記特定の分割データに関する前記関連処理の完了後に、前記特定の分割データに関する前記関連処理の処理結果が前記外部端末に送信され、前記第1の所要処理時間が前記第2の所要処理時間よりも短い旨が前記ステップc−2)にて判定される場合には、前記特定の分割データが前記外部端末に送信されることを特徴とする。 According to a seventh aspect of the present invention, a) a step of generating a plurality of divided data by dividing a scanned image of a document into a plurality of areas in a computer built in an image forming apparatus capable of communicating with an external terminal that generates an electronic document B) transmitting the plurality of pieces of divided data to the external terminal capable of executing related processing relating to generation of the electronic document; c) the plurality of divisions in step b). When communication between the image forming apparatus and the external terminal is interrupted before data transmission is completed , at least one of the plurality of divided data that has not yet been transmitted to the external terminal A step of executing the related process on behalf of the external terminal; and d) a processing result regarding the divided data on which the related process is executed in step c). A program for executing the steps of: transmitting to the external terminal after the serial communication resumption, the step c) is, c-1) the associated processing by the image forming apparatus in resuming point of the communication is still When there is specific divided data being executed, the first required processing time, which is the time required for the related processing related to the specific divided data by the external terminal, is calculated based on the processing capability of the external terminal. Calculating a second required processing time, which is a remaining required processing time from the resumption time of the related processing relating to the specific divided data by the image forming device, based on a processing capability of the image forming device; c-2) a step of comparing the first required processing time and the second required processing time when the communication is resumed; c-3) When it is determined in step c-2) that the first required processing time is longer than the second required processing time, the step of continuing the execution of the related processing relating to the specific divided data And c-4) if it is determined in step c-2) that the first required processing time is shorter than the second required processing time, the related processing relating to the specific divided data. And in step d), it is determined in step c-2) that the first required processing time is longer than the second required processing time. After completion of the related process related to the specific divided data, the processing result of the related process related to the specific divided data is transmitted to the external terminal, and the first required processing time is the second required processing time. Shorter than If it is determined in step c-2), the specific divided data is transmitted to the external terminal.

請求項8の発明は、電子文書生成システムであって、原稿のスキャン画像を生成する画像形成装置と、前記画像形成装置およびクラウドサーバと連携して前記スキャン画像に基づく電子文書を生成する外部端末と、を備え、前記画像形成装置は、前記スキャン画像を複数の領域に分割して複数の分割データを生成する分割データ生成手段と、前記複数の分割データを前記外部端末に送信する送信手段と、を有し、前記外部端末は、前記電子文書の生成に関連する関連処理が未だ完了していない分割データに関して、前記関連処理の前処理を実行する第1の処理実行手段と、前記関連処理が未だ完了していない分割データに関して前記関連処理を前記クラウドサーバによって実行し且つその処理結果を前記外部端末へ送信すべき旨の処理依頼指令を、前記分割データに関する前記前処理の処理結果とともに前記クラウドサーバに送信する通信手段と、前記複数の分割データに関する前記関連処理の処理結果に基づいて前記電子文書を生成する文書生成手段と、を有し、前記画像形成装置は、前記画像形成装置と前記外部端末との通信である第1の通信が前記複数の分割データの送信完了前に中断すると、前記複数の分割データのうち前記外部端末への送信が未だ完了していない分割データであって前記関連処理が未だ完了していない分割データに関して、前記前処理を前記外部端末に代わって実行する第2の処理実行手段、をさらに有し、前記画像形成装置の前記送信手段は、前記第1の通信が中断されている一方で前記画像形成装置と前記クラウドサーバとの通信である第2の通信を行うことが可能である場合に、前記第2の処理実行手段による前記前処理の処理結果を前記クラウドサーバに送信するとともに、当該前処理が施された分割データに関する前記処理依頼指令を、前記外部端末に代わって前記クラウドサーバに送信し、前記クラウドサーバは、前記外部端末の前記通信手段からの前記処理依頼指令に基づき実行された前記関連処理に関する処理結果を前記外部端末に送信するとともに、前記第1の通信の再開に伴って前記クラウドサーバと前記外部端末との通信である第3の通信が再開された後に、前記画像形成装置の前記送信手段からの前記処理依頼指令に基づき実行された前記関連処理に関する処理結果を前記外部端末に送信し、前記外部端末の前記文書生成手段は、前記外部端末によって前記クラウドサーバに依頼された前記関連処理の処理結果である第1の処理結果と、前記画像形成装置によって前記クラウドサーバに依頼された前記関連処理の処理結果である第2の処理結果とに基づいて、前記電子文書を生成することを特徴とする。 The invention of claim 8 is an electronic document generation system, an image forming apparatus that generates a scanned image of a document, and an external terminal that generates an electronic document based on the scanned image in cooperation with the image forming apparatus and the cloud server And the image forming apparatus divides the scan image into a plurality of regions to generate a plurality of divided data, and a transmission unit transmits the plurality of divided data to the external terminal. The external terminal includes first processing execution means for performing pre-processing of the related processing with respect to divided data for which related processing related to generation of the electronic document has not yet been completed, and the related processing The processing request instruction that the related processing is to be executed by the cloud server with respect to the divided data that has not yet been completed and the processing result should be transmitted to the external terminal. Communication means for transmitting to the cloud server together with the processing result of the pre-processing relating to the divided data, and document generating means for generating the electronic document based on the processing result of the related processing relating to the plurality of divided data. And when the first communication, which is communication between the image forming apparatus and the external terminal, is interrupted before the transmission of the plurality of divided data is completed, the external terminal among the plurality of divided data Second processing execution means for executing the pre-processing on behalf of the external terminal with respect to the divided data that has not been completed yet and the related processing is not yet completed. The transmission unit of the image forming apparatus performs second communication that is communication between the image forming apparatus and the cloud server while the first communication is interrupted. When it is possible to send the processing result of the preprocessing by the second processing execution means to the cloud server, and to send the processing request command for the divided data subjected to the preprocessing, Transmitting to the cloud server on behalf of the terminal, the cloud server transmits to the external terminal a processing result related to the related process executed based on the processing request command from the communication means of the external terminal, and This was executed based on the processing request command from the transmission unit of the image forming apparatus after the third communication, which is communication between the cloud server and the external terminal, was resumed along with the resumption of the first communication. The processing result related to the related processing is transmitted to the external terminal, and the document generation means of the external terminal is Based on the first processing result that is the processing result of the related processing requested by the server and the second processing result that is the processing result of the related processing requested by the image forming apparatus to the cloud server. The electronic document is generated.

請求項9の発明は、請求項8の発明に係る電子文書生成システムにおいて、前記関連処理は、前記クラウドサーバにおいて実行される光学文字認識処理を含み、前記クラウドサーバは、前記外部端末から依頼された前記光学文字認識処理の処理結果である第1のテキストデータを前記第1の処理結果として生成し、前記画像形成装置から依頼された前記光学文字認識処理の処理結果である第2のテキストデータを前記第2の処理結果として生成することを特徴とする。 According to a ninth aspect of the invention, in the electronic document generation system according to the eighth aspect of the invention, the related process includes an optical character recognition process executed in the cloud server, and the cloud server is requested from the external terminal. The first text data that is the processing result of the optical character recognition processing is generated as the first processing result, and the second text data that is the processing result of the optical character recognition processing requested by the image forming apparatus. Is generated as the second processing result.

請求項10の発明は、クラウドサーバと連携して電子文書を生成する外部端末と通信可能な画像形成装置であって、原稿のスキャン画像を複数の領域に分割して複数の分割データを生成する分割データ生成手段と、前記複数の分割データを前記外部端末に送信し、前記電子文書の生成に関連する関連処理が未だ完了していない分割データに関する前記関連処理の前処理を前記外部端末に実行させるとともに、前記関連処理が未だ完了していない分割データに関する前記関連処理を前記クラウドサーバによって実行し且つその処理結果を前記外部端末へ送信すべき旨の処理依頼指令を、前記分割データに関する前記前処理の処理結果とともに前記外部端末から前記クラウドサーバに送信させる送信手段と、前記画像形成装置と前記外部端末との通信である第1の通信が前記複数の分割データの送信完了前に中断すると、前記複数の分割データのうち前記外部端末への送信が未だ完了していない分割データに関して、前記前処理を前記外部端末に代わって実行する処理実行手段と、を備え、前記送信手段は、前記第1の通信が中断されている一方で前記画像形成装置と前記クラウドサーバとの通信である第2の通信が可能である場合に、前記処理実行手段による前記前処理の処理結果を前記クラウドサーバに送信するとともに、当該前処理が施された分割データに関する前記処理依頼指令を、前記外部端末に代わって前記クラウドサーバに送信することを特徴とする。 The invention according to claim 10 is an image forming apparatus capable of communicating with an external terminal that generates an electronic document in cooperation with a cloud server, and generates a plurality of divided data by dividing a scanned image of a document into a plurality of regions. Transmitting the plurality of pieces of divided data to the external terminal and executing the preprocessing of the related processing on the divided data for which the related processing related to generation of the electronic document has not been completed yet, to the external terminal In addition, a processing request command for executing the related processing related to the divided data for which the related processing has not been completed is executed by the cloud server and transmitting the processing result to the external terminal. transmitting means together with the processing result of the processing is transmitted from the external terminal to the cloud server, the image forming apparatus and with the external terminal When the first communication that is a communication is interrupted before the transmission of the plurality of divided data is completed, the preprocessing is performed on the divided data that has not yet been transmitted to the external terminal among the plurality of divided data. Processing execution means executed on behalf of the terminal, and the transmission means is capable of second communication that is communication between the image forming apparatus and the cloud server while the first communication is interrupted. The processing execution means sends the processing result of the preprocessing to the cloud server and sends the processing request command for the divided data subjected to the preprocessing to the cloud server instead of the external terminal. It is characterized by transmitting to.

請求項11の発明は、画像形成装置およびクラウドサーバと連携して電子文書を生成する外部端末に内蔵されたコンピュータに、a)原稿のスキャン画像が複数の領域に分割されて生成された複数の分割データを前記画像形成装置から受信するステップと、b)前記ステップa)において前記画像形成装置から受信した分割データであって前記電子文書の生成に関連する関連処理が未だ完了していない分割データに関して、前記関連処理の前処理を実行するステップと、c)前記ステップa)において前記画像形成装置から受信した分割データであって前記関連処理が未だ完了していない分割データに関する前記関連処理を前記クラウドサーバによって実行し且つその処理結果を前記外部端末へ送信すべき旨の処理依頼指令を、前記ステップb)において前記分割データに関して実行された前記前処理の処理結果とともに前記クラウドサーバに送信するステップと、d)前記ステップc)において前記外部端末によって前記クラウドサーバに依頼された前記関連処理の処理結果を前記クラウドサーバから受信するステップと、e)前記ステップa)における前記複数の分割データの受信が完了する前に前記画像形成装置と前記外部端末との通信である第1の通信が中断する場合において前記外部端末に代わって前記画像形成装置から前記クラウドサーバに送信された前記処理依頼指令に基づき前記クラウドサーバにおいて実行された前記関連処理に関する処理結果を、前記第1の通信の再開に伴って前記クラウドサーバと前記外部端末との通信である第2の通信が再開された後に、前記クラウドサーバから受信するステップと、f)前記外部端末から前記クラウドサーバに依頼された前記関連処理の処理結果であって前記ステップd)にて受信された処理結果と、前記画像形成装置から前記クラウドサーバに依頼された前記関連処理の処理結果であって前記ステップe)にて受信された処理結果とに基づいて、前記電子文書を生成するステップと、を実行させるためのプログラムであることを特徴とする。 According to an eleventh aspect of the present invention, there is provided a computer incorporated in an external terminal that generates an electronic document in cooperation with an image forming apparatus and a cloud server, and a) a plurality of scan images generated by dividing a scanned image into a plurality of areas. Receiving divided data from the image forming apparatus; b) divided data received from the image forming apparatus in step a), and related data relating to generation of the electronic document has not yet been completed. A step of executing a pre-processing of the related processing, and c) the related processing related to the divided data received from the image forming apparatus in the step a) and the related processing is not yet completed. A processing request command for executing the processing by the cloud server and transmitting the processing result to the external terminal; ) Transmitting to the cloud server together with the processing result of the preprocessing executed on the divided data in d), and d) processing result of the related processing requested to the cloud server by the external terminal in step c) A step of receiving from the cloud server, and e) a case where the first communication which is a communication between the image forming apparatus and the external terminal is interrupted before the reception of the plurality of divided data in the step a) is completed. The processing result related to the related processing executed in the cloud server based on the processing request command transmitted from the image forming apparatus to the cloud server on behalf of the external terminal is transmitted with the resumption of the first communication. After the second communication that is communication between the cloud server and the external terminal is resumed, A step of receiving from the cloud server; f) a processing result of the related processing requested from the external terminal to the cloud server and received in step d); And a step of generating the electronic document based on the processing result of the related processing requested by the cloud server and the processing result received in step e). Features.

請求項12の発明は、電子文書生成システムであって、原稿のスキャン画像を生成する画像形成装置と、前記画像形成装置およびクラウドサーバと連携して前記スキャン画像に基づく電子文書を生成する外部端末と、を備え、前記画像形成装置は、前記スキャン画像を複数の領域に分割して複数の分割データを生成する分割データ生成手段と、前記複数の分割データを前記外部端末に送信する送信手段と、を有し、前記外部端末は、前記電子文書の生成に関連する第1の関連処理が未だ完了していない分割データに関して、前記第1の関連処理を実行する第1の処理実行手段と、前記電子文書の生成に関連する第2の関連処理が未だ完了していない分割データに関する前記第2の関連処理を前記クラウドサーバによって実行し且つその処理結果を前記外部端末へ送信すべき旨の処理依頼指令を、前記クラウドサーバに送信する通信手段と、前記複数の分割データに関する前記第1の関連処理の処理結果と、前記複数の分割データに関する前記第2の関連処理の処理結果とに基づいて、前記電子文書を生成する文書生成手段と、を有し、前記画像形成装置は、前記画像形成装置と前記外部端末との通信である第1の通信が前記複数の分割データの送信完了前に中断すると、前記複数の分割データのうち前記外部端末への送信が未だ完了していない分割データであって前記第1の処理実行手段による前記第1の関連処理が未だ完了していない分割データに関して、前記第1の関連処理を前記外部端末に代わって実行する第2の処理実行手段、をさらに有し、前記画像形成装置の前記送信手段は、前記第1の通信が中断されている一方で前記画像形成装置と前記クラウドサーバとの通信である第2の通信を行うことが可能である場合に、前記複数の分割データのうち前記外部端末への送信が未だ完了していない分割データであって前記クラウドサーバによる前記第2の関連処理が未だ完了していない分割データに関する前記処理依頼指令を、前記外部端末に代わって前記クラウドサーバに送信し、前記第2の処理実行手段により前記第1の関連処理が実行された分割データに関する処理結果を前記第1の通信の再開後に前記外部端末に送信し、前記クラウドサーバは、前記第1の通信の再開に伴って前記クラウドサーバと前記外部端末との通信である第3の通信が再開されると、前記画像形成装置の前記送信手段からの前記処理依頼指令に基づき前記第2の関連処理が実行された分割データに関する処理結果を前記外部端末に送信し、前記外部端末の前記文書生成手段は、前記外部端末にて実行された前記第1の関連処理の処理結果である第1の処理結果と、前記画像形成装置にて実行された前記第1の関連処理の処理結果である第2の処理結果と、前記外部端末によって前記クラウドサーバに依頼された前記第2の関連処理の処理結果である第3の処理結果と、前記画像形成装置によって前記クラウドサーバに依頼された前記第2の関連処理の処理結果である第4の処理結果とに基づいて、前記電子文書を生成することを特徴とする。 The invention of claim 12 is an electronic document generation system, an image forming apparatus for generating a scanned image of an original, and an external terminal for generating an electronic document based on the scanned image in cooperation with the image forming apparatus and a cloud server And the image forming apparatus divides the scan image into a plurality of regions to generate a plurality of divided data, and a transmission unit transmits the plurality of divided data to the external terminal. The external terminal has a first process execution means for executing the first related process with respect to the divided data for which the first related process related to the generation of the electronic document has not yet been completed, The second related process related to the divided data for which the second related process related to the generation of the electronic document has not been completed is executed by the cloud server and the processing result Is transmitted to the cloud server, a processing result of the first related processing relating to the plurality of divided data, and the first relating to the plurality of divided data. A document generation unit configured to generate the electronic document based on a processing result of the second related process, wherein the image forming apparatus performs communication between the image forming apparatus and the external terminal. Is interrupted before the transmission of the plurality of divided data is completed, among the plurality of divided data, the divided data that has not yet been transmitted to the external terminal, and the first processing execution means performs the first A second process executing means for executing the first related process on behalf of the external terminal for the divided data for which the related process has not yet been completed, and the transmission of the image forming apparatus; The stage may perform the second communication that is the communication between the image forming apparatus and the cloud server while the first communication is interrupted, and when the second communication is possible, The cloud server sends the processing request command for the divided data that has not yet been transmitted to the external terminal and for which the second related processing by the cloud server has not yet been completed, on behalf of the external terminal. To the external terminal after resuming the first communication, and the cloud server is configured to transmit the processing result related to the divided data for which the first related processing has been executed by the second processing execution unit. When the third communication, which is the communication between the cloud server and the external terminal, is resumed along with the resumption of the first communication, the processing request from the transmission unit of the image forming apparatus is resumed. A processing result related to the divided data on which the second related processing is executed based on the request command is transmitted to the external terminal, and the document generation unit of the external terminal is configured to execute the first related processing executed on the external terminal. The first processing result that is the processing result of the processing, the second processing result that is the processing result of the first related processing executed in the image forming apparatus, and the cloud server requested by the external terminal. Based on the third processing result that is the processing result of the second related processing and the fourth processing result that is the processing result of the second related processing requested to the cloud server by the image forming apparatus. The electronic document is generated.

請求項13の発明は、請求項12の発明に係る電子文書生成システムにおいて、前記第2の関連処理は、前記クラウドサーバにおいて実行される光学文字認識処理を含み、前記クラウドサーバは、前記外部端末から依頼された前記光学文字認識処理の処理結果である第1のテキストデータを前記第3の処理結果として生成し、前記画像形成装置から依頼された前記光学文字認識処理の処理結果である第2のテキストデータを前記第4の処理結果として生成することを特徴とする。 According to a thirteenth aspect of the present invention, in the electronic document generation system according to the twelfth aspect of the present invention, the second related process includes an optical character recognition process executed in the cloud server, and the cloud server is connected to the external terminal. The first text data, which is the processing result of the optical character recognition process requested from, is generated as the third processing result, and the second result is the processing result of the optical character recognition process requested from the image forming apparatus. This text data is generated as the fourth processing result.

請求項14の発明は、請求項13の発明に係る電子文書生成システムにおいて、前記第1の関連処理は、前記スキャン画像内の互いに異なる種別の領域を互いに異なる圧縮率で圧縮する圧縮処理を含み、前記外部端末の前記第1の処理実行手段は、前記圧縮処理が施された分割データである第1の処理済分割データを前記第1の処理結果として生成し、前記画像形成装置の前記第2の処理実行手段は、前記圧縮処理が施された分割データである第2の処理済分割データを前記第2の処理結果として生成し、前記外部端末の前記文書生成手段は、前記第1のテキストデータと、前記第2のテキストデータと、前記第1の処理結果として生成された前記第1の処理済分割データと、前記第2の処理結果として生成された前記第2の処理済分割データとに基づいて、電子文書を生成することを特徴とする。 According to a fourteenth aspect of the present invention, in the electronic document generation system according to the thirteenth aspect of the invention, the first related processing includes compression processing for compressing different types of regions in the scanned image at different compression rates. The first processing execution unit of the external terminal generates first processed divided data that is the divided data subjected to the compression processing as the first processing result, and the first processing execution unit of the image forming apparatus performs the first processing. The second processing execution unit generates second processed divided data, which is the divided data subjected to the compression processing, as the second processing result, and the document generation unit of the external terminal includes the first processing unit. Text data, the second text data, the first processed divided data generated as the first processing result, and the second processed divided data generated as the second processing result Based on the bets, and generates an electronic document.

請求項15の発明は、クラウドサーバと連携して電子文書を生成する外部端末と通信可能な画像形成装置であって、原稿のスキャン画像を複数の領域に分割して複数の分割データを生成する分割データ生成手段と、前記複数の分割データを前記外部端末に送信し、前記電子文書の生成に関連する第1の関連処理が未だ完了していない分割データに関する前記第1の関連処理を前記外部端末に実行させるとともに、前記電子文書の生成に関連する第2の関連処理が未だ完了していない分割データに関する前記第2の関連処理を前記クラウドサーバによって実行し且つその処理結果を前記外部端末へ送信すべき旨の処理依頼指令を、前記外部端末から前記クラウドサーバに送信させる送信手段と、前記画像形成装置と前記外部端末との通信である第1の通信が前記複数の分割データの送信完了前に中断すると、前記複数の分割データのうち前記外部端末への送信が未だ完了していない分割データに関して、前記第1の関連処理を前記外部端末に代わって実行する処理実行手段と、を備え、前記送信手段は、前記第1の通信が中断されている一方で前記画像形成装置と前記クラウドサーバとの通信である第2の通信が可能である場合に、前記複数の分割データのうち前記外部端末への送信が未だ完了していない分割データであって前記電子文書の生成に関連する第2の関連処理が未だ完了していない分割データに関する前記第2の関連処理を前記クラウドサーバによって実行し且つその処理結果を前記外部端末へ送信すべき旨の処理依頼指令を、前記外部端末に代わって前記クラウドサーバに送信し、前記処理実行手段により前記第1の関連処理が実行された分割データに関する処理結果を前記第1の通信の再開後に前記外部端末に送信することを特徴とする。 The invention of claim 15 is an image forming apparatus capable of communicating with an external terminal that generates an electronic document in cooperation with a cloud server, and generates a plurality of divided data by dividing a scanned image of a document into a plurality of regions. The divided data generating means transmits the plurality of divided data to the external terminal, and performs the first related processing relating to the divided data for which the first related processing related to generation of the electronic document has not been completed yet. The second related process relating to the divided data for which the second related process related to the generation of the electronic document has not been completed is executed by the cloud server and the processing result is transmitted to the external terminal. a processing request instruction to transmit, and transmission means for transmitting from the external terminal to the cloud server is the communication with the external terminal and the image forming apparatus When the communication of 1 is interrupted before the transmission of the plurality of divided data is completed, the first related processing is performed on the divided data that has not yet been transmitted to the external terminal among the plurality of divided data. A processing execution unit that executes the processing in place of the first communication, and the transmission unit is capable of performing a second communication that is a communication between the image forming apparatus and the cloud server while the first communication is interrupted. In some cases, the divided data that has not yet been transmitted to the external terminal among the plurality of divided data and the second related processing related to generation of the electronic document has not yet been completed. A processing request command for executing the second related processing by the cloud server and transmitting the processing result to the external terminal is sent to the cloud server on behalf of the external terminal. Transmitted to, and transmits to the external terminal processing results for dividing data to which the first associated process is executed after the resumption of the first communication by the process execution means.

請求項16の発明は、画像形成装置およびクラウドサーバと連携して電子文書を生成する外部端末に内蔵されたコンピュータに、a)原稿のスキャン画像が複数の領域に分割されて生成された複数の分割データを前記画像形成装置から受信するステップと、b)前記ステップa)において前記画像形成装置から受信した分割データであって前記電子文書の生成に関連する第1の関連処理が未だ完了していない分割データに関して、前記第1の関連処理を実行するステップと、c)前記ステップa)において前記画像形成装置から受信した分割データであって前記電子文書の生成に関連する第2の関連処理が未だ完了していない分割データに関する前記第2の関連処理を前記クラウドサーバによって実行し且つその処理結果を前記外部端末へ送信すべき旨の処理依頼指令を、前記クラウドサーバに送信するステップと、d)前記ステップc)において前記外部端末によって前記クラウドサーバに依頼された前記第2の関連処理の処理結果を前記クラウドサーバから受信するステップと、e)前記ステップa)における前記複数の分割データの受信が完了する前に前記画像形成装置と前記外部端末との通信である第1の通信が中断する場合において前記外部端末に代わって前記画像形成装置により前記第1の関連処理が実行された分割データに関する処理結果を、前記第1の通信の再開後に前記画像形成装置から受信するステップと、f)前記第1の通信の再開に伴って前記クラウドサーバと前記外部端末との通信である第2の通信が再開されると、前記第1の通信が中断する場合において前記外部端末に代わって前記画像形成装置から前記クラウドサーバに送信された前記処理依頼指令に基づき前記クラウドサーバにおいて前記第2の関連処理が実行された分割データに関する処理結果を、前記クラウドサーバから受信するステップと、g)前記外部端末により前記ステップb)にて実行された前記第1の関連処理の処理結果である第1の処理結果と、前記画像形成装置にて実行された前記第1の関連処理の処理結果であって前記ステップe)にて受信された処理結果である第2の処理結果と、前記外部端末から前記クラウドサーバに依頼された前記第2の関連処理の処理結果であって前記ステップd)にて受信された処理結果である第3の処理結果と、前記画像形成装置から前記クラウドサーバに依頼された前記第2の関連処理の処理結果であって前記ステップf)にて受信された処理結果である第4の処理結果とに基づいて、前記電子文書を生成するステップと、を実行させるためのプログラムであることを特徴とする。 According to a sixteenth aspect of the present invention, there is provided a computer incorporated in an external terminal that generates an electronic document in cooperation with an image forming apparatus and a cloud server, and a) a plurality of scan images generated by dividing a scanned image into a plurality of areas. A step of receiving divided data from the image forming apparatus; and b) a first related process related to generation of the electronic document, which is the divided data received from the image forming apparatus in step a). A step of executing the first related processing with respect to non-divided data; and c) a second related processing related to generation of the electronic document that is the divided data received from the image forming apparatus in step a). The cloud server executes the second related processing relating to the divided data that has not yet been completed, and sends the processing result to the external terminal. A step of transmitting a processing request command to the effect to the cloud server; and d) a processing result of the second related processing requested from the cloud server by the external terminal in the step c) from the cloud server. And e) when the first communication which is communication between the image forming apparatus and the external terminal is interrupted before reception of the plurality of divided data in the step a) is completed. Instead of receiving a processing result relating to the divided data for which the first related processing has been executed by the image forming apparatus from the image forming apparatus after resuming the first communication; f) in the first communication When the second communication that is the communication between the cloud server and the external terminal is resumed along with the resumption, the first communication is interrupted. In response to the processing request command transmitted from the image forming apparatus to the cloud server on behalf of the external terminal, a processing result relating to the divided data obtained by executing the second related processing in the cloud server is transmitted from the cloud server. A receiving step; g) a first processing result that is a processing result of the first related processing executed in the step b) by the external terminal; and the first processing executed in the image forming apparatus. The second processing result that is the processing result of the related processing and the processing result received in step e), and the processing result of the second related processing requested from the external terminal to the cloud server The third processing result that is the processing result received in step d) and the second relation requested from the image forming apparatus to the cloud server. A step of generating the electronic document based on a fourth processing result that is a processing result of the processing and received in step f). And

請求項1ないし請求項16に記載の発明によれば、画像形成装置と外部端末との通信が中断すると、画像形成装置は、複数の分割データのうち外部端末への送信が未だ完了していない分割データに関して関連処理を外部端末に代わって実行する。そして、画像形成装置において関連処理が実行された分割データに関する処理結果が当該通信の再開後に外部端末へと送信され、画像形成装置における関連処理の処理結果と、外部端末における関連処理の処理結果とに基づいて、電子文書が生成される。したがって、画像形成装置と外部端末との通信が中断した場合であっても、外部端末に代わって画像形成装置が関連処理を実行するので、電子文書の生成処理の遅延を抑制することが可能である。 According to the first to sixteenth aspects, when the communication between the image forming apparatus and the external terminal is interrupted, the image forming apparatus has not yet completed transmission of the plurality of divided data to the external terminal. The related processing is executed on the divided data on behalf of the external terminal. Then, the processing result related to the divided data for which the related processing is executed in the image forming apparatus is transmitted to the external terminal after the communication is resumed, the processing result of the related processing in the image forming apparatus, and the processing result of the related processing in the external terminal Based on the above, an electronic document is generated. Therefore, even when communication between the image forming apparatus and the external terminal is interrupted, the image forming apparatus executes the related process on behalf of the external terminal, so that it is possible to suppress the delay of the electronic document generation process. is there.

電子文書生成システム(画像形成システム)を示す図である。1 is a diagram illustrating an electronic document generation system (image forming system). 画像形成装置(MFP)の機能ブロックを示す図である。FIG. 2 is a diagram illustrating functional blocks of an image forming apparatus (MFP). 外部端末の概略構成を示す機能ブロック図である。It is a functional block diagram which shows schematic structure of an external terminal. MFPの動作を示すフローチャートである。3 is a flowchart showing the operation of the MFP. 代行処理を示すフローチャートである。It is a flowchart which shows proxy processing. 外部端末の動作を示すフローチャートである。It is a flowchart which shows operation | movement of an external terminal. スキャン画像を示す図である。It is a figure which shows a scanned image. 分割データを示す図である。It is a figure which shows division | segmentation data. 電子文書生成システムにおける動作の概略を示す図である。It is a figure which shows the outline of operation | movement in an electronic document production | generation system. 第2実施形態に係る外部端末の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the external terminal which concerns on 2nd Embodiment. 第2実施形態に係る電子文書生成システムにおける動作の概略を示す図である。It is a figure which shows the outline of operation | movement in the electronic document production | generation system which concerns on 2nd Embodiment. 第4実施形態に係る電子文書生成システムを示す図である。It is a figure which shows the electronic document production | generation system which concerns on 4th Embodiment. 第4実施形態に係る電子文書生成システムにおける動作等を示す概念図である。It is a conceptual diagram which shows the operation | movement etc. in the electronic document production | generation system which concerns on 4th Embodiment. 第4実施形態に係る電子文書生成システムにおける動作等を示す概念図である。It is a conceptual diagram which shows the operation | movement etc. in the electronic document production | generation system which concerns on 4th Embodiment. 第4実施形態に係る外部端末の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the external terminal which concerns on 4th Embodiment. 第4実施形態に係る代行処理を示すフローチャートである。It is a flowchart which shows the agency process which concerns on 4th Embodiment. 第4実施形態に係る電子文書生成システムにおける動作の概略を示す図である。It is a figure which shows the outline of operation | movement in the electronic document production | generation system which concerns on 4th Embodiment. 第4実施形態に係る電子文書生成システムにおける動作の概略を示す図である。It is a figure which shows the outline of operation | movement in the electronic document production | generation system which concerns on 4th Embodiment. 第5実施形態に係る電子文書生成システムにおける動作等を示す概念図である。It is a conceptual diagram which shows operation | movement etc. in the electronic document production | generation system which concerns on 5th Embodiment. 第5実施形態に係る電子文書生成システムにおける動作等を示す概念図である。It is a conceptual diagram which shows operation | movement etc. in the electronic document production | generation system which concerns on 5th Embodiment. 第5実施形態に係る外部端末の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the external terminal which concerns on 5th Embodiment. 第5実施形態に係る代行処理を示すフローチャートである。It is a flowchart which shows the agency process which concerns on 5th Embodiment. 変形例に係る画像形成装置(MFP)の機能ブロックを示す図である。It is a figure which shows the functional block of the image forming apparatus (MFP) which concerns on a modification. 優先テーブルを示す図である。It is a figure which shows a priority table. MFPの操作画面を示す図である。6 is a diagram showing an operation screen of the MFP. FIG.

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

<1.第1実施形態>
<1−1.構成概要>
図1は、本発明に係る画像形成システム1を示す図である。図1に示すように、画像形成システム1は、画像形成装置10と外部端末50とを備える。
<1. First Embodiment>
<1-1. Outline of configuration>
FIG. 1 is a diagram showing an image forming system 1 according to the present invention. As shown in FIG. 1, the image forming system 1 includes an image forming apparatus 10 and an external terminal 50.

画像形成装置10と外部端末50とは、ネットワーク(通信ネットワーク)108を介して互いに接続される。ネットワーク108は、LAN(Local Area Network)およびインターネットなどによって構成される。また、ネットワーク108に対する接続態様は、有線接続であってもよく、或いは無線接続であってもよい。たとえば、画像形成装置10はネットワーク108に対して有線接続され、外部端末50はネットワーク108に対して無線接続される。   The image forming apparatus 10 and the external terminal 50 are connected to each other via a network (communication network) 108. The network 108 is configured by a LAN (Local Area Network), the Internet, and the like. Further, the connection mode to the network 108 may be wired connection or wireless connection. For example, the image forming apparatus 10 is wired to the network 108, and the external terminal 50 is wirelessly connected to the network 108.

後述するように、この画像形成システム1においては、原稿のスキャン画像が画像形成装置10によって生成され、当該スキャン画像に関する画像データ(分割データ)が画像形成装置10から外部端末50へと送信される。そして、外部端末50は、関連処理(電子文書の生成に関連する処理)を実行して当該スキャン画像に基づく電子文書を生成する。   As will be described later, in the image forming system 1, a scanned image of a document is generated by the image forming apparatus 10, and image data (divided data) relating to the scanned image is transmitted from the image forming apparatus 10 to the external terminal 50. . Then, the external terminal 50 executes related processing (processing related to generation of an electronic document) to generate an electronic document based on the scanned image.

また、この画像形成システム1においては、分割データの送信完了前に画像形成装置10と外部端末50との通信が中断(切断)すると、外部端末50に代わって画像形成装置10が当該関連処理を実行する。そして、画像形成装置10において関連処理が実行された分割データに関する処理結果が当該通信の再開後に画像形成装置10から外部端末50へと送信され、外部端末50において当該処理結果に基づいて電子文書が生成される。   In the image forming system 1, if communication between the image forming apparatus 10 and the external terminal 50 is interrupted (disconnected) before the transmission of the divided data is completed, the image forming apparatus 10 performs the related processing instead of the external terminal 50. Run. Then, the processing result regarding the divided data for which the related processing is executed in the image forming apparatus 10 is transmitted from the image forming apparatus 10 to the external terminal 50 after the communication is resumed, and the electronic document is generated based on the processing result in the external terminal 50. Generated.

なお、画像形成システム1は、電子文書を生成するシステムでもあることから、電子文書生成システムなどとも表現される。同様に、外部端末50は電子文書生成装置であるとも表現される。   Note that the image forming system 1 is also a system that generates an electronic document, and thus is also expressed as an electronic document generation system. Similarly, the external terminal 50 is also expressed as an electronic document generation device.

<1−2.画像形成装置の構成>
図2は、画像形成装置10の機能ブロックを示す図である。ここでは、画像形成装置10として、MFP(マルチ・ファンクション・ペリフェラル(Multi-Functional Peripheral))を例示する。図2においては、MFP10の機能ブロックが示されている。
<1-2. Configuration of image forming apparatus>
FIG. 2 is a diagram illustrating functional blocks of the image forming apparatus 10. Here, an MFP (Multi-Functional Peripheral) is exemplified as the image forming apparatus 10. In FIG. 2, functional blocks of the MFP 10 are shown.

MFP10は、スキャン機能、コピー機能、ファクシミリ機能およびボックス格納機能などを備える装置(複合機とも称する)である。具体的には、MFP10は、図2の機能ブロック図に示すように、画像読取部2、印刷出力部3、通信部4、格納部5、操作部6およびコントローラ9等を備えており、これらの各部を複合的に動作させることによって、各種の機能を実現する。   The MFP 10 is a device (also referred to as a multi-function device) having a scan function, a copy function, a facsimile function, a box storage function, and the like. Specifically, as shown in the functional block diagram of FIG. 2, the MFP 10 includes an image reading unit 2, a print output unit 3, a communication unit 4, a storage unit 5, an operation unit 6, a controller 9, and the like. Various functions are realized by operating each part of the above in a complex manner.

画像読取部2は、MFP10の所定の位置に載置された原稿を光学的に読み取って(すなわちスキャンして)、当該原稿の画像データ(原稿画像ないしスキャン画像とも称する)を生成する処理部である。この画像読取部2は、スキャン部であるとも称される。   The image reading unit 2 is a processing unit that optically reads (that is, scans) a document placed at a predetermined position of the MFP 10 and generates image data of the document (also referred to as a document image or a scanned image). is there. The image reading unit 2 is also referred to as a scanning unit.

印刷出力部3は、印刷対象に関するデータに基づいて紙などの各種の媒体に画像を印刷出力する出力部である。   The print output unit 3 is an output unit that prints out an image on various media such as paper based on data related to a print target.

通信部4は、公衆回線等を介したファクシミリ通信を行うことが可能な処理部である。さらに、通信部4は、ネットワーク108を介したネットワーク通信を行うことも可能である。このネットワーク通信では、たとえば、TCP/IP(Transmission Control Protocol / Internet Protocol)等の各種のプロトコルが利用される。当該ネットワーク通信を利用することによって、MFP10は、所望の相手先(たとえば、外部端末50)と連携して各種のデータを授受することが可能である。通信部4は、各種データを送信する送信部4aと各種データを受信する受信部4bとを有する。たとえば、送信部4aは、関連処理が未だ実行されていない分割データを外部端末50に送信し、当該未処理分割データに関する関連処理を外部端末50に実行させる。また、送信部4aは、関連処理の処理結果を外部端末50に送信する。   The communication unit 4 is a processing unit capable of performing facsimile communication via a public line or the like. Further, the communication unit 4 can perform network communication via the network 108. In this network communication, for example, various protocols such as TCP / IP (Transmission Control Protocol / Internet Protocol) are used. By using the network communication, the MFP 10 can exchange various data in cooperation with a desired partner (for example, the external terminal 50). The communication unit 4 includes a transmission unit 4a that transmits various data and a reception unit 4b that receives various data. For example, the transmission unit 4a transmits the divided data for which the related process has not been executed yet to the external terminal 50, and causes the external terminal 50 to execute the related process related to the unprocessed divided data. In addition, the transmission unit 4 a transmits the processing result of the related processing to the external terminal 50.

格納部5は、ハードディスクドライブ(HDD)等の記憶装置で構成される。たとえば、関連処理の処理結果が格納部5に一時的に格納される。   The storage unit 5 includes a storage device such as a hard disk drive (HDD). For example, the processing result of the related process is temporarily stored in the storage unit 5.

操作部6は、MFP10に対する操作入力を受け付ける操作入力部6aと、各種情報の表示出力を行う表示部6bとを備えている。   The operation unit 6 includes an operation input unit 6a that receives an operation input to the MFP 10 and a display unit 6b that displays and outputs various types of information.

このMFP10においては、略板状の操作パネル部6c(図1参照)が設けられている。また、操作パネル部6cは、その正面側にタッチパネル25(図1参照)を有している。タッチパネル25は、操作入力部6aの一部としても機能するとともに、表示部6bの一部としても機能する。タッチパネル25は、液晶表示パネルに圧電センサ等が埋め込まれて構成され、各種情報を表示するとともに操作者からの各種の操作入力を受け付けることが可能である。   The MFP 10 is provided with a substantially plate-like operation panel unit 6c (see FIG. 1). Further, the operation panel unit 6c has a touch panel 25 (see FIG. 1) on the front side thereof. The touch panel 25 functions as a part of the operation input unit 6a and also functions as a part of the display unit 6b. The touch panel 25 is configured by embedding a piezoelectric sensor or the like in a liquid crystal display panel, and can display various kinds of information and accept various kinds of operation inputs from an operator.

たとえば、タッチパネル25においては、各種の操作画面(メニュー画面等)(ボタン画像等を含む)が表示される。操作者は、タッチパネル25の操作画面内に仮想的に配置されるボタンを押下することによって、MFP10の各種動作内容を設定するとともに動作指示を付与することができる。   For example, on the touch panel 25, various operation screens (menu screens and the like) (including button images and the like) are displayed. The operator can set various operation contents of the MFP 10 and give operation instructions by pressing a button virtually arranged in the operation screen of the touch panel 25.

コントローラ9は、MFP10に内蔵され、MFP10を統括的に制御する制御装置である。コントローラ9は、CPUおよび各種の半導体メモリ(RAMおよびROM)等を備えるコンピュータシステムとして構成される。コントローラ9は、CPUにおいて、ROM(例えば、EEPROM)内に格納されている所定のソフトウエアプログラム(以下、単にプログラムとも称する)P1を実行することによって、各種の処理部を実現する。なお、当該プログラム(詳細にはプログラムモジュール群)P1は、USBメモリなどの可搬性の記録媒体、あるいはネットワーク108等を介してMFP10にインストールされてもよい。   The controller 9 is a control device that is built in the MFP 10 and controls the MFP 10 in an integrated manner. The controller 9 is configured as a computer system including a CPU and various semiconductor memories (RAM and ROM). The controller 9 implements various processing units by executing a predetermined software program (hereinafter also simply referred to as a program) P1 stored in a ROM (for example, EEPROM) in the CPU. The program (specifically, a program module group) P1 may be installed in the MFP 10 via a portable recording medium such as a USB memory or the network 108.

具体的には、図2に示すように、コントローラ9は、プログラムP1の実行により、通信制御部11と入力制御部12と表示制御部13と分割データ生成部14と処理実行部15とを含む各種の処理部を実現する。   Specifically, as illustrated in FIG. 2, the controller 9 includes a communication control unit 11, an input control unit 12, a display control unit 13, a divided data generation unit 14, and a process execution unit 15 by executing the program P <b> 1. Implement various processing units.

通信制御部11は、他の装置(外部端末50等)との間の通信動作を通信部4等と協働して制御する処理部である。たとえば、通信制御部11は、画像データ等を外部端末50に送信する。   The communication control unit 11 is a processing unit that controls communication operations with other devices (such as the external terminal 50) in cooperation with the communication unit 4 and the like. For example, the communication control unit 11 transmits image data or the like to the external terminal 50.

入力制御部12は、操作入力部6a(タッチパネル25等)に対する操作入力動作を制御する制御部である。たとえば、入力制御部12は、タッチパネル25に表示された操作画面に対する操作入力を受け付ける動作を制御する。   The input control unit 12 is a control unit that controls an operation input operation to the operation input unit 6a (the touch panel 25 or the like). For example, the input control unit 12 controls an operation for receiving an operation input on the operation screen displayed on the touch panel 25.

表示制御部13は、表示部6b(タッチパネル25等)における表示動作を制御する処理部である。表示制御部13は、たとえば、MFP10を操作するための操作画面をタッチパネル25に表示させる。   The display control unit 13 is a processing unit that controls a display operation in the display unit 6b (the touch panel 25 or the like). The display control unit 13 displays an operation screen for operating the MFP 10 on the touch panel 25, for example.

分割データ生成部14は、原稿のスキャン画像を複数の領域に分割して複数の分割データ(分割画像データ)を生成する動作等を制御する。   The divided data generation unit 14 controls an operation for generating a plurality of divided data (divided image data) by dividing a scanned image of a document into a plurality of regions.

処理実行部15は、MFP10と外部端末50との通信が分割データの送信完了前に中断した場合に、外部端末50への送信が未だ完了していない分割データに関して関連処理(電子文書の生成に関連する処理)を実行する動作等を制御する。   When the communication between the MFP 10 and the external terminal 50 is interrupted before transmission of the divided data is completed, the process execution unit 15 performs related processing (for generating an electronic document) on the divided data that has not been transmitted to the external terminal 50 yet. It controls the operation to execute the related processing.

<1−3.外部端末の構成>
次に外部端末50の構成について説明する。
<1-3. Configuration of external terminal>
Next, the configuration of the external terminal 50 will be described.

外部端末50は、MFP10との間でのネットワーク通信が可能な情報入出力端末装置(情報端末あるいは通信端末とも称される)である。ここでは、外部端末50として、タブレット型端末を例示する。ただし、これに限定されず、外部端末50は、スマートフォンあるいはパーソナルコンピュータなどであってもよい。また、外部端末は、携帯式の装置(携帯情報端末等)(携帯端末)であってもよく、あるいは、据置型の装置であってもよい。   The external terminal 50 is an information input / output terminal device (also referred to as an information terminal or a communication terminal) capable of network communication with the MFP 10. Here, a tablet type terminal is illustrated as the external terminal 50. However, the present invention is not limited to this, and the external terminal 50 may be a smartphone or a personal computer. The external terminal may be a portable device (such as a portable information terminal) (a portable terminal), or may be a stationary device.

図3は外部端末50の概略構成を示す機能ブロック図である。   FIG. 3 is a functional block diagram showing a schematic configuration of the external terminal 50.

外部端末50は、図3の機能ブロック図に示すように、通信部54、格納部55、操作部56およびコントローラ59等を備えており、これらの各部を複合的に動作させることによって、各種の機能を実現する。   As shown in the functional block diagram of FIG. 3, the external terminal 50 includes a communication unit 54, a storage unit 55, an operation unit 56, a controller 59, and the like. Realize the function.

通信部54は、ネットワーク108を介したネットワーク通信を行うことが可能である。このネットワーク通信では、たとえば、TCP/IP(Transmission Control Protocol / Internet Protocol)等の各種のプロトコルが利用される。当該ネットワーク通信を利用することによって、外部端末50は、所望の相手先(MFP10等)と連携して各種のデータを授受することが可能である。通信部54は、各種データを送信する送信部54aと各種データを受信する受信部54bとを有する。たとえば、受信部54bは、スキャン画像に関する画像データ(分割データ等)をMFP10から受信する。また、受信部54bは、MFP10において関連処理が実行された分割データに関する処理結果をもMFP10から受信する。   The communication unit 54 can perform network communication via the network 108. In this network communication, for example, various protocols such as TCP / IP (Transmission Control Protocol / Internet Protocol) are used. By using the network communication, the external terminal 50 can exchange various data in cooperation with a desired partner (MFP 10 or the like). The communication unit 54 includes a transmission unit 54a that transmits various data and a reception unit 54b that receives various data. For example, the receiving unit 54b receives image data (such as divided data) related to the scanned image from the MFP 10. In addition, the receiving unit 54b also receives, from the MFP 10, a processing result related to the divided data for which the related processing has been executed in the MFP 10.

格納部55は、不揮発性の半導体メモリ等の記憶装置で構成され、各種の情報を格納する。たとえば、格納部55には、外部端末50において関連処理が実行された分割データに関する処理結果が一時的に格納される。また、格納部55には、MFP10において関連処理が実行された分割データに関する処理結果も一時的に格納される。   The storage unit 55 includes a storage device such as a nonvolatile semiconductor memory, and stores various types of information. For example, the storage unit 55 temporarily stores the processing result regarding the divided data for which the related processing is executed in the external terminal 50. The storage unit 55 also temporarily stores a processing result related to the divided data for which the related processing is executed in the MFP 10.

操作部56は、外部端末50に対する操作入力を受け付ける操作入力部56aと、各種情報の表示出力を行う表示部56bとを備えている。この外部端末50においては、液晶表示パネルに各種センサ等が埋め込まれて構成されたタッチパネル75(図1参照)が設けられている。具体的には、図1に示すように、略板状の外部端末50の正面側において、その周縁部(枠部)を除くほぼ全面にわたってタッチパネル75が設けられている。このタッチパネル75は、ユーザインターフェイス部として機能する。換言すれば、タッチパネル75は、操作入力部56aの一部としても機能するとともに、表示部56bの一部としても機能する。   The operation unit 56 includes an operation input unit 56a that receives an operation input to the external terminal 50, and a display unit 56b that displays and outputs various types of information. In the external terminal 50, a touch panel 75 (see FIG. 1) configured by embedding various sensors or the like in a liquid crystal display panel is provided. Specifically, as shown in FIG. 1, a touch panel 75 is provided on almost the entire surface excluding the peripheral edge portion (frame portion) on the front side of the substantially plate-like external terminal 50. The touch panel 75 functions as a user interface unit. In other words, the touch panel 75 functions as a part of the operation input unit 56a and also functions as a part of the display unit 56b.

コントローラ59は、外部端末50に内蔵され、外部端末50を統括的に制御する制御装置である。コントローラ59は、CPUおよび各種の半導体メモリ(RAMおよびROM)等を備えるコンピュータシステムとして構成される。コントローラ59は、CPUにおいて、記憶部(半導体メモリ等)内に格納されている所定のソフトウエアプログラム(以下、単にプログラムとも称する)P2を実行することによって、各種の処理部を実現する。なお、当該プログラム(詳細にはプログラムモジュール群)P2は、USBメモリなどの可搬性の記録媒体、あるいはネットワーク108等を介して外部端末50にインストールされるようにしてもよい。   The controller 59 is a control device that is built in the external terminal 50 and controls the external terminal 50 in an integrated manner. The controller 59 is configured as a computer system including a CPU and various semiconductor memories (RAM and ROM). The controller 59 implements various processing units by executing a predetermined software program (hereinafter also simply referred to as a program) P2 stored in a storage unit (semiconductor memory or the like) in the CPU. The program (specifically, a program module group) P2 may be installed in the external terminal 50 via a portable recording medium such as a USB memory, the network 108, or the like.

具体的には、コントローラ59は、プログラムP2等の実行により、通信制御部61と入力制御部62と表示制御部63と処理実行部64と文書生成部65とを含む各種の処理部を実現する。   Specifically, the controller 59 realizes various processing units including a communication control unit 61, an input control unit 62, a display control unit 63, a processing execution unit 64, and a document generation unit 65 by executing the program P2 and the like. .

通信制御部61は、通信部54等と協働して、MFP10等との通信動作を制御する処理部である。   The communication control unit 61 is a processing unit that controls a communication operation with the MFP 10 or the like in cooperation with the communication unit 54 or the like.

入力制御部62は、操作入力部56a(タッチパネル75等)に対する操作入力動作を制御する制御部である。たとえば、入力制御部62は、タッチパネル75に表示された操作画面に対するタッチ操作入力を受け付ける動作を制御する。   The input control unit 62 is a control unit that controls an operation input operation to the operation input unit 56a (the touch panel 75 or the like). For example, the input control unit 62 controls an operation of accepting a touch operation input on the operation screen displayed on the touch panel 75.

表示制御部63は、表示部56b(タッチパネル75等)における表示動作を制御する処理部である。表示制御部63は、たとえば、MFP10との連携処理を行うための操作画面をタッチパネル75に表示する。   The display control unit 63 is a processing unit that controls a display operation in the display unit 56b (touch panel 75 or the like). The display control unit 63 displays, for example, an operation screen for performing cooperation processing with the MFP 10 on the touch panel 75.

処理実行部64は、MFP10から受信した分割データであって関連処理(電子文書の生成に関連する処理)が未だ実行されていない分割データに関して関連処理を分割データ毎に実行する処理部である。   The processing execution unit 64 is a processing unit that executes related processing for each piece of divided data regarding the divided data that has been received from the MFP 10 and for which related processing (processing related to generation of an electronic document) has not yet been executed.

文書生成部65は、全ての分割データに関する関連処理の処理結果に基づいて電子文書を生成する処理部である。   The document generation unit 65 is a processing unit that generates an electronic document based on the processing results of the related processing regarding all the divided data.

<1−4.動作>
ここでは、画像形成システム1に係るMFP10および外部端末50の動作を、MFP10と外部端末との間の通信の中断を伴わない場合の動作(すなわち通常動作(正常動作))と、当該通信の中断を伴う場合の動作とに分けて説明する。
<1-4. Operation>
Here, the operations of the MFP 10 and the external terminal 50 according to the image forming system 1 are the operation when the communication between the MFP 10 and the external terminal is not interrupted (that is, the normal operation (normal operation)), and the communication is interrupted. The operation will be described separately.

なお、第1実施形態では、「高圧縮PDFファイル」が電子文書として生成される態様を例示する。「高圧縮PDFファイル」は、通常のPDFファイルよりも高い圧縮率で圧縮され比較的コンパクトなサイズ(比較的小さなサイズ)を有するPDF(Portable Document Format)形式(「コンパクトPDF形式」とも称する)のファイルであり、「コンパクトPDFファイル」とも称される。   The first embodiment exemplifies a mode in which a “highly compressed PDF file” is generated as an electronic document. A “highly compressed PDF file” is a PDF (Portable Document Format) format (also referred to as “compact PDF format”) that is compressed at a higher compression rate than a normal PDF file and has a relatively compact size (relatively small size). File, also referred to as a “compact PDF file”.

<通常動作>
画像形成システム1においては、原稿のスキャン画像が画像形成装置10によって生成され、当該スキャン画像に関する画像データが画像形成装置10から外部端末50へと送信される。詳細には、複数の分割データ(スキャン画像を複数の領域に分割(区分)して生成された分割画像データ)がそれぞれMFP10から外部端末50に送信される。そして、外部端末50は、各分割データに対して関連処理(電子文書の生成に関連する処理)を実行し、その処理結果に基づき電子文書を生成する。なお、外部端末50は、MFP10のCPU処理能力よりも優れたCPU処理能力を有していることが好ましい。これによれば、MFP10よりもCPU処理能力が比較的優れている外部端末50において関連処理を高速に実行することができるので、当該関連処理を比較的早期に終了することが可能である。
<Normal operation>
In the image forming system 1, a scanned image of a document is generated by the image forming apparatus 10, and image data related to the scanned image is transmitted from the image forming apparatus 10 to the external terminal 50. Specifically, a plurality of pieces of divided data (divided image data generated by dividing (segmenting) a scanned image into a plurality of regions) are transmitted from the MFP 10 to the external terminal 50, respectively. Then, the external terminal 50 executes related processing (processing related to generation of an electronic document) for each divided data, and generates an electronic document based on the processing result. Note that the external terminal 50 preferably has a CPU processing capability superior to that of the MFP 10. According to this, since the related process can be executed at high speed in the external terminal 50 having a relatively superior CPU processing capability than the MFP 10, it is possible to end the related process relatively early.

図4は、MFP10の動作を示すフローチャートであり、図6は、外部端末50の動作を示すフローチャートである。また、図7は、スキャン画像201を示す図であり、図8は、分割データ251〜254(後述)を示す図である。   FIG. 4 is a flowchart showing the operation of the MFP 10, and FIG. 6 is a flowchart showing the operation of the external terminal 50. FIG. 7 is a diagram showing a scanned image 201, and FIG. 8 is a diagram showing divided data 251 to 254 (described later).

まず、MFP10の動作について図4を参照しながら説明する。   First, the operation of the MFP 10 will be described with reference to FIG.

ステップS11(図4)において、MFP10は、スキャン動作を開始し、MFP10の原稿台(たとえば、自動給紙装置(ADF:Auto Document Feeder)あるいは原稿載置用ガラス面等)に載置された原稿のスキャン画像201(図7参照)を生成する。   In step S11 (FIG. 4), the MFP 10 starts a scanning operation, and the document placed on the document table of the MFP 10 (for example, an automatic document feeder (ADF) or a document placement glass surface). The scanned image 201 (see FIG. 7) is generated.

詳細には、ユーザは、スキャン対象の原稿をMFP10の原稿台(ADF等)に載置し、外部端末50の操作画面(不図示)において電子文書501の生成指示を外部端末50に付与する。外部端末50は、当該生成指示を受け付けると、当該生成指示に基づくスキャン画像生成指示をMFP10に転送する。そして、MFP10は、当該スキャン画像生成指示を外部端末50から受信すると、スキャン動作を開始する(ステップS11)。   Specifically, the user places a document to be scanned on a document table (ADF or the like) of the MFP 10 and gives an instruction to generate the electronic document 501 to the external terminal 50 on an operation screen (not shown) of the external terminal 50. When the external terminal 50 receives the generation instruction, the external terminal 50 transfers a scan image generation instruction based on the generation instruction to the MFP 10. When the MFP 10 receives the scan image generation instruction from the external terminal 50, the MFP 10 starts a scan operation (step S11).

なお、電子文書501の生成指示の付与に際して、ユーザは、スキャン処理により最終的に生成される電子文書501のファイル形式を当該操作画面において指定する。ここでは、当該電子文書501のファイル形式として、「コンパクトPDF(高圧縮PDF)ファイル」が指定されるものとする。   When giving an instruction to generate the electronic document 501, the user specifies the file format of the electronic document 501 that is finally generated by the scanning process on the operation screen. Here, it is assumed that “compact PDF (highly compressed PDF) file” is designated as the file format of the electronic document 501.

「コンパクトPDFファイル」は、PDF形式の電子文書であり、スキャン画像内の互いに異なる種別の領域を互いに異なる圧縮率で圧縮することによって、文字の判読性を維持しつつデータ容量(ファイルサイズ)を低減した電子文書(高圧縮PDFファイル)である。具体的には、スキャン画像が領域判別処理(圧縮処理の前処理)によって文字領域と非文字領域とに区分され(換言すれば、スキャン画像から文字領域と非文字領域とが抽出され)、各領域(文字領域および非文字領域)に対する圧縮処理がそれぞれ施される。当該各領域は、互いに異なる圧縮率で圧縮される。より詳細には、文字領域の画像データに関しては、文字特性に応じた処理が行われ、比較的低い圧縮率(たとえば10%)により、視認性を高めた圧縮処理が行われる。一方、非文字領域の画像データに関しては、適切な解像度に変換された後、高い圧縮率(たとえば50%)で圧縮される。そして、圧縮済の各領域の画像データに対してデータフォーマット変換処理(PDF化処理)が実行されて高圧縮PDFファイルが生成される。ここでは、「圧縮処理」(詳細には、スキャン画像内の互いに異なる種別の領域を互いに異なる圧縮率で圧縮する圧縮処理)が、電子文書(コンパクトPDFファイル)の生成に関連する「関連処理」として実行される。なお、本願では、互いに異なる種別の領域を「互いに異なる圧縮率で圧縮する」、との表現には、一の種別の領域(たとえば文字領域)を圧縮率0%で圧縮する態様も含まれるものとする。たとえば、非文字領域のみを比較的高い圧縮率(50%等)で圧縮し、文字領域を圧縮率0%で圧縮する(換言すれば、圧縮しない)態様も、当該表現に含まれる。このように、画像データのデータ容量が総合的に低減されるような圧縮処理が施されればよい。   A “compact PDF file” is an electronic document in PDF format. By compressing different types of areas in a scanned image at different compression rates, the data capacity (file size) is maintained while maintaining the legibility of characters. This is a reduced electronic document (highly compressed PDF file). Specifically, the scanned image is divided into a character region and a non-character region by region discrimination processing (preprocessing of compression processing) (in other words, a character region and a non-character region are extracted from the scanned image) Compression processing is performed on the areas (character area and non-character area). Each area is compressed at a different compression rate. More specifically, with respect to the image data of the character area, processing corresponding to the character characteristics is performed, and compression processing with improved visibility is performed with a relatively low compression rate (for example, 10%). On the other hand, image data in a non-character area is compressed at a high compression rate (for example, 50%) after being converted to an appropriate resolution. Then, a data format conversion process (PDF conversion process) is performed on the compressed image data of each area, and a highly compressed PDF file is generated. Here, “compression processing” (specifically, compression processing for compressing different types of regions in a scanned image at different compression rates) is “related processing” related to generation of an electronic document (compact PDF file). Run as. In the present application, the expression “compress with different compression rates” includes different modes of compressing one type of region (for example, a character region) at a compression rate of 0%. And For example, the expression includes a mode in which only the non-character area is compressed with a relatively high compression rate (50% or the like) and the character area is compressed with a compression rate of 0% (in other words, not compressed). In this way, it is only necessary to perform compression processing so that the data capacity of image data is comprehensively reduced.

ここにおいて、スキャン画像201の生成に際して、MFP10は、スキャン画像201に対する画像処理(属性判定処理等)によって、スキャン画像201内の各画素の属性データ(属性を示すデータ)を生成する。具体的には、MFP10は、スキャン画像201内の画素毎に属性(文字属性、非文字属性)をそれぞれ判別し、各画素の属性データを生成する。なお、領域判別処理においては、この属性データが利用されて画像データが文字領域と非文字領域とに区分される。   Here, when the scan image 201 is generated, the MFP 10 generates attribute data (data indicating an attribute) of each pixel in the scan image 201 by image processing (attribute determination processing or the like) on the scan image 201. Specifically, the MFP 10 determines attributes (character attributes, non-character attributes) for each pixel in the scan image 201, and generates attribute data for each pixel. In the area determination process, the attribute data is used to divide the image data into a character area and a non-character area.

ステップS12において、MFP10(分割データ生成部14)は、当該スキャン画像201を複数の領域に分割(区分)して複数の分割データ(分割画像データ)を生成する。ここでは、図8に示すように、スキャン画像201が、所定数の水平ラインで構成される帯状領域(バンド領域とも称される)を単位として4つの領域に分割されて、分割データ251〜254が生成される。   In step S12, the MFP 10 (divided data generation unit 14) divides (divides) the scan image 201 into a plurality of areas to generate a plurality of divided data (divided image data). Here, as shown in FIG. 8, the scan image 201 is divided into four areas with a band-like area (also referred to as a band area) formed of a predetermined number of horizontal lines as a unit, and divided data 251 to 254. Is generated.

ステップS13〜S18においては、各分割データ251〜254が順次に外部端末50へと送信される。   In steps S13 to S18, the divided data 251 to 254 are sequentially transmitted to the external terminal 50.

ステップS13においては、変数i(iは自然数;i=1,...,N)がまず値「1」に設定される。なお、値Nはスキャン画像の分割数(ここではN=4)である。   In step S13, the variable i (i is a natural number; i = 1,..., N) is first set to the value “1”. The value N is the number of scan image divisions (N = 4 in this example).

ステップS14において、MFP10(送信部4a)はi番目の分割データの送信を開始する。当該i番目の分割データの送信に際して、MFP10は、i番目の分割データにおける属性データをも外部端末50に送信する。   In step S14, the MFP 10 (transmission unit 4a) starts transmitting the i-th divided data. When transmitting the i-th divided data, the MFP 10 also transmits attribute data in the i-th divided data to the external terminal 50.

ステップS15において、MFP10は、MFP10と外部端末50との通信状態を確認する。当該通信が接続状態である旨が判定される場合には、MFP10は、i番目の分割データの送信が完了されたか否か、をステップS16にて判定する。当該送信が完了された旨が判定される場合には、ステップS17へと進み、当該送信が完了されていない旨が判定される場合には、ステップS15へと戻る。すなわち、i番目の分割データの送信に際して、MFP10は、MFP10と外部端末50との通信状態を常時監視する。なお、当該通信が非接続状態(中断状態)である旨がステップS15において判定される場合(すなわち通信中断状態に遷移する場合)については後述する。   In step S <b> 15, the MFP 10 confirms the communication state between the MFP 10 and the external terminal 50. If it is determined that the communication is in the connected state, the MFP 10 determines in step S16 whether transmission of the i-th divided data has been completed. If it is determined that the transmission has been completed, the process proceeds to step S17. If it is determined that the transmission has not been completed, the process returns to step S15. That is, when transmitting the i-th divided data, the MFP 10 constantly monitors the communication state between the MFP 10 and the external terminal 50. Note that the case where it is determined in step S15 that the communication is in a non-connected state (interrupted state) (that is, a case where a transition to the communication suspended state) is made will be described later.

ステップS17においては、変数iが値N(ここではN=4)に到達したか否かが判定される。変数iが値Nに到達していない旨が判定されると、変数iが1つインクリメントされ(ステップS18)、次の分割データの送信が開始される(ステップS14)。   In step S17, it is determined whether or not the variable i has reached a value N (N = 4 in this case). If it is determined that the variable i has not reached the value N, the variable i is incremented by 1 (step S18), and transmission of the next divided data is started (step S14).

ステップS14〜S18の処理は、変数iが値N(ここではN=4)に到達するまで(すなわち全ての分割データ251〜254の送信が完了するまで)繰り返される。そして、変数iが値Nに到達した旨がステップS17において判定されると、電子文書生成システム1に係るMFP10の動作は終了する。   The processes in steps S14 to S18 are repeated until the variable i reaches a value N (N = 4 in this case) (that is, until transmission of all the divided data 251 to 254 is completed). When it is determined in step S17 that the variable i has reached the value N, the operation of the MFP 10 related to the electronic document generation system 1 ends.

つぎに、外部端末50の動作について図6を参照しながら説明する。   Next, the operation of the external terminal 50 will be described with reference to FIG.

ステップS31,S32において、外部端末50は、MFP10からの受信が完了したデータ(受信完了データ)を解析する。そして、受信完了データが未処理分割データ(「関連処理」(ここでは、コンパクトPDFファイル用の圧縮処理)が未だ完了していない分割データ)である旨が判定される(ステップS31)と、処理はステップS33へと進む。受信完了データが処理済分割データ(「関連処理」が既に完了した分割データ)(後述)である旨が判定される(ステップS32)と、処理はステップS34へと進む。   In steps S31 and S32, the external terminal 50 analyzes data that has been received from the MFP 10 (reception completion data). Then, it is determined that the reception completion data is unprocessed divided data ("related processing" (here, divided data for which compact PDF file compression processing) is not yet completed) (step S31). Advances to step S33. If it is determined that the reception completion data is processed divided data (divided data for which “related processing” has already been completed) (described later) (step S32), the process proceeds to step S34.

後述するように、通信の中断を伴う場合の動作等においては、分割データに対する関連処理がMFP10によって実行され、「処理済分割データ」(当該関連処理が施された分割データ)が通信再開後にMFP10から外部端末50に送信される。一方、通信正常時等においては、「未処理分割データ」(当該関連処理が未だ施されていない分割データ)がMFP10から外部端末50に送信される。   As will be described later, in an operation or the like when communication is interrupted, related processing for the divided data is executed by the MFP 10, and the “processed divided data” (the divided data subjected to the related processing) is restarted after the communication is resumed. To the external terminal 50. On the other hand, when the communication is normal or the like, “unprocessed divided data” (divided data that has not been subjected to the related processing) is transmitted from the MFP 10 to the external terminal 50.

外部端末50が「未処理分割データ」を受信する場合には、ステップS33にて関連処理が当該未処理分割データに対して実行された後にステップS34に進み、外部端末50が「処理済分割データ」を受信する場合には、ステップS33の処理を行うことなくステップS34に進む。   When the external terminal 50 receives “unprocessed divided data”, the related process is performed on the unprocessed divided data in step S33, and then the process proceeds to step S34. ", The process proceeds to step S34 without performing the process of step S33.

ここでは、MFP10からの受信が完了した分割データは未処理分割データである旨が判定され、処理はステップS33へと進むものとする。   Here, it is determined that the divided data received from the MFP 10 is unprocessed divided data, and the process proceeds to step S33.

未処理分割データの受信が完了する(ステップS31)と、外部端末50(処理実行部64)は、MFP10からの受信が完了した未処理分割データに対して関連処理(圧縮処理)を実行する(ステップS33)。具体的には、当該未処理分割データの受信に際して外部端末50は属性データをもMFP10から受信し、処理実行部64は、分割データに関する属性データに基づいて領域判別処理を実行(分割データを文字領域と非文字領域とに区分)する。そして、処理実行部64は、関連処理(詳細には、各領域を異なる圧縮率で圧縮する圧縮処理)を実行する。   When reception of unprocessed divided data is completed (step S31), the external terminal 50 (process execution unit 64) executes related processing (compression processing) on the unprocessed divided data that has been received from the MFP 10 ( Step S33). Specifically, when receiving the unprocessed divided data, the external terminal 50 also receives the attribute data from the MFP 10, and the process execution unit 64 executes an area determination process based on the attribute data related to the divided data (the divided data is converted into character data). (Divided into areas and non-character areas). Then, the process execution unit 64 executes related processing (specifically, compression processing for compressing each region at a different compression rate).

ステップS34において、外部端末50は、圧縮処理が施された分割データ(処理済(圧縮済)分割データ)を関連処理の処理結果として格納部55に(一時的に)格納する。この関連処理の処理結果には、外部端末50の処理実行部64により圧縮処理が施された分割データ(処理済分割データ)と、MFP10から受信した処理済分割データとが含まれる。   In step S <b> 34, the external terminal 50 stores (temporarily) the divided data subjected to the compression process (processed (compressed) divided data) as the processing result of the related process. The processing result of the related processing includes divided data (processed divided data) that has been subjected to compression processing by the processing execution unit 64 of the external terminal 50 and processed divided data received from the MFP 10.

ステップS35においては、全ての処理結果(ここでは処理済分割データ)が格納部55に格納されたか否か、が判定される。全ての処理済分割データが未だ格納部55に格納されていない旨が判定されると、処理はステップS31へと戻る。また、全ての処理済分割データが格納部55に格納されると、処理はステップS36へと進む。   In step S <b> 35, it is determined whether or not all the processing results (here, the processed divided data) are stored in the storage unit 55. If it is determined that all the processed divided data is not yet stored in the storage unit 55, the process returns to step S31. When all the processed divided data are stored in the storage unit 55, the process proceeds to step S36.

通常動作においては、分割データ251〜254が未処理分割データとしてMFP10からそれぞれ受信され(ステップS31)、当該未処理分割データ251〜254に対して関連処理(圧縮処理)が実行される(ステップS33)。そして、未処理分割データ251〜254に対する圧縮処理の処理結果として処理済分割データ351〜354が格納部55に格納される(ステップS34)。   In the normal operation, the divided data 251 to 254 are received as unprocessed divided data from the MFP 10 (step S31), and related processing (compression processing) is performed on the unprocessed divided data 251 to 254 (step S33). ). Then, processed divided data 351 to 354 are stored in the storage unit 55 as processing results of the compression processing on the unprocessed divided data 251 to 254 (step S34).

さらに、ステップS36において、外部端末50(文書生成部65)は、圧縮処理の処理結果(処理済分割データ351〜354)に基づいて電子文書(コンパクトPDFファイル)501を生成する。具体的には、文書生成部65は、格納部55に格納済みの処理済分割データ351〜354を結合し、データフォーマット変換処理(PDF化処理)を実行してコンパクトPDFファイルを生成する。   Furthermore, in step S36, the external terminal 50 (document generation unit 65) generates an electronic document (compact PDF file) 501 based on the processing result of the compression process (processed divided data 351 to 354). Specifically, the document generation unit 65 combines the processed divided data 351 to 354 stored in the storage unit 55 and executes a data format conversion process (PDF conversion process) to generate a compact PDF file.

<通信の中断を伴う場合の動作>
つぎに、全ての分割データの送信(受信)完了前にMFP10と外部端末50との通信が中断する場合について説明する。通信の中断を伴う場合の動作においては、外部端末50に代わってMFP10が、分割データに対する関連処理(圧縮処理)を実行する。
<Operation when communication is interrupted>
Next, a case where communication between the MFP 10 and the external terminal 50 is interrupted before transmission (reception) of all divided data is completed will be described. In the operation when communication is interrupted, the MFP 10 executes related processing (compression processing) for the divided data instead of the external terminal 50.

図5は、図4におけるサブルーチン処理を示す図である。また、図9は、電子文書生成システム1における通信の中断を伴う場合の動作を含む動作の概略を示す図である。   FIG. 5 is a diagram showing the subroutine processing in FIG. FIG. 9 is a diagram showing an outline of an operation including an operation when communication is interrupted in the electronic document generation system 1.

図9に示すように、ここでは、全分割データ251〜254の送信完了前にMFP10と外部端末50との通信が中断し、その後当該通信が再開する状況を想定する。より詳細には、分割データ252の送信中に当該通信が中断し、分割データ253に対する圧縮処理の実行中(後述)に当該通信が再開する。   As illustrated in FIG. 9, here, it is assumed that communication between the MFP 10 and the external terminal 50 is interrupted before transmission of all the divided data 251 to 254 is completed, and then the communication is resumed. More specifically, the communication is interrupted while the divided data 252 is being transmitted, and the communication is resumed while a compression process is performed on the divided data 253 (described later).

まず、MFP10は、1番目の分割データ(未処理分割データ)251を外部端末50に送信する(ステップS14,S16(図4))(図9も参照)。   First, the MFP 10 transmits the first divided data (unprocessed divided data) 251 to the external terminal 50 (steps S14 and S16 (FIG. 4)) (see also FIG. 9).

外部端末50は、分割データ(未処理分割データ)251の受信が完了する(ステップS31(図6))と、当該分割データ251に対して圧縮処理を実行する(ステップS33)。そして、外部端末50は、その処理結果(処理済分割データ351)を格納部55に格納する(ステップS34)。   When the external terminal 50 completes reception of the divided data (unprocessed divided data) 251 (step S31 (FIG. 6)), the external terminal 50 executes compression processing on the divided data 251 (step S33). Then, the external terminal 50 stores the processing result (processed divided data 351) in the storage unit 55 (step S34).

MFP10は、1番目の分割データ251の送信完了後に、2番目の分割データ252の送信を開始する(ステップS14(図4))。   After completing the transmission of the first divided data 251, the MFP 10 starts transmitting the second divided data 252 (step S14 (FIG. 4)).

ここでは、その後、図9に示すように、2番目の分割データ252の送信中(送信完了前)にMFP10と外部端末50との通信が中断する。   Here, as shown in FIG. 9, communication between the MFP 10 and the external terminal 50 is interrupted during transmission of the second divided data 252 (before transmission is completed).

分割データ252の送信中にMFP10と外部端末50との通信が中断(切断)すると、MFP10はその旨(非接続状態である旨)をステップS15(図4)において判定し、処理はステップS20(図5)へと進む。MFP10と外部端末50との通信が中断した場合であっても電子文書501の生成は中止されず、通信の中断を伴う場合の処理(すなわちMFP10による代行処理)が実行される。   If the communication between the MFP 10 and the external terminal 50 is interrupted (disconnected) during the transmission of the divided data 252, the MFP 10 determines to that effect (not connected) in step S 15 (FIG. 4), and the processing is performed in step S 20 ( Go to FIG. Even when the communication between the MFP 10 and the external terminal 50 is interrupted, the generation of the electronic document 501 is not interrupted, and the process when the communication is interrupted (that is, the proxy process by the MFP 10) is executed.

ステップS21において、MFP10(処理実行部15)は、i番目(ただし、i=K,...;Kは通信中断時点での送信対象の分割データの序数(ここではK=2))の分割データに対する圧縮処理を開始する。具体的には、処理実行部15は、まず2番目の分割データ252に関する属性データに基づいて領域判別処理を実行して分割データ252を文字領域と非文字領域とに区分し、各領域に対して圧縮処理を実行する。なお、処理実行部15は、外部端末50(処理実行部64)により実行される各領域に対する圧縮率とそれぞれ同じ圧縮率で分割データ252の各領域に対して圧縮処理を実行する。たとえば、分割データ252の文字領域に対して10%の圧縮率(分割データ251の文字領域に対する圧縮率と同じ圧縮率)で圧縮処理が施されるとともに、分割データ252の非文字領域に対して50%の圧縮率(分割データ251の非文字領域に対する圧縮率と同じ圧縮率)で圧縮処理が施される。   In step S21, the MFP 10 (process execution unit 15) divides the i-th (where i = K,...; K is the ordinal number of the divided data to be transmitted at the time of communication interruption (here, K = 2)). Start compression processing for data. Specifically, the process execution unit 15 first performs an area determination process based on the attribute data regarding the second divided data 252 to divide the divided data 252 into a character area and a non-character area. To execute the compression process. The process execution unit 15 executes the compression process on each area of the divided data 252 at the same compression rate as the compression ratio for each area executed by the external terminal 50 (process execution unit 64). For example, the compression process is performed on the character area of the divided data 252 at a compression rate of 10% (the same compression ratio as the character area of the divided data 251) and the non-character area of the divided data 252 is applied. Compression processing is performed at a compression rate of 50% (the same compression rate as that for the non-character area of the divided data 251).

ステップS22において、MFP10は、MFP10と外部端末50との通信状態を確認する。換言すれば、当該通信が再開したか否かが判定される。   In step S <b> 22, the MFP 10 confirms the communication state between the MFP 10 and the external terminal 50. In other words, it is determined whether the communication has been resumed.

当該通信が未だ再開していない(非接続状態である)旨が判定される場合には、MFP10は、i番目の分割データ(ここでは分割データ252)に対する圧縮処理が完了したか否か、を判定する(ステップS23)。   If it is determined that the communication has not been resumed (is in a disconnected state), the MFP 10 determines whether or not the compression process for the i-th divided data (here, the divided data 252) has been completed. Determination is made (step S23).

i番目の分割データに対する圧縮処理が未だ完了していない旨が判定される場合には、処理はステップS22へと戻る。すなわち、i番目の分割データに対する圧縮処理の実行中において、MFP10は、MFP10と外部端末50との通信状態を常時監視する。   If it is determined that the compression process for the i-th divided data has not yet been completed, the process returns to step S22. That is, the MFP 10 constantly monitors the communication state between the MFP 10 and the external terminal 50 during execution of the compression process for the i-th divided data.

i番目の分割データ(未処理分割データ252)に対する圧縮処理が完了した旨が判定されると、処理実行部64により圧縮処理が施された分割データ(処理済(圧縮済)分割データ352)が格納部5に格納済みか否か、がさらに判定される(ステップS24)。処理済分割データ352が格納部5に未格納であると判定される場合には、MFP10は処理済分割データ352を格納部5に(一時的に)格納する(ステップS25)。なお、この時点では、MFP10と外部端末50との通信は中断したままであるため、当該処理済分割データ352は未だ外部端末50へと送信されない。   When it is determined that the compression processing for the i-th divided data (unprocessed divided data 252) has been completed, the divided data (processed (compressed) divided data 352) subjected to the compression processing by the process execution unit 64 is obtained. It is further determined whether or not it has been stored in the storage unit 5 (step S24). If it is determined that the processed divided data 352 is not stored in the storage unit 5, the MFP 10 stores the processed divided data 352 (temporarily) in the storage unit 5 (step S25). At this point, since communication between the MFP 10 and the external terminal 50 remains interrupted, the processed divided data 352 is not yet transmitted to the external terminal 50.

そして、ステップS26においては、変数iが値N(ここではN=4)に到達したか否かが判定される。変数iが値Nに到達していない旨が判定されると、変数iが1つインクリメントされ(ステップS27)、処理は再びステップS21へと戻る。すなわち、次の分割データ(ここでは3番目の分割データ253)に対する圧縮処理が開始される(ステップS21)。   In step S26, it is determined whether or not the variable i has reached a value N (N = 4 in this case). If it is determined that the variable i has not reached the value N, the variable i is incremented by 1 (step S27), and the process returns to step S21 again. That is, the compression process for the next divided data (here, the third divided data 253) is started (step S21).

ここでは、その後、図9に示すように、3番目の分割データ253に対する圧縮処理の実行中にMFP10と外部端末50との通信が再開する。   Here, as shown in FIG. 9, communication between the MFP 10 and the external terminal 50 resumes during execution of the compression process for the third divided data 253.

MFP10と外部端末50との通信が再開する(ステップS22)と、MFP10は、i番目の分割データ(分割データ253)に対する圧縮処理が完了したか否か、を判定する(ステップS28)。   When communication between the MFP 10 and the external terminal 50 resumes (step S22), the MFP 10 determines whether or not the compression process for the i-th divided data (divided data 253) has been completed (step S28).

i番目の分割データに対する圧縮処理が完了すると、MFP10は、処理実行部15により圧縮処理が実行された分割データ(ここでは分割データ252,253)に関する処理結果(ここでは処理済分割データ352,353)を外部端末50に送信する(ステップS29)。換言すれば、MFP10と外部端末50との通信の再開時点において処理実行部15による圧縮処理が分割データ253に対して未だ実行されている場合には、分割データ253に対する圧縮処理の完了後に、MFP10は圧縮処理の処理結果(処理済分割データ352,353)を外部端末50に送信する。   When the compression processing for the i-th divided data is completed, the MFP 10 performs processing results (here, processed divided data 352 and 353) related to the divided data (here, divided data 252 and 253) subjected to the compression processing by the processing execution unit 15. ) Is transmitted to the external terminal 50 (step S29). In other words, when the compression processing by the process execution unit 15 is still being performed on the divided data 253 at the time when communication between the MFP 10 and the external terminal 50 is resumed, after the compression processing on the divided data 253 is completed, the MFP 10 Transmits the processing result of the compression processing (processed divided data 352 and 353) to the external terminal 50.

そして、当該サブルーチン処理(代行処理)は終了し、処理はステップS17(図4)へと進む。   Then, the subroutine processing (proxy processing) ends, and the processing proceeds to step S17 (FIG. 4).

このように、全分割データ251〜254の送信完了前にMFP10と外部端末50との通信が中断すると、MFP10の処理実行部15は、分割データ251〜254のうち外部端末50への送信が未だ完了していない分割データ(外部端末50の処理実行部64による圧縮処理が未だ完了していない分割データ)252,253に対して、圧縮処理を外部端末50に代わって実行する(ステップS21(図5))(図9も参照)。そして、MFP10は、処理実行部15により圧縮処理が実行された分割データ252,253に関する処理結果(処理済分割データ352,353)を当該通信の再開後に外部端末50に送信する(ステップS29)。   As described above, when the communication between the MFP 10 and the external terminal 50 is interrupted before the transmission of all the divided data 251 to 254 is completed, the processing execution unit 15 of the MFP 10 has not yet transmitted the divided data 251 to 254 to the external terminal 50. For the divided data that has not been completed (the divided data for which the compression processing by the processing execution unit 64 of the external terminal 50 has not been completed) 252, 253, the compression processing is executed on behalf of the external terminal 50 (step S21 (FIG. 5)) (see also FIG. 9). Then, the MFP 10 transmits the processing results (processed divided data 352 and 353) related to the divided data 252 and 253 subjected to the compression processing by the processing execution unit 15 to the external terminal 50 after resuming the communication (step S29).

外部端末50は、処理済分割データ352,353をMFP10からそれぞれ受信する(ステップS32(図6))と、当該処理済分割データ352,353を格納部55にそれぞれ格納する(ステップS34)。   When the external terminal 50 receives the processed divided data 352 and 353 from the MFP 10 (step S32 (FIG. 6)), the external terminal 50 stores the processed divided data 352 and 353 in the storage unit 55 (step S34).

MFP10は、通信再開後においてステップS20から復帰し、ステップS17,S18を経て、4番目の分割データ(未処理分割データ)254を外部端末50に送信する(ステップS14,S16)(図9も参照)。なお、分割データ254は、分割データ251〜254のうち通信の再開時点において外部端末50への送信が未だ完了していない分割データであって当該通信の再開時点においてMFP10の処理実行部15による圧縮処理が未だ開始されていない分割データである。   The MFP 10 returns from step S20 after resuming communication, and transmits the fourth divided data (unprocessed divided data) 254 to the external terminal 50 through steps S17 and S18 (see also FIG. 9). ). The divided data 254 is divided data among the divided data 251 to 254 that has not yet been transmitted to the external terminal 50 when communication is resumed, and is compressed by the process execution unit 15 of the MFP 10 when communication is resumed. This is divided data whose processing has not yet started.

当該分割データ(未処理分割データ)254の送信が完了する(ステップS16)と、変数iが値N(ここではN=4)に到達した旨が判定され(ステップS17)、MFP10の動作は終了する。   When transmission of the divided data (unprocessed divided data) 254 is completed (step S16), it is determined that the variable i has reached the value N (N = 4 in this case) (step S17), and the operation of the MFP 10 ends. To do.

外部端末50は、未処理分割データ(通信再開後に受信された分割データ)254の受信が完了する(ステップS31(図6))と、当該分割データ254に対して圧縮処理を実行し(ステップS33)、その処理結果(処理済分割データ354)を格納部55に格納する(ステップS34)。   When the external terminal 50 completes reception of unprocessed divided data (divided data received after resuming communication) 254 (step S31 (FIG. 6)), the external terminal 50 executes compression processing on the divided data 254 (step S33). ), And the processing result (processed divided data 354) is stored in the storage unit 55 (step S34).

そして、全ての処理済分割データ351〜354が格納部55に格納された旨が判定される(ステップS35)と、文書生成部65は、全ての処理済分割データ351〜354を結合してデータフォーマット変換処理を実行し、電子文書(コンパクトPDFファイル)501を生成する(ステップS36)(図9も参照)。具体的には、文書生成部65は、分割データ251〜254のうち外部端末50(処理実行部64)により圧縮処理が実行された分割データ251,254に関する処理結果(処理済分割データ351,354)と、分割データ251〜254のうちMFP10(処理実行部15)により圧縮処理が実行された分割データ252,253に関する処理結果(処理済分割データ352,353)とに基づいて、電子文書501を生成する。なお、処理済分割データ351は、通信の中断前において外部端末50(処理実行部64)により圧縮処理が実行された分割データ251に関する処理結果であり、処理済分割データ354は、通信の再開後において外部端末50(処理実行部64)により圧縮処理が実行された分割データ254に関する処理結果である。   When it is determined that all the processed divided data 351 to 354 have been stored in the storage unit 55 (step S35), the document generation unit 65 combines all the processed divided data 351 to 354 into data. The format conversion process is executed to generate an electronic document (compact PDF file) 501 (step S36) (see also FIG. 9). Specifically, the document generation unit 65 performs processing results (processed divided data 351 and 354) related to the divided data 251 and 254 that have been compressed by the external terminal 50 (process execution unit 64) among the divided data 251 to 254. ) And processing results (processed divided data 352 and 353) related to the divided data 252 and 253 that have been compressed by the MFP 10 (process execution unit 15) among the divided data 251 to 254, the electronic document 501 is Generate. The processed divided data 351 is a processing result related to the divided data 251 that has been compressed by the external terminal 50 (process execution unit 64) before the communication is interrupted. The processed divided data 354 is processed after the communication is resumed. The processing result regarding the divided data 254 subjected to the compression processing by the external terminal 50 (processing execution unit 64).

ところで、仮に、スキャン画像201自体がそのまま(複数の領域に分割されずに)MFP10から外部端末50へと送信され、且つ、外部端末50が当該スキャン画像201の受信の完了後にスキャン画像201に対する関連処理を開始する技術(比較例に係る技術とも称する)を想定する。当該技術においては、スキャン画像201の受信完了前にMFP10と外部端末50との通信が中断すると、外部端末50は、(受信未完了の)スキャン画像201に対する関連処理を開始することができない。MFP10は、当該通信の再開後に改めてスキャン画像201を送信(再送信)し、外部端末50は、当該通信の再開後に受信が完了したスキャン画像201に対して関連処理を開始する。すなわち、通信が中断すると、当該通信の再開後にスキャン画像201の受信が完了するまで、外部端末50は当該スキャン画像201に対する関連処理を開始することができず、電子文書の生成処理に遅延が生じ得る。   By the way, it is assumed that the scan image 201 itself is transmitted as it is (without being divided into a plurality of areas) from the MFP 10 to the external terminal 50, and the external terminal 50 is related to the scan image 201 after the reception of the scan image 201 is completed. A technique for starting processing (also referred to as a technique according to a comparative example) is assumed. In this technique, if communication between the MFP 10 and the external terminal 50 is interrupted before the reception of the scan image 201 is completed, the external terminal 50 cannot start the related process for the scan image 201 (incomplete reception). The MFP 10 transmits (retransmits) the scan image 201 again after the communication is resumed, and the external terminal 50 starts related processing on the scan image 201 that has been received after the communication is resumed. That is, when communication is interrupted, the external terminal 50 cannot start the related processing for the scanned image 201 until the reception of the scanned image 201 is completed after the communication is resumed, resulting in a delay in the electronic document generation processing. obtain.

これに対して、第1実施形態に係る動作においては、MFP10は、スキャン画像201が複数の領域に分割して分割データ251〜254を生成し、当該分割データ251〜254の送信を開始する。当該分割データ251〜254の送信完了前にMFP10と外部端末50との通信が中断すると、MFP10は、外部端末50への送信が未だ完了していない分割データ(たとえば分割データ252,253)に対する関連処理を外部端末50に代わって実行する。換言すれば、通信中断中であっても未送信の分割データに対する「関連処理」がMFP10によって引き継がれて実行される。そして、MFP10において関連処理が実行された分割データ252,253に関する処理結果(処理済分割データ352,353)が当該通信の再開後に外部端末50へと送信される。外部端末50は、これらの処理結果(処理済分割データ352,353)をも利用して(すなわち未処理の分割データ252,253に対する関連処理を実行することなく)電子文書を生成する。したがって、MFP10と外部端末50との通信が中断した場合であっても、外部端末50に代わってMFP10が関連処理を実行するので、電子文書の生成処理の遅延を抑制することが可能である。   In contrast, in the operation according to the first embodiment, the MFP 10 generates the divided data 251 to 254 by dividing the scan image 201 into a plurality of areas, and starts transmitting the divided data 251 to 254. If communication between the MFP 10 and the external terminal 50 is interrupted before the transmission of the divided data 251 to 254 is completed, the MFP 10 relates to the divided data (for example, the divided data 252 and 253) that has not been transmitted to the external terminal 50 yet. The process is executed on behalf of the external terminal 50. In other words, even if communication is interrupted, “related processing” for unsent divided data is taken over by the MFP 10 and executed. Then, processing results (processed divided data 352 and 353) related to the divided data 252 and 253 for which the related processing has been executed in the MFP 10 are transmitted to the external terminal 50 after the communication is resumed. The external terminal 50 also uses these processing results (processed divided data 352 and 353) to generate an electronic document (that is, without executing related processing on the unprocessed divided data 252 and 253). Therefore, even when communication between the MFP 10 and the external terminal 50 is interrupted, the MFP 10 executes the related process in place of the external terminal 50, so that it is possible to suppress the delay of the electronic document generation process.

また、MFP10は、スキャン画像201自体ではなく分割データ251〜254を個別に外部端末50に送信する。外部端末50は、分割データ(たとえば分割データ251)の受信が完了すると、当該分割データ251に対して関連処理を開始する。換言すれば、外部端末50は、次の分割データ(たとえば分割データ252)の受信完了を待たずに、受信完了済の分割データ251に対する関連処理を開始する。そのため、外部端末50は、上記比較例に係る技術(スキャン画像201自体をそのまま送信し、スキャン画像201の受信完了後に当該スキャン画像201に対して関連処理を開始する技術)よりも早期に関連処理を開始することが可能である。   Further, the MFP 10 individually transmits the divided data 251 to 254 to the external terminal 50 instead of the scan image 201 itself. When the reception of the divided data (for example, divided data 251) is completed, the external terminal 50 starts related processing on the divided data 251. In other words, the external terminal 50 starts a related process for the divided data 251 that has been received without waiting for completion of reception of the next divided data (for example, divided data 252). Therefore, the external terminal 50 performs the related process earlier than the technique according to the comparative example (the technique in which the scan image 201 itself is transmitted as it is and the related process is started for the scan image 201 after the reception of the scan image 201 is completed). It is possible to start.

<2.第2実施形態>
第2実施形態は、第1実施形態の変形例である。以下では、第1実施形態との相違点を中心に説明する。
<2. Second Embodiment>
The second embodiment is a modification of the first embodiment. Below, it demonstrates centering on difference with 1st Embodiment.

第1実施形態では、コンパクトPDF(高圧縮PDF)ファイルが電子文書として生成される態様を例示した。第1実施形態では、未処理の分割データに対して「圧縮処理」が「関連処理」として施され、当該関連処理の処理結果として処理済の分割データ(圧縮処理が施された分割画像データ)が得られる。   In the first embodiment, a mode in which a compact PDF (highly compressed PDF) file is generated as an electronic document has been exemplified. In the first embodiment, “compression processing” is performed as “related processing” on unprocessed divided data, and processed divided data (divided image data subjected to compression processing) is processed as a processing result of the related processing. Is obtained.

この第2実施形態では、光学文字認識処理(以下、OCR(Optical Character Recognition)処理とも称する)によるテキストデータ付きPDFファイル(「サーチャブルPDFファイル」とも称される)が電子文書として生成される態様を例示する。第2実施形態では、未処理の分割データに対して「OCR処理」が「関連処理」として施され、当該関連処理の処理結果としてテキストデータ(認識された文字データ)が得られる。換言すれば、関連処理の処理結果は、分割データとは異なるデータ(画像データではないデータ)として得られる。   In the second embodiment, a PDF file with text data (also referred to as a “searchable PDF file”) by optical character recognition processing (hereinafter also referred to as OCR (Optical Character Recognition) processing) is generated as an electronic document. Illustrate. In the second embodiment, “OCR processing” is performed as “related processing” on unprocessed divided data, and text data (recognized character data) is obtained as a processing result of the related processing. In other words, the processing result of the related processing is obtained as data different from the divided data (data that is not image data).

なお、「サーチャブルPDFファイル」は、スキャン画像に対するOCR処理の処理結果(テキストデータ)が当該スキャン画像に付加された(埋め込まれた)テキストデータ付きPDFファイルである。具体的には、領域判別処理(OCR処理の前処理)によってスキャン画像が文字領域と非文字領域とに区分され、切出処理(OCR処理の前処理)によって文字領域の画像(切出画像)が切り出される(抽出される)。そして、当該切出画像に対してOCR処理が行われ、OCR処理結果としてテキストデータが生成される。その後、スキャン画像に当該テキストデータが付加されて(埋め込まれて)、テキストデータ付きPDF(サーチャブルPDF)ファイルが生成される(結合処理)。第2実施形態では、「OCR処理」が、電子文書(サーチャブルPDFファイル)の生成に関連する「関連処理」として実行される。   The “searchable PDF file” is a PDF file with text data in which the processing result (text data) of the OCR processing for the scanned image is added (embedded) to the scanned image. Specifically, the scanned image is divided into a character area and a non-character area by area determination processing (pre-processing of OCR processing), and an image of the character area (cut-out image) by cutting-out processing (pre-processing of OCR processing). Is cut out (extracted). Then, OCR processing is performed on the clipped image, and text data is generated as an OCR processing result. Thereafter, the text data is added (embedded) to the scanned image, and a PDF file with text data (searchable PDF) file is generated (combining process). In the second embodiment, “OCR processing” is executed as “related processing” related to generation of an electronic document (searchable PDF file).

図10は、第2実施形態に係る外部端末50の動作を示すフローチャートである。図10のステップS31(S31b)〜S34(S34b)およびS36(S36b)の各処理においては、図6のステップS31〜S34およびS36の各処理に類似する処理がそれぞれ行われる。また、図11は、第2実施形態に係る電子文書生成システム1における動作の概略を示す図である。第2実施形態に係るMFP10においては、図4および図5の各処理に類似する処理が行われる。   FIG. 10 is a flowchart showing the operation of the external terminal 50 according to the second embodiment. In each process of steps S31 (S31b) to S34 (S34b) and S36 (S36b) of FIG. 10, processes similar to the processes of steps S31 to S34 and S36 of FIG. 6 are performed. FIG. 11 is a diagram showing an outline of operations in the electronic document generation system 1 according to the second embodiment. In the MFP 10 according to the second embodiment, processes similar to the processes in FIGS. 4 and 5 are performed.

この第2実施形態においても、第1実施形態と同様に、分割データ252の送信中に当該通信が中断し、分割データ253に対する関連処理(OCR処理)の実行中に当該通信が再開する状況を想定する(図11参照)。   In the second embodiment, similarly to the first embodiment, the communication is interrupted during the transmission of the divided data 252 and the communication is resumed during the execution of the related process (OCR process) for the divided data 253. Assume (see FIG. 11).

MFP10は、第1実施形態と同様に、まずスキャン処理等(ステップS11,S12)(図4参照)を実行した後、1番目の分割データ251を外部端末50に送信する(ステップS13〜S16)。   As in the first embodiment, the MFP 10 first executes scan processing (steps S11 and S12) (see FIG. 4), and then transmits the first divided data 251 to the external terminal 50 (steps S13 to S16). .

外部端末50は、当該1番目の分割データ251の受信が完了する(ステップS31b(図10))と、当該分割データ251を格納部55に格納する(ステップS41)。そして、外部端末50は、当該分割データ251のフラグがオン(ON)であるかオフ(OFF)であるか、を確認する(ステップS42)。このフラグは、分割データに対するOCR処理が完了済か否かを示す情報である。分割データに対してOCR処理が施されると、当該分割データ(OCR処理の対象となっていた分割データ)のフラグがオフ(OFF)からオン(ON)に変更される。   When the reception of the first divided data 251 is completed (step S31b (FIG. 10)), the external terminal 50 stores the divided data 251 in the storage unit 55 (step S41). Then, the external terminal 50 checks whether the flag of the divided data 251 is on (ON) or off (OFF) (step S42). This flag is information indicating whether or not the OCR processing for the divided data has been completed. When the OCR process is performed on the divided data, the flag of the divided data (the divided data that was the target of the OCR process) is changed from OFF to ON.

後述するように、通信の中断を伴う場合の動作等においては、分割データに対するOCR処理がMFP10によって実行され、OCR処理の対象となっていた分割データ(フラグがオフからオンに変更された分割データ)と、OCR処理結果とが通信再開後にMFP10から外部端末50に送信される。一方、通信正常時等においては、「未処理分割データ」(OCR処理が未だ施されていない(フラグがオフの)分割データ)がMFP10から外部端末50に送信される。   As will be described later, in the operation when communication is interrupted, the OCR process for the divided data is executed by the MFP 10, and the divided data (the divided data in which the flag is changed from off to on) is the target of the OCR process. ) And the OCR processing result are transmitted from the MFP 10 to the external terminal 50 after the communication is resumed. On the other hand, when communication is normal, “unprocessed divided data” (divided data that has not been subjected to OCR processing (flag is off)) is transmitted from the MFP 10 to the external terminal 50.

MFP10から受信された分割データのフラグがオン(OCR処理が完了済)である旨が判定されると、処理はステップS43へと進む。一方、MFP10から受信された分割データ(分割データ251)のフラグがオフである旨が判定されると、処理はステップS33bに進む。ここでは、分割データ251のフラグがオフである旨が判定され、ステップS33bに進む。   If it is determined that the flag of the divided data received from the MFP 10 is on (OCR processing has been completed), the processing proceeds to step S43. On the other hand, if it is determined that the flag of the divided data (divided data 251) received from the MFP 10 is off, the process proceeds to step S33b. Here, it is determined that the flag of the divided data 251 is off, and the process proceeds to step S33b.

ステップS33bにおいては、外部端末50は、当該分割データ251に対してOCR処理を実行する(図11も参照)。具体的には、分割データ251に対して前処理(領域判別処理および切出処理)が実行されて切出画像451が抽出される。そして、当該切出画像451に対してOCR処理が施されてテキストデータがOCR処理結果として生成される。当該OCR処理結果はステップS34bにおいて格納部55に格納される。その後、ステップS43に進む。   In step S33b, the external terminal 50 performs OCR processing on the divided data 251 (see also FIG. 11). Specifically, pre-processing (area determination processing and cut-out processing) is performed on the divided data 251 and the cut-out image 451 is extracted. Then, the extracted image 451 is subjected to OCR processing, and text data is generated as an OCR processing result. The OCR processing result is stored in the storage unit 55 in step S34b. Thereafter, the process proceeds to step S43.

ステップS43においては、全ての分割データ(ここでは分割データ251〜254)と全ての処理結果(ここでは分割データ251〜254に関するOCR処理の処理結果)とが格納部55に格納された否か、が判定される。全ての分割データと全ての処理結果とが未だ格納されていない旨が判定されると、処理はステップS31bへと戻り、全ての分割データと全ての処理結果とが格納された旨が判定されると、処理はステップS36bへと進む。分割データ251の受信完了直後の時点では、未だ分割データ252〜254に関する格納処理等が未だ終了していないと判定され、処理はステップS31bに戻る。   In step S43, whether or not all the divided data (here, the divided data 251 to 254) and all the processing results (here, the processing results of the OCR processing related to the divided data 251 to 254) are stored in the storage unit 55, Is determined. If it is determined that all the divided data and all the processing results are not yet stored, the process returns to step S31b, and it is determined that all the divided data and all the processing results are stored. Then, the process proceeds to step S36b. At the time immediately after the reception of the divided data 251 is completed, it is determined that the storage processing related to the divided data 252 to 254 has not been completed yet, and the processing returns to step S31b.

MFP10は、1番目の分割データ251の送信完了後に、2番目の分割データ252の送信を開始する。当該分割データ252の送信中にMFP10と外部端末50との通信が中断(切断)する(ステップS15(図4))(図11も参照)と、処理はステップS20(図5)へと進む。   The MFP 10 starts transmitting the second divided data 252 after the transmission of the first divided data 251 is completed. If the communication between the MFP 10 and the external terminal 50 is interrupted (disconnected) during transmission of the divided data 252 (step S15 (FIG. 4)) (see also FIG. 11), the process proceeds to step S20 (FIG. 5).

そして、2番目の分割データ252に対してOCR処理(詳細には前処理およびOCR処理)がMFP10において実行され(ステップS21,S23)、OCR処理結果(テキストデータ)が格納部5に格納される(ステップS25)。換言すれば、処理実行部15は、処理対象の分割データ252に対してOCR処理を施して得られるテキストデータをOCR処理の処理結果として生成する。なお、分割データ252に対するOCR処理の完了に際して、MFP10は、分割データ252のフラグをオフからオンに変更する。   Then, OCR processing (specifically, preprocessing and OCR processing) is executed in the MFP 10 for the second divided data 252 (steps S21 and S23), and the OCR processing result (text data) is stored in the storage unit 5. (Step S25). In other words, the process execution unit 15 generates text data obtained by performing the OCR process on the divided data 252 to be processed as a process result of the OCR process. When the OCR process for the divided data 252 is completed, the MFP 10 changes the flag of the divided data 252 from off to on.

その後、3番目の分割データ253に対するOCR処理の実行中に通信が再開する(ステップS22)と、MFP10は、OCR処理結果(テキストデータ)と、OCR処理対象となっていた分割データ252,253とを、当該分割データ253に対するOCR処理の完了後に外部端末50に送信する(ステップS29)(図11も参照)。換言すれば、MFP10は、OCR処理対象の分割データ252,253に対してOCR処理が施されて得られたOCR処理結果(分割データ252,253に関するテキストデータ)を通信の再開後に外部端末50へと送信する。なお、分割データ253に対するOCR処理の完了に際して、MFP10は、分割データ253のフラグをオフからオンに変更する。   After that, when communication resumes during execution of the OCR process for the third divided data 253 (step S22), the MFP 10 determines the OCR process result (text data), the divided data 252 and 253 that are the targets of the OCR process, and Is transmitted to the external terminal 50 after the completion of the OCR processing for the divided data 253 (step S29) (see also FIG. 11). In other words, the MFP 10 sends the OCR processing result (text data related to the divided data 252 and 253) obtained by performing the OCR processing on the divided data 252 and 253 to be subjected to the OCR processing to the external terminal 50 after the communication is resumed. And send. When the OCR process for the divided data 253 is completed, the MFP 10 changes the flag of the divided data 253 from off to on.

外部端末50は、OCR処理の処理結果(分割データ252,253に対するOCR処理結果)を受信する(ステップS32b(図10))と、当該OCR処理結果を格納部55に格納する(ステップS34b)。そして、処理はステップS43に進む。   When the external terminal 50 receives the processing result of the OCR processing (the OCR processing result for the divided data 252 and 253) (step S32b (FIG. 10)), the external terminal 50 stores the OCR processing result in the storage unit 55 (step S34b). Then, the process proceeds to step S43.

また、外部端末50は、分割データ252,253をそれぞれ受信する(ステップS31b)と、当該分割データ252,253を格納部55に格納する(ステップS41)。そして、外部端末50は、分割データ252,253のフラグをそれぞれ確認し、当該フラグがオンである旨が判定されると、処理はステップS42からステップS43へと進む。この場合、ステップS32b,S34bの処理は実行されない。   Further, when the external terminal 50 receives the divided data 252 and 253, respectively (step S31b), the external terminal 50 stores the divided data 252 and 253 in the storage unit 55 (step S41). Then, the external terminal 50 checks the flags of the divided data 252 and 253, respectively. When it is determined that the flag is on, the process proceeds from step S42 to step S43. In this case, the processes of steps S32b and S34b are not executed.

MFP10は、外部端末50との通信再開後においてステップS20から復帰し、4番目の分割データ(未処理分割データ)254を外部端末50に送信する(ステップS14,S16(図4))(図11も参照)。   The MFP 10 returns from step S20 after resuming communication with the external terminal 50, and transmits the fourth divided data (unprocessed divided data) 254 to the external terminal 50 (steps S14 and S16 (FIG. 4)) (FIG. 11). See also).

外部端末50は、未処理分割データ254の受信が完了する(ステップS31b(図10))と、当該分割データ254を格納部55に格納し(ステップS41)、当該分割データ254に対してOCR処理を実行する(ステップS33b)。その後、その処理結果(テキストデータ)が格納部55に格納される(ステップS34b)。   When the external terminal 50 completes reception of the unprocessed divided data 254 (step S31b (FIG. 10)), the external terminal 50 stores the divided data 254 in the storage unit 55 (step S41), and performs OCR processing on the divided data 254. Is executed (step S33b). Thereafter, the processing result (text data) is stored in the storage unit 55 (step S34b).

そして、全ての分割データ251〜254と全てのOCR処理結果とが格納部55に格納された旨が判定され(ステップS43)、分割データ251〜254とOCR処理結果とに基づいて電子文書(サーチャブルPDFファイル)502が生成される(ステップS36b)(図11も参照)。具体的には、文書生成部65は、分割データ251〜254を結合した画像(スキャン画像201に対応する画像)にOCR処理結果を付加して(埋め込んで)サーチャブルPDF(テキストデータ付きPDF)ファイルを生成する。当該OCR処理結果は、分割データ251,254に対して外部端末50(処理実行部64)によりOCR処理が施されて得られたテキストデータと、分割データ252,253に対してMFP10(処理実行部15)によりOCR処理が施されて得られたテキストデータとを含む。   Then, it is determined that all the divided data 251 to 254 and all the OCR processing results are stored in the storage unit 55 (step S43), and an electronic document (searchable) is based on the divided data 251 to 254 and the OCR processing results. PDF file) 502 is generated (step S36b) (see also FIG. 11). Specifically, the document generation unit 65 adds (embeds) an OCR processing result to an image (an image corresponding to the scanned image 201) obtained by combining the divided data 251 to 254, and a searchable PDF (PDF with text data) file. Is generated. The result of the OCR processing is the text data obtained by subjecting the divided data 251 and 254 to OCR processing by the external terminal 50 (processing execution unit 64) and the MFP 10 (processing execution unit for the divided data 252 and 253). 15) and text data obtained by performing the OCR process.

このような態様によれば、関連処理としてOCR処理を実行するに際して、上記第1実施形態と同様の効果を得ることが可能である。   According to such an aspect, when executing the OCR process as the related process, it is possible to obtain the same effect as in the first embodiment.

なお、上記第2実施形態では、関連処理(OCR処理)が分割データ単位で実行される態様を例示した。具体的には、第2実施形態においては、ステップS23(図5)において、i番目の分割データに対するOCR処理が完了したか否か、が判定され、i番目の分割データに対するOCR処理が完了すると、OCR処理結果が格納される(ステップS25)。すなわち、分割データ単位でOCR処理が実行され、分割データ単位でその処理結果が格納される。   In the second embodiment, the mode in which the related process (OCR process) is executed in units of divided data is exemplified. Specifically, in the second embodiment, in step S23 (FIG. 5), it is determined whether or not the OCR process for the i-th divided data is completed, and when the OCR process for the i-th divided data is completed. The OCR processing result is stored (step S25). That is, the OCR process is executed in units of divided data, and the processing result is stored in units of divided data.

しかしながら、これに限定されず、OCR処理等が更に小さな単位(たとえば、分割データ内の行単位)で実行されるようにしてもよい。以下、このような改変例について説明する。   However, the present invention is not limited to this, and OCR processing or the like may be executed in smaller units (for example, in units of rows in the divided data). Hereinafter, such modifications will be described.

具体的には、この改変例においては、ステップS23(図5)において、i番目の分割データのj(jは自然数;j=1,...,M)行目に対するOCR処理が完了したか否か、が判定される。なお、値Mは、i番目の分割データに含まれる文字列の行数である。そして、i番目の分割データのj行目に対するOCR処理が完了すると、OCR処理結果が格納部5に格納される(ステップS24,S25)。すなわち、分割データ内の行単位でOCR処理が実行され、分割データ内の行単位でその処理結果が格納される。たとえば、i番目の分割データの1行目に対するOCR処理が完了すると、当該i番目の分割データの1行目のOCR処理結果が格納される。その後、未処理の行が存在する場合には、(ステップS25とステップS26との間にて、)値jがインクリメントされて次行(インクリメント後の第j行)に対するOCR処理が開始され、ステップS22に戻る。そして、ステップS22で通信非接続状態が確認された後、次のステップS23において、i番目の分割データのj行目(たとえば2行目)に対するOCR処理が完了したか否か、が再び判定される。以降、同様の動作が繰り返される。i番目の分割データの全ての行(M行)に関する処理が終了すると、値iがインクリメントされ(ステップS26,S27)、次の分割データの1行目に対するOCR処理が開始される(ステップS21)。そして、全ての分割データの全ての行に対してOCRが終了し(あるいは、或る分割データの或る行までのOCRが終了し)、通信が再開されると、ステップS22からステップS28に進む。   Specifically, in this modified example, in step S23 (FIG. 5), is the OCR processing for the j-th row of j-th divided data (j is a natural number; j = 1,..., M) completed? It is determined whether or not. The value M is the number of lines of the character string included in the i-th divided data. When the OCR process for the j-th row of the i-th divided data is completed, the OCR process result is stored in the storage unit 5 (steps S24 and S25). That is, the OCR process is executed in units of rows in the divided data, and the processing results are stored in units of rows in the divided data. For example, when the OCR process for the first line of the i-th divided data is completed, the OCR process result of the first line of the i-th divided data is stored. After that, if there is an unprocessed row (in between step S25 and step S26), the value j is incremented and the OCR processing for the next row (jth row after the increment) is started. Return to S22. Then, after the communication disconnected state is confirmed in step S22, in the next step S23, it is determined again whether or not the OCR processing for the j-th row (for example, the second row) of the i-th divided data is completed. The Thereafter, the same operation is repeated. When the processing for all the rows (M rows) of the i-th divided data is completed, the value i is incremented (steps S26 and S27), and the OCR processing for the first row of the next divided data is started (step S21). . When the OCR is completed for all the rows of all the divided data (or the OCR up to a certain row of the divided data is completed) and communication is resumed, the process proceeds from step S22 to step S28. .

また、i番目の分割データのj行目に対するOCR処理中にMFP10と外部端末50との通信が再開すると、ステップS22からステップS28に進む。この改変例では、ステップS28において、i番目の分割データのj行目に対するOCR処理は完了したか否か、が判定される。そして、i番目の分割データのj行目に対するOCR処理が完了すると、MFP10は、MFP10においてOCR処理が施された分割データに関するOCR処理結果と、OCR処理対象となっていた分割データと、未処理行情報とを外部端末50に送信する。未処理行情報は、i番目の分割データにおいてOCR処理が未だ実行されていない行(残余の行)を示す情報である。   When communication between the MFP 10 and the external terminal 50 is resumed during the OCR process for the j-th row of the i-th divided data, the process proceeds from step S22 to step S28. In this modified example, in step S28, it is determined whether or not the OCR process for the j-th row of the i-th divided data is completed. When the OCR processing for the j-th row of the i-th divided data is completed, the MFP 10 performs the OCR processing result regarding the divided data subjected to the OCR processing in the MFP 10, the divided data that is the target of the OCR processing, and the unprocessed data The line information is transmitted to the external terminal 50. The unprocessed line information is information indicating a line (remaining line) in which the OCR process has not yet been executed in the i-th divided data.

このようにして、i番目の分割データのj行目に対するOCR処理の完了後に(i番目の分割データ内の全ての行に対するOCR処理の完了を待つことを要さずに)、行単位のOCR処理結果等が外部端末50に送信される。たとえば、分割データ252の全行と分割データ253の1行目から3行目までのOCR結果等が送信される。分割データ253の未処理行(まだOCR処理が施されていない行)(たとえば、4行目以後の各行)のOCR結果は未だ存在せず送信されない。   In this way, after completion of the OCR processing for the j-th row of the i-th divided data (without waiting for completion of OCR processing for all the rows in the i-th divided data), the OCR in units of rows. A processing result or the like is transmitted to the external terminal 50. For example, all the rows of the divided data 252 and the OCR results from the first row to the third row of the divided data 253 are transmitted. The OCR result of an unprocessed row of the divided data 253 (a row that has not yet been subjected to OCR processing) (for example, each row after the fourth row) does not yet exist and is not transmitted.

その後、外部端末50は、当該未処理行情報に基づいてi番目の分割データの残余の行に対してOCR処理を実行し、その処理結果を格納部55に格納する。そして、外部端末50は、全ての分割データと、全ての分割データに対するOCR処理結果とに基づいて、電子文書を生成する。   Thereafter, the external terminal 50 performs OCR processing on the remaining rows of the i-th divided data based on the unprocessed row information, and stores the processing results in the storage unit 55. Then, the external terminal 50 generates an electronic document based on all the divided data and the OCR processing result for all the divided data.

このような改変例によれば、OCR処理がMFP10において行単位で実行されるので、当該或る分割データ内の或る行の文字列に対するOCR処理が完了すると、MFP10は当該或る行(たとえば1行目)までに関するOCR処理結果等を外部端末50に送信することができる。そして、残余の行(或る分割データの2〜10行目)に対するOCR処理が外部端末50において実行される。   According to such a modification, since the OCR process is executed in units of lines in the MFP 10, when the OCR process for a character string in a certain line in the certain divided data is completed, the MFP 10 causes the certain line (for example, The OCR processing result and the like related to the first line) can be transmitted to the external terminal 50. Then, OCR processing is executed in the external terminal 50 for the remaining rows (2nd to 10th rows of certain divided data).

このように、OCR処理が行単位で実行されることによって、MFP10と外部端末50との通信の再開後において、MFP10におけるOCR処理を比較的早期に切り上げて、OCR処理結果等を比較的早期に外部端末50に送信することができる。また、特に、外部端末50のCPU処理能力がMFP10のCPU処理能力よりも比較的優れている場合には、MFP10よりもCPU処理能力が優れている外部端末50において比較的多くの行に対して関連処理を実行することができる。そのため、OCR処理が分割データ単位で処理される場合と比べて、関連処理の処理時間を短縮することが可能であり、ひいては、電子文書の生成処理時間を短縮することが可能である。   As described above, the OCR process is executed in units of lines, so that after the communication between the MFP 10 and the external terminal 50 is resumed, the OCR process in the MFP 10 is rounded up relatively early, and the OCR process result or the like is relatively early. It can be transmitted to the external terminal 50. In particular, when the CPU processing capability of the external terminal 50 is relatively superior to the CPU processing capability of the MFP 10, the external terminal 50 having a CPU processing capability superior to that of the MFP 10 can handle a relatively large number of rows. Related processing can be performed. For this reason, it is possible to reduce the processing time of the related processing compared to the case where the OCR processing is performed in units of divided data, and in turn, it is possible to reduce the generation processing time of the electronic document.

<3.第3実施形態>
第3実施形態では、2種類の関連処理(「OCR処理」および「圧縮処理」)が実行されて、高圧縮のサーチャブルPDFファイル(サーチャブルコンパクトPDFファイル)が電子文書として生成される態様を例示する。具体的には、「OCR処理」が一の関連処理として分割データ251〜254に対して実行されるとともに、「圧縮処理」が他の関連処理として分割データ251〜254に対して実行される。そして、当該2種類の関連処理の処理結果に基づいて電子文書が生成される。詳細には、テキストデータ(OCR処理の処理結果)が処理済分割データ(圧縮処理の処理結果)に埋め込まれて高圧縮のサーチャブルPDFファイルが生成される。
<3. Third Embodiment>
The third embodiment exemplifies a mode in which two types of related processing (“OCR processing” and “compression processing”) are executed to generate a highly compressed searchable PDF file (searchable compact PDF file) as an electronic document. To do. Specifically, “OCR processing” is executed for the divided data 251 to 254 as one related process, and “compression processing” is executed for the divided data 251 to 254 as another related process. Then, an electronic document is generated based on the processing results of the two types of related processes. Specifically, text data (processing result of OCR processing) is embedded in processed divided data (processing result of compression processing) to generate a highly compressed searchable PDF file.

第3実施形態に係るMFP10においては、図4および図5の各処理に類似する処理が行われる。また、第3実施形態に係る外部端末50においては、図6の各処理に類似する処理が行われる。   In the MFP 10 according to the third embodiment, processes similar to the processes in FIGS. 4 and 5 are performed. In the external terminal 50 according to the third embodiment, processes similar to the processes in FIG. 6 are performed.

具体的には、MFP10と外部端末50との通信が正常であるときには、外部端末50は、未処理分割データ(圧縮処理およびOCR処理が未だ実行されていない分割データ(たとえば分割データ251))の受信が完了する(ステップS31(図6))と、当該未処理分割データ251に対して関連処理(圧縮処理およびOCR処理)を実行する(ステップS33)。そして、各関連処理の処理結果(処理済分割データ351およびテキストデータ)を格納部55に格納する(ステップS34)。   Specifically, when communication between the MFP 10 and the external terminal 50 is normal, the external terminal 50 stores unprocessed divided data (divided data (for example, divided data 251) for which compression processing and OCR processing have not yet been executed). When reception is completed (step S31 (FIG. 6)), related processing (compression processing and OCR processing) is executed on the unprocessed divided data 251 (step S33). Then, the processing results (processed divided data 351 and text data) of each related process are stored in the storage unit 55 (step S34).

なお、MFP10と外部端末50との通信が中断されその後に再開された際に送信される分割データ254に対しても、分割データ251に対する上述の動作と同様の動作が行われる。   Note that the same operation as that described above with respect to the divided data 251 is performed on the divided data 254 transmitted when communication between the MFP 10 and the external terminal 50 is interrupted and then resumed.

一方、MFP10と外部端末50との通信が中断すると、MFP10は、i番目の分割データ(たとえば分割データ252,253)に対して関連処理(圧縮処理およびOCR処理)を外部端末50に代わって実行する(ステップS21,S23(図5))。そして、MFP10は、分割データ252,253に関する各関連処理の処理結果(処理済分割データ352,353およびテキストデータ)を通信の再開後に外部端末50に送信する(ステップS29)。なお、ステップS29においては、処理済分割データ352,353が外部端末50に送信され、OCR処理の対象となっていた(未処理の)分割データ252,253自体は外部端末50へと送信されない。   On the other hand, when communication between the MFP 10 and the external terminal 50 is interrupted, the MFP 10 executes related processing (compression processing and OCR processing) on the i-th divided data (for example, the divided data 252 and 253) instead of the external terminal 50. (Steps S21 and S23 (FIG. 5)). Then, the MFP 10 transmits processing results (processed divided data 352 and 353 and text data) related to the divided data 252 and 253 to the external terminal 50 after resuming communication (step S29). In step S <b> 29, the processed divided data 352 and 353 are transmitted to the external terminal 50, and the (unprocessed) divided data 252 and 253 that are the targets of the OCR process are not transmitted to the external terminal 50.

その後、外部端末50において、分割データ251〜254に対して実行された圧縮処理の処理結果(処理済分割データ351〜354)と、分割データ251〜254に対して実行されたOCR処理の処理結果(テキストデータ)とに基づいて、高圧縮のサーチャブルPDFファイルが電子文書として生成される(ステップS36)。   Thereafter, in the external terminal 50, the processing results of the compression processing (processed divided data 351 to 354) executed on the divided data 251 to 254 and the processing results of the OCR processing executed on the divided data 251 to 254. Based on (text data), a highly compressed searchable PDF file is generated as an electronic document (step S36).

このような態様によれば、上記第1および第2実施形態と同様の効果を得ることが可能である。   According to such an aspect, it is possible to obtain the same effect as in the first and second embodiments.

<4.第4実施形態>
第4実施形態は、第2実施形態の変形例である。以下では、第2実施形態との相違点を中心に説明する。
<4. Fourth Embodiment>
The fourth embodiment is a modification of the second embodiment. Below, it demonstrates centering on difference with 2nd Embodiment.

第2実施形態では、関連処理(OCR処理)およびその前処理(領域判別処理および切出処理)が、通常動作時には外部端末50により実行され、通信の中断を伴う場合にはMFP10により実行される態様を例示した。   In the second embodiment, related processing (OCR processing) and its preprocessing (area determination processing and extraction processing) are executed by the external terminal 50 during normal operation, and executed by the MFP 10 when communication is interrupted. An embodiment was illustrated.

第4実施形態では、OCR処理自体は常にクラウドサーバ90により実行されるとともに、OCR処理の前処理(領域判別処理および切出処理)とクラウドサーバ90への依頼処理(OCR処理依頼)との両処理が、通常動作時には外部端末50により実行され、通信の中断を伴う場合には当該両処理がMFP10により実行される態様を例示する。   In the fourth embodiment, the OCR process itself is always executed by the cloud server 90, and both the OCR process pre-process (area determination process and cut-out process) and the request process to the cloud server 90 (OCR process request) are performed. An example is shown in which processing is executed by the external terminal 50 during normal operation, and both processing are executed by the MFP 10 when communication is interrupted.

なお、クラウドサーバ90は、MFP10とも外部端末50とも異なる外部装置(外部サーバ)である。外部端末50は、MFP10およびクラウドサーバ90と連携して電子文書を生成する。   The cloud server 90 is an external device (external server) that is different from both the MFP 10 and the external terminal 50. The external terminal 50 generates an electronic document in cooperation with the MFP 10 and the cloud server 90.

図12は、第4実施形態に係る画像形成システム1を示す図である。図12に示すように、クラウドサーバ90はネットワーク108に対して有線接続される。また、図13および図14は、第4実施形態に係る画像形成システム1における動作等を示す概念図である。また、図15は、第4実施形態に係る外部端末50の動作を示すフローチャートであり、図16は、MFP10の動作(図4)の第4実施形態に係るサブルーチン処理を示すフローチャートである。また、図17および図18は、第4実施形態に係る電子文書生成システム1における動作の概略を示す図である。   FIG. 12 is a diagram illustrating an image forming system 1 according to the fourth embodiment. As shown in FIG. 12, the cloud server 90 is wired to the network 108. FIGS. 13 and 14 are conceptual diagrams showing operations and the like in the image forming system 1 according to the fourth embodiment. FIG. 15 is a flowchart showing the operation of the external terminal 50 according to the fourth embodiment, and FIG. 16 is a flowchart showing the subroutine processing according to the fourth embodiment of the operation of the MFP 10 (FIG. 4). FIGS. 17 and 18 are diagrams showing an outline of operations in the electronic document generation system 1 according to the fourth embodiment.

この第4実施形態においても、上記各実施形態と同様に、分割データ252の送信中にMFP10と外部端末50との通信が中断し、分割データ253に対する前処理の実行中に当該通信が再開する状況を想定する(図17参照)。   Also in the fourth embodiment, as in the above embodiments, communication between the MFP 10 and the external terminal 50 is interrupted during transmission of the divided data 252, and the communication resumes during execution of preprocessing for the divided data 253. A situation is assumed (see FIG. 17).

図13に示すように、通常動作におけるMFP10と外部端末50とクラウドサーバ90とのデータ授受は、次のようにして行われる。   As shown in FIG. 13, data exchange between the MFP 10, the external terminal 50, and the cloud server 90 in the normal operation is performed as follows.

通常動作において、MFP10は、分割データを外部端末50に送信し、外部端末50は、当該分割データに対してOCR処理の前処理を実行する。そして、外部端末50は、当該前処理の処理結果と、OCR処理依頼指令(後述)とをクラウドサーバ90に送信する。クラウドサーバ90は、外部端末50からのOCR処理依頼指令に基づいてOCR処理を実行し、OCR処理結果を外部端末50に送信する。   In the normal operation, the MFP 10 transmits the divided data to the external terminal 50, and the external terminal 50 performs preprocessing of the OCR process on the divided data. Then, the external terminal 50 transmits the processing result of the preprocessing and an OCR processing request command (described later) to the cloud server 90. The cloud server 90 executes the OCR processing based on the OCR processing request command from the external terminal 50 and transmits the OCR processing result to the external terminal 50.

具体的には、外部端末50は、MFP10からの分割データ(たとえば分割データ251)の受信が完了する(ステップS31c(図15))と、当該分割データを格納し(ステップS41c)、当該分割データのフラグがオン(ON)であるかオフ(OFF)であるか、を判定する(ステップS42c)。   Specifically, when the external terminal 50 completes reception of the divided data (for example, divided data 251) from the MFP 10 (step S31c (FIG. 15)), the external terminal 50 stores the divided data (step S41c), and the divided data. It is determined whether the flag is ON (ON) or OFF (OFF) (step S42c).

仮に、当該分割データのフラグがオン(前処理が完了済)である旨が判定されると、処理は直ちにステップS43cへと進む。   If it is determined that the flag of the divided data is on (preprocessing has been completed), the process immediately proceeds to step S43c.

ここでは、当該分割データ(たとえば分割データ251)のフラグがオフである旨が判定され、外部端末50は、当該分割データ251に対してOCR処理の前処理(領域判別処理および切出処理)を実行する(ステップS33c)。そして、外部端末50は、当該分割データ251に対する前処理の処理結果(切出画像451)と、当該分割データ251に関する処理依頼指令とをクラウドサーバ90に送信する(ステップS51)(図17も参照)。この処理依頼指令は、OCR処理が未だ完了していない分割データに対するOCR処理をクラウドサーバ90によって実行し且つその処理結果(テキストデータ)を外部端末50へ送信すべき旨の指令である。換言すれば、処理依頼指令には、OCR処理が未だ完了していない分割データに対するOCR処理をクラウドサーバ90によって実行すべき旨と、その処理結果(テキストデータ)を外部端末50へ送信すべき旨とが含まれる。   Here, it is determined that the flag of the divided data (for example, divided data 251) is off, and the external terminal 50 performs pre-processing (area determination processing and extraction processing) of OCR processing on the divided data 251. Execute (step S33c). Then, the external terminal 50 transmits the processing result of the preprocessing for the divided data 251 (the cut image 451) and the processing request command related to the divided data 251 to the cloud server 90 (step S51) (see also FIG. 17). ). This processing request command is a command that the OCR processing for the divided data for which the OCR processing has not yet been completed is executed by the cloud server 90 and the processing result (text data) should be transmitted to the external terminal 50. In other words, in the processing request command, the cloud server 90 should execute the OCR processing for the divided data for which the OCR processing has not yet been completed, and the processing result (text data) should be transmitted to the external terminal 50. And are included.

クラウドサーバ90は、外部端末50からの処理依頼指令に基づいて、外部端末50から受信した切出画像451に対してOCR処理(外部端末50から依頼されたOCR処理)を実行し、OCR処理結果(テキストデータ)を生成して外部端末50に送信する(図17も参照)。換言すれば、クラウドサーバ90は、外部端末50からの処理依頼指令に基づき実行されたOCR処理に関するOCR処理結果を外部端末50に送信する。   The cloud server 90 executes OCR processing (OCR processing requested from the external terminal 50) on the cut-out image 451 received from the external terminal 50 based on the processing request command from the external terminal 50, and the OCR processing result (Text data) is generated and transmitted to the external terminal 50 (see also FIG. 17). In other words, the cloud server 90 transmits to the external terminal 50 the OCR processing result related to the OCR processing executed based on the processing request command from the external terminal 50.

外部端末50は、OCR処理結果(関連処理の処理結果)を受信する(ステップS32c)と、当該OCR処理結果を格納部55に格納する(ステップS34c)。   When the external terminal 50 receives the OCR processing result (processing result of the related processing) (step S32c), the external terminal 50 stores the OCR processing result in the storage unit 55 (step S34c).

一方、図14に示すように、通信の中断を伴う場合の動作におけるMFP10と外部端末50とクラウドサーバ90とのデータ授受は、次のようにして行われる。   On the other hand, as shown in FIG. 14, data exchange between the MFP 10, the external terminal 50, and the cloud server 90 in the operation when communication is interrupted is performed as follows.

通信の中断を伴う場合の動作においては、MFP10は、外部端末50への送信が未だ完了していない分割データに対する前処理を外部端末50に代わって実行するとともに、当該前処理の処理結果と処理依頼指令とを外部端末50に代わってクラウドサーバ90に送信する。クラウドサーバ90は、MFP10からの処理依頼指令に基づいてOCR処理を実行する。そして、通信が再開すると、MFP10は、前処理の対象となっていた分割データを外部端末50に送信し、クラウドサーバ90は、MFP10からの処理依頼指令に基づき実行したOCR処理の処理結果を外部端末50に送信する。   In the operation when the communication is interrupted, the MFP 10 performs preprocessing for the divided data that has not been transmitted to the external terminal 50 on behalf of the external terminal 50, and the processing result and processing of the preprocessing. The request command is transmitted to the cloud server 90 instead of the external terminal 50. The cloud server 90 executes OCR processing based on the processing request command from the MFP 10. When the communication is resumed, the MFP 10 transmits the divided data that has been the target of the preprocessing to the external terminal 50, and the cloud server 90 sends the processing result of the OCR processing that is executed based on the processing request command from the MFP 10 to the outside. It transmits to the terminal 50.

具体的には、MFP10と外部端末50との通信が中断すると、MFP10は、ステップS21c,S23c(図16)において、i番目の分割データ(たとえば分割データ252,253)に対してOCR処理の前処理(領域判別処理および切出処理)を外部端末50に代わって実行する。MFP10は、当該前処理が完了すると、当該前処理の処理結果(切出画像452,453)と、当該前処理が施された分割データ(分割データ252,253)に関する処理依頼指令とを、外部端末50に代わってクラウドサーバ90に送信する(ステップS62)(図17も参照)。また、当該前処理の完了に際して、MFP10は、分割データ252,253のフラグをオフからオンにそれぞれ変更する。なお、ここでは、MFP10と外部端末50との通信(およびクラウドサーバ90と外部端末50との通信)は中断されているが、MFP10とクラウドサーバ90との通信は行うことが可能(接続状態)である状況を想定する。具体的には、外部端末50のネットワーク108に対する無線接続が切断されているが、MFP10およびクラウドサーバ90のネットワーク108に対する各有線接続がいずれも良好に維持されている状況を想定する。   Specifically, when communication between the MFP 10 and the external terminal 50 is interrupted, the MFP 10 performs the OCR process before the OCR process on the i-th divided data (for example, the divided data 252 and 253) in steps S21c and S23c (FIG. 16). Processing (area determination processing and cut-out processing) is executed instead of the external terminal 50. When the preprocessing is completed, the MFP 10 sends the processing result of the preprocessing (the cut image 452, 453) and the processing request command regarding the divided data (divided data 252, 253) subjected to the preprocessing to the outside. It transmits to the cloud server 90 instead of the terminal 50 (step S62) (see also FIG. 17). Upon completion of the preprocessing, the MFP 10 changes the flags of the divided data 252 and 253 from off to on, respectively. Here, communication between the MFP 10 and the external terminal 50 (and communication between the cloud server 90 and the external terminal 50) is interrupted, but communication between the MFP 10 and the cloud server 90 can be performed (connected state). Assume a situation where Specifically, a situation is assumed in which the wireless connection of the external terminal 50 to the network 108 is disconnected, but the wired connections of the MFP 10 and the cloud server 90 to the network 108 are both well maintained.

クラウドサーバ90は、MFP10からの処理依頼指令に基づいて、MFP10から受信した切出画像452,453に対してOCR処理(MFP10から依頼されたOCR処理)をそれぞれ実行し、OCR処理結果(テキストデータ)を生成する(図17も参照)。   The cloud server 90 executes OCR processing (OCR processing requested from the MFP 10) on the cut-out images 452 and 453 received from the MFP 10 based on the processing request command from the MFP 10, and the OCR processing result (text data) ) (See also FIG. 17).

MFP10は、MFP10と外部端末50との通信が再開すると、分割データ(フラグがオンの分割データ)252,253を外部端末50に送信する(ステップS29c)(図17も参照)。   When communication between the MFP 10 and the external terminal 50 resumes, the MFP 10 transmits the divided data (divided data whose flag is on) 252 and 253 to the external terminal 50 (step S29c) (see also FIG. 17).

クラウドサーバ90は、MFP10と外部端末50との通信の再開(外部端末50のネットワーク108に対する無線接続の再開)に伴ってクラウドサーバ90と外部端末50との通信が再開すると、OCR処理結果(テキストデータ)を外部端末50に送信する(図17も参照)。換言すれば、クラウドサーバ90は、MFP10からの処理依頼指令に基づき実行されたOCR処理(分割データ252,253に関するOCR処理)の処理結果を外部端末50に送信する。   When the communication between the cloud server 90 and the external terminal 50 resumes due to the resumption of communication between the MFP 10 and the external terminal 50 (resumption of wireless connection to the network 108 of the external terminal 50), the cloud server 90 results in the OCR processing result (text Data) is transmitted to the external terminal 50 (see also FIG. 17). In other words, the cloud server 90 transmits the processing result of the OCR processing (OCR processing related to the divided data 252 and 253) executed based on the processing request command from the MFP 10 to the external terminal 50.

外部端末50は、OCR処理結果(分割データ252,253に関するOCR処理結果)をクラウドサーバ90から受信する(ステップS32c)と、当該OCR処理結果を格納部55に格納する(ステップS34c)。   When the external terminal 50 receives the OCR processing result (the OCR processing result related to the divided data 252 and 253) from the cloud server 90 (step S32c), the external terminal 50 stores the OCR processing result in the storage unit 55 (step S34c).

また、外部端末50は、分割データ(フラグがオンの分割データ)252,253をMFP10から受信する(ステップS31c)と、当該分割データ252,253を格納部55に格納する(ステップS41c)。そして処理はステップS42cを経てステップS43cへと進む。   Further, when the external terminal 50 receives the divided data (divided data whose flag is on) 252 and 253 from the MFP 10 (step S31c), the external terminal 50 stores the divided data 252 and 253 in the storage unit 55 (step S41c). Then, the process proceeds to step S43c through step S42c.

また、MFP10と外部端末50との通信再開に伴って、MFP10から外部端末50へと分割データ254が送信される。分割データ254に関しては、分割データ251に対する各処理と同様の処理が外部端末50およびクラウドサーバ90によって実行される。   Further, the divided data 254 is transmitted from the MFP 10 to the external terminal 50 as the communication between the MFP 10 and the external terminal 50 resumes. With respect to the divided data 254, the same processing as that for the divided data 251 is executed by the external terminal 50 and the cloud server 90.

その後、外部端末50(文書生成部65)は、全ての分割データ251〜254と全てのテキストデータ(分割データ251〜254に関するOCR処理の処理結果)とに基づいてサーチャブルPDFファイルを電子文書503として生成する(ステップS36c(図15))(図18も参照)。具体的には、外部端末50は、全ての分割データ251〜254と、外部端末50によってクラウドサーバ90に依頼されたOCR処理の処理結果(テキストデータ)と、MFP10によってクラウドサーバ90に依頼されたOCR処理の処理結果(テキストデータ)とに基づいて、サーチャブルPDFファイルを生成する。   After that, the external terminal 50 (document generation unit 65) converts the searchable PDF file as an electronic document 503 based on all the divided data 251 to 254 and all the text data (the processing result of the OCR process regarding the divided data 251 to 254). (Step S36c (FIG. 15)) (see also FIG. 18). Specifically, the external terminal 50 requests all the divided data 251 to 254, the processing result (text data) of the OCR processing requested by the external terminal 50 to the cloud server 90, and the cloud server 90 requested by the MFP 10. A searchable PDF file is generated based on the processing result (text data) of the OCR processing.

以上のように、第4実施形態に係る動作においては、MFP10と外部端末50との通信が中断すると、MFP10は、分割データ(外部端末50への送信が未だ完了していない分割データ)252,253に対する前処理(OCR処理の前処理)を外部端末50に代わって実行する。換言すれば、通信中断中であっても未送信の分割データに対する「前処理」がMFP10によって引き継がれて実行される。そして、MFP10は、OCR処理依頼指令とMFP10において実行された前処理に関する処理結果(切出画像452,453)とを外部端末50に代わってクラウドサーバ90に送信する。外部端末50は、MFP10によってクラウドサーバ90に依頼されたOCR処理の処理結果(分割データ252,253に関するOCR処理の処理結果)をも利用して電子文書503を生成する。   As described above, in the operation according to the fourth embodiment, when communication between the MFP 10 and the external terminal 50 is interrupted, the MFP 10 causes the divided data (divided data for which transmission to the external terminal 50 has not yet been completed) 252 Pre-processing (pre-processing of OCR processing) for H.253 is executed instead of the external terminal 50. In other words, even if communication is interrupted, “pre-processing” for unsent divided data is taken over by the MFP 10 and executed. Then, the MFP 10 transmits the OCR processing request command and the processing results (the cut images 452 and 453) related to the preprocessing executed in the MFP 10 to the cloud server 90 instead of the external terminal 50. The external terminal 50 also generates the electronic document 503 using the processing result of the OCR processing requested by the MFP 10 to the cloud server 90 (the processing result of the OCR processing regarding the divided data 252 and 253).

したがって、MFP10と外部端末50との通信が中断した場合であっても、関連処理の前処理がMFP10によって引き継がれて実行(代行して実行)され且つクラウドサーバ90に対するOCR処理(関連処理)の処理依頼がMFP10によって送信(代行依頼)されるので、クラウドサーバ90によるOCR処理の開始遅延を抑制し、電子文書の生成処理の遅延を抑制することが可能である。   Therefore, even when the communication between the MFP 10 and the external terminal 50 is interrupted, the preprocessing of the related process is taken over and executed (executed on behalf of) by the MFP 10 and the OCR process (related process) for the cloud server 90 is performed. Since the processing request is transmitted (substitute request) by the MFP 10, it is possible to suppress the delay in starting the OCR process by the cloud server 90 and the delay in the electronic document generation process.

<5.第5実施形態>
第5実施形態は、第4実施形態の変形例である。以下では、第4実施形態との相違点を中心に説明する。
<5. Fifth Embodiment>
The fifth embodiment is a modification of the fourth embodiment. Below, it demonstrates centering on difference with 4th Embodiment.

第5実施形態では、2種類の関連処理(「OCR処理」および「圧縮処理」)が実行されて、高圧縮のサーチャブルPDFファイル(サーチャブルコンパクトPDFファイル)が電子文書として生成される態様を例示する。第5実施形態では、2種類の関連処理のうちの一方の処理(OCR処理)が第4実施形態と同様にクラウドサーバ90において実行される。さらに、第5実施形態では、他方の関連処理(圧縮処理)が第1実施形態と同様に外部端末50(通信中断中においてはMFP10)において実行される。なお、第5実施形態においては、第4実施形態と同様に、OCR処理依頼は、通信正常時には外部端末50からクラウドサーバ90へと送信され、通信異常時にはMFP10からクラウドサーバ90へと送信される。   The fifth embodiment exemplifies a mode in which two types of related processing (“OCR processing” and “compression processing”) are executed to generate a highly compressed searchable PDF file (searchable compact PDF file) as an electronic document. To do. In the fifth embodiment, one of the two types of related processes (OCR process) is executed in the cloud server 90 as in the fourth embodiment. Furthermore, in the fifth embodiment, the other related process (compression process) is executed in the external terminal 50 (MFP 10 when communication is interrupted) as in the first embodiment. In the fifth embodiment, as in the fourth embodiment, the OCR processing request is transmitted from the external terminal 50 to the cloud server 90 when communication is normal, and is transmitted from the MFP 10 to the cloud server 90 when communication is abnormal. .

図19および図20は、第5実施形態に係る画像形成システム1の動作を示す概念図である。また、図21は、第5実施形態に係る外部端末50の動作を示すフローチャートであり、図22は、MFP10の動作(図4)の第5実施形態に係るサブルーチン処理を示すフローチャートである。   19 and 20 are conceptual diagrams illustrating the operation of the image forming system 1 according to the fifth embodiment. FIG. 21 is a flowchart showing the operation of the external terminal 50 according to the fifth embodiment, and FIG. 22 is a flowchart showing the subroutine processing according to the fifth embodiment of the operation of the MFP 10 (FIG. 4).

図19に示すように、通常動作において、外部端末50は、MFP10から受信した分割データに対して、OCR処理の前処理を実行するとともに圧縮処理をも実行する。また、外部端末50は、当該分割データに関するOCR処理の処理依頼をクラウドサーバ90に送信し、当該OCR処理の処理結果をクラウドサーバ90から受信する。   As shown in FIG. 19, in normal operation, the external terminal 50 performs pre-processing of OCR processing and compression processing on the divided data received from the MFP 10. Further, the external terminal 50 transmits a processing request for the OCR processing related to the divided data to the cloud server 90 and receives the processing result of the OCR processing from the cloud server 90.

具体的には、外部端末50は、MFP10からの未処理分割データ(たとえば未処理分割データ251)を受信する(ステップS31d(図21))と、当該分割データ251に対して、OCR処理の前処理を実行するとともに圧縮処理をも実行する(ステップS33d)。そして、外部端末50は、当該前処理の処理結果(切出画像451)と分割データ251に関する処理依頼指令(詳細には切出画像451に関するOCR処理依頼)とをクラウドサーバ90に送信する(ステップS51d)とともに、分割データ251に対する圧縮処理の処理結果(処理済分割データ351)を格納部55に格納する(ステップS51d)。また、外部端末50は、OCR処理結果(当該外部端末50によってクラウドサーバ90に依頼されていたOCR処理の処理結果)を、クラウドサーバ90から受信し格納部55に格納する(S32d,S34d)。   Specifically, when the external terminal 50 receives unprocessed divided data (for example, unprocessed divided data 251) from the MFP 10 (step S31d (FIG. 21)), the external terminal 50 performs the OCR processing before the divided data 251. In addition to executing the process, the compression process is also executed (step S33d). Then, the external terminal 50 transmits the processing result of the preprocessing (the cut image 451) and the processing request command for the divided data 251 (specifically, the OCR processing request for the cut image 451) to the cloud server 90 (step) Along with S51d), the processing result (processed divided data 351) of the compression processing on the divided data 251 is stored in the storage unit 55 (step S51d). Further, the external terminal 50 receives the OCR processing result (the processing result of the OCR processing requested by the external terminal 50 from the cloud server 90) from the cloud server 90 and stores it in the storage unit 55 (S32d, S34d).

一方、図20に示すように、MFP10と外部端末50との通信の中断中においては、MFP10は、外部端末50への送信が未だ完了していない分割データ(たとえば252,253)に対して、OCR処理の前処理を実行するとともに圧縮処理をも実行する。また、MFP10は、当該分割データに関する処理依頼指令等を、(MFP10とクラウドサーバ90との間の有効な通信接続を利用して、)クラウドサーバ90に送信する。MFP10と外部端末50との通信が再開すると、MFP10は、圧縮処理の処理結果(処理済分割データ)を外部端末50に送信する。また、MFP10と外部端末50との通信の再開(外部端末50のネットワーク108に対する無線接続の再開)に伴ってクラウドサーバ90と外部端末50との通信が再開すると、外部端末50は、OCR処理の処理結果をクラウドサーバ90から受信する。   On the other hand, as shown in FIG. 20, during the interruption of communication between the MFP 10 and the external terminal 50, the MFP 10 applies to the divided data (for example, 252 and 253) for which transmission to the external terminal 50 has not been completed yet. A pre-process of the OCR process is executed and a compression process is also executed. In addition, the MFP 10 transmits a processing request command or the like related to the divided data to the cloud server 90 (using an effective communication connection between the MFP 10 and the cloud server 90). When communication between the MFP 10 and the external terminal 50 resumes, the MFP 10 transmits the processing result (processed divided data) of the compression process to the external terminal 50. Further, when communication between the cloud server 90 and the external terminal 50 is resumed due to resumption of communication between the MFP 10 and the external terminal 50 (resumption of wireless connection of the external terminal 50 to the network 108), the external terminal 50 performs OCR processing. A processing result is received from the cloud server 90.

具体的には、外部端末50の無線ネットワーク通信の異常発生に伴ってMFP10と外部端末50との通信が中断すると、MFP10は、i番目の分割データ(たとえば分割データ252,253)に対して、OCR処理の前処理(切出画像452,453の切出処理等)と、圧縮処理とを、外部端末50に代わって実行する(ステップS21d,S23d(図22))。そして、MFP10は、当該前処理の処理結果(切出画像452,453)と、分割データ252,253に関する処理依頼指令(詳細には切出画像452,453に関するOCR処理依頼指令)と、を外部端末50に代わってクラウドサーバ90に送信する(ステップS62d)。この通信は、MFP10とクラウドサーバ90との間の有効な通信接続(有線接続)を利用して行われる。また、MFP10は、分割データ252,253に対する圧縮処理の処理結果(処理済分割データ352,353)を格納部5に格納する(ステップS25d)。なお、ここでの処理依頼指令は、外部端末50への送信が未だ完了していない分割データであってクラウドサーバ90によるOCR処理が未だ完了していない分割データに関する処理依頼指令である。   Specifically, when communication between the MFP 10 and the external terminal 50 is interrupted due to the occurrence of an abnormality in the wireless network communication of the external terminal 50, the MFP 10 determines that the i-th divided data (for example, the divided data 252 and 253) Pre-processing of the OCR process (cut-out processing of the cut images 452 and 453, etc.) and compression processing are executed in place of the external terminal 50 (steps S21d and S23d (FIG. 22)). Then, the MFP 10 outputs the processing result of the preprocessing (the cut image 452, 453) and the processing request command for the divided data 252, 253 (specifically, the OCR processing request command for the cut image 452, 453) to the outside. It transmits to the cloud server 90 instead of the terminal 50 (step S62d). This communication is performed using an effective communication connection (wired connection) between the MFP 10 and the cloud server 90. In addition, the MFP 10 stores the processing results of the compression processing on the divided data 252 and 253 (processed divided data 352 and 353) in the storage unit 5 (step S25d). Here, the processing request command is a processing request command related to divided data that has not yet been transmitted to the external terminal 50 and for which the OCR processing by the cloud server 90 has not yet been completed.

外部端末50の無線ネットワーク通信が正常状態に復帰することに伴ってMFP10と外部端末50との通信が再開すると、MFP10は、(送信未完了の)分割データ252,253に関する圧縮処理の処理結果(処理済分割データ352,353)を外部端末50に送信し(ステップS29d)、外部端末50は、MFP10から受信した処理済分割データ352,353を格納部55に格納する(ステップS32d,S34d(図21))。また、外部端末50の無線ネットワーク通信の復帰に伴って外部端末50とクラウドサーバ90との通信が再開すると、外部端末50は、分割データ252,253に関するOCR処理(MFP10によってクラウドサーバ90に依頼されたOCR処理)の処理結果をクラウドサーバ90から受信する。   When communication between the MFP 10 and the external terminal 50 resumes as the wireless network communication of the external terminal 50 returns to a normal state, the MFP 10 performs processing results of compression processing on the divided data 252 and 253 (transmission incomplete) ( The processed divided data 352, 353) are transmitted to the external terminal 50 (step S29d), and the external terminal 50 stores the processed divided data 352, 353 received from the MFP 10 in the storage unit 55 (steps S32d, S34d (FIG. 21)). Further, when communication between the external terminal 50 and the cloud server 90 is resumed as the external terminal 50 returns to the wireless network communication, the external terminal 50 performs an OCR process on the divided data 252 and 253 (requested to the cloud server 90 by the MFP 10). The processing result of the OCR processing) is received from the cloud server 90.

なお、MFP10と外部端末50との通信が中断されその後に再開された際に送信される分割データ254に対しては、分割データ251に対する動作と同様の動作(通常動作)が行われる。   Note that the same operation (normal operation) as that for the divided data 251 is performed on the divided data 254 transmitted when communication between the MFP 10 and the external terminal 50 is interrupted and then resumed.

その後、外部端末50(文書生成部65)は、全ての処理済分割データ351〜354と全てのテキストデータ(分割データ251〜254に対するOCR処理の処理結果)とに基づいて高圧縮のサーチャブルPDFファイルを電子文書として生成する(ステップS36d(図21))。具体的には、外部端末50は、外部端末50にて実行された圧縮処理の処理結果(処理済分割データ351,354)と、MFP10にて実行された圧縮処理の処理結果(処理済分割データ352,353)と、外部端末50によってクラウドサーバ90に依頼されたOCR処理の処理結果(テキストデータ)と、MFP10によってクラウドサーバ90に依頼されたOCR処理の処理結果(テキストデータ)とに基づいて、サーチャブルPDFファイルを生成する。   After that, the external terminal 50 (document generation unit 65) performs a highly compressed searchable PDF file based on all processed divided data 351 to 354 and all text data (processing results of OCR processing on the divided data 251 to 254). Is generated as an electronic document (step S36d (FIG. 21)). Specifically, the external terminal 50 processes the processing results of the compression processing executed by the external terminal 50 (processed divided data 351 and 354) and the processing results of the compression processing executed by the MFP 10 (processed divided data). 352, 353), the processing result (text data) of the OCR process requested by the external terminal 50 to the cloud server 90, and the processing result (text data) of the OCR process requested by the MFP 10 to the cloud server 90. Generate a searchable PDF file.

このような態様によれば、第1実施形態および第4実施形態と同様の効果を得ることが可能である。   According to such an aspect, it is possible to obtain the same effects as those of the first embodiment and the fourth embodiment.

<6.変形例等>
以上、この発明の実施の形態について説明したが、この発明は上記内容のものに限定されるものではない。
<6. Modified example>
Although the embodiment of the present invention has been described above, the present invention is not limited to the above-described content.

たとえば、上記各実施形態では、MFP10と外部端末50との通信が再開すると、MFP10は、MFP10にて特定の分割データに対する関連処理が完了するまで各種データ(処理結果等)を外部端末50に送信しない(すなわち待機する)態様を例示したが、これに限定されない。   For example, in each of the embodiments described above, when communication between the MFP 10 and the external terminal 50 resumes, the MFP 10 transmits various data (processing results and the like) to the external terminal 50 until the MFP 10 completes the related processing for specific divided data. Although the mode which does not do (namely, waits) was illustrated, it is not limited to this.

具体的には、MFP10と外部端末50との通信が再開すると、MFP10は、MFP10にて特定の分割データに対する関連処理を直ちに中止して各種データ(処理結果等)を外部端末50に送信し、当該特定の分割データに対する当該関連処理を外部端末50に実行させるようにしてもよい。   Specifically, when communication between the MFP 10 and the external terminal 50 resumes, the MFP 10 immediately stops the related processing for specific divided data in the MFP 10 and transmits various data (processing results and the like) to the external terminal 50. You may make it make the external terminal 50 perform the said related process with respect to the said specific division data.

あるいは、MFP10と外部端末50との通信の再開時点において、特定の分割データに関する当該関連処理をMFP10で継続的に実行するか当該特定の分割データに関する当該関連処理を外部端末50でやり直す(新たに実行する)かを決定するようにしてもよい。   Alternatively, when the communication between the MFP 10 and the external terminal 50 is resumed, the related processing relating to the specific divided data is continuously executed by the MFP 10 or the related processing relating to the specific divided data is performed again on the external terminal 50 (newly It is also possible to determine whether to execute.

図23は、この変形例に係るMFP10の機能ブロック図を示す図である。図23に示すように、コントローラ9は算出部16をさらに備える。   FIG. 23 is a functional block diagram of the MFP 10 according to this modification. As shown in FIG. 23, the controller 9 further includes a calculation unit 16.

算出部16は、MFP10と外部端末50との通信の再開時点においてMFP10(処理実行部15)による関連処理が引き続き実行されている特定の分割データ(たとえば分割データ253)に関する処理時間を算出する。   The calculating unit 16 calculates a processing time for specific divided data (for example, divided data 253) for which the related processing by the MFP 10 (processing execution unit 15) is continuously executed at the time when communication between the MFP 10 and the external terminal 50 is resumed.

具体的には、MFP10(算出部16)は、特定の分割データ(分割データ253)に対する関連処理を外部端末50において新たに実行するための所要処理時間T1(当該関連処理の所要時間)を、外部端末50のCPU処理能力等に基づいて算出する。より詳細には、MFP10は、通信の正常動作時において、サンプル画像データ(基準データ)のデータ量D0に対する関連処理の所要処理時間(基準処理時間)TA0を外部端末50に予め計測させ、外部端末50による関連処理の基準処理時間TA0を外部端末50から予め受信しておく。そして、MFP10は、基準データのデータ量D0と分割データ253のデータ量D1との比率に当該基準処理時間TA0を乗じて、外部端末50の処理実行部64による分割データ253に対する関連処理の所要処理時間T1を算出する(T1=TA0*D1/D0)。   Specifically, the MFP 10 (calculation unit 16) calculates a required processing time T1 (time required for the related processing) for newly executing the related processing for the specific divided data (divided data 253) in the external terminal 50. Calculation is based on the CPU processing capacity of the external terminal 50 and the like. More specifically, the MFP 10 causes the external terminal 50 to measure in advance the required processing time (reference processing time) TA0 of the related processing with respect to the data amount D0 of the sample image data (reference data) during the normal operation of the communication. The reference processing time TA0 of the related processing by 50 is received from the external terminal 50 in advance. Then, the MFP 10 multiplies the ratio between the data amount D0 of the reference data and the data amount D1 of the divided data 253 by the reference processing time TA0, and the required processing of the related processing for the divided data 253 by the processing execution unit 64 of the external terminal 50. Time T1 is calculated (T1 = TA0 * D1 / D0).

また、MFP10(算出部16)は、特定の分割データ(分割データ253)に対する関連処理をMFP10において引き続き実行するための残余の所要処理時間ΔT2を、MFP10のCPU処理能力等に基づいて算出する。当該所要処理時間ΔT2は、通信再開時点から当該関連処理の完了時点までの所要時間(当該関連処理に関する残余の処理時間)である。   Further, the MFP 10 (calculation unit 16) calculates the remaining required processing time ΔT2 for continuously executing the related processing for the specific divided data (divided data 253) in the MFP 10 based on the CPU processing capability of the MFP 10 and the like. The required processing time ΔT2 is a required time from the communication resumption time to the completion time of the related processing (the remaining processing time related to the related processing).

具体的には、まず、通信正常時において、MFP10は、サンプル画像データ(基準データ)のデータ量D0に対するMFP10による関連処理の所要処理時間(基準処理時間)TB0を予め計測しておく。   Specifically, first, when communication is normal, the MFP 10 measures in advance the required processing time (reference processing time) TB0 of the related processing by the MFP 10 with respect to the data amount D0 of the sample image data (reference data).

その後、MFP10と外部端末50との通信が中断された後に当該通信が再開されると、MFP10は、分割データ253の全データのうち関連処理が通信再開時点で未だ実行されていないデータのデータ量(データ残量)ΔD2を取得する。そして、MFP10は、基準データのデータ量D0と分割データ253における当該データ残量ΔD2との比率に当該基準処理時間TB0を乗じて、MFP10の処理実行部15による分割データ253に対する関連処理の当該通信の再開時点からの残余の所要処理時間ΔT2を算出する(ΔT2=TB0*ΔD2/D0)。   After that, when the communication is resumed after the communication between the MFP 10 and the external terminal 50 is interrupted, the MFP 10 causes the data amount of the data that has not been executed at the time when the related process is resumed among all the data of the divided data 253. (Remaining data) ΔD2 is acquired. Then, the MFP 10 multiplies the ratio between the data amount D0 of the reference data and the data remaining amount ΔD2 in the divided data 253 by the reference processing time TB0, and performs communication related processing for the divided data 253 by the process execution unit 15 of the MFP 10. The remaining required processing time ΔT2 from the restart point of time is calculated (ΔT2 = TB0 * ΔD2 / D0).

そして、MFP10(処理実行部15)は、外部端末50における関連処理の所要処理時間T1と、MFP10における関連処理の残余の所要処理時間ΔT2とを比較する。   Then, the MFP 10 (process execution unit 15) compares the required processing time T1 of the related processing in the external terminal 50 with the remaining required processing time ΔT2 of the related processing in the MFP 10.

所要処理時間T1が残余の所要処理時間ΔT2よりも短い旨が判定される場合には、処理実行部15は、分割データ253に対する関連処理を中止するとともに、(処理前の)分割データ253をMFP10(送信部4a)によって外部端末50に送信させる。そして、外部端末50に送信された当該特定の分割データに対する当該関連処理が、当該外部端末50によって実行される。   When it is determined that the required processing time T1 is shorter than the remaining required processing time ΔT2, the process execution unit 15 stops the related processing for the divided data 253 and the divided data 253 (before processing) is changed to the MFP 10. (Transmission unit 4a) causes external terminal 50 to transmit. Then, the related process for the specific divided data transmitted to the external terminal 50 is executed by the external terminal 50.

また、所要処理時間T1が残余の所要処理時間ΔT2よりも長い旨が判定される場合には、処理実行部15は、分割データ253に対する関連処理の実行を継続するとともに、当該分割データ253に対する関連処理の完了後に当該関連処理の処理結果をMFP10(送信部4a)によって外部端末50に送信させる。   If it is determined that the required processing time T1 is longer than the remaining required processing time ΔT2, the process execution unit 15 continues the execution of the related process for the divided data 253 and also relates to the divided data 253. After the processing is completed, the processing result of the related processing is transmitted to the external terminal 50 by the MFP 10 (transmission unit 4a).

また、上記各実施形態では、MFP10と外部端末50との通信が中断すると、MFP10において分割データに対する関連処理が(即時に)開始される態様を例示したが、これに限定されない。具体的には、MFP10と外部端末50との通信の中断時点において、関連処理とは異なる処理(実行中処理)がMFP10において実行中である場合には、当該実行中処理の完了後に当該関連処理を開始するようにしてもよい。   Further, in each of the embodiments described above, the mode in which the related processing for the divided data is started (immediately) in the MFP 10 when the communication between the MFP 10 and the external terminal 50 is interrupted is illustrated, but the present invention is not limited to this. Specifically, when the MFP 10 is executing a process (in-process) that is different from the related process at the time when communication between the MFP 10 and the external terminal 50 is interrupted, the related process is performed after the in-execution process is completed. May be started.

図24は、MFP10における各処理(ジョブ)の優先順位が規定(管理)された優先テーブル(優先順位管理表)600を示す図である。なお、この優先テーブル600はMFP10において予め規定されている。処理実行部15は、実行中処理の優先順位と関連処理の優先順位とを当該優先テーブル600に基づいて比較する。   FIG. 24 is a diagram showing a priority table (priority management table) 600 in which the priority order of each process (job) in the MFP 10 is defined (managed). The priority table 600 is defined in advance in the MFP 10. The process execution unit 15 compares the priority of the process being executed with the priority of the related process based on the priority table 600.

たとえば、MFP10と外部端末50との通信の中断時点にてMFP10においてファクシミリ受信処理が実行中である場合には、関連処理の優先順位は当該ファクシミリ受信処理の優先順位よりも低いため(図24参照)、MFP10(処理実行部15)は、当該ファクシミリ受信処理の完了後に関連処理を開始する。   For example, when the facsimile reception process is being executed in the MFP 10 at the time when communication between the MFP 10 and the external terminal 50 is interrupted, the priority order of the related process is lower than the priority order of the facsimile reception process (see FIG. 24). ), MFP 10 (process execution unit 15) starts the related process after the facsimile reception process is completed.

また、当該通信の中断時点にてMFP10においてプリント処理が実行中である場合には、関連処理の優先順位は当該プリント処理の優先順位よりも高いため(図24参照)、処理実行部15は、関連処理を直ちに開始する。換言すれば、処理実行部15は、当該プリント処理を中断し(プリント処理に割り込んで)、関連処理を開始する。   If the print processing is being executed in the MFP 10 at the time when the communication is interrupted, the priority of the related processing is higher than the priority of the print processing (see FIG. 24). Start related processing immediately. In other words, the process execution unit 15 interrupts the print process (interrupts the print process) and starts the related process.

なお、MFP10における各処理の優先順位は優先テーブル600に示す順位に限定されず、当該各処理の優先順位は適宜に規定されればよい。   Note that the priority order of each process in the MFP 10 is not limited to the order shown in the priority table 600, and the priority order of each process may be appropriately defined.

また、上記各実施形態では、外部端末50の操作画面(不図示)において電子文書(501,502)の生成指示が付与される態様を例示したが、これに限定されず、MFP10の操作画面801(図25)において電子文書の生成指示が付与されるようにしてもよい。   In each of the above embodiments, an example in which an instruction to generate an electronic document (501, 502) is given on an operation screen (not shown) of the external terminal 50 is not limited to this. The operation screen 801 of the MFP 10 is not limited thereto. In FIG. 25, an electronic document generation instruction may be given.

たとえば、MFP10と外部端末50との遠隔操作が開始されると、MFP10のタッチパネル25に操作画面801(図25参照)が表示される。そして、ユーザはボタン701〜703のいずれか(たとえばボタン701)を押下することによって所望の電子文書を選択する。その後、OKボタン705が押下されると、当該所望の電子文書(コンパクトPDFファイル)の生成処理が開始される。このように、MFP10において電子文書の生成指示が付与されるようにしてもよい。   For example, when remote operation between the MFP 10 and the external terminal 50 is started, an operation screen 801 (see FIG. 25) is displayed on the touch panel 25 of the MFP 10. Then, the user selects a desired electronic document by pressing one of the buttons 701 to 703 (for example, the button 701). Thereafter, when the OK button 705 is pressed, the generation process of the desired electronic document (compact PDF file) is started. Thus, the MFP 10 may be given an instruction to generate an electronic document.

また、上記各実施形態では、スキャン画像201が(所定数の水平ラインで構成される)帯状領域を単位として分割される態様を例示したが、これに限定されない。具体的には、スキャン画像がタイル状領域(帯状領域が所定数の垂直ライン毎に区分された領域)を単位として分割されるようにしてもよい。   In each of the above-described embodiments, the scan image 201 is illustrated as being divided in units of band-like regions (configured with a predetermined number of horizontal lines), but the present invention is not limited to this. Specifically, the scan image may be divided in units of tiled areas (areas in which band-like areas are divided for each predetermined number of vertical lines).

また、本願では、「分割データに関して関連処理が実行される」、との表現には、分割データに対して関連処理が「間接的に」(前処理を経て)実行される態様と、分割データに対して関連処理が「直接的に」(前処理を経ることなく)実行される態様とが含まれるものとする。   In addition, in the present application, the expression “related processing is executed on divided data” includes an aspect in which related processing is executed “indirectly” (through preprocessing) on divided data, and divided data The related processing is executed “directly” (without going through preprocessing).

1 画像形成システム(電子文書生成システム)
10 MFP(画像形成装置)
50 外部端末
90 クラウドサーバ
201 スキャン画像
251〜254 (未処理)分割データ
351〜354 処理済分割データ
451〜454 切出画像
501〜503 電子文書
1 Image formation system (electronic document generation system)
10 MFP (image forming apparatus)
50 External terminal
90 Cloud Server 201 Scanned Image 251 to 254 (Unprocessed) Divided Data 351 to 354 Processed Divided Data 451 to 454 Cut Image 501 to 503 Electronic Document

Claims (16)

電子文書生成システムであって、
原稿のスキャン画像を生成する画像形成装置と、
前記スキャン画像に基づく電子文書を生成する外部端末と、
を備え、
前記画像形成装置は、
前記スキャン画像を複数の領域に分割して複数の分割データを生成する分割データ生成手段と、
前記複数の分割データを前記外部端末に送信する送信手段と、
を有し、
前記外部端末は、
前記電子文書の生成に関連する関連処理が未だ完了していない分割データに関して、前記関連処理を実行する第1の処理実行手段と、
前記複数の分割データに関する前記関連処理の処理結果に基づいて前記電子文書を生成する文書生成手段と、
を有し、
前記画像形成装置は、
前記複数の分割データの送信完了前に前記画像形成装置と前記外部端末との通信が中断すると、前記複数の分割データのうち前記外部端末への送信が未だ完了していない分割データの少なくとも1つに関して、前記関連処理を前記外部端末に代わって実行する第2の処理実行手段、
をさらに有し、
前記画像形成装置の前記送信手段は、前記第2の処理実行手段により前記関連処理が実行された分割データに関する処理結果を前記通信の再開後に前記外部端末に送信し、
前記外部端末の前記文書生成手段は、前記複数の分割データのうち前記外部端末の前記第1の処理実行手段により前記関連処理が実行された分割データに関する処理結果である第1の処理結果と、前記複数の分割データのうち前記画像形成装置の前記第2の処理実行手段により前記関連処理が実行された分割データに関する処理結果である第2の処理結果とに基づいて、前記電子文書を生成し、
前記画像形成装置は、
前記通信の再開時点において前記画像形成装置の前記第2の処理実行手段による前記関連処理が未だ実行されている特定の分割データに関する処理時間を算出する算出手段、
をさらに有し、
前記算出手段は、前記第1の処理実行手段による前記特定の分割データに関する前記関連処理の所要時間である第1の所要処理時間を前記外部端末の処理能力に基づいて算出するとともに、前記第2の処理実行手段による前記特定の分割データに関する前記関連処理の前記再開時点からの残余の所要処理時間である第2の所要処理時間を前記画像形成装置の処理能力に基づいて算出し、
前記画像形成装置の前記第2の処理実行手段は、
前記通信が再開されると、前記第1の所要処理時間と前記第2の所要処理時間とを比較し、
前記第1の所要処理時間が前記第2の所要処理時間よりも長い旨が判定される場合には、前記特定の分割データに関する前記関連処理の実行を継続するとともに、前記特定の分割データに関する前記関連処理の完了後に、前記特定の分割データに関する前記関連処理の処理結果を前記送信手段によって前記外部端末に送信させ、
前記第1の所要処理時間が前記第2の所要処理時間よりも短い旨が判定される場合には、前記特定の分割データに関する前記関連処理を中止するとともに、前記特定の分割データを前記送信手段によって前記外部端末に送信させることを特徴とする電子文書生成システム。
An electronic document generation system,
An image forming apparatus for generating a scanned image of a document;
An external terminal for generating an electronic document based on the scanned image;
With
The image forming apparatus includes:
Divided data generating means for dividing the scanned image into a plurality of regions to generate a plurality of divided data;
Transmitting means for transmitting the plurality of divided data to the external terminal;
Have
The external terminal is
First processing execution means for executing the related processing with respect to divided data for which the related processing related to generation of the electronic document has not been completed;
Document generating means for generating the electronic document based on a processing result of the related processing relating to the plurality of divided data;
Have
The image forming apparatus includes:
If communication between the image forming apparatus and the external terminal is interrupted before transmission of the plurality of divided data is completed , at least one of the plurality of divided data that has not yet been transmitted to the external terminal. The second process execution means for executing the related process on behalf of the external terminal,
Further comprising
The transmission unit of the image forming apparatus transmits a processing result related to the divided data on which the related processing is executed by the second processing execution unit to the external terminal after the communication is resumed,
The document generation unit of the external terminal includes a first processing result that is a processing result related to the divided data for which the related processing has been executed by the first processing execution unit of the external terminal among the plurality of divided data; based on the second processing result as a processing result about the divided data the relevant process is executed by the second process execution means of the plurality of the image forming apparatus of the divided data, it generates the electronic document ,
The image forming apparatus includes:
Calculating means for calculating a processing time relating to specific divided data for which the related processing by the second processing execution means of the image forming apparatus is still being executed at the time when the communication is resumed;
Further comprising
The calculating means calculates a first required processing time, which is a required time of the related processing relating to the specific divided data by the first processing executing means, based on the processing capability of the external terminal, and the second A second required processing time that is a remaining required processing time from the restart point of the related processing relating to the specific divided data by the processing execution means is calculated based on processing capability of the image forming apparatus,
The second processing execution unit of the image forming apparatus includes:
When the communication is resumed, the first required processing time is compared with the second required processing time,
When it is determined that the first required processing time is longer than the second required processing time, the execution of the related processing relating to the specific divided data is continued and the related to the specific divided data After the completion of the related process, the processing unit transmits the processing result of the related process related to the specific divided data to the external terminal,
When it is determined that the first required processing time is shorter than the second required processing time, the related processing relating to the specific divided data is stopped, and the specific divided data is transmitted to the transmission unit. The electronic document generation system , wherein the external terminal transmits the electronic document.
請求項1に記載の電子文書生成システムにおいて、
前記画像形成装置の前記送信手段は、前記複数の分割データのうち前記通信の再開時点において前記外部端末への送信が未だ完了していない分割データであって前記通信の再開時点において前記画像形成装置の前記第2の処理実行手段による前記関連処理が未だ開始されていない分割データである一部の分割データを前記通信の再開後に前記外部端末に送信し、
前記外部端末の前記第1の処理実行手段は、前記通信の再開後に受信された前記一部の分割データに関して前記関連処理を実行し、
前記外部端末の前記文書生成手段は、前記通信の中断前と前記通信の再開後との双方における前記第1の処理実行手段による前記関連処理の処理結果を含む前記第1の処理結果と、前記第2の処理実行手段による前記関連処理の処理結果である前記第2の処理結果とに基づいて、前記電子文書を生成することを特徴とする電子文書生成システム。
The electronic document generation system according to claim 1 ,
The transmission unit of the image forming apparatus is divided data that has not yet been transmitted to the external terminal at the time when the communication is resumed among the plurality of pieces of divided data, and the image forming apparatus when the communication is resumed. A part of the divided data, which is the divided data for which the related processing by the second processing execution means has not yet started, is transmitted to the external terminal after resuming the communication,
The first process execution means of the external terminal executes the related process for the partial data received after the communication is resumed,
The document generation unit of the external terminal includes the first processing result including the processing result of the related processing by the first processing execution unit both before the interruption of the communication and after the restart of the communication, An electronic document generation system that generates the electronic document based on the second processing result that is a processing result of the related processing by a second processing execution unit.
請求項1または請求項2に記載の電子文書生成システムにおいて、
前記関連処理は、前記スキャン画像内の互いに異なる種別の領域を互いに異なる圧縮率で圧縮する圧縮処理を含み、
前記外部端末の前記文書生成手段は、前記第1の処理実行手段により前記圧縮処理が施された分割データである前記第1の処理結果と、前記第2の処理実行手段により前記圧縮処理が施された分割データである前記第2の処理結果とに基づいて、前記電子文書を生成することを特徴とする電子文書生成システム。
The electronic document generation system according to claim 1 or 2 ,
The related processing includes compression processing for compressing different types of regions in the scanned image at different compression rates,
The document generation unit of the external terminal performs the compression processing by the first processing result that is the divided data subjected to the compression processing by the first processing execution unit and the second processing execution unit. An electronic document generation system that generates the electronic document based on the second processing result that is the divided data.
請求項1または請求項2に記載の電子文書生成システムにおいて、
前記関連処理は、光学文字認識処理を含み、
前記第1の処理実行手段は、その処理対象の分割データに関して前記光学文字認識処理を施して得られる第1のテキストデータを前記第1の処理結果として生成し、
前記第2の処理実行手段は、その処理対象の分割データに関して前記光学文字認識処理を施して得られる第2のテキストデータを前記第2の処理結果として生成し、
前記外部端末の前記文書生成手段は、前記複数の分割データと、前記第1の処理結果として生成された前記第1のテキストデータと、前記第2の処理結果として生成された前記第2のテキストデータとに基づいて、前記電子文書を生成することを特徴とする電子文書生成システム。
The electronic document generation system according to claim 1 or 2 ,
The related processing includes optical character recognition processing,
The first process execution means generates first text data obtained by performing the optical character recognition process on the divided data to be processed as the first process result,
The second processing execution means generates second text data obtained by performing the optical character recognition processing on the divided data to be processed as the second processing result,
The document generation unit of the external terminal includes the plurality of divided data, the first text data generated as the first processing result, and the second text generated as the second processing result. An electronic document generation system that generates the electronic document based on data.
請求項1ないし請求項4のいずれかに記載の電子文書生成システムにおいて、
前記画像形成装置の前記第2の処理実行手段は、
前記通信の中断時点において、前記画像形成装置において前記関連処理とは異なる処理が実行中である場合には、当該実行中の処理である実行中処理の優先順位と前記関連処理の優先順位とを、前記画像形成装置における各処理の優先順位が規定された優先テーブルに基づいて比較し、
前記関連処理の優先順位が前記実行中処理の優先順位よりも高い場合には、前記関連処理を直ちに開始し、
前記関連処理の優先順位が前記実行中処理の優先順位よりも低い場合には、前記実行中処理の完了後に前記関連処理を開始することを特徴とする電子文書生成システム。
The electronic document generation system according to any one of claims 1 to 4 ,
The second processing execution unit of the image forming apparatus includes:
If a process different from the related process is being executed in the image forming apparatus at the time when the communication is interrupted, the priority of the process being executed and the priority of the related process are determined. , The priority of each process in the image forming apparatus is compared based on a defined priority table,
If the priority of the related process is higher than the priority of the running process, immediately start the related process,
The electronic document generation system, wherein when the priority order of the related process is lower than the priority order of the executing process, the related process is started after the executing process is completed.
電子文書を生成する外部端末と通信可能な画像形成装置であって、
原稿のスキャン画像を複数の領域に分割して複数の分割データを生成する分割データ生成手段と、
前記複数の分割データを前記外部端末に送信し、前記電子文書の生成に関連する関連処理が未だ完了していない分割データに関する前記関連処理を前記外部端末に実行させる送信手段と、
前記複数の分割データの送信完了前に前記画像形成装置と前記外部端末との通信が中断すると、前記複数の分割データのうち前記外部端末への送信が未だ完了していない分割データの少なくとも1つに関して、前記関連処理を前記外部端末に代わって実行する処理実行手段と、
を備え、
前記送信手段は、前記処理実行手段により前記関連処理が実行された分割データに関する処理結果を前記通信の再開後に前記外部端末に送信し、
前記画像形成装置は、
前記通信の再開時点において前記画像形成装置の前記処理実行手段による前記関連処理が未だ実行されている特定の分割データに関する処理時間を算出する算出手段、
をさらに備え、
前記算出手段は、前記外部端末による前記特定の分割データに関する前記関連処理の所要時間である第1の所要処理時間を前記外部端末の処理能力に基づいて算出するとともに、前記画像形成装置の前記処理実行手段による前記特定の分割データに関する前記関連処理の前記再開時点からの残余の所要処理時間である第2の所要処理時間を前記画像形成装置の処理能力に基づいて算出し、
前記処理実行手段は、
前記通信が再開されると、前記第1の所要処理時間と前記第2の所要処理時間とを比較し、
前記第1の所要処理時間が前記第2の所要処理時間よりも長い旨が判定される場合には、前記特定の分割データに関する前記関連処理の実行を継続するとともに、前記特定の分割データに関する前記関連処理の完了後に、前記特定の分割データに関する前記関連処理の処理結果を前記送信手段によって前記外部端末に送信させ、
前記第1の所要処理時間が前記第2の所要処理時間よりも短い旨が判定される場合には、前記特定の分割データに関する前記関連処理を中止するとともに、前記特定の分割データを前記送信手段によって前記外部端末に送信させることを特徴とする画像形成装置。
An image forming apparatus capable of communicating with an external terminal that generates an electronic document,
Divided data generation means for dividing a scanned image of a document into a plurality of regions and generating a plurality of divided data;
Transmitting means for transmitting the plurality of divided data to the external terminal, and causing the external terminal to execute the related processing relating to the divided data that has not yet been completed related processing related to generation of the electronic document;
If communication between the image forming apparatus and the external terminal is interrupted before transmission of the plurality of divided data is completed , at least one of the plurality of divided data that has not yet been transmitted to the external terminal. With respect to the processing execution means for executing the related processing on behalf of the external terminal,
With
The transmitting unit transmits a processing result related to the divided data on which the related processing has been executed by the processing executing unit to the external terminal after resuming the communication ,
The image forming apparatus includes:
Calculating means for calculating a processing time relating to specific divided data for which the related processing by the processing execution means of the image forming apparatus is still being executed at the time of restarting the communication;
Further comprising
The calculation means calculates a first required processing time, which is a time required for the related processing relating to the specific divided data by the external terminal, based on a processing capability of the external terminal, and the processing of the image forming apparatus A second required processing time that is a remaining required processing time from the restart point of the related processing relating to the specific divided data by the execution unit is calculated based on the processing capability of the image forming apparatus;
The process execution means includes
When the communication is resumed, the first required processing time is compared with the second required processing time,
When it is determined that the first required processing time is longer than the second required processing time, the execution of the related processing relating to the specific divided data is continued and the related to the specific divided data After the completion of the related process, the processing unit transmits the processing result of the related process related to the specific divided data to the external terminal,
When it is determined that the first required processing time is shorter than the second required processing time, the related processing relating to the specific divided data is stopped, and the specific divided data is transmitted to the transmission unit. The image forming apparatus, wherein the image data is transmitted to the external terminal .
電子文書を生成する外部端末と通信可能な画像形成装置に内蔵されたコンピュータに、
a)原稿のスキャン画像を複数の領域に分割して複数の分割データを生成するステップと、
b)前記電子文書の生成に関連する関連処理を実行することが可能な前記外部端末に対して、前記複数の分割データを送信するステップと、
c)前記ステップb)における前記複数の分割データの送信が完了する前に前記画像形成装置と前記外部端末との通信が中断する場合に、前記複数の分割データのうち前記外部端末への送信が未だ完了していない分割データの少なくとも1つに関して、前記関連処理を前記外部端末に代わって実行するステップと、
d)前記ステップc)において前記関連処理が実行された分割データに関する処理結果を前記通信の再開後に前記外部端末に送信するステップと、
を実行させるためのプログラムであって、
前記ステップc)は、
c−1)前記通信の再開時点において前記画像形成装置による前記関連処理が未だ実行されている特定の分割データが存在する場合、前記外部端末による前記特定の分割データに関する前記関連処理の所要時間である第1の所要処理時間を前記外部端末の処理能力に基づいて算出するとともに、前記画像形成装置による前記特定の分割データに関する前記関連処理の前記再開時点からの残余の所要処理時間である第2の所要処理時間を前記画像形成装置の処理能力に基づいて算出するステップと、
c−2)前記通信が再開されると、前記第1の所要処理時間と前記第2の所要処理時間とを比較するステップと、
c−3)前記第1の所要処理時間が前記第2の所要処理時間よりも長い旨が前記ステップc−2)にて判定される場合には、前記特定の分割データに関する前記関連処理の実行を継続するステップと、
c−4)前記第1の所要処理時間が前記第2の所要処理時間よりも短い旨が前記ステップc−2)にて判定される場合には、前記特定の分割データに関する前記関連処理を中止するステップと、
を有し、
前記ステップd)においては、
前記第1の所要処理時間が前記第2の所要処理時間よりも長い旨が前記ステップc−2)にて判定される場合には、前記特定の分割データに関する前記関連処理の完了後に、前記特定の分割データに関する前記関連処理の処理結果が前記外部端末に送信され、
前記第1の所要処理時間が前記第2の所要処理時間よりも短い旨が前記ステップc−2)にて判定される場合には、前記特定の分割データが前記外部端末に送信されることを特徴とするプログラム。
In a computer built in an image forming apparatus capable of communicating with an external terminal that generates an electronic document,
a) dividing a scanned image of a document into a plurality of regions to generate a plurality of divided data;
b) transmitting the plurality of pieces of divided data to the external terminal capable of executing related processing related to generation of the electronic document;
c) When communication between the image forming apparatus and the external terminal is interrupted before transmission of the plurality of divided data in step b) is completed, transmission of the plurality of divided data to the external terminal is performed. Executing the related process on behalf of the external terminal for at least one piece of divided data that has not yet been completed;
d) transmitting a processing result related to the divided data on which the related processing has been performed in the step c) to the external terminal after resuming the communication;
A program for executing,
Said step c)
c-1) When there is specific divided data for which the related processing by the image forming apparatus is still executed at the time when the communication is resumed, the time required for the related processing related to the specific divided data by the external terminal A first required processing time is calculated based on the processing capability of the external terminal, and a second required processing time from the restart point of the related processing related to the specific divided data by the image forming apparatus is a second required processing time Calculating the required processing time based on the processing capability of the image forming apparatus;
c-2) when the communication is resumed, comparing the first required processing time and the second required processing time;
c-3) When it is determined in step c-2) that the first required processing time is longer than the second required processing time, the related processing relating to the specific divided data is executed. Step to continue,
c-4) If it is determined in step c-2) that the first required processing time is shorter than the second required processing time, the related processing relating to the specific divided data is stopped. And steps to
Have
In step d)
When it is determined in step c-2) that the first required processing time is longer than the second required processing time, the specific processing is performed after the related processing related to the specific divided data is completed. The processing result of the related processing related to the divided data is transmitted to the external terminal,
If it is determined in step c-2) that the first required processing time is shorter than the second required processing time, the specific divided data is transmitted to the external terminal. A featured program.
電子文書生成システムであって、
原稿のスキャン画像を生成する画像形成装置と、
前記画像形成装置およびクラウドサーバと連携して前記スキャン画像に基づく電子文書を生成する外部端末と、
を備え、
前記画像形成装置は、
前記スキャン画像を複数の領域に分割して複数の分割データを生成する分割データ生成手段と、
前記複数の分割データを前記外部端末に送信する送信手段と、
を有し、
前記外部端末は、
前記電子文書の生成に関連する関連処理が未だ完了していない分割データに関して、前記関連処理の前処理を実行する第1の処理実行手段と、
前記関連処理が未だ完了していない分割データに関して前記関連処理を前記クラウドサーバによって実行し且つその処理結果を前記外部端末へ送信すべき旨の処理依頼指令を、前記分割データに関する前記前処理の処理結果とともに前記クラウドサーバに送信する通信手段と、
前記複数の分割データに関する前記関連処理の処理結果に基づいて前記電子文書を生成する文書生成手段と、
を有し、
前記画像形成装置は、
前記画像形成装置と前記外部端末との通信である第1の通信が前記複数の分割データの送信完了前に中断すると、前記複数の分割データのうち前記外部端末への送信が未だ完了していない分割データであって前記関連処理が未だ完了していない分割データに関して、前記前処理を前記外部端末に代わって実行する第2の処理実行手段、
をさらに有し、
前記画像形成装置の前記送信手段は、前記第1の通信が中断されている一方で前記画像形成装置と前記クラウドサーバとの通信である第2の通信を行うことが可能である場合に、前記第2の処理実行手段による前記前処理の処理結果を前記クラウドサーバに送信するとともに、当該前処理が施された分割データに関する前記処理依頼指令を、前記外部端末に代わって前記クラウドサーバに送信し、
前記クラウドサーバは、
前記外部端末の前記通信手段からの前記処理依頼指令に基づき実行された前記関連処理に関する処理結果を前記外部端末に送信するとともに、
前記第1の通信の再開に伴って前記クラウドサーバと前記外部端末との通信である第3の通信が再開された後に、前記画像形成装置の前記送信手段からの前記処理依頼指令に基づき実行された前記関連処理に関する処理結果を前記外部端末に送信し、
前記外部端末の前記文書生成手段は、前記外部端末によって前記クラウドサーバに依頼された前記関連処理の処理結果である第1の処理結果と、前記画像形成装置によって前記クラウドサーバに依頼された前記関連処理の処理結果である第2の処理結果とに基づいて、前記電子文書を生成することを特徴とする電子文書生成システム。
An electronic document generation system,
An image forming apparatus for generating a scanned image of a document;
An external terminal that generates an electronic document based on the scanned image in cooperation with the image forming apparatus and a cloud server;
With
The image forming apparatus includes:
Divided data generating means for dividing the scanned image into a plurality of regions to generate a plurality of divided data;
Transmitting means for transmitting the plurality of divided data to the external terminal;
Have
The external terminal is
First processing execution means for executing preprocessing of the related processing with respect to divided data for which related processing related to generation of the electronic document has not yet been completed;
A processing request command for executing the related processing by the cloud server and transmitting the processing result to the external terminal with respect to the divided data for which the related processing has not yet been completed. Communication means for transmitting to the cloud server together with the result;
Document generating means for generating the electronic document based on a processing result of the related processing relating to the plurality of divided data;
Have
The image forming apparatus includes:
If the first communication, which is communication between the image forming apparatus and the external terminal, is interrupted before the transmission of the plurality of divided data is completed, transmission to the external terminal among the plurality of divided data is not yet completed. Second processing execution means for executing the preprocessing on behalf of the external terminal for the divided data that has not yet been completed.
Further comprising
The transmission unit of the image forming apparatus can perform the second communication that is a communication between the image forming apparatus and the cloud server while the first communication is interrupted. The processing result of the preprocessing by the second processing execution means is transmitted to the cloud server, and the processing request instruction regarding the divided data subjected to the preprocessing is transmitted to the cloud server on behalf of the external terminal. ,
The cloud server
While transmitting to the external terminal a processing result related to the related processing executed based on the processing request command from the communication means of the external terminal,
Executed based on the processing request command from the transmission unit of the image forming apparatus after the third communication, which is communication between the cloud server and the external terminal, is resumed along with the resumption of the first communication. The processing result related to the related processing is transmitted to the external terminal,
The document generation unit of the external terminal includes a first processing result that is a processing result of the related processing requested to the cloud server by the external terminal, and the association requested to the cloud server by the image forming apparatus. An electronic document generation system that generates the electronic document based on a second processing result that is a processing result of processing.
請求項8に記載の電子文書生成システムにおいて、
前記関連処理は、前記クラウドサーバにおいて実行される光学文字認識処理を含み、
前記クラウドサーバは、
前記外部端末から依頼された前記光学文字認識処理の処理結果である第1のテキストデータを前記第1の処理結果として生成し、
前記画像形成装置から依頼された前記光学文字認識処理の処理結果である第2のテキストデータを前記第2の処理結果として生成することを特徴とする電子文書生成システム。
The electronic document generation system according to claim 8.
The related processing includes optical character recognition processing executed in the cloud server,
The cloud server
Generating, as the first processing result, first text data which is a processing result of the optical character recognition processing requested from the external terminal;
An electronic document generation system, wherein the second text data, which is the processing result of the optical character recognition processing requested by the image forming apparatus, is generated as the second processing result.
クラウドサーバと連携して電子文書を生成する外部端末と通信可能な画像形成装置であって、
原稿のスキャン画像を複数の領域に分割して複数の分割データを生成する分割データ生成手段と、
前記複数の分割データを前記外部端末に送信し、前記電子文書の生成に関連する関連処理が未だ完了していない分割データに関する前記関連処理の前処理を前記外部端末に実行させるとともに、前記関連処理が未だ完了していない分割データに関する前記関連処理を前記クラウドサーバによって実行し且つその処理結果を前記外部端末へ送信すべき旨の処理依頼指令を、前記分割データに関する前記前処理の処理結果とともに前記外部端末から前記クラウドサーバに送信させる送信手段と、
前記画像形成装置と前記外部端末との通信である第1の通信が前記複数の分割データの送信完了前に中断すると、前記複数の分割データのうち前記外部端末への送信が未だ完了していない分割データに関して、前記前処理を前記外部端末に代わって実行する処理実行手段と、
を備え、
前記送信手段は、前記第1の通信が中断されている一方で前記画像形成装置と前記クラウドサーバとの通信である第2の通信が可能である場合に、前記処理実行手段による前記前処理の処理結果を前記クラウドサーバに送信するとともに、当該前処理が施された分割データに関する前記処理依頼指令を、前記外部端末に代わって前記クラウドサーバに送信することを特徴とする画像形成装置。
An image forming apparatus capable of communicating with an external terminal that generates an electronic document in cooperation with a cloud server,
Divided data generation means for dividing a scanned image of a document into a plurality of regions and generating a plurality of divided data;
Transmitting the plurality of pieces of divided data to the external terminal, causing the external terminal to perform pre-processing of the related processing related to the divided data for which related processing related to generation of the electronic document has not yet been completed, and the related processing The related processing relating to the divided data that has not yet been completed is executed by the cloud server, and a processing request command for sending the processing result to the external terminal is transmitted together with the processing result of the preprocessing relating to the divided data. Transmitting means for transmitting from an external terminal to the cloud server;
If the first communication, which is communication between the image forming apparatus and the external terminal, is interrupted before the transmission of the plurality of divided data is completed, transmission to the external terminal among the plurality of divided data is not yet completed. With respect to divided data, processing execution means for executing the preprocessing on behalf of the external terminal;
With
The transmission unit is configured to perform the preprocessing by the processing execution unit when the first communication is interrupted and the second communication that is communication between the image forming apparatus and the cloud server is possible. An image forming apparatus, wherein a processing result is transmitted to the cloud server, and the processing request command relating to the divided data subjected to the preprocessing is transmitted to the cloud server instead of the external terminal.
画像形成装置およびクラウドサーバと連携して電子文書を生成する外部端末に内蔵されたコンピュータに、
a)原稿のスキャン画像が複数の領域に分割されて生成された複数の分割データを前記画像形成装置から受信するステップと、
b)前記ステップa)において前記画像形成装置から受信した分割データであって前記電子文書の生成に関連する関連処理が未だ完了していない分割データに関して、前記関連処理の前処理を実行するステップと、
c)前記ステップa)において前記画像形成装置から受信した分割データであって前記関連処理が未だ完了していない分割データに関する前記関連処理を前記クラウドサーバによって実行し且つその処理結果を前記外部端末へ送信すべき旨の処理依頼指令を、前記ステップb)において前記分割データに関して実行された前記前処理の処理結果とともに前記クラウドサーバに送信するステップと、
d)前記ステップc)において前記外部端末によって前記クラウドサーバに依頼された前記関連処理の処理結果を前記クラウドサーバから受信するステップと、
e)前記ステップa)における前記複数の分割データの受信が完了する前に前記画像形成装置と前記外部端末との通信である第1の通信が中断する場合において前記外部端末に代わって前記画像形成装置から前記クラウドサーバに送信された前記処理依頼指令に基づき前記クラウドサーバにおいて実行された前記関連処理に関する処理結果を、前記第1の通信の再開に伴って前記クラウドサーバと前記外部端末との通信である第2の通信が再開された後に、前記クラウドサーバから受信するステップと、
f)前記外部端末から前記クラウドサーバに依頼された前記関連処理の処理結果であって前記ステップd)にて受信された処理結果と、前記画像形成装置から前記クラウドサーバに依頼された前記関連処理の処理結果であって前記ステップe)にて受信された処理結果とに基づいて、前記電子文書を生成するステップと、
を実行させるためのプログラム。
A computer built in an external terminal that generates an electronic document in cooperation with an image forming apparatus and a cloud server.
a) receiving a plurality of divided data generated by dividing a scanned image of a document into a plurality of regions from the image forming apparatus;
b) executing pre-processing of the related processing on the divided data received from the image forming apparatus in the step a) and the related processing related to generation of the electronic document has not yet been completed; ,
c) The cloud server executes the related process related to the divided data received from the image forming apparatus in step a) and the related process has not yet been completed, and the processing result is sent to the external terminal. Transmitting a processing request instruction to the effect to be transmitted to the cloud server together with a processing result of the preprocessing performed on the divided data in the step b);
d) receiving a processing result of the related processing requested from the cloud server by the external terminal in the step c) from the cloud server;
e) In the case where the first communication which is communication between the image forming apparatus and the external terminal is interrupted before the reception of the plurality of divided data in the step a) is completed, the image formation is performed instead of the external terminal. Communication between the cloud server and the external terminal as a result of resuming the first communication with a processing result related to the related processing executed in the cloud server based on the processing request command transmitted from the device to the cloud server Receiving from the cloud server after the second communication is resumed,
f) The processing result of the related processing requested from the external terminal to the cloud server, the processing result received in step d), and the related processing requested from the image forming apparatus to the cloud server. And generating the electronic document based on the processing result received at step e), and
A program for running
電子文書生成システムであって、
原稿のスキャン画像を生成する画像形成装置と、
前記画像形成装置およびクラウドサーバと連携して前記スキャン画像に基づく電子文書を生成する外部端末と、
を備え、
前記画像形成装置は、
前記スキャン画像を複数の領域に分割して複数の分割データを生成する分割データ生成手段と、
前記複数の分割データを前記外部端末に送信する送信手段と、
を有し、
前記外部端末は、
前記電子文書の生成に関連する第1の関連処理が未だ完了していない分割データに関して、前記第1の関連処理を実行する第1の処理実行手段と、
前記電子文書の生成に関連する第2の関連処理が未だ完了していない分割データに関する前記第2の関連処理を前記クラウドサーバによって実行し且つその処理結果を前記外部端末へ送信すべき旨の処理依頼指令を、前記クラウドサーバに送信する通信手段と、
前記複数の分割データに関する前記第1の関連処理の処理結果と、前記複数の分割データに関する前記第2の関連処理の処理結果とに基づいて、前記電子文書を生成する文書生成手段と、
を有し、
前記画像形成装置は、
前記画像形成装置と前記外部端末との通信である第1の通信が前記複数の分割データの送信完了前に中断すると、前記複数の分割データのうち前記外部端末への送信が未だ完了していない分割データであって前記第1の処理実行手段による前記第1の関連処理が未だ完了していない分割データに関して、前記第1の関連処理を前記外部端末に代わって実行する第2の処理実行手段、
をさらに有し、
前記画像形成装置の前記送信手段は、
前記第1の通信が中断されている一方で前記画像形成装置と前記クラウドサーバとの通信である第2の通信を行うことが可能である場合に、前記複数の分割データのうち前記外部端末への送信が未だ完了していない分割データであって前記クラウドサーバによる前記第2の関連処理が未だ完了していない分割データに関する前記処理依頼指令を、前記外部端末に代わって前記クラウドサーバに送信し、
前記第2の処理実行手段により前記第1の関連処理が実行された分割データに関する処理結果を前記第1の通信の再開後に前記外部端末に送信し、
前記クラウドサーバは、前記第1の通信の再開に伴って前記クラウドサーバと前記外部端末との通信である第3の通信が再開されると、前記画像形成装置の前記送信手段からの前記処理依頼指令に基づき前記第2の関連処理が実行された分割データに関する処理結果を前記外部端末に送信し、
前記外部端末の前記文書生成手段は、前記外部端末にて実行された前記第1の関連処理の処理結果である第1の処理結果と、前記画像形成装置にて実行された前記第1の関連処理の処理結果である第2の処理結果と、前記外部端末によって前記クラウドサーバに依頼された前記第2の関連処理の処理結果である第3の処理結果と、前記画像形成装置によって前記クラウドサーバに依頼された前記第2の関連処理の処理結果である第4の処理結果とに基づいて、前記電子文書を生成することを特徴とする電子文書生成システム。
An electronic document generation system,
An image forming apparatus for generating a scanned image of a document;
An external terminal that generates an electronic document based on the scanned image in cooperation with the image forming apparatus and a cloud server;
With
The image forming apparatus includes:
Divided data generating means for dividing the scanned image into a plurality of regions to generate a plurality of divided data;
Transmitting means for transmitting the plurality of divided data to the external terminal;
Have
The external terminal is
First process execution means for executing the first related process with respect to the divided data for which the first related process related to generation of the electronic document has not yet been completed;
Processing that the second related processing related to the divided data for which the second related processing related to generation of the electronic document has not yet been completed is executed by the cloud server and the processing result should be transmitted to the external terminal A communication means for transmitting a request command to the cloud server;
Document generating means for generating the electronic document based on a processing result of the first related processing regarding the plurality of divided data and a processing result of the second related processing regarding the plurality of divided data;
Have
The image forming apparatus includes:
If the first communication, which is communication between the image forming apparatus and the external terminal, is interrupted before the transmission of the plurality of divided data is completed, transmission to the external terminal among the plurality of divided data is not yet completed. Second process execution means for executing the first related process on behalf of the external terminal for the divided data that has not yet been completed by the first related process by the first process execution means. ,
Further comprising
The transmission unit of the image forming apparatus includes:
When it is possible to perform the second communication, which is communication between the image forming apparatus and the cloud server, while the first communication is interrupted, to the external terminal among the plurality of divided data The processing request command related to the divided data that has not yet been transmitted and the second related processing by the cloud server is not yet completed is transmitted to the cloud server on behalf of the external terminal. ,
A processing result related to the divided data for which the first related processing has been executed by the second processing execution means is transmitted to the external terminal after resuming the first communication;
When the third communication, which is communication between the cloud server and the external terminal, is resumed as the first communication is resumed, the cloud server resumes the processing request from the transmission unit of the image forming apparatus. A processing result related to the divided data on which the second related processing is executed based on a command is transmitted to the external terminal;
The document generation unit of the external terminal includes a first processing result that is a processing result of the first related processing executed on the external terminal and the first related executed on the image forming apparatus. A second processing result that is a processing result of the processing; a third processing result that is a processing result of the second related processing requested by the external terminal to the cloud server; and the cloud server by the image forming apparatus. The electronic document generation system, wherein the electronic document is generated based on a fourth processing result that is a processing result of the second related processing requested by the user.
請求項12に記載の電子文書生成システムにおいて、
前記第2の関連処理は、前記クラウドサーバにおいて実行される光学文字認識処理を含み、
前記クラウドサーバは、
前記外部端末から依頼された前記光学文字認識処理の処理結果である第1のテキストデータを前記第3の処理結果として生成し、
前記画像形成装置から依頼された前記光学文字認識処理の処理結果である第2のテキストデータを前記第4の処理結果として生成することを特徴とする電子文書生成システム。
The electronic document generation system according to claim 12,
The second related process includes an optical character recognition process executed in the cloud server,
The cloud server
Generating, as the third processing result, first text data which is a processing result of the optical character recognition processing requested from the external terminal;
An electronic document generation system, wherein the second text data, which is the processing result of the optical character recognition process requested by the image forming apparatus, is generated as the fourth processing result.
請求項13に記載の電子文書生成システムにおいて、
前記第1の関連処理は、前記スキャン画像内の互いに異なる種別の領域を互いに異なる圧縮率で圧縮する圧縮処理を含み、
前記外部端末の前記第1の処理実行手段は、前記圧縮処理が施された分割データである第1の処理済分割データを前記第1の処理結果として生成し、
前記画像形成装置の前記第2の処理実行手段は、前記圧縮処理が施された分割データである第2の処理済分割データを前記第2の処理結果として生成し、
前記外部端末の前記文書生成手段は、前記第1のテキストデータと、前記第2のテキストデータと、前記第1の処理結果として生成された前記第1の処理済分割データと、前記第2の処理結果として生成された前記第2の処理済分割データとに基づいて、電子文書を生成することを特徴とする電子文書生成システム。
The electronic document generation system according to claim 13.
The first related processing includes compression processing for compressing different types of regions in the scanned image at different compression rates,
The first process execution means of the external terminal generates first processed divided data, which is divided data subjected to the compression process, as the first processing result,
The second processing execution unit of the image forming apparatus generates second processed divided data, which is the divided data subjected to the compression processing, as the second processing result;
The document generation means of the external terminal includes the first text data, the second text data, the first processed divided data generated as the first processing result, and the second text data. An electronic document generation system that generates an electronic document based on the second processed divided data generated as a processing result.
クラウドサーバと連携して電子文書を生成する外部端末と通信可能な画像形成装置であって、
原稿のスキャン画像を複数の領域に分割して複数の分割データを生成する分割データ生成手段と、
前記複数の分割データを前記外部端末に送信し、前記電子文書の生成に関連する第1の関連処理が未だ完了していない分割データに関する前記第1の関連処理を前記外部端末に実行させるとともに、前記電子文書の生成に関連する第2の関連処理が未だ完了していない分割データに関する前記第2の関連処理を前記クラウドサーバによって実行し且つその処理結果を前記外部端末へ送信すべき旨の処理依頼指令を、前記外部端末から前記クラウドサーバに送信させる送信手段と、
前記画像形成装置と前記外部端末との通信である第1の通信が前記複数の分割データの送信完了前に中断すると、前記複数の分割データのうち前記外部端末への送信が未だ完了していない分割データに関して、前記第1の関連処理を前記外部端末に代わって実行する処理実行手段と、
を備え、
前記送信手段は、
前記第1の通信が中断されている一方で前記画像形成装置と前記クラウドサーバとの通信である第2の通信が可能である場合に、前記複数の分割データのうち前記外部端末への送信が未だ完了していない分割データであって前記電子文書の生成に関連する第2の関連処理が未だ完了していない分割データに関する前記第2の関連処理を前記クラウドサーバによって実行し且つその処理結果を前記外部端末へ送信すべき旨の処理依頼指令を、前記外部端末に代わって前記クラウドサーバに送信し、
前記処理実行手段により前記第1の関連処理が実行された分割データに関する処理結果を前記第1の通信の再開後に前記外部端末に送信することを特徴とする画像形成装置。
An image forming apparatus capable of communicating with an external terminal that generates an electronic document in cooperation with a cloud server,
Divided data generation means for dividing a scanned image of a document into a plurality of regions and generating a plurality of divided data;
Transmitting the plurality of divided data to the external terminal, causing the external terminal to execute the first related processing relating to the divided data that has not yet been completed. Processing that the second related processing related to the divided data for which the second related processing related to generation of the electronic document has not yet been completed is executed by the cloud server and the processing result should be transmitted to the external terminal A transmission means for transmitting a request command from the external terminal to the cloud server;
If the first communication, which is communication between the image forming apparatus and the external terminal, is interrupted before the transmission of the plurality of divided data is completed, transmission to the external terminal among the plurality of divided data is not yet completed. With respect to the divided data, a process execution means for executing the first related process on behalf of the external terminal;
With
The transmission means includes
When the first communication is interrupted and the second communication which is the communication between the image forming apparatus and the cloud server is possible, the transmission to the external terminal among the plurality of divided data is performed. The second related processing relating to the divided data that has not yet been completed and the second related processing related to the generation of the electronic document has not been completed is executed by the cloud server and the processing result is obtained. A processing request instruction to the effect that it should be transmitted to the external terminal is transmitted to the cloud server on behalf of the external terminal,
An image forming apparatus, wherein a processing result related to divided data for which the first related processing has been executed by the processing execution unit is transmitted to the external terminal after resumption of the first communication.
画像形成装置およびクラウドサーバと連携して電子文書を生成する外部端末に内蔵されたコンピュータに、
a)原稿のスキャン画像が複数の領域に分割されて生成された複数の分割データを前記画像形成装置から受信するステップと、
b)前記ステップa)において前記画像形成装置から受信した分割データであって前記電子文書の生成に関連する第1の関連処理が未だ完了していない分割データに関して、前記第1の関連処理を実行するステップと、
c)前記ステップa)において前記画像形成装置から受信した分割データであって前記電子文書の生成に関連する第2の関連処理が未だ完了していない分割データに関する前記第2の関連処理を前記クラウドサーバによって実行し且つその処理結果を前記外部端末へ送信すべき旨の処理依頼指令を、前記クラウドサーバに送信するステップと、
d)前記ステップc)において前記外部端末によって前記クラウドサーバに依頼された前記第2の関連処理の処理結果を前記クラウドサーバから受信するステップと、
e)前記ステップa)における前記複数の分割データの受信が完了する前に前記画像形成装置と前記外部端末との通信である第1の通信が中断する場合において前記外部端末に代わって前記画像形成装置により前記第1の関連処理が実行された分割データに関する処理結果を、前記第1の通信の再開後に前記画像形成装置から受信するステップと、
f)前記第1の通信の再開に伴って前記クラウドサーバと前記外部端末との通信である第2の通信が再開されると、前記第1の通信が中断する場合において前記外部端末に代わって前記画像形成装置から前記クラウドサーバに送信された前記処理依頼指令に基づき前記クラウドサーバにおいて前記第2の関連処理が実行された分割データに関する処理結果を、前記クラウドサーバから受信するステップと、
g)前記外部端末により前記ステップb)にて実行された前記第1の関連処理の処理結果である第1の処理結果と、前記画像形成装置にて実行された前記第1の関連処理の処理結果であって前記ステップe)にて受信された処理結果である第2の処理結果と、前記外部端末から前記クラウドサーバに依頼された前記第2の関連処理の処理結果であって前記ステップd)にて受信された処理結果である第3の処理結果と、前記画像形成装置から前記クラウドサーバに依頼された前記第2の関連処理の処理結果であって前記ステップf)にて受信された処理結果である第4の処理結果とに基づいて、前記電子文書を生成するステップと、
を実行させるためのプログラム。
A computer built in an external terminal that generates an electronic document in cooperation with an image forming apparatus and a cloud server.
a) receiving a plurality of divided data generated by dividing a scanned image of a document into a plurality of regions from the image forming apparatus;
b) Execute the first related process for the divided data received from the image forming apparatus in step a) and for which the first related process related to the generation of the electronic document has not yet been completed. And steps to
c) performing the second related processing on the divided data received from the image forming apparatus in the step a) and the second related processing related to generation of the electronic document has not yet been completed, in the cloud A process request command to be executed by the server and the processing result to be transmitted to the external terminal, and to the cloud server;
d) receiving the processing result of the second related processing requested from the cloud server by the external terminal in the step c) from the cloud server;
e) In the case where the first communication which is communication between the image forming apparatus and the external terminal is interrupted before the reception of the plurality of divided data in the step a) is completed, the image formation is performed instead of the external terminal. Receiving a processing result related to the divided data on which the first related processing has been executed by the apparatus from the image forming apparatus after the first communication is resumed;
f) When the second communication that is the communication between the cloud server and the external terminal is resumed along with the resumption of the first communication, the first communication is interrupted instead of the external terminal. Receiving from the cloud server a processing result related to the divided data for which the second related processing has been executed in the cloud server based on the processing request command transmitted from the image forming apparatus to the cloud server;
g) a first processing result which is a processing result of the first related processing executed in the step b) by the external terminal, and a processing of the first related processing executed in the image forming apparatus. A second processing result that is a result and received in step e), and a processing result of the second related processing requested from the external terminal to the cloud server, the step d ) And the result of the second related process requested from the image forming apparatus to the cloud server and received in step f). Generating the electronic document based on a fourth processing result which is a processing result;
A program for running
JP2014126222A 2014-06-19 2014-06-19 Electronic document generation system, image forming apparatus, and program Active JP6340943B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014126222A JP6340943B2 (en) 2014-06-19 2014-06-19 Electronic document generation system, image forming apparatus, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014126222A JP6340943B2 (en) 2014-06-19 2014-06-19 Electronic document generation system, image forming apparatus, and program

Publications (2)

Publication Number Publication Date
JP2016005232A JP2016005232A (en) 2016-01-12
JP6340943B2 true JP6340943B2 (en) 2018-06-13

Family

ID=55224194

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014126222A Active JP6340943B2 (en) 2014-06-19 2014-06-19 Electronic document generation system, image forming apparatus, and program

Country Status (1)

Country Link
JP (1) JP6340943B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006244539A (en) * 2005-02-28 2006-09-14 Sony Corp Data-processing circuit
JP2009212974A (en) * 2008-03-05 2009-09-17 Ricoh Co Ltd Image processing apparatus, image processing method, program, and recording medium
JP2012065284A (en) * 2010-09-17 2012-03-29 Canon Electronics Inc Network scanner, information processor, and network scanning system
JP2014036314A (en) * 2012-08-08 2014-02-24 Canon Inc Scan service system, scan service method, and scan service program
JP2014064075A (en) * 2012-09-20 2014-04-10 Canon Electronics Inc Image reading system, image reading device, information processing device, control method, and program

Also Published As

Publication number Publication date
JP2016005232A (en) 2016-01-12

Similar Documents

Publication Publication Date Title
JP6107756B2 (en) Electronic document generation system, electronic document generation apparatus and program
US9116651B2 (en) Image processing apparatus, control method, and recording medium storing computer program for image processing
US9069514B2 (en) Image processing apparatus, including conversion process judging, connectable to server via network
US9282206B2 (en) Portable information terminal and recording medium
US9578198B2 (en) Application cooperation system including server and image processing apparatus, and application cooperation method
US9256180B2 (en) Image display apparatus, display control method, and non-transitory computer-readable recording medium encoded with display control program
US20160142582A1 (en) Information processing apparatus, printing method, and non-transitory computer-readable recording medium encoded with browsing program
JP5983673B2 (en) Electronic document generation system, image forming apparatus, and program
US8896870B2 (en) Image forming system, image forming apparatus, external terminal, and recording medium
JP6399915B2 (en) Image reading apparatus, information processing method, and program
JP6340943B2 (en) Electronic document generation system, image forming apparatus, and program
US20100165395A1 (en) Image processing apparatus, image processing system, and control method for image processing apparatus
JP6879131B2 (en) Scan system, information processing device, and scanner driver
US9986107B2 (en) Systems and methods for displaying remote operation screens of an image forming apparatus based on a configuration of display(s) of a mobile terminal
US10846038B2 (en) Image processing system, and method with one or more processing devices
JP6537021B2 (en) Image reader
JP6485051B2 (en) Image processing system, image processing apparatus, and program
JP6283944B2 (en) Electronic document generation system, image forming apparatus, and program
JP6743447B2 (en) Server program, image generation device, and image data generation method
JP6260290B2 (en) Image forming system, image forming apparatus, remote control device, and program
US8634091B2 (en) Image processing system, image processing method, storage medium, and image forming apparatus and external apparatus constituting image processing system
JP6107207B2 (en) Control apparatus, control method for image forming apparatus, and control program
JP2020102745A (en) Control program, information processor and scan system
JP6264638B2 (en) Image reading apparatus and image reading system
JP2015103889A (en) Image reading system and image reading apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170419

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20171214

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180130

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180328

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180430

R150 Certificate of patent or registration of utility model

Ref document number: 6340943

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150