JP5656716B2 - Image forming apparatus and data processing program - Google Patents
Image forming apparatus and data processing program Download PDFInfo
- Publication number
- JP5656716B2 JP5656716B2 JP2011078569A JP2011078569A JP5656716B2 JP 5656716 B2 JP5656716 B2 JP 5656716B2 JP 2011078569 A JP2011078569 A JP 2011078569A JP 2011078569 A JP2011078569 A JP 2011078569A JP 5656716 B2 JP5656716 B2 JP 5656716B2
- Authority
- JP
- Japan
- Prior art keywords
- file
- request
- terminal device
- creation
- response
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
Description
本発明は、ファイルをダウンロードすることが可能な画像形成装置及びデータ処理プログラムに関し、特に、マルチアクセス環境下におけるファイルのダウンロードを効率よく行う画像形成装置及びデータ処理プログラムに関する。 The present invention relates to an image forming apparatus and a data processing program capable of downloading a file, and more particularly to an image forming apparatus and a data processing program for efficiently downloading a file in a multi-access environment.
近年、プリンター、コピー、ファクシミリの各機能を備えた画像形成装置(以下、MFPという。)においては、文書ファイル(例えば、pdfファイル等)を作成しパーソナルコンピュータ(以下、PCという。)等にダウンロードすることで自らがサーバとして機能するものがある。すなわち、このようなMFPによれば、PCに組み込まれたブラウザ(以下、適宜、クライアントという。)からの要求を受けて文書ファイルをダウンロードすることが可能である。なお、クライアントとサーバとのやり取りは、一般に、HTTPプロトコル(HyperText Transfer Protocol)にもとづいて行われている(特許文献1参照)。
具体的には、サーバ(MFP)は、クライアントからのHTTPリクエストを介して文書ファイルのダウンロード要求を受けると、その文書ファイルの作成を開始し、その後、作成が完了した文書ファイルを、HTTPレスポンスを介してPCにダウンロードするまでを一連のセッションとして実行する。
In recent years, in an image forming apparatus (hereinafter referred to as an MFP) having functions of a printer, a copy, and a facsimile, a document file (such as a pdf file) is created and downloaded to a personal computer (hereinafter referred to as a PC). By doing so, there is something that itself functions as a server. That is, according to such an MFP, it is possible to download a document file in response to a request from a browser (hereinafter referred to as a client as appropriate) incorporated in a PC. Note that the exchange between the client and the server is generally performed based on the HTTP protocol (HyperText Transfer Protocol) (see Patent Document 1).
Specifically, when the server (MFP) receives a download request for a document file via an HTTP request from a client, the server (MFP) starts creating the document file, and then sends the completed document file to the HTTP response. The process is executed as a series of sessions until it is downloaded to the PC.
しかしながら、このようなリクエスト−レスポンス型のプロトコルによれば、一旦、HTTPリクエストを受けた後は対応するHTTPレスポンスを返すまでは、サーバとクライアントとの関係はそのセッションによって保持され、他のクライアントは、先行する文書ファイルのダウンロードが完了するまでサーバにアクセスすることができなかった。
このため、MFPに対するダウンロード要求が重複する場合には、先行する文書ファイルの処理の完了を待つ必要があり、データ処理が遅滞する問題が生じていた。
特に、文書ファイルのデータ量やデータ件数が多い場合には、このような問題が顕著に現れる傾向にあり、マルチアクセス環境を活かした処理が適切に行われていないとの指摘があった。
However, according to such a request-response type protocol, once an HTTP request is received, until the corresponding HTTP response is returned, the relationship between the server and the client is maintained by the session, and other clients are The server could not be accessed until the preceding document file was downloaded.
For this reason, when there are duplicate download requests to the MFP, it is necessary to wait for the completion of processing of the preceding document file, resulting in a problem that data processing is delayed.
In particular, when the amount of data and the number of data of the document file are large, such a problem tends to appear prominently, and it has been pointed out that processing utilizing the multi-access environment has not been performed appropriately.
本発明は、以上のような事情に鑑みなされたものであり、クライアントからの要求に即時に応答しつつファイルの作成処理を並行して進め、さらに、このファイルの作成状況に応じた応答処理を行うことで、セッションの長時間の占有を回避する画像形成装置及びデータ処理プログラムの提供を目的とする。 The present invention has been made in view of the above circumstances, and proceeds with file creation processing in parallel while responding immediately to a request from a client, and further performs response processing according to the file creation status. An object of the present invention is to provide an image forming apparatus and a data processing program that can avoid occupying a session for a long time.
上記目的を達成するため、本発明の画像形成装置は、通信可能に接続された端末装置からの要求にもとづき画像形成処理を可能とする画像形成装置であって、端末装置から任意のファイルに関するダウンロード要求を受信するダウンロード要求受信手段と、ダウンロード要求に応じて、当該ダウンロード要求に係るファイルについてのファイル作成処理を開始するファイル作成手段と、ダウンロード要求、又は、ダウンロード要求されたファイルに関するファイルの作成状況の問い合わせの要求に応じて、当該ファイルの作成状況を端末装置に通知するファイル作成状況通知手段と、ファイル取得要求に応じ端末装置にファイルのダウンロードを行う応答手段と、を備え、ダウンロード要求、問い合わせの要求、及び、ファイル取得要求は、端末装置から送信されるHTTPリクエストによって実施され、端末装置に対するファイルの作成状況の通知及びファイルのダウンロードは、HTTPリクエストに対応したHTTPレスポンスによって応答され、ファイル作成手段が、ダウンロード要求に係るHTTPリクエストに対応したHTTPレスポンスによる応答に拘わらず、当該ダウンロード要求に係るファイルについてのファイル作成処理を開始し、ファイル作成状況通知手段が、ダウンロード要求受信手段によるダウンロード要求の受信後、ファイルが作成中である旨の通知を行った端末装置から、ファイルの作成状況に関する問い合わせ要求を画像形成装置が受信すると、ファイルに係るファイルの作成状況をチェックし、ファイルが作成中であることが確認された場合は、端末装置から問い合わせ要求のポーリング送信要求を行うべきことが記述されたHTTPレスポンスを端末装置に送信し、チェックによりファイルの作成が完了したことが確認された場合は、端末装置からファイル取得要求を行うべきことが記述されたHTTPレスポンスを端末装置に送信するようにしてある。 In order to achieve the above object, an image forming apparatus of the present invention is an image forming apparatus that enables image forming processing based on a request from a terminal device that is communicably connected, and downloads an arbitrary file from the terminal device. Download request receiving means for receiving a request, file creation means for starting file creation processing for a file related to the download request in response to the download request, and the creation status of the file related to the download request or the requested download file A file creation status notifying means for notifying the terminal device of the creation status of the file in response to an inquiry request, and a response means for downloading the file to the terminal device in response to a file acquisition request. Requests and file acquisition requests The HTTP request transmitted from the terminal device is executed, the notification of the file creation status to the terminal device and the file download are responded by the HTTP response corresponding to the HTTP request, and the file creation means responds to the HTTP request related to the download request. Regardless of the response by the corresponding HTTP response, the file creation processing for the file related to the download request is started, and the file creation status notifying means indicates that the file is being created after receiving the download request by the download request receiving means. from notifying the terminal apparatus that has performed, when an inquiry request for documentation status file image forming apparatus receives, check the documentation status file according to the file, if the file has been confirmed to be creating An HTTP response describing that an inquiry request polling transmission request should be sent from the terminal device is transmitted to the terminal device, and if the check confirms that the file creation has been completed, a file acquisition request is issued from the terminal device. An HTTP response describing what to do is transmitted to the terminal device .
上記目的を達成するため、本発明のデータ処理プログラムは、通信可能に接続された端末装置の要求にもとづく画像形成処理を可能とする画像形成装置のコンピュータを、端末装置から任意のファイルに関するダウンロード要求を受信するダウンロード要求受信手段、ダウンロード要求に応じて、当該ダウンロード要求に係るファイルについてのファイル作成処理を開始するファイル作成手段、ダウンロード要求、又は、ダウンロード要求されたファイルに関するファイルの作成状況の問い合わせの要求に応じて、当該ファイルの作成状況を端末装置に通知するファイル作成状況通知手段、及び、ファイル取得要求に応じ端末装置にファイルのダウンロードを行う応答手段、として機能させ、ダウンロード要求、問い合わせの要求、及び、ファイル取得要求は、端末装置から送信されるHTTPリクエストによって実施され、端末装置に対するファイルの作成状況の通知及びファイルのダウンロードは、HTTPリクエストに対応したHTTPレスポンスによって応答され、ファイル作成手段に、ダウンロード要求に係るHTTPリクエストに対応したHTTPレスポンスによる応答に拘わらず、当該ダウンロード要求に係るファイルについてのファイル作成処理を開始させ、ファイル作成状況通知手段に、ダウンロード要求受信手段によるダウンロード要求の受信後、ファイルが作成中である旨の通知を行った端末装置から、ファイルの作成状況に関する問い合わせ要求が画像形成装置により受信されると、ファイルに係るファイルの作成状況をチェックさせ、ファイルが作成中であることが確認された場合は、端末装置から問い合わせ要求のポーリング送信要求を行うべきことが記述されたHTTPレスポンスを端末装置に送信させ、チェックによりファイルの作成が完了したことが確認された場合は、端末装置からファイル取得要求を行うべきことが記述されたHTTPレスポンスを端末装置に送信させるようにしてある。 In order to achieve the above object, a data processing program according to the present invention provides a download request for an arbitrary file from a terminal device to a computer of an image forming device that enables image forming processing based on a request of a terminal device connected to be communicable. Download request receiving means for receiving a file, file creation means for starting a file creation process for a file related to the download request in response to the download request, a download request, or an inquiry about a file creation status relating to a file requested for download In response to the request, it functions as a file creation status notifying means for notifying the terminal device of the creation status of the file and a response means for downloading the file to the terminal device in response to the file acquisition request. And The file acquisition request is executed by the HTTP request transmitted from the terminal device, the notification of the file creation status to the terminal device and the file download are responded by the HTTP response corresponding to the HTTP request, and the download request is sent to the file creating means. Regardless of the response by the HTTP response corresponding to the HTTP request, the file creation process for the file related to the download request is started, and after the download request is received by the download request receiving unit, the file from the terminal apparatus that has performed the notification is being created, the query request for creating the status of file is received by the image forming apparatus, by checking the documentation status file according to the file, the file is being created If it is confirmed that the terminal device transmits an HTTP response describing that the terminal device should perform an inquiry request polling transmission request to the terminal device, and the check confirms that the file creation is completed The terminal device is made to transmit an HTTP response describing that a file acquisition request should be made from the terminal device .
本発明の画像形成装置及びデータ処理プログラムによれば、マルチアクセス環境を活かした効率的なダウンロード処理を行うことができる。 According to the image forming apparatus and the data processing program of the present invention, it is possible to perform an efficient download process utilizing a multi-access environment.
以下、本発明の実施形態について図面を参照して説明する。
図1は、本発明の実施形態に係る本発明の実施形態に係る画像形成装置(MFP)とPCとからなるシステムの概略構成図である。
図1に示すように、本実施形態のMFP10は、LAN、WAN等の通信回線40を介し、複数のPC20と接続されている。
PC20には、webブラウザが予めインストールされており、MFP10に対し、HTTPリクエストを送信する一方、MFP10から受信したHTTPレスポンスを解釈することが可能となっている。すなわち、本実施形態におけるMFP10とPC20は、サーバとクライアントの関係にあり、HTTPプロトコルにもとづき通信可能に接続されている。
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 is a schematic configuration diagram of a system including an image forming apparatus (MFP) according to an embodiment of the present invention and a PC according to the embodiment of the present invention.
As shown in FIG. 1, the
A web browser is installed in the PC 20 in advance, and can send an HTTP request to the
MFP10は、非図示のCPU(Central Processing Unit)、ROM(Read Only Memory)およびRAM(Random Access Memory)が搭載された制御部100を備える。
ROMには、CPUに、文書ファイルを作成させ、その文書ファイルをダウンロードするためのデータ処理プログラムが格納されている。すなわち、このデータ処理プログラムを実行することによりMFP10をファイルサーバとして機能させることができる。
その他、ROMには、CPUに、コピー、プリンター、ファクシミリの各処理を実行させるためのプログラムが格納され、このプログラムを実行することによりMFPをコピー装置、プリンター装置、ファクシミリ装置として機能させることができる。
RAMは、CPUがこれら各プログラムを実行する際の作業用メモリなどとして用いられる。
The
The ROM stores a data processing program for causing the CPU to create a document file and to download the document file. In other words, the MFP 10 can function as a file server by executing this data processing program.
In addition, the ROM stores programs for causing the CPU to execute copying, printer, and facsimile processes. By executing these programs, the MFP can function as a copying apparatus, a printer apparatus, and a facsimile apparatus. .
The RAM is used as a working memory when the CPU executes these programs.
ここで、MFP10がファイルサーバとして機能するための構成について図面を参照しながら説明する。
図2は、制御部の構成を示す機能ブロック図である。
図2に示すように、制御部100は、ダウンロード要求受信手段101と、ファイル作成手段102と、ファイル作成状況取得手段103と、記憶手段104と、ファイル作成状況通知手段105と、応答手段106と、を備える。
Here, a configuration for the
FIG. 2 is a functional block diagram illustrating the configuration of the control unit.
As shown in FIG. 2, the
ダウンロード要求受信手段101は、PC20から任意の文書ファイルに関するダウンロード要求を受信するものである。
「文書ファイル」は、例えば、pdf(Portable Document
Format)等の文書ファイルが該当する。
「ダウンロードの要求」とは、このような文書ファイルの取得の要求であり、クライアントであるPC20から受信したHTTPリクエストが相当する。「HTTPリクエスト」とは、特定のフォーマットにもとづきクライアントからの種々の要求がHTML言語で記述されたものである。
The download request receiving unit 101 receives a download request regarding an arbitrary document file from the PC 20.
The “document file” is, for example, pdf (Portable Document
Format).
The “download request” is a request for obtaining such a document file, and corresponds to an HTTP request received from the PC 20 as a client. An “HTTP request” is a request in which various requests from a client are described in the HTML language based on a specific format.
ファイル作成手段102は、このようなPC20からのダウンロード要求に応じて、このダウンロード要求に係る文書ファイルについてのファイル作成処理を開始する。例えば、対象となる画像データのpdfファイルのダウンロード要求があった場合には、この画像データを既知のpdf変換プログラム等によりpdfファイルに変換する処理を開始し、この変換処理が完了したpdfファイルをHDD等の記憶装置に保存する処理を行う。
ここで、ファイル作成処理は、PC20からのダウンロード要求に応答するスレッドとは別のスレッドで並行して行う。つまり、ダウンロード要求に係るHTTPリクエストに対応したHTTPレスポンスによる応答に拘わらず、そのセッションとは非同期にファイルの作成処理を行うようにしている。なお、「HTTPレスポンス」とは、HTTPリクエストに対する応答であり、その応答内容がHTMLファイルからなるものである。
このようにすると、一ファイルの作成のためにセッションが占有されることを未然に回避することができ、複数ファイルをダウンロードするときに発生していた処理の遅滞を防止することができる。
In response to such a download request from the PC 20, the
Here, the file creation processing is performed in parallel with a thread different from the thread that responds to the download request from the PC 20. That is, regardless of the response by the HTTP response corresponding to the HTTP request related to the download request, the file creation process is performed asynchronously with the session. The “HTTP response” is a response to the HTTP request, and the content of the response is an HTML file.
In this way, it is possible to prevent the session from being occupied for the creation of one file, and it is possible to prevent a delay in processing that has occurred when downloading a plurality of files.
ファイル作成状況取得手段103は、文書ファイルの作成状況を取得する。
具体的には、RAM等の記憶手段104に保存されたファイル作成状況管理テーブルtに格納されている文書ファイルの作成状況を取得する。
図3は、ファイル作成状況管理テーブルの構成を示したテーブル構成図である。
図3に示すように、ファイル作成状況管理テーブルtは、「ID」、(文書ファイルの)「作成状況」、「進捗度」及び「ファイル名」の各欄に該当するデータを関連付けて格納するようにしている。
「ID」は、対象の文書ファイル(又はセッション)ごとに付されるユニークな識別番号(例えば、***1、***2等)を格納するための欄である。
「作成状況」は、文書ファイルの作成状況(例えば、「作成中」、「完了」等)を格納するための欄である。
「進捗度」は、文書ファイルの作成の進捗度(例えば、「50%」等)を格納するための欄である。
「ファイル名」は、完成した文書ファイルの識別名称(例えば、「aaa」等)を格納するための欄である。
各欄に格納するための情報は、文書ファイルの作成の開始と同時に抽出され、ファイル作成状況管理テーブルtとして記憶手段104により保存され、また、文書ファイルの作成が完了するまで定期又は不定期に抽出され更新される。
そして、ファイル作成状況取得手段103は、クライアントであるPC20からダウンロード要求を受信したとき、又は、PC20から文書ファイルの作成状況に関する問い合わせの要求を受信したときに、このファイル作成状況管理テーブルtを参照することで対象の文書ファイルの作成状況を取得する。
The file creation
Specifically, the creation status of the document file stored in the file creation status management table t stored in the storage unit 104 such as a RAM is acquired.
FIG. 3 is a table configuration diagram showing the configuration of the file creation status management table.
As shown in FIG. 3, the file creation status management table t stores data corresponding to each column of “ID”, “creation status” (of document file), “progress”, and “file name”. I am doing so.
“ID” is a column for storing a unique identification number (for example, *** 1, *** 2, etc.) assigned to each target document file (or session).
“Creation status” is a column for storing the creation status of the document file (for example, “Creating”, “Completed”, etc.).
“Progress” is a column for storing the progress (eg, “50%”) of document file creation.
“File name” is a column for storing an identification name (eg, “aaa”) of the completed document file.
Information to be stored in each column is extracted at the same time as the creation of the document file, is stored in the storage unit 104 as the file creation status management table t, and regularly or irregularly until the creation of the document file is completed. Extracted and updated.
The file creation
ファイル作成状況通知手段105は、文書ファイルのダウンロード要求、又は、ファイル作成状況に関する問い合わせの要求(文書ファイルが作成中である旨の通知を行ったPC20からの要求)に応じ、その作成状況を要求元のPC20に通知する。具体的には、PC20から、文書ファイルのダウンロードの要求の旨、又は、文書ファイルの作成状況の問い合わせの要求の旨が記述されたHTTPリクエストを受信したとき、ファイル作成状況取得手段103を介しファイル作成状況管理テーブルtから該当する文書ファイルの作成状況を取得する。そして、取得した文書ファイルの作成状況(HTMLファイル)をHTTPレスポンスとしてPC20に送信する。
すなわち、MFP10は、PC20からの要求に対する応答と一緒に文書ファイルの作成状況を返信するようにしている。
このため、PC20においても、ファイルの作成状況を把握でき、ファイル作成の進捗に適した要求をMFP10に対し行うことが可能となる。
The file creation
That is, the
Therefore, the
また、PC20が、ファイルの作成状況に含まれる「ID」を、MFP10に対する次の要求(作成状況の問い合わせ要求)に含めることによって、MFP10ではファイル作成状況管理テーブルtを参照するだけでそのクライアントに関するファイルの作成状況を取得することが可能となる。このため、クライアントごとのファイルの作成状況の追跡を容易化することができる。また、「進捗度」に応じたプログレスバー等をPC20の表示画面に表示するようにして、利用者の利便性を向上することもできる。
このように、ダウンロード要求に対する応答とともに、ファイルの作成状況を通知することによって、セッションを短時間で開放するとともに、PC20の次の振舞いを制御することが可能となり、ファイルのダウンロード要求からダウンロード完了に至る各種データ処理を円滑化することができる。
In addition, the
In this way, by notifying the file creation status along with the response to the download request, the session can be released in a short time and the next behavior of the
応答手段106は、ファイル取得要求(文書ファイルの作成が完了した旨の通知を行ったPC20からの要求)に応じ文書ファイルのダウンロードを行う。
具体的には、応答手段106は、文書ファイルの作成が完了した旨の通知を行ったPC20から文書ファイルの取得を要求する旨のHTTPリクエストを受信した場合には、その要求において指定された「ファイル名」にもとづき該当する文書ファイルをHDDから取り出し、HTTPレスポンスによって要求元のPC20に送信(ダウンロード)する。
このようにすると、PC20からはファイルの作成が完了したタイミングでその取得要求を行うことができるため、ダウンロードを円滑に実施することができる。
The response means 106 downloads the document file in response to a file acquisition request (a request from the
Specifically, when the
In this way, since the acquisition request can be made from the
次に、文書ファイルのダウンロード要求を受けてからそのダウンロードの完了に至る手順について図4〜6を参照しながら説明する。
図4は、文書ファイルのダウンロード要求からその完了に至る工程のうちの最初の工程を示したフローチャートである。
図4に示すように、文書ファイルのダウンロードは、MFP10が、あるPC20から文書ファイルのダウンロード要求としてのHTTPリクエストを受信することから始まる(S1)。具体的には、文書ファイルのダウンロードを要求する旨の記述を含むHTTPリクエストがPC20から送信され、これをMFP10の制御部100(ダウンロード要求受信手段101)が受信する。
Next, a procedure from receiving a document file download request to completing the download will be described with reference to FIGS.
FIG. 4 is a flowchart showing a first step among steps from a document file download request to its completion.
As shown in FIG. 4, downloading of a document file starts when the
つぎに、MFP10の制御部100は、送信ジョブ(ファイル)の実行制限をチェックする(S2)。具体的には、PC20に対する文書ファイルのダウンロードの許否、対象ファイルのデータ量や件数等の各種制限事項について確認することによって、ジョブ送信の許否を決定する。
この結果、ジョブ送信の実行が許可された場合(S3:実行許可)、制御部100は、カラー/白黒の選択、ファイル分割(1ページを1ファイルとしてダウンロードする形式)などのオプション設定を反映し(S4)、文書ファイル作成に必要なサービスプログラムを起動する(S5)。具体的には、制御部100が、ジョブ送信に係るスレッドを起動するとともに、文書ファイルを作成するためのスレッドを個別に起動する。
Next, the
As a result, when execution of job transmission is permitted (S3: execution permission), the
続いて、制御部100においては、ファイル作成手段102が一のスレッドで文書ファイルの作成を開始する(S6)とともに、ファイル作成状況通知手段105が他のスレッドで文書ファイルの作成状況「作成中」を示すHTTPレスポンスを要求元のPC20に送信する(S7)。すなわち、S6における文書ファイルの作成処理と、S7におけるHTTPレスポンスは、別々のスレッドで並行して行われる。ファイル作成手段102は、S6におけるスレッド(文書ファイルの作成を開始するスレッド)において作成した文書ファイルをHDDなどの記憶装置に保存する。
なお、S3において、ジョブ送信の実行が許可されなかった場合(S3:実行禁止)、S7に進み、その旨の記述を含むHTTPレスポンスを要求元のPC20に送信する。
Subsequently, in the
If execution of job transmission is not permitted in S3 (S3: execution prohibited), the process proceeds to S7, and an HTTP response including a description to that effect is transmitted to the requesting
図5は、文書ファイルのダウンロード要求からその完了に至る工程のうちの中間の工程を示したフローチャートである。なお、この工程は、図4のS7の後工程に相当する。
図5に示すように、ここでは、MFP10が、PC20から文書ファイルの作成状況の問い合わせ要求としてHTTPリクエストを受信することから始まる(S11)。
これを受け、MFP10の制御部100(ファイル作成状況取得手段103)は、文書ファイルの作成状況をチェックする(S12)。
文書ファイルが作成中であることが確認された場合(S13:作成中)、制御部100では、CPUに対しPC20からポーリング送信要求を行うべきことの通知が行われ(S14)、ファイル作成状況通知手段105が、その通知の内容にもとづく記述のHTTPレスポンスを要求元のPC20に送信する(S15)。
このような通知を行うことで、PC20側においては、まだファイルが作成中であることを認識することができる。このため、PC20は、この通知を受けた場合には、引き続き文書ファイルの作成状況の問い合わせ要求であるHTTPリクエストを特定のタイミング(例えば、通知を受けた数秒後など)でMFP20に送信するようにしている。
FIG. 5 is a flowchart showing an intermediate step among the steps from a document file download request to its completion. This step corresponds to a subsequent step of S7 in FIG.
As shown in FIG. 5, the
In response to this, the control unit 100 (file creation status acquisition unit 103) of the
When it is confirmed that a document file is being created (S13: creating), the
By performing such notification, the
S13において、文書ファイルの作成が完了したことが確認された場合(S13:作成完了)、制御部100では、CPUに対しPC20から文書ファイルの取得要求を行うべきことの通知が行われ(S16)、ファイル作成状況通知手段105が、その通知の内容にもとづく記述のHTTPレスポンスを要求元のPC20に送信する(S17)。
なお、S13において、時間超過等の理由により文書ファイルの作成を中止することが確認された場合(S13:作成中止)、制御部100では、CPUに対し文書ファイルのダウンロードを中止することが通知され(S18)、その通知の内容にもとづく記述のHTTPレスポンスを要求元のPC20に送信される(S19)。
In S13, when it is confirmed that the creation of the document file is completed (S13: creation completed), the
In S13, when it is confirmed that the creation of the document file is to be canceled due to reasons such as exceeding the time (S13: Creation is canceled), the
図6は、文書ファイルのダウンロードの要求からその完了に至る工程のうちの最後の工程を示したフローチャートである。なお、この工程は、図5のS17の後工程に相当する。
図6に示すように、ここでは、MFP10が、PC20から文書ファイルの取得要求としてHTTPリクエストを受信することから始まる(S31)。
これを受け、MFP10の制御部100(応答手段106)は、作成が完了した文書ファイルをHDDから取得し(S32)、この文書ファイルをHTTPレスポンスにもとづいて送信する(S33)。
FIG. 6 is a flowchart showing the last of the steps from the request for downloading the document file to the completion thereof. This step corresponds to a subsequent step of S17 in FIG.
As shown in FIG. 6, here, the
In response to this, the control unit 100 (response means 106) of the
以上のように、本発明の実施形態に係る画像形成装置(MFP10)によれば、クライアントであるPC20からの要求に即時に応答しつつファイルの作成処理を並行して進め、さらに、このファイルの作成状況に応じた応答処理を行うようにしている。
このため、長時間に至るセッションの占有を回避しつつ、クライアントの次の振舞いも制御することができる。
したがって、複数のPC20からのマルチアクセスに対するダウンロード処理を円滑にかつ効率的に実施することができる。
As described above, according to the image forming apparatus (MFP 10) according to the embodiment of the present invention, the file creation process proceeds in parallel while immediately responding to the request from the
Therefore, it is possible to control the next behavior of the client while avoiding the occupation of the session for a long time.
Therefore, the download process for multi-access from a plurality of
以上、本発明の画像形成装置について、好ましい実施形態を示して説明したが、本発明にかかる画像形成装置は、上述した実施形態に限定されるものではなく、本発明の範囲で種々の変更実施が可能であることは言うまでもない。
例えば、ブラウザがインストールされた他の画像形成装置(コピー機、プリンター装置、ファクシミリ装置)を、本実施形態のMFP10に代えて適用することによっても本発明の目的を達することができ、同様の作用効果を奏することができる。
The image forming apparatus of the present invention has been described with reference to the preferred embodiment. However, the image forming apparatus according to the present invention is not limited to the above-described embodiment, and various modifications may be made within the scope of the present invention. It goes without saying that is possible.
For example, the object of the present invention can be achieved by applying another image forming apparatus (copy machine, printer apparatus, facsimile apparatus) installed with a browser in place of the
本発明は、プリンター装置、複写機、ファクシミリ装置又はこれらの機能を備えた複合機等の画像形成装置に好適に用いることができる。 The present invention can be suitably used for an image forming apparatus such as a printer, a copying machine, a facsimile machine, or a multifunction machine having these functions.
10 MFP(画像形成装置)
100 制御部
101 ダウンロード要求受信手段
102 ファイル作成手段
103 ファイル作成状況取得手段
104 記憶手段
105 ファイル作成状況通知手段
106 応答手段
t ファイル作成状況管理テーブル
20 PC
10 MFP (image forming apparatus)
DESCRIPTION OF
Claims (5)
前記端末装置から任意のファイルに関するダウンロード要求を受信するダウンロード要求受信手段と、
前記ダウンロード要求に応じて、当該ダウンロード要求に係るファイルについてのファイル作成処理を開始するファイル作成手段と、
前記ダウンロード要求、又は、ダウンロード要求されたファイルに関するファイルの作成状況の問い合わせの要求に応じて、当該ファイルの作成状況を前記端末装置に通知するファイル作成状況通知手段と、
ファイル取得要求に応じ前記端末装置に前記ファイルのダウンロードを行う応答手段と、を備え、
前記ダウンロード要求、前記問い合わせの要求、及び、前記ファイル取得要求は、前記端末装置から送信されるHTTPリクエストによって実施され、
前記端末装置に対するファイルの作成状況の通知及び前記ファイルのダウンロードは、前記HTTPリクエストに対応したHTTPレスポンスによって応答され、
前記ファイル作成手段が、
前記ダウンロード要求に係るHTTPリクエストに対応したHTTPレスポンスによる応答に拘わらず、当該ダウンロード要求に係るファイルについてのファイル作成処理を開始し、
前記ファイル作成状況通知手段が、
前記ダウンロード要求受信手段による前記ダウンロード要求の受信後、前記ファイルが作成中である旨の通知を行った前記端末装置から、前記ファイルの作成状況に関する問い合わせ要求を前記画像形成装置が受信すると、前記ファイルに係る前記ファイルの作成状況をチェックし、前記ファイルが作成中であることが確認された場合は、前記端末装置から前記問い合わせ要求のポーリング送信要求を行うべきことが記述されたHTTPレスポンスを前記端末装置に送信し、前記チェックにより前記ファイルの作成が完了したことが確認された場合は、前記端末装置からファイル取得要求を行うべきことが記述されたHTTPレスポンスを前記端末装置に送信することを特徴とする画像形成装置。 An image forming apparatus that enables image forming processing based on a request from a terminal device that is communicably connected,
Download request receiving means for receiving a download request for an arbitrary file from the terminal device;
In response to the download request, file creation means for starting a file creation process for the file related to the download request;
A file creation status notifying means for notifying the terminal device of the creation status of the file in response to the download request or a request for an inquiry about the creation status of a file relating to the file requested to be downloaded;
Responding means for downloading the file to the terminal device in response to a file acquisition request,
The download request, the inquiry request, and the file acquisition request are implemented by an HTTP request transmitted from the terminal device,
The notification of the creation status of the file to the terminal device and the download of the file are responded by an HTTP response corresponding to the HTTP request,
The file creation means is
Regardless of the response by the HTTP response corresponding to the HTTP request related to the download request, a file creation process for the file related to the download request is started.
The file creation status notifying means
After the download request is received by the download request receiving unit, when the image forming apparatus receives an inquiry request regarding the creation status of the file from the terminal device that has notified that the file is being created, When the creation status of the file according to the above is checked and it is confirmed that the file is being created, an HTTP response describing that the terminal device should make a polling transmission request for the inquiry request is sent to the terminal. When the check confirms that the creation of the file is completed by the check, an HTTP response describing that a file acquisition request should be sent from the terminal device is sent to the terminal device. An image forming apparatus.
前記端末装置から任意のファイルに関するダウンロード要求を受信するダウンロード要求受信手段、
前記ダウンロード要求に応じて、当該ダウンロード要求に係るファイルについてのファイル作成処理を開始するファイル作成手段、
前記ダウンロード要求、又は、ダウンロード要求されたファイルに関するファイルの作成状況の問い合わせの要求に応じて、当該ファイルの作成状況を前記端末装置に通知するファイル作成状況通知手段、及び、
ファイル取得要求に応じ前記端末装置に前記ファイルのダウンロードを行う応答手段、として機能させ、
前記ダウンロード要求、前記問い合わせの要求、及び、前記ファイル取得要求は、前記端末装置から送信されるHTTPリクエストによって実施され、
前記端末装置に対するファイルの作成状況の通知及び前記ファイルのダウンロードは、前記HTTPリクエストに対応したHTTPレスポンスによって応答され、
前記ファイル作成手段に、
前記ダウンロード要求に係るHTTPリクエストに対応したHTTPレスポンスによる応答に拘わらず、当該ダウンロード要求に係るファイルについてのファイル作成処理を開始させ、
前記ファイル作成状況通知手段に、
前記ダウンロード要求受信手段による前記ダウンロード要求の受信後、前記ファイルが作成中である旨の通知を行った前記端末装置から、前記ファイルの作成状況に関する問い合わせ要求が前記画像形成装置により受信されると、前記ファイルに係る前記ファイルの作成状況をチェックさせ、前記ファイルが作成中であることが確認された場合は、前記端末装置から前記問い合わせ要求のポーリング送信要求を行うべきことが記述されたHTTPレスポンスを前記端末装置に送信させ、前記チェックにより前記ファイルの作成が完了したことが確認された場合は、前記端末装置からファイル取得要求を行うべきことが記述されたHTTPレスポンスを前記端末装置に送信させるためのデータ処理プログラム。 A computer of an image forming apparatus that enables image forming processing based on a request of a terminal device that is communicably connected,
Download request receiving means for receiving a download request for an arbitrary file from the terminal device;
In response to the download request, file creation means for starting a file creation process for the file related to the download request,
A file creation status notifying means for notifying the terminal device of the creation status of the file in response to a request for an inquiry about the creation status of the file relating to the download request or the file requested to be downloaded; and
In response to a file acquisition request, the terminal device functions as response means for downloading the file,
The download request, the inquiry request, and the file acquisition request are implemented by an HTTP request transmitted from the terminal device,
The notification of the creation status of the file to the terminal device and the download of the file are responded by an HTTP response corresponding to the HTTP request,
In the file creation means,
Regardless of the response by the HTTP response corresponding to the HTTP request related to the download request, the file creation processing for the file related to the download request is started,
In the file creation status notification means,
After receiving the download request by the download request receiving means , an inquiry request regarding the creation status of the file is received by the image forming apparatus from the terminal device that has notified that the file is being created. When the creation status of the file related to the file is checked and it is confirmed that the file is being created, an HTTP response describing that a polling transmission request for the inquiry request should be performed from the terminal device is sent. To transmit to the terminal device, and when the check confirms that the creation of the file has been completed, the terminal device transmits an HTTP response describing that a file acquisition request should be made from the terminal device. Data processing program.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011078569A JP5656716B2 (en) | 2011-03-31 | 2011-03-31 | Image forming apparatus and data processing program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011078569A JP5656716B2 (en) | 2011-03-31 | 2011-03-31 | Image forming apparatus and data processing program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2012210787A JP2012210787A (en) | 2012-11-01 |
| JP5656716B2 true JP5656716B2 (en) | 2015-01-21 |
Family
ID=47265180
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2011078569A Expired - Fee Related JP5656716B2 (en) | 2011-03-31 | 2011-03-31 | Image forming apparatus and data processing program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5656716B2 (en) |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2000112691A (en) * | 1998-10-07 | 2000-04-21 | Seiko Epson Corp | Network printing system, network printer, and network printing method |
| JP4556840B2 (en) * | 2005-10-26 | 2010-10-06 | セイコーエプソン株式会社 | Recording medium creation system and progress information display control method |
| JP2007206754A (en) * | 2006-01-30 | 2007-08-16 | Konica Minolta Business Technologies Inc | Image processor |
-
2011
- 2011-03-31 JP JP2011078569A patent/JP5656716B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2012210787A (en) | 2012-11-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8970876B2 (en) | Printing system, cloud computing system, printing system control method, and storage medium | |
| US8482778B2 (en) | Print intermediary server and print intermediary method | |
| JP5654806B2 (en) | Server system, printing apparatus, network printing system having them, and method therefor | |
| US8836974B2 (en) | Image processing system and control method for managing a job related to image processing in a distributed environment | |
| JP4577418B2 (en) | Ad distribution system | |
| US8582170B2 (en) | Image forming apparatus, print control method, and storage medium for controlling user of executing gray-out print settings | |
| JP6555892B2 (en) | Image forming apparatus and printing control method using image forming apparatus | |
| JP5962702B2 (en) | Image forming apparatus, web application system, and program | |
| JP2013246447A (en) | Network device, program, system and method | |
| JP6040878B2 (en) | Printing apparatus, printing control apparatus, printing system, and program | |
| JP5854667B2 (en) | Job processing apparatus, control method and program for job processing apparatus | |
| US9116640B2 (en) | Image processing apparatus, display method, and storage medium | |
| JP2012064091A (en) | Information processing system, information processor and program | |
| US20120044523A1 (en) | Image forming system for printing contents of widget application executed in terminal | |
| EP2597563B1 (en) | Intermediation server and communication device | |
| JP5657062B2 (en) | Image forming apparatus, image forming apparatus control method, and program | |
| JP6183119B2 (en) | Relay device, image processing device, relay device program, and image processing device program | |
| JP5656716B2 (en) | Image forming apparatus and data processing program | |
| JP5678556B2 (en) | Job execution system, job execution device, and program | |
| JP6988065B2 (en) | Image forming apparatus, image forming system, and image forming program | |
| JP7569498B2 (en) | Imaging systems and print servers | |
| JP6316543B2 (en) | Server, image forming apparatus, image processing system, processing method, and control program | |
| JP5130140B2 (en) | Image forming system | |
| JP2009033731A (en) | Image forming apparatus, document management method, and program | |
| JP6627301B2 (en) | Information processing apparatus, information processing method, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130222 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20131114 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20131119 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140110 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20140204 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140404 |
|
| 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: 20141028 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20141125 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 5656716 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| LAPS | Cancellation because of no payment of annual fees |