Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6206056B2 - Processing program, processing apparatus, and processing method - Google Patents
[go: Go Back, main page]

JP6206056B2 - Processing program, processing apparatus, and processing method - Google Patents

Processing program, processing apparatus, and processing method Download PDF

Info

Publication number
JP6206056B2
JP6206056B2 JP2013206174A JP2013206174A JP6206056B2 JP 6206056 B2 JP6206056 B2 JP 6206056B2 JP 2013206174 A JP2013206174 A JP 2013206174A JP 2013206174 A JP2013206174 A JP 2013206174A JP 6206056 B2 JP6206056 B2 JP 6206056B2
Authority
JP
Japan
Prior art keywords
processing
request
page
pages
integrated
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2013206174A
Other languages
Japanese (ja)
Other versions
JP2015069614A (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 JP2013206174A priority Critical patent/JP6206056B2/en
Publication of JP2015069614A publication Critical patent/JP2015069614A/en
Application granted granted Critical
Publication of JP6206056B2 publication Critical patent/JP6206056B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)

Description

本発明は、処理プログラム及び処理装置並びに処理方法に関し、特に、印刷に関する処理を制御する処理プログラム及び処理装置並びに処理方法に関する。   The present invention relates to a processing program, a processing apparatus, and a processing method, and more particularly, to a processing program, a processing apparatus, and a processing method that control processing related to printing.

クラウドサーバやローカルサーバでサービスを提供する場合に、多数のユーザがサービスを利用すると、要求(サービスの利用をサーバに求めることを要求と称する。)が集中して一時的に大量の処理(サービスを提供するためのサーバの動作を処理と称する。)が発生する可能性がある。このような事態に対応すべく、効率的に処理を実行するための様々な方法が提案されている。   When a service is provided by a cloud server or a local server, when a large number of users use the service, requests (referred to as requesting the server to use the service) are concentrated and a large amount of processing (service The operation of the server for providing the service is referred to as processing). In order to cope with such a situation, various methods for efficiently executing processing have been proposed.

例えば、下記特許文献1には、プロセッサにより画像処理を行なう画像処理方法であって、画像処理を負担可能なプロセッサの数を問い合わせ、前記処理しようとしている画像の性質を判別し、該判別した画像の性質と前記問い合わせたプロセッサの数とに基づいて、前記複数のプロセッサに分担する各処理を決定する画像処理方法が開示されている。   For example, Patent Document 1 below is an image processing method in which image processing is performed by a processor, inquires about the number of processors that can bear image processing, determines the properties of the image to be processed, and determines the determined image. An image processing method is disclosed in which each process to be shared by the plurality of processors is determined based on the characteristics of the processor and the number of inquired processors.

また、下記特許文献2には、1以上のソフトウェア実行環境の各プロセスに1以上のCPU(Central Processing Unit)割当て単位を持つマルチスレッド環境で各スレッドに割りつけられたソフト部品から他のソフト部品の実行依頼情報が発行された場合に、ソフト部品の配置を示す共通参照情報を参照し、ソフト部品を結合し実行を制御するソフト部品結合制御装置であって、各スレッド毎に、受け取った実行依頼情報と上記共通参照情報により宛先のソフト部品の所在を判定し上記所在に基づいた手続で上記実行依頼情報を伝達するスレッド間部品結合手段と、2つのプロセス間のソフト部品の結合と実行を制御するとき、各プロセス毎に、受け取った実行依頼情報と上記共通参照情報により宛先のソフト部品の所在を判定し上記所在に基づいた手続で上記実行依頼情報を伝達するプロセス間部品結合手段と、を備えるソフト部品結合制御装置が開示されている。   In Patent Document 2 below, from a software component assigned to each thread in a multi-thread environment having one or more CPU (Central Processing Unit) allocation units for each process in one or more software execution environments, other software components When the execution request information is issued, the software component combination control device refers to the common reference information indicating the arrangement of the software components, combines the software components, and controls the execution. The inter-thread component combining means for determining the location of the destination software component based on the request information and the common reference information and transmitting the execution request information in a procedure based on the location, and combining and executing the soft component between the two processes When controlling, for each process, the location of the destination software component is determined based on the received execution request information and the common reference information, and based on the location Procedures software component binding controller and a interprocess component coupling means for transmitting the execution request information is disclosed in.

特開2000−2936740号公報JP 2000-2936740 A 特開平10−133888号公報JP-A-10-133888

上述したように、サービスを提供するサーバでは、要求が集中すると一時的に大量の処理が発生する可能性があり、このような場合には、各要求に対する処理を並行して実行するように構成されている。しかしながら、要求が入力されるたびに処理を実行すると、要求の数だけ処理が同時に実行されるため、サーバの処理負荷が増大し、リソース(メモリやHDD(Hard Disk Drive))が不足し、その結果、期待された速度で要求に応えることができなくなり、快適にサービスを提供することができなくなってしまう。   As described above, in a server that provides a service, a large amount of processing may occur temporarily when requests concentrate. In such a case, the processing for each request is executed in parallel. Has been. However, if the processing is executed each time a request is input, the processing is executed as many times as the number of requests, which increases the processing load on the server and the resources (memory and HDD (Hard Disk Drive)) are insufficient. As a result, it becomes impossible to respond to the request at the expected speed, and it becomes impossible to provide the service comfortably.

このような処理負荷の増大やリソースの不足を回避する策として、処理を実行するサーバを複数台設けて、処理負荷を分散させる方法が考えられる。しかしながら、サーバを複数台設けると、サーバ設備の準備やメンテナンスに大きなコストがかかってしまう。   As a measure for avoiding such an increase in processing load and a shortage of resources, a method of distributing a processing load by providing a plurality of servers that execute processing can be considered. However, if a plurality of servers are provided, a large cost is required for the preparation and maintenance of the server equipment.

また、処理負荷の増大やリソースの不足を回避する別の策として、複数の処理を統合する方法が考えられる。例えば、各々の要求に対応して複数の処理を行う場合に、各々の要求に対応する複数の処理の中の共通する処理を統合することによってトータルの処理量を減らすことができ、サーバの処理負荷の増大やリソースの不足を軽減することができる。   Further, as another measure for avoiding an increase in processing load and a shortage of resources, a method of integrating a plurality of processes can be considered. For example, when performing a plurality of processes corresponding to each request, the total processing amount can be reduced by integrating the common processes among the plurality of processes corresponding to each request. Increase in load and resource shortage can be reduced.

特に、プリンタやMFP(Multi Function Peripheral)などの印刷装置を利用する印刷に関する要求(例えば、印刷ジョブなど、ページ毎に印刷設定を反映した画像を生成する要求)を処理する場合、まず、印刷ジョブの各ページを解析するといった共通の処理が行われるため、この共通の処理を統合することによって、複数の要求の処理量を減らして、印刷ジョブを処理する装置の処理負荷やリソースの不足を軽減することができる。   In particular, when processing a request related to printing using a printing device such as a printer or an MFP (Multi Function Peripheral) (for example, a request for generating an image reflecting print settings for each page, such as a print job), first, the print job Since common processing such as analyzing each page of the system is performed, integrating this common processing reduces the processing amount of multiple requests and reduces the processing load and resource shortage of devices that process print jobs. can do.

ここで、処理の統合に関して、複数の要求に対する処理を開始する前に、複数の処理の重複部分(共通処理)を統合する方法は知られている。しかしながら、印刷に関する分野では、次々に新しい要求が入力され、各々の要求は迅速に実行する必要があるため、複数の要求が入力されるまで待ってから処理の統合を行うようにすると、先に行われた要求に対する処理が遅れてしまうという問題が生じる。   Here, regarding the integration of processes, a method of integrating overlapping portions (common processes) of a plurality of processes before starting the processes for a plurality of requests is known. However, in the field of printing, new requests are entered one after another, and each request needs to be executed quickly, so if you wait until multiple requests are entered before integrating the processing, There arises a problem that processing for the requested request is delayed.

本発明は、上記問題点に鑑みてなされたものであって、その主たる目的は、印刷に関する複数の要求に対する処理を効率的に実行することができる処理プログラム及び処理装置並びに処理方法を提供することにある。   The present invention has been made in view of the above problems, and a main object thereof is to provide a processing program, a processing apparatus, and a processing method capable of efficiently executing processing for a plurality of requests related to printing. It is in.

本発明の一側面は、印刷に関する要求を処理する処理装置で動作する処理プログラムであって、前記処理装置に、第1の要求の処理中に第2の要求が入力された場合に、処理中若しくは処理予定のページに関して、ページ単位での処理の統合が可能かを判断する第1ステップ、前記第1ステップで前記ページ単位での処理の統合が可能と判断された場合に、前記第2の要求の処理予定のページの内、統合できるページの処理は前記第1の要求の処理として実行し、統合できないページの処理は前記第2の要求の処理として実行する第2ステップ、を実行させ、前記第1ステップでは、ページ単位で処理を統合した時の、前記第1の要求の処理の遅延が予め定めた許容範囲を越える場合は、前記ページ単位での処理の統合はできないと判断することを特徴とする。 One aspect of the present invention is a processing program that operates in a processing device that processes a request relating to printing, and is being processed when a second request is input to the processing device during the processing of the first request. Alternatively, the first step for determining whether or not the processing can be integrated in units of pages with respect to the page to be processed, and when it is determined in the first step that the processing in units of pages can be integrated, Of the pages scheduled to be processed for the request, the processing of the page that can be integrated is executed as the processing of the first request, and the processing of the page that cannot be integrated is executed as a second step of processing as the processing of the second request , in the first step, when the integrated processing in units of pages, and if the difference exceeds the allowable range to which the delay is predetermined processing of the first request, you determined not possible integration processing in the page unit And wherein the door.

本発明の一側面は、通信ネットワークを介して、印刷に関する要求を送信する装置に接続される処理装置であって、前記要求を受信する通信I/F部と、受信した前記要求を処理する制御部と、を備え、前記制御部は、第1の要求の処理中に第2の要求が入力された場合に、処理中若しくは処理予定のページに関して、ページ単位での処理の統合が可能かを判断する判断部と、前記判断部が前記ページ単位での処理の統合が可能と判断した場合に、前記第2の要求の処理予定のページの内、統合できるページの処理は前記第1の要求の処理として実行し、統合できないページの処理は前記第2の要求の処理として実行する処理実行部と、を備え、前記判断部は、ページ単位で処理を統合した時の、前記第1の要求の処理の遅延が予め定めた許容範囲を越える場合は、前記ページ単位での処理の統合はできないと判断することを特徴とする。 One aspect of the present invention is a processing device connected to a device that transmits a request regarding printing via a communication network, and a communication I / F unit that receives the request, and a control that processes the received request The control unit determines whether processing can be integrated in units of pages with respect to a page being processed or scheduled to be processed when a second request is input during processing of the first request. When the determination unit and the determination unit determine that the processing can be integrated in units of pages, the processing of the page that can be integrated among the pages scheduled to be processed in the second request is the first request. And a process execution unit that executes a process for a page that cannot be integrated as a process for the second request, and the determination unit integrates the process in units of pages. The processing delay of If exceeding the range, it characterized that you determined to not be integrated in the process in the page unit.

本発明の一側面は、通信ネットワークを介して、印刷に関する要求を送信する装置に接続される処理装置における処理方法であって、第1の要求の処理中に第2の要求が入力された場合に、処理中若しくは処理予定のページに関して、ページ単位での処理の統合が可能かを判断する第1ステップと、前記第1ステップで前記ページ単位での処理の統合が可能と判断された場合に、前記第2の要求の処理予定のページの内、統合できるページの処理は前記第1の要求の処理として実行し、統合できないページの処理は前記第2の要求の処理として実行する第2ステップと、を実行し、前記第1ステップでは、ページ単位で処理を統合した時の、前記第1の要求の処理の遅延が予め定めた許容範囲を越える場合は、前記ページ単位での処理の統合はできないと判断することを特徴とする。 One aspect of the present invention is a processing method in a processing device connected to a device that transmits a request for printing via a communication network, where a second request is input during processing of the first request. In addition, when it is determined that the processing can be integrated in units of pages for the page being processed or scheduled to be processed, and the processing in units of pages is determined to be integrated in the first step. In the second step, processing of pages that can be integrated among the pages scheduled to be processed of the second request is executed as processing of the first request, and processing of pages that cannot be integrated is executed as processing of the second request. If, then the execution, wherein in the first step, when the integrated processing in units of pages, and if the difference exceeds the allowable range to which the delay is predetermined processing of the first request, integration processing in the page unit Characterized in that it determines that it can not.

本発明の処理プログラム及び処理装置並びに処理方法によれば、印刷に関する複数の要求に対する処理を効率的に実行することができる。   According to the processing program, processing apparatus, and processing method of the present invention, it is possible to efficiently execute processing for a plurality of requests related to printing.

その理由は、サーバや印刷装置などの印刷に関する要求を処理する処理装置で動作する処理プログラムは、第1の要求の処理中に第2の要求が入力された場合に、処理中若しくは処理予定のページに関して、ページ単位での処理の統合が可能かを判断し、ページ単位での処理の統合が可能な場合は、第2の要求の処理予定のページの内、統合できるページの処理は第1の要求の処理として実行し、統合できないページの処理は第2の要求の処理として実行するからである。   The reason is that a processing program that operates on a processing device that processes a request related to printing, such as a server or a printing device, is processing or scheduled to process when a second request is input during processing of the first request. It is determined whether or not processing can be integrated in units of pages, and if processing in units of pages is possible, processing of pages that can be integrated out of pages scheduled for processing of the second request is the first. This is because the process of the page that cannot be integrated is executed as the second request process.

本発明の一実施例に係る印刷システムの構成を模式的に示す図である。1 is a diagram schematically illustrating a configuration of a printing system according to an embodiment of the present invention. 本発明の一実施例に係るユーザ端末の構成を示すブロック図である。It is a block diagram which shows the structure of the user terminal which concerns on one Example of this invention. 本発明の一実施例に係るWebサーバの構成を示すブロック図である。It is a block diagram which shows the structure of the web server which concerns on one Example of this invention. 本発明の一実施例に係る印刷装置の構成を示すブロック図である。1 is a block diagram illustrating a configuration of a printing apparatus according to an embodiment of the present invention. 本発明の一実施例に係る印刷に関する要求に対して行われる処理の一例を示す図である。It is a figure which shows an example of the process performed with respect to the request regarding the printing which concerns on one Example of this invention. 統合すべき処理の一例を示す図である。It is a figure which shows an example of the process which should be integrated. 統合すべきでない処理の一例を示す図である。It is a figure which shows an example of the process which should not be integrated. 従来と本発明の処理方法の比較(複数の要求のページが同じで出力指定が異なる場合)を示す図である。It is a figure which shows the comparison (when a several request | requirement page is the same, and output designation | designated differs) of the processing method of the past and this invention. 従来と本発明の処理方法の比較(複数の要求のページが部分的に重複し、出力指定が同じ場合)を示す図である。It is a figure which shows the comparison (when the page of a several request | requirement partially overlaps, and output designation is the same) of the processing method of the past and this invention. 従来と本発明の処理方法の比較(複数の要求のファイルが異なり、ページが部分的に重複し、出力指定が同じ場合)を示す図である。It is a figure which shows the comparison (when the files of a some request | requirement differ, a page overlaps partially, and output specification is the same) of the processing method of the past and this invention. 本発明の一実施例に係るWebサーバの動作を示すフローチャート図である。It is a flowchart figure which shows operation | movement of the Web server based on one Example of this invention. 本発明の一実施例に係るWebサーバの動作(処理の統合動作)を示すフローチャート図である。It is a flowchart figure which shows the operation | movement (integration operation | movement of a process) of the Web server which concerns on one Example of this invention.

サーバと複数のクライアントが通信できるように接続された構成では、複数のクライアントからサーバへ処理の要求が送られる。サーバは受信した要求に応じた処理を行うが、その際、要求が集中して一時的に大量の処理が発生する場合には、サーバの処理負荷が増大し、リソースが不足してしまう。この問題に対して、サーバを複数設けて、処理負荷を分散させる方法があるが、この方法では、サーバ設備の準備やメンテナンスにコストがかかってしまう。また、別の方法として複数の処理を統合する方法があり、複数の要求に対する処理を開始する前に、各々の要求に対する複数の処理の重複部分(共通処理)を統合する方法が知られている。   In a configuration in which a server and a plurality of clients are connected so as to communicate with each other, processing requests are sent from the plurality of clients to the server. The server performs processing in response to the received request. At that time, if a large amount of processing occurs temporarily due to concentration of requests, the processing load on the server increases and resources are insufficient. To solve this problem, there is a method of providing a plurality of servers and distributing the processing load. However, this method requires costs for preparation and maintenance of server equipment. As another method, there is a method of integrating a plurality of processes, and a method of integrating overlapping portions (common processes) of a plurality of processes for each request before starting the processes for the plurality of requests is known. .

例えば、印刷に関する要求は複数の処理で構成され、最初のいくつかの処理は必ず順番通りに実行する必要があり、最終段のいくつかの処理は複数の処理に分かれ、処理に応じて異なる出力結果となるという特徴がある。従って、最初のいくつかの処理を統合することによって、複数の要求のトータルの処理量を減らして、印刷に関する要求を処理する装置の処理負荷を軽減することができる。   For example, a print request consists of multiple processes, and the first several processes must be executed in order, and the last few processes are divided into multiple processes, and output varies depending on the process. There is a feature that results. Therefore, by integrating the first several processes, it is possible to reduce the total processing amount of a plurality of requests and reduce the processing load of the apparatus that processes the requests related to printing.

しかしながら、印刷の分野では、次々に新しい要求が送られ、各々の要求は迅速に実行する必要があるため、複数の要求が入力されるまで待ってから処理の統合を行うと、先の要求に対する処理の実行が遅れてしまうという問題があった。このような背景から、ある要求に対する処理の実行中に他の要求が入力された場合に、それらの要求に含まれる処理を効率的に統合する方法の提案が求められている。   However, in the field of printing, new requests are sent one after another, and each request needs to be executed quickly, so if you wait for multiple requests to be entered before integrating the processing, There was a problem that execution of processing would be delayed. From such a background, there is a need for a proposal of a method for efficiently integrating processes included in a request when another request is input during execution of the process for the request.

そこで、本発明の一実施の形態では、先の要求(第1の要求)の処理中に別の要求(第2の要求)が入力された場合に、処理中若しくは処理予定のページに関して、ページ単位での処理の統合が可能か(第1の要求の処理中若しくは処理予定のページと第2の要求の処理予定のページとに同一ページがあるか)を判断し、ページ単位での処理の統合が可能な場合(同一ページがある場合、若しくは、同一ページがあり、かつ、先の要求の処理の遅延が許容範囲内の場合)は、統合できるページ(同一ページ)の処理は先の要求の処理として実行し、統合できないページ(同一でないページ)の処理は別の要求の処理として実行するようにする。   Therefore, in one embodiment of the present invention, when another request (second request) is input during the processing of the previous request (first request), the page is being processed or is scheduled to be processed. It is determined whether processing can be integrated in units (whether the same page is in the process of the first request or the page scheduled for processing and the page scheduled for processing of the second request). When integration is possible (when there is the same page, or when there is the same page and the delay of processing of the previous request is within an allowable range), processing of the page that can be integrated (same page) is processed by the previous request. The processing of the page that cannot be integrated (the page that is not identical) is executed as the processing of another request.

例えば、要求Aが入力されたとき、要求Aに応えるために1又は複数の処理(処理群Aとする。)を実行する。その処理群Aの実行中に、新たに要求Bが入力された場合、その要求Bに対する1又は複数の処理(処理群Bとする。)の全てが処理群Aに統合可能であれば、要求Bに対する処理群Bを実行せずに、要求Aに対する処理群Aの処理内容を、要求A、Bの両方を満たす処理に変更して、処理群Aの実行を継続させる。   For example, when request A is input, one or more processes (referred to as process group A) are executed to respond to request A. When a request B is newly input during execution of the processing group A, if all of one or a plurality of processes (referred to as processing group B) for the request B can be integrated into the processing group A, the request Without executing the processing group B for B, the processing content of the processing group A for the request A is changed to processing that satisfies both the requests A and B, and the execution of the processing group A is continued.

ただし、処理群Aの状態(処理内容や進行状況)や処理を統合した場合の処理群Aの応答性の悪化(処理群Aの遅延)を判定した結果、要求Bに対する処理群Bの全てを統合することができない場合は、処理群Aに統合できない部分のみについて要求Bに対する処理を実行する。そうすることで、一時に集中的に要求が入力された場合でも、ユーザへの快適性を損なうことなく装置に対する処理負荷やリソース不足を軽減することができる。   However, as a result of determining the state of the processing group A (processing contents and progress) and the deterioration of the responsiveness of the processing group A when processing is integrated (delay of the processing group A), all of the processing group B with respect to the request B If it cannot be integrated, the process for the request B is executed only for the part that cannot be integrated into the processing group A. By doing so, even when requests are input intensively at a time, it is possible to reduce the processing load on the apparatus and the resource shortage without impairing the comfort to the user.

上記制御の適用例としてサーバでの印刷プレビューサービスを想定する。プレビュー処理は、初期化処理、解析処理、解析情報通知、サムネイル生成処理、プレビュー生成処理などの処理群で構成され、出力は、解析情報、サムネイル画像、プレビュー画像のいずれか若しくはその複数になるため、出力を得るためには必ず初期化処理と解析処理を行う必要があるという特徴を有する。   As an application example of the above control, a print preview service at the server is assumed. The preview process consists of a group of processes such as an initialization process, an analysis process, an analysis information notification, a thumbnail generation process, and a preview generation process, and the output is one or more of the analysis information, thumbnail image, and preview image. In order to obtain the output, it is necessary to perform initialization processing and analysis processing.

そこで、このような印刷に関するサービスの特徴を鑑みて、ある要求Aの初期化処理や解析処理の実行中に、要求Bが入力された場合、要求Bに対する処理群を要求Aに対する処理群に統合可能であれば、要求Aに対する処理群の設定内容を要求Bに対する処理群にも対応するように変更することで、要求Bの初期化処理、解析処理を行うことによる処理負荷(処理時間)の軽減やリソース(メモリ使用量)の節約を図ることができる。   Therefore, in view of the characteristics of the service related to printing, when request B is input during execution of initialization processing or analysis processing of a request A, the processing group for request B is integrated into the processing group for request A. If possible, processing load (processing time) by performing initialization processing and analysis processing of request B by changing the setting contents of the processing group for request A so as to correspond to the processing group for request B as well. Reduction and resource (memory usage) can be saved.

一方、ある要求Aの初期化処理や解析処理中に、要求Bが入力された場合、要求Bに対する処理群を要求Aに対する処理群に統合可能であっても、処理を統合すべきでない場合がある。例えば、要求Aの出力が解析情報であり、要求Bの出力がプレビュー画像の場合、要求Aの処理群の処理内容の中に要求Bのプレビュー生成処理を統合した場合、要求Bの初期化処理、解析処理に対する処理負荷(処理時間)の軽減やリソース(メモリ使用量)の節約を図ることはできるが、要求Bのプレビュー生成処理を行うために、要求Aの応答が大幅に遅れてしまい、その結果、要求Aを入力したユーザの快適性が損なわれてしまう。そこで、処理の統合可否を判断する際に、先の要求に対する処理の遅延が予め定めた許容範囲内であるかも判断し、処理の遅延が許容範囲内であれば、処理の統合を行うようにする。   On the other hand, if a request B is input during an initialization process or an analysis process of a request A, the process may not be integrated even if the process group for the request B can be integrated into the process group for the request A. is there. For example, when the output of the request A is analysis information and the output of the request B is a preview image, the request B initialization processing is performed when the request B preview generation processing is integrated into the processing contents of the processing group of the request A Although it is possible to reduce the processing load (processing time) for the analysis processing and save resources (memory usage), the request A response is greatly delayed in order to perform the preview generation processing of the request B. As a result, the comfort of the user who has input the request A is impaired. Therefore, when determining whether or not processing can be integrated, it is also determined whether the processing delay for the previous request is within a predetermined allowable range. If the processing delay is within the allowable range, the processing is integrated. To do.

上記した本発明の実施の形態についてさらに詳細に説明すべく、本発明の一実施例に係る処理プログラム及び処理装置並びに処理方法について、図1乃至図12を参照して説明する。図1は、本実施例の印刷システムの全体構成を示す図であり、図2乃至図4は、各々、ユーザ端末、Webサーバ、印刷装置の構成を示すブロック図である。また、図5は、本実施例の印刷に関する要求に対して行われる処理の一例を示す図であり、図6及び図7は、各々、統合すべき処理の例、統合すべきでない処理の例を示す図である。また、図8乃至図10は、従来と本発明の処理方法を比較する図であり、図11及び図12は、本実施例のWebサーバの動作を示すフローチャート図である。   In order to describe the above-described embodiment of the present invention in more detail, a processing program, a processing apparatus, and a processing method according to an embodiment of the present invention will be described with reference to FIGS. FIG. 1 is a diagram illustrating an overall configuration of a printing system according to the present embodiment, and FIGS. 2 to 4 are block diagrams illustrating configurations of a user terminal, a Web server, and a printing apparatus, respectively. FIG. 5 is a diagram illustrating an example of processing performed in response to a request for printing according to the present embodiment. FIGS. 6 and 7 are examples of processing that should be integrated and examples of processing that should not be integrated, respectively. FIG. 8 to 10 are diagrams for comparing the processing method of the present invention with that of the present invention, and FIGS. 11 and 12 are flowcharts showing the operation of the Web server of this embodiment.

図1に示すように、本実施例の印刷システムは、印刷に関する要求を行う1又は複数のユーザ端末10と、印刷に関する要求を処理する処理装置(本実施例ではWebサーバ20とする。)と、必要に応じて、印刷を実行する1又は複数の印刷装置30とで構成される。これらは、イーサネット(登録商標)、トークンリング、FDDI(Fiber-Distributed Data Interface)等の規格により定められるLAN(Local Area Network)やWAN(Wide Area Network)等のネットワークによって相互に接続される。以下、各装置について詳細に説明する。   As shown in FIG. 1, the printing system according to the present exemplary embodiment includes one or a plurality of user terminals 10 that make a request related to printing, and a processing device that processes a request regarding printing (referred to as a Web server 20 in the present exemplary embodiment). If necessary, it is composed of one or a plurality of printing apparatuses 30 that execute printing. These are connected to each other by a network such as a LAN (Local Area Network) or a WAN (Wide Area Network) defined by standards such as Ethernet (registered trademark), Token Ring, and FDDI (Fiber-Distributed Data Interface). Hereinafter, each device will be described in detail.

[ユーザ端末]
ユーザ端末10は、パーソナルコンピュータなどのコンピュータ装置、タブレット端末やスマートフォンなどの携帯端末などであり、図2(a)に示すように、制御部11と記憶部12と通信I/F部13と表示部14と操作部15などで構成される。
[User terminal]
The user terminal 10 is a computer device such as a personal computer, a portable terminal such as a tablet terminal or a smartphone, and the control unit 11, the storage unit 12, the communication I / F unit 13, and the display as illustrated in FIG. The unit 14 and the operation unit 15 are configured.

制御部11は、CPU(Central Processing Unit)と、ROM(Read Only Memory)やRAM(Random Access Memory)などのメモリとで構成され、これらはバスを介して接続されている。CPUは、ROMや記憶部12からプログラムを読み出し、RAMに展開して実行することにより、ユーザ端末10の全体制御を行う。   The control unit 11 includes a CPU (Central Processing Unit) and a memory such as a ROM (Read Only Memory) and a RAM (Random Access Memory), which are connected via a bus. The CPU performs overall control of the user terminal 10 by reading a program from the ROM or the storage unit 12, developing it in the RAM, and executing it.

上記制御部11は、図2(b)に示すように、OS(Operating System)やOS上でドキュメントを作成するアプリケーションなどを動作させるアプリケーション部11aと、アプリケーションで作成したドキュメントのデータを印刷装置30で解釈可能な言語(PCL(Printer Control Language)やPS(Post Script)などのPDL(Page Description Language))に変換して印刷に関する要求(本実施例では印刷ジョブとする。)を生成するドライバ部11bなどとしても機能する。   As shown in FIG. 2B, the control unit 11 includes an OS (Operating System), an application unit 11 a that operates a document creation application on the OS, and the printing apparatus 30 that stores document data created by the application. A driver unit that generates a request for printing (in this embodiment, a print job) by converting it into a language that can be interpreted by the user (PDL (Page Description Language) such as PCL (Printer Control Language) or PS (Post Script)). It also functions as 11b.

記憶部12は、HDD(Hard Disk Drive)やSSD(Solid State Drive)、SD(Secure Digital)カードなどで構成され、CPUが各部を制御するためのプログラム、ドキュメントのデータ、自装置の処理機能に関する情報などを格納する。   The storage unit 12 includes an HDD (Hard Disk Drive), an SSD (Solid State Drive), an SD (Secure Digital) card, and the like, and relates to a program for controlling the respective units by the CPU, document data, and processing functions of the own device. Stores information etc.

通信I/F部13は、NIC(Network Interface Card)やモデムなどで構成され、ネットワークを介して繋がっているWebサーバ20との接続を確立し、要求の送信及び要求に対する処理の結果(例えば、解析情報、サムネイル画像、プレビュー画像)のデータの受信などを行う。   The communication I / F unit 13 includes a NIC (Network Interface Card), a modem, and the like, establishes a connection with the Web server 20 connected via the network, and transmits a request and results of processing for the request (for example, (Analysis information, thumbnail image, preview image) data is received.

表示部14は、LCD(Liquid Crystal Display)などで構成され、ドキュメントを作成する画面、ドキュメントの印刷条件を設定する画面、Webサーバ20から受信した解析情報、サムネイル画像、プレビュー画像を表示する画面などを表示する。操作部15は、キーボードやマウス、表示部14と一体となったタッチパネルなどで構成され、ドキュメントの作成、印刷条件の設定などの操作を可能にする。   The display unit 14 is configured by an LCD (Liquid Crystal Display) or the like, and includes a screen for creating a document, a screen for setting document printing conditions, a screen for displaying analysis information, thumbnail images, and preview images received from the Web server 20. Is displayed. The operation unit 15 includes a keyboard, a mouse, a touch panel integrated with the display unit 14, and the like, and enables operations such as document creation and print condition setting.

[Webサーバ]
Webサーバ20は、コンピュータ装置であり、図3(a)に示すように、制御部21と記憶部22と通信I/F部23と、必要に応じて表示部24及び操作部25などで構成される。
[Web server]
The Web server 20 is a computer device, and as shown in FIG. 3A, includes a control unit 21, a storage unit 22, a communication I / F unit 23, and a display unit 24 and an operation unit 25 as necessary. Is done.

制御部21は、CPUと、ROMやRAMなどのメモリとで構成され、これらはバスを介して接続されている。CPUは、ROMや記憶部22からプログラムを読み出し、RAMに展開して実行することにより、Webサーバ20の全体制御を行うと共に、ユーザ端末10からの要求に応じた処理を実行する。   The control unit 21 includes a CPU and a memory such as a ROM or a RAM, which are connected via a bus. The CPU reads out the program from the ROM and the storage unit 22, develops it in the RAM, and executes it, thereby performing overall control of the Web server 20 and executing processing in response to a request from the user terminal 10.

上記制御部21は、図3(b)に示すように、印刷に関する先の要求の処理中に別の要求が入力された場合に、要求を解析し、処理中若しくは処理予定のページ(言い換えると処理済みのページ以外のページ)に関して、ページ単位での処理の統合が可能かを判断する判断部21aと、判断部21aがページ単位での処理の統合が可能と判断した場合に、別の要求の処理予定のページの内、統合できるページの処理は先の要求の処理として実行し、統合できないページの処理は別の要求の処理として実行する処理実行部21bなどとしても機能する。この処理実行部21bは、処理の実行に際して、解析結果を解析情報としてユーザ端末10に送信したり、各ページの画像に印刷設定を反映させたプレビュー画像を生成したり、各ページの画像を縮小したサムネイル画像を生成したり、必要に応じて、印刷装置30に印刷させる印刷画像を生成したりする。   As shown in FIG. 3 (b), the control unit 21 analyzes a request when another request is input during processing of the previous request for printing, and a page being processed or scheduled to be processed (in other words, When the determination unit 21a determines whether or not the processing can be integrated in units of pages with respect to a page other than the processed page), and another determination is made when the determination unit 21a determines that the processing in units of pages can be integrated. Among the pages scheduled to be processed, the processing of the page that can be integrated is executed as the processing of the previous request, and the processing of the page that cannot be integrated also functions as the processing execution unit 21b that executes the processing of another request. When executing the process, the process execution unit 21b transmits the analysis result as analysis information to the user terminal 10, generates a preview image in which the print setting is reflected on the image of each page, or reduces the image of each page. The generated thumbnail image is generated, and if necessary, a print image to be printed by the printing apparatus 30 is generated.

記憶部22は、HDDなどで構成され、CPUが各部を制御するためのプログラム、ユーザ端末10から受信した要求、解析情報のデータ、プレビュー画像やサムネイル画像のデータ、各要求に対する処理の内容や実行状態を管理する管理リスト、自装置の処理機能に関する情報などを格納する。   The storage unit 22 is configured by an HDD or the like, and includes a program for the CPU to control each unit, a request received from the user terminal 10, analysis information data, preview image and thumbnail image data, and details and execution of processing for each request. A management list for managing the status, information related to the processing function of the own device, and the like are stored.

通信I/F部23は、NICやモデムなどで構成され、ネットワークを介して繋がっているユーザ端末10や印刷装置30との接続を確立し、ユーザ端末10からの要求の受信、ユーザ端末10への解析情報やプレビュー画像、サムネイル画像のデータの送信、必要に応じて、印刷装置への印刷画像のデータの送信などを実行する。   The communication I / F unit 23 includes a NIC, a modem, and the like, establishes a connection with the user terminal 10 and the printing apparatus 30 connected via the network, receives a request from the user terminal 10, and sends the request to the user terminal 10. Analysis data, preview image, thumbnail image data, and transmission of print image data to the printing apparatus as necessary.

表示部24は、LCDなどで構成され、Webサーバ20の制御に必要な各種画面などを表示する。操作部25は、キーボードやマウスなどで構成され、Webサーバ20の制御に必要な各種操作を可能にする。   The display unit 24 is configured with an LCD or the like, and displays various screens necessary for controlling the Web server 20. The operation unit 25 includes a keyboard and a mouse, and enables various operations necessary for controlling the Web server 20.

[印刷装置]
印刷装置30は、プリンタやMFP(Multi Function Peripheral)などの画像形成装置であり、図4に示すように、制御部31と記憶部32と通信I/F部33と表示部34と操作部35と印刷部36などで構成される。
[Printer]
The printing apparatus 30 is an image forming apparatus such as a printer or an MFP (Multi Function Peripheral), and as shown in FIG. 4, a control unit 31, a storage unit 32, a communication I / F unit 33, a display unit 34, and an operation unit 35. And a printing unit 36 and the like.

制御部31は、CPUと、ROMやRAMなどのメモリとで構成され、これらはバスを介して接続されている。CPUは、ROMや記憶部32からプログラムを読み出し、RAMに展開して実行することにより、印刷装置30の全体制御を行う。   The control unit 31 includes a CPU and a memory such as a ROM or a RAM, and these are connected via a bus. The CPU performs overall control of the printing apparatus 30 by reading out the program from the ROM and the storage unit 32, developing the program in the RAM, and executing the program.

記憶部32は、HDDなどで構成され、CPUが各部を制御するためのプログラム、印刷画像のデータ、自装置の処理機能に関する情報などを格納する。   The storage unit 32 is configured by an HDD or the like, and stores a program for the CPU to control each unit, print image data, information on processing functions of the own apparatus, and the like.

通信I/F部33は、NICやモデムなどで構成され、ネットワークを介して繋がっているWebサーバ20との接続を確立し、Webサーバ20から印刷画像のデータなどを受信する。   The communication I / F unit 33 includes a NIC, a modem, and the like, establishes a connection with the Web server 20 connected via the network, and receives print image data and the like from the Web server 20.

表示部34は、LCDなどで構成され、印刷に関する各種画面を表示する。操作部35は、ハードキーや表示部34と一体となったタッチパネルなどで構成され、印刷に関する各種操作を可能にする。   The display unit 34 is configured by an LCD or the like, and displays various screens related to printing. The operation unit 35 includes a hard key, a touch panel integrated with the display unit 34, and the like, and enables various operations related to printing.

印刷部36は、電子写真方式や静電記録方式等の作像プロセスを利用した画像形成のために必要な要素、すなわち、帯電装置、感光体ドラム、露光装置、転写ローラ、転写ベルト、定着装置などで構成される。具体的には、帯電装置により帯電された感光体ドラムに露光装置から印刷データに応じた光を照射して静電潜像を形成し、現像装置で帯電したトナーを付着させて現像し、そのトナー像を一次転写ローラ、二次転写ベルトを介して紙媒体に転写して定着装置で定着させる処理を行う。   The printing unit 36 includes elements necessary for image formation using an image forming process such as an electrophotographic method or an electrostatic recording method, that is, a charging device, a photosensitive drum, an exposure device, a transfer roller, a transfer belt, and a fixing device. Etc. Specifically, the photosensitive drum charged by the charging device is irradiated with light corresponding to the print data from the exposure device to form an electrostatic latent image, and the charged toner is attached and developed by the developing device. The toner image is transferred to a paper medium via a primary transfer roller and a secondary transfer belt, and is fixed by a fixing device.

なお、上記では、Webサーバ20でプレビュー表示用のサムネイル画像を生成する際にラスタライズ処理を行うことから、印刷装置30には判断部や処理実行部を設けていないが、印刷装置30に判断部や処理実行部を設け、印刷装置30自身が印刷画像を生成する構成としてもよい。   In the above description, since the rasterization process is performed when the Web server 20 generates a thumbnail image for preview display, the printing apparatus 30 is not provided with a determination unit or a process execution unit. Alternatively, a processing execution unit may be provided so that the printing apparatus 30 itself generates a print image.

以下、上記構成の印刷システムにおけるプレビュー処理について説明する。Webサーバ20が行うプレビュー処理は、図5に示すように、初期化処理、解析処理、解析情報通知処理、サムネイル生成処理、プレビュー生成処理などで構成される。初期化処理は、例えば、解析処理を行うための領域をメモリ上に確保する処理である。解析処理は、例えば、印刷ジョブを解析し、ドキュメントの各ページからオブジェクトを抽出して中間言語に変換したり、印刷設定情報を抽出したりする処理である。解析情報通知処理は、例えば、解析処理での解析結果をユーザ端末10などに通知する処理である。サムネイル生成処理は、例えば、ドキュメントの各ページの画像を縮小したサムネイル画像を生成する処理である。プレビュー生成処理は、例えば、ドキュメントの各ページの画像に印刷設定を反映させた時の状態をシミュレーションしたプレビュー画像を生成する処理である。なお、図5では、各々の処理を囲む枠のサイズを変えて、各々の処理に要する時間の大小を表現している。すなわち、解析情報通知処理、サムネイル生成処理、プレビュー生成処理に要する時間が、解析情報通知処理<サムネイル生成処理<プレビュー生成処理の順となる。   Hereinafter, the preview process in the printing system having the above configuration will be described. As shown in FIG. 5, the preview processing performed by the Web server 20 includes initialization processing, analysis processing, analysis information notification processing, thumbnail generation processing, preview generation processing, and the like. The initialization process is, for example, a process for securing an area for performing an analysis process on a memory. The analysis process is, for example, a process of analyzing a print job, extracting an object from each page of a document and converting it into an intermediate language, or extracting print setting information. The analysis information notification process is a process for notifying the user terminal 10 of an analysis result in the analysis process, for example. The thumbnail generation process is, for example, a process of generating a thumbnail image obtained by reducing the image of each page of the document. The preview generation process is a process for generating a preview image that simulates the state when the print settings are reflected on the image of each page of the document, for example. In FIG. 5, the size of the frame surrounding each process is changed to express the amount of time required for each process. That is, the time required for analysis information notification processing, thumbnail generation processing, and preview generation processing is in the order of analysis information notification processing <thumbnail generation processing <preview generation processing.

このプレビュー処理において、出力は、解析情報、サムネイル画像、プレビュー画像のいずれか、又は、複数になるため、出力を得るには必ず初期化処理及び解析処理を行う必要があり、複数の要求に対して処理の統合が可能である。この処理の統合に際して、複数の要求が入力されてからプレビュー処理を開始する場合には、初期化処理及び解析処理を統合すればよいが、第1の要求に対するプレビュー処理中に第2の要求が入力された場合には、処理の統合によって第1の要求のプレビュー処理が大きく遅延する恐れがあるため、その遅延が許容範囲内であるか否かを判断する必要がある。   In this preview process, the output is one of analysis information, thumbnail images, preview images, or a plurality of preview images. To obtain the output, initialization processing and analysis processing must be performed. Can be integrated. When the preview process is started after a plurality of requests are input at the time of this process integration, the initialization process and the analysis process may be integrated. However, the second request is received during the preview process for the first request. If input, the preview process of the first request may be greatly delayed due to the integration of the processes, so it is necessary to determine whether or not the delay is within an allowable range.

例えば、図6に示すように、ドキュメントの1〜3ページの処理を指示する要求Aと同じくドキュメントの1〜3ページの処理を指示する要求Bとがあり、要求Aは解析処理の後に解析情報通知処理を行う構成であり、処理Bは、解析処理の後にサムネイル生成処理を行う構成であるとする。そして、要求Aの初期化処理中やページ1の解析処理中に要求Bが入力されたとする。この場合、要求Bの処理を要求Aの処理に統合しても、要求Aの応答性に対する影響が少ない(要求Bのサムネイル生成処理はそれほど時間がかからない)ため、処理を統合すべきと判断する。そして、要求Aに対応する処理の設定内容を要求Bにも対応するように変更する(各ページの解析情報通知処理後に要求Bのサムネイル生成処理を実行する)ことで、要求Bの初期化処理、解析処理を省略することができ、処理負荷(処理時間)の軽減やリソース(メモリ使用量)の節約を図ることができる。   For example, as shown in FIG. 6, there is a request A for instructing the processing of the first to third pages of the document as well as the request A for instructing the processing of the first to third pages of the document. Assume that the notification process is performed, and the process B is a structure that performs a thumbnail generation process after the analysis process. Assume that request B is input during the initialization process of request A or the analysis process of page 1. In this case, even if the processing of the request B is integrated into the processing of the request A, the influence on the responsiveness of the request A is small (the thumbnail generation processing of the request B does not take so much time), so it is determined that the processing should be integrated. . Then, the setting content of the process corresponding to the request A is changed so as to also correspond to the request B (the thumbnail generation process of the request B is executed after the analysis information notification process of each page), thereby initializing the request B Analysis processing can be omitted, and processing load (processing time) can be reduced and resources (memory usage) can be saved.

一方、図7に示すように、処理Bが、解析処理の後にプレビュー生成処理を行う構成であり、要求Aの初期化処理やページ1の解析処理中に、要求Bが入力されたとする。この場合、処理を統合することによって、処理負荷の軽減、リソースの節約を図ることはできるが、プレビュー生成処理はサムネイル生成処理に比べて時間がかかるため、要求Bのプレビュー生成処理を要求Aの処理に統合することによって要求Aの応答が大幅に遅れてしまい、要求Aのユーザの快適性が損なわれてしまう。   On the other hand, as shown in FIG. 7, it is assumed that the process B is configured to perform a preview generation process after the analysis process, and the request B is input during the initialization process of the request A and the analysis process of the page 1. In this case, the processing load can be reduced and resources can be reduced by integrating the processes. However, the preview generation process takes more time than the thumbnail generation process. By integrating the processing, the response of the request A is greatly delayed, and the comfort of the user of the request A is impaired.

このように、処理を統合するか否かは、各々の要求に対する処理の内容に応じて決定することができる。具体的には、プレビュー処理では、要求は表1、2に示す5種類となり、要求1は解析情報を出力する要求、要求2はサムネイル画像を出力する要求、要求3はプレビュー画像を出力する要求、要求4は解析情報及びサムネイル画像を出力する要求、要求5は解析情報及びプレビュー画像を出力する要求となる。   In this way, whether or not to integrate the processes can be determined according to the contents of the process for each request. Specifically, in the preview process, there are five types of requests shown in Tables 1 and 2, request 1 is a request to output analysis information, request 2 is a request to output a thumbnail image, and request 3 is a request to output a preview image. Request 4 is a request to output analysis information and a thumbnail image, and Request 5 is a request to output analysis information and a preview image.

Figure 0006206056
Figure 0006206056

Figure 0006206056
Figure 0006206056

表1、2の要求1、2、4は、処理ファイルとページ指定がマッチしていれば(処理対象のページが重複していれば)、先の要求に対する処理の遅延を抑えつつ処理効率を向上させることができる。また、要求3、5も、処理ファイルとページ指定がマッチしていれば、先の要求に対する処理の遅延を許容範囲内に抑えつつ処理効率を向上させることができる。一方、要求1、2、4と要求3、5は、処理ファイルとページ指定がマッチしていても、プレビュー画像はメモリ使用量・処理負荷が大きいため、一方の要求に対する処理の遅延を許容範囲内に抑えることができず、処理効率を向上させることはできない。   Requests 1, 2, and 4 in Tables 1 and 2 can improve processing efficiency while suppressing processing delay for the previous request if the processing file and page specification match (if the processing target page is duplicated). Can be improved. In addition, if the processing files and the page designations match the requests 3 and 5, the processing efficiency can be improved while suppressing the processing delay for the previous request within the allowable range. On the other hand, the requests 1, 2, 4 and 3 and 5 match the processing file and page designation, but the preview image has a large memory usage and processing load, so the processing delay for one of the requests is within an allowable range. The processing efficiency cannot be improved.

例えば、表3、4のような10個の要求が同時に入力された場合、プレビュー処理内部では、表5の4つの内部IDで処理を行う。すなわち、要求1〜5はページ指定が”1,2,3”、要求6〜10は、ページ指定が”3,4,5”であり、ページ3が重複するため、ページ指定が”1,2,3,3”の処理と”4,5”の処理に分け、各々の処理を出力画像がサムネイル画像の処理とプレビュー画像の処理に分ける。このように、内部的には4つの要求として処理するが、10個それぞれの要求に応えることができるように出力を返すことで、外部には影響を与えず、内部的に処理負荷やリソース使用量を抑えることができる。   For example, when 10 requests as shown in Tables 3 and 4 are input at the same time, processing is performed with the four internal IDs in Table 5 inside the preview process. That is, requests 1 to 5 have a page designation of “1,2,3”, requests 6 to 10 have a page designation of “3,4,5”, and page 3 is duplicated. The processing is divided into processing of 2,3,3 ”and processing of“ 4,5 ”, and each processing is divided into processing of the thumbnail image and processing of the preview image. In this way, it is processed as four requests internally, but by returning the output so that it can respond to each of the ten requests, it does not affect the outside, internally processing load and resource usage The amount can be reduced.

Figure 0006206056
Figure 0006206056

Figure 0006206056
Figure 0006206056

Figure 0006206056
Figure 0006206056

以下、3つのケースについて、処理の統合を行わない従来の手法と、処理の統合を行う本発明の手法とを比較して説明する。   In the following, the three cases will be described by comparing the conventional method that does not perform processing integration with the method of the present invention that performs processing integration.

まず、図8(a)に示すように、ファイルAの1〜3ページに対して画像出力指定がなく解析情報指定がある要求Aと、ファイルAの1〜3ページに対して画像出力指定がサムネイルで解析情報指定がない要求Bの2つの要求に対して、要求Aのページ2の解析処理中に要求Bが入力された場合の処理について説明する。   First, as shown in FIG. 8A, there is a request A for which there is no image output designation for the first to third pages of the file A and there is analysis information designation, and an image output designation for the first to third pages of the file A. Processing when request B is input during analysis processing of page 2 of request A for two requests B of request B for which no analysis information is specified by thumbnails will be described.

この場合、図8(b)に示す従来方式では、処理の統合を行わないため、要求Aに対して、初期化処理、ページ1〜3の解析処理、ページ1〜3の解析処理に対する解析情報通知処理が行われ、これらの処理に並行して、要求Bに対して、初期化処理、ページ1〜3の解析処理、ページ1〜3の解析処理に対するサムネイル生成処理が行われる。   In this case, in the conventional method shown in FIG. 8B, since the processing is not integrated, the analysis information for the initialization process, the analysis processes of pages 1 to 3, and the analysis processes of pages 1 to 3 is performed for the request A. In parallel with these processes, an initialization process, an analysis process for pages 1 to 3, and a thumbnail generation process for the analysis processes for pages 1 to 3 are performed in parallel with these processes.

一方、図8(c)に示す本発明の方式では、要求Bが入力された時点で、要求Bの処理が要求Aの処理に統合可能かを判断する。この場合、統合可能な共通処理があり、サムネイル生成処理はそれほど時間がかからないため、統合可能と判断して、要求Aの出力画像指定を「なし」から「サムネイル」に変更して要求Aの処理を継続する。要求Aのページ1の処理は完了しているため、要求Aでページ1のサムネイル生成処理はできない。そのため、要求Bに対して、初期化処理とページ1の解析処理とページ1のサムネイル生成処理のみを行う。なお、要求Aのページ1の解析処理の結果を記憶し、記憶した結果を利用して要求Bのページ1のサムネイル生成処理を行うことはしない。この例では、ページ2、3の解析処理を共通化することができるため、処理の効率化を図ることができると共に、要求Aの処理をそれほど遅らすことなく、要求Bにおけるページ2、3のサムネイル生成処理を早く完了することができる。   On the other hand, in the method of the present invention shown in FIG. 8C, when the request B is input, it is determined whether the processing of the request B can be integrated with the processing of the request A. In this case, there is common processing that can be integrated, and the thumbnail generation processing does not take much time. Therefore, it is determined that integration is possible, the output image designation of request A is changed from “none” to “thumbnail”, and processing of request A is performed. Continue. Since processing of page 1 of request A has been completed, thumbnail generation processing of page 1 cannot be performed by request A. Therefore, only the initialization process, the page 1 analysis process, and the page 1 thumbnail generation process are performed for the request B. The result of the analysis process for page 1 of request A is stored, and the thumbnail generation process for page 1 of request B is not performed using the stored result. In this example, the analysis processing of pages 2 and 3 can be made common, so that the processing efficiency can be improved and the thumbnails of pages 2 and 3 in request B can be achieved without delaying the processing of request A so much. The generation process can be completed quickly.

次に、図9(a)に示すように、ファイルAの1〜3ページに対して画像出力指定がなく解析情報指定がある要求Aと、ファイルAの3〜5ページに対して画像出力指定がなく解析情報指定がある要求Bの2つの要求に対して、要求Aのページ2の解析処理中に要求Bが入力された場合の処理について説明する。すなわち、この例は、要求A、Bともに解析情報の要求であるが、要求ページ指定が異なる場合の例である。   Next, as shown in FIG. 9A, the request A for which there is no image output designation for the first to third pages of the file A but the analysis information designation, and the image output designation for the third to fifth pages of the file A The processing when request B is input during the analysis processing of page 2 of request A for two requests B of request B with no analysis information designation will be described. That is, in this example, both requests A and B are requests for analysis information, but the request page designation is different.

この場合、図9(b)に示す従来方式では、処理の統合を行わないため、要求Aに対して、初期化処理、ページ1〜3の解析処理、ページ1〜3の解析処理に対する解析情報通知処理が行われ、これらの処理に並行して、要求Bに対して、初期化処理、ページ3〜5の解析処理、ページ3〜5の解析処理に対する解析情報通知処理が行われる。   In this case, in the conventional method shown in FIG. 9B, since the processing is not integrated, analysis information for the request A, initialization processing, analysis processing of pages 1 to 3, and analysis processing of pages 1 to 3 is performed. In parallel with these processes, an initialization process, an analysis process for pages 3 to 5 and an analysis information notification process for the analysis processes for pages 3 to 5 are performed in parallel with these processes.

一方、図9(c)に示す本発明の方式では、要求Bが入力された時点で、要求Bの処理が要求Aの処理に統合可能かを判断する。この場合、統合可能な共通処理があり、解析情報通知処理は時間が短いため、統合可能と判断して、要求Aのページ指定を「1、2、3」から「1、2、3、3」に変更して要求Aの処理を継続する。要求Aではページ4、5を処理しないため、要求Bに対して、初期化処理とページ4、5の解析処理とページ4、5の解析情報通知処理のみを行う。この例では、ページ3の解析処理を共通化することができるため、処理の効率化を図ることができると共に、要求Aの処理をほとんど遅らすことなく、要求Bにおけるページ3の解析情報通知処理を早く完了することができる。   On the other hand, in the method of the present invention shown in FIG. 9C, when the request B is input, it is determined whether the processing of the request B can be integrated with the processing of the request A. In this case, there is a common process that can be integrated, and the analysis information notification process has a short time. Therefore, it is determined that integration is possible, and the page designation of request A is changed from “1, 2, 3” to “1, 2, 3, 3”. To continue processing of request A. Since the request A does not process the pages 4 and 5, only the initialization process, the analysis processes of the pages 4 and 5 and the analysis information notification process of the pages 4 and 5 are performed for the request B. In this example, the analysis process for page 3 can be shared, so that the efficiency of the process can be improved, and the analysis information notification process for page 3 in request B can be performed without almost delaying the process of request A. Can be completed quickly.

上記図8及び図9では、要求の対象が同一ファイルの場合について説明したが、ファイルが異なっていても、各々のファイルに同じページが含まれている場合には、そのページに対する処理を共通化できる場合がある。例えば、図10(a)に示すように、ファイルAの1〜3ページに対して画像出力指定がなく解析情報指定がある要求Aと、ファイルBの3ページ(ファイルAの3ページと同一ページ)及び10、11ページに対して画像出力指定がなく解析情報指定がある要求Bの2つの要求に対して、要求Aのページ2の解析処理中に要求Bが入力された場合の処理について説明する。なお、異なるファイルに同じページがあるか否かを判断できるようにするために、ページには通し番号を付与している。   8 and 9 described the case where the target of the request is the same file. However, if the same page is included in each file even if the files are different, the processing for the page is shared. There are cases where it is possible. For example, as shown in FIG. 10 (a), request A for which there is no image output designation and analysis information designation for pages 1 to 3 of file A, and page 3 for file B (the same page as page 3 for file A) ), And the processing when the request B is input during the analysis processing of the page 2 of the request A for two requests B of the request B for which there is no image output specification for the pages 10 and 11 and the analysis information is specified. To do. Note that serial numbers are assigned to pages so that it can be determined whether or not the same page exists in different files.

この場合、図10(b)に示す従来方式では、処理の統合を行わないため、図9(a)と同様に、要求Aに対して、初期化処理、ページ1〜3の解析処理、ページ1〜3の解析処理に対する解析情報通知処理が行われ、これらの処理に並行して、要求Bに対して、初期化処理、ページ3、10、11の解析処理、ページ3、10、11の解析処理に対する解析情報通知処理が行われる。   In this case, in the conventional method shown in FIG. 10B, the processing is not integrated. Therefore, as in FIG. Analysis information notification processes for the analysis processes 1 to 3 are performed. In parallel with these processes, an initialization process, an analysis process for pages 3, 10, and 11, and an analysis process for pages 3, 10, and 11 are performed for request B. An analysis information notification process for the analysis process is performed.

一方、図10(c)に示す本発明の方式では、要求Bが入力された時点で、要求Bの処理が要求Aの処理に統合可能かを判断する。この場合、ページ3に対して統合可能な共通処理があり、解析情報通知処理は時間が短いため、統合可能と判断して、要求Aのページ指定を「1、2、3」から「1、2、3、3」に変更して要求Aの処理を継続する。要求AではファイルBの10、11ページを処理しないため、要求Bに対して、初期化処理とファイルBのページ10、11の解析処理とページ10、11の解析情報通知処理のみを行う。この例でも、図9(c)と同様に、ページ3の解析処理を共通化することができるため、処理の効率化を図ることができると共に、要求Aの処理をほとんど遅らすことなく、要求Bにおけるページ3の解析情報通知処理を早く完了することができる。   On the other hand, in the method of the present invention shown in FIG. 10C, when the request B is input, it is determined whether the processing of the request B can be integrated with the processing of the request A. In this case, there is a common process that can be integrated with page 3, and the analysis information notification process has a short time. Therefore, it is determined that integration is possible and the page designation of request A is changed from “1, 2, 3” to “1, Change to "2, 3, 3" and continue processing request A. Since request A does not process pages 10 and 11 of file B, only initialization processing, analysis processing of pages 10 and 11 of file B, and analysis information notification processing of pages 10 and 11 are performed for request B. Also in this example, as in FIG. 9C, the analysis processing of page 3 can be made common, so that the processing efficiency can be improved and the request B is hardly delayed. The analysis information notification process for page 3 can be completed quickly.

次に、本実施例のWebサーバ20の処理について説明する。CPUは、ROMに記憶した処理プログラムをRAMに展開して実行することにより、図11及び図12のフローチャート図の各処理を行う。   Next, processing of the Web server 20 according to the present embodiment will be described. The CPU performs each process in the flowcharts of FIGS. 11 and 12 by expanding and executing the processing program stored in the ROM in the RAM.

まず、図11に示すように、制御部21は、新規要求の入力があるかを判断する(S101)。新規要求の入力がない場合、S101に戻る。新規要求の入力があった場合、制御部21は、処理の統合を行う(S102)。このステップについては後述する。そして、制御部21は、処理の統合を行った後に、新規要求の中に統合していない処理が残っているかを判断する(S103)。全ての処理を統合した場合は、S101に戻って新規要求の入力を待つ。一方、統合していない処理が残っている場合は、制御部21は、新規要求に対して統合していない処理を設定し(S105)、S101に戻って新規要求の入力を待つ。   First, as shown in FIG. 11, the control unit 21 determines whether there is an input of a new request (S101). If no new request has been input, the process returns to S101. When a new request is input, the control unit 21 performs processing integration (S102). This step will be described later. Then, after integrating the processes, the control unit 21 determines whether there are any unintegrated processes remaining in the new request (S103). When all the processes are integrated, the process returns to S101 and waits for input of a new request. On the other hand, when there is a process that is not integrated, the control unit 21 sets a process that is not integrated with respect to the new request (S105), returns to S101, and waits for the input of the new request.

図12は、図11のS102の処理の統合動作の詳細を示している。まず、制御部21は、処理を実行中の要求を確認し、その要求を管理リストへ登録する(S201)。次に、制御部21は、管理リストから新規要求とページ指定が重ならない要求を削除する(S202)。   FIG. 12 shows details of the integration operation of the processing of S102 of FIG. First, the control unit 21 confirms a request that is being processed, and registers the request in the management list (S201). Next, the control unit 21 deletes the new request and the request whose page designation does not overlap from the management list (S202).

次に、制御部21は、新規要求の出力画像指定をチェックする(S203)。出力画像指定が「なし」もしくは「サムネイル画像」の場合、制御部21は、管理リストから出力画像指定が「なし」若しくは「サムネイル画像」でない要求を削除する(S204)。一方、出力画像指定が「プレビュー画像」の場合、制御部21は、管理リストから出力画像指定が「プレビュー画像」でない要求を削除する(S205)。   Next, the control unit 21 checks the output image designation of the new request (S203). When the output image designation is “none” or “thumbnail image”, the control unit 21 deletes a request whose output image designation is not “none” or “thumbnail image” from the management list (S204). On the other hand, when the output image designation is “preview image”, the control unit 21 deletes the request whose output image designation is not “preview image” from the management list (S205).

次に、制御部21は、管理リストを参照して、新規要求とページ指定の重なりが最も多い要求を特定し、その要求に統合する新規要求の処理を指定する(S207)。そして、新規要求に対する処理の中から処理を実行中の要求に統合された処理を削除する(S208)。   Next, the control unit 21 refers to the management list, identifies the request having the largest overlap between the new request and the page designation, and designates the processing of the new request to be integrated into the request (S207). Then, the process integrated with the request executing the process is deleted from the processes for the new request (S208).

このように、本実施例では、先の要求に対する処理の実行中に別の要求が入力された場合に、処理中若しくは処理予定のページに関して、ページ単位で統合できる処理があるかを判断し、統合できる処理があり、かつ、先の要求に対する処理の遅延が許容範囲内の場合は、統合可能なページは、先の要求に対する処理において実行し、統合できないページは、別の要求に対する処理において実行するため、処理負荷やリソース不足を軽減することができる。   As described above, in this embodiment, when another request is input during the execution of the process for the previous request, it is determined whether there is a process that can be integrated on a page basis for the page being processed or scheduled to be processed. If there is processing that can be integrated and the processing delay for the previous request is within an allowable range, the page that can be integrated is executed in the processing for the previous request, and the page that cannot be integrated is executed in the processing for another request. Therefore, processing load and resource shortage can be reduced.

なお、本発明は上記実施例に限定されるものではなく、本発明の趣旨を逸脱しない限りにおいて、Webサーバ20の構成や制御は適宜変更可能である。   Note that the present invention is not limited to the above embodiment, and the configuration and control of the Web server 20 can be changed as appropriate without departing from the spirit of the present invention.

例えば、上記実施例では、印刷に関する要求として、プレビュー画像やサムネイル画像を生成する要求を例にして説明したが、ページ毎の解析結果に基づく任意の処理を指示する任意の要求に対して、本発明の制御を同様に適用することができる。   For example, in the above-described embodiment, a request for generating a preview image or a thumbnail image has been described as an example of a request related to printing. However, in response to an arbitrary request instructing an arbitrary process based on an analysis result for each page, The control of the invention can be applied as well.

また、上記実施例では、Webサーバが印刷に関する要求を処理する構成としたが、プリンタコントローラやRIP(Raster Image Processing)コントローラ、印刷装置などが印刷に関する要求を処理する場合に対しても、本発明の制御を同様に適用することができる。   In the above embodiment, the Web server is configured to process a request related to printing. However, the present invention is applicable to a case where a printer controller, a RIP (Raster Image Processing) controller, a printing apparatus, or the like processes a request related to printing. The same control can be applied as well.

本発明は、印刷に関する処理を制御する処理プログラム、当該処理プログラムを記録した記録媒体、印刷に関するサービスを提供するサーバ、当該サーバにおける処理方法に利用可能である。   The present invention can be used for a processing program that controls processing related to printing, a recording medium that records the processing program, a server that provides services related to printing, and a processing method in the server.

10 ユーザ端末
11 制御部
11a アプリケーション部
11b ドライバ部
12 記憶部
13 通信I/F部
14 表示部
15 操作部
20 Webサーバ
21 制御部
21a 判断部
21b 処理実行部
22 記憶部
23 通信I/F部
24 表示部
25 操作部
30 印刷装置
31 制御部
32 記憶部
33 通信I/F部
34 表示部
35 操作部
36 印刷部
DESCRIPTION OF SYMBOLS 10 User terminal 11 Control part 11a Application part 11b Driver part 12 Storage part 13 Communication I / F part 14 Display part 15 Operation part 20 Web server 21 Control part 21a Judgment part 21b Processing execution part 22 Storage part 23 Communication I / F part 24 Display unit 25 Operation unit 30 Printing device 31 Control unit 32 Storage unit 33 Communication I / F unit 34 Display unit 35 Operation unit 36 Printing unit

Claims (18)

印刷に関する要求を処理する処理装置で動作する処理プログラムであって、
前記処理装置に、
第1の要求の処理中に第2の要求が入力された場合に、処理中若しくは処理予定のページに関して、ページ単位での処理の統合が可能かを判断する第1ステップ、
前記第1ステップで前記ページ単位での処理の統合が可能と判断された場合に、前記第2の要求の処理予定のページの内、統合できるページの処理は前記第1の要求の処理として実行し、統合できないページの処理は前記第2の要求の処理として実行する第2ステップ、を実行させ
前記第1ステップでは、ページ単位で処理を統合した時の、前記第1の要求の処理の遅延が予め定めた許容範囲を越える場合は、前記ページ単位での処理の統合はできないと判断する、
ことを特徴とする処理プログラム。
A processing program that runs on a processing device that processes a request for printing,
In the processing device,
A first step of determining whether processing can be integrated in units of pages with respect to a page being processed or scheduled to be processed when a second request is input during processing of the first request;
If it is determined in the first step that processing can be integrated in units of pages, processing of pages that can be integrated out of pages scheduled for processing of the second request is executed as processing of the first request. Then, the processing of the page that cannot be integrated causes the second step to be executed as the processing of the second request ,
In the first step, when the integrated processing in units of pages, and if the difference exceeds the allowable range to which the delay is predetermined processing of the first request, you determined not possible integration processing in the page unit ,
A processing program characterized by that.
前記第1ステップでは、前記第1の要求の処理中若しくは処理予定のページと、前記第2の要求の処理予定のページと、に同一ページがない場合は、前記ページ単位での処理の統合はできないと判断する、
ことを特徴とする請求項1に記載の処理プログラム。
In the first step, when there is no same page in the page that is being processed or scheduled to be processed in the first request and the page that is scheduled to be processed in the second request, the integration of the processing in units of pages is performed. Judge that you can't
The processing program according to claim 1, wherein:
前記第1ステップでは、前記第1の要求の処理中若しくは処理予定のページと、前記第2の要求の処理予定のページと、に同一ページがある場合は、前記ページ単位での処理の統合が可能と判断し、
前記第2ステップでは、前記第2の要求の処理予定のページの内、前記同一ページの処理を前記第1の要求の処理として実行する、
ことを特徴とする請求項1に記載の処理プログラム。
In the first step, when there is the same page in the page that is being processed or scheduled to be processed in the first request and the page that is scheduled to be processed in the second request, the processing is integrated in units of pages Judging that it is possible,
In the second step, among the pages scheduled to be processed for the second request, the processing for the same page is executed as the processing for the first request.
The processing program according to claim 1, wherein:
前記第1の要求及び前記第2の要求の処理は、ページ毎に、ページを解析する解析処理と、前記ページの解析結果に基づいて情報を生成する生成処理と、を含み、
前記第2ステップでは、前記統合できるページに関して、前記第1の要求と前記第2の要求とで、前記解析処理を共通化する、
ことを特徴とする請求項1乃至3のいずれか一に記載の処理プログラム。
The processing of the first request and the second request includes, for each page, analysis processing for analyzing the page, and generation processing for generating information based on the analysis result of the page,
In the second step, the analysis process is made common between the first request and the second request for the pages that can be integrated.
The processing program according to any one of claims 1 to 3.
前記生成処理は、前記ページの解析結果に基づいて当該ページに印刷設定を反映したプレビュー画像を生成するプレビュー生成処理と、前記ページの画像を縮小したサムネイル画像を生成するサムネイル生成処理と、を含み、
前記第2ステップでは、前記第2の要求の前記生成処理が前記サムネイル生成処理の場合は、当該サムネイル生成処理を、前記第1の要求の処理に追加する、
ことを特徴とする請求項に記載の処理プログラム。
The generation process includes a preview generation process for generating a preview image reflecting print settings on the page based on the analysis result of the page, and a thumbnail generation process for generating a thumbnail image obtained by reducing the image of the page. ,
In the second step, when the generation process of the second request is the thumbnail generation process, the thumbnail generation process is added to the process of the first request.
The processing program according to claim 4 , wherein:
前記第1ステップでは、前記第2の要求の前記生成処理が前記プレビュー生成処理の場合は、前記ページ単位での処理の統合はできないと判断する、
ことを特徴とする請求項5に記載の処理プログラム。
In the first step, when the generation process of the second request is the preview generation process, it is determined that the processes cannot be integrated in units of pages.
The processing program according to claim 5, wherein:
通信ネットワークを介して、印刷に関する要求を送信する装置に接続される処理装置であって、  A processing device connected to a device for sending a request for printing via a communication network,
前記要求を受信する通信I/F部と、  A communication I / F unit that receives the request;
受信した前記要求を処理する制御部と、を備え、  A control unit for processing the received request,
前記制御部は、  The controller is
第1の要求の処理中に第2の要求が入力された場合に、処理中若しくは処理予定のページに関して、ページ単位での処理の統合が可能かを判断する判断部と、  A determination unit that determines whether or not processing can be integrated in units of pages with respect to a page being processed or scheduled to be processed when a second request is input during processing of the first request;
前記判断部が前記ページ単位での処理の統合が可能と判断した場合に、前記第2の要求の処理予定のページの内、統合できるページの処理は前記第1の要求の処理として実行し、統合できないページの処理は前記第2の要求の処理として実行する処理実行部と、を備え、  When the determination unit determines that the processing can be integrated in units of pages, the processing of the page that can be integrated among the pages scheduled to be processed in the second request is executed as the processing of the first request, The processing of the page that cannot be integrated includes a processing execution unit that executes the processing of the second request,
前記判断部は、ページ単位で処理を統合した時の、前記第1の要求の処理の遅延が予め定めた許容範囲を越える場合は、前記ページ単位での処理の統合はできないと判断する、  The determination unit determines that the processing in units of pages cannot be integrated if the processing delay of the first request exceeds a predetermined allowable range when the processing is integrated in units of pages.
ことを特徴とする処理装置。  The processing apparatus characterized by the above-mentioned.
前記判断部は、前記第1の要求の処理中若しくは処理予定のページと、前記第2の要求の処理予定のページと、に同一ページがない場合は、前記ページ単位での処理の統合はできないと判断する、
ことを特徴とする請求項7に記載の処理装置。
The determination unit cannot integrate the processing in units of pages when the page that is being processed or scheduled to be processed for the first request and the page that is scheduled to be processed for the second request do not have the same page. To judge,
The processing apparatus according to claim 7 .
前記判断部は、前記第1の要求の処理中若しくは処理予定のページと、前記第2の要求の処理予定のページと、に同一ページがある場合は、前記ページ単位での処理の統合が可能と判断し、
前記処理実行部は、前記第2の要求の処理予定のページの内、前記同一ページの処理を前記第1の要求の処理として実行する、
ことを特徴とする請求項に記載の処理装置。
The determination unit can integrate the processing in units of pages when the page that is being processed or scheduled to be processed for the first request and the page that is scheduled to be processed for the second request are the same page. And
The process execution unit executes the process of the same page as the process of the first request among the pages scheduled to be processed of the second request.
The processing apparatus according to claim 7 .
前記第1の要求及び前記第2の要求の処理は、ページ毎に、ページを解析する解析処理と、前記ページの解析結果に基づいて情報を生成する生成処理と、を含み、
前記処理実行部は、前記統合できるページに関して、前記第1の要求と前記第2の要求とで、前記解析処理を共通化する、
ことを特徴とする請求項7乃至9のいずれか一に記載の処理装置。
The processing of the first request and the second request includes, for each page, analysis processing for analyzing the page, and generation processing for generating information based on the analysis result of the page,
The process execution unit makes the analysis process common to the first request and the second request for the pages that can be integrated.
The processing apparatus according to any one of claims 7 to 9, wherein:
前記生成処理は、前記ページの解析結果に基づいて当該ページに印刷設定を反映したプレビュー画像を生成するプレビュー生成処理と、前記ページの画像を縮小したサムネイル画像を生成するサムネイル生成処理と、を含み、
前記処理実行部は、前記第2の要求の前記生成処理が前記サムネイル生成処理の場合は、当該サムネイル生成処理を、前記第1の要求の処理に追加する、
ことを特徴とする請求項10に記載の処理装置。
The generation process includes a preview generation process for generating a preview image reflecting print settings on the page based on the analysis result of the page, and a thumbnail generation process for generating a thumbnail image obtained by reducing the image of the page. ,
The process execution unit adds the thumbnail generation process to the process of the first request when the generation process of the second request is the thumbnail generation process.
The processing apparatus according to claim 10 .
前記判断部は、前記第2の要求の前記生成処理が前記プレビュー生成処理の場合は、前記ページ単位での処理の統合はできないと判断する、
ことを特徴とする請求項11に記載の処理装置。
The determination unit determines that the processing in units of pages cannot be integrated when the generation processing of the second request is the preview generation processing;
The processing apparatus according to claim 11 .
通信ネットワークを介して、印刷に関する要求を送信する装置に接続される処理装置における処理方法であって、  A processing method in a processing device connected to a device that transmits a request for printing via a communication network,
第1の要求の処理中に第2の要求が入力された場合に、処理中若しくは処理予定のページに関して、ページ単位での処理の統合が可能かを判断する第1ステップと、  A first step of determining whether processing can be integrated in units of pages with respect to a page being processed or scheduled to be processed when a second request is input during processing of the first request;
前記第1ステップで前記ページ単位での処理の統合が可能と判断された場合に、前記第2の要求の処理予定のページの内、統合できるページの処理は前記第1の要求の処理として実行し、統合できないページの処理は前記第2の要求の処理として実行する第2ステップと、を実行し、  If it is determined in the first step that processing can be integrated in units of pages, processing of pages that can be integrated out of pages scheduled for processing of the second request is executed as processing of the first request. And a process of a page that cannot be integrated executes a second step executed as a process of the second request,
前記第1ステップでは、ページ単位で処理を統合した時の、前記第1の要求の処理の遅延が予め定めた許容範囲を越える場合は、前記ページ単位での処理の統合はできないと判断する、  In the first step, when the processing delay of the first request exceeds the predetermined allowable range when the processing is integrated in units of pages, it is determined that the processing in units of pages cannot be integrated.
ことを特徴とする処理方法。  A processing method characterized by the above.
前記第1ステップでは、前記第1の要求の処理中若しくは処理予定のページと、前記第2の要求の処理予定のページと、に同一ページがない場合は、前記ページ単位での処理の統合はできないと判断する、  In the first step, when there is no same page in the page that is being processed or scheduled to be processed in the first request and the page that is scheduled to be processed in the second request, the integration of the processing in units of pages is performed. Judge that you can not,
ことを特徴とする請求項13に記載の処理方法。  The processing method according to claim 13.
前記第1ステップでは、前記第1の要求の処理中若しくは処理予定のページと、前記第2の要求の処理予定のページと、に同一ページがある場合は、前記ページ単位での処理の統合が可能と判断し、
前記第2ステップでは、前記第2の要求の処理予定のページの内、前記同一ページの処理を前記第1の要求の処理として実行する、
ことを特徴とする請求項13に記載の処理方法。
In the first step, when there is the same page in the page that is being processed or scheduled to be processed in the first request and the page that is scheduled to be processed in the second request, the processing is integrated in units of pages Judging that it is possible,
In the second step, among the pages scheduled to be processed for the second request, the processing for the same page is executed as the processing for the first request.
The processing method according to claim 13 .
前記第1の要求及び前記第2の要求の処理は、ページ毎に、ページを解析する解析処理と、前記ページの解析結果に基づいて情報を生成する生成処理と、を含み、
前記第2ステップでは、前記統合できるページに関して、前記第1の要求と前記第2の要求とで、前記解析処理を共通化する、
ことを特徴とする請求項13乃至15のいずれか一に記載の処理方法。
The processing of the first request and the second request includes, for each page, analysis processing for analyzing the page, and generation processing for generating information based on the analysis result of the page,
In the second step, the analysis process is made common between the first request and the second request for the pages that can be integrated.
The processing method according to claim 13, wherein the processing method is one of the following.
前記生成処理は、前記ページの解析結果に基づいて当該ページに印刷設定を反映したプレビュー画像を生成するプレビュー生成処理と、前記ページの画像を縮小したサムネイル画像を生成するサムネイル生成処理と、を含み、
前記第2ステップでは、前記第2の要求の前記生成処理が前記サムネイル生成処理の場合は、当該サムネイル生成処理を、前記第1の要求の処理に追加する、
ことを特徴とする請求項16に記載の処理方法。
The generation process includes a preview generation process for generating a preview image reflecting print settings on the page based on the analysis result of the page, and a thumbnail generation process for generating a thumbnail image obtained by reducing the image of the page. ,
In the second step, when the generation process of the second request is the thumbnail generation process, the thumbnail generation process is added to the process of the first request.
The processing method according to claim 16 .
前記第1ステップでは、前記第2の要求の前記生成処理が前記プレビュー生成処理の場合は、前記ページ単位での処理の統合はできないと判断する、
ことを特徴とする請求項17に記載の処理方法。
In the first step, when the generation process of the second request is the preview generation process, it is determined that the processes cannot be integrated in units of pages.
The processing method according to claim 17 .
JP2013206174A 2013-10-01 2013-10-01 Processing program, processing apparatus, and processing method Expired - Fee Related JP6206056B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013206174A JP6206056B2 (en) 2013-10-01 2013-10-01 Processing program, processing apparatus, and processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013206174A JP6206056B2 (en) 2013-10-01 2013-10-01 Processing program, processing apparatus, and processing method

Publications (2)

Publication Number Publication Date
JP2015069614A JP2015069614A (en) 2015-04-13
JP6206056B2 true JP6206056B2 (en) 2017-10-04

Family

ID=52836150

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013206174A Expired - Fee Related JP6206056B2 (en) 2013-10-01 2013-10-01 Processing program, processing apparatus, and processing method

Country Status (1)

Country Link
JP (1) JP6206056B2 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003067154A (en) * 2001-08-29 2003-03-07 Ricoh Co Ltd Print control method and printer device
JP4572172B2 (en) * 2006-03-08 2010-10-27 京セラミタ株式会社 Image forming apparatus and printing system for high-speed printing
JP5183444B2 (en) * 2008-11-28 2013-04-17 キヤノン株式会社 Print control apparatus, print control method, and computer program
JP2010191572A (en) * 2009-02-17 2010-09-02 Konica Minolta Business Technologies Inc Unit, method, and program for controlling printer
JP2011059995A (en) * 2009-09-10 2011-03-24 Ricoh Co Ltd Information processor, program and computer-readable recording medium
JP5742526B2 (en) * 2011-07-12 2015-07-01 ブラザー工業株式会社 Printing device

Also Published As

Publication number Publication date
JP2015069614A (en) 2015-04-13

Similar Documents

Publication Publication Date Title
US8564818B2 (en) Log information management system, control method therefor, and storage medium
US8908220B2 (en) Information processing system, print system, and method and computer-readable storage medium for controlling information processing system
JP5743723B2 (en) Printing system, service processing method, and program
US8823989B2 (en) Printing system, preview display control program and preview display control method
US20090290190A1 (en) Priority Order Determination Method and Priority Order Determination Program for Print Job, and Printing System
US9507544B2 (en) Information processing apparatus, recording medium, and control method to process print data using filters
JP2013140554A (en) Print control system, print control method, program and computer
JP2008233948A (en) Information processing apparatus and information processing program
JP6206451B2 (en) Distributed printing control program, distributed printing control apparatus, and distributed printing control method
JP5834648B2 (en) Information processing apparatus, program, and control method
US9442682B2 (en) Image processing apparatus, control method therefor and storage medium
JP2013065234A (en) Printing control device and program
US9819821B2 (en) Image forming device, network system, and power supply control program
US9952813B2 (en) Non-transitory computer-readable storage medium storing print control program and print control apparatus
JP2016091305A (en) Image forming apparatus, parallel processing control program, and parallel processing control method
US9377976B2 (en) Image processing system, image processing program, and image processing method
JP6206056B2 (en) Processing program, processing apparatus, and processing method
JP6996189B2 (en) Print controller, image forming system and image forming device
US9836255B2 (en) Image forming apparatus, non-transitory computer-readable storage medium storing operation control program, and operation control method
JP2013114515A (en) Cloud print system, image processing device, image processing method and program
JP5257751B2 (en) Image processing system, memory management method, and memory management program
JP2011211692A (en) Information processing apparatus, program and storage medium
JP2016085504A (en) Printing system and printer driver management program
US8629997B2 (en) Print control apparatus and image forming system for rendering image data
JP5358617B2 (en) Image forming apparatus and control program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160720

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170530

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170602

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170727

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170821

R150 Certificate of patent or registration of utility model

Ref document number: 6206056

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees